Sunday, March 31, 2013

Install Sterling Selling and Fulfillment Suite Foundation in text mode

There are cases that users need to install Sterling on a Linux/Unix/AIX machine without X Window. There are usually two different ways that the users don’t have access to the X Window:
  • No display
  • No X Window

No Display


Very often, the *nix system has X Window installed but users don’t have direct access to the system. In this case, the user can still perform a GUI based Sterling installation using X11 forwarding. There are many articles online explain the X11 forwarding. A Google search should yield good examples. http://www.google.com/search?q=x11+forwarding

One of the articles is http://www.math.umn.edu/systems_guide/putty_xwin32.html and it explains how to perform X11 forwarding on a Windows machine.

No X Window


There are cases that the *nix system either doesn’t have X Window installed or does not allow X11 forwarding or the user just tired of using the Sterling Installation Wizard. In those cases, the user can perform the installation using a silent installation file. The syntax of running the Sterling installer with answer file / silent file is (install.response is the response file in this example)

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

* Refer to the article InstallSterling without IBM Installation Manager for how to run the Sterling installer without IBM Installation Manager after Sterling 9.2.

The Sterling Foundation Installation Guide has excellent explanation on the silent installation. For example Sterling 9.2 Foundation Installation Guide’s “UNIX/Linux Silent Install File Parameters” chapter on Page 70 is a good starting point.


If you are running Sterling Foundation Installer directly without IBM Installation Manager, remove the “user.sbx.” prefix from all properties. Here is a response file that I have used for 9.2 and 9.2.1 installation.

JVM_LOC=/opt/sterling/jdk
INSTALL_JAR=/home/nzhang/9_2_installer/files/SMCFS_9.2.0.jar
INSTALL_DIR=/opt/sterling/smcfs920/foundation


# ******************* DATABASE Configuration – Begin ******************

DB_VENDOR=Oracle

# Use the next line for oracle RAC
#ORACLE_JDBC_URL=jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=smcfs92dbrac)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=sterdbrac)))

# Use DB_HOST and DB_PORT for regular oracle connection
DB_HOST=smcfs92db
DB_PORT=1521

DB_USER=SMCFS_920_USER
DB_PASS=SMCFS_920_PASS

# use DB_SCHEMA_OWNER for multi-schema mode
#DB_SCHEMA_OWNER=SMCFS_920_USER

DB_DATA=sterdb

DB_DRIVERS=/home/sterlinguser/storage/oracle_jdbc_lib/ojdbc6.jar

DB_DRIVERS_VERSION=ojdbc6

# ******************* DATABASE Configuration – END ********************

STERLING_FOUNDATION_PRODUCT_LABEL=smcfs

multischema.version=9.2.0
SUPPORT_MULTIBYTE=false
LOAD_FACTORY_SETUP=true

OVERRIDE_LOAD_DEFAULTS_PK_GEN=true
multischema.enabled=false
ADDITIONAL_ANT_COMPILER_TASK_ARGS=-J-Xms256m -J-Xmx1408m
ACCEPT_LICENSE=yes
REINIT_DB=true

DB_CLEAN=false
PRE_INSTALL_LOG_DIR=PreInstallSI.log
multischema.applyddl=true
IC_PORT=9999

COPY_FCXML_TO_REPOSITORY=true

cluster=

STERLING_FOUNDATION_PRODUCT_VERSION=9.2.0

COPYJVM=true

JAVADOC_PRODUCT_LABEL=IBM Sterling Selling And Fulfillment Suite 9.2.0

ADDITIONAL_ANT_JAVA_TASK_ARGS=-XX\:MaxPermSize\=768m



No comments:

Post a Comment