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

Fabric OS 6.2 administrator guide 315
State/Status: Online/Defined
Name: iqn.2002-12.com.brocade:2f:df:00:06:2b:0d:10:ba
State/Status: Online/Defined
Name: iqn.2002-12.com.brocade:2f:ff:00:06:2b:0d:12:9a
State/Status: Online/Defined
Generating an iSCSI VT for a specific FC target
1. Connect and log in to the switch.
2. Enter the iscsiCfg
--easycreate tgt command with the -w <port WWN> option to create an
iSCSI VT that contains only the storage attached to the specified WWN. The default value of
iqn.2002-12.com.brocade, is used for the fixed prefix, and the port WWN is used as the user-defined
portion of the IQN.
The following is an example.
switch:admin> iscsicfg --easycreate tgt -w 21:00:00:04:cf:e7:74:cf
IndexFC WWN iSCSIName Status
21:00:00:04:cf:e7:74:cf iqn.2002-10.com.brocade:21:00:00:04:cf:e7:74:cf
Operation Succeeded
3. Enter the iscsiCfg
--show tgt command to display the status of the created iSCSI VTs:
The following is an example.
switch:admin> iscsicfg --show tgt
Number of records found: 1
Name: iqn.2002-10.com.brocade:21:00:00:04:cf:e7:74:cf
State/Status:Online/Defined
Auth. Method:None
Manual iSCSI VT creation
Create iSCSI VTs manually when there are FC targets on the fabric that should not be mapped to an iSCSI
VT and if you want to map more than one target to the same iSCSI VT or a LUN to an iSCSI VT. Up to 256
LUNs can be mapped to an iSCSI VT.
1. Connect and log in to the switch.
2. Enter the iscsiCfg
--create tgt command with the -t <IQN> option to create an undefined
iSCSI VT, that is, an iSCSI VT that contains no LUNs. The <IQN> value is an iSCSI Qualified Name
entered in the form type.date.naming authority:<user_defined>. The following is an
example, using the default for the type.date.naming authority: prefix portion of the IQN,
followed by a WWN as the user defined portion.
Type Date Auth User defined
+--++------++----------++-----------------------+
iqn.2002-12.com.brocade:10:00:00:05:1e:aa:bb:cc
Every iSCSI initiator and iSCSI VT on the same IP network and SAN must have a unique IQN. The
default for the
type.date.naming authority: prefix portion may be changed using the iscsiSwCfg
--modifygw -t <tgtname> command. Your organization may suggest or require a specific format
for the prefix portion of the IQN. The user defined portion may take any form.
The following is an example.
switch:admin> iscsicfg --create tgt -t
iqn.2002-12.com.brocade:example-disk001
The operation completed successfully.
3. Enter the iscsiCfg
--show tgt command with the -t <IQN> and -v options to verify that the
iSCSI VTs.