VM-Host affinity rule

The VM-Host affinity rule allows you to control which hosts in the cluster can run which VMs and requires that at least one VM DRS group and at least one host DRS group are created before managing host affinity rules.

To create a VM-Host affinity rule, proceed as follows:

  1. From vSphere Client, right-click the cluster to configure and select the Settings option.
  2. Under Configuration, select VM/Host group and click on the Add... button to create a VM group and a host group.

 

  1. Specify a name and select from the type drop-down menu the value VM Group. Click the Add... button to add members to this group then click OK to save the configuration.
  2. Repeat steps 2 and 3 to create a host group.
  3. Now, under Configuration, select VM/Host Rules and click the Add... button.
  4. Enter a name and select from the type drop-down menu the value Virtual Machines to Hosts. Specify a VM Group and the rule (for example, Must run on hosts in group), select the host group to associate and click OK to save the rule:
VM-Host affinity rule to specify which hosts in the cluster can run which VM

The options available for the rule can be one of the following:

  • Must run on hosts in groupVMs in the selected VM Group must run on host members of the specified host group
  • Should run on hosts in groupVMs in the VM Group should run on hosts of the specified host group but it is not required
  • Must not run on hosts in groupVMs in the VM Group must never run on host members of the specified host group
  • Should not run on hosts in group: VMs in the VM Group should not, but might, run on hosts of the specified host group
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.184.214