How do I update the server name in the database?

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]  [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. 


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?

                      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 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 ...
                    • Exchange Server Monitor - FAQs

                      1. What are the ports used in Exchange Server monitoring? WMI mode: Remote Procedure Call (RPC) (default : 135) WMI uses DCOM for remote communication. The server monitored by Applications Manager uses a random port number above 1024 by default to ...
                    • Why are a few database metrics in the Database tab showing empty values in the MS SQL monitor?

                      Before Applications Manager version 13910, we displayed high-level metrics for the MS SQL monitor’s database usage using SQL Server performance counters. From version 13910 onwards, we fetch detailed database-level metrics. As a result, some metrics ...