Populating the tftp directory share, Setting up a dhcp server – HP ProLiant DL380 Server User Manual
Page 13

server = /usr/sbin/in.tftpd
server_args = -s /tftpboot
disable = yes
per_source = 11
cps = 100 2
}
In this example, disabled is the default setting, and /tftpboot is the root directory for all client
access.
To enable the TFTP service on your server, edit the disable line to read:
disable = no
Populating the TFTP directory share
Use the /tftpboot directory from the
“Setting up a TFTP server” (page 12)
section as the directory
where TFTP clients get their files. To populate the TFTP directory share:
1.
Create a /tftpboot directory, if needed.
2.
Copy the necessary boot files to the /tftpboot directory:
•
pxelinux.0
(the SYSLINUX binary used for PXE boot)
•
initrd.img
(the Linux file system)
•
vmlinuz
(the Linux kernel)
3.
Create a pxelinux configuration file subdirectory called /tftpboot/pxelinux.cfg.
4.
Copy the default file (the boot configuration used by pxelinux.0) into the /tftpboot/
pxelinux.cfg/
directory.
The tftpboot directory should now contain the following items:
/tftpboot/pxelinux.0
/tftpboot/initrd.img
/tftpboot/vmlinuz
/tftpboot/pxelinux.cfg/default
Setting up a DHCP server
To set up a DHCP server, create and edit a dhcpd.conf file in the /etc directory of your server.
The following is a sample dhcpd.conf file:
allow booting;
allow bootp;
ddns-update-style interim;
[You must customize the file by inserting the appropriate DHCP directives, IP ranges, subnet masks,
and so on here.]
next-server IP_ADDRESS_OF_TFTP_SERVER;
filename "pxelinux.0";
The next-server command tells the DHCP client where to send the TFTP get request.
The filename command tells the DHCP client which file to get. In this example, the file is
pxelinux.0
.
When you have finished creating the dhcpd.conf file, restart the DHCP server:
/etc/init.d/dhcpd restart
Booting using PXE
13
- ProLiant BL465c Server Blade ProLiant BL2x220c G5 Server-Blade ProLiant BL2x220c G6 Server-Blade ProLiant SL390s G7 Server ProLiant BL280c G6 Server-Blade ProLiant ML370 Server ProLiant DL360p Gen8 Server ProLiant BL680c G5 Server-Blade ProLiant BL480c Server-Blade ProLiant DL370 G6 Server ProLiant SL230s Gen8 Server ProLiant SL250s Gen8 Server ProLiant SL335s G7 Server ProLiant BL260c G5 Server-Blade ProLiant DL365 G5 Server ProLiant BL490c G6 Server-Blade ProLiant BL460c Gen8 Server Blade ProLiant ML350 Server ProLiant DL160 Gen8 Server ProLiant DL585 Server ProLiant BL620c G7 Server-Blade ProLiant ML330 G6 Server ProLiant BL685c Server-Blade ProLiant DL320 Server ProLiant BL680c G7 Server-Blade Intelligent Provisioning ProLiant DL120 G7 Server ProLiant BL495c G6 Server-Blade ProLiant DL580 Server ProLiant DL380p Gen8 Server ProLiant BL2x220c G7 Server-Blade ProLiant DL785 G6 Server ProLiant BL460c Server-Blade ProLiant BL495c G5 Server-Blade ProLiant BL490c G7 Server-Blade ProLiant DL360 Server ProLiant ML310 G5 Server ProLiant DL385 Server ProLiant DL785 G5 Server ProLiant ML350p Gen8 Server