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 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 ...
                    • Error message while performing database backup of Applications Manager

                      While performing a database backup operation of Applications Manager build with Pgsql backend, you may encounter the following error, especially when your database size has grown bigger with a large number of tables.   pg_dump: WARNING: out of shared ...
                    • Why are few database metrics in the Database tab showing empty values in MS SQL monitor?

                      Why are few database metrics in Database tab showing empty values in MS SQL monitor? Before Applications Manager version 13910, We were showing high-level metrics for MS SQL monitor's Database usage from SQL server performance counters. But from ...