HowTo: Install Nested ESXi 5.5

HowTo: Install Nested ESXi 5.5

 

  1. Enable Promiscuous Mode on the vSwitch
  2. Edit ESXi : echo ‘vhv.allow = “TRUE”‘ >> /etc/vmware/config
    • Check [nestedHVSupported boolean true – https://your-esxi-ip-here/mob/?moid=ha-host&doPath=capability
  3. Use the Web Client to Create a VM:
    • 2 vCPUS
    • 16 GB RAM
    • 4 GB HD (LSI Logic Parallel)
    • 2 NICS (Driver E1000)
    • Options CPU/MMU Vitulization (Select 4 the option)
    • Guest OS : Other / VMware ESXi 5.x
    • Hardware virtualization : Expose hardware assisted virtualization to the guest OS

    • To enable virtualized HV, use the web client and navigate to the processor settings screen. Check the box next to “Expose hardware-assisted virtualization to the guest operating system.” This setting is not available under the traditional C# client.

  4. Edit the .vmx and echo ‘vhv.enable = “TRUE”‘ >> *.vmx
  5. Check all the settings if you get the following error at ESXi Install:<HARDWARE_VIRTUALIZATION WARNING: Hardware Virtualization is not a feature of the CPU, or is not enabled in the BIOS>
  6. update ESXi
  7. Install VMware Tools VIB
    • [source language=”bash”]</li>
      <li>esxcli system maintenanceMode set -e true
      esxcli software vib install -v /vmfs/volumes/[VMFS-VOLUME-NAME]/esx-tools-for-esxi-9.7.0-0.0.00000.i386.vib -f
      esxcli system shutdown reboot -r “Installed VMware Tools”</li>
      <li>[/source]

    • [source language=”bash”]</li>
      <li>esxcli network firewall ruleset set -e true -r httpClient
      esxcli software vib install -v http://download3.vmware.com/software/vmw-tools/esxi_tools_for_guests/esx-tools-for-esxi-9.7.0-0.0.00000.i386.vib -f</li>
      <li>[/source]

  8. Inject the VMware Tools VIBs into the ISO
  9. Clone to Template
    1. [source language=”language=”]</li>
      <li>esxcli system settings advanced set -o /Net/FollowHardwareMac -i 1</li>
      <li>open <b>esx.conf </b>and delete the entire <b>/system/uuid</b></li>
      <li> run /sbin/auto-backup.sh</li>
      <li>esxcli storage vmfs snapshot resignature -l [VMFS-VOLUME]</li>
      <li>[/source]

 

 

Reference : –

  • https://communities.vmware.com/docs/DOC-8970
  • http://www.v-front.de/2014/01/how-to-provision-nested-esxi-hosts-on.html
  • http://tsmith.co/2012/vsphere-5-1-lab-nested-esxi-5-1/
  • http://www.virtuallyghetto.com/2013/11/w00t-vmware-tools-for-nested-esxi.html
  • http://www.virtuallyghetto.com/2013/12/how-to-properly-clone-nested-esxi-vm.html

Leave a Reply