Thursday, January 1, 2015

IBM Sterling Commerce 9.2, 9.2.1, 9.3 Apply Fix Pack (FP) without IBM Installation Manager



Since 9.2, Sterling Commerce installation and FP are integrated with IBM Installation Manager. It might not be possible or desirable to use IBM Installation Manager (imcl) in all scenarios.

It is possible to install IBM Sterling Commerce FP (Fix Pack) without IBM Installation Manager (imcl).

First, download the fix pack. For example, you can download the SMCFS 9.3.0 FP from IBM Fix central:
http://www-933.ibm.com/support/fixcentral/swg/selectFixes?parent=ibm~Other%2Bsoftware&product=ibm/Other+software/Sterling+Selling+and+Fulfillment+Foundation&release=9.3.0&platform=All&function=all

After download the installer (In the example 9.3.0.0-Sterling-SSFF-All-fp0009.zip for SMCFS 9.3.0 FP 9). Unzip it and you should have something like:
[scmfsuser@pocsea03 SSFS0009]$ ls -lh *
-rw-rw-r-- 1 demouser demouser 3.5K Dec 22 05:34 Files_Modified.txt
-rw-rw-r-- 1 demouser demouser 3.1K Dec 22 05:34 Fix_Pack_Installation.txt
-rw-rw-r-- 1 demouser demouser   74 Dec 22 05:34 repository.config
-rw-rw-r-- 1 demouser demouser 1.6K Dec 22 05:34 repository.xml

atoc:
total 8.0K
-rw-rw-r-- 1 demouser demouser  788 Dec 22 05:34 atoc.xml
drwxrwxr-x 2 demouser demouser 4.0K Dec 22 05:34 nq

files:
total 234M
-rw-rw-r-- 1 demouser demouser 234M Dec 22 05:34 Foundation93-FP9_9.3.0.9.zip
-rw-rw-r-- 1 demouser demouser 1.3K Dec 22 05:34 installfoundation93fp_9.3.0.9.xml


Offerings:
total 12K
-rw-rw-r-- 1 demouser demouser 1.4K Dec 22 05:34 com.ibm.is.commerce.foundation93fp_1.0.0.20141222_1704.jar
-rw-rw-r-- 1 demouser demouser 1.7K Dec 22 05:34 com.ibm.is.commerce.foundation93fp_1.0.0.20141222_1704_SE.jar
-rw-rw-r-- 1 demouser demouser  342 Dec 22 05:34 toc.xml

plugins:
total 12K
-rw-rw-r-- 1 demouser demouser 11K Dec 22 05:34 com.ibm.is.sterling.sbi.locationcheck_9.3.0.jar

ShareableEntities:
total 12K
-rw-rw-r-- 1 demouser demouser 3.3K Dec 22 05:34 com.ibm.is.commerce.foundation93fp_1.0.0.20141222_1704.su
-rw-rw-r-- 1 demouser demouser  450 Dec 22 05:34 com.ibm.is.commerce.foundation93fp.main_1.0.0.20141222_1704.assembly
-rw-rw-r-- 1 demouser demouser  255 Dec 22 05:34 toc.xml



The files that we are interested are in the "files" folder:
  • installfoundation93fp_9.3.0.9.xml
  • Foundation93-FP9_9.3.0.9.zip
If your installfoundation93fp_9.3.0.9.xml is similar as the one below, you can
  1. Unzip the Foundation93-FP9_9.3.0.9.zip file
  2. Utilize the InstallService.sh (or InstallService.cmd) in the Sterling Foundation's bin folder (example/opt/Sterling/Foundation/bin/InstallService.sh) to install the smcfs_93_FP9.jar
Command line Example from one environment:
[smcfsuser@pocsea03 ~]$ mkdir /opt/Sterling/Runtime/FPTemp
[smcfsuser@pocsea03 ~]$ cd /opt/Sterling/Runtime/FPTemp
[smcfsuser@pocsea03 FPTemp]$ unzip /opt/Sterling/fp/SSFS0009/files/Foundation93-FP9_9.3.0.9.zip
[smcfsuser@pocsea03 FPTemp]$ /opt/Sterling/Runtime/bin/InstallService.sh /opt/Sterling/Runtime/FPTemp/smcfs_93_FP9.jar




You should inspect the installfoundation93fp_9.3.0.9.xml file to verify if the FP is using the InstallService which is referred by ${INSTALL_SCRIPT}.



<!--
Licensed Materials - Property of IBM
IBM Sterling Call Center and Store
(C) Copyright IBM Corp. 2012, 2013 All Rights Reserved.
US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
-->
<project name="IBM Sterling Foundation FixPack Install project" default="executefoundation93fp">
<target name="executefoundation93fp">
<mkdir dir="${FinalInstallDir}/FPtemp"/>
<unzip src="Foundation93-FP9_9.3.0.9.zip" dest="${FinalInstallDir}/FPtemp"/>
<echo message="Executing InstallService on smcfs_93_FP9.jar"/>
<exec dir="${FinalInstallDir}/bin" executable="${FinalInstallDir}/bin/${INSTALL_SCRIPT}" resultproperty="installfoundation93fp.result" failonerror="true" output="${FinalInstallDir}/logs/Foundation93FP_PreInstallSI.log" logError="${FinalInstallDir}/logs/Foundation93FP_PreInstallSI.log" append="true">
<arg value="${FinalInstallDir}/FPtemp/smcfs_93_FP9.jar"/>

</exec>
<condition property="installfoundation93fp.success">
<equals arg1="${installfoundation93fp.result}" arg2="0" />
</condition>
<delete dir="${FinalInstallDir}/FPtemp"/>
<delete file="${FinalInstallDir}/Foundation93-FP9_9.3.0.9.zip"/>

</target>
</project>


5 comments:

  1. Thanks for exploding on details Ned.

    ReplyDelete
  2. Hi Ned, This approach is no longer viable especially if you are required to install multiple products like OMS/WMS especially 9.3 and their corresponding fix packs, refresh packs etc., It is more like a quick and dirty solution.
    Reason I am saying is that, we had to bring up multiple instances of Sterling, in a green field project recently. We had to work only via the installation manager as it keeps things accurate and no chances for mistakes and messing up the instance.
    Only caution is to take the backup of the install_dir before running the installation.

    Best Regards
    Mithun MP

    ReplyDelete
  3. I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it. Apply Slotxo

    ReplyDelete
  4. Easily, the article is actually the best topic on this registry related issue. I fit in with your conclusions and will eagerly look forward to your next updates. Apply Slotxo

    ReplyDelete
  5. 1 pg slot game ทางเข้า สล็อต pg หรือผู้พัฒนาเกมอื่นๆคุณอาจจำต้องตรวจและก็ทดสอบเล่นเพื่อค้นหาเกมที่ประทับใจ pg slot รวมทั้งตรงกับความพอใจของคุณต้องมีความรอบคอบในการเล่นเกม

    ReplyDelete