HP 3PAR Citrix Implementation Guide

2. After open-iscsi is started, you can check the state of the open-iSCSI service run level information
with the chkconfig command. Run level 5 should be on. For example:
# chkconfig --list | grep iscsi
iscsi 0:off 1:off 2:off 3:off 4:off 5:on 6:off
Creating the iSCSI Connection in Citrix 5.6 or 6.x Using the iscsiadm Command
After connecting the host to the HP 3PAR StoreServ Storage iSCSI target port, use the iscsiadm
command to create the iSCSI connection, complete following steps:
1. Discover the target node using the iscsiadm command in discovery mode:
iscsiadm -m discovery -t sendtargets -p <target ip address>:<iscsi port>.
For example:
# iscsiadm -m discovery -t sendtargets -p 10.0.100.101:3260
10.0.100.101:3260,31 iqn.2000-05.com.3pardata:20310002ac000079
2. The contents of the discovery can be viewed using the iscsiadm -m discovery command.
For example:
# iscsiadm -m discovery
10.0.100.101:3260 via sendtargets
3. Identify the iSCSI node login that record has been discovered from the discovery process.
iscsiadm -m node -T <targetname> -p <target ip address>:<iscisport>
-l.
For example:
# iscsiadm -m node -T iqn.2000-05.com.3pardata:20310002ac000079 -p 10.0.100.101:3260 -l
Logging in to [iface: default, target: iqn.2000-05.com.3pardata:20310002ac000079, portal: 10.0.100.101,3260]
Login to [iface: default, target: iqn.2000-05.com.3pardata:20310002ac000079, portal: 10.0.100.101,3260]: successful
4. The content of the login node can be viewed using the iscsiadm command.
For example:
# iscsiadm -m node -T iqn.2000-05.com.3pardata:20310002ac000079 -p 10.0.100.101:3260
10.0.100.101:3260,31 iqn.2000-05.com.3pardata:20310002ac000079
5. Now examine the iSCSI session and content session of the node info by issuing iscsiadm
-m session.
For example:
# iscsiadm -m session
tcp: [1] 10.0.100.101:3260,31 iqn.2000-05.com.3pardata:20310002ac000079
28 Connecting a Host with Software iSCSI