You can edit an affinity or anti-affinity rule to enable or disable the rule, add or remove virtual machines, change the rule name or the rule preference.


This operation requires the Organization vDC: VM-VM Affinity Edit right. This right is included in the predefined Catalog Author, vApp Author, and Organization Administrator roles.


  1. On the Virtual Datacenters dashboard screen, click the card of the virtual data center you want to explore, and select Affinity Rules from the left panel.
  2. Click the radio button next to the name of the rule that you want to edit and click Edit.
  3. Edit the rule properties.
    1. Change the name of the rule as necessary.
    2. Select whether to enable or disable the rule.
    3. Leave the Required check box selected.
    4. Add more virtual machines or remove virtual machines.
  4. Click Save.