IBM Sterling B2B: Install on Linux - Console
Vamos realizar a instalação padrão usando Sterling B2B.
Procedurer
Required Files
- 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
- unrestrictedpolicy.zip -> Java
Prepare environment
1) Create temporary directories
mkdir -p /opt/installers/logs mkdir -p /opt/installers/si mkdir -p /opt/installers/jdk
copy file STR_B2BI_V6.0.2_FOR_MP_ML.zip to directory /opt/installers
2) Unzip B2B packages
cd /opt/installers unzip STR_B2BI_V6.0.2_FOR_MP_ML.zip -d /opt/Binarios/si unzip si/InstallationManager/IM_Linux.zip unzip si/Common_Repo.zip
3) Unzip java
cd /opt/installers unzip SB2BISFG6.0.2_JAVA_SDK_JRE_MP_ML.zip -d /opt/installers/jdk tar -xzvf /opt/installers/jdk/ibm-java-sdk-8.0-5.35-linux-x86_64.tgz
Install IBM Installation Manager
run command
cd /opt/installers/IM_Linux ./tools/imcl install com.ibm.cic.agent -acceptLicense -installationDirectory /opt/IBM/InstallationManager -repositories /opt/Binarios/IM_Linux/repository.xml -log /opt/Binarios/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
# cp /opt/Binarios/si/ResponseFiles/SampleResponseFiles/responseFile_B2Bi.xml /opt/Binarios/si_install_rsp.xml
2) Altere os valores
<?xml version='1.0' encoding='UTF-8'?> <agent-input> <install modify='false'> <offering profile='Sterling Integrator' id='com.ibm.sterling.integrator.install.offering' features='main.feature,filegateway.feature' installFixes='none'/> </install> <variables> <variable name='sharedLocation' value='/opt/IBM/IMShared'/> <variable name='siLocation' value='/opt/IBM/SI'/> </variables> <server> <repository location='/opt/Binarios/si/b2birepo/repository.config'/> </server> <profile id='Sterling Integrator' installLocation='${siLocation}'> <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.DB_PASS,com.ibm.sterling.integrator.install.offering' value='<ENCRIPTED_PASSWORD==>'/> <data key='user.dbconfirmPassword,com.ibm.sterling.integrator.install.offering' value='<ENCRIPTED_PASSWORD==>'/> </profile> <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:
# /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 /opt/IBM/SI/bin
./run.sh