Friday, 21 January 2011

WebSphere Portal Express 7 - Installing silently

I'm not sure if it's just me, but I'm finding that the installation of WebSphere Portal Express on Linux fails when I perform a silent installation using a response file.

The error log ( wpinstalllog.txt ) fails with: -

(21-Jan-2011 10:44:53), PortalExpress.install, com.ibm.wps.install.SilentValidationAction, msg1, Silent Validation Logging: Property was specified: $W(defaults.cdLocation)=/tmp/WPX7/IL-Setup
(21-Jan-2011 10:44:53), PortalExpress.install, com.ibm.wps.install.SilentValidationAction, msg1, Silent Validation Logging: Can't locate CIP path: /tmp/WPX7/IL-Setup/linux/ia32/CIP
(21-Jan-2011 10:44:53), PortalExpress.install, com.ibm.wps.install.SilentValidationAction, msg1, Silent Validation Logging: Look for CDs.
(21-Jan-2011 10:44:53), PortalExpress.install, com.ibm.wps.install.SilentValidationAction, msg1, Silent Validation Logging: Property was specified: $W(defaults.cdLocation)=/tmp/WPX7/IL-Setup
(21-Jan-2011 10:44:53), PortalExpress.install, com.ibm.wps.install.SilentValidationAction, err, Silent Validation Logging: Can't locate media actual location: /tmp/WPX7/IL-Setup/linux/ia32/ifpackage/DISC1/WAS
(21-Jan-2011 10:44:53), PortalExpress.install, com.ibm.wps.install.SilentValidationAction, err, Silent Validation Logging: Can't locate WAS CIP or CD media.
(21-Jan-2011 10:44:53), PortalExpress.install, com.ibm.wps.install.SilentValidationAction, err, Silent Validation Logging: Silent validation failure. Exiting install.

I extract the installation code using the following script: -

mkdir                  /tmp/WPX7
unzip CZLL3ML.zip   -d /tmp/WPX7/IL-Setup
mkdir                  /tmp/WPX7/IL-1
tar xvf CZLP0ML.tar -C /tmp/WPX7/IL-1
unzip CZLR2ML.zip   -d /tmp/WPX7/IL-3
unzip CZLL6ML.zip   -d /tmp/WPX7/IL-4
unzip CZLL9ML.zip   -d /tmp/WPX7/IL-5
unzip CZLM2ML.zip   -d /tmp/WPX7/IL-6

which gives me: -

drwxr-xr-x  8 root   root    4096 2011-01-21 09:50 ./
drwxrwxrwx 35 root   root   12288 2011-01-21 12:23 ../
drwxrwxr-x  3 185101 330209  4096 2010-08-17 15:12 IL-1/
drwxr-xr-x  4 root   root    4096 2011-01-21 09:50 IL-3/
drwxr-xr-x  3 root   root    4096 2011-01-21 09:50 IL-4/
drwxr-xr-x  6 root   root    4096 2011-01-21 09:50 IL-5/
drwxr-xr-x  3 root   root    4096 2011-01-21 09:50 IL-6/
drwxr-xr-x  8 root   root    4096 2011-01-21 11:18 IL-Setup/

and I run the installation from a PortalExpress subdirectory of IL-Setup: -

cd /tmp/WPX7/IL-Setup/PortalExpress
./install.sh -options ../installresponse.txt

This differs to WebSphere Portal Server, where the install.sh script is in the IL-Setup directory.

I've also noticed that, in v7, the response file no longer includes the specific paths to the other installation image directories.

I'm digging further, and will report back when I have an update.

*15 April 2011*

Sorted, thanks to the able assistance of the WebSphere Portal L3 support team. The script that I was using to unpack the code needed to be updated; for WP7, the script now looks like this: -

mkdir                  /tmp/WPX7
unzip CZLL3ML.zip   -d /tmp/WPX7/IL-Setup
tar xvf CZLP0ML.tar -C /tmp/WPX7/IL-Setup
unzip CZLR2ML.zip   -d /tmp/WPX7/IL-Setup
unzip CZLL6ML.zip   -d /tmp/WPX7/IL-Setup
unzip CZLL9ML.zip   -d /tmp/WPX7/IL-Setup
unzip CZLM2ML.zip   -d /tmp/WPX7/IL-Setup

In other words, everything is unpacked into the same location e.g. IL-Setup.

Having done this, the silent installation APPEARS to be working.

Will confirm when it's done :-)

No comments: