HP StorageWorks 8/80 HP StorageWorks Fabric OS 6.1.x administrator guide (5697 - Page 263
Manual iSCSI VT creation
View all HP StorageWorks 8/80 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 263 highlights
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 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 option to create an undefined iSCSI VT, that is, an iSCSI VT that contains no LUNs. The value is an iSCSI Qualified Name entered in the form type.date.naming authority:. 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 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 and -v options to verify the iSCSI VTs. The following is an example. switch:admin> iscsicfg --show tgt -t iqn.2002-12.com.brocade:example-disk001 -v Number of records found: 1 Name: iqn.2002-10.com.brocade.example:disk001 State/Status: Offline/Defined Auth. Method: None 4. Enter the fcLunQuery command to display a list of connected FC targets and show the LUN configurations. Fabric OS 6.1.x administrator guide 263