6.0.1

Table Of Contents
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 Host DRS Group from the Type drop down box and click Add.
7 Click the check box next to a host to add it. Continue this process until all desired hosts have been
added.
8 Click OK.
What to do next
Using this host DRS group, you can create a VM-Host affinity rule that establishes an affinity (or anti-
affinity) relationship with an appropriate virtual machine DRS group.
“Create a Virtual Machine DRS Group,” on page 87
“Create a VM-Host Affinity Rule,” on page 89
Create a Virtual Machine DRS Group
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,” on page 86
“Create a VM-Host Affinity Rule,” on page 89
“Create a VM-VM Affinity Rule,” on page 88
VM-VM Affinity Rules
A VM-VM affinity rule specifies whether selected individual virtual machines should run on the same host
or be kept on separate hosts. This type of rule is used to create affinity or anti-affinity between individual
virtual machines that you select.
When an affinity rule is created, DRS tries to keep the specified virtual machines together on the same host.
You might want to do this, for example, for performance reasons.
With an anti-affinity rule, DRS tries to keep the specified virtual machines apart. You could use such a rule if
you want to guarantee that certain virtual machines are always on different physical hosts. In that case, if a
problem occurs with one host, not all virtual machines would be placed at risk.
Chapter 11 Using DRS Clusters to Manage Resources
VMware, Inc. 87