Populating The Tftp Directory Share; Setting Up A Dhcp Server - HP ProLiant DL320e User Manual

Hp scripting toolkit 9.30 for linux user guide
Hide thumbs Also See for ProLiant DL320e:
Table of Contents

Advertisement

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
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
14
Booting and OS installation
"Setting up a TFTP server" (page 13)
section as the directory

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proliant ml310eScripting toolkit for linux

Table of Contents