IBM Support

IBM Sterling B2B Integrator V5.2.6.X Upgrading KeyNotes

Technical Blog Post


Abstract

IBM Sterling B2B Integrator V5.2.6.X Upgrading KeyNotes

Body

In this Blog I am demonstrating about the must remembers of V5.2.6.X Upgrading processes from existing B2Bi instance.

 This blog is writing as continuation to the below Installation Blog, Please go through the below blog first 3 steps to get an overview on IBM Installation Manager.

/support/pages/node/1121193

 

Upgrading to SI 5.2.6.X in Silent mode using Response file from existing B2Bi instance:

 

The sample response files are available in <SI Installation Media>/ResponseFiles/SampleResponseFiles, for getting better idea on framing response file go through the response file "responseFile_update_B2Bi.xml". 

 

Once you are done with the IBM Installation Manager installation as mentioned in the above blog, running the ./imcl (which is available in <IIM Installation directory>/eclipse/tools ) will start the install/upgrading process.

 

the default path of IIM Installation Manager is :  /root/IBM/InstallationManager/eclipse/tools , navigate to the above path and execute the below command to upgrade SI in silent mode using response file.

 

./imcl -acceptLicense input <Path to the Response file>/responsefile.xml -showVerboseProgress -log <Path>/Upgrade.log 

 

Here -showVerboseProgress and -log options are optional.

 

Creating Response file:

Below is the sample response file which I used for upgrading process.

 

responseFile_update_B2Bi.xml

=========================

<agent-input>
    <variables>
        <variable name="sharedLocation" value="/root/data/APPS/IBMIMShared"/>
        <variable name='siLocation' value="/root/data/Radha/IBM/SI5242"/>
        <variable name='offeringProfile' value="Sterling B2B Integrator"/>
    </variables>
    <server>
                <repository location="/root/data/Radha/Installables/IBM_STERLING_B2B_INTEGRAT_5/b2birepo"/>
    </server>
    <profile id='${offeringProfile}' installLocation='${siLocation}'>
        <data key='user.sb.JVM_LOC,com.ibm.sterling.integrator.install.offering' value="/opt/ibm/java-x86_64-70"/>
        <data key='user.sb.JCE_DIST_FILE,com.ibm.sterling.integrator.install.offering' value="/root/data/Radha/Installables/unrestrictedpolicyfiles.zip"/>
        <data key='user.sb.APSERVER_PASS,com.ibm.sterling.integrator.install.offering' value="password"/>
        <data key='user.confirmPassphrase,com.ibm.sterling.integrator.install.offering' value="password"/>
    </profile>
    <install modify='false'>
        <offering profile='${offeringProfile}' id='com.ibm.sterling.integrator.install.offering' features='main.feature' installFixes='none'/>
    </install>
    <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'/>
    <preference name="com.ibm.cic.common.core.preferences.eclipseCache" value="${sharedLocation}"/>
</agent-input>

====================

Response file Important params:

1. <variable name="sharedLocation" value="/root/data/APPS/IBMIMShared"/> 

  The path mentioned in the above is the default path IIM look-in, until you mention a custom shared location at the time of IIM installation do not change this path.

 IBMIMShared directory will be created automatically when Installations started by IIM. 

 

2.  <variable name='siLocation'  

This value is nothing but your current B2Bi Instance path.

 

3. <variable name='offeringProfile'

 If you previously installed or updated B2Bi using IBM Installation Manager (IIM), the  offering profile was assigned the first time the product was installed or updated with  IIM, and  the value provided here must match the assigned offering profile. This offering profile, if it exists, can be found by running "./imcl listInstalledPackages -verbose" from the tools/ directory of the installed IIM instance, and is listed as the name of the package group associated with the B2Bi package.

 

4. <repository location 

Once you unzip the installation media , the repository.config file is available in the below path , which you have to mention here.

Path :  <SI Installation Media>/b2birep

 

5.   <data key='user.sb.JVM_LOC,com.ibm.sterling.integrator.install.offering' 

JDK path, please be careful that the path should be proper else installation will throw error like below.

Error:

Calculating requirements and dependencies.
Computing prerequisite plan
ERROR: The following errors were generated while installing.
  ERROR: You must specify a directory that exists.

 

6. <data key='user.sb.JCE_DIST_FILE

JCE policy file path.

 

7.  <data key='user.sb.APSERVER_PASS,  and  <data key='user.confirmPassphrase,

System Passphrase.

=============================

 

If the installation starts then everything will be logged in <SI Install>/logs/InstallService.log 

 

I hope the above information is helpful to you.

 

If you have any queries please comment below.

 

 

 

 

 

 

 

 

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS3JSW","label":"IBM Sterling B2B Integrator"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

UID

ibm11121199