72 Appendix—Manual Configuration of iSCSI
If you are using Windows Server 2008 Core Version:
1
Set the iSCSI initiator services to start automatically (if not already set):
sc \\<server_name> config msiscsi start= auto
2
Start the iSCSI service (if necessary):
sc start msiscsi
3
Log on to the target:
iscsicli PersistentLoginTarget <Target_Name>
<Report_To_PNP> <Target_Portal_Address>
<TCP_Port_Number_Of_Target_Portal> * * *
<Login_Flags> * * * * * <Username> <Password>
<Authtype> * <Mapping_Count>
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.
book.book Page 72 Sunday, September 11, 2011 10:24 PM