This document will install websphere+http server+plugin.
And work for develop enviroment only ,because we will ignore OS check when installation
Media name |
Descritpion |
|
1 |
WAS.V6.1.Linux.X86.tar.gz |
IBM WebSphere 6.1 |
2 |
ihs.6100.linux.ia32.tar |
IBM HTTP Server 6.1 |
3 |
7.0.0 .5-WS-UPDI-LinuxIA32.tar.gz |
UpdateInstaller 7.0 |
4 |
WAS.V6.1.Supplements.Linux.X86.tar.gz |
HTTP Server+Plugin |
Path |
Descritipn |
|
1 |
6.1.0 -WS-WASSDK-LinuxX32-FP0000027.pak |
IBM WebSphere 6.1 patch |
2 |
6.1.0 -WS-WAS-LinuxX32-FP0000027.pak |
IBM WebSphere 6.1 patch |
3 |
6.1.0 -WS-IHS-LinuxX32-FP0000027.pak |
IBM HTTP Server 6.1 path |
4 |
6.1.0 -WS-PLG-LinuxX32-FP0000027.pak |
Plugin path |
5 |
6.1.0 -WS-AppClient-LinuxX32-FP0000027.pak |
1. Prepare:
mkdir -p /cpic/jtsx/IBM/WebSphere/AppServer
vi /cpic/jtsx/WAS/responsefile.nd.txt
-OPT silentInstallLicenseAcceptance="true"
-OPT allowNonRootSilentInstall="true"
-OPT disableOSPrereqChecking="true"
-OPT disableNonBlockingPrereqChecking="true"
#-OPT installType="installNew"
-OPT createProfile="false"
Excute below comman when on RHL5.0 OS , otherwise you will get error like
Error loading: /Software/IBM/WAS/6.1/Linux/x86-32bit/Release/WAS/JDK/jre.pak/repository/package.java.jre/java/jre/bin/libj9thr23.so: cannot restore segment prot after reloc: Permission denied
export PATH=/cpic/jtsx/JDK/jre.pak/repository/package.java.jre/java/jre/bin:$PATH
cd /cpic/jtsx/JDK/jre.pak/repository/package.java.jre/java/jre/bin
chcon -t texrel_shlib_t *.so
chcon -t texrel_shlib_t xawt/*.so
chcon -t texrel_shlib_t j9vm/*.so
Install WAS
cd <media_location>
java �Cjar setup.jar �Coptions reponsefile.nd.txt -silent
Check log:
/cpic/jtsx/IBM/WebSphere/AppServer/logs/install/ log.txt
Prepare
mkdir -p /cpic/jtsx/IBM/HTTPServer
vi /cpic/jtsx/IHS_ 6.1.0 .0/IHS/responsefile.txt
-OPT silentInstallLicenseAcceptance="true"
-OPT allowNonRootSilentInstall=true
-OPT disableOSPrereqChecking="true"
-OPT installLocation="/cpic/jtsx/IBM/HTTPServer"
-OPT createAdminUserGroup=false
Excute below comman when on RHL5.0 OS , otherwise you will get error like
Error loading: /Software/IBM/WAS/6.1/Linux/x86-32bit/Release/WAS/JDK/jre.pak/repository/package.java.jre/java/jre/bin/libj9thr23.so: cannot restore segment prot after reloc: Permission denied
export PATH=/cpic/jtsx/IHS_ 6.1.0 .0/JDK/jre.pak/repository/package.java.jre/java/jre/bin:$PATH
cd /cpic/jtsx/IHS_ 6.1.0 .0/JDK/jre.pak/repository/package.java.jre/java/jre/bin
chcon -t texrel_shlib_t *.so
chcon -t texrel_shlib_t xawt/*.so
chcon -t texrel_shlib_t j9vm/*.so
Install http server
cd <media_location>
java -jar setup.jar -options responsefile.txt �Csilent
check log
/cpic/jtsx/IBM/HTTPServer/logs/install/log.txt
Prepare
export PATH=/cpic/jtsx/was/JDK/jre.pak/repository/package.java.jre/java/jre/bin:$PATH
mkdir -p /cpic/jtsx/IBM/WebSphere/UpdateInstaller
vi /cpic/jtsx/was/UpdateInstaller/ responsefile.updiinstaller.txt
-OPT silentInstallLicenseAcceptance="true"
-OPT allowNonRootSilentInstall="true"
-OPT disableOSPrereqChecking="true"
-OPT disableEarlyPrereqChecking="true"
-OPT installLocation="/cpic/jtsx/IBM/WebSphere/UpdateInstaller"
Install UpdateInstaller
cd <media_location>
java -jar setup.jar -options responsefile.updiinstaller.txt �Csilent
check log
/cpic/jtsx/IBM/WebSphere/UpdateInstaller/logs/install/log.txt
Prepare was sdk path
vi /cpic/jtsx/IBM/WebSphere/UpdateInstaller/responsefiles/install.txt
-W maintenance.package="/cpic/jtsx/ 6.1.0 -WS-WASSDK-LinuxX32-FP0000027.pak"
-W product.location="/cpic/jtsx/IBM/WebSphere/AppServer"
install was sdk path
cd /cpic/jtsx/IBM/WebSphere/UpdateInstaller
./update.sh -options responsefiles/install.txt �Csilent
Check log
/cpic/jtsx/IBM/WebSphere/AppServer/logs/update/ 6.1.0 -WS-WASSDK-LinuxX32-FP0000027.install/updatelog.txt
Prepare was path
vi /cpic/jtsx/IBM/WebSphere/UpdateInstaller/responsefiles/install.txt
-W maintenance.package="/cpic/jtsx/ 6.1.0 -WS-WAS-LinuxX32-FP0000027.pak"
install was path
cd /cpic/jtsx/IBM/WebSphere/UpdateInstaller
./update.sh -options responsefiles/install.txt �Csilent
Check log
/cpic/jtsx/IBM/WebSphere/AppServer/logs/update/ 6.1.0 -WS-WAS-LinuxX32-FP0000027.install/ updatelog.txt
Prepare ihs sdk path
vi /cpic/jtsx/IBM/WebSphere/UpdateInstaller/responsefiles/install.txt
-W maintenance.package="/cpic/jtsx/ 6.1.0 -WS-IHS-LinuxX32-FP0000027.pak"
-W product.location="/cpic/jtsx/IBM/HTTPServer "
install was sdk path
cd /cpic/jtsx/IBM/WebSphere/UpdateInstaller
./update.sh -options responsefiles/install.txt �Csilent
Check log
/cpic/jtsx/IBM/HTTPServer/logs/update/ 6.1.0 -WS-IHS-LinuxX32-FP0000027.install/ updatelog.txt
Excute below comman when on RHL5.0 OS , otherwise you will get error like
Error loading: /Software/IBM/WAS/6.1/Linux/x86-32bit/Release/WAS/JDK/jre.pak/repository/package.java.jre/java/jre/bin/libj9thr23.so: cannot restore segment prot after reloc: Permission denied
export PATH=/cpic/jtsx/was/JDK/jre.pak/repository/package.java.jre/java/jre/bin:$PATH
cd /cpic/jtsx/was/JDK/jre.pak/repository/package.java.jre/java/jre/bin
chcon -t texrel_shlib_t *.so
chcon -t texrel_shlib_t xawt/*.so
chcon -t texrel_shlib_t j9vm/*.so
prepare
vi /cpic/jtsx/was/plugin/responsefile.txt
-OPT allowNonRootSilentInstall="true"
-OPT silentInstallLicenseAcceptance="true"
-OPT installLocation="/cpic/jtsx/IBM/HTTPServer/Plugins"
-OPT wasExistingLocation="/cpic/jtsx/IBM/WebSphere/AppServer"
-OPT webServerConfigFile1="/cpic/jtsx/IBM/HTTPServer/conf/httpd.conf"
mkdir �Cp /cpic/jtsx/IBM/HTTPServer/Plugins
install plugin
cd <media_location>
java -jar setup.jar -options responsefile.txt �Csilent
check log
/cpic/jtsx/IBM/HTTPServer/Plugins/logs/install/log.txt
Prepare plugin path
vi /cpic/jtsx/IBM/WebSphere/UpdateInstaller/responsefiles/install.txt
-W maintenance.package="/cpic/jtsx/ 6.1.0 -WS-IHS-LinuxX32-FP0000027.pak"
-W product.location="/cpic/jtsx/IBM/HTTPServer/Plugins"
install was sdk path
cd /cpic/jtsx/IBM/WebSphere/UpdateInstaller
./update.sh -options responsefiles/install.txt �Csilent
Check log
/cpic/jtsx/IBM/HTTPServer/Plugins/logs/update/ 6.1.0 -WS-PLG-LinuxX32-FP0000027.install/updatelog.txt
Create Node
cd /cpic/jtsx/IBM/WebSphere/AppServer/bin
./manageprofiles.sh -create -profileName DeployNode -profilePath /cpic/jtsx/IBM/WebSphere/AppServer/profiles/DeployNode -templatePath /cpic/jtsx/IBM/WebSphere/AppServer/profileTemplates/dmgr -nodeName DeployNode -cellName DeployNodecell -hostName JTsxwebtest1
startManager.sh �CprofileName DeployNode
login Deploy Management Console
http://10.192.18.119:9060/ibm/console
userid:wasadmin
Create Node
cd /cpic/jtsx/IBM/WebSphere/AppServer/bin
on server 10.192.18.120
./manageprofiles.sh -create -profileName AppSrv01 -profilePath /cpic/jtsx/IBM/WebSphere/AppServer/profiles/AppSrv01 -templatePath /cpic/jtsx/IBM/WebSphere/AppServer/profileTemplates/default -nodeName AppSrv01Node -cellName AppSrv01NodeCell -hostName JTsxwebtest2
./addNode.sh 10.192.18.119 8879
Raise error:
[8/26/10 14:56:41:987 GMT+08:00] 0000000a AdminTool A ADMU0124I: The system clock of the new node (Aug 26, 2010 2:56:41 PM) is
not synchronized with that of the deployment manager (Aug 26, 2010 2:39:00 PM).
[8/26/10 14:56:42:024 GMT+08:00] 0000000a AdminTool A ADMU0125E: Change the clock of the new node to be within 5 minutes of th
e clock of the deployment manager.
[8/26/10 14:56:42:037 GMT+08:00] 0000000a AdminTool A ADMU0027E: An error occurred during federation <null>; rolling back to o
riginal configuration.
date -s "2010-08-26 15:05:00"
ADMU0027E: An error occurred during federation ADMU0036E: The Deployment
Manager cannot lookup by name host JTsxwebtest2 at address
0:0:0:0:0:0:0:1; rolling back to original configuration.
vi /etc/hosts
10.192.18.119 JTsxwebtest1
10.192.18.120 JTsxwebtest2
10.192.18.129 JTsxwebtest3
on server 10.192.18.129
cd /cpic/jtsx/IBM/WebSphere/AppServer/bin
./manageprofiles.sh -create -profileName AppSrv01 -profilePath /cpic/jtsx/IBM/WebSphere/AppServer/profiles/AppSrv01 -templatePath /cpic/jtsx/IBM/WebSphere/AppServer/profileTemplates/default -nodeName AppSrv02Node -cellName AppSrv02NodeCell -hostName JTsxwebtest3
./addNode.sh 10.192.18.119 8879
Raise error:
[8/26/10 14:56:41:987 GMT+08:00] 0000000a AdminTool A ADMU0124I: The system clock of the new node (Aug 26, 2010 2:56:41 PM) is
not synchronized with that of the deployment manager (Aug 26, 2010 2:39:00 PM).
[8/26/10 14:56:42:024 GMT+08:00] 0000000a AdminTool A ADMU0125E: Change the clock of the new node to be within 5 minutes of th
e clock of the deployment manager.
[8/26/10 14:56:42:037 GMT+08:00] 0000000a AdminTool A ADMU0027E: An error occurred during federation <null>; rolling back to o
riginal configuration.
date -s "2010-08-26 15:05:00"
ADMU0027E: An error occurred during federation ADMU0036E: The Deployment
Manager cannot lookup by name host JTsxwebtest2 at address
0:0:0:0:0:0:0:1; rolling back to original configuration.
vi /etc/hosts
10.192.18.119 JTsxwebtest1
10.192.18.120 JTsxwebtest2
10.192.18.129 JTsxwebtest3
./manageprofiles.sh -create -profileName AppSrv01 -profilePath /cpic/jtsx/IBM/WebSphere/AppServer/profiles/AppSrv01 -templatePath /cpic/jtsx/IBM/WebSphere/AppServer/profileTemplates/default -nodeName AppSrv03Node -cellName AppSrv03NodeCell -hostName JTsxwebtest1
./addNode.sh -profileName AppSrv01 10.192.18.119 8879
cd /cpic/jtsx/IBM/HTTPServer/bin
[jtsx@JTsxwebtest2 bin]$ ./apachectl start
httpd: Could not determine the server's fully qualified domain name, using 10.192.18.120 for ServerName
(13)Permission denied: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
[root@JTsxwebtest2 bin]# ./apachectl start