This article provides steps to change a node hostname in Aria Operations.
VMware vRealize Operations Manager 7.x
VMware vRealize Operations Manager 6.x
VMware Aria Operations 8.x
root
$VMWARE_PYTHON_BIN /usr/lib/vmware-vcopssuite/utilities/bin/sethostname.py NewHostName
To change the Cloud Proxy hostname in Aria Operations:
1. SSH into the Cloud Proxy as root.
2. Update the hostname by running this command:
$VMWARE_PYTHON_BIN /usr/lib/vmware-vcopssuite/utilities/bin/sethostname.py NewHostName
Where NewHostName
is the hostname you want to use.
3. Restart the node from vCenter.
Note: If the hostname fails to update after a restart, follow Restoring the vApp properties in VMware Aria Operations 8.12 and Below or Restoring vApp properties in VMware Aria Operations 8.14 and Later and try steps 1-3 again.
Additional Information:
If the hostname was used when adding a node to the cluster, the entry needs to be updated in the casa.db.script file: