28.2 What Is the Preboot Execution Environment (PXE)?

The following sections provide information on using PXE in Linux Management:

28.2.1 Understanding How Preboot Services Uses PXE

PXE uses DHCP (Dynamic Host Configuration Protocol) and TFTP (Trivial File Transfer Protocol) to locate and load bootstrap programs from the network. The PXE environment is loaded from the BIOS on the NIC.

In ZENworks Linux Management, Preboot Services uses PXE to discover if there is Preboot Services work specified for a device and to provide the device with the files necessary to execute the assigned work.

Using Preboot Services, you can automatically place an image on a device, even if the device’s hard disk is blank. You do not need to use the CD or DVD, or a ZENworks partition on the device.

28.2.2 Understanding the ZENworks NBPs

The Intel PXE specification defines mechanisms and protocols that allow PXE devices to use their network interface cards (NICs) to find bootstrap programs located on network servers. In the PXE specification, these programs are called Network Bootstrap Programs (NBPs).

NBPs are analogous to the bootstrap programs found in the Master Boot Records (MBRs) of other boot media, such as hard drives, floppy disks, CDs, and DVDs. The purpose of a bootstrap program is to find and load a bootable operating system. MBRs on traditional boot media accomplish this by locating the necessary data on their respective media. NBPs accomplish this by using files found on network servers, usually TFTP servers.

ZENworks Preboot Services uses two separate NBPs working together:

nvlnbp.sys

This NBP has the following responsibilities:

  • Detect various SMBIOS parameters and local hardware

  • Read the ZENworks identity information from the hard drives

  • Communicate with novell-zmgprebootpolicy to determine if there is any preboot work applicable to the device

  • Present and manage the Preboot Services menu

  • If necessary, launch pxelinux.0 to execute the assigned preboot work

pxelinux.0

The primary purpose of this NBP is to load the operating system that is required to execute the assigned preboot work.

The pxelinux.0 file is a modified version of part of an open source project called syslinux. Although pxelinux.0 is primarily a Linux loader, it is capable of loading other operating systems. It operates by using configuration files located on a TFTP server to provide boot instructions. The various pxelinux.0 configuration files used by Linux Management can be found on your imaging server in the /srv/tftp directory.

In Linux Management, when PXE devices are assigned preboot work, they are also told which pxelinux.0 configuration file they should use to execute that work. Similarly, when using the Preboot Services Menu, each menu option corresponds to a pxelinux.0 configuration file. For more information, see Section 29.3.4, Editing the Preboot Services Menu.

For more information on pxelinux.0 and its configuration files, see the syslinux home page.

For a copy of the Novell modifications to the syslinux open-source project, see Novell Forge.

28.2.3 Preparing to Use PXE

Before you can use Preboot Services with PXE, you need to do the following:

  1. Install ZENworks 7.2 Linux Management on your imaging server. For more information, see the Novell ZENworks 7.2 Linux Management Installation Guide.

  2. Enable PXE on your ZENworks Linux Management devices. For more information, see Section 29.6, Enabling PXE on Devices.

  3. Have a standard DHCP server, either on your imaging server or on another network server. For more information, see Configuring LAN Environments for Preboot Services.