IBM Connections: Instalando o Connections 4 Modo Texto: Difference between revisions

From Wiki
 
(6 intermediate revisions by the same user not shown)
Line 248: Line 248:
Verificando
Verificando


# cat /opt/IBM/WebSphere/AppServer/logs/update/install/updatelog.txt
# cat /opt/IBM/WebSphere/AppServer/logs/update/install/updatelog.txt


== Aplicando os Interim Fixes para o 7.0.0.21 ==
== Aplicando os Interim Fixes para o 7.0.0.21 ==
Line 302: Line 302:


== Configurando o Deployment Manager ==
== Configurando o Deployment Manager ==
Crie o arquivo
vi /opt/Packages/createDmgrResponse.txt
com as opções:
create
profileName='''Dmgr01'''
profilePath=/opt/IBM/WebSphere/AppServer/profiles/'''Dmgr01'''
templatePath=/opt/IBM/WebSphere/AppServer/profileTemplates/'''management'''
nodeName='''dmgr01node'''
cellName='''connectionsCell'''
hostName='''condmgr01'''
serverType=DEPLOYMENT_MANAGER
enableAdminSecurity=true
isDefault
personalCertValidityPeriod=15
signingCertValidityPeriod=15
adminUserName=wsadmin
adminPassword=c4demo
 
Salvar e Feche.


Execute o comando  
Execute o comando  
Line 330: Line 307:
  cd /opt/IBM/WebSphere/AppServer/bin
  cd /opt/IBM/WebSphere/AppServer/bin
   
   
  ./manageprofiles.sh -response /opt/Packages/createDmgrResponse.txt
  ./manageprofiles.sh -create -serverType DEPLOYMENT_MANAGER -enableAdminSecurity true -isDefault \
 
-personalCertValidityPeriod 15 -signingCertValidityPeriod 15 \
retornando a seguinte mensagem
  -profileName '''Dmgr01'''  \
 
  -profilePath /opt/IBM/WebSphere/AppServer/profiles/'''Dmgr01''' \
  INSTCONFSUCCESS: Success: Profile Dmgr01 now exists. Please consult
-templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/'''management''' \
  /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/logs/AboutThisProfile.txt for more information about this profile.
-nodeName '''dmgr01node''' -cellName '''connectionsCell''' -hostName '''condmgr01''' \
-adminUserName '''wsadmin''' -adminPassword '''c4demo'''


== Iniciando o Deployment Manager ==
== Iniciando o Deployment Manager ==
Line 361: Line 339:


== Configurando o Profile de Node Agent no AppSrv01 ==
== Configurando o Profile de Node Agent no AppSrv01 ==
Crie o arquivo
vi /opt/Packages/createAppSrv01response.txt
com as opções:
create
profileName=AppSrv01
profilePath=/opt/IBM/WebSphere/AppServer/profiles/AppSrv01
templatePath=/opt/IBM/WebSphere/AppServer/profileTemplates/managed
nodeName=conapp01node01
HostName=conapp01
dmgrHost=condmgr01
dmgrPort=8879
dmgrAdminUserName=wsadmin
dmgrAdminPassword=c4demo
personalCertValidityPeriod=15
signingCertValidityPeriod=15
applyPerfTuningSetting=production
 
Salvar e Feche.


Execute o comando  
Execute o comando  
Line 389: Line 344:
  cd /opt/IBM/WebSphere/AppServer/bin
  cd /opt/IBM/WebSphere/AppServer/bin
   
   
  ./manageprofiles.sh -response /opt/Packages/createAppSrv01response.txt
  ./manageprofiles.sh -create -enableAdminSecurity true -isDefault \
 
-personalCertValidityPeriod 15 -signingCertValidityPeriod 15 -applyPerfTuningSetting production\
== Iniciando o Deployment Manager ==
-profileName '''AppSrv01'''  \
 
-profilePath /opt/IBM/WebSphere/AppServer/profiles/'''AppSrv01''' \
Devemos iniciar o Deployment Manager
  -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/'''managed''' \
 
  -nodeName '''conapp01node01''' -cellName '''connectionsCell''' -hostName '''conapp01''' \
  cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin
  -dmgrHost '''condmgr01''' -dmgrPort 8879 -dmgrAdminUserName '''wsadmin''' -dmgrAdminPassword '''c4demo'''
   
  ./startManager.sh

Latest revision as of 22:38, 1 October 2012

!!! IMPORTANTE !!! - Estou montando este artigo e algumas partes ainda não estão completos


Preparação geral

Diretórios padrões

Crie o diretório para os pacotes

mkdir -p /opt/Packages

Arquivos necessários

Copie os arquivos


  • C1G35ML -> C1G35ML_WAS7ND_Lin_x86-64.tar.gz -> Arquivo WAS ND 7.0
  • C1G36ML -> C1G36ML_WAS7ND_Lin_1of2.tar.gz -> Arquivo IHS 7.0 e plugin
  • 7.0.0.25-WS-UPDI-LinuxAMD64.tar.gz -> Arquivo do Update Installer 7.0.0.25
  • 7.0.0-WS-IHS-LinuxX64-FP0000021.pak
  • 7.0.0-WS-WAS-LinuxX64-FP0000021.pak
  • 7.0.0-WS-WASSDK-LinuxX64-FP0000021.pak
  • 7.0.0-WS-PLG-LinuxX64-FP0000021.pak
  • 7.0.0.19-WS-WAS-IFPM53930.pak
  • 7.0.0.21-WS-WAS-IFPM51981.pak
  • 7.0.0.21-WS-WAS-IFPM65486.pak
  • 7.0.0.1-ws-was-ifpm60895.pak
  • 7.0.0.21-ws-was-ifpm56596.pak

para este diretório.

Configuração do hostname de serviço

Estamos utilizando apenas uma máquina para instalar o Connections.

Mas é importante termos várias interfaces/ips para facilitar o configuração, já pensando uma possível ajuste no ambiente.

Para isso convencionamos que o arquivo de hosts deve ser da seguinte configuração:

 Ex.:	<endereço_IP>        <hostname_do_servidor>(Opcional)        <fqdn_do_servico>  <hostname_do_servico>

No nosso exemplo:

192.168.56.20   db2srv.c4demo.com     db2srv
192.168.56.21   domino.c4demo.com     smtp.c4demo.com ldap.c4demo.com
192.168.56.22   condmgr01.c4demo.com  condmgr01
192.168.56.23   conapp01.c4demo.com   conapp01


Instalação do Application Server

Preparando a instalação do WAS ND

mkdir -p /opt/Packages/W1
 
cd /opt/Packages/W1

tar -xzvf ../C1G35ML_WAS7ND_Lin_x86-64.tar.gz
 
cd WAS
 

Instalando do WAS ND (Silent Mode)

Crie o arquivo

vi /opt/Packages/wasndResponse.txt

com as opções:

-OPT silentInstallLicenseAcceptance="true"
-OPT checkFilePermissions="true"
-OPT disableOSPrereqChecking="true"
-OPT installType="installNew"
-OPT profileType="none"
-OPT feature="noFeature"
-OPT installLocation="/opt/IBM/WebSphere/AppServer"
 

Salvar e Feche.

Execute o comando

./install -options "/opt/Packages/wasndResponse.txt" -silent

Para conferir o resultado

 cat /opt/IBM/WebSphere/AppServer/logs/install/log.txt

Instalação do IBM HTTP Server e o plugin

Preparando a instalação do IHS e Plugin

 mkdir -p /opt/Packages/W2

 cd /opt/Packages/W2
 
 tar -xzvf ../C1G36ML_WAS7ND_Lin_1of2.tar.gz
 
 cd IHS

Instalando o IHS e o plugin (Silent Mode)

Crie o arquivo

vi /opt/Packages/ihspluginResponse.txt

com as opções:

 -OPT silentInstallLicenseAcceptance="true"
 -OPT disableOSPrereqChecking="true"
 -OPT installLocation="/opt/IBM/HTTPServer"
 -OPT httpPort="80"
 -OPT adminPort="8008"
 -OPT createAdminAuth="true"
 -OPT adminAuthUser="admin"
 -OPT adminAuthPassword="c4demo"
 -OPT adminAuthPasswordConfirm="c4demo"
 -OPT runSetupAdmin="true"
 -OPT createAdminUserGroup=true
 -OPT setupAdminUser="ihsadmin"
 -OPT setupAdminGroup="ihsadmins"
 -OPT installPlugin="true"
 -OPT webserverDefinition="webserver1"
 -OPT washostname="localhost"
 

Salvar e Feche.

Execute o comando

./install -options "/opt/Packages/ihspluginResponse.txt" -silent

Para conferir o resultado

cat /opt/IBM/HTTPServer/logs/install/log.txt

Instalação o Update Installer

Preparando a instalação do Update Installer

 mkdir -p /opt/Packages/W3

 cd /opt/Packages/W3
 
 tar -xzvf ../7.0.0.25-WS-UPDI-LinuxAMD64.tar.gz
 
 cd UpdateInstaller
 


Instalando o Update Installer (Silent Mode)

Crie o arquivo

vi /opt/Packages/updateinstallerResponse.txt

com as opções:

 -OPT silentInstallLicenseAcceptance="true"
 -OPT disableOSPrereqChecking="true"
 -OPT installLocation="/opt/IBM/WebSphere/UpdateInstaller"
 

Salvar e Feche.

Execute o comando

./install -options "/opt/Packages/updateinstallerResponse.txt" -silent

Para conferir o resultado

 cat /opt/IBM/WebSphere/UpdateInstaller/logs/install/log.txt

Aplicando o Fixes e Interim Fixes necessários

Aplicando os Fixes 7.0.0.21 para JDK, WAS, IHS e Plugin

Copiando os fixes

Copie os arquivos

  • 7.0.0-WS-IHS-LinuxX64-FP0000021.pak
  • 7.0.0-WS-WAS-LinuxX64-FP0000021.pak
  • 7.0.0-WS-WASSDK-LinuxX64-FP0000021.pak
  • 7.0.0-WS-PLG-LinuxX64-FP0000021.pak

para o diretório de manutenção

/opt/IBM/WebSphere/UpdateInstaller/maintenance

Vá para o diretório do update installer

cd /opt/IBM/WebSphere/UpdateInstaller

Criando o response file update para o WAS

Crie o arquivo

vi /opt/Packages/upiWASresponse.txt

com as opções:

-W update.type="install"
-W product.location="/opt/IBM/WebSphere/AppServer"
-W maintenance.package="/opt/IBM/WebSphere/UpdateInstaller/maintenance/7.0.0-WS-WASSDK-LinuxX64-FP0000021.pak;/opt/IBM/WebSphere/UpdateInstaller/maintenance/7.0.0-WS-WAS-LinuxX64-FP0000021.pak"

Salvar e Feche.

Criando o response file update para o IHS

Crie o arquivo

vi /opt/Packages/upiIHSresponse.txt

com as opções:

-W update.type="install"
-W product.location="/opt/IBM/HTTPServer"
-W maintenance.package="/opt/IBM/WebSphere/UpdateInstaller/maintenance/7.0.0-WS-IHS-LinuxX64-FP0000021.pak"

Salvar e Feche.

Criando o response file update para o IHS

Crie o arquivo

vi /opt/Packages/upiPLGresponse.txt

com as opções:

-W update.type="install"
-W product.location="/opt/IBM/HTTPServer/Plugins"
-W maintenance.package="/opt/IBM/WebSphere/UpdateInstaller/maintenance/7.0.0-WS-WASSDK-LinuxX64-FP0000021.pak;/opt/IBM/WebSphere/UpdateInstaller/maintenance/7.0.0-WS-PLG-LinuxX64-FP0000021.pak"

Salvar e Feche.

Executando o update

# ./update.sh  -silent -options "/opt/Packages/upiWASresponse.txt"
# ./update.sh  -silent -options "/opt/Packages/upiIHSresponse.txt"
# ./update.sh  -silent -options "/opt/Packages/upiPLGresponse.txt" 

Verificando

# cat /opt/IBM/WebSphere/AppServer/logs/update/install/updatelog.txt

Aplicando os Interim Fixes para o 7.0.0.21

Copiando os interim fixes

Copie os arquivos

  • 7.0.0.19-WS-WAS-IFPM53930.pak
  • 7.0.0.21-WS-WAS-IFPM51981.pak
  • 7.0.0.21-WS-WAS-IFPM65486.pak
  • 7.0.0.1-ws-was-ifpm60895.pak
  • 7.0.0.21-ws-was-ifpm56596.pak

para o diretório de manutenção

/opt/IBM/WebSphere/UpdateInstaller/maintenance

Vá para o diretório do update installer

cd /opt/IBM/WebSphere/UpdateInstaller

Criando o response file update para o WAS

Crie o arquivo

vi /opt/Packages/upiIntFixresponse.txt

com as opções:

-W update.type="install"
-W product.location="/opt/IBM/WebSphere/AppServer"
-W maintenance.package="/opt/IBM/WebSphere/UpdateInstaller/maintenance/7.0.0.19-WS-WAS-IFPM53930.pak;/opt/IBM/WebSphere/UpdateInstaller/maintenance/7.0.0.21-WS-WAS-IFPM51981.pak;/opt/IBM/WebSphere/UpdateInstaller/maintenance/7.0.0.21-WS-WAS-IFPM65486.pak;/opt/IBM/WebSphere/UpdateInstaller/maintenance/7.0.0.1-ws-was-ifpm60895.pak;/opt/IBM/WebSphere/UpdateInstaller/maintenance/7.0.0.21-ws-was-ifpm56596.pak"


Salvar e Feche.

Executando o update

# ./update.sh  -silent -options "/opt/Packages/upiIntFixresponse.txt"

Criação do Deployment Manager

Configuração do hostname de serviço

O Arquivo hosts deve ser da seguinte configuração:

 Ex.:	<endereço_IP>        <hostname_do_servidor>        <fqdn_do_servico>  <hostname_do_servico>

No nosso exemplo:

192.168.56.22  vmconn01     condmgr01.c4demo.com    condmgr01

Configurando o Deployment Manager

Execute o comando

cd /opt/IBM/WebSphere/AppServer/bin

./manageprofiles.sh -create -serverType DEPLOYMENT_MANAGER -enableAdminSecurity true -isDefault \
-personalCertValidityPeriod 15 -signingCertValidityPeriod 15 \
-profileName Dmgr01  \
-profilePath /opt/IBM/WebSphere/AppServer/profiles/Dmgr01 \
-templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/management \ 
-nodeName dmgr01node -cellName connectionsCell -hostName condmgr01 \
-adminUserName wsadmin -adminPassword c4demo

Iniciando o Deployment Manager

Devemos iniciar o Deployment Manager

cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin

./startManager.sh



Criação do Profile de Node Agent

Configuração do hostname de serviço

O Arquivo hosts deve ser da seguinte configuração:

 Ex.:	<endereço_IP>        <hostname_do_servidor>        <fqdn_do_servico>  <hostname_do_servico>

No nosso exemplo:

192.168.56.23  conapp01.c4demo.com    conapp01

Configurando o Profile de Node Agent no AppSrv01

Execute o comando

cd /opt/IBM/WebSphere/AppServer/bin

./manageprofiles.sh -create -enableAdminSecurity true -isDefault \
-personalCertValidityPeriod 15 -signingCertValidityPeriod 15 -applyPerfTuningSetting production\
-profileName AppSrv01  \
-profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv01 \
-templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed \ 
-nodeName conapp01node01 -cellName connectionsCell -hostName conapp01 \
-dmgrHost condmgr01 -dmgrPort 8879 -dmgrAdminUserName wsadmin -dmgrAdminPassword c4demo