User Manual
Rev 2.2-1.0.1
Mellanox Technologies
319
For more information, visit http://www.ipxe.org/download
[root@sqa030 ~]# git clone git://git.ipxe.org/ipxe.git
Step 3. Edit a command file named sanbootnchap.ipxe (the name is given as an example whereas
the .ipxe file extension is mandatory) with the following lines.
Make sure to enter your own values for username and password per your CHAP configu-
ration. For reasons of simplicity, and coherence with this document examples, we gave our
CHAP the username joe, and the password secret. Note that these CHAP settings are
going to be hardcoded into this module and any modification done to them will require
you to recompile the module after changing sanbootnchap.ipxe.
[root@sqa030 ~]# cd ipxe/src
[root@sqa030 src]# vim sanbootnchap.ipxe
#!ipxe
dhcp || dhcp || exit
set username joe
set password secret
echo ${root-path}
isset ${root-path} || exit
echo Booting from iSCSI tgt
sanboot --no-describe ${root-path}
Step 4. Compile the undionly.kpxe module.
For more information, refer to http://www.ipxe.org/howto/chainloading
[root@sqa030 src]# make bin/undionly.kpxe EMBED=sanbootnchap.ipxe
Step 5. Copy the bin/undionly.kpxe to your TFTP root directory (E.G.: /var/lib/tftpboot ).
Step 6. Edit the client's host declaration in the DHCP configuration file for chain-loading
undionly.kpxe.
The outcome of this procedure is to have FlexBoot download undionly.kpxe to the client's
RAM, and then have undionly
.kpxe authenticate iSCSI and login with the iSCSI target.
host sqa070 {
next-server 12.7.6.30;
if option client-system-architecture = 00:00 { filename "undionly.kpxe" ; }
fixed-address 12.7.60.70 ;
hardware ethernet 00:02:c9:32:e8:80 ;
if exists user-class and option user-class = "iPXE" {
option root-path "iscsi:12.7.6.30::::iqn.2013-
10.qalab.com:sqa030.prt9";
filename "";
}
}