Inspur InStorage family volume driver provides OpenStack Compute instances with access to Inspur Instorage family storage system.
Inspur InStorage storage system can be used with FC or iSCSI connection.
This documentation explains how to configure and connect the block storage nodes to Inspur InStorage family storage system.
This section details the steps required to configure the Inspur InStorage Cinder Driver for single FC or iSCSI backend.
In the cinder.conf
configuration file under the [DEFAULT]
section, set the enabled_backends parameter
with the iSCSI or FC back-end group
For Fibre Channel:
[DEFAULT]
enabled_backends = instorage-fc-1
For iSCSI:
[DEFAULT]
enabled_backends = instorage-iscsi-1
Add a back-end group section for back-end group specified in the enabled_backends parameter
In the newly created back-end group section, set the following configuration options:
For Fibre Channel:
[instorage-fc-1]
# Management IP of Inspur InStorage storage array
san_ip = 10.0.0.10
# Management Port of Inspur InStorage storage array, by default set to 22
san_ssh_port = 22
# Management username of Inspur InStorage storage array
san_login = username
# Management password of Inspur InStorage storage array
san_password = password
# Private key for Inspur InStorage storage array
san_private_key = path/to/the/private/key
# The Pool used to allocated volumes
instorage_mcs_volpool_name = Pool0
# The driver path
volume_driver = cinder.volume.drivers.inspur.instorage.instorage_fc.InStorageMCSFCDriver
# Backend name
volume_backend_name = instorage_fc
For iSCSI:
[instorage-iscsi-1]
# Management IP of Inspur InStorage storage array
san_ip = 10.0.0.10
# Management Port of Inspur InStorage storage array, by default set to 22
san_ssh_port = 22
# Management username of Inspur InStorage storage array
san_login = username
# Management password of Inspur InStorage storage array
san_password = password
# Private key for Inspur InStorage storage array
san_private_key = path/to/the/private/key
# The Pool used to allocated volumes
instorage_mcs_volpool_name = Pool0
# The driver path
volume_driver = cinder.volume.drivers.inspur.instorage.instorage_iscsi.InStorageMCSISCSIDriver
# Backend name
volume_backend_name = instorage_iscsi
Note
When both san_password
and san_private_key
are provide, the driver will use private key prefer to password.
Save the changes to the /etc/cinder/cinder.conf
file and
restart the cinder-volume
service.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.