Adventures in Hugo

There is a thin line between agile and fragile

VMware vSphere Lab: Virtual Edition – Part 3

This is the third post in a series outlining how to set up your own little virtualized Virtual vSphere Lab, if you missed part one or part two, be sure to check them out first!

I’m going to assume that you already have VMware Workstation 7.x installed and ready. If not, get it installed before continuing.

Now that we have all the prerequisites in place, we’re going to go straight to installing the first ESXi host for your lab.

Installing ESXi in VMware Workstation 7.x

Fire up VMware Workstation, and select “New Virtual Machine”, which brings up the “Welcome to the New Virtual Machine Wizard”.

Select the “Typical” setting and click on “Next”. “Select the “Installer disc image file (iso):” option, click “Browse” and browse to the directory where you downloaded the ESXi ISO file. Select the “VMware-VMisor-Installer-xxx-xxxxx-x86_64.iso” file and click on “Open

This will return you to the “New Virtual Machine Wizard” screen, and it should have automatically detected that you have pointed it to an ESXi installer media.

Click on “Next” and the wizard will ask you to name the new virtual machine. Since this is the first ESXi instance I am installing, I decided to call it lab-esxi1, feel free to use your own naming conventions.

Next up is defining the disk capacity. ESXi has a minimum requirement of of 5 GB disk space, according to the ESXi Installable and vCenter Server Setup Guide pg. 24, but from experience it needs a lot less. I’ve set up this lab by using 2GB as the local disk size.

Click on “Next” again and you’ll get a summary view of the settings you have done. Make sure the “Power on this virtual machine after creation” option is ticked, and click “Finish

The installer should now start automatically when the newly created VM is started.

It will stop on the welcome screen, where you need to hit “Enter” to make the installation start.

Hit “Enter” and then “F11” to accept the EULA.

Next you will be presented with the “Select a Disk” window, and since we only have the 2GB drive we added during the New Virtual Machine wizard, we’ll just go with the default and click “Enter

Confirm the install by clicking “F11” and the installer will continue to actually install ESXi inside your new virtual machine.

When the installation finishes, you need to click “Enter” to make the virtual machine reboot and load ESXi for the first time. You should now disconnect the ISO file used to install it, since you need it available when you install your second host.

To do this, right click the “lab-esxi1” VM, and select settings.

Find “CD/DVD (IDE)” and clear the “Connect at power on” option.

Click “Ok” and you’re returned to the freshly installed ESXi host.

Find the yellow box below your VM console output and click on “I Finished Installing” to inform VMware Workstation that the installation procedure is indeed completed.

That completes the installation of your first ESXi host, inside VMware Workstation. Now, to cut some corners, repeat the steps above but call the VM “lab-esxi2” and we’ll have a two ESXi hosts ready for our lab environment.

In my lab environment, the whole installation of ESXi took a whopping 2 minutes and 41 seconds to complete, including going through the create a new VM wizard.

Next up, in part 4, installing a Windows Server 2008 R2 VM for VMware vCenter Server.