To resolve this issue, set the hostname prior to the upgrade to vRealize Operations Manager 8.0.
If required, revert back to the snapshots taken before the upgrade attempt to vRealize Operations Manager 8.0, then follow the steps below.
- Log into the Primary node as root via SSH or Console.
- Run the following command to set the hostname:
/opt/vmware/share/vami/vami_set_hostname hostname
Note: Replace hostname with the hostname configure in DNS records for this vRealize Operations Manager node.
Example: /opt/vmware/share/vami/vami_set_hostname MasterNode
- Repeat steps 1-3 on all other nodes, including remote collectors, in the vRealize Operations Manager cluster.
- Run the following command on the Primary node (and Primary Replica node if HA is enabled) to restart the gemfire-locator service:
service vmware-vcops restart gemfire-locator
- Follow How to take a Snapshot of vRealize Operations Manager to take a new snapshot of the vRealize Operations Manager cluster.
- Proceed with the upgrade to vRealize Operations Manager 8.0.