Affinity rules establish an affinity (or anti-affinity) relationship between DRS groups. You must create DRS groups before you can create a rule that links them.

Procedure

  1. Browse to the cluster in the vSphere Web Client navigator.
  2. Click the Manage tab.
  3. Click Settings, and click DRS Groups.
  4. In the DRS Groups section, click Add.
  5. In the Create DRS Group dialog box, type a name for the group.
  6. Select VM DRS Group from the Type drop down box and click Add.
  7. Click the check box next to a virtual machine to add it. Continue this process until all desired virtual machines have been added.
  8. Click OK.

What to do next

Create a host DRS group

Create a VM-Host affinity rule

Create a VM-VM affinity rule