Create a DRS affinity rule

0 Comments
DRS affinity rules are used in DRS clusters to keep certain VMs together on the same host. You can create them using vSphere Web Client:

1. Select your cluster from the inventory, go to Manage > Settings > DRS Rules, and click the Add button:

2. The Create DRS Rule window opens. Type the name for the rule and choose the rule type. In this example, we will create a rule that will keep two VMs on the same host. Click Add to add the VMs:

add drs rules vms

3. Select the VMs you would like to run on the same host and click OK:

add drs rules same host

4. Click OK to create the rule.

To test the rule, select your DRS cluster from the inventory and go to Monitor > vSphere DRS. Because the VMs we’ve selected during the rule creation are running on different ESXi hosts, DRS recommends to run them on the same host:

drs same host recommendation



You may also like

Aucun commentaire: