62
Chapter 4. Red Hat Network Website
4.4.10. Kickstart
To satisfy the provisioning needs of customers, RHN provides this interface for developing kickstart
profiles by which new systems may be built. This enables systems to be installed to particular speci-
fications automatically.
Warning
Since RHN Proxy Servers direct files from the central RHN Servers, and those servers do not dis-
tribute the files necessary for kickstart, systems connected to a Proxy not being served by an RHN
Satellite Server must be kickstarted using an external installation tree. Refer to Section 4.4.10.8
Distributions
for instructions on setting up installation trees.
4.4.10.1. Kickstart Prerequisites
Although Red Hat Network has taken great pains to ease the provisioning of systems, some prepara-
tion is still required for your infrastructure to handle kickstarts. For instance, before creating kickstart
profiles, you should have:
•
Installed and have running a DHCP server.
•
Installed and have running a TFTP server.
•
Configured DHCP to assign required networking parameters and the bootloader program location.
•
Specified within the bootloader configuration file the kernel to be used and appropriate kernel op-
tions.
For a decription of the innerworkings of the kickstart process, refer to Section 4.4.10.2
Kickstart
Explained
.
4.4.10.2. Kickstart Explained
When a machine is to receive a network-based kickstart, the following events must occur in this order:
1. After being placed on the network and turned on, the machine’s PXE logic broadcasts its MAC
address and a request to be discovered.
2. The DHCP server recognizes the discovery request and extends an offer of network information
needed for the new machine to boot. This includes an IP address, the default gateway to be used,
the netmask of the network, the IP address of the TFTP server holding the bootloader program,
and the full path and filename of that program (relative to the TFTP server’s root).
3. The machine applies the networking information and initiates a session with the TFTP server to
request the bootloader program.
4. The bootloader, once loaded, searches for its configuration file on the TFTP server from which it
was itself loaded. This file dictates which kernel and kernel options, such as the initial RAM disk
(initrd) image, should be executed on the booting machine. Assuming the bootloader program
is SYSLINUX, this file will be located in the
pxelinux.cfg
directory on the TFTP server and
named the hexadecimal equivalent of the new machine’s IP address. For example, a bootloader
configuration file for Red Hat Enterprise Linux AS 2.1 should contain:
port 0
prompt 0
timeout 1
default My_Label
label My_Label
Содержание NETWORK 3.2 - PROVISIONING
Страница 1: ...Red Hat Network 3 2 Provisioning Reference Guide...
Страница 6: ......
Страница 16: ...6 Chapter 1 What is Red Hat Network...
Страница 48: ...38 Chapter 3 Red Hat Network Alert Notification Tool...
Страница 106: ...96 Chapter 6 Red Hat Network Registration Client...
Страница 114: ...104 Appendix A Command Line Config Management Tools...
Страница 118: ...108 Appendix B RHN API Access...
Страница 124: ...114 Glossary...