Showing posts with label IBM Installation Manager. Show all posts
Showing posts with label IBM Installation Manager. Show all posts

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>


Tuesday, March 26, 2013

Sterling Commerce 9.2 and 9.2.1 installation without IBM Installation Manager

Sterling Commerce 9.2 and 9.2.1 are integrated with IBM Installation Manager but there are challenges in this marriage.

The combination of IBM Installation Manager and SMCFS installer does not work on Linux. IBM Installation Manager must be run as root on a Linux machine while Sterling Multi Channel Fulfillment Suite installer does not allow installation as root. So after starts IBM Installation Manager as root, the installation fails after Sterling installer starting and complaining it is running as root.

A solution that implementation teams often use is to run the Sterling Selling and Fulfillment Suite installer directly without IBM Installation Manager.

After download the installer (example: STR_OM_FI_V9.2_ML_MP.zip for 9.2 or STR_OM_9.2.1_SELLING_ANDFF_MP_EN.zip for 9.2.1) and unzip it, you should have a folder like below.

[sterling@nzhangw510-fed19 9_2]$ ls -lh 9_2_installer/
total 1.5G
drwxrwxr-x. 3 sterling wheel 4.0K Feb 22 2013 atoc
-rw-rw-r--. 1 sterling wheel 674 Mar 20 2013 dlmgr.pro
drwxrwxr-x. 2 sterling wheel 4.0K Feb 22 2013 files
-rw-rw-r--. 1 sterling wheel 17M Feb 22 2013 ISADC92.zip
drwxrwxr-x. 2 sterling wheel 4.0K Feb 22 2013 Offerings
drwxrwxr-x. 2 sterling wheel 4.0K Feb 22 2013 plugins
-rw-rw-r--. 1 sterling wheel 44 Feb 22 2013 repository.config
-rw-rw-r--. 1 sterling wheel 4.9K Feb 22 2013 repository.xml
drwxrwxr-x. 2 sterling wheel 4.0K Feb 22 2013 ShareableEntities


Look for the SMCFS_9.2.0.jar or SMCFS_9.2.1.jar file. Depends on the version of the installer, you might found it at foundation/files/SMCFS_9.2.jar or files/SMCFS_9.2.jar. In my case it was just under the files folder.

[sterling@nzhangw510-fed19 9_2]$ find ./9_2_installer -name "SMCFS_9.2*.jar"
./9_2_installer/files/SMCFS_9.2.0.jar

Now follow the SterlingSelling and Fulfillment Suite Installation Guide to prepare your system before starting the installation.

To start the installation, run the following command and you should see the familiar Sterling Installation wizard.

export LANG=en_US
java -Djavataskargs="-XX:MaxPermSize=512m" -Dcomptaskargs="-J-Xms1024m -J-Xmx1664m" -jar ./9_2_installer/files/SMCFS_9.2.0.jar

BTW, you should use Java 1.6 for installation and running of SMCFS 9.2 and 9.2.1. I know some people had success with Java7 but it is not an officially supported Java version as of 2013.

Refer to the InstallSterling Selling and Fulfillment Suite Foundation in text mode article for “silent” installation or installation without UI.