Category Archives: ScreenCast

Install ESXi5.0 from a CD or DVD Using a Script

In the previous post we saw how to interactively install ESXi, here I will show you how to install using script. Only difference between this method and interactive method is you do not need provide any inputs. Just one simple line pointing to ks.cfg file and all done.

What you need? i.e. pre-requisites

  1. IIS or any Webserver
  2. ISO image to burn it on CD/DVD (assuming you do not have ILO)

Configuration of IIS Server

  1. Install IIS using standard next next method. Nothing special there.
  2. Extract ESXi5.0 ISO image using ISO Buster
  3. Below is what it might look after extracting the imageimage
  4. Create a folder by name e.g. ESXi5 under C:\Inetpub\wwwroot\ as shown below and copy the above files or entire content of the CD image
  5. Create a answer file with name ks.cfg as shown below

#
# Sample scripted installation file
#
# Accept the VMware End User License Agreement
vmaccepteula
# Set the root password for the DCUI and Tech Support Mode
rootpw mypassword
# Install on the first local disk available on machine
install –firstdisk –overwritevmfs
# Set the network to DHCP on the first network adapater
network –bootproto=dhcp –device=vmnic0

# Reboot the OS but do not eject CD.

reboot –-noeject

  1. Copy the ks.cfg file into C:\Inetpub\wwwroot\ESXi5
  2. Start the server, ensure it boots from the CD as shown below and press enterimage
  3. When you see below screen press SHIFT + Oimage

  4. You get below screen, remove run runweasel by press backspaceimage

  5. Type the webserver address as shown belowimage
  6. Press Enter and watch the stuff.

fresh installation of esxi5.0 screencast

You can run the ESXi 5.0 installer from a CD/DVD or USB flash drive to do an interactive upgrade or migration.The installer works the same as for a fresh installation, but if you select a target disk that already contains an ESX/ESXi 4.x installation, the installer upgrades the host to 5.0, and gives you the option to migrate some existing host settings and configuration files, and preserve the existing VMFS data stores.

1. BOOT THE HARDWARE WITH ISO/DVD IMAGE

ScreenShot010

2. HARDWARE CHECK IS DONE, PRESS ENTER TO CONTINUE

ScreenShot011

3. ACCEPT EULA BY PRESSING F11

ScreenShot012

4.INSTALLER SCANS THE DEVICE, DETECTS HARDWARE PRESS ENTER TO CONTINUE

ScreenShot013

ScreenShot014

5. SELECT KEYBOARD

ScreenShot035

6.ENTER ROOT PASSWORD

ScreenShot036

7. WARNING IF VT IS ENABLED

ScreenShot037

8. CONFIRM INSTALLATION BY PRESSING F11 –FINAL STEP

ScreenShot038

9. INSTALLATION BEGINS AND COMPLETES IN 15 MINS

ScreenShot039

10. REBOOT THE SERVER AND ESXI5.0 IS READY

ScreenShot040

ScreenShot023

migration FROM CLASSIC ESX4.0 TO ESXI5.0 SCREEN CAST-post 01

ScreenShot002

CONFIGURATION –> PROCESSOR CHANGES (NO CHANGE)

ScreenShot025


CONFIGURATION –> MEMORY  CHANGES (changes in memory as it was ESX before and it comes ESXi after)

image

 

ScreenShot026


Datastore of ESX before migration

image

Datastore of ESXi after migration (Partition changed little bit)

image


DATASTORE SIZE BEFORE MIGRATION

image

LITERALLY NOT CHANGE IN SIZE AFTER MIGRATION

image