You can enable Storage DRS in your VMware region by editing
the nova compute configuration file on the VMware OpenStack Controller.
To support VMware Storage DRS, set the following properties in
the
[vmware] section in the OpenStack Nova Compute
service configuration file related to VMware, and restart the related
OpenStack Nova Compute service:
datastore_cluster_name = <datastore cluster name>
use_sdrs = True
where
- datastore_cluster_name
- Specifies the name of a VMware datastore cluster (StoragePod name).
The default value is None.
- use_sdrs
- Specifies whether a driver must attempt to call DRS when cloning
a virtual machine template. The default value is False.
Note: This feature is only supported when you deploy
a virtual machine from template.
You can use the following extra specs of the flavor to override
the specified configuration when you deploy new virtual machines:
- vmware:datastore_cluster_name
- Set this key to override the datastore_cluster_name parameter
specified in the Nova Compute service configuration file related to
VMware.
- vmware:use_sdrs
- Set this key to override the use_sdrs parameter
specified in the Nova Compute service configuration file related to
VMware.
To set the extra specs for the flavor, use the
nova
flavor-key command.