Nested VM in Vmware

  • How to provision nested ESXi hosts on free ESXi 5.5
    1. Create a Other 64bit VM
    2. Change the HW version to version 9 in command line
      • vim-cmd vmsvc/getallvms (check the VM’s ID)
      • vim-cmd vmsvc/upgrade vmid vmx-09
    3. Enable VHV in the vmx file
      • echo vhv.enable = \"TRUE\">> vESXi.vmx
      • vim-cmd vmsvc/reload vmid
    4. Enable “Promiscuous Mode" in the vSwitch
  • vSphere 5.1 Lab – Nested ESXi 5.1 (more complex method)
  • How to Enable Nested ESXi & Other Hypervisors in vSphere 5.1
    • Intel EPT or AMD RVI is required for running nested 64-bit VMs
    • Check compatibility from ESXi:
      • https://[your-esxi-host-ip-address]/mob/?moid=ha-host&doPath=capability
    • Optional: guestOS = “vmkernel5″
    • Hide the VM status from other Hypervisor: hypervisor.cpuid.v0 = FALSE
  • Nested VM (VMware/Hyper-V inside VMware)
    • Veeam Blog – Nesting Hyper-V with VMware Workstation 8 and ESXi 5
      VMware Workstation 8.0 and ESXi 5.0

      • ESXi 5.0
        • ESXi Server Level:
          • echo ‘vhv.allow = “TRUE" ‘ >> /etc/vmware/config
        • VM any OS type is ok, not necessary set the type to ESXi
        • VM set Configuration Parameters
          • echo ‘monitor.virtual_exec = “hardware" ‘ >> Hyper-V.vmx
          • echo ‘hypervisor.cpuid.v0 = “FALSE" ‘ >> Hyper-V.vmx
        • VM settings > Options > CPU/MMU Virtualization
          • use Intel EPT / AMD RVI
        • VM Options area > CPUID Mask click on Advanced
          • Add to Level 1 ecx: —- —- —- —- —- —- –H- —-
    • How to Enable Nested ESXi & Other Hypervisors in vSphere 5.1
      • ESXi 5.1
        • Hardware Version 9 required
        • Global vhv.allow = “TRUE" replaced by vhv.enable = “true"

發表迴響 (評論)