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

From Wiki
 
(20 intermediate revisions by the same user not shown)
Line 14: Line 14:
   
   
Copie os arquivos
Copie os arquivos


* C1G35ML  -> C1G35ML_WAS7ND_Lin_x86-64.tar.gz  -> Arquivo WAS ND 7.0
* 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
* 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.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.
para este diretório.
Line 75: Line 87:
  ./install -options "/opt/Packages/wasndResponse.txt" -silent
  ./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 =
= Instalação do IBM HTTP Server e o plugin =
Line 120: Line 134:
  ./install -options "/opt/Packages/ihspluginResponse.txt" -silent
  ./install -options "/opt/Packages/ihspluginResponse.txt" -silent


Para conferir o resultado


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


= Instalação o Update Installer =
= Instalação o Update Installer =
Line 134: Line 150:
   cd UpdateInstaller
   cd UpdateInstaller
    
    
  ./install


!!! FALTANDO !!!
 
== 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 ==


= Aplicando o Fixes 7.0.0.21 para JDK, WAS, IHS e Plugin =
=== Copiando os fixes ===


Copie os arquivo /opt/IBM/WebSphere/UpdateInstaller/maintenance
Copie os arquivos


* 7.0.0-WS-IHS-LinuxX64-FP0000021.pak
* 7.0.0-WS-IHS-LinuxX64-FP0000021.pak
Line 149: Line 188:
* 7.0.0-WS-PLG-LinuxX64-FP0000021.pak
* 7.0.0-WS-PLG-LinuxX64-FP0000021.pak


== Aplicando os Fixes ==
para o diretório de manutenção


!!! FALTANDO !!!
/opt/IBM/WebSphere/UpdateInstaller/maintenance


Vá para o diretório do update installer


cd /opt/IBM/WebSphere/UpdateInstaller


= Criação do Deployment Manager =
=== Criando o response file update para o WAS ===


== Configuração do hostname de serviço ==
Crie o arquivo


O Arquivo hosts deve ser da seguinte configuração:
vi /opt/Packages/upiWASresponse.txt


  Ex.: <endereço_IP>        <hostname_do_servidor>        <fqdn_do_servico>  <hostname_do_servico>
com as opções:


No nosso exemplo:
-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"


192.168.56.22  vmconn01    condmgr01.c4demo.com    condmgr01
Salvar e Feche.


== Configurando o Deployment Manager ==
=== Criando o response file update para o IHS ===


Crie o arquivo  
Crie o arquivo  


  vi /opt/Packages/createDmgrResponse.txt
  vi /opt/Packages/upiIHSresponse.txt


com as opções:
com as opções:


  create
  -W update.type="install"
profileName=Dmgr
  -W product.location="/opt/IBM/HTTPServer"
  profilePath=/opt/IBM/WebSphere/AppServer/profiles/Dmgr01
  -W maintenance.package="/opt/IBM/WebSphere/UpdateInstaller/maintenance/7.0.0-WS-IHS-LinuxX64-FP0000021.pak"
  templatePath=/opt/IBM/WebSphere/AppServer/profileTemplates/management
 
nodeName=conNode01
cellName=connectionsCell01
hostName=condmgr01
serverType=DEPLOYMENT_MANAGER
enableAdminSecurity=true
isDefault
personalCertValidityPeriod=15
signingCertValidityPeriod=15
adminUserName=wsadmin
adminPassword=c4demo
 
Salvar e Feche.
Salvar e Feche.


Execute o comando
=== 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.


cd /opt/IBM/WebSphere/AppServer/bin
=== Executando o update ===
./manageprofiles.sh -response /opt/Packages/createDmgrResponse.txt


== Iniciando o Deployment Manager ==
# ./update.sh  -silent -options "/opt/Packages/upiWASresponse.txt"


Devemos iniciar o Deployment Manager
# ./update.sh  -silent -options "/opt/Packages/upiIHSresponse.txt"


  cd /opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin
  # ./update.sh  -silent -options "/opt/Packages/upiPLGresponse.txt"
   
   
./startManager.sh
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 ===


= Criação do Profile do Application Server =
Copie os arquivos


== Configuração do hostname de serviço ==
* 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


O Arquivo hosts deve ser da seguinte configuração:
para o diretório de manutenção


  Ex.: <endereço_IP>        <hostname_do_servidor>        <fqdn_do_servico> <hostname_do_servico>
  /opt/IBM/WebSphere/UpdateInstaller/maintenance


No nosso exemplo:
Vá para o diretório do update installer


  192.168.56.23  conapp01.c4demo.com    conapp01
  cd /opt/IBM/WebSphere/UpdateInstaller


== Configurando o Profile do AppSrv01 ==
=== Criando o response file update para o WAS ===


Crie o arquivo  
Crie o arquivo  


  vi /opt/Packages/createAppSrv01response.txt
  vi /opt/Packages/upiIntFixresponse.txt


com as opções:
com as opções:


  create
  -W update.type="install"
  profileName=AppSrv01
  -W product.location="/opt/IBM/WebSphere/AppServer"
  profilePath=/opt/IBM/WebSphere/AppServer/profiles/AppSrv01
  -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"
templatePath=/opt/IBM/WebSphere/AppServer/profileTemplates/managed
 
nodeName=conNode01
 
HostName=conapp01
dmgrHost=condmgr01
dmgrPort=8879
dmgrAdminUserName=wsadmin
dmgrAdminPassword=c4demo
personalCertValidityPeriod=15
signingCertValidityPeriod=15
 
Salvar e Feche.
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  
Execute o comando  
Line 248: Line 307:
  cd /opt/IBM/WebSphere/AppServer/bin
  cd /opt/IBM/WebSphere/AppServer/bin
   
   
  ./manageprofiles.sh -response /opt/Packages/createAppSrv01response.txt
  ./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 ==
== Iniciando o Deployment Manager ==
Line 257: Line 322:
   
   
  ./startManager.sh
  ./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'''

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