Reference: Http://wenku.baidu.com/link?url=E9BkuEjJ16i9lg7l91L0-xhKCYkHV0mAnlwAeSlDCFM4TjZyk4ZVxmUu64BGd4FxE_ gkt2ojzfokvuf56zsxk3frc7nuu7aolc9hiba4ass&qq-pf-to=pcqq.c2c
- Use Netstat–ano|findstr "8080" to see if 8080 is occupied
- In the IHS installation path, modify the conf\httpd.conf to replace all 80 with 8080 3. Launch Apache
- Copy the D:\IBM\HTTPServer\plugins\bin\configurewebserver1.bat into the bin directory of the DM and execute 5. Run D:\IBM\Websphere\Appserver\profiles\Dmgr01\bin\GenpluginCfg.bat
- Modify the "C:\Program Files\ibm\websphere" in the generated configuration file according to the path hint as
"D:\IBM\HTTPServer", replace all.
- Copy this file to D:\IBM\HTTPServer\Plugins\config\webserver1 under 8. Restart Apache
- Enter "host ip:8080" to confirm that IHS is enabled correctly.
This is an online search method, followed, but not done
As a result, he groped for himself and wrote down the key steps as follows:
Linux operating system, WebSphere cluster environment (including IHS+DMGR+APPSRV), change the IHS default port 80 to 8088
1, confirm whether the new port number 8088 is occupied
Command: Netstat-ano | grep 8088
If it is occupied, it only has the port number changed, or the already occupied port number is changed to another
2. Modify the IHS httpd.conf file
Change the 80 port to 8088, restart IHS, then use the new 8088 port to access IHS.
3. Modify Dmgr Virtual host settings
Default_host Add a new port number 8088
4, modify the Dmgr Web server plug-in configuration file Plugin-cfg.xml
Example path:/opt/ibm/websphere/appserver/profiles/dmgr01/config/cells
Virtual host related settings confirm that the new port number is added, the Plugin-cfg.xml file will be updated automatically, it will not need to be modified manually, if not updated, add a new port number
5. Synchronizing the Global Web server plug-in configuration file Plugin-cfg.xml
Operation in the Dmgr console, the Plugin-cfg.xml files in Dmgr, Websever, appsrv are synchronized and updated after the update is synchronized
6. Modify the port number settings for the Web server node in Dmgr
Example path:/opt/ibm/websphere/appserver/profiles/dmgr01/config/cells/localhostcell01/nodes/localhost-node
Modify the port number in Serverindex.xml
7. Verify that plugin-cfg.xml files in webserver, Dmgr, appsrv are all consistent
In order not to appear frightened, it is necessary to verify it. After the confirmation is correct, restart all nodes, including webserver, Dmgr, appsrv
It is important to note that all processes with the keyword httpd are found before the restart
| grep httpd
and kill them all.
kill -9 进程号
Otherwise, after a reboot, the IHS can be accessed using the new port number, but the cluster app is inaccessible
Finally, verify that the application of the cluster is properly accessible, even if it's done.
Some names may not be accurate until the WebSphere cluster is first contacted. Although the use of the online approach has not been successful, but the feeling is essentially the same, mainly to update the existing configuration file.
If you are using the online operation method, you need to delete the existing Web server settings, re-execute configurewebserver1.bat, you need to change the port number from the default of 80 to 8088, otherwise dmgr in the Web server plug-in port number or 80.
Reprint: http://www.cnblogs.com/wenlong/p/4719385.html
WebSphere cluster Environment Modifying the IHS port number method