VMware VS4-ENT-PL-A Setup Guide - Page 134
About the TFTP Server, PXELINUX, and, Sample DHCP Configuration
View all VMware VS4-ENT-PL-A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 134 highlights
vSphere Installation and Setup Prerequisites Verify that your environment has the following components: n The ESXi installer ISO image downloaded from the VMware Web site. n TFTP server that supports PXE booting with PXELINUX. See "About the TFTP Server, PXELINUX, and gPXE," on page 129. n DHCP server configured for PXE booting. See "Sample DHCP Configuration," on page 130. n PXELINUX n Server with a hardware configuration that is supported with your version of ESXi. See the Hardware Compatibility Guide at http://www.vmware.com/resources/compatibility/search.php. n Network security policies to allow TFTP traffic (UDP port 69) n (Optional) Installation script, the kickstart file. See "About Installation and Upgrade Scripts," on page 144. n Network adapter with PXE support on the target ESXi host n IPv4 networking. IPv6 is not supported for PXE booting. Use a native VLAN in most cases. If you want to specify the VLAN ID to be used with PXE booting, check that your NIC supports VLAN ID specification. Procedure 1 Create the /tftpboot/pxelinux.cfg directory on your TFTP server. 2 On the Linux machine, install PXELINUX. PXELINUX is included in the SYSLINUX package. Extract the files, locate the file pxelinux.0 and copy it to the /tftpboot directory on your TFTP server. 3 Configure the DHCP server. The DHCP server sends the following information to your client hosts: n The name or IP address of your TFTP server. n The name of your initial boot file. This is pxelinux.0. 4 Copy the contents of the ESXi installer image to the /var/lib/tftpboot directory on the TFTP server. 5 (Optional) For a scripted installation, in the boot.cfg file, add the kernelopt option on the next line after the kernel command, to specify the location fo the installation script. In the following example, XXX.XXX.XXX.XXX is the IP address of the server where the installation script resides. kernelopt=ks=http://XXX.XXX.XXX.XXX/esxi_ksFiles/ks.cfg 6 Copy the isolinux.cfg file from the ESXi installer ISO image to the /tftpboot/pxelinux.cfg directory. The isolinux.cfg file contains the following code, where XXXXXX is the build number of the ESXi installer image: DEFAULT menu.c32 MENU TITLE ESXi-5.x.x-XXXXXX-full Boot Menu NOHALT 1 PROMPT 0 TIMEOUT 80 LABEL install KERNEL mboot.c32 APPEND -c location of boot.cfg 134 VMware, Inc.