Hyper-V nested at ESXi 6.0

I know it's a weird scenario but you may need to run Hyper-V on an ESXi server for testing purposes. Let's make an example:you have an ESXi 6.0 node with a Windows Server 2012 R2 running on it.

You need to install Hyper-V, but you can't! Because your hardware configuration doesn't support virtualization on hypervisor.

To able to run nested Hyper-V hosts, you need to follow the below steps:

1. Power Off the virtual machine.

2. Remove it from the inventory (it won't be deleted)


3. Locate the VM folder on datastore, download the server .vmx file to your desktop.

4. Using Notepad++ to open the .vmx file and add two below options at the end of file. Save the file.

hypervisor.cpuid.v0="FALSE"
vhv.enable="TRUE"

5. Upload the file back to datastore.

6. Add to inventory/Register the vm again


7. Right click on VM and select Edit Settings, on Virtual Hardware tab, collapse CPU and change CPU/MMU virtualization option to Hardware CPU and MMU.



8. Click Ok to save new settings.

9. Power on VM and please add Hyper-V role.

Comments

Popular posts from this blog

Configure & Install WMIC for Observium

Zabbix Proxies on CentOS 7

Join CentOS 7 into Active Directory using realm and sssd