How do I update the server name in the database?

How do I update the server name in the database?

Follow the steps below:

1 )Execute <
AppManager_Home>\bin\troubleshooting\updateHostName.bat file with the old and new hostname as arguments.

For example,

updateHostName.bat  [mysql port]  [previous hostname]  [new hostname] [mysql password]

Where:
[mysql port]                     Mysql port used by applications manager.It is the value of the am.mysql.port (or 
am.db.port) entry mentioned in the AppManager9\conf\AMServer.properties file 
[previous hostname]       The previous or old host name which needs to be changed
[new hostname]              The new hostname
[Password]                      Password for connecting to MySQL.
By default appmanager is the password.

Where 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.

3) 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 do I update the server name in the database?

                      Here is how you can update the server name in the datatbase: 1) Execute <AppManager_Home>\bin\troubleshooting\updateHostName.bat file with the old and new hostname as arguments.  For example: updateHostName.bat  [mysql port]  [previous hostname]  ...
                    • How do I update the server name in the database?

                      Follow the steps below: 1 )Execute <AppManager_Home>\bin\troubleshooting\updateHostName.bat file with the old and new hostname as arguments. For example, updateHostName.bat  [mysql port]  [previous hostname]  [new hostname] [mysql password] Where: ...
                    • How can I update the server IP in the database?

                      Follow these steps to update the server IP in the database: 1) Execute <AppManager_Home>\bin\troubleshooting\UpdateIP.bat file with the old and new hostname as arguments.  For example,  updateIp.bat  [mysql port]  [previous IpAddress]  [new ...
                    • Migrate from Standalone APM server to Plugin server

                      Please note that these steps can be followed only if your OpManager version is 127104 or above. Migration Steps from Standalone Server To Plug-In Server: In the standalone server, go to AppManager\bin directory and run BackupConfig.bat\.sh file to ...
                    • Troubleshooting Bad Request and Internal Server error

                      Bad Request & Internal Server error When the server of URL cannot understand the request it has received it responds with a Bad request or a malformed syntax error message. If there is an error in processing the request received by the server, it ...