Preboot Execution Environment (PXE)The Preboot Execution Environment, or PXE, is a direct form of network boot that can be used to install the Solaris Operating Environment over the network using DHCP. It does not require the client to have any form of local boot media. PXE is only available to x86 systems that implement the Intel Preboot Execution Environment specification. You will need to consult the hardware documentation for your system to determine whether or not it supports the PXE network boot. To use PXE, you need three systems. These are as follows:
Note Only One DHCP ServerYou must make sure that there is only one DHCP server on the same subnet as the PXE client because the PXE network boot does not work properly on a subnet containing multiple DHCP servers. Preparing for a PXE Boot ClientAs you saw in the previous section, three systems are required in order to be able to make use of the PXE network boot. The first of these is the install server. Setting up the install server is described earlier in this chapter in the section "The Install Server." The procedure for an x86 install server is the same, but you will be storing x86 CD images instead of SPARC. Note You Can Still Use SPARCEven though you are setting up an x86 installation, you can still use a SPARC system as your install server if you wish. All it does is share the CD images over the network, and a single install server can serve both SPARC and x86 clients. Remember that you cannot run setup install server on a SPARC system using an x86 CD, or vice versa, but you can from a DVD. The third system is also very straightforward because you have to consult your hardware documentation to verify whether PXE network boot is supported by the BIOS. It is worth investigating whether an upgrade to the BIOS firmware is necessary as well. It is the second of these systems that requires the most work. Configuring a DHCP server is beyond the scope of this exam and is covered completely in the Solaris 10 Network Administrator Exam (Exam 310-302). It is necessary, however, to create some vendor class macros so that the correct configuration information is passed to the client when booting across the network. Note DHCP Already ConfiguredYou should note that a working DHCP server should already be configured. The details described in this section merely configure some parameters within the DHCP server. Configuring the DHCP ServerThere are a few parameters that need to be configured to ensure that the client, when booted, has all the information it requires in order to boot successfully, and then access the install server containing the correct CD images, required for the installation of the Solaris Operating Environment. Table 14.25 lists some of the most common parameters.
The fields are described here:
You can add these symbols to the DHCP server using either the command dhtadm or the GUI-based dhcpmgr commands. The example here shows how to add a symbol (SrootIP4) and Vendor Client Class (SUNW.i86pc) to the achilles macro using the GUI-based dhcpmgr.
When the macro and symbols have been configured, the DHCP server is ready to handle the client correctly when it boots across the network. Adding an x86 Client to Use DHCPHaving configured the DHCP server, the only remaining task is to add the client to the install server. This is carried out using the add_install_client command, virtually the same as for a custom JumpStart, but this time the majority of the configuration information will be supplied by the DHCP server. The following command adds support for the SUNW.i86pc class of system: # cd /export/install/x86pc/Tools # ./add_install_client -d SUNW.i86pc i86pc Booting the x86 ClientWhen the install server and the DHCP server have been configured correctly and the x86 client has been added, the only remaining thing to do is to boot the x86 client to install over the network. The way in which this is done depends on the hardware that you have, but usually one of the following will have the desired effect:
The system should start booting from the network and should prompt you for the type of installation you want to run. The remainder of the installation process depends on which installation type you choose. Note Set Boot Options BackRemember when the installation finishes and the system reboots, to re-enter the system BIOS and restore the original boot configuration. |