HP 3PAR Citrix Implementation Guide

NOTE: When the host initiator port and the HP 3PAR StoreServ Storage array iSCSI port are in
different IP subnets, the gateway address for the HP 3PAR StoreServ Storage array iSCSI port
should be configured in order to avoid unexpected behavior.
Creating the Software iSCSI Host Definition
This section describes how to create a software iSCSI host definition.
NOTE: If multiple initiator ports are used, add the following to /etc/sysctl.conf:
net.ipv4.conf.all.arp_filter = 1
NOTE: To be able to establish an iSCSI Initiator connection/session with the iSCSI target port
from the host, you must create a host definition entry, create the iSCSI host definition, and configure
the HP 3PAR StoreServ Storage iSCSI target port(s).
For details, see “Creating the iSCSI Connection in Citrix 5.6 or 6.x Using the iscsiadm Command”
(page 28).
1. You can verify that the iSCSI Initiator is connected to the iSCSI target port by issuing the
HP 3PAR OS CLI showhost command.
# showhost
Id Name Persona ----------WWN/iSCSI_Name---------------- Port
-- iqn.2010-07.com.dl380g5-11:dd59da96 0:3:1
iqn.2010-07.com.dl380g5-11:dd59da96 1:3:1
NOTE: HP recommends Host persona 1.
2. Create an iSCSI host definition entry by issuing the HP 3PAR OS CLI createhost -iscsi
-persona 1 <host name> <iSCSI Initiator name> command.
Example:
# createhost -iscsi -persona 1 DL380g5-11_Xen-iscsi iqn.2010-07.com.dl380g5-11:dd59da96
Setting host persona 1 (Generic)
NOTE: For Citrix 5.6 or 6.x, you can get the iSCSI initiator name iSCSI initiator
name from:
# cat /etc/iscsi/initiatorname.iscsi
InitiatorName=iqn.2010-07.com.dl380g5-11:dd59da96
InitiatorAlias=sqa-dl380g5-11
3. Verify that the host entry has been created.
Id Name Persona ----------WWN/iSCSI_Name---------------- Port
0 DL380g5-11_Xen-iscsi Generic iqn.2010-07.com.dl380g5-11:dd59da96 0:3:1
iqn.2010-07.com.dl380g5-11:dd59da96 1:3:1
16 Configuring the HP 3PAR StoreServ Storage for iSCSI