HP/LeftHand SANs are optimized for virtualized environments with VMware ESX & Microsoft Hyper-V, though the OpenStack integration provides additional support to various other virtualized environments (Xen, KVM, OpenVZ etc) by exposing the volumes via ISCSI to connect to the instances.
The HpSanISCSIDriver allows you to use a HP/Lefthand SAN that supports the Cliq interface. Every supported volume operation translates into a cliq call in the backend.
To use Nova with HP/Lefthand SAN, you should set the
following required parameters in nova.conf:
set
volume_driver=nova.volume.san.HpSanISCSIDriver.set
san_ipflag to the hostname or VIP of your Virtual Storage Appliance (VSA).set
san_loginandsan_passwordto the username and password of the ssh user with all necessary privileges on the appliance.set
san_ssh_port=16022the default is set to 22, but the default for the VSA is usually 16022.set
san_clusternameto the name of the cluster on which the associated volumes will be created.
Some of the optional settings with their default values:
san_thin_provision=Trueset it to False to disable thin provisioning.san_is_local=FalseThis is almost always False for this driver. Setting it to True will try and run the cliq commands locally instead of over ssh.
In addition to configuring the cinder service some pre configuration has to happen on the VSA for proper functioning in an OpenStack environment.
Configure Chap on each of the nova-compute nodes.
Add Server associations on the VSA with the associated Chap and initiator information. Note that the name should correspond to the 'hostname' of the nova-compute node. For Xen this will be the hypervisor hostname. This can either be done through Cliq or the Centralized Management Console.

