If you have cloud administrative permissions, you can manage block storage volumes and volume types for users. After you create a volume type, you use a CLI command to associate it with an existing vCenter storage-based policy. The storage policy defines one or more datastores for the volume type to use.
Before you begin
Verify that the storage policy to be associated with the volume type exists. See the vSphere product documentation.
Verify the name of the storage policy. This value is required when you run the CLI command to associate the volume type with the storage policy.
- Log in to the VMware Integrated OpenStack dashboard.
- Select the project from the drop-down menu in the title bar.
The Volumes page lists the volumes that are configured and available to the current user.
- Click the Volume Types tab.
- Click Create Volume Type.
- Enter a name for the volume type.
- Enter a description for the volume type and then click Create Volume Type.
- Associate the volume type with a storage policy.
- Log in to one of the controllers in VMware Integrated OpenStack.
- Run the cinder command to associate the volume type with a storage policy.
cinder type-key name-of-volume-type set vmware:storage_profile=name-of-storage-profile
This example uses the following parameters and settings.
Parameter or Setting
Name of the volume type that you defined when you created the volume type.
Assigns storage policy by the name defined in vSphere.
- (Optional) : If you want to override the default adapter type, associate the volume type with another adapter type.
cinder type-key name-of-volume-type set vmware:adapter_type=name-of-adapter-type
For adapter type, you can select between one of the following values.
Sets the adapter type to LSI Logic
Sets the adapter type to Bus Logic
Sets the adapter type to LSI Logic SAS
Sets the adapter type to VMware Paravirtual SCSI
Sets the adapter type to IDE