HP 3PAR VMware ESX Implementation Guide
The following example for creating a host definition uses a VMware iSCSI initiator
iqn.1998-01.com.vmware:sqahpbc02icm5-40e25c56 on an ESX host (the only iSCSI
initiator for this server in this case) connecting through a VLAN to a pair of HP 3PAR StoreServ
Storage iSCSI ports. The host definition is given the name ESX1 and the host persona is set to 6
(Generic-legacy).
1. Use the HP 3PAR OS CLI showhost command to verify that the host iSCSI initiators are
connected to the HP 3PAR StoreServ Storage iSCSI target ports.
# showhost
Id Name Persona ----------------WWN/iSCSI_Name---------------- Port
-- -- iqn.1998-01.com.vmware:sqahpbc02icm5-40e25c56 0:1:2
-- -- iqn.1998-01.com.vmware:sqahpbc02icm5-40e25c56 1:1:2
-- -- iqn.1998-01.com.vmware:dl360g8-02-42b20fff 0:1:2
-- -- iqn.1998-01.com.vmware:dl360g8-02-42b20fff 1:1:2
2. Issue the HP 3PAR OS CLI createhost -iscsi -persona <hostpersona>
<hostname> <iscsi_initiator_name> command to create the appropriate host definition
entry.
# createhost -iscsi -persona 6 ESX1 iqn.1998-01.com.vmware:sqahpbc02icm5-40e25c56
or
# createhost -iscsi -persona 11 ESX2 iqn.1998-01.com.vmware:dl360g8-02-42b20fff
3. Use the HP 3PAR OS CLI showhost command to verify that the host entry was created.
# showhost
Id Name Persona ----------------WWN/iSCSI_Name---------------- Port
0 ESX1 Generic-legacy iqn.1998-01.com.vmware:sqahpbc02icm5-40e25c56 0:1:2
iqn.1998-01.com.vmware:sqahpbc02icm5-40e25c56 1:1:2
1 ESX2 VMware iqn.1998-01.com.vmware:dl360g8-02-42b20fff 0:1:2
iqn.1998-01.com.vmware:dl360g8-02-42b20fff 1:1:2
4. To test the connection — create some temporary virtual volumes and then export the VLUNs
to the host.
NOTE: See “Allocating Storage for Access by the ESX Host” (page 74) for complete details
on creating, exporting and discovering storage for an iSCSI connection.
5. On the ESX iSCSI initiator host, perform a rescan and then verify that the disks were discovered.
Setting Up and Configuring Challenge—Handshake Authentication Protocol
Enabling Host Challenge-Handshake Authentication Protocol (CHAP) is an option set at the ESX
system administrator's discretion. The following example outlines the procedures for host (initiator)
CHAP available as of ESX 3.x. As of ESX 4.0, mutual (bidirectional, initiator-target) CHAP is
available.
1. Use the HP 3PAR OS CLI showhost command to verify that a host definition was created on
HP 3PAR StoreServ Storage for the ESX host that will have CHAP enabled.
# showhost
Id Name ----------------WWN/iSCSI_Name---------------- Port
0 ESX1 iqn.1998-01.com.vmware:hpdl380-01-11a38a59 0:1:2
iqn.1998-01.com.vmware:hpdl380-01-11a38a59 1:1:2
Software iSCSI Support 17