where,
–<Target_Name> is the target name as displayed in the target list. Use the iscsicli ListTargets command to display the target list.
–<Report_To_PNP> is T, which exposes the LUN to the operating system as a storage device.
–<Target_Portal_Address> is the IP address of the iSCSI port on the controller being logged in to.
–<TCP_Port_Number_Of_Target_Portal> is 3260.
–<Login_Flags> is 0x2 to enable multipathing for the target on the initiator. This value allows more than one session to be logged in to a target at one time.
–<Username> is the initiator name.
–<Password> is the target CHAP secret.
–<Authtype> is either 0 for no authentication, 1 for Target CHAP, or 2 for Mutual CHAP.
:NOTE: <Username>, <Password> and <Authtype> are optional parameters. They can be replaced with an asterisk (*) if CHAP is not used.
–<Mapping_Count> is 0, indicating that no mappings are specified and no further parameters are required.
** * An asterisk (*) represents the default value of a parameter.
For example, your log on command might look like this:
iscsicli PersistentLoginTarget iqn.1984- 05.com.dell:powervault.6001372000ffe3332xx0000046 72edf2 3260 T 192.168.130.101 * * * 0x2 * * * * *
** * * 0
To view active sessions to the target, run 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 step 3 for each iSCSI port on the storage array that you want to establish as a failover target. The Target_ Portal_Address is different for each port you connect to.
Appendix—Manual Configuration of iSCSI
71