User Manual

Rev 2.2-1.0.1
Mellanox Technologies
302
Step 3. Create the IQN in the ietd configuration file.
Target iqn.2013-10.qalab.com:sqa030.prt9
Lun 0 Path=/dev/cciss/c0d0p9,Type=fileio,IOMode=wb
MaxConnections 1 # Number of connections/session. We only support 1
InitialR2T Yes # Wait first for R2T
ImmediateData Yes # Data can accompany command
MaxRecvDataSegmentLength 8192 # Max data per PDU to receive
MaxXmitDataSegmentLength 8192 # Max data per PDU to transmit
MaxBurstLength 262144 # Max data per sequence (R2T)
FirstBurstLength 65536 # Max unsolicited data sequence
DefaultTime2Wait 2 # Secs wait for ini to log out Not used
DefaultTime2Retain 20 # Secs keep cmnds after log out Not used
MaxOutstandingR2T 1 # Max outstanding R2Ts per cmnd
DataPDUInOrder Yes # Data in PDUs is ordered. We only support ordered
DataSequenceInOrder Yes # PDUs in sequence are ordered. We only support
ordered
ErrorRecoveryLevel 0 # We only support level 0
HeaderDigest NONE # PDU header checksum algo list. None or CRC32C
# If only one is set then the initiator must agree
# to it or the connection will fail
DataDigest NONE # PDU data checksum algo list Same as above
MaxSessions 0 # Maximum number of sessions to this target 0 =
unlimited
NOPInterval 0 # Send a NOP-In ping each after that many seconds
if the
# conn is otherwise idle 0 = off
NOPTimeout 0 # Wait that many seconds for a response on a
NOP-In ping
# If 0 or > NOPInterval, NOPInterval is used!
# Various target parameters
Wthreads 8 # Number of IO threads
QueuedCommands 32 # Number of queued commands
The local Hard Disk partition assigned to the LUN (/dev/cciss/c0d0p9 in the example
above) must not contain any valuable data, as this data will be destroyed by the instal-
lation process taking place later in this procedure
Step 4. Edit the /etc/sysconfig/iscsi-target file as follow.
OPTIONS="-c /etc/iet/ietd.conf --address=12.7.6.30"
Step 5. Start the iSCSI target service.
[root@sqa030 ~]# /etc/init.d/iscsi-target start
Step 6. Perform a sanity check by connecting to the iSCSI target from a remote PC on the 10GE
network link.