7.2

Table Of Contents
16 Restart each replica node.
17 In DNS, remove the existing DNS record with the old master host name.
Change a Replica vRealize Automation Appliance Host Name
When maintaining an environment or network, you might need to assign a dierent host name to an
existing replica vRealize Automation appliance.
In a high availability cluster of vRealize Automation appliances, follow these steps to change the host name
of a replica vRealize Automation appliance node.
Prerequisites
If the master node host name needs to change, complete that entire procedure rst. See “Change the Master
vRealize Automation Appliance Host Name,” on page 122.
Procedure
1 In DNS, create an additional record with the new replica 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 From a console session as root on the replica vRealize Automation appliance, run the following script.
/usr/lib/vcac/tools/change-hostname/changeHostName-replica.sh new-replica-hostname
4 From a console session as root on the master vRealize Automation appliance, run the following script.
changeHostName-master.sh new-replica-hostname old-replica-hostname
5 Log in as root to the replica vRealize Automation appliance management interface.
hps://vrealize-automation-appliance-FQDN:5480
6 Click Network > Address.
7 In the Hostname text box, enter the new replica host name, and click Save .
8 From a console session as root, update the HAProxy conguration with the new replica host name.
On all vRealize Automation appliances in the cluster, including master and replicas, use a text editor to
replace the old replica host name throughout the les in the following directory.
/etc/haproxy/conf.d
9 Restart the master vRealize Automation appliance.
10 Restart replica vRealize Automation appliances, one at a time.
11 Log in as root to the master vRealize Automation appliance management interface.
12 Click vRA  > Database.
13 Reset any replica nodes that show a Status of N/A.
14 Verify that the Sync State is correct for database replication on each vRealize Automation appliance
node.
15 Click vRA  > Cluster.
16 Use Join Cluster to re-join each replica node to the cluster.
Chapter 5 vRealize Automation Post-Installation Tasks
VMware, Inc. 123