8–iSER Configuration
Configuring iSER for Ubuntu
110
AH0054601-00 B
Generated LIO-Target config:
/etc/target/backup/lio_backup-2015-06-09_19:07:37.855693.sh
Making backup of Target_Core_Mod/ConfigFS with timestamp:
2015-06-09_19:07:37.855693
Generated Target_Core_Mod config:
/etc/target/backup/tcm_backup-2015-06-09_19:07:37.855693.sh
Successfully updated default config /etc/target/lio_start.sh
Successfully updated default config /etc/target/tcm_start.sh
/>
Configuring the Initiator
To configure the initiator:
1.
Load the ib_iser module and confirm that it is loaded properly by issuing the
following commands:
#
sudo modprobe ib_iser
#
lsmod | grep ib_iser
ib_isert 56835 2
iscsi_target_mod 307333 6 ib_isert
target_core_mod 382144 22
target_core_iblock,tcm_qla2xxx,target_core_pscsi,iscsi_target_mod,tcm_fc,
ib_srpt,target_core_file,target_core_user,tcm_loop,ib_isert
ib_iser 52919 0
rdma_cm 48739 3 ib_iser,rdma_ucm,ib_isert
ib_core 98710 15
qedr,rdma_cm,ib_cm,ib_sa,iw_cm,mlx4_ib,ib_mad,ib_ucm,ib_iser,ib_srpt,ib_umad,i
b_uverbs,rdma_ucm,ib_ipoib,ib_isert
libiscsi 57498 3 libiscsi_tcp,iscsi_tcp,ib_iser
scsi_transport_iscsi 100628 4 iscsi_tcp,ib_iser,libiscsi
2.
Issue the
iscsiadm
command to discover the target and change the
transport mode to iSER.
#
iscsiadm -m discovery -t st -p 192.168.10.5:3260 -I iser
192.168.10.5:3260,1 iqn.2004-01.com.qlogic.iSERPort1.Target1
#
iscsiadm -m node -T iqn.2004-01.com.qlogic.iSERPort1.Target1
-o update -n iface.transport_name -v iser
3.
Log into the target device by issuing the following command:
#
iscsiadm -m node -l
Logging in to [iface: default, target:
iqn.2004-01.com.qlogic.iSERPort1.Target1, portal:
192.168.10.5,3260] (multiple)