The following steps are required to use VM affinity and anti-affinity rules:
- DRS rules are created on the Settings page of a DRS-enabled cluster, as shown in the following screenshot:
DRS rules section for a cluster
- DRS rules can be created for three purposes: to Keep Virtual Machines Together on the same host, to Separate Virtual Machines across different hosts, or to assign Virtual Machines to Hosts, as shown in the following screenshot:
Types of DRS rules