VMstore Openstack Cinder Driver (NFS)¶
Compatibility Matrix¶
Vmstore version |
CSI driver version |
|---|---|
>=6.0.1.1 |
>=3.0.2 |
Prerequisites¶
Install NFS client:
apt install nfs-common
Installation¶
Configure /etc/cinder/cinder.conf to use the Vmstore cinder driver.
Example configuration:
[DEFAULT]
default_volume_type = vmstore
enabled_backends = vmstore
[vmstore]
volume_driver = cinder.volume.drivers.vmstore.nfs.VmstoreNfsDriver
nas_host = <VMstoreDataIP>
nas_share_path = <VMstoreSharePath> # example: /tintri/cinder
nfs_mount_options = vers=3
vmstore_user = <VMstore_UserName>
vmstore_password = <VMstore_Password>
vmstore_rest_address = <VMstoreAdminIP, or FQDN>
volume_backend_name = vmstore
vmstore_qcow2_volumes = False
Configuration Parameters¶
Configuration Option |
Type |
Default Value |
Required |
Description |
|---|---|---|---|---|
|
String |
- |
yes |
IP address or hostname for management communication with Vmstore REST API interface. |
|
String |
|
no |
Vmstore RESTful API interface protocol. |
|
Integer |
|
no |
Vmstore RESTful API interface port. |
|
String |
- |
yes |
Vmstore data IP for volume mount, IO operations. |
|
String |
|
yes |
Username to connect to Vmstore REST API interface. |
|
String |
- |
yes |
User password to connect to Vmstore RESTful API interface. |
|
Float |
|
no |
Specifies the time limit (in seconds) to establish connection to Vmstore REST API interface. |
|
Float |
|
no |
Specifies the time limit (in seconds) for Vmstore REST API interface to send a response. |
|
Float |
|
no |
Specifies the backoff factor to apply between connection attempts to Vmstore REST API interface. |
|
Int |
|
no |
Specifies the number of times to repeat Vmstore REST API calls in case of connection errors or retriable errors. |
|
Int |
|
no |
Specifies the number of times to repeat Vmstore RESTful API call to cinder/host/refresh in case of connection errors or Vmstore appliance retriable errors. |
|
Boolean |
|
no |
Use qcow2 volumes. |
|
String |
|
no |
Base directory containing NFS share mount points. |
|
Boolean |
|
no |
Defines whether the volumes need to be thin-provisioned. |
|
String |
- |
no |
Human-readable description for the backend. |
|
String |
|
no |
OpenStack region for Vmstore hypervisor refresh call. |
|
String |
- |
no |
OpenStack controller hostname or IP. Used for VMstore hypervisor refresh. If not set, attempts to resolve from Keystone config. |
Creating Volume Types¶
$ openstack volume type create vmstore
$ openstack volume type set --property volume_backend_name=vmstore vmstore