HP BL25/35/45p HP ProLiant Accelerated iSCSI for Linux User Guide - Page 17

Binding the iSCSI target, Changing the transport binding of the iSCSI node

Page 17 highlights

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 2. Obtain the from step 1 and bind the transport name with the following command: # iscsiadm --mode node --targetname --portal \ --op=update --name=node.transport_name -value= 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 Binding the iSCSI target 17

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20

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