NexentaStor Appliance is NAS/SAN software platform designed for building reliable and fast network storage arrays. The NexentaStor is based on the OpenSolaris and uses ZFS as a disk management system. NexentaStor can serve as a storage node for the OpenStack and provide block-level volumes for the virtual servers via iSCSI protocol.
The Nexenta driver allows you to use Nexenta SA to store Nova volumes. Every Nova volume is represented by a single zvol in a predefined Nexenta volume. For every new volume the driver creates a iSCSI target and iSCSI target group that are used to access it from compute hosts.
To use Nova with Nexenta Storage Appliance, you should:
set
volume_driver=nova.volume.nexenta.volume.NexentaDriver.set
--nexenta_hostflag to the hostname or IP of your NexentaStorset
--nexenta_userand--nexenta_passwordto the username and password of the user with all necessary privileges on the appliance, including the access to REST APIset
--nexenta_volumeto the name of the volume on the appliance that you would like to use in Nova, or create a volume namednova(it will be used by default)
Nexenta driver has a lot of tunable flags. Some of them you might want to change:
nexenta_target_prefixdefines the prefix that will be prepended to volume id to form target name on Nexentanexenta_target_group_prefixdefines the prefix for target groupsnexenta_blocksizecan be set to the size of the blocks in newly created zvols on appliance, with the suffix; for example, the default 8K means 8 kilobytesnexenta_sparseis boolean and can be set to use sparse zvols to save space on appliance
Some flags that you might want to keep with the default values:
nexenta_rest_portis the port where Nexenta listens for REST requests (the same port where the NMV works)nexenta_rest_protocolcan be set tohttporhttps, but the default isautowhich makes the driver try to use HTTP and switch to HTTPS in case of failurenexenta_iscsi_target_portal_portis the port to connect to Nexenta over iSCSI

