You modify the metadata of a source image to automatically place instances into VM groups. DRS rules then determine the host groups on which these instances will be created.

Prerequisites

Configure a VM group and host group for the compute cluster.

Procedure

  1. Log in to the VMware Integrated OpenStack dashboard as a cloud administrator.
  2. Select the admin project from the drop-down menu in the title bar.
  3. Select Admin > Compute > Images.
  4. Create a new image or choose an existing image.
  5. Click the down arrow next to the flavor that you want to use and select Update Metadata.
  6. In the Available Metadata pane, expand VMware Driver Options and click the Add (plus sign) icon next to DRS VM group.
  7. Enter the desired VM group name as the value of the vmware_vm_group parameter and click Save.

Results

All OpenStack instances generated from this source image will be automatically assigned to the specified VM group and governed by its DRS rules.