Red Hat SATELLITE 5.3.0 RELEASE NOTES Przewodnik Instalacji Strona 15

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 14
Bare Metal
15
8.1.2.1. Configuring an External DHCP Server
To configure your DHCP server (assuming you are using ISC DHCPd) to point to the PXE server,
simply add the following to your configuration in /etc/dhcpd.conf:
next-server satellite.example.com;
filename "pxelinux.0";
Replace satellite.example.com with your Satellite Server's FQDN. After restarting your dhcp
server, any clients that attempt to PXE boot will try to use the Satellite server as its PXE server.
You may want to assign the next-server only for a particular subnet or set of computers. Refer to the
documentation on your DHCP server for information.
8.1.2.2. Enabling the TFTP server
As part of the Satellite installation itself, the TFTP server should be enabled. You can check this by
running:
chkconfig --list tftp
You can enable it by running:
chkconfig tftp on
service xinetd restart
8.1.2.3. Cobbler configuration
Cobbler is already set up to generate pxe configurations, but you may want to adjust the
pxe_just_once configuration option depending on how your machines BIOSes are configured, for
the best possible PXE workflow.
A common setup has PXE occur first in the BIOS order, effectively not booting off the local disk unless
the PXE server instructs the system to do so remotely. By having pxe_just_once: 1 (enabled) in /
etc/cobbler/settings, it will prevent "boot loops" where the system continually reinstalls. What
happens is that the $kickstart_done macro in the kickstart templates will expand into a directive
that indicates to the cobbler server that the system will then boot locally, instead of booting from the
network. Then, to reinstall the system, the netboot-enabled flag on the system can be toggled
back on via the Satellite GUI or Cobbler. Once enabled, the next time the system power cycles it will
PXE install instead of booting locally. At the end of each install, the server will trip the netboot-enabled
flag back to off again to tell the system to boot to the local hard drive the next time it powers up. Note
that if your kickstart is missing the $kickstart_done line in %post, this will not work, and boot loops
will occur.
With pxe_just_once set to 0, the netboot enabled flag will not be disabled after an install, so if PXE
is first in your BIOS boot order, the system will loop indefinitely. If you have the BIOS of the system set
up to boot to local hard drives first, though, there is no need to set pxe_just_once enabled, but to
re-PXE a system it is then neccessary to zero out the MBR of that system.
Przeglądanie stron 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 29 30

Komentarze do niniejszej Instrukcji

Brak uwag