-
Notifications
You must be signed in to change notification settings - Fork 1
/
IBM_WAS_HTTPServer.txt
169 lines (144 loc) · 5.94 KB
/
IBM_WAS_HTTPServer.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
Install WAS7
============
cd /bin
sudo unlink sh
sudo ln -s /bin/bash sh
1. tar -pxvzf C1FW6ML.tar.gz -C /home/karthick/setup/
2. responsefile.base.txt
-OPT allowNonRootSilentInstall="true"
-OPT disableOSPrereqChecking="true"
-OPT disableNonBlockingPrereqChecking="true"
-OPT checkFilePermissions="true"
-OPT profileType="standAlone"
-OPT installType="installNew"
-OPT silentInstallLicenseAcceptance="true"
-OPT feature="noFeature"
-OPT installLocation="/home/karthick/was7/appserver"
-OPT PROF_enableAdminSecurity="true"
-OPT PROF_adminUserName="karthick"
-OPT PROF_adminPassword="wipro@123"
-OPT PROF_profilePath="/home/karthick/was7/appserver/profiles/appsrv01"
-OPT PROF_profileName="appsrv01"
-OPT PROF_isDefault="true"
-OPT PROF_hostName="192.168.179.129"
-OPT PROF_nodeName="node1"
-OPT PROF_cellName="cell1"
-OPT PROF_serverName="server1"
-OPT PROF_defaultPorts="true"
-OPT traceFormat=ALL
-OPT traceLevel=INFO
## Linux Service Creation
-OPT PROF_enableService="false"
#-OPT PROF_serviceUserName="WAS7"
3. ./install -options /home/webspher/responsefile.base.txt -silent ./install -options responsefile.base.txt – is:javaconsole -silent
4. ./install -options "/opt/IBM/WebSphere/silentFiles/myresponsefile.txt" -silent -log # !/opt/IBM/WebSphere/myOptionFiles/log.txt @ALL
4. ./install -is:javaconsole -options responce.text -silent
Or
install -options responce.text -silent -log # !/root/was_install_log.txt @ALL
4. user_home/waslogs
5. /WAS/AppServer/bin $ ./startServer.sh server1 ./stopServer.sh server1
Install ibmhttpserver7
======================
cd /bin
sudo unlink sh
sudo ln -s /bin/bash sh
1. tar xvf ihs.7000.linux.ia32.tar -C /home/karthick/ibmhttpserver7_setup/
2. myresponsefile.txt
-OPT silentInstallLicenseAcceptance="true"
-OPT allowNonRootSilentInstall=true
-OPT installLocation="/home/karthick/ibmhttpserver7"
-OPT createAdminAuth="true"
-OPT adminAuthUser="karthick"
-OPT adminAuthPassword="wipro@123"
-OPT adminAuthPasswordConfirm="wipro@123"
-OPT runSetupAdmin="true"
-OPT createAdminUserGroup=true
-OPT setupAdminUser="karthick"
-OPT setupAdminGroup="karthick"
-OPT installPlugin="true"
-OPT webserverDefinition="webserver01"
-OPT washostname="192.168.179.129"
-OPT disableOSPrereqChecking="true"
-OPT httpPort="80"
-OPT adminPort="8008"
3. /home/karthick/ibmhttpserver7_setup/IHS/./install -options /home/karthick/ibmhttpserver7_setup/myresponsefile.txt -silent
4. vim ibmhttpserver7/conf/httpd.conf
5. chmod –fR 755 /home/karthick/ibmhttpserver7 chown –fR wasuser:wasgroup /home/karthick/ibmhttpserver7
4. adminctl start
Install WAS7 Plugin
===================
cd /bin
sudo unlink sh
sudo ln -s /bin/bash sh
1. tar -xvzf trial_plugins_7000_linux.ia32.tar.gz -C /home/karthick/wasplugin7_setup
2. pluginresponsefile.txt
-OPT allowNonRootSilentInstall="true"
-OPT silentInstallLicenseAcceptance="true"
-OPT disableOSPrereqChecking="true"
-OPT installType="local"
-OPT installLocation="/home/karthick/wasplugin7"
-OPT wasExistingLocation="/home/karthick/was7/appserver"
-OPT webServerSelected="ihs"
-OPT ihsAdminPort="8008"
-OPT ihsAdminUserID="karthick"
-OPT ihsAdminUserGroup="karthick"
-OPT webServerConfigFile1="/home/karthick/ibmhttpserver7/conf/httpd.conf"
#-OPT webServerConfigFile2=""
-OPT webServerPortNumber="80"
#-OPT dominoUserID="notes"
-OPT webServerDefinition="webserver01"
-OPT pluginCfgXmlLocation=""
-OPT wasMachineHostName="192.168.179.129"
-OPT mapWebserverToApplications="true"
-OPT webServerHostName="192.168.179.129"
-OPT profileName="appsrv01"
3. /home/karthick/wasplugin7_setup/plugin/./install -options /home/karthick/wasplugin7_setup/pluginresponsefile.txt -silent
To install WAS7 or IHS7 properly in Ubuntu
------------------------------------------
sudo unlink /bin/sh
sudo ln -s /bin/bash /bin/sh
(or)
sudo dpkg-reconfigure dash
DMGR
----
/opt/IBM/WebSphere/AppServer/profiles/Dmgr01/bin/startServer.sh dmgr -profileName Dmgr01
AppServer
---------
custom profile = Node01
NodeName = karthickNode01
Host name = karthick.com
sudo /opt/IBM/WebSphere/AppServer/bin/startManager.sh -logfile /tmp/wasdeploy/wasdeploy_11_29_2013_184732.log -profileName KarthickDmgr01
sudo /opt/IBM/WebSphere/AppServer/bin/startNode.sh -logfile /tmp/wasdeploy/wasdeploy_11_29_2013_184732.log -profileName KarthickAppSrv01
sudo /opt/IBM/WebSphere/AppServer/bin/startServer.sh server1 -logfile /tmp/wasdeploy/wasdeploy_11_29_2013_184732.log -profileName KarthickAppSrv01
sudo /opt/IBM/WebSphere/AppServer/bin/serverStatus.sh dmgr -logfile /tmp/wasdeploy/wasdeploy_11_29_2013_184732.log -profileName KarthickDmgr01
sudo /opt/IBM/WebSphere/AppServer/bin/serverStatus.sh server1 -logfile /tmp/wasdeploy/wasdeploy_11_29_2013_184732.log -profileName KarthickDmgr01
To update port numbers before you federate
------------------------------------------
ws_ant -propertyfile /tmp/was_props/appserver.props -file /opt/IBM/WebSphere/AppServer/profileTemplates/default/actions/updatePorts.ant
appserver.props
---------------
WAS_HOME=/opt/IBM/WebSphere/AppServer
was.install.root=/opt/IBM/WebSphere/AppServer
profileName=KarthickDmgr01
profilePath=/opt/IBM/WebSphere/AppServer/profiles/KarthickDmgr01
templatePath=/opt/IBM/WebSphere/AppServer/profileTemplates/default
nodeName=karthickCellManager01
cellName=karthickCell01
hostName=karthick
startingPort=60000
Server start/stop commands
==========================
sudo ibmhttpserver7/bin/adminctl start
sudo ibmhttpserver7/bin/adminctl stop
was7/appserver/bin/startServer.sh server1
was7/appserver/bin/stopServer.sh server1
tail -100f /home/karthick/was7/appserver/profiles/appsrv01/logs/server1/startServer.log
tail -100f /home/karthick/was7/appserver/profiles/appsrv01/logs/server1/stopServer.log
IBM HTTP Server Start/Stop (Windows)
------------------------------------
C:\Program Files\IBM\HTTPServer\bin>apache.exe -k install
C:\Program Files\IBM\HTTPServer\bin>apache.exe -k start
C:\Program Files\IBM\HTTPServer\bin>apache.exe -k stop
WAS7 Plugin Configuration
-------------------------
C:\Program Files\IBM\WebSphere\AppServer\bin>configureHomeWebserver.bat