VMware nested guests 64bit VM ??

星期六, 17th 十二月 2011

??????VMware??????nested VM, ??????, ????????VM->VM->VM??????????.



???          ???          ???                     ???
ESXI5          vESXI5          Win2k8 Hyper-V      ??????x64?CentOS VM

Intel VT-x     nested 64     64bit ?????

?????????????????OS, ??hyper-v???????

???          ???          ???                     ???
ESXI5          vESXI5        vvESXI5                 ??????32bit?CentOS VM

Intel VT-x    nested 64     64bit ????         32bit

G6950 x1
300G HDD


  1. ??ESXI5
  2. Configure a vSwitch and/or Port Group to have Promiscuous Mode enabled
  3. Create a second Port Group named “Trunk” with VLAN ID All (4095) if you want to use VLANs on virtual hypervisors
  4. Log in to Tech Support Mode (iLO or ssh) and make the following tweak to enable nested 64-bit guests
    									echo 'vhv.allow = "TRUE"' >> /etc/vmware/config
  5. 	Vsphere 5.1????vhv.enable = "true"
  6. 							?????????????nested guest??	
  1. ????Guest OS: Linux / Red Hat Enterprise Linux 5 (64-bit)?VM
  2. ?????edit, ??????????other , ESXI5
    CPU/MMU Virtualization: Use Intel VT … EPT… ( bottom radio button)
  3. ??vESXI5 
  4. ??????vESXI5?????64bit?????


  1. ???????????vvESXI5, ?? cpu??????virtualzation, ???????????VM??????
  2. vvESXI5??????????????32bit????????

Nesting "Other" Hypervisors

For those of you who feel inclined to run other hypervisors such as Hyper-V, you can do so with latest release of ESXi 5.1. The process if very straight forward just like running nested ESXi host.

Step 1 - Create a Virtual Hardware 9 VM and select the appropriate guestOS. In this example, I selected Windows Server 2012 (64-bit) as the guestOS version.

Step 2 - Enable VHV under the CPU section if you wish to create and run nested 64-bit VMs under Hyper-V

Step 3 - You will need to add one additional .vmx parameter which tells the underlying guestOS (Hyper-V) that it is not running as a virtual guest which in fact it really is. The parameter is hypervisor.cpuid.v0 = FALSE