IBM Sterling B2B: Install on Linux - Console: Difference between revisions

From Wiki
No edit summary
Line 1: Line 1:
Vamos realizar a instalação padrão usando Sterling B2B.
Vamos realizar a instalação padrão usando Sterling B2B.


= Procedurer =
= Procedure =


== Required Files ==
== Required Files ==
Line 8: Line 8:
* 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)
* 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
* db2jcc4.jar -> IBM DB2 jdbc driver
* unrestrictedpolicy.zip -> Java
* unrestrictedpolicyfiles.zip -> Java


== Prepare environment ==
== Prepare environment ==
Line 14: Line 14:
1) Create temporary directories
1) Create temporary directories


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


copy file STR_B2BI_V6.0.2_FOR_MP_ML.zip to directory /opt/installers
copy file STR_B2BI_V6.0.2_FOR_MP_ML.zip to directory /home/siuser/installers
 
copy file db2jcc4.jar to directory /home/siuser/installers
 
copy file unrestrictedpolicyfiles.zip to directory /home/siuser/installers


2) Unzip B2B packages  
2) Unzip B2B packages  
   
   
  cd /opt/installers
  cd /home/siuser/installers
  unzip STR_B2BI_V6.0.2_FOR_MP_ML.zip -d /opt/Binarios/si
  unzip STR_B2BI_V6.0.2_FOR_MP_ML.zip -d /home/siuser/installers/si
  unzip si/InstallationManager/IM_Linux.zip
  unzip si/InstallationManager/IM_Linux.zip
  unzip si/Common_Repo.zip
  unzip si/Common_Repo.zip
Line 29: Line 33:
3) Unzip java
3) Unzip java
   
   
  cd /opt/installers
  cd /home/siuser/installers
  unzip SB2BISFG6.0.2_JAVA_SDK_JRE_MP_ML.zip -d /opt/installers/jdk
  unzip SB2BISFG6.0.2_JAVA_SDK_JRE_MP_ML.zip -d /home/siuser/installers/jdk
  tar -xzvf /opt/installers/jdk/ibm-java-sdk-8.0-5.35-linux-x86_64.tgz
  tar -xzvf /home/siuser/installers/jdk/ibm-java-sdk-8.0-5.35-linux-x86_64.tgz


== Install IBM Installation Manager==
== Install IBM Installation Manager==
Line 37: Line 41:
run command
run command


  cd /opt/installers/IM_Linux
  cd /home/siuser/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
  ./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:
  Result:
  Installed ''com.ibm.cic.agent_XXXXXXX'' to the /opt/IBM/InstallationManager/eclipse directory.
  Installed ''com.ibm.cic.agent_XXXXXXX'' to the /home/siuser/IBM/InstallationManager/eclipse directory.
 
 
== Preparing response file ==
 
1) Make a copy of sample response file


# cp /home/siuser/installers/si/ResponseFiles/SampleResponseFiles/responseFile_B2Bi.xml /home/siuser/installers/si_install_rsp.xml


== Preparando o arquivo de Resposta ==
2) To generate encrypted passwords required below, run the command:


1) Faca uma cópia do arquivo de resposta
# /home/siuser/IBM/InstallationManager/eclipse/tools/imutilsc encryptString '''passw0rd'''


# cp /opt/Binarios/si/ResponseFiles/SampleResponseFiles/responseFile_B2Bi.xml /opt/Binarios/si_install_rsp.xml
take note of values for ENCRIPTED_PASSPHRASE and DB_ENCRIPTED_PASSWORD.


2) Altere os valores
3) Change values on file si_install_rsp.xml


  <?xml version='1.0' encoding='UTF-8'?>
  <?xml version='1.0' encoding='UTF-8'?>
Line 59: Line 69:
   
   
     <variables>
     <variables>
         <variable name='sharedLocation' value=''''/opt/IBM/IMShared''''/>
         <variable name='sharedLocation' value=''''/home/siuser/IBM/IMShared''''/>
         <variable name='siLocation' value='/opt/IBM/SI'/>
         <variable name='siLocation' value='/home/siuser/IBM/SI'/>
     </variables>
     </variables>
     <server>
     <server>
         <repository location='/opt/Binarios/si/b2birepo/repository.config'/>
         <repository location='/home/siuser/installers/si/b2birepo/repository.config'/>
        <repository location='/home/siuser/installers/si/gmrepo/repository.config'/>
     </server>
     </server>
     <profile id='Sterling Integrator' installLocation='${siLocation}'>  
     <profile id='Sterling Integrator' installLocation='${siLocation}'>  
Line 73: Line 84:
         <data key='cic.selector.nl' value='en'/>
         <data key='cic.selector.nl' value='en'/>
   
   
         <data key='user.sb.JVM_LOC,com.ibm.sterling.integrator.install.offering' value=''''/opt/IBM/java/ibm-java-x86_64-80''''/>
         <data key='user.sb.JVM_LOC,com.ibm.sterling.integrator.install.offering' value=''''/home/siuser/installers/ibm-java-x86_64-80''''/>
         <data key='user.sb.JDK64BIT,com.ibm.sterling.integrator.install.offering' value='true'/>  
         <data key='user.sb.JDK64BIT,com.ibm.sterling.integrator.install.offering' value='true'/>  
         <data key='user.sb.FIPS_MODE,com.ibm.sterling.integrator.install.offering' value='false'/>
         <data key='user.sb.FIPS_MODE,com.ibm.sterling.integrator.install.offering' value='false'/>
         <data key='user.sb.NIST_MODE,com.ibm.sterling.integrator.install.offering' value='off'/>
         <data key='user.sb.NIST_MODE,com.ibm.sterling.integrator.install.offering' value='off'/>
         <data key='user.sb.INSTALL_SPE_INTEGRATION,com.ibm.sterling.integrator.install.offering' value='false'/>
         <data key='user.sb.INSTALL_SPE_INTEGRATION,com.ibm.sterling.integrator.install.offering' value='false'/>
         <data key='user.sb.JCE_DIST_FILE,com.ibm.sterling.integrator.install.offering' value=''''/opt/Binarios/unrestrictedpolicyfiles.zip''''/>
         <data key='user.sb.JCE_DIST_FILE,com.ibm.sterling.integrator.install.offering' value=''''/home/siuser/installerrs/unrestrictedpolicyfiles.zip''''/>
         <data key='user.sb.INSTALL_IP,com.ibm.sterling.integrator.install.offering' value=''''siserver.example.com''''/>
         <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.PORT1,com.ibm.sterling.integrator.install.offering' value=''''23000''''/>
         <data key='user.sb.APSERVER_PASS,com.ibm.sterling.integrator.install.offering' value=''''<ENCRIPTED_PASSWORD==>''''/>
         <data key='user.sb.APSERVER_PASS,com.ibm.sterling.integrator.install.offering' value=''''<ENCRIPTED_PASSPHRASE==>''''/>
         <data key='user.confirmPassphrase,com.ibm.sterling.integrator.install.offering' value=''''<ENCRIPTED_PASSWORD==>''''/>
         <data key='user.confirmPassphrase,com.ibm.sterling.integrator.install.offering' value=''''<ENCRIPTED_PASSPHRASE ==>''''/>
         <data key='user.sb.SI_ADMIN_MAIL_ADDR,com.ibm.sterling.integrator.install.offering' value=''''[email protected]''''/>
         <data key='user.sb.SI_ADMIN_MAIL_ADDR,com.ibm.sterling.integrator.install.offering' value=''''[email protected]''''/>
         <data key='user.sb.SI_ADMIN_SMTP_HOST,com.ibm.sterling.integrator.install.offering' value=''''smtp.example.com''''/>
         <data key='user.sb.SI_ADMIN_SMTP_HOST,com.ibm.sterling.integrator.install.offering' value=''''smtp.example.com''''/>
Line 90: Line 101:
         <data key='user.sb.DB_CREATE_SCHEMA,com.ibm.sterling.integrator.install.offering' value='true'/>     
         <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_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.sb.DB_PASS,com.ibm.sterling.integrator.install.offering' value=''''<DB_ENCRIPTED_PASSWORD==>''''/>
         <data key='user.dbconfirmPassword,com.ibm.sterling.integrator.install.offering' value=''''<ENCRIPTED_PASSWORD==>''''/>
         <data key='user.dbconfirmPassword,com.ibm.sterling.integrator.install.offering' value=''''<DB_ENCRIPTED_PASSWORD==>''''/>
         <data key='user.sb.DB_DATA,com.ibm.sterling.integrator.install.offering' value=''''B2BI''''/>
         <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_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_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.DB_DRIVERS,com.ibm.sterling.integrator.install.offering' value=''''/home/user/installers/db2jcc4.jar''''/>
         <data key='user.sb.LICENSE_FILE,com.ibm.sterling.integrator.install.offering' value='Core_License.xml'/>
         <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.DEBUG,com.ibm.sterling.integrator.install.offering' value='true'/>
Line 122: Line 133:
  </agent-input>
  </agent-input>


para gerar a senha encriptada execute:
# /opt/IBM/InstallationManager/eclipse/tools/imutilsc encryptString '''passw0rd'''


== Instalação do IBM Sterling B2B (via Texto) ==
== Install IBM Sterling B2B ==


Executar o comando
run command


  <small>/opt/IBM/InstallationManager/eclipse/tools/imcl -acceptLicense -showVerboseProgress input /opt/Binarios/si_install_rsp.xml -log /opt/Binarios/logs/si_inst.log</small>
  <small>/home/siuser/IBM/InstallationManager/eclipse/tools/imcl -acceptLicense -showVerboseProgress input /home/siuser/installers/si_install_rsp.xml -log /home/siuser/installers/logs/si_inst.log</small>
   
   
  Resultado:
  Result:
  Installed .......
  Installed .......


== Iniciando ==
== Start B2B ==


Após a instalação executar os comandos abaixo para iniciar o Sterling B2B:
After install you need to run the following commands to start Sterling B2B:


  cd /opt/IBM/SI/bin
  cd /home/siuser/IBM/SI/bin


  ./run.sh
  ./run.sh


= Ver também =
= See Also =


* [[IBM Sterling| Artigos sobre IBM Sterling]]
* [[IBM Sterling| Artigos sobre IBM Sterling]]

Revision as of 11:41, 5 September 2020

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

Procedure

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
  • unrestrictedpolicyfiles.zip -> Java

Prepare environment

1) Create temporary directories

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

copy file STR_B2BI_V6.0.2_FOR_MP_ML.zip to directory /home/siuser/installers

copy file db2jcc4.jar to directory /home/siuser/installers

copy file unrestrictedpolicyfiles.zip to directory /home/siuser/installers

2) Unzip B2B packages

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) Unzip java

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

Install IBM Installation Manager

run command

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

Result:
Installed com.ibm.cic.agent_XXXXXXX to the /home/siuser/IBM/InstallationManager/eclipse directory.


Preparing response file

1) Make a copy of sample response file

# cp /home/siuser/installers/si/ResponseFiles/SampleResponseFiles/responseFile_B2Bi.xml /home/siuser/installers/si_install_rsp.xml

2) To generate encrypted passwords required below, run the command:

# /home/siuser/IBM/InstallationManager/eclipse/tools/imutilsc encryptString passw0rd

take note of values for ENCRIPTED_PASSPHRASE and DB_ENCRIPTED_PASSWORD.

3) Change values on file si_install_rsp.xml

<?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='/home/siuser/IBM/IMShared'/>
       <variable name='siLocation' value='/home/siuser/IBM/SI'/>
   </variables>
   <server>
       <repository location='/home/siuser/installers/si/b2birepo/repository.config'/>
       <repository location='/home/siuser/installers/si/gmrepo/repository.config'/>
   </server>
   <profile id='Sterling Integrator' installLocation='${siLocation}'> 
        
       
       
       
       
       

       
        
       
       
       
       
       
       
       <data key='user.sb.APSERVER_PASS,com.ibm.sterling.integrator.install.offering' value='<ENCRIPTED_PASSPHRASE==>'/>
       <data key='user.confirmPassphrase,com.ibm.sterling.integrator.install.offering' value='<ENCRIPTED_PASSPHRASE ==>'/>
       
       
       
       
       
            
       
       <data key='user.sb.DB_PASS,com.ibm.sterling.integrator.install.offering' value='<DB_ENCRIPTED_PASSWORD==>'/>
       <data key='user.dbconfirmPassword,com.ibm.sterling.integrator.install.offering' value='<DB_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>


Install IBM Sterling B2B

run command

/home/siuser/IBM/InstallationManager/eclipse/tools/imcl -acceptLicense -showVerboseProgress input /home/siuser/installers/si_install_rsp.xml -log /home/siuser/installers/logs/si_inst.log

Result:
Installed .......

Start B2B

After install you need to run the following commands to start Sterling B2B:

cd /home/siuser/IBM/SI/bin
./run.sh

See Also