HP 3PAR VMware ESX Implementation Guide

3 Configuring the HP 3PAR StoreServ Storage for iSCSI
This chapter explains how to establish an iSCSI connection between the HP 3PAR StoreServ Storage
and the VMware ESX host. If you are running specific CNA cards, a software or hardware iSCSI
initiator can be used. For details about hardware iSCSI configuration, see “Hardware iSCSI Support
(page 22).
Software iSCSI Support
Setting Up the Ports for an iSCSI Connection
To establish an iSCSI connection between the HP 3PAR StoreServ Storage and the ESX host, set
up each HP 3PAR StoreServ Storage iSCSI target port that will be connected to an iSCSI initiator
as described in the following steps:
1. The HP 3PAR StoreServ 10000 Storage and the HP 3PAR StoreServ 7000 Storage support
a 10 Gb iSCSI connection and require a one-time configuration using the controlport
command.
Use the showport and showport -i commands to check the current CNA configuration.
For example:
# showport
N:S:P Mode State -Node_WWN-- -Port_WWN/HW_Addr- Type Protocol Label Partner FailoverState
0:2:1 target offline - 2C27D754521E iscsi iSCSI - - -
0:2:2 target offline - 2C27D754521A iscsi iSCSI - - -
# showport -i
N:S:P Brand Model Rev Firmware Serial HWType
0:1:1 QLOGIC QLE8242 58 0.0.0.0 PCGLT0ARC1K3SK CNA
1:1:1 QLOGIC QLE8242 58 0.0.0.0 PCGLT0ARC1K3SK CNA
2. If State=config_wait or Firmware=0.0.0.0, use the controlport config iscsi
<n:s:p> command to reconfigure, and then use the showport and showport -i commands
to verify the configuration setting.
For example:
# controlport config iscsi 0:1:1
# controlport config iscsi 1:1:1
# showport
N:S:P Mode State -Node_WWN-- -Port_WWN/HW_Addr- Type Protocol Label Partner FailoverState
0:2:1 target ready - 2C27D754521E iscsi iSCSI - - -
0:2:2 target ready - 2C27D754521A iscsi iSCSI - - -
# showport -i
...
N:S:P Brand Model Rev Firmware Serial HWType
...
0:1:1 QLOGIC QLE8242 58 4.8.76.48015 PCGLT0ARC1K3SK CNA
1:1:1 QLOGIC QLE8242 58 4.8.76.48015 PCGLT0ARC1K3SK CNA
3. Use the HP 3PAR OS CLI showport -iscsi command to check the current settings of the
iSCSI ports:
# showport -iscsi
N:S:P State IPAddr Netmask Gateway TPGT MTU Rate DHCP iSNS_Prim iSNS_Sec iSNS_Port
0:1:1 offline 0.0.0.0 0.0.0.0 0.0.0.0 11 1500 n/a 0 0.0.0.0 0.0.0.0.0 3205
1:1:1 offline 0.0.0.0 0.0.0.0 0.0.0.0 12 1500 n/a 0 0.0.0.0 0.0.0.0.0 3205
0:1:1 offline 0.0.0.0 0.0.0.0 0.0.0.0 111 1500 n/a 0 0.0.0.0 0.0.0.0.0 3205
1:1:1 offline 0.0.0.0 0.0.0.0 0.0.0.0 112 1500 n/a 0 0.0.0.0 0.0.0.0.0 3205
Software iSCSI Support 15