System information
44 Deploying Samba on IBM Eserver BladeCenter
11.Add the following lines to the end of the /etc/rc.d/rc.local file:
Example 3-13 Commands in rc.local file needed for PXE boot
route add -host 255.255.255.255 eth0
route add -net 224.0.0.0 netmask 224.0.0.0 eth0
12.Copy the Linux kernel and initial ramdisk file for PXE boot from the first CD to the TFTP
install section. In our case, it looked like this:
Example 3-14 Copying of Linux kernel and initrd for PXE boot
cp /var/ftp/pub/7.3/cd1/images/pxeboot/vmlinuz /tftpboot/X86PC/UNDI/linux-install/linux.1
cp /var/ftp/pub/7.3/cd1/images/pxeboot/initrd-everything.img \
/tftpboot/X86PC/UNDI/linux-install/linux.2
13.Open the file /etc/pxe.conf in a editor and look for the lines in Example 3-15.
Example 3-15 Default configuration of PXE daemon in /etc/pxe.conf
[UseDHCPPort]
1
Change the 1 to a 0 and save this change.
14.Open the file /etc/init.d/pxe in an editor and look for the lines in Example 3-16.
Example 3-16 Changes to /etc/init.d/pxe
# Starts the pxe daemon
#
# chkconfig: - 56 54
Change the 56 to a 98. This will make the PXE daemon start after the DHCP daemon.
15.Set up the DHCP and PXE services so that they will start up at boot using the commands
in Example 3-17.
Example 3-17 Enabling dhcpd and pxe daemon at boot
[root@portal1 root]# chkconfig dhcpd on
[root@portal1 root]# chkconfig pxe on
16.Now reboot the server using shutdown -r now.
17.In the messages displayed in the startup sequence, see if both the DHCP and the PXE
daemon start without any error messages. You can also check in /var/log/boot.log for any
errors.
Our PXE boot server is now ready for action.
3.4.2 Starting the installation
First we have to configure the blade server so that it will use PXE in its startup boot
sequence.
1. Log in to the Web interface of the IBM Eserver BladeCenter management module.
2. Select Blade Tasks -> Configuration.
3. Click Boot Sequence.
4. Click the name of the blade server you want to edit.
5. Select Network - PXE as the first device, the rest is your personal setup.