WebSphere cluster Environment Modifying the IHS port number method

Source: Internet
Author: User

Reference: Http://wenku.baidu.com/link?url=E9BkuEjJ16i9lg7l91L0-xhKCYkHV0mAnlwAeSlDCFM4TjZyk4ZVxmUu64BGd4FxE_ gkt2ojzfokvuf56zsxk3frc7nuu7aolc9hiba4ass&qq-pf-to=pcqq.c2c

  1. Use Netstat–ano|findstr "8080" to see if 8080 is occupied
  2. In the IHS installation path, modify the conf\httpd.conf to replace all 80 with 8080 3. Launch Apache
  3. 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
  4. Modify the "C:\Program Files\ibm\websphere" in the generated configuration file according to the path hint as
    "D:\IBM\HTTPServer", replace all.
  5. Copy this file to D:\IBM\HTTPServer\Plugins\config\webserver1 under 8. Restart Apache
  6. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.