HP 3PAR SUSE Linux Enterprise Implementation Guide

3 Configuring the HP 3PAR StoreServ Storage for iSCSI
Configuring Ports for an iSCSI Connection
To configure an iSCSI target port on the HP 3PAR StoreServ 10000 Storage for connection to an
iSCSI Initiator, complete the following steps:
NOTE: To use more than one initiator port, different subnets should be used for effective adapter
utilization.
1. A 10 Gb iSCSI connection requires a one-time configuration using the controlport
command. Check the current CNA configuration using the showport and showport -i
commands.
Example:
# showport
N:S:P Mode State ----Node_WWN---- -Port_WWN/HW_Addr- Type Protocol...
0:3:1 suspended config_wait - - cna -...
1:3:1 suspended config_wait - - cna
# showport -i
N:S:P Brand Model Rev Firmware Serial HWType...
0:3:1 QLOGIC QLE8242 58 0.0.0.0 PCGLT0ARC1K3SK CNA...
1:3:1 QLOGIC QLE8242 58 0.0.0.0 PCGLT0ARC1K3SK CNA
If State=config_wait or Firmware=0.0.0.0, use controlport config iscsi
<n:s:p> to configure, and verify with the showport and showport -i commands.
Example:
# controlport config iscsi 0:3:1
# controlport config iscsi 1:3:1
# showport
N:S:P Mode State ----Node_WWN---- -Port_WWN/HW_Addr- Type Protocol
...
0:3:1 target ready - 2C27D7521F3E iscsi iSCSI
...
1:3:1 target ready - 2C27D7521F3A iscsi iSCSI
# showport -i
N:S:P Brand Model Rev Firmware Serial HWType
...
0:3:1 QLOGIC QLE8242 58 4.8.76.48015 PCGLT0ARC1K3U6 CNA
1:3:1 QLOGIC QLE8242 58 4.8.76.48015 PCGLT0ARC1K3U6 CNA
2. Check the current settings of the iSCSI ports by issuing showport -iscsi.
# showport -iscsi
N:S:P State IPAddr Netmask Gateway TPGT MTU Rate DHCP iSNS_Prim iSNS_Sec iSNS_Port
0:3:1 offline 0.0.0.0 0.0.0.0 0.0.0.0 31 1500 n/a 0 0.0.0.0 0.0.0.0 3205
0:3:2 loss_sync 0.0.0.0 0.0.0.0 0.0.0.0 32 1500 n/a 0 0.0.0.0 0.0.0.0 3205
1:3:1 offline 0.0.0.0 0.0.0.0 0.0.0.0 131 1500 n/a 0 0.0.0.0 0.0.0.0 3205
1:3:2 loss_sync 0.0.0.0 0.0.0.0 0.0.0.0 132 1500 n/a 0 0.0.0.0 0.0.0.0 3205
-----------------------------------------------------------------------------------------------
4
3. Set up the IP address and netmask address of the iSCSI target ports by issuing
controliscsiport addr <ipaddr> <netmask> [-f] <node:slot:port>. For
example:
# controliscsiport addr 10.100.0.101 255.255.0.0 -f 0:3:1
# controliscsiport addr 10.101.0.201 255.255.0.0 -f 1:3:1
18 Configuring the HP 3PAR StoreServ Storage for iSCSI