Completed Installation Steps for WAS Version 9


IM Installation:

unzip agent.installer.lnx.gtk.x86_64_1.8.5.zip

./installc -acceptLicense -sVP -installationDirectory /opt/IBM/InstallationManager/eclipse

Verify the Installation Mnager version

/opt/IBM/InstallationManager/eclipse/tools/imcl -version


List the Available Package for WASND & SDK8:

/opt/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /mnt/package/WAS/repository.xml

/opt/IBM/InstallationManager/eclipse/tools/imcl listAvailablePackages -repositories /mnt/package/SDK9/repository.xml


Install WASND9 along with SDK8: Note: With out SDK installation will not be performed.

./imcl install com.ibm.websphere.ND.v90_9.0.0.20160526_1854 com.ibm.java.jdk.v8_8.0.3000.20160623_1418 -repositories /opt/IBM/package/WASND9/,/opt/IBM/package/WASSDK/  -installationDirectory /opt/IBM/WebSphere/AppServer -sVP -sharedResourcesDirectory /opt/IBM/IMShared/ -installFixes recommended -acceptLicense -showProgress


DMGR Profile Creation:

./manageprofiles.sh -create -profileName Dmgr01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/Dmgr01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/dmgr -nodeName dmgrserverNode01 -cellName wasserver01Node01Cell


Managed Profile Creation:

./manageprofiles.sh -create -profileName AppSrv01 -profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv01 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed -nodeName AppServer01Node02 -cellName AppServer01Node02Cell

./manageprofiles.sh -create -profileName AppSrv02 -profilePath /opt/IBM/WebSphere/AppServer/profiles/AppSrv02 -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/managed -nodeName AppServer02Node03 -cellName AppServer02Node03Cell


Adding Node To DMGR:

./addNode.sh dmgrserver 8879


IHS Installation:

/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.IHS.v90_9.0.0.20160526_1854 com.ibm.java.jdk.v8_8.0.3000.20160623_1418 -repositories /opt/IBM/package/IHS,/opt/IBM/package/WASSDK/  -installationDirectory /opt/IBM/HTTPServer/AppWebServer01 -properties user.ihs.httpPort=80 -sVP -sharedResourcesDirectory /opt/IBM/IMShared/ -installFixes recommended -acceptLicense -showProgress


Plugin Installation:

/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.PLG.v90_9.0.0.20160526_1854 com.ibm.java.jdk.v8_8.0.3000.20160623_1418 -repositories /opt/IBM/package/Plugin,/opt/IBM/package/WASSDK  -installationDirectory /opt/IBM/Plugins -sVP -sharedResourcesDirectory /opt/IBM/IMShared/ -installFixes recommended -acceptLicense


WCT Installation:

/opt/IBM/InstallationManager/eclipse/tools/imcl install com.ibm.websphere.WCT.v90_9.0.0.20160526_1854 com.ibm.java.jdk.v8_8.0.3000.20160623_1418 -repositories /opt/IBM/package/WCT,/opt/IBM/package/WASSDK/  -installationDirectory /opt/IBM/WCT -sVP -sharedResourcesDirectory /opt/IBM/IMShared/ -installFixes recommended -acceptLicense


Create WebServer Definition:

1. Create a response file
#cat > web.txt 
configType=remote
enableAdminServerSupport=true
enableUserAndPass=true
enableWinService=false
ihsAdminCreateUserAndGroup=true
ihsAdminPassword=A@n9qzcl
ihsAdminPort=8008
ihsAdminUnixUserGroup=ihsadmin
ihsAdminUnixUserID=ihsadmin
mapWebServerToApplications=true
#profileName=Dmgr01
wasExistingLocation=/opt/IBM/WebSphere/AppServer
wasMachineHostname=10.130.0.5
webServerConfigFile1=/opt/IBM/HTTPServer/AppWebServer01/conf/httpd.conf
webServerDefinition=AppWebServer01
webServerHostName=webserver
webServerOS=Linux
webServerPortNumber=80
webServerSelected=ihs

2. run the below command
./wctcmd.sh -tool pct -importDefinitionLocation -defLocPathname /opt/IBM/Plugins -defLocName AppWebServer01 -response /opt/IBM/WCT/WCT/web.txt

3. Copy the configureSnoopWebServer01.sh To /opt/IBM/WebSphere/AppServer/bin/
cp /opt/IBM/Plugins/bin/configureAppWebServer01.sh /opt/IBM/WebSphere/AppServer/bin/

4. Run the script configureDevWebServer1.sh from /opt/IBM/WebSphere/AppServer/bin/
cd /opt/IBM/WebSphere/AppServer/bin/
./configureAppWebServer01.sh

5. Login to DMGR console and you can see the Webserver now but still you cannot start or stop. 

6. Add the admin password for IHS 
[root@devserver01 bin]# pwd
/opt/IBM/HTTPServer/DevWebServer1/bin
[root@devserver01 bin]# ./htpasswd -c ../conf/admin.passwd ihsadmin
New password:
Re-type new password:
Adding password for user ihsadmin

7. Provide the credential from the WAS Console Web servers > AppWebServer01 > Remote Web server management
ihsadmin
paword



Configure SSL between browser and web server:

1. On web server machine, create directory...
/opt/IBM/HTTPServer/AppWebServer01/conf/ssl

2. Create a self-signed certificate...
cd /opt/IBM/HTTPServer/AppWebServer01/conf/ssl

gsk7cmd -keydb -create -db clientdkey.kdb -pw A@n9qzcl -type cms -expire 360 -stash

gsk7cmd -cert -create -db clientdkey.kdb -pw A@n9qzcl -size 1024 -dn "CN=webserver.y31xbm0ldeiexkxh01jgwaqepc.bx.internal.cloudapp.net,O=Vijayarathinam,OU=IBM HTTP Server,ST=Karnatak,C=IND" -label HTTPCert -default_cert yes -expire 360

3. Edit...
IHS_HOME/conf/httpd.conf
...and add the following lines to the bottom of the file:

LoadModule  ibm_ssl_module   modules/mod_ibm_ssl.so
Listen 443
<VirtualHost  webserver.y31xbm0ldeiexkxh01jgwaqepc.bx.internal.cloudapp.net:443>
    ServerName  webserver.y31xbm0ldeiexkxh01jgwaqepc.bx.internal.cloudapp.net
    DocumentRoot /opt/IBM/HTTPServer/AppWebServer01/htdocs
    SSLEnable
    SSLClientAuth  required
</VirtualHost>
SSLDisable
Keyfile /opt/IBM/HTTPServer/AppWebServer01/conf/ssl/clientdkey.kdb

4. Restart the web server and test your connection using https

Comments

Popular posts from this blog

SSL certificate in WebSphere Application Server

Tomcat Upgrade Steps on Windows.