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

About this task

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

Name

Type

Members

anti-affinity-rule-vra-svr

Separate Virtual Machines

vra01svr01a, vra01svr01b

anti-affinity-rule-vra-iws

Separate Virtual Machines

vra01iws01a, vra01iws01b

anti-affinity-rule-vra-ims

Separate Virtual Machines

vra01ims01a, vra01ims01b

anti-affinity-rule-vra-dem

Separate Virtual Machines

vra01dem01a, vra01dem01b

anti-affinity-rule-vra-ias

Separate Virtual Machines

sfo01ias01a, sfo01ias01b

Procedure

  1. Log in to vCenter Server by using the vSphere Web Client.
    1. Open a Web browser and go to https://sfo01m01vc01.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 sfo01m01vc01.sfo01.rainpole.local, click sfo01-m01dc, and click sfo01-m01-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 and vra01svr01b virtual machines, click OK, and click OK.
  7. Repeat the procedure to configure the remaining anti-affinity rules.