Brocade Fabric OS Administrator's Guide Supporting Fabric OS v6.3.0 (53-1001336-02, November 2009)

Fabric OS Administrator’s Guide 271
53-1001336-02
iSCSI virtual target configuration
12
Automatic iSCSI VT creation
An iSCSI VT is created using target LUNs from the attached FC network. LUNs are mapped to iSCSI
VTs by creating unique iSCSI Qualified Names (IQNs) for each target.
You can create iSCSI VTs by using the iscsiCfg
--easycreate tgt command. There are two options.
An iSCSI VT may be created for every FC target. IQNs are created automatically, using the port
WWNs as the user defined portion of the IQN.
A port WWN may be specified to create one ISCSI VT with all LUNs for that FC target. The WWN
of the FC target is used as the user defined portion of the IQN.
Generating iSCSI VTs for every FC target
1. Connect and log in to the switch.
2. Enter the iscsiCfg
--easycreate tgt command.
The command returns a prompt indicating that this could be a long running operation.
3. Enter y or yes to continue. IQNs are created. The default value of
iqn.2002-12.com.brocade,
is used for the prefix unless it has been changed by using the iscsiSwCfg
--modifygw -t
tgtname command. The port WWN is used as the user-defined portion of the IQN.
The following is an example.
switch:admin> iscsicfg --easycreate tgt
This will create iSCSI targets for ALL FC targets.
This could be a long-running operation. Continue [N]: y
Index FC WWN iSCSI Name Status
9 2e:1f:00:06:2b:0d:10:ba
iqn.2002-12.com.brocade:2e:1f:00:06:2b:0d:10:ba Operation Succeeded
10 2e:3f:00:06:2b:0d:10:ba
iqn.2002-12.com.brocade:2e:3f:00:06:2b:0d:10:ba Operation Succeeded
11 2e:5f:00:06:2b:0d:10:ba
iqn.2002-12.com.brocade:2e:5f:00:06:2b:0d:10:ba Operation Succeeded
12 2e:7f:00:06:2b:0d:10:ba
iqn.2002-12.com.brocade:2e:7f:00:06:2b:0d:10:ba Operation Succeeded
13 2e:9f:00:06:2b:0d:10:ba
iqn.2002-12.com.brocade:2e:9f:00:06:2b:0d:10:ba Operation Succeeded
14 2e:bf:00:06:2b:0d:10:ba
iqn.2002-12.com.brocade:2e:bf:00:06:2b:0d:10:ba Operation Succeeded
15 2e:df:00:06:2b:0d:10:ba
iqn.2002-12.com.brocade:2e:df:00:06:2b:0d:10:ba Operation Succeeded
16 2e:ff:00:06:2b:0d:10:ba
iqn.2002-12.com.brocade:2e:ff:00:06:2b:0d:10:ba Operation Succeeded