10–iSCSI Protocol
iSCSI Offload in Linux Server
209
83840-546-00 D
User Application - qlgc_iscsiuio
Install and run the qlgc_iscsiuio daemon before attempting to create iSCSI
connections. The driver will not be able to establish connections to the iSCSI
target without the daemon's assistance.
1.
Install the qlgc_iscsiuio source package
# tar -xvzf iscsiuio-<version>.tar.gz
2.
CD to the directory where iscsiuio is extracted
# cd iscsiuio-<version>
3.
Compile and install
# ./configure
# make
# make install
4.
Check the iscsiuio version matches with the source package
# qlgc_iscsiuio -v
5.
Start brcm_iscsiuio
# qlgc_iscsiuio
Bind iSCSI Target to QLogic NX2 iSCSI Transport Name
In Linux, each iSCSI port is an interface known as
iface
. By default, the open-iscsi
daemon connects to discovered targets using a software initiator (transport name
= tcp) with the iface name
default
. To offload the iSCSI connection to the CNIC
device, explicitly use the ifaces whose names have the prefix
bnx2i
. The bnx2i
ifaces are created automatically using the iscsiadm CLI utility as follows:
iscsiadm -m iface
for example:
linux-71lr:~ # iscsiadm -m iface
default tcp,<empty>,<empty>,<empty>,<empty>
bnx2i.00:17:a4:77:ec:3b
bnx2i,00:17:a4:77:ec:3b,<empty>,<empty>
bnx2i.00:17:a4:77:ec:3a
bnx2i,00:17:a4:77:ec:3a,<empty>,<empty>