NexentaStor5 Driver¶
Nexentastor5 can be used as a storage back end for the OpenStack Shared File System service. Shares in the Shared File System service are mapped 1:1 to Nexentastor5 filesystems. Access is provided via NFS protocol and IP-based authentication.
Network approach¶
L3 connectivity between the storage back end and the host running the Shared File Systems share service should exist.
Requirements¶
NexentaStor 5.x Appliance pre-provisioned and licensed
Pool and parent filesystem configured (this filesystem will contain all manila shares)
Restrictions¶
Only IP share access control is allowed for NFS shares.
Configuration¶
enabled_share_backends = NexentaStor5
Create the new back end configuration section, in this case named
NexentaStor5
:
[NexentaStor5]
share_backend_name = NexentaStor5
driver_handles_share_servers = False
nexenta_folder = manila
share_driver = manila.share.drivers.nexenta.ns5.nexenta_nas.NexentaNasDriver
nexenta_rest_addresses = 10.3.1.1,10.3.1.2
nexenta_nas_host = 10.3.1.10
nexenta_rest_port = 8443
nexenta_pool = pool1
nexenta_nfs = True
nexenta_user = admin
nexenta_password = secret_password
nexenta_thin_provisioning = True
More information can be found at the Nexenta documentation webpage <https://nexenta.github.io>.
Driver options¶
The following table contains the configuration options specific to the share driver.
Configuration option = Default value |
Description |
---|---|
[DEFAULT] |
|
|
(List) One or more comma delimited IP addresses for management communication with NexentaStor appliance. |
|
(Integer) Port to connect to Nexenta REST API server. |
|
(Boolean) Use HTTP secure protocol for NexentaStor management REST API connections. |
|
(String) User name to connect to Nexenta SA. |
|
(String) Password to connect to Nexenta SA. |
|
(String) Pool name on NexentaStor. |
|
(Boolean) Defines whether share over NFS is enabled. |
|
(Boolean) Defines whether the driver should check ssl cert. |
|
(Float) Specifies the time limit (in seconds), within which the connection to NexentaStor management REST API server must be established. |
|
(Float) Specifies the time limit (in seconds), within which NexentaStor management REST API server must send a response. |
|
(Float) Specifies the backoff factor to apply between connection attempts to NexentaStor management REST API server. |
|
(Integer) Specifies the number of times to repeat NexentaStor management REST API call in case of connection errors and NexentaStor appliance EBUSY or ENOENT errors. |
|
(Hostname) Data IP address of Nexenta storage appliance. |
|
(String) Base directory that contains NFS share mount points. |
|
(String) Nexenta share name prefix. |
|
(String) Parent folder on NexentaStor. |
|
(String) Compression value for new ZFS folders. |
|
(Boolean) If True shares will not be space guaranteed and overprovisioning will be enabled. |
|
(Integer) Specifies a suggested block size in for files in a file system. (bytes) |