When maintaining an environment or network, you might need to assign a different host name to an existing master vRealize Automation appliance.

About this task

In a high availability cluster of vRealize Automation appliances, follow these steps to change the host name of the primary, or master, vRealize Automation appliance node.

Note:

This procedure also applies to standalone vRealize Automation appliance deployments.

Procedure

  1. In DNS, create an additional record with the new master node host name.

    Do not remove the existing DNS record with the old host name yet.

  2. Wait for DNS replication and zone distribution to occur.
  3. Log in as root to the master vRealize Automation appliance management interface.

    https://vrealize-automation-appliance-FQDN:5480

  4. Click the Network tab.
  5. Below the tabs, click Address.
  6. In the Hostname text box, enter the new name in FQDN format.
  7. At the upper right, click Save Settings.
  8. Log in as root to a console session on the master vRealize Automation appliance, and run the following script.

    /usr/lib/vcac/tools/change-hostname/change-hostname.sh old-master-FQDN new-master-FQDN

  9. Log in as root to a console session on all replica vRealize Automation appliances, and run the following command.

    sed -i "s/old-master-FQDN/new-master-FQDN/g" "/etc/haproxy/conf.d/10-psql.cfg" "/etc/haproxy/conf.d/20-vcac.cfg"

  10. Log in as root to the master vRealize Automation appliance management interface.

    https://vrealize-automation-appliance-FQDN:5480

  11. Click the vRA Settings tab.
  12. Below the tabs, click Messaging.
  13. To reconfigure the messaging services with the new name on all nodes, click Reset RabbitMQ Cluster.
  14. Restart the master vRealize Automation appliance.
  15. Restart all replica vRealize Automation appliances, one at a time.
  16. Verify that all authentication connectors are working correctly.
  17. In DNS, remove the existing DNS record with the old master host name.