Download the workflow and upload to the appliance – then create the user
https://java.net/projects/solaris-userland/sources/gate/show/components/openstack/cinder/files/zfssa
Creating a Volume
Modify cinde.conf – add new volume group with options (below)
Configure multiple-storage back ends
default_volume_type = local_zfs enabled_backends = local_zfs,zfssa [zfs_local] zfs_volume_base=rpool/cinder volume_driver=cinder.volume.drivers.solaris.zfs.ZFSVolumeDriver volume_backend_name = zfs_local [zfssa] iscsi_helper=tgtadm volume_backend_name = zfssa volume_driver = cinder.volume.drivers.zfssa.zfssaiscsi.ZFSSAISCSIDriver san_ip = 10.10.0.238 san_login = zfs_cinder san_password = password zfssa_pool = HP-pool zfssa_project = openstack zfssa_initiator_group = default zfssa_target_portal = 10.10.0.238:3260 zfssa_target_interfaces = vnic8 zfssa_target_group=os-tgt-gpt zfssa_lun_volblocksize=8k zfssa_lun_compression=lzjb zfssa_lun_logbias=latency zfssa_initiator = iqn.1986-03.com.sun:02:1223de4b-21fc-6b74-f16a-ba9d73ad054c zfssa_rest_timeout = 700
Restart cinder volume
svcadm restart svc:/application/openstack/cinder/cinder-volume:setup svc:/application/openstack/cinder/cinder-volume:default
From Horizon, as the admin user, create a zfssa volume type: name zfssa and a volume type zfs_local
Then assoitae the volumes with the volume group
Note: if you have two backends with the same backend name it will be used in round robin
cinder type-key zfs_local set volume_backend_name=zfs_local
cinder type-key zfssa set volume_backend_name=zfssa
Reference
https://blogs.oracle.com/pascal/entry/creating_a_volume_on_the
http://docs.openstack.org/juno/config-reference/content/zfssa-volume-driver.html
Multi backends
http://www.rushiagr.com/blog/2014/01/16/playing-around-with-cinder-multi-backend/
ZFS/NFS driver
http://docs.openstack.org/kilo/config-reference/content/zfssa-nfs-driver.html
For linux
https://blogs.oracle.com/ronen/entry/running_openstack_icehouse_with_zfs
How to remove an errerd volume
https://ask.openstack.org/en/question/1378/cannot-remove-volume/