Access Appliance iSCSI based Cinder driver
Access Appliance enables its users to use Access Appliance as a storage backend for OpenStack Cinder service. Access Appliance Cinder driver over an iSCSI recently successfully merged in OpenStack for Rocky release. However, the driver has been successfully tested with OpenStack Ocata and Queens releases. You can configure the Access Appliance that is to be used as storage backend for the OpenStack Cinder service over an iSCSI.
To list all the available targets
- To list all the available targets, enter the following:
Target> iscsi target list Target Name Store ================================ ========= iqn.2018-02.com.veritas:target02 target_fs iqn.2018-02.com.veritas:target01 fs1
To list all the target configuration details that need to be configured for OpenStack
- To list all the target configuration details, enter the following:
Openstack> cinder iscsi configure <comma separated target list>
You can obtain all the target configuration details that can be used for OpenStack configuration.
For example:
Openstack> cinder iscsi configure iqn.2018-02.com.veritas:target02
To create a new backend (va-iscsi) in Cinder
- Perform the following changes on the OpenStack controller node and restart the Cinder services.
Add the following configuration entries in the
/etc/cinder/cinder.conffile:In the [DEFAULT] section:
##### enabled_backends = va-iscsi #####
At the end of all sections:
##### [va-iscsi] volume_driver = cinder.volume.drivers.veritas_access.veritas_iscsi.ACCESSIscsiDriver volume_backend_name = ACCESS_ISCSI iscsi_protocol = iscsi reserved_percentage = 0 vrts_iscsi_port = 3260 vrts_lun_sparse = false vrts_target_config = /etc/cinder/vrts_target.xml vrts_server_ip = 10.182.168.90 vrts_port = 14161 vrts_user = <master_user> vrts_pwd = <master_user_password> #####
Replace the following in the
/etc/cinder/vrts_target.xmlfile:##### <?xml version="1.0" ?> <VRTS> <VrtsTargets> <Target> <Name>iqn.2018-02.com.veritas:target02 <PortalIP>10.182.174.189 <Authentication>0 </Target> </VrtsTargets> </VRTS> #####To enable multipathing, make following changes in
nova.conffileIn the [DEFAULT] section: ##### volume_use_multipath = True #####
Note:
If you want to configure new targets, include the previously configured targets in the Openstack> cinder iscsi configure <target_list> command to get the complete configuration details.