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.




                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • How to execute runWLSMbean.bat or sh file?

                        Execute the runWLSMbean.bat or sh file from the <AppManager_home>\bin\troubleshooting folder via command prompt or terminal. Eg. ~/Zoho/ManageEngine/ManagedServer/AppManager15/bin/troubleshooting$ ./runWLSMbean.sh It will prompt for the details to ...
                      • 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. The ...
                      • 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 can I execute the GlassFishDebug.bat / GlassFishDebug.sh file?

                        Note: Although the script name mentions GlassFish Server, the script file can be used for troubleshooting any monitor connectivity issues, that comes under JMX mode of monitoring like JMXApplications, Apache Zookeeper, Apache Geronimo etc., This file ...
                      • How to execute SAP Debug script

                        1. Steps to execute troubleshooting script SAPDebug.bat/sh: Open command prompt/terminal with administrator privileges. Navigate to <AppManager_home>\bin\troubleshooting folder. Execute the script file SAPDebug.bat or SAPDebug.sh Usage: SAPDebug.bat  ...