You can create VM-VM affinity rules in the Cluster Settings dialog box to specify whether selected individual virtual machines should run on the same host or be kept on separate hosts.

1

Right-click the cluster in the inventory and select Edit Settings.

2

In the left pane of the Cluster Settings dialog box under VMware DRS, select Rules.

3

Click Add.

4

In the Virtual Machine Rule dialog box, type a name for the rule.

5

From the Type menu, select either Keep Virtual Machines Together or Separate Virtual Machines.

6

Click Add.

7

Select at least two virtual machines to which the rule will apply and click OK.

8

Click OK to save the rule.