User Manual
Rev 2.2-1.0.1
Mellanox Technologies
301
Appendix E: Using FlexBoot for Booting Various OSs
from an iSCSI Target
Below are instructions on how to provision a diskless system (the client) with a fresh SLES11
SP3 and RHEL6.4 installation to a remote storage (IE: a LUN partition on an iSCSI target) and
then SAN-Booting (iSCSI boot) the client using Mellanox PXE boot agent (FlexBoot). The
iSCSI configuration in this document is very basic (no CHAP authentication, no multipath I/O)
and demonstrates basic PXE SAN Boot capability.
In this chapter, IET is used as the iSCSI Target.
In the example below:
• sqa030 (a Linux host) - performs the role of the PXE server and an iSCSI target and
• sqa070 (a host) - performs the role of the PXE client and a sanity check environment
• sqa030 – The OS is configured with IP 12.7.6.30, and the DHCP IP configuration for
the diskless client is 12.7.6.70
• sqa030 - has a 21.5GB disk partition on its local HDD, called /dev/cciss/c0d0p9, which
will be used as the storage volume to host the client’
s OS. It also serves as DHCP, TFTP,
and NFS server for PXE clients
• Both servers have a Mellanox ConnectX®-3 based 10GE NIC equipped with PXE boot
capabilities via Expansion ROM called FlexBoot (http://www
.mellanox.com/page/
products_dyn?&product_family=34&mtag=flexboot).
E.1 Configuring the iSCSI Target Machine
To configure the iSCSI target:
Step 1. Download the IET target software from.
http://sourceforge.net/projects/iscsitarget/files/iscsitarget/1.4.20.2/
Step 2. Install iSCSI target and additional required software on target server.
[root@sqa030 ~]# yum install kernel-devel openssl-devel gcc rpm-build
[root@sqa030 tmp]# tar xzvf iscsitarget-1.4.20.2.tar.gz
[root@sqa030 tmp]# cd iscsitarget-1.4.20.2/
[root@sqa030 iscsitarget-1.4.20.2]# make && make install