In my job I spend most of my days on-site with customers or in a classroom teaching for VMware. I have found it convenient to carry my lab with me. I have a laptop with a quad core i7, 32 GB of RAM and 1 TB combined of SSD and Hybrid drives. The laptop running VMware Workstation has made an effective mobile lab. AS it stands now, I have windows 2008 R2 and 2012 R2 domain controllers configured to provide AD, DNS, DHCP and CA services. Additionally I have a MS SQL 2012 server and vCenter 6 server. In this article I am going to go through the process I followed to deploy an ESXi 6 VM.
Creating a new VM for ESXi 6
On the Guest OS Installation page, browse to your ESXi 6 ISO.
Click Next >. Notice that The OS was detected! If we chose I will install the operating system later, the next page in the wizard select ESX Server and VMware vSphere 2015 Beta for the version.
On the Network Type page, I selected Use host only networking so that the VM would get an IP address with existing management VM DHCP server and use the private DNS and AD that are already configured on a private vmnet.
Accept the default selection of the LSI Logic adapter.
On the Specify Disk Capacity page, I took the defaults. I could have lowered the size to 5GB and still met the recommended minimum disk size for ESXi 6. Additionally, I kept the default Split virtual disk into multiple files.
On the Ready to Create Virtual Machine page, I select Customize Hardware… so I can configure the VM’s NIC connection for the specific private vmnet I use for accessing management VMs and infrastructure services.
On the VM’s Hardware page, I selected the CD/DVD device, then under Device status, I removed the check from the Connect at power on so I could power on the VM without starting the deployment of ESXi. This allows me to get the MAC address that is assigned to the VM’s NIC so that I can configure a DHCP reservation and the associated DNS A and PTR records.
I select the Network Adapter from the device list. In the Network connection section, I select Custom then selected VMnet2 from the list (because my management systems are on VMnet2). Note that the Device status shows a checkmark for Connect at power on.
Browse to the location of the ESXi6.vmx file and open it for editing. (VMware KB 1714- Tips for editing a .vmx file)
Notice that the .vmx file already contains the vhv.enable = “TRUE” setting required to run 64-bit VMs in the nested ESXi host. Previously this required a manual addition to the file (VMware KB 2034803 – Installing ESXi in VMware Workstation).
Close the .VMX file, then power on the virtual machine.
Then I created the DNS records
Back in the virtual machine settings, select the CD/DVD and check the box next to Connect at power on so the ISO image will be mounted when we power the VM back on.
That is it for part 1!. Next is the install and configuration of a ESXi 6