02-IBM-WAS7.0 setup installation and FP upgrade-by Srikant S. Ande
1. Lab setup info
2. Installation of WAS7
3. Apply FP21
3.1 Before applying FP we need Update
Installer 7.0.0.21 (7.0.0.21 is latest can be used to update FP for any version
of WAS say WAS6 FP41)
3.2 Applying FP 21 for WAS 7.0
In this document I tried to write as less as possible English and concentrated
to include only Information, ‘How to’, commands and its output. I suggest using
Google do read theory from many sites & pdf books.
I am a doer who always believe in
learning & sharing, I am not topic expert but tried to cover my knowledge
in this document so that person like me can use this document and understand
the topic. I am not saying this doc is 100% error proof. If you find any error
or want to share some thing to add or feedback, please write to
Srikant.Ande@Gmail.com
Srikant Ande
1. Lab setup info
[wsadm@WASHOST1 ~]$ arch
i686
[wsadm@WASHOST1 ~]$
[wsadm@WASHOST1 ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.4 (Tikanga)
[wsadm@WASHOST1 ~]$
[wsadm@WASHOST1 ~]$ uname -a
Linux WASHOST1 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT
2009 i686 i686 i386 GNU/Linux
[wsadm@WASHOST1 ~]$
[wsadm@WASHOST1 ~]$ id
uid=500(wsadm) gid=500(wsadm) groups=500(wsadm)
context=user_u:system_r:unconfined_t:s0
[wsadm@WASHOST1 ~]$
[wsadm@WASHOST1 ~]$ df -Ph /opt/
Filesystem
Size Used Avail Use% Mounted on
/dev/sda2
4.9G 139M 4.5G
3% /opt
[wsadm@WASHOST1 ~]$
[wsadm@WASHOST1 ~]$ ls -rlth /opt
total 32K
drwx------ 2 root
root 16K Apr 14 01:50 lost+found
drwxr-xr-x 2 wsadm wsadm 4.0K Apr 14 21:04 IHS
drwxr-xr-x 2 wsadm wsadm 4.0K Apr 14 21:05 WAS70
[wsadm@WASHOST1 ~]$
[wsadm@WASHOST1 ~]$ hostname
WASHOST1
[wsadm@WASHOST1 ~]$
[wsadm@WASHOST1 ~]$ ping -c2 `hostname`
PING WASHOST1 (192.168.123.111) 56(84) bytes of data.
64 bytes from WASHOST1 (192.168.123.111): icmp_seq=1 ttl=64
time=1.06 ms
64 bytes from WASHOST1 (192.168.123.111): icmp_seq=2 ttl=64
time=0.068 ms
--- WASHOST1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 0.068/0.568/1.069/0.501 ms
[wsadm@WASHOST1 ~]$
<~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~>
2. Installation of WAS7
[wsadm@WASHOST1 ~]$ cd
/tmp/WAS7-setup/WAS7_LINUX_software_cds/WAS7/WAS/
[wsadm@WASHOST1 WAS]$ vi
/tmp/responsefile.txt
-OPT silentInstallLicenseAcceptance="true"
-OPT allowNonRootSilentInstall="true"
-OPT installType="installNew"
-OPT profileType="none"
-OPT feature="noFeature"
-OPT installLocation="/opt/WAS70"
[wsadm@WASHOST1 WAS]$ /tmp/WAS7-setup/WAS7_LINUX_software_cds/WAS7/WAS/install
-options "/tmp/responsefile.txt" -silent
**Open another
session
[wsadm@WASHOST1 waslogs]$ tail
-f /home/wsadm/waslogs/log.txt
After
installation file will be moved to another (installation) location -
<installLocation>/logs/install/log.txt
Cross
verification of setup installation
[wsadm@WASHOST1 ~]$ tail -4
/opt/WAS70/logs/install/log.txt
(Apr 14, 2012 9:49:51 PM), Process,
com.ibm.ws.install.ni.ismp.mediaspanning.InstallNIFMaintenanceMediaSpanning,
msg1, Current install/uninstall process is successful. Process type is: install
(Apr 14, 2012 9:49:51 PM), Process, com.ibm.ws.install.ni.ismp.actions.SettleNIFRegistryAction,
msg1, Current install/uninstall process is successful. Process type is: install
(Apr 14, 2012 9:49:51 PM), Process,
com.ibm.ws.install.ni.ismp.actions.SetExitCodeAction, msg1, CWUPI0000I: EXITCODE=0
(Apr 14, 2012 9:49:51 PM), Process,
com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS
[wsadm@WASHOST1 ~]$
[wsadm@WASHOST1 ~]$ /opt/WAS70/bin/installver.sh
I CWNVU0160I: [ivu]
Verifying.
I CWNVU0170I: [ivu] The
installation root directory is /opt/WAS70/
I CWNVU0300I: [ivu] The
total number of user excluded files found is 0.
I CWNVU0300I: [ivu] The
total number of IBM excluded files found is 160.
I CWNVU0185I: [ivu]
Searching component directory for file listing: files.list
Apr 14, 2012 10:00:42 PM java.util.prefs.FileSystemPreferences$2
run
INFO: Created user preferences directory.
I CWNVU0460I: [ivu] The
utility is running.
I CWNVU0260I: [ivu] The
total number of components found is: 352
I CWNVU0270I: [ivu]
Gathering installation root data.
I CWNVU0290I: [ivu]
Starting the verification for 352 components.
I CWNVU0470I: [ivu]
Starting to analyze: activity.impl
I CWNVU0480I: [ivu] Done
analyzing: activity.impl
.
<in between logs truncated>
.
I CWNVU0400I: [ivu] Total
issues found : 0
I CWNVU0340I: [ivu] Done.
[wsadm@WASHOST1 ~]$
[wsadm@WASHOST1 tmp]$ /opt/WAS70/bin/versionInfo.sh
WVER0010I: Copyright (c) IBM Corporation 2002, 2005, 2008; All
rights reserved.
WVER0012I: VersionInfo reporter version 1.15.1.26, dated 8/9/08
--------------------------------------------------------------------------------
IBM WebSphere Application Server Product Installation Status
Report
--------------------------------------------------------------------------------
Report at date and time April 14, 2012 10:48:30 PM GMT+05:30
Installation
--------------------------------------------------------------------------------
Product Directory
/opt/WAS70
Version Directory
/opt/WAS70/properties/version
DTD Directory
/opt/WAS70/properties/version/dtd
Log Directory
/opt/WAS70/logs
Backup Directory
/opt/WAS70/properties/version/nif/backup
TMP Directory
/tmp
Product List
--------------------------------------------------------------------------------
ND installed
Installed Product
--------------------------------------------------------------------------------
Name
IBM WebSphere Application Server - ND
Version
7.0.0.0
ID
ND
Build Level
r0835.03
Build Date
8/31/08
Architecture
Intel (32 bit)
--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------
[wsadm@WASHOST1 tmp]$
<~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~>
3. Apply FP21
3.1 Before applying FP we need Update
Installer 7.0.0.21 (7.0.0.21 is latest can be used to update FP for any version
of WAS say WAS6 FP41)
Download IBM Update Installer V7.0.0.21 for WebSphere Software for
Linux file "7.0.0.21-WS-UPDI-LinuxIA32.zip" from
http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg24020446
Unzip the file & go to location
[wsadm@WASHOST1 tmp]$ cd
/tmp/UPDI/UpdateInstaller
[wsadm@WASHOST1 UpdateInstaller]$ cp
-v responsefile.updiinstaller.txt responsefile.txt
`responsefile.updiinstaller.txt' -> `responsefile.txt'
[wsadm@WASHOST1 UpdateInstaller]$
[wsadm@WASHOST1 UpdateInstaller]$ vi
responsefile.txt
[wsadm@WASHOST1 UpdateInstaller]$ cat
responsefile.txt|grep -v "#"
-OPT silentInstallLicenseAcceptance="true"
-OPT
allowNonRootSilentInstall="true"
-OPT installLocation="/opt/WAS70/UpdateInstaller"
[wsadm@WASHOST1 UpdateInstaller]$
[wsadm@WASHOST1 UpdateInstaller]$ ./install
-options "/tmp/UPDI/UpdateInstaller/responsefile.txt" -silent
** Open another
session & run the following command to see the running update installer
logs
[wsadm@WASHOST1 ~]$ cd /home/wsadm/updilogs
[wsadm@WASHOST1 updilogs]$ tail
-f log.txt
After
Installation file will be moved to actuall location -
<installLocation>/UpdateInstaller/logs/install/log.txt
Cross
verification of update installer installation
[wsadm@WASHOST1 install]$ tail
-4 /opt/WAS70/UpdateInstaller/logs/install/log.txt
(Apr 14, 2012 10:43:06 PM), Install,
com.ibm.ws.install.ni.ismp.actions.InstallNIFPackage, msg1, Running
configuration command: 90SCreateEmptyUPDIDirs, percent complete: 100%
(Apr 14, 2012 10:43:08 PM), Install,
com.ibm.ws.install.ni.ismp.actions.SettleNIFRegistryAction, msg1, Current
install/uninstall process is successful. Process type is: install
(Apr 14, 2012 10:43:08 PM), Install,
com.ibm.ws.install.ni.ismp.actions.SetExitCodeAction, msg1, CWUPI0000I: EXITCODE=0
(Apr 14, 2012 10:43:08 PM), Install,
com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS
[wsadm@WASHOST1 install]$
[wsadm@WASHOST1 ~]$ /opt/WAS70/UpdateInstaller/bin/installver.sh
I CWNVU0160I: [ivu]
Verifying.
I CWNVU0170I: [ivu] The
installation root directory is /opt/WAS70/UpdateInstaller/
I CWNVU0300I: [ivu] The
total number of user excluded files found is 0.
I CWNVU0300I: [ivu] The
total number of IBM excluded files found is 58.
I CWNVU0185I: [ivu] Searching
component directory for file listing: files.list
I CWNVU0460I: [ivu] The
utility is running.
I CWNVU0260I: [ivu] The
total number of components found is: 17
I CWNVU0270I: [ivu]
Gathering installation root data.
I CWNVU0290I: [ivu]
Starting the verification for 17 components.
I CWNVU0470I: [ivu]
Starting to analyze: image.updi
I CWNVU0480I: [ivu] Done
analyzing: image.updi
.
<in between logs truncated>
.
I CWNVU0400I: [ivu] Total
issues found : 0
I CWNVU0340I: [ivu] Done.
[wsadm@WASHOST1 ~]$
..............................................................................................................................................................................................................................................
3.2 Applying FP 21 for WAS 7.0
Download IBM FP V7.0.0.21 for WebSphere Software for Linux file
"7.0.0-WS-WAS-LinuxX32-FP0000021.pak" from
http://www-01.ibm.com/support/docview.wss?uid=swg24031366
[wsadm@WASHOST1 ~]$ mv -v
/tmp/7.0.0-WS-WAS-LinuxX32-FP0000021.pak /opt/WAS70/UpdateInstaller/maintenance/
`/tmp/7.0.0-WS-WAS-LinuxX32-FP0000021.pak' ->
`/opt/WAS70/UpdateInstaller/maintenance/7.0.0-WS-WAS-LinuxX32-FP0000021.pak'
removed `/tmp/7.0.0-WS-WAS-LinuxX32-FP0000021.pak'
[wsadm@WASHOST1 ~]$ ls -lrth
/opt/WAS70/UpdateInstaller/maintenance/7.0.0-WS-WAS-LinuxX32-FP0000021.pak
-rw-rw-r-- 1 wsadm wsadm 672M Apr 13 20:31
/opt/WAS70/UpdateInstaller/maintenance/7.0.0-WS-WAS-LinuxX32-FP0000021.pak
[wsadm@WASHOST1 ~]$
[wsadm@WASHOST1 ~]$ cd
/opt/WAS70/UpdateInstaller
[wsadm@WASHOST1 UpdateInstaller]$ ls
bin docs framework
java lafiles lib
logs maintenance properties
responsefiles uninstall update.jar
update.sh version.txt
[wsadm@WASHOST1 UpdateInstaller]$ cd
responsefiles/
[wsadm@WASHOST1 responsefiles]$ ls
install.txt uninstall.txt
[wsadm@WASHOST1 responsefiles]$ cp
-v install.txt install.FP21.txt
`install.txt' -> `install.FP21.txt'
[wsadm@WASHOST1 responsefiles]$
[wsadm@WASHOST1 responsefiles]$ vi
install.FP21.txt
[wsadm@WASHOST1 responsefiles]$ cat
install.FP21.txt|grep -v "#"
-W
maintenance.package=/opt/WAS70/UpdateInstaller/maintenance/7.0.0-WS-WAS-LinuxX32-FP0000021.pak
-W product.location="/opt/WAS70"
-W update.type="install"
[wsadm@WASHOST1 responsefiles]$
[wsadm@WASHOST1 UpdateInstaller]$ ./update.sh
-options "/opt/WAS70/UpdateInstaller/responsefiles/install.FP21.txt"
-silent
Executing command: /opt/WAS70/UpdateInstaller/java/jre/bin/java
-cp /opt/WAS70/UpdateInstaller/update.jar -Xms48m -Xmx384m run -options
/opt/WAS70/UpdateInstaller/responsefiles/install.FP21.txt -silent
[wsadm@WASHOST1 UpdateInstaller]$
** Open another
session & run the following command to see the running FP21 install logs
[wsadm@WASHOST1 tmp]$ tail -f
/opt/WAS70/UpdateInstaller/logs/tmp/updatelog.txt
After
Installation file will be moved to actuall location -
<installLocation>/logs/update/7.0.0-WS-WAS-LinuxX32-FP0000021.install/updatelog.txt
Cross
verification of FP installation
[wsadm@WASHOST1 ~]$ tail -4
/opt/WAS70/logs/update/7.0.0-WS-WAS-LinuxX32-FP0000021.install/updatelog.txt
(Apr 14, 2012 11:08:14 PM), Install,
com.ibm.ws.install.ni.ismp.actions.InstallNIFMaintenance, msg1, Running
configuration command: 99SupdateProfileIvtApp, percent complete: 100%
(Apr 14, 2012 11:08:32 PM), Install,
com.ibm.ws.install.ni.ismp.actions.SettleNIFRegistryAction, msg1, Current
install/uninstall process is successful. Process type is: maintenance
(Apr 14, 2012 11:08:32 PM), Install,
com.ibm.ws.install.ni.ismp.actions.SetExitCodeAction, msg1, CWUPI0000I: EXITCODE=0
(Apr 14, 2012 11:08:32 PM), Install,
com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS
[wsadm@WASHOST1 ~]$
[wsadm@WASHOST1 ~]$ /opt/WAS70/bin/installver.sh
I CWNVU0160I: [ivu]
Verifying.
I CWNVU0170I: [ivu] The
installation root directory is /opt/WAS70/
I CWNVU0300I: [ivu] The
total number of user excluded files found is 0.
I CWNVU0300I: [ivu] The
total number of IBM excluded files found is 277.
I CWNVU0185I: [ivu]
Searching component directory for file listing: files.list
I CWNVU0460I: [ivu] The
utility is running.
I CWNVU0260I: [ivu] The
total number of components found is: 357
I CWNVU0270I: [ivu]
Gathering installation root data.
I CWNVU0290I: [ivu]
Starting the verification for 357 components.
I CWNVU0470I: [ivu]
Starting to analyze: activity.impl
I CWNVU0480I: [ivu] Done
analyzing: activity.impl
.
<in between logs truncated>
.
I CWNVU0400I: [ivu] Total
issues found : 0
I CWNVU0340I: [ivu] Done.
[wsadm@WASHOST1 ~]$
[wsadm@WASHOST1 ~]$ /opt/WAS70/bin/versionInfo.sh
WVER0010I: Copyright (c) IBM Corporation 2002, 2005, 2008; All
rights reserved.
WVER0012I: VersionInfo reporter version 1.15.5.1, dated 6/15/11
--------------------------------------------------------------------------------
IBM WebSphere Application Server Product Installation Status
Report
--------------------------------------------------------------------------------
Report at date and time April 14, 2012 11:14:18 PM GMT+05:30
Installation
--------------------------------------------------------------------------------
Product Directory
/opt/WAS70
Version Directory
/opt/WAS70/properties/version
DTD Directory
/opt/WAS70/properties/version/dtd
Log Directory
/opt/WAS70/logs
Backup Directory
/opt/WAS70/properties/version/nif/backup
TMP Directory
/tmp
Product List
--------------------------------------------------------------------------------
ND
installed
Installed Product
--------------------------------------------------------------------------------
Name
IBM WebSphere Application Server - ND
Version
7.0.0.21
ID
ND
Build Level
cf211150.04
Build Date
12/14/11
Architecture
Intel (32 bit)
--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------
[wsadm@WASHOST1 ~]$
No comments:
Post a Comment