Monday, March 30, 2015

Choosing a NIC for your VM in VMware ESXI

If you let VMware to choose a network adapter automatically while creating a VM, it will select a compatible NIC type, but it may not be the one with better performance. Each generation of virtual network adapter has different features and performance levels. Considering ESXI 5 or higher versions, following are the list of network adapters available in order preference best to worst.

-VMXNET 3
-VMXNET 2 (Enhanced)
-E1000

Reference :
VMware 

How to run Hyper-V on a VM in Hyper-V

If you try to install Hyper-V role on a VM in Hyper-V, you will get an error message mentioning that, "Hyper-V cannot be installed : A hypervisor is already running". Follow the steps given in this blog to get it installed using PowerShell commands.

Note:
It is NOT recommended in a production environment. Use this only for self study and testing in labs. 

How to run Hyper-V on a VM in ESXI 5.5

You can now virtualize Hyper-V as a VM running on VMware ESXI 5.5. Initially if you try to install Hyper-V role, you will get an error message mentioning that, "Hyper-V cannot be installed". Follow the below steps to get it installed.

1. Enable CPU/ MMU virtualization in VM settings.


2. Power off the Hyper-V VM and remove it from inventory. Browse the data store and download the VMX configuration file of the VM and save to your local machine. Open it using WordPad and change the guestOS line to :

guestOS = “winhyperv”

Save the file and upload it back to data store. Now right click on the VMX file and add it to inventory. Power on the VM and install Hyper-V role. It must now get installed without any error.

Note :
It is NOT recommended in a production environment. Use this only for self study and testing in labs.