6.2

Table Of Contents
For example, ./pgClusterSetup.sh -d pgCluster.domain.local -w changeMe1! -r
changeMe1! -p changeMe1!
Note If you are using a load balancer virtual IP, specify the -D parameter using the IP address of the
virtual IP.
# ./pgClusterSetup.sh -d dbCluster.domain.local -w changeMe1! -r changeMe1! -p changeMe1!
...
11.) Updating vRealize Automation to utilize database cluster fully qualified domain name
Finished
10 Update the password from ChangeMe! to one that is appropriate for your system.
What to do next
Configure Appliance Database Replication on the Secondary Appliance.
Configure Appliance Database Replication on the
Secondary Appliance
Configure the secondary or failover virtual appliance to support appliance database replication.
Set up database replication on the designated secondary appliance so that the appliance database on the
primary appliance is replicated on the secondary appliance in the case of failover.
Prerequisites
The appliance database is installed and configured as described in vRealize Automation Installation and
Configuration.
Procedure
1 Log in to the virtual appliance as root using SSH with the su - postgres command.
2 Configure replication as the postgres user using the following command.
./run_as_replica -h <Primary Appliance> -b -W -U replicate
Replace the parameters with the following values.
Option Value
[-h] Hostname of the master database server. Port 5432 is assumed.
[-b] Take a base backup from the master. This option destroys the current contents of the data
directory.
System Administration
VMware, Inc. 26