HP StorageWorks Fabric OS 6.1.1 administrator guide (5697-0235, December 2009)

260 iSCSI Gateway services
5 (Advanced) Create
iSCSI virtual target.
iscsiCfg --create tgt –t
<targetname>
Manual iSCSI VT creation
on page 268
6Add LUNs to the virtual
target.
iscsiCfg --add lun -t
<targetname> \
-w <fcwwn> -l <LUN_map>
7Create discovery
domains. Where
members are iSCSI
components identified
using IQNs.
iscsiCfg --create dd -d
<ddname> \
-m
“<member>,<member>,<member>,..
.”
Creating discovery domains
on page 272
8Create discovery
domain set. Where
members are discovery
domains.
iscsiCfg --create ddset -n
<ddset_name> \
-d “<member>,<member>,...”
Creating and enabling a
discovery domain sets” on
page 272
9 Activate the discovery
domain set.
iscsiCfg --enable ddset –n
<ddset_name
>
Creating and enabling a
discovery domain sets” on
page 272
10 Enter user name and
shared secret for
authentication (CHAP).
(optional)
iscsiCfg --create auth -u
<uname>\
-s <secret>
Setting the user name and
shared secret” on page 273
11 E n a b l e C H A P o n t h e
iSCSI virtual target for
which you want
authentication.
(optional)
iscsiCfg --modify tgt \
–t <target name> –a CHAP
Setting the user name and
shared secret” on page 273
12 Bind specific user names
to iSCSI virtual targets to
control access.
(Optional)
iscsiCfg --addusername tgt \
–t <target name> -u <user name>
Binding user names to an
iSCSI VT” on page 273
13 Commit configuration
(items configured in
steps 4-9).
iscsiCfg --commit all Committing the iSCSI-related
configuration” on page 274
14 Create the iSCSI FC
zone.
zoneCreate “<zonename>”,
“<member>,<member>,..."
Creating an iSCSI FC zone
on page 277
15 A d d i SC S I F C zo n e t o
zone configuration.
cfgAdd cfgname”, “zone1,
zone2
16 E n a b l e zo n e
configuration.
cfgEnable cfgname Creating and enabling a
zoning configuration” on
page 280
17 (Optional) Enable
connection redirection
for load balancing.
iscsiSwCfg --enableconn -s
<slot number>|<all>
Enabling and disabling
connection redirection for
load balancing” on page 258
18 (Optional) Configure
iSNS client.
fosConfig --enable isnsc
isnscCfg --set <slot>/ge<port>
-s <iSNS_server_IP>
isnscCfg --set -m
-s<iSNS_server_IP>
Enabling the iSNS client
service on page 282
Table 70 iSCSI target gateway configuration steps (continued)
Step Command Procedure