Create DRS Rules
You can create DRS rules to specify virtual machine affinity or anti-affinity.
Procedure
1 Select the cluster in the vSphere Client inventory.
2 Right-Click and select Edit Settings.
3 In the left panel under VMware DRS select Rules.
4 Click Add.
5 In the Virtual Machine Rule dialog box, name the rule.
6 Select one of the options from the pop-up menu:
n
Keep Virtual Machines Together
One virtual machine cannot be part of more than one such rule.
n
Separate Virtual Machines
This type of rule cannot contain more than two virtual machines.
7 Click Add and click OK.
The rule is created.
Edit DRS Rules
You can edit DRS rules.
Procedure
1 Display the cluster in the inventory.
2 Right-click the cluster and select Edit Settings.
The cluster's Settings dialog box appears.
3 In the left pane under VMware DRS, select Rules.
4 Select a rule in the right pane and click Edit.
5 Make changes in the dialog box and click OK.
Disable DRS Rules
You can disable DRS rules.
Procedure
1 Select the cluster in the vSphere Client inventory.
2 Select Edit Settings from the right-click menu.
3 In the left panel, select Rules under VMware DRS.
4 Deselect the check box to the left of the rule and click OK.
What to do next
You can later enable the rule by reselecting the check box.
vSphere Resource Management Guide
52 VMware, Inc.