Creating VMs to the host affinity rules

We can create rules that will determine the VM Host DRS placement rules. This is done by creating VMs to the host's affinity rules. The rules determine if a group of VMs can run on a group of chosen ESXi hosts. For instance, VMs in the VMs Group - B can not only be configured to have a placement affinity (must run or should run) with Host Group B, but also have an anti-affinity towards Host Group A. This scenario has been depicted in the following diagram:

Creating VMs to the host affinity rules

Getting ready

The creation of VMs to hosts' affinity rules requires DRS hosts/VMs groups to be created. The DRS groups should list both the Host and VM groups ...

Get VMware vSphere 5.5 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.