It’s been awhile that I wrote an article on VMware since I am occupied with the 70-533 Azure series, which you can find here if you are interested.
I had to recently build a few Hyper-V Virtual Machines in my lab setup since I was testing the Rubrik software. I have a single physical ESXi and I am going to running Hyper-V on VMware ESXi.
In this example, I am using a Windows Server 2016 as my host, so the steps might slightly vary for an older version of Windows Server by editing the vmx file.
So let us start from scratch. I am connected to my physical ESXi host using the Embedded Host Client since this is recommended by VMware and the C# is deprecated with ESXi 6.5 officially, but I still find it to work.
You can connect to the Embedded Host Client by using any browser and connecting to the below URL.
https:///<IP address of ESXi>/ui
Once connected, click on Virtual Machines section and select Create/Register VM.
This will bring the New Virtual Machine Wizard. Select Create a New Virtual Machine option and select Next.
Provide a name for the Virtual Machine and select the below options.
- Compatibility: Latest version of ESXi
- Guest OS Family: Windows
- Guest OS Version: Microsoft Windows Server 2016 (64 bit)
Select the datastore on which this VM will reside and click Next.
Select the default configs for now and make sure that the disk provisioning type is Thin since you want to save space on the datastore.
Also, I am attaching the Windows Server 2016 ISO image in this step by attaching the Datastore ISO image that I have already uploaded to one of my datastores.
Review the options that you have selected and click Finish to deploy the VM.
Once the VM is deployed, click on Edit Settings.
Expand the CPU section as shown below and Check the box Expose hardware-assisted virtualization to the guest OS.
Boot the Virtual Machine and make sure that you deploy the Datacenter Edition with the GUI since we are trying to learn Hyper-V concepts by deploying this VM.
Go through the standard Windows installation process. Once done, install the VMware Tools as a best practice and in my case, I have assigned a static IP address and also joined this machine to my AD Domain.
Once all of this done, Click on Add Roles from Server Manager and select the Hyper-V role and Include the Add Features option as well which will help us with Management of the Hyper-V server as shown below.
Go through the process of installing the Role and reboot the Virtual Machine.
Once the VM is rebooted, select the Hyper-V Manager from the Tools section of the Server Manager.
As seen below, you will now be able to deploy VM inside the nested Hyper-V Virtual Machine. Talk about VM Inception! 😀
Now that I will be exploring Hyper-V, expect some articles on this topic.
I hope this has been informative and thank you for reading!