18.08.2013 Views

vSphere Installation and Setup - Documentation - VMware

vSphere Installation and Setup - Documentation - VMware

vSphere Installation and Setup - Documentation - VMware

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>vSphere</strong> <strong>Installation</strong> <strong>and</strong> <strong>Setup</strong><br />

n DHCP server configured for PXE booting. See “Sample DHCP Configuration,” on page 20.<br />

n PXELINUX<br />

n Server with a hardware configuration that is supported with ESXi 5.1. See the Hardware Compatibility<br />

Guide at http://www.vmware.com/resources/compatibility/search.php.<br />

n Network security policies to allow TFTP traffic (UDP port 69)<br />

n (Optional) <strong>Installation</strong> script, the kickstart file. See “About <strong>Installation</strong> <strong>and</strong> Upgrade Scripts,” on<br />

page 50.<br />

n Network adapter with PXE support on the target ESXi host<br />

n IPv4 networking. IPv6 is not supported for PXE booting.<br />

Use a native VLAN in most cases. If you want to specify the VLAN ID to be used with PXE booting, check that<br />

your NIC supports VLAN ID specification.<br />

Procedure<br />

1 Create the /tftpboot/pxelinux.cfg directory on your TFTP server.<br />

2 On the Linux machine, install PXELINUX.<br />

PXELINUX is included in the SYSLINUX package. Extract the files, locate the pxelinux.0 file <strong>and</strong> copy it<br />

to the /tftpboot directory on your TFTP server.<br />

3 Configure the DHCP server to send the following information to each client host:<br />

n The name or IP address of your TFTP server.<br />

n The name of your initial boot file. This is pxelinux.0.<br />

4 Copy the contents of the ESXi installer image to the /var/lib/tftpboot directory on the TFTP server.<br />

5 (Optional) For a scripted installation, in the boot.cfg file, add the kernelopt option on the line following<br />

the kernel comm<strong>and</strong>, to specify the location of the installation script.<br />

Use the following code as a model, where XXX.XXX.XXX.XXX is the IP address of the server where the<br />

installation script resides, <strong>and</strong> esxi_ksFiles is the directory containing the ks.cfg file.<br />

kernelopt=ks=http://XXX.XXX.XXX.XXX/esxi_ksFiles/ks.cfg<br />

6 Create a PXE configuration file.<br />

This file defines how the host boots when no operating system is present. The PXE configuration file<br />

references the boot files. Use the following code as a model, where XXXXXX is the build number of the ESXi<br />

installer image.<br />

DEFAULT menu.c32<br />

MENU TITLE ESXi-5.x.x-XXXXXX-full Boot Menu<br />

NOHALT 1<br />

PROMPT 0<br />

TIMEOUT 80<br />

LABEL install<br />

KERNEL mboot.c32<br />

APPEND -c location of boot.cfg<br />

MENU LABEL ESXi-5.x.x-XXXXXX-full ^Installer<br />

LABEL hddboot<br />

LOCALBOOT 0x80<br />

MENU LABEL ^Boot from local disk<br />

7 Name the file with the MAC address of the target host machine: 01-mac_address_of_target_ESXi_host.<br />

For example, 01-23-45-67-89-0a-bc.<br />

22 <strong>VMware</strong>, Inc.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!