56 Setting Up Your iSCSI Storage Array
To view active sessions to the target, use the following command:
iscsicli SessionList
To support storage array controller failover, the host server must be connected to at least one iSCSI
port on each controller. Repeat step3 for each iSCSI port on the storage array that you want to
establish as a failover target. (The
Target_Portal_Address
will be different for each port you
connect to).
PersistentLoginTarget
does not initiate a login to the target until after the system is rebooted.
To establish immediate login to the target, substitute
LoginTarget
for
PersistentLoginTarget
.
NOTE: Refer to the Microsoft iSCSI Software Initiator 2.x User’s Guide for more information about the
commands used in the previous steps. For more information about Windows Server 2008 Server Core, refer to
the Microsoft Developers Network (MSDN). Both resources are available at www.microsoft.com.
If you are using a Linux Server
If you configured CHAP authentication in the previous steps, you must restart iSCSI from the Linux
command line as shown below. If you did not configure CHAP authentication, you do not need to restart
iSCSI.
/etc/init.d/iscsi restart
Verify that the host server is able to connect to the storage array by running the iscsi -ls command as you
did in target discovery. If the connection is successful, an iSCSI session will be established to each iSCSI
port on the storage array.
Sample output from the command should look similar to this:
*******************************************************************************
SFNet iSCSI Driver Version ...4:0.1.11-3(02-May-2006)
*******************************************************************************
TARGET NAME : iqn.1984-05.com.dell:powervault.6001372000f5f0e600000000463b9292
TARGET ALIAS :
HOST ID : 2
BUS ID : 0
TARGET ID : 0
TARGET ADDRESS : 192.168.0.110:3260,1
SESSION STATUS : ESTABLISHED AT Wed May 9 18:20:27 CDT 2007
SESSION ID : ISID 00023d000001 TSIH 5
*******************************************************************************
TARGET NAME : iqn.1984-05.com.dell:powervault.6001372000f5f0e600000000463b9292
TARGET ALIAS :
HOST ID : 3
BUS ID : 0
TARGET ID : 0
TARGET ADDRESS : 192.168.0.111:3260,1