9–iSER Configuration
Using iSER with iWARP on RHEL and SLES
185
AH0054602-00 J
shows the target configuration for LIO.
Figure 9-5. LIO Target Configuration
To configure an initiator for iWARP:
1.
To discover the iSER LIO target using port 3261, issue the
iscsiadm
command as follows:
#
iscsiadm -m discovery -t st -p 192.168.21.4:3261 -I iser
192.168.21.4:3261,1 iqn.2017-04.com.org.iserport1.target1
2.
Change the transport mode to
iser
as follows:
#
iscsiadm -m node -o update -T iqn.2017-04.com.org.iserport1.target1 -n
iface.transport_name -v iser
3.
Log into the target using port 3261:
#
iscsiadm -m node -l -p 192.168.21.4:3261 -T iqn.2017-04.com.org.iserport1.target1
Logging in to [iface: iser, target: iqn.2017-04.com.org.iserport1.target1,
portal: 192.168.21.4,3261] (multiple)
Login to [iface: iser, target: iqn.2017-04.com.org.iserport1.target1, portal:
192.168.21.4,3261] successful.
4.
Ensure that those LUNs are visible by issuing the following command:
#
lsscsi
[1:0:0:0] storage HP P440ar 3.56 -
[1:1:0:0] disk HP LOGICAL VOLUME 3.56 /dev/sda
[6:0:0:0] cd/dvd hp DVD-ROM DUD0N UMD0 /dev/sr0
[7:0:0:0] disk LIO-ORG Ramdisk1-1 4.0 /dev/sdb