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.