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

Page 16

Advertising
background image

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 <iface name> --op=new

2.

Discover the targets associated with the new iface: iscsiadm -m discovery -t st -p <iSCSI

target IP address> -I <iface name>

3.

To update the iface file, do one of the following:

o

For a static IPv4 address:
iscsiadm -m iface -I <iface name> --op=update --name=iface.ipaddress

--value=<static IPv4 address ie: 192.168.0.1>

o

For a DHCP address:
iscsiadm -m iface -I <iface name> --op=update --name=iface.ipaddress

--value=0.0.0.0

4.

Enter required values for the iface file.

o

To specify the bnx2i as the transport:
iscsiadm -m iface -I <iface name> --op=update --name=iface.transport_name

--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 <iface name> --op=update

--name=iface.net_ifacename --value=<network interface name>

ii.

Specify the iSCSI MAC address of the iSCSI HBA: iscsiadm -m iface -I <iface name>

--op=update --name=iface.hwaddress --value=<MAC address of the iSCSI

HBA>

Advertising