DRS provides an option to segregate VMs and ESXi hosts into their own groups. The groups are used with VM-Host affinity rules. These rules do not address individual VMs/hosts. These groups are created using the DRS Groups Manager.
The creation of DRS hosts/VMs groups is a prerequisite for the creation of affinity rules. This recipe covers how to create DRS host groups.
This is done on a DRS-enabled ESXi cluster, so make sure that you have access to a vCenter managing the intended DRS cluster.
The following procedure will help you create DRS host groups:
From the vCenter's inventory home, navigate to the Hosts and Clusters view.
Select a cluster, navigate to Manage | Settings | DRS Groups, and click on Add to bring up the Create DRS Group window.
In the Create DRS Group window, supply a name for the group, choose the type as Host DRS Group, and click on the Add button to bring up the Add DRS Group Member window.
In the Add DRS Group Member window...