GAPTHEGURU

Geek with special skills

HA/DRS specific configuration for clustered virtual machines

Affinity/Anti-affinity rules

For virtual machines in a cluster, you must create virtual machine-virtual machine affinity or anti-affinity rules. Virtual machine-virtual machine 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). Virtual machine-virtual machine 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. For more information, see Setup for Failover Clustering and Microsoft Cluster Service .
To set up affinity or anti-affinity rules:
  1. In the vSphere Client, right-click the cluster in the inventory and click Edit Settings.
  2. In the left pane of the Cluster Settings dialog under VMware DRS, select Rules.
  3. Click Add.
  4. In the Rule dialog, enter a name for the rule.
  5. From the Type dropdown, select a rule.
    • For a cluster of virtual machines on one physical host, select Keep Virtual Machines Together.
    • For a cluster of virtual machines across physical hosts, select Separate Virtual Machines.
  6. Click Add.
  7. Select the two virtual machines to which the rule applies and click OK.
  8. Click OK.
Advertisements

11/29/2011 - Posted by | Exchange server, Sql Server, VMware, Windows Server

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: