Anti-Affinity rules prevent virtual machines from running on the same host. This helps to maintain redundancy in the event of host failures.


  1. Log in to vCenter Server by using the vSphere Web Client.
    1. Open a Web browser and go to https://lax01m01vc01.lax01.rainpole.local/vsphere-client.
    2. Log in using the following credentials.
      Setting Value
      User name administrator@vsphere.local
      Password vsphere_admin_password
  2. In the Navigator pane, select Hosts and Clusters and expand the lax01m01vc01.lax01.rainpole.local tree.
  3. Select the lax01-m01-mgmt01 cluster and click the Configure tab.
  4. On the Configure page, click VM/Host Rules.
  5. On the VM/Host Rules page, click the Add button to create a new VM/Hosts Rule.
  6. In the Create VM/Host Rule dialog box, enter the following details and click Add.
    Setting Value
    Name anti-affinity-rule-psc
    Enable rule Selected
    Type Separate Virtual Machines
  7. In the Add Rule Member dialog box, select lax01m01psc01 and lax01w01psc01 and click OK.
  8. Click OK to create the rule.