Atom feed of this document
  
Juno -  Juno -  Juno -  Juno -  Juno -  Juno -  Juno -  Juno - 

 HDS iSCSI volume driver configuration options

These details apply to the XML format configuration file that is read by HDS volume driver. These differentiated service labels are predefined: svc_0, svc_1, svc_2, and svc_3[7]. Each respective service label associates with these parameters and tags:

  1. volume-types: A create_volume call with a certain volume type shall be matched up with this tag. default is special in that any service associated with this type is used to create volume when no other labels match. Other labels are case sensitive and should exactly match. If no configured volume_types match the incoming requested type, an error occurs in volume creation.

  2. HDP, the pool ID associated with the service.

  3. An iSCSI port dedicated to the service.

Typically a OpenStack Block Storage volume instance has only one such service label. For example, any svc_0, svc_1, svc_2, or svc_3 can be associated with it. But any mix of these service labels can be used in the same instance [8].

Table 1.8. Configuration options
Option Type Default Description

mgmt_ip0

Required

Management Port 0 IP address

mgmt_ip1

Required

Management Port 1 IP address

hus_cmd

Optional

hus_cmd is the command used to communicate with the HUS array. If it is not set, the default value is hus-cmd.

username

Optional

Username is required only if secure mode is used

password

Optional

Password is required only if secure mode is used

svc_0, svc_1, svc_2, svc_3

Optional

(at least one label has to be defined)

Service labels: these four predefined names help four different sets of configuration options -- each can specify iSCSI port address, HDP and a unique volume type.

snapshot

Required

A service label which helps specify configuration for snapshots, such as, HDP.

volume_type

Required

volume_type tag is used to match volume type. Default meets any type of volume_type, or if it is not specified. Any other volume_type is selected if exactly matched during create_volume.

iscsi_ip

Required

iSCSI port IP address where volume attaches for this volume type.

hdp

Required

HDP, the pool number where volume, or snapshot should be created.

lun_start

Optional

0

LUN allocation starts at this number.

lun_end

Optional

4096

LUN allocation is up to, but not including, this number.



[7] Each of these four labels has no relative precedence or weight.

[8] The get_volume_stats() always provides the available capacity based on the combined sum of all the HDPs that are used in these services labels.

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page

loading table of contents...