Binding the iscsi target, Changing the transport binding of the iscsi node – HP NC532m Dual Port 10GbE Multifunction BL-c Adapter User Manual
Page 17
Binding the iSCSI target 17
Binding the iSCSI target
Changing the transport binding of the iSCSI node
By default the open-iscsi daemon connects to discovered targets using the software initiator with transport
name = tcp.
To offload iSCSI connections, you must change the transport binding of the iSCSI node by completing the
following steps.
1.
Discover targets at a specified IP address using the following command:
# iscsiadm --mode discovery --type sendtargets --portal <ipaddr[:port]>
2.
Obtain the <iqn.targetname> from step 1 and bind the transport name with the following command:
# iscsiadm --mode node --targetname <iqn.targetname> --portal
<ipaddr[:port]> \ --op=update --name=node.transport_name --
value=<XPORT_NAME>
Please note that the [:port] argument is not needed for IPv6 addresses.
Execute the following command to obtain the iSCSI transport name binding:
# dmesg | grep "bnx2i: netif"
The following is a sample output of a system with 2 NetXtreme II devices:
bnx2i: netif=eth1, iscsi=bcm570x-05000
bnx2i: netif=eth0, iscsi=bcm570x-03000