HP StorageWorks Fabric OS 6.2 administrator guide (5697-0016, May 2009)

Fabric OS 6.2 administrator guide 307
service. Table 74 provides a high-level overview of the commands and links to the sections that detail the
procedures. See the Fabric OS Command Reference for detailed information on the commands.
Table 74 iSCSI target gateway configuration steps
Step Command Procedure
1Activate iSCSI for the HP
StorageWorks B-Series
iSCSI Director Blade.
fosConfig - -enable iscsi Enabling the iSCSI gateway
service” on page 309
2 Configure the IP address
for GbE ports.
portCfg ipif <slot>/ge<port>
create <ipaddress> <netmask>
<mtu_size>
Configuring the GbE
interface” on page 311
3 Optional: Configure the
IP route for the GbE
ports.
portCfg iproute
<slot>/ge<port> args
Configuring the GbE
interface” on page 311
4 (Easy) Automatically
map FC targets to iSCSI
targets and names
target with unique IQN.
iscsiCfg - -easycreate tgt Automatic iSCSI VT creation
on page 312
5 (Advanced) Create
iSCSI virtual target.
iscsiCfg - -create tgt –t
<targetname>
Manual iSCSI VT creation
on page 315
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 319
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 320
9 Activate the discovery
domain set.
iscsiCfg - -enable ddset –n
<ddset_name>
Creating and enabling a
discovery domain sets” on
page 320
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 320
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 320
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 321
13 Commit configuration
(Items configured in
steps 4-9).
iscsiCfg - -commit all Committing the iSCSI-related
configuration” on page 322
14 Create the iSCSI FC
zone.
zoneCreate “<zonename>”,
“<member>,<member>,..."
Creating an iSCSI FC zone
on page 325
15 Ad d i SC S I F C zo n e t o
zone configuration.
cfgAdd cfgname”, “zone1,
zone2
Creating an iSCSI FC zone
on page 325