Creating an OpenStack Manila share type
An OpenStack Manila share type is an administrator-defined type of service that is used by the Manila scheduler to make scheduling decisions. OpenStack tenants can list share types and then use them to create new shares.
To create an OpenStack Manila share type
- On the OpenStack controller node, create a share type for va-backend1 and va_backend2.
manila@C4110-R720xd-111045:~/OpenStack$ manila type-create va-backend1 False
To associate the share type to a share backend
- On the OpenStack controller node, associate the share type to a share backend.
manila@C4110-R720xd-111045:~/OpenStack$ manila type-key va-backend1 set driver_handles_share_servers=false share_backend_name=va-share1 manila@C4110-R720xd-111045:~/OpenStack$ manila type-key va-backend2 set driver_handles_share_servers=false share_backend_name=va-share2