This feature allows an operator to add a custom attribute to a shared datastore so that cinder volumes residing in the datastore will not be moved together with their attached VMs.
For a shared datastore to support the functionality associated with this feature, an operator adds a custom attribute, co-migrate, to the datastore. Its value should be no, which is case insensitive. This denotes that cinder volumes will not be moved together with attached VMs. The existing behavior will be assumed with any other values. The configuration can be made at any time.
Procedure
- On vSphere client, choose the datastore view.
- Right-click a datastore.
- Select Tags & Custom Attributes and click on Edit Custom Attributes.
- Enter the attribute and click ADD, followed by OK.