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.

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.

1

Log in to the VMware Integrated OpenStack dashboard.

2

Select the project from the drop-down menu in the title bar.

3

Select Admin > System Panel > Volumes.

The Volumes page lists the volumes that are configured and available to the current user.

4

Click Create Volume Type.

5

Enter a name for the volume type, and click Create Volume Type again.

6

Associate the volume type with a storage policy.

a

Log in to one of the controllers in VMware Integrated OpenStack.

b

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

Description

name-of-volume-type

Name of the volume type that you defined when you created the volume type.

vmware:storage_profile=name-of-storage-profile

Assigns storage policy by the name defined in vSphere.