Dell Mellanox Family of Adapters User Manual
Page 74

Remote Boot
Rev 1.1
Mellanox Technologies
74
Step 2.
Install iSCSI target and additional required software on target server.
Step 3.
Create the IQN in the ietd configuration file.
Step 4.
Edit the /etc/sysconfig/iscsi-target file as follow.
Step 5.
Start the iSCSI target service.
Step 6.
Perform a sanity check by connecting to the iSCSI target from a remote PC on the 10GE
network link.
[root@sqa030 ~]# yum install kernel-devel openssl-devel gcc rpm-build
[root@sqa030 tmp]# tar xzvf iscsitarget-1.4.20.2.tar.gz
[root@sqa030 tmp]# cd iscsitarget-1.4.20.2/
[root@sqa030 iscsitarget-1.4.20.2]# make && make install
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
OPTIONS="-c /etc/iet/ietd.conf --address=12.7.6.30"
[root@sqa030 ~]# /etc/init.d/iscsi-target start