6.7

Table Of Contents
Create VM-VM Anity Rules for MSCS Virtual Machines
For MSCS virtual machines in a cluster, you must create VM-VM affinity or anti-affinity rules. VM-VM
affinity rules specify which virtual machines should be kept together on the same host (for example, a
cluster of MSCS virtual machines on one physical host). VM-VM anti-affinity rules specify which virtual
machines should be kept apart on different physical hosts (for example, a cluster of MSCS virtual
machines across physical hosts).
For a cluster of virtual machines on one physical host, use affinity rules. For a cluster of virtual machines
across physical hosts, use anti-affinity rules.
Note vMotion is supported only for a cluster of virtual machines across physical hosts with pass-through
RDMs. For a cluster of virtual machines on one physical host and a cluster of virtual machines across
physical hosts with non-pass-through RDMs, vMotion is not supported.
Procedure
1 Browse to the cluster in the vSphere Client.
2 Click Configure.
3 Under Configuration, click VM/Host Rules.
4 Click Add.
5 In the Create VM/Host Rule dialog box, type a name for the rule.
6 From the Type drop-down menu, select a rule.
n
For a cluster of virtual machines on one physical host, select Keep Virtual Machines Together.
n
For a cluster of virtual machines across physical hosts, select Separate Virtual Machines.
7 Click Add.
8 Select the two virtual machines to which the rule applies and click OK.
9 Click OK.
Enable Strict Enforcement of Anity Rules (MSCS)
To ensure that affinity and anti-affinity rules are strictly applied, set an advanced option for vSphere DRS.
Setting the advanced option ForceAffinePoweron to 1 will enable strict enforcement of the affinity and
anti-affinity rules that you created.
Procedure
1 Browse to the cluster in the vSphere Client.
2 Click Configure.
3 Under Services, select vSphere DRS and click Edit.
4 Expand Advanced Options and click Add.
Setup for Failover Clustering and Microsoft Cluster Service
VMware, Inc. 33