The NetApp NFS configuration for Data ONTAP operating in 7-Mode is an interface from OpenStack to Data ONTAP operating in 7-Mode storage system for provisioning and managing OpenStack volumes on NFS exports provided by the Data ONTAP operating in 7-Mode storage system which can then be accessed using NFS protocol.
The NFS configuration for Data ONTAP operating in 7-Mode is a direct interface from OpenStack Block Storage to the Data ONTAP operating in 7-Mode instance and as such does not require any additional management software to achieve the desired functionality. It uses NetApp ONTAPI to interact with the Data ONTAP operating in 7-Mode storage system.
Configure the volume driver, storage family and
storage protocol to the NetApp unified driver,
Data ONTAP operating in 7-Mode, and NFS
respectively by setting the
volume_driver
,
netapp_storage_family
and
netapp_storage_protocol
options in cinder.conf
as
follows:
volume_driver=cinder.volume.drivers.netapp.common.NetAppDriver netapp_storage_family=ontap_7mode netapp_storage_protocol=nfs netapp_server_hostname=myhostname
netapp_server_port=80
netapp_login=username
netapp_password=password
nfs_shares_config=/etc/cinder/nfs_shares
Configuration option = Default value | Description |
---|---|
[DEFAULT] | |
expiry_thres_minutes = 720 | (IntOpt) This option specifies the threshold for last access time for images in the NFS image cache. When a cache cleaning cycle begins, images in the cache that have not been accessed in the last M minutes, where M is the value of this parameter, will be deleted from the cache to create free space on the NFS share. |
netapp_login = None | (StrOpt) Administrative user account name used to access the storage system or proxy server. |
netapp_password = None | (StrOpt) Password for the administrative user account specified in the netapp_login option. |
netapp_server_hostname = None | (StrOpt) The hostname (or IP address) for the storage system or proxy server. |
netapp_server_port = 80 | (IntOpt) The TCP port to use for communication with the storage system or proxy server. Traditionally, port 80 is used for HTTP and port 443 is used for HTTPS; however, this value should be changed if an alternate port has been configured on the storage system or proxy server. |
netapp_storage_family = ontap_cluster | (StrOpt) The storage family type used on the storage system; valid values are ontap_7mode for using Data ONTAP operating in 7-Mode, ontap_cluster for using clustered Data ONTAP, or eseries for using E-Series. |
netapp_storage_protocol = None | (StrOpt) The storage protocol to be used on the data path with the storage system; valid values are iscsi or nfs. |
netapp_transport_type = http | (StrOpt) The transport protocol used when communicating with the storage system or proxy server. Valid values are http or https. |
thres_avl_size_perc_start = 20 | (IntOpt) If the percentage of available space for an NFS share has dropped below the value specified by this option, the NFS image cache will be cleaned. |
thres_avl_size_perc_stop = 60 | (IntOpt) When the percentage of available space on an NFS share has reached the percentage specified by this option, the driver will stop clearing files from the NFS image cache that have not been accessed in the last M minutes, where M is the value of the expiry_thres_minutes configuration option. |
Note | |
---|---|
Additional NetApp NFS configuration options are shared with the generic NFS driver. These options can be found here: Table 1.22, “Description of configuration options for storage_nfs”. |
Tip | |
---|---|
For more information on these options and other deployment and operational scenarios, visit the OpenStack NetApp community. |