You create a DRS rule to manage the distribution of OpenStack instances in a VM group to a specific host group.

Prerequisites

Procedure

  1. In the vSphere Client, click the compute cluster and select Configure.
  2. Under Configuration, click VM/Host Rules.
  3. Click the Add... button.
  4. Enter a name for the rule and select the Enable rule option.
  5. In the Type drop-down menu, select Virtual Machines to Hosts.
  6. In the VM Group drop-down menu, select the VM group that contains the OpenStack instances you want to place.
  7. In the next drop-down menu, select a specification for the rule.
    Option Description
    Must run on hosts in group

    OpenStack instances in the specified VM group must run on hosts in the specified host group.

    Should run on hosts in group

    OpenStack instances in the specified VM group should, but are not required, to run on hosts in the specified host group.

    Must not run on hosts in group

    OpenStack instances in the specified VM group must never run on hosts in the specified host group.

    Should not run on hosts in group

    OpenStack instances in the specified VM group should not, but may, run on hosts in the specified host group.

  8. In the Host Group drop-down menu, select the host group that contains the hosts on which the OpenStack instances will be placed and click OK.

What to do next

Apply VM Group Settings to Image Metadata