Following on from my previous post, I'm intending to document all of the steps required to build out an IBM Connections or IBM WebSphere Portal infrastructure, using command line, shell scripts, response files etc.
So here goes the next step, installing the IBM WebSphere Update Installer ( required to patch IBM HTTP Server, WebSphere Plugin, WebSphere Application Server etc. ).
(a) Download the Update Installer - I'm using the current latest version 7.0.0.23 ( as of May 28, 2012 )
IBM Update Installer V7.0.0.23 for WebSphere Software for Linux
(b) Unpack the Update Installer
$ cd /tmp
$ tar xvzf /mnt/Products/Fixes/WAS7/7.0.0.23-WS-UPDI-LinuxAMD64.tar.gz
(c) Amend the response file: -
$ cd /tmp/UpdateInstaller
$ vi responsefile.updiinstaller.txt
-OPT silentInstallLicenseAcceptance="true"
-OPT disableOSPrereqChecking="false"
-OPT installLocation="/opt/IBM/WebSphere/UpdateInstaller"
(d) Install the Update Installer
$ cd /tmp/UpdateInstaller
$ ./install -options /tmp/UpdateInstaller/responsefile.updiinstaller.txt -silent
(e) Wait a bit - just under two minutes in my case
(f) Check the logs for success
$ cat /opt/IBM/WebSphere/UpdateInstaller/logs/install/log.txt
...
(04-Jun-2012 15:20:33), Install, com.ibm.ws.install.ni.ismp.actions.SettleNIFRegistryAction, msg1, Current install/uninstall process is successful. Process type is: install
(04-Jun-2012 15:20:33), Install, com.ibm.ws.install.ni.ismp.actions.SetExitCodeAction, msg1, CWUPI0000I: EXITCODE=0
(04-Jun-2012 15:20:33), Install, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS
...
(g) Prepare the required updates - I'm going to use 7.0.0.19
IBM HTTP Server - 7.0.0-WS-IHS-LinuxX64-FP0000019.pak
WebSphere Plugin - 7.0.0-WS-PLG-LinuxX64-FP0000019.pak
WebSphere Application Server - 7.0.0-WS-WAS-LinuxX64-FP0000019.pak
WebSphere Java SDK - 7.0.0-WS-WASSDK-LinuxX64-FP0000019.pak
WebSphere Java SDK ( 32-bit ) - 7.0.0-WS-WASSDK-LinuxX32-FP0000019.pak
$ cd /opt/IBM/WebSphere/UpdateInstaller/maintenance/
$ cp /mnt/Products/Fixes/WAS7/*FP0000019.pak .
(h) Set up the response file - this time around I'm just going to install the IHS, Plugin and SDK fix packs for IBM HTTP Server
- This results in two response files; one for IHS, and one for the Plugin
- This is because the two components have different installation paths
- Also note that we're using the 32-bit SDK for IHS and the 64-bit SDK for the Plugin
$ cd /opt/IBM/WebSphere/UpdateInstaller/responsefiles
$ vi installIHSFixes.txt
-OPT checkFilePermissions="true"
-W maintenance.package="/opt/IBM/WebSphere/UpdateInstaller/maintenance/7.0.0-WS-IHS-LinuxX64-FP0000019.pak;/opt/IBM/WebSphere/UpdateInstaller/maintenance/7.0.0-WS-WASSDK-LinuxX32-FP0000019.pak"
-OPT disableNonBlockingPrereqChecking="true"
-W product.location="/opt/IBM/HTTPServer/"
-W update.type="install"
$ vi installPluginFix.txt
-OPT checkFilePermissions="true"
-W maintenance.package="/opt/IBM/WebSphere/UpdateInstaller/maintenance/7.0.0-WS-PLG-LinuxX64-FP0000019.pak;/opt/IBM/WebSphere/UpdateInstaller/maintenance/7.0.0-WS-WASSDK-LinuxX64-FP0000019.pak"
-OPT disableNonBlockingPrereqChecking="true"
-W product.location="/opt/IBM/HTTPServer/Plugins"
-W update.type="install"
(i) Check the currently installed versions: -
$ /opt/IBM/HTTPServer/bin/versionInfo.sh
...
Installed Product
--------------------------------------------------------------------------------
Name IBM HTTP Server
Version 7.0.0.0
ID IHS
Build Level sup0833.39
Build Date 8/20/08
Architecture Intel (32 bit)
...
$ /opt/IBM/HTTPServer/Plugins/bin/versionInfo.sh
...
Installed Product
--------------------------------------------------------------------------------
Name Web server plug-ins for IBM WebSphere Application Server
Version 7.0.0.0
ID PLG
Build Level sup0833.39
Build Date 8/20/08
...
$ /opt/IBM/HTTPServer/java/jre/bin/java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxi3260sr2-20080818_01(SR2))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260-20080816_22093 (JIT enabled, AOT enabled)
J9VM - 20080816_022093_lHdSMr
JIT - r9_20080721_1330ifx2
GC - 20080724_AA)
JCL - 20080808_02
$ /opt/IBM/HTTPServer/Plugins/java/jre/bin/java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr2-20080818_01(SR2))
IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460-20080816_22093 (JIT enabled, AOT enabled)
J9VM - 20080816_022093_LHdSMr
JIT - r9_20080721_1330ifx2
GC - 20080724_AA)
JCL - 20080808_02
(j) Install the fix packs
IHS / SDK
$ cd /opt/IBM/WebSphere/UpdateInstaller
$ ./update.sh -options /opt/IBM/WebSphere/UpdateInstaller/responsefiles/installIHSFixes.txt -silent
Plugin
$ cd /opt/IBM/WebSphere/UpdateInstaller
$ ./update.sh -options /opt/IBM/WebSphere/UpdateInstaller/responsefiles/installPluginFix.txt -silent
(k) Wait a while - the two updates took about 4 minutes in total
(l) Check the logs: -
IHS
$ cat /opt/IBM/HTTPServer/logs/update/7.0.0-WS-IHS-LinuxX64-FP0000019.install/updatelog.txt
...
(04-Jun-2012 15:47:15), Install, com.ibm.ws.install.ni.ismp.actions.SettleNIFRegistryAction, msg1, Current install/uninstall process is successful. Process type is: maintenance
(04-Jun-2012 15:47:15), Install, com.ibm.ws.install.ni.ismp.actions.SetExitCodeAction, msg1, CWUPI0000I: EXITCODE=0
(04-Jun-2012 15:47:15), Install, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS
...
SDK
$ cat /opt/IBM/HTTPServer/logs/update/install/updatelog.txt
...
(04-Jun-2012 16:57:20), Install, com.ibm.ws.install.ni.ismp.actions.SettleNIFRegistryAction, msg1, Current install/uninstall process is successful. Process type is: maintenance
(04-Jun-2012 16:57:20), Install, com.ibm.ws.install.ni.ismp.actions.SetExitCodeAction, msg1, CWUPI0000I: EXITCODE=0
(04-Jun-2012 16:57:20), Install, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS
...
Plugin
$ cat /opt/IBM/HTTPServer/Plugins/logs/update/7.0.0-WS-PLG-LinuxX64-FP0000019.install/updatelog.txt
...
(04-Jun-2012 16:22:08), Install, com.ibm.ws.install.ni.ismp.actions.SettleNIFRegistryAction, msg1, Current install/uninstall process is successful. Process type is: maintenance
(04-Jun-2012 16:22:08), Install, com.ibm.ws.install.ni.ismp.actions.SetExitCodeAction, msg1, CWUPI0000I: EXITCODE=0
(04-Jun-2012 16:22:08), Install, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS
...
Plugin SDK
$ cat /opt/IBM/HTTPServer/Plugins/logs/update/7.0.0-WS-WASSDK-LinuxX64-FP0000019.install/updatelog.txt
...
(04-Jun-2012 16:42:02), Install, com.ibm.ws.install.ni.ismp.actions.SettleNIFRegistryAction, msg1, Current install/uninstall process is successful. Process type is: maintenance
(04-Jun-2012 16:42:02), Install, com.ibm.ws.install.ni.ismp.actions.SetExitCodeAction, msg1, CWUPI0000I: EXITCODE=0
(04-Jun-2012 16:42:02), Install, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS
...
(m) Check the versions now
$ /opt/IBM/HTTPServer/bin/versionInfo.sh
...
Installed Product
--------------------------------------------------------------------------------
Name IBM HTTP Server
Version 7.0.0.19
ID IHS
Build Level cf191132.09
Build Date 8/13/11
Architecture Intel (32 bit)
...
$ /opt/IBM/HTTPServer/Plugins/bin/versionInfo.sh
...
Installed Product
--------------------------------------------------------------------------------
Name Web server plug-ins for IBM WebSphere Application Server
Version 7.0.0.19
ID PLG
Build Level cf191132.09
Build Date 8/13/11
Architecture AMD (64 bit)
...
$ /opt/IBM/HTTPServer/java/jre/bin/java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxi3260sr9fp2ifix-20110727_01(SR9 FP2+IV03622))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux x86-32 jvmxi3260sr9-20110712_86803 (JIT enabled, AOT enabled)
J9VM - 20110712_086803
JIT - r9_20101028_17488ifx17
GC - 20101027_AA)
JCL - 20110727_04
$ /opt/IBM/HTTPServer/Plugins/java/jre/bin/java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460sr9fp2ifix-20110727_01(SR9 FP2+IV03622))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux amd64-64 jvmxa6460sr9-20110712_86803 (JIT enabled, AOT enabled)
J9VM - 20110712_086803
JIT - r9_20101028_17488ifx17
GC - 20101027_AA)
JCL - 20110727_04
As ever, the job is a good 'un
No comments:
Post a Comment