In the vSphere Web Client, create a DRS rule to manage the distribution of OpenStack instances in a VM group to a specific host group.
Procedure
- Log in to the vSphere Web Client.
- Go to the vCenter Hosts and Clusters view and select the Compute cluster configured for the VMware Integrated OpenStack deployment.
- Click the Manage tab, and go to .
- Verify the following settings configuration:
- Click VM/Host Rules.
- Click Add.
- Enter a name for the new rule and select or deselect the Enable rule option to enable or disable the rule.
- From the Type drop-down menu, select Virtual Machines to Hosts.
- From the VM Group drop-down menu, select the VM group that identifies the OpenStack instances you want to place .
- Select the Must run on hosts in group specification. .
- Select a specification for the rule.
Setting |
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 host 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. |
- From the Host Group drop-down menu, select the host group that contains the hosts on which the OpenStack instances will be placed .
- Click OK.
Results
The rule now determines that OpenStack instances in the specified VM group must run on hosts in the specified host group.
What to do next
In the VMware Integrated OpenStack dashboard, you can now modify the metadata for a specific image to ensure that all instances generated from that image are automatically included in the VM group, and therefore subject to the DRS rule.