HP FlexFabric 10Gb 2-port 534FLR-SFP Adapter User Manual
Page 16

Setup 16
•
Broadcom CNIC driver (cnic)
•
Broadcom iSCSI offload driver (bnx2i)
•
Userspace I/O driver (uio)
The directory structure of the package follows.
(root):
•
doc (documentation directory: man pages)
•
src:
o
uip (the uIP stack)
o
unix (iscsiuio source)
To compile and install the script:
1.
Untar the tarball file.
2.
Run the configure script.
The configure script creates makefiles and proper header files needed for the build.
3.
Run make to create the binary iscsiuio.
4.
Run make install to place the binaries in the appropriate installation location.
The default location is /sbin.
The network interface configuration files are driven by the iscsid iface files. The configuration data is parsed
by iscsid and passed to the uIP stack when the connection is established.
To run iscsiadm commands to create and set the configuration with the iface files:
1.
Create the iface file: iscsiadm -m iface -I
2.
Discover the targets associated with the new iface: iscsiadm -m discovery -t st -p target IP address> -I 3. To update the iface file, do one of the following: o For a static IPv4 address: --value= o For a DHCP address: --value=0.0.0.0 4. Enter required values for the iface file. o To specify the bnx2i as the transport: --value=bnx2i o To specify the network interface for offload: i. Specify the physical network interface name (for example, eth0, eth1, eth2, and so on): iscsiadm -m iface -I --name=iface.net_ifacename --value= ii. Specify the iSCSI MAC address of the iSCSI HBA: iscsiadm -m iface -I --op=update --name=iface.hwaddress --value= HBA>
iscsiadm -m iface -I
iscsiadm -m iface -I
iscsiadm -m iface -I