You create a DRS rule to manage the distribution of OpenStack instances in a VM group to a specific host group.
Prerequisites
- Define at least one VM group and at least one host group. See Define VM and Host Groups for Placing OpenStack Instances.
- On the compute cluster, enable DRS and set DRS Automation to Partially automated or Fully automated.
- On the compute cluster, set Power Management to Off.
Procedure
- In the vSphere Client, click the compute cluster and select Configure.
- Under Configuration, click VM/Host Rules.
- Click the Add... button.
- Enter a name for the rule and select the Enable rule option.
- In the Type drop-down menu, select Virtual Machines to Hosts.
- In the VM Group drop-down menu, select the VM group that contains the OpenStack instances you want to place.
- 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.
- 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.