Chapter 6: Installing the Linux Drivers

4. Install the newly built package by entering:

rpm -ivh RPMS/<arch>/<open-iscsi-package- name>.<arch>.rpm

where <arch> is the machine architecture such as i386.

rpm -ivh RPMS/i386/<open-iscsi-package- name>.i386.rpm

5.Start the daemon by entering: iscsid

Binding iSCSI Target to Broadcom NX2 iSCSI Transport Name

By default, the open-iscsi daemon connects to discovered targets using software initiator (transport name = 'tcp'). If you want to offload an iSCSI connection onto CNIC device should explicitly change the transport binding of the iSCSI node. This can be done using iscsiadm cli utility as follows:

iscsiadm --mode node --targetname iqn.2004- 06.com.broadcom:tg1 \

--portal 192.168.1.100 --op=update \

--name=node.transport_name -- value=${XPORT_NAME}

where XPORT_NAME=bcm570x-xxyyzz

xx- pci bus number of the NX2 device

yy- pci device number of the NX2 device

zz- pci function number of the NX2 device

Network interface to iscsi transport name binding can be obtained by executing:

dmesg grep "bnx2i: netif"

Sample output in a system with two NetXtreme II devices:

bnx2i: netif=eth1, iscsi=bcm570x-050000

bnx2i: netif=eth0, iscsi=bcm570x-030000

84

Page 84
Image 84
Allied Telesis AT-2973T/4, AT-2973SX Binding iSCSI Target to Broadcom NX2 iSCSI Transport Name, Dmesg grep bnx2i netif