HP StorageWorks XPath OS 7.4.X Command Reference Guide (AA-RVHCC-TE, September 2005)
138 XPath OS CLI commands
Displays and configures the IQN-to-WWN mapping database.
Synopsis
iscsiwwnalloc [-i iSCSI_IQN [-n node_WWN -p port_WWN]]
[-d iSCSI_IQN [-n node_WWN]] [-v]
Availability
admin
Description
Use this command to display and configure the IQN-to-WWN mapping database. To display the
database, execute iscsiWwnAlloc without operands. If the same IQN maps to two different node
WWNs, the status of the entry is displayed as Conflict. If the same initiator has both IQN and IP
addresses mapping to two different node WWNs, the entry status displays as Multiple.
Attempts to delete a mapping fail if the iSCSI initiator is currently registered with the Name Server. Use -f
to delete the mapping entry irrespective of the initiator’s Name Server registration status.
In an iFCS function-enabled fabric, only the primary FCS allows for manual WWN allocation and
deletion. The command fails if there are connectivity problems between the primary and secondary FCS
and if the WWN entry is associated with zoning. You must fix the connectivity problems and clean up the
zoning configuration before deleting a WWN entry.
Operands
This command has the following operands:
Examples
To add node and port WWNs for a given IQN (iqn.1991-05.com.microsoft:cp082207):
iscsiWwnAlloc
-i Preallocates a node and a port WWN for a given IQN. Both node
and port WWNs are generated dynamically.
-n Specifies a specific node WWN.
-p Specifies a specific port WWN.
-d Removes an IQN-to-WWN mapping entry.
-n Specifies a specific node if there are conflicts in
the WWN mapping table.
-f Deletes the mapping entry irrespective of the
initiator’s Name Server registration status.
-v Displays zoning entries associated with the IQN.
switch:admin> iscsiwwnalloc -i iqn.1991-05.com.microsoft:cp082207
Create iqn.1991-05.com.microsoft:cp082207 successful.