After deploying the vRealize Automation and vRealize Orchestrator appliances, set up anti-affinity rules.

About this task

A VM-Host anti-affinity (or affinity) rule specifies a relationship between a group of virtual machines and a group of hosts. Anti-affinity rules force specified virtual machines to remain apart during failover actions, and are a requirement for high availability.

Perform the procedure six times to create six unique anti-affinity rules.

Table 1. Anti-affinity Rules for the Cloud Management Platform 

Name

Type

Members

anti-affinity-rule-vra-svr

Separate Virtual Machines

vra01svr01a.rainpole.local, vra01svr01b.rainpole.local

anti-affinity-rule-vra-iws

Separate Virtual Machines

vra01iws01a.rainpole.local, vra01iws01b.rainpole.local

anti-affinity-rule-vra-ims

Separate Virtual Machines

vra01ims01a.rainpole.local, vra01ims01b.rainpole.local

anti-affinity-rule-vra-dem

Separate Virtual Machines

vra01dem01.rainpole.local, vra01dem02.rainpole.local

anti-affinity-rule-vra-ias

Separate Virtual Machines

vra01ias01.sfo01.rainpole.local, vra01ias02.sfo01.rainpole.local

anti-affinity-rule-vro

Separate Virtual Machines

vra01vro01a.rainpole.local, vra01vro01b.rainpole.local

Procedure

  1. Log in to vCenter Server by using the vSphere Web Client.
    1. Open a Web browser and go to https://mgmt01vc01.sfo01.rainpole.local/vsphere-client.
    2. Log in using the following credentials.

      Setting

      Value

      User name

      administrator@vsphere.local

      Password

      vsphere_admin_password

  2. From the Home page, click Hosts and Clusters.
  3. Under mgmt01vc01.sfo01.rainpole.local, click SFO01, and click SFO01-Mgmt01.
  4. Click the Configure tab, and under Configuration, select VM/Host Rules.
  5. Under VM/Host Rules, click Add to create a virtual machine anti-affinity rule.
  6. In the Create VM/Host Rule dialog box, specify the first rule for the vRealize Automation virtual appliances.
    1. In the Name text box, enter anti-affinity-rule-vra-svr.
    2. Select the Enable rule check box.
    3. Select Separate Virtual Machines from the Type drop-down menu.
    4. Click Add, select the vra01svr01a.rainpole.local and vra01svr01b.rainpole.local virtual machines, click OK, and click OK.
  7. Repeat the procedure to configure the remaining anti-affinity rules.