You can edit an affinity or anti-affinity rule to activate or deactivate 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 Data Center dashboard screen, click the card of the virtual data center you want to explore, and from the left panel, select Affinity Rules.
  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 activate or deactivate the rule.
    3. Leave the Required check box selected.
    4. Add more virtual machines or remove virtual machines.
  4. Click Save.