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

Procedure

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