HP 3PAR Citrix Implementation Guide

Discovering iSCSI Devices and Creating Storage Repositories with Citrix
5.6 or 6.x
NOTE: iSCSI is not supported with Citrix 5.5.
To discover iSCSI devices and create storage repositories with XenCenter, follow these steps:
1. In the Resources pane, select the server to create a new storage repository.
2. On the toolbar, click Storage, and then click New SR.
3. Select Software iSCSI, and then click Next.
4. Change the default name if necessary, and then click Next.
5. Enter the IP address of the target host for iSCSI storage, and then click Discover IQNs.
6. Select an appropriate IQN, and then click Discover LUNs. The host starts scanning for LUNs.
7. Choose a discovered LUN on which to create a new storage repository.
8. Click Finish to create a new storage repository.
For details, see Citrix XenServer Design: Configuring Multipathing for XenServer, available at the
following website:
Citrix Knowledge Center
Configuring CHAP for the iSCSI Host
There are two CHAP authentication configurations available. Host CHAP authentication where the
HP 3PAR StoreServ Storage iSCSI target port authenticates the iSCSI Initiator host when it tries to
connect to it and bidirectional (mutual) CHAP authentication where both the iSCSI target and host
authenticate each other when the host it's trying to connect to the target.
You must create an iSCSI host definition on the HP 3PAR StoreServ Storage before setting and
configuring CHAP for the iSCSI host. See “Configuring the HP 3PAR StoreServ Storage for iSCSI”
(page 14).
Setting the Host CHAP Authentication on the HP 3PAR StoreServ Storage
To set the host CHAP authentication an iSCSI host definition must have been created on the HP 3PAR
StoreServ Storage and the HP 3PAR OS CLI sethost initchap command must be used to set
the host CHAP secret.
For HP 3PAR OS 3.1.x, the output shows:
# showhost
Id Name Persona ----------WWN/iSCSI_Name----------- Port
0 citrix Generic iqn.2010-07.com.dl380g5-11:dd59da96 ---
The following example uses the host CHAP password host_secret0 for the host. Be aware that
CHAP secret must be at least 12 characters long.
Set the host CHAP secret.
# sethost initchap -f host_secret0 citrix
Verify the host CHAP secret.
# showhost -chap
Id Name -Initiator_CHAP_Name- -Target_CHAP_Name-
0 citrix citrix --
Discovering iSCSI Devices and Creating Storage Repositories with Citrix 5.6 or 6.x 29