Nest VMware ESXi on Nutanix AHV
I recently worked on an issue where I needed access to both ESXi and AHV. I didn’t have enough resources available to me to have both setup and I didn’t want to blow away my lab to make it happen. So, I decided to deploy an ESXi VM on my AHV cluster.
In order for this to work, we will need to enable cpu passthrough on the VM, as well as setup an e1000 NIC and IDE disks.
First off, upload your ESXi ISO’s to the image store and then create a new VM. Below is what I used, but you can setup the resources however you like. buy provigil online india Do not add a new disk or NIC in the wizard. We will do that via ACLI.
- Name: ESXi
- vCPU: 1
- Cores: 8
- Memory: 64GB
- Disk 1: ESXi ISO
SSH into a CVM and launch ACLI by typing acli and pressing enter.
For AOS 5.9 and below, enter the following commands inside the acli shell.
1 2 3 4 |
vm.nic_create ESXi network="Primary" model=e1000 vm.update ESXi cpu_passthrough=true vm.disk_create ESXi container=Default create_size=8G bus=ide index=1 vm.disk_create ESXi container=Default create_size=100G bus=ide index=2 |
For AOS 5.10 and newer, enter the following commands inside the acli shell.
1 2 3 4 |
vm.nic_create ESXi model=e1000 network=vlan0 vm.update ESXi cpu_passthrough=true vm.disk_create ESXi container=Default create_size=8G bus=ide index=1 vm.disk_create ESXi container=Default create_size=100G bus=ide index=2 |
Power on your VM, walk through the ESXi deployment wizard and you’re done!
Shrīgonda References