IBM Sterling B2B: Instalação usando Installation Manager - Node 1

Vamos realizar a instalação padrão usando Sterling B2B.

= Procedimento =

Arquivos necessários

 * STR_B2BI_V6.0.2_FOR_MP_ML.zip -> IBM Sterling B2B Integrator V6.0.2 for Multiplatform Multilingual (CC2SZML)
 * SB2BISFG6.0.2_JAVA_SDK_JRE_MP_ML.zip -> IBM Sterling B2B Integrator V6.0.2 or IBM Sterling File Gateway V6.0.2 Java SDK/JRE Multiplatform Multilingual (CC2SXML)
 * db2jcc4.jar -> IBM DB2 jdbc driver
 * unrestrictedpolicyfiles.zip -> Unrestricted SDK JCE Policy Link

Usuário no Linux
Como boa prática não devemos executar o B2B usando o usuário root. Então vamos criar o usuário siuser usando o comando:

useradd siuser

Alterando a senha:

passwd siuser

Faça o Login com o usuário siuser para iniciarmos a instalação.

Preparando o ambiente
1) Criar pasta temporária

mkdir -p /home/siuser/installers/logs mkdir -p /home/siuser/installers/si mkdir -p /home/siuser/installers/jdk

copie o arquivo STR_B2BI_V6.0.2_FOR_MP_ML.zip para o diretório /home/siuser/installers

copie o arquivo db2jcc4.jar para o diretório /home/siuser/installers

copie o arquivo unrestrictedpolicyfiles.zip para o diretório /home/siuser/installers

2) Descompactar os pacotes cd /home/siuser/installers unzip STR_B2BI_V6.0.2_FOR_MP_ML.zip -d /home/siuser/installers/si unzip si/InstallationManager/IM_Linux.zip unzip si/Common_Repo.zip

3) Descompactar o jdk cd /home/siuser/installers unzip SB2BISFG6.0.2_JAVA_SDK_JRE_MP_ML.zip -d /home/siuser/installers/jdk tar -xzvf /home/siuser/installers/jdk/ibm-java-sdk-8.0-5.35-linux-x86_64.tgz

Instalação do IBM Installation Manager (via Texto)
Executar o comando

cd /home/siuser/installers/IM_Linux ./tools/imcl install com.ibm.cic.agent -acceptLicense -installationDirectory /home/siuser/IBM/InstallationManager -repositories /home/siuser/installers/IM_Linux/repository.xml -log /home/siuser/installers/logs/iim.log Resultado: Installed com.ibm.cic.agent_XXXXXXX to the /opt/IBM/InstallationManager/eclipse directory.

Preparando o arquivo de Resposta
1) Faca uma cópia do arquivo de resposta


 * 1) cp /opt/Binarios/si/ResponseFiles/SampleResponseFiles/responseFile_B2Bi.xml /opt/Binarios/si_install_rsp.xml

2) Altere os valores

                <data key='user.sb.INSTALL_IP,com.ibm.sterling.integrator.install.offering' value='siserver.example.com'/> <data key='user.sb.PORT1,com.ibm.sterling.integrator.install.offering' value='5800'/> <data key='user.sb.APSERVER_PASS,com.ibm.sterling.integrator.install.offering' value='<ENCRIPTED_PASSWORD==>'/> <data key='user.confirmPassphrase,com.ibm.sterling.integrator.install.offering' value='<ENCRIPTED_PASSWORD==>'/> <data key='user.sb.SI_ADMIN_MAIL_ADDR,com.ibm.sterling.integrator.install.offering' value='siadmin@example.com'/> <data key='user.sb.SI_ADMIN_SMTP_HOST,com.ibm.sterling.integrator.install.offering' value='smtp.example.com'/> <data key='user.sb.DB_VENDOR,com.ibm.sterling.integrator.install.offering' value='DB2'/> <data key='user.sb.CLUSTER,com.ibm.sterling.integrator.install.offering' value='false'/> <data key='user.CLUSTER_NODE_NUM,com.ibm.sterling.integrator.install.offering' value= '' /> <data key='user.sb.DB_CREATE_SCHEMA,com.ibm.sterling.integrator.install.offering' value='true'/> <data key='user.sb.DB_USER,com.ibm.sterling.integrator.install.offering' value='db2inst1'/> <data key='user.sb.DB_PASS,com.ibm.sterling.integrator.install.offering' value='<ENCRIPTED_PASSWORD==>'/> <data key='user.dbconfirmPassword,com.ibm.sterling.integrator.install.offering' value='<ENCRIPTED_PASSWORD==>'/> <data key='user.sb.DB_DATA,com.ibm.sterling.integrator.install.offering' value='B2BI'/> <data key='user.sb.DB_HOST,com.ibm.sterling.integrator.install.offering' value='db2server.example.com'/> <data key='user.sb.DB_PORT,com.ibm.sterling.integrator.install.offering' value='50000'/> <data key='user.sb.DB_DRIVERS,com.ibm.sterling.integrator.install.offering' value='/opt/Binarios/db2jcc4.jar'/> <data key='user.sb.LICENSE_FILE,com.ibm.sterling.integrator.install.offering' value='Core_License.xml'/> <data key='user.sb.DEBUG,com.ibm.sterling.integrator.install.offering' value='true'/> <data key='user.sb.UPGRADE,com.ibm.sterling.integrator.install.offering' value='false'/> <data key='user.sb.PROCESSORS,com.ibm.sterling.integrator.install.offering' value='2'/> <data key='user.sb.MEMORY,com.ibm.sterling.integrator.install.offering' value='3072'/> <preference name='com.ibm.cic.common.core.preferences.eclipseCache' value='${sharedLocation}'/> <preference name='com.ibm.cic.common.core.preferences.connectTimeout' value='30'/> <preference name='com.ibm.cic.common.core.preferences.readTimeout' value='45'/> <preference name='com.ibm.cic.common.core.preferences.downloadAutoRetryCount' value='0'/> <preference name='offering.service.repositories.areUsed' value='true'/> <preference name='com.ibm.cic.common.core.preferences.ssl.nonsecureMode' value='false'/> <preference name='com.ibm.cic.common.core.preferences.http.disablePreemptiveAuthentication' value='false'/> <preference name='http.ntlm.auth.kind' value='NTLM'/> <preference name='http.ntlm.auth.enableIntegrated.win32' value='true'/> <preference name='com.ibm.cic.common.core.preferences.preserveDownloadedArtifacts' value='true'/> <preference name='com.ibm.cic.common.core.preferences.keepFetchedFiles' value='false'/> <preference name='PassportAdvantageIsEnabled' value='false'/> <preference name='com.ibm.cic.common.core.preferences.searchForUpdates' value='false'/> <preference name='com.ibm.cic.agent.ui.displayInternalVersion' value='false'/> <preference name='com.ibm.cic.common.sharedUI.showErrorLog' value='true'/> <preference name='com.ibm.cic.common.sharedUI.showWarningLog' value='true'/> <preference name='com.ibm.cic.common.sharedUI.showNoteLog' value='true'/> </agent-input>

para gerar a senha encriptada execute:


 * 1) /opt/IBM/InstallationManager/eclipse/tools/imutilsc encryptString passw0rd

Instalação do IBM Sterling B2B (via Texto)
Executar o comando

/opt/IBM/InstallationManager/eclipse/tools/imcl -acceptLicense -showVerboseProgress input /opt/Binarios/si_install_rsp.xml -log /opt/Binarios/logs/si_inst.log Resultado: Installed .......

Iniciando
Após a instalação executar os comandos abaixo para iniciar o Sterling B2B:

cd /home/siuser/IBM/SI/bin

./run.sh

= Ver também =


 * Artigos sobre IBM Sterling
 * Mais Artigos sobre Cloud / WebDev / Tecnologias