How can I execute UpdateHostnameandIP.bat/sh ?

How can I execute UpdateHostnameandIP.bat/sh ?

Here are the steps to execute UpdateHostnameandIP.bat/sh:

1) Execute <AppManager_Home>\bin\troubleshooting\UpdateHostaneandIP.bat/sh file.

For example, 
updateHostNameAndIp.bat/sh [Previous HostName/IpAddress] [new HostName/IpAddress] [UpdateHost/UpdateIp]

[Previous HostName/IpAddress]   Previous HostName or IpAddress which is to be changed
[new HostName]                            new HostName or IpAddress    
[UpdateHost/UpdateIp]                  If you want to updatehostname, use option UpdateHost. If you want to update IpAddress, then use option UpdateIp

The oldhostname is the name what is displayed in Applications Manager. This you can find by going to the Monitors details page of any services in the host. The newhostname is the latest name. Also use updateIPaddress for changing ipaddress of server.
2) After executing this, kindly restart the Applications Manager and check whether the hostnames are updated. 

Note

This will change the hostname of the monitors. The displayname of the monitors will not be changed. You can change this by going to Edit Monitor link for the individual monitors.




          • Related Articles

          • How to execute ServerSSHTroubleshoot.bat or sh file ?

            Solution: Execute the file ServerSSHTroubleshoot.bat or sh from the <AppManager_home>\bin\troubleshooting folder (<AppManager_home>\bin in older versions of Applications Manager). Via command Prompt Execute the ServerSSHTroubleshoot.bat or sh file. ...
          • How to execute ServerSSHTroubleshoot.bat or sh file ?

            Execute the file ServerSSHTroubleshoot.bat or sh from the <AppManager_home>\bin\troubleshooting folder (<AppManager_home>\bin in older versions of Applications Manager). Via command Prompt Execute the ServerSSHTroubleshoot.bat or sh file. It will ...
          • How to execute WebsphereMQDebug.bat / WebsphereMQDebug.sh?

            This file is used to check if the connectivity and the Discovery of the Websphere MQ Server is possible from the Applications Manager server.  This standalone program is an excerpt of the same process we use to add the Websphere MQ Server monitor. ...
          • How can I execute the popTest.bat / popTest.sh file?

            This file is used to check if the connectivity and the Discovery of the POP Server is possible from the Applications Manager installed server.  This standalone program is a excerpt of the same process we use to add the POP Server monitor. The usage ...
          • How can I execute a SharePoint.bat / SharePoint.sh file?

            This file is used to check if the connectivity and the Discovery of the Sharepoint Server is possible from the Applications Manager installed server.  This standalone program is a excerpt of the same process we use to add the Sharepoint Server ...