Saturday, January 9, 2016

01-IBM-IHS7.0 setup installation and plugin installation-by Srikant S. Ande

01-IBM-IHS7.0 setup installation and plugin installation-by Srikant S. Ande



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 ~]$


[root@WASHOST1 IHS]# id
uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel) context=root:system_r:unconfined_t:s0-s0:c0.c1023
[root@WASHOST1 IHS]#

[root@WASHOST1 IHS]# df -Ph /opt/
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             4.9G  2.5G  2.2G  55% /opt
[root@WASHOST1 IHS]#

[root@WASHOST1 IHS]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
192.168.88.111          WASHOST1 washost1
192.168.88.222          IHSHOST1 IHSHOST1.NGEN.ORG ihshost1 ihshost1.ngen.org
[root@WASHOST1 IHS]#
[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 IHS & plugin


[root@WASHOST1 IHS]# cat /tmp/WAS7-setup/WAS7_LINUX_software_cds/WAS7-Supplemental_1/IHS/ihsresponsefile.txt
-OPT silentInstallLicenseAcceptance="true"
-OPT disableOSPrereqChecking="true"
-OPT installLocation="/opt/IHS"
-OPT httpPort="80"
-OPT adminPort="8008"
-OPT createAdminAuth="true"
-OPT adminAuthUser="ihsadm"
-OPT adminAuthPassword="ihsadm"
-OPT adminAuthPasswordConfirm="ihsadm"
-OPT runSetupAdmin="true"
# If the user ID or Group already exists,
# set createAdminUserGroup to "false".
-OPT createAdminUserGroup="true"
-OPT setupAdminUser="ihs"
-OPT setupAdminGroup="ihs"
# Installation of the WebSphere Plugin
-OPT installPlugin="true"
# Web server Definition Name
-OPT webserverDefinition="IHSHOST1"
# WebSphere Application Server MachineHostName
-OPT washostname="IHSHOST1.NGEN.ORG"
[root@WASHOST1 IHS]#

[root@WASHOST1 package.java.jre]# chmod -R 775 java
[root@WASHOST1 package.java.jre]# ll /tmp/WAS7-setup/WAS7_LINUX_software_cds/WAS7-Supplemental_1/IHS/../JDK/jre.pak/repository/package.java.jre/java/jre/bin/java
-rwxrwxr-x 1 wsadm wsadm 53914 Aug 20  2008 /tmp/WAS7-setup/WAS7_LINUX_software_cds/WAS7-Supplemental_1/IHS/../JDK/jre.pak/repository/package.java.jre/java/jre/bin/java
[root@WASHOST1 package.java.jre]# cd


[root@WASHOST1 ~]# /tmp/WAS7-setup/WAS7_LINUX_software_cds/WAS7-Supplemental_1/IHS/install -options "/tmp/WAS7-setup/WAS7_LINUX_software_cds/WAS7-Supplemental_1/IHS/ihsresponsefile.txt" -silent
[root@WASHOST1 ~]#

**Open another session

[root@IHSHOST1 ihslogs]# pwd
/root/ihslogs
[root@IHSHOST1 ihslogs]# tailf log.txt

After installation file will be moved to another (installation) location - <installLocation>/logs/install/log.txt

<~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~>


3.     Cross verification of IHS setup installation


[root@IHSHOST1 ihslogs]# tail /opt/IHS/logs/install/log.txt
(Apr 25, 2012 9:50:52 PM), Process, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, condition platform: name="Windows .*" version="." arch="."
(Apr 25, 2012 9:50:52 PM), Process, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, target platform: name="Linux" version="2.6.18-164.el5" arch="x86"
(Apr 25, 2012 9:50:52 PM), Process, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, condition platform: name="Windows .*" version="." arch="."
(Apr 25, 2012 9:50:54 PM), Process, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, target platform: name="Linux" version="2.6.18-164.el5" arch="x86"
(Apr 25, 2012 9:50:54 PM), Process, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, condition platform: name="Windows .*" version="." arch="."
(Apr 25, 2012 9:50:54 PM), Process, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, target platform: name="Linux" version="2.6.18-164.el5" arch="x86"
(Apr 25, 2012 9:50:54 PM), Process, com.installshield.wizardx.conditions.PlatformWizardBeanCondition, dbg.platform, condition platform: name="Windows .*" version="." arch="."
(Apr 25, 2012 9:50:54 PM), Process, com.ibm.ws.install.ni.ismp.actions.SettleNIFRegistryAction, msg1, Current install/uninstall process is successful. Process type is: install
(Apr 25, 2012 9:50:54 PM), Process, com.ibm.ws.install.ni.ismp.actions.SetExitCodeAction, msg1, CWUPI0000I: EXITCODE=0
(Apr 25, 2012 9:50:54 PM), Process, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS
[root@IHSHOST1 ihslogs]#


[root@IHSHOST1 ihslogs]# /opt/IHS/bin/installver.sh
 I CWNVU0160I: [ivu] Verifying.
 I CWNVU0170I: [ivu] The installation root directory is /opt/IHS/
 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 52.
 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: 23
 I CWNVU0270I: [ivu] Gathering installation root data.
 I CWNVU0290I: [ivu] Starting the verification for 23 components.
 .
 <in between logs truncated>
 .
 I CWNVU0400I: [ivu] Total issues found : 10
 I CWNVU0340I: [ivu] Done.
[root@IHSHOST1 ihslogs]#

[root@IHSHOST1 ihslogs]# cd /opt/IHS/bin
[root@IHSHOST1 bin]# ./verifyinstallver.sh
 I CWNVU0160I: [ivu] Verifying.
 I CWNVU0170I: [ivu] The installation root directory is /opt/IHS/
 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 52.
 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: 23
 I CWNVU0270I: [ivu] Gathering installation root data.
 I CWNVU0290I: [ivu] Starting the verification for 2 components.

 I CWNVU0470I: [ivu] Starting to analyze: installver
 I CWNVU0480I: [ivu] Done analyzing: installver

 I CWNVU0470I: [ivu] Starting to analyze: installver.bin
 I CWNVU0480I: [ivu] Done analyzing: installver.bin

 I CWNVU0400I: [ivu] Total issues found : 0
 I CWNVU0340I: [ivu] Done.
[root@IHSHOST1 bin]#

[root@IHSHOST1 ~]# /opt/IHS/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 25, 2012 9:54:01 PM GMT+05:30

Installation
--------------------------------------------------------------------------------
Product Directory        /opt/IHS
Version Directory        /opt/IHS/properties/version
DTD Directory            /opt/IHS/properties/version/dtd
Log Directory            /opt/IHS/logs
Backup Directory         /opt/IHS/properties/version/nif/backup
TMP Directory            /tmp

Product List
--------------------------------------------------------------------------------
IHS                      installed

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)

--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------
[root@IHSHOST1 ~]#

<~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~>


4.     Cross verification of plugin setup installation


[root@IHSHOST1 ~]# cd  /opt/IHS/Plugins/bin
[root@IHSHOST1 bin]# ./verifyinstallver.sh
 I CWNVU0160I: [ivu] Verifying.
 I CWNVU0170I: [ivu] The installation root directory is /opt/IHS/Plugins/
 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 36.
 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: 49
 I CWNVU0270I: [ivu] Gathering installation root data.
 I CWNVU0290I: [ivu] Starting the verification for 2 components.

 I CWNVU0470I: [ivu] Starting to analyze: installver
 I CWNVU0480I: [ivu] Done analyzing: installver

 I CWNVU0470I: [ivu] Starting to analyze: installver.bin
 I CWNVU0480I: [ivu] Done analyzing: installver.bin

 I CWNVU0400I: [ivu] Total issues found : 0
 I CWNVU0340I: [ivu] Done.
[root@IHSHOST1 bin]#

[root@IHSHOST1 bin]# /opt/IHS/Plugins/bin/installver.sh
 I CWNVU0160I: [ivu] Verifying.
 I CWNVU0170I: [ivu] The installation root directory is /opt/IHS/Plugins/
 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 36.
 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: 49
 I CWNVU0270I: [ivu] Gathering installation root data.
 I CWNVU0290I: [ivu] Starting the verification for 49 components.

 .
 <In between logs truncated>
 .
 I CWNVU0400I: [ivu] Total issues found : 0
 I CWNVU0340I: [ivu] Done.
[root@IHSHOST1 bin]#

[root@IHSHOST1 bin]# /opt/IHS/Plugins/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 25, 2012 9:55:58 PM GMT+05:30

Installation
--------------------------------------------------------------------------------
Product Directory        /opt/IHS/Plugins
Version Directory        /opt/IHS/Plugins/properties/version
DTD Directory            /opt/IHS/Plugins/properties/version/dtd
Log Directory            /opt/IHS/Plugins/logs
Backup Directory         /opt/IHS/Plugins/properties/version/nif/backup
TMP Directory            /tmp

Product List
--------------------------------------------------------------------------------
PLG                      installed

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
Architecture             Intel (32 bit)

--------------------------------------------------------------------------------
End Installation Status Report
--------------------------------------------------------------------------------
[root@IHSHOST1 bin]#

[root@IHSHOST1 bin]# tail /opt/IHS/Plugins/logs/install/log.txt
(Apr 25, 2012 9:50:51 PM), Process, com.ibm.ws.install.ni.ismp.actions.SettleNIFRegistryAction, msg1, Current install/uninstall process is successful. Process type is: install
(Apr 25, 2012 9:50:51 PM), Process, com.ibm.ws.install.ni.ismp.actions.ISMPLogFileAction, msg1, INSTCONF_MANSTEPS: Manual configuration steps are required before starting the Web server.  Follow the configuration procedure in the roadmap document that is launched at the end of the install.
(Apr 25, 2012 9:50:51 PM), Process, com.ibm.ws.install.ni.ismp.actions.ISMPLogFileAction, msg1, INSTCONF_MANUAL_SCRIPT : Manual configuration script: /opt/IHS/Plugins/bin/configureIHSHOST1.sh
(Apr 25, 2012 9:50:51 PM), Process, com.ibm.ws.install.ni.ismp.actions.ISMPLogFileAction, msg1, WEBSERVER: Web server to configure: : IBM HTTP Server V7
(Apr 25, 2012 9:50:51 PM), Process, com.ibm.ws.install.ni.ismp.actions.ISMPLogFileAction, msg1, WEBSERVER_DEFINITION: Web server definition: : IHSHOST1
(Apr 25, 2012 9:50:51 PM), Process, com.ibm.ws.install.ni.ismp.actions.ISMPLogFileAction, msg1, PLUGIN_CONFIGFILE: Plug-in configuration file: : /opt/IHS/Plugins/config/IHSHOST1/plugin-cfg.xml
(Apr 25, 2012 9:50:51 PM), Process, com.ibm.ws.install.ni.ismp.actions.ISMPLogFileAction, msg1, INSTCONF_COMPLETE :  Installation is complete.
(Apr 25, 2012 9:50:51 PM), Process, com.ibm.ws.install.ni.ismp.actions.ISMPLogFileAction, msg1, ********************************************************************************
(Apr 25, 2012 9:50:51 PM), Process, com.ibm.ws.install.ni.ismp.actions.SetExitCodeAction, msg1, CWUPI0000I: EXITCODE=0
(Apr 25, 2012 9:50:51 PM), Process, com.ibm.ws.install.ni.ismp.actions.ISMPLogSuccessMessageAction, msg1, INSTCONFSUCCESS
[root@IHSHOST1 bin]#

<~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~>


5.     Starting the IHS server and IHS admin process.


[root@IHSHOST1 ~]# /opt/IHS/bin/adminctl start
/opt/IHS/bin/adminctl start: admin http started
[root@IHSHOST1 ~]# /opt/IHS/bin/apachectl start
[root@IHSHOST1 ~]#

[root@IHSHOST1 ~]# ps -ef|grep httpd
root      7997     1  0 21:57 ?        00:00:00 /opt/IHS/bin/httpd -f /opt/IHS/conf/admin.conf
root      7998  7997  0 21:57 ?        00:00:00 /opt/IHS/bin/httpd -f /opt/IHS/conf/admin.conf
ihs       7999  7997  0 21:57 ?        00:00:00 /opt/IHS/bin/httpd -f /opt/IHS/conf/admin.conf
root      8010     1  3 21:57 ?        00:00:00 /opt/IHS/bin/httpd -d /opt/IHS -k start
nobody    8011  8010  0 21:57 ?        00:00:00 /opt/IHS/bin/httpd -d /opt/IHS -k start
nobody    8012  8010  0 21:57 ?        00:00:00 /opt/IHS/bin/httpd -d /opt/IHS -k start
nobody    8013  8010  0 21:57 ?        00:00:00 /opt/IHS/bin/httpd -d /opt/IHS -k start
root      8042  6284  0 21:58 pts/2    00:00:00 grep httpd
[root@IHSHOST1 ~]#

<~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~>


6.     Verifying IHS server.


[root@IHSHOST1 htdocs]# cp index.html index.html.BKP
[root@IHSHOST1 htdocs]#
[root@IHSHOST1 htdocs]# echo "This is sexy if we see this text in elinks" > index.html

[root@IHSHOST1 htdocs]# elinks -dump http://192.168.88.111/index.html
   This is sexy if we see this text in elinks
[root@IHSHOST1 htdocs]# echo $?
0
[root@IHSHOST1 htdocs]#

<~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~><~>


No comments:

Post a Comment