Hitachi storage volume driver provides iSCSI and Fibre Channel support for Hitachi storages.
Supported storages:
Required software:
RAID Manager Ver 01-32-03/01 or later for VSP G1000/VSP/HUS VM
Hitachi Storage Navigator Modular 2 (HSNM2) Ver 27.50 or later for HUS 100 Family
Note
HSNM2 needs to be installed under /usr/stonavm
.
Required licenses:
Additionally, the pexpect
package is required.
You need to specify settings as described below. For details about each step,
see the user’s guide of the storage device. Use a storage administrative
software such as Storage Navigator
to set up the storage device so that
LDEVs and host groups can be created and deleted, and LDEVs can be connected
to the server and can be asynchronously copied.
port security
to enable
for the
ports at the storage.Host Group security
or
iSCSI target security
to ON
for the ports at the storage.ON
.Change a parameter of the hfcldd driver and update the initram
file
if Hitachi Gigabit Fibre Channel adaptor is used:
# /opt/hitachi/drivers/hba/hfcmgr -E hfc_rport_lu_scan 1
# dracut -f initramfs-KERNEL_VERSION.img KERNEL_VERSION
# reboot
Create a directory:
# mkdir /var/lock/hbsd
# chown cinder:cinder /var/lock/hbsd
Create volume type
and volume key
.
This example shows that HUS100_SAMPLE is created as volume type
and hus100_backend is registered as volume key
:
$ openstack volume type create HUS100_SAMPLE
$ openstack volume type set --property volume_backend_name=hus100_backend HUS100_SAMPLE
Specify any identical volume type
name and volume key
.
To confirm the created volume type
, please execute the following
command:
$ openstack volume type list --long
Edit the /etc/cinder/cinder.conf
file as follows.
If you use Fibre Channel:
volume_driver = cinder.volume.drivers.hitachi.hbsd_fc.HBSDFCDriver
If you use iSCSI:
volume_driver = cinder.volume.drivers.hitachi.hbsd_iscsi.HBSDISCSIDriver
Also, set volume_backend_name
created by openstack volume type set
command:
volume_backend_name = hus100_backend
This table shows configuration options for Hitachi storage volume driver.
Configuration option = Default value | Description |
---|---|
[DEFAULT] | |
hitachi_add_chap_user = False |
(Boolean) Add CHAP user |
hitachi_async_copy_check_interval = 10 |
(Integer) Interval to check copy asynchronously |
hitachi_auth_method = None |
(String) iSCSI authentication method |
hitachi_auth_password = HBSD-CHAP-password |
(String) iSCSI authentication password |
hitachi_auth_user = HBSD-CHAP-user |
(String) iSCSI authentication username |
hitachi_copy_check_interval = 3 |
(Integer) Interval to check copy |
hitachi_copy_speed = 3 |
(Integer) Copy speed of storage system |
hitachi_default_copy_method = FULL |
(String) Default copy method of storage system |
hitachi_group_range = None |
(String) Range of group number |
hitachi_group_request = False |
(Boolean) Request for creating HostGroup or iSCSI Target |
hitachi_horcm_add_conf = True |
(Boolean) Add to HORCM configuration |
hitachi_horcm_numbers = 200,201 |
(String) Instance numbers for HORCM |
hitachi_horcm_password = None |
(String) Password of storage system for HORCM |
hitachi_horcm_resource_lock_timeout = 600 |
(Integer) Timeout until a resource lock is released, in seconds. The value must be between 0 and 7200. |
hitachi_horcm_user = None |
(String) Username of storage system for HORCM |
hitachi_ldev_range = None |
(String) Range of logical device of storage system |
hitachi_pool_id = None |
(Integer) Pool ID of storage system |
hitachi_serial_number = None |
(String) Serial number of storage system |
hitachi_target_ports = None |
(String) Control port names for HostGroup or iSCSI Target |
hitachi_thin_pool_id = None |
(Integer) Thin pool ID of storage system |
hitachi_unit_name = None |
(String) Name of an array unit |
hitachi_zoning_request = False |
(Boolean) Request for FC Zone creating HostGroup |
Restart the Block Storage service.
When the startup is done, “MSGID0003-I: The storage backend can be used.”
is output into /var/log/cinder/volume.log
as follows:
2014-09-01 10:34:14.169 28734 WARNING cinder.volume.drivers.hitachi.
hbsd_common [req-a0bb70b5-7c3f-422a-a29e-6a55d6508135 None None]
MSGID0003-I: The storage backend can be used. (config_group: hus100_backend)
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.