6.5.1

Table Of Contents
3 Under , select VM/Host Groups and click Add.
4 In the Create VM/Host Group dialog box, type a name for the group.
5 Select Host Group from the Type drop down box and click Add.
6 Click the check box next to a host to add it. Continue this process until all desired hosts have been
added.
7 Click OK.
What to do next
Using this host DRS group, you can create a VM-Host anity rule that establishes an anity (or anti-
anity) relationship with an appropriate virtual machine DRS group.
“Create a Virtual Machine DRS Group,” on page 87
“Create a VM-Host Anity Rule,” on page 89
Create a Virtual Machine DRS Group
Anity rules establish an anity (or anti-anity) 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  tab.
3 Under , 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.
What to do next
“Create a Host DRS Group,” on page 86
“Create a VM-Host Anity Rule,” on page 89
“Create a VM-VM Anity Rule,” on page 88
VM-VM Affinity Rules
A VM-VM anity rule species 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 anity or anti-anity between individual
virtual machines that you select.
When an anity rule is created, DRS tries to keep the specied virtual machines together on the same host.
You might want to do this, for example, for performance reasons.
With an anti-anity rule, DRS tries to keep the specied virtual machines apart. You could use such a rule if
you want to guarantee that certain virtual machines are always on dierent 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