Default Reasoning

Construction of sensible guesses when some useful information is lacking and no contradictory evidence is present…

  • Subscribe

  • Disclaimer

    This blog is personal. The views and opinions expressed here represent my own and not those of the people, institutions or organizations that I may or may not be related with unless stated explicitly. All blog post, white papers and manuals were written during the projects, mostly at a customer site and are scenario specific. Use at your own risk.
  • Meta

VMs on nested ESXi 5.x host will not start after upgrade to ESXi 5.1

Posted by Marek.Z on 2 November 2012

Recently I upgraded my physical server to ESXi 5.1 and I have been running different VMs on it without any issues. Unfortunately, when I powered on my whole vCenter Site Recovery Manager infrastructure and tried to power on some x64-bit VMs, I received the following error message. 

Checking all the settings didn’t reveal any misconfiguration or what so ever so this has to do with upgrade of my home lab server to ESXi 5.1. I found this article “Having Difficulties Enabling Nested ESXi in vSphere 5.1?” by William Lam where he explains what has been changed regarding the Virtual Hardware Virtualization (VHV) in vSphere 5.1. If you follow this blog you should be able to quickly create a new nested ESXi host on your hardware.

Okay, that is for new ESXi VMs. What about existing ESXi ones? Well, take a look at this quick and simple procedure how to enable VHV on your existing ESXi hosts.

  1. First of all, like William stated in his blog, “This is not officially supported by VMware” so use it at your own risk!
  2. In your vCenter Server, power off and remove the nested ESXi host from the inventory.
  3. Open the datastore containing the host and download the .vmx flie to your desktop.
  4. Open the .vmx file and add the vhv.enable = “TRUE” parameter at the end of the file. Save it.
  5. Delete the old .vmx file from the datastore.
  6. Upload the modified .vmx file back to the datastore.
  7. Register the VM back in the vCenter Server.
  8. Select the correct location, cluster and host.
  9. Verify that Hardware Virtualization is now enabled. Edit settings, expand the CPU menu and verify that Expose hardware assisted virtualization to the guest OS is now checked.
  10. Power on the nested ESXi host.
  11. Repeat the process for every nested ESXi host in your vCenter Server.

When your nested infra is up and running the x64-bit VMs should start without any errors.


- Marek.Z

About these ads

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.

Join 614 other followers

%d bloggers like this: