User Manual

Rev 2.0-3.0.0
Mellanox Technologies
218
A.10.1 Configuring an iSCSI Target in Linux Environment
Prerequisites
Step 1. Make sure that an iSCSI Target is installed on your server side.
You can download and install an iSCSI Target from the following location:
http://sourceforge.net/projects/iscsitarget/files/iscsitarget/
Step 2. Dedicate a partition on your iSCSI Target on which you will later install the operating system
Step 3. Configure your iSCSI Target to work with the partition you dedicated. If, for example, you
choose partition /dev/sda5, then edit the iSCSI Target configuration file
/etc/ietd.conf to
include the following line under the iSCSI Target iqn line:
Example of an iSCSI Target iqn line:
Step 4.
Start your iSCSI Target.
Example:
Configuring the DHCP Server to Boot From an iSCSI Target
Configure DHCP as described in Section 4.3.3.1, “IPoIB Configuration Based on DHCP”.
Edit your DHCP configuration file (
/etc/dhcpd.conf) and add the following lines for the
machine(s) you wish to boot from the iSCSI target:
The following is an example for configuring an IB/ETH device to boot from an iSCSI target:
A.11 WinPE
Mellanox FlexBoot enables WinPE boot via TFTP. For instructions on preparing a WinPE
image, please see http://etherboot.org/wiki/winpe.
Lun 0 Path=/dev/sda5,Type=fileio
Target iqn.2007-08.7.3.4.10:iscsiboot
host1# /etc/init.d/iscsitarget start
Filename "";
option root-path "iscsi:iscsi_target_ip::::iscsi_target_iqn";
host host1{
filename "";
# For a ConnectX device with ports configured as InfiniBand, comment out# the following
line
# option dhcp-client-identifier =
ff:00:00:00:00:00:02:00:00:02:c9:00:00:02:c9:03:00:00:10:39;
# For a ConnectX device with ports configured as Ethernet, comment out# the following
line
# hardware ethernet 00:02:c9:00:00:bb;
}