During the reorganization of a virtual infrastructure you may need to change the hostname in vRealize Operations Manager to fit the new standard name.
The hostname change doesn't impact the normal functionality of vROPS and just requires a little offline.
Change hostname in vRealize Operations Manager
From your preferred browser enter the address of your vROPS Admin Console and log in.
To perform the hostname change, you must take the cluster offline before proceeding. From the main screen click on Take Offline.
After some seconds the Cluster Status is reported as Offline.
Now SSH the vROPS appliance and login as root. To update the hostname run this command:
# $VMWARE_PYTHON_BIN /usr/lib/vmware-vcopssuite/utilities/bin/sethostname.py <NewHostName>
Type reboot the press Enter to reboot the appliance.
# reboot
Login to vRealize Operations Manager Administration and click Bring Online to take the cluster online again.
Wait until the Cluster Status is reported as Online.
Correct the Node Address
Once the hostname has been changed successfully, SSH the vROPS appliance once again and login as root.
Stop the vmware-casa service with the command:
# service vmware-casa stop
Now edit the casa.db.script file with the following command:
# vi /storage/db/casa/webapp/hsqldb/casa.db.script
Scroll down until you find the ip_address item and update the FQDN accordingly. Save the file when done.
Start the vmware-casa service.
# service vmware-casa start
Log into vRealize Operations Manager Administration and check the Node Address. It is now updated with the new FQDN.
Additional info about vRealize Operations Manager can be found at VMware website.