Nutanix

Install Nested Nutanix CE in VMware vSphere ESXi 6.7 Update 1

One of the great things about virtualization is “nested virtualization“. This is where you can run a hypervisor inside a virtual machine running on another hypervisor. One of the really cool things with the lab environment is playing around with other hypervisors. Recently, I started taking a look at installing Nutanix Community Edition inside of VMware vSphere. With just a bit of Googling and stepping through the process, I was able to get a good install of Nutanix CE running inside a VMware vSphere 6.7 Update 1 environment. Let’s take a look at how to install Nested Nutanix CE in VMware vSphere ESXi 6.7 Update 1 and take a look at the steps required to do this.

Downloading Nutanix CE

While we won’t detail how to get the Nutanix CE bits here, it is fairly straightforward by visting the following URL:

You will have go through the process of creating a community account (NEXT account) and verify your email address, etc. Basically, all of the normal stuff.

Getting the Nutanix VMDK Files Ready

I’m not going to go into overly detailed instructions for this part, however, once you download the Nutanix CE package from the community page, it will download as a tar.gz file. Extract this file.

The file that is extracted will end in an .img extension. Rename this file to a .vmdk extension. For me this was around an 8GB file. This is the flat VMDK, so we need to add a descriptor VMDK file.

There is a great post here from Virtuallifestyle that actually has a descriptor file available for download. This is the file that I used in the lab to get Nutanix CE loaded.

When you are finished with the prep work including downloading the file from Nutanix and then creating a VMDK descriptor file, you will have two files, similar to this.

After-downloading-the-Nutanix-CE-VMDK-and-creating-a-descriptor-file
After downloading the Nutanix CE VMDK and creating a descriptor file

Now the last thing to do for getting ready to install Nutanix in VMware ESXi 6.7 Update 1, is upload the files to your datastore. Create a folder for the VM and upload the two files there.

Install Nested Nutanix CE in VMware vSphere ESXi 6.7 Update 1

Let’s take a look at the steps to get a VM created to house the Nutanix CE install. Here I am using the vSphere 6.7 Update vSphere client to get the VM created and provisioned. Begin by creating a new virtual machine.

Creating-a-new-VMware-ESXi-virtual-machine-for-installing-Nutanix-CE
Creating a new VMware ESXi virtual machine for installing Nutanix CE

Choose a name and folder for the nested Nutanix CE VM.

Name-the-VM-and-select-the-folder-in-teh-datacenter-for-housing-it
Name the VM and select the folder in teh datacenter for housing it

Choose your compute resource for the Nutanix CE installation.

Select-the-compute-resource-in-your-vSphere-environment-for-Nutanix-CE-nested-installation
Select the compute resource in your vSphere environment for Nutanix CE nested installation

Choose a datastore. A note here, the two disks required for the Nutanix CE installation need to be at a minimum 500 GB and 200 GB. In the lab environment with NVMe storage, I am thin provisioning.

Select-the-datastore-to-house-the-Nutanix-CE-nested-VM
Select the datastore to house the Nutanix CE nested VM

Here, I am selecting ESXi 6.0 and later for the compatibility mode. For no other reason than some of the other posts on installing Nutanix CE in vSphere, I chose this compatibility level.

Select-the-compatibility-mode-for-the-Nutanix-CE-nested-isntallation
Select the compatibility mode for the Nutanix CE nested isntallation

For installing Nutanix CE, you need to choose Linux and CentOS 4/5 or later (64-bit).

Select-the-guest-OS-for-Nutanix-CE
Select the guest OS for Nutanix CE

Now, we being the list of things we need to do to customize the virtual hardware for the Nutanix CE installation. The minimum here is 4 vCPUs. Also, the same as needed with nested ESXi installations, you need to enable the Expose hardware assisted virtualization to the guest OS option.

Customizing-the-CPU-configuration-for-Nutanix-CE
Customizing the CPU configuration for Nutanix CE

Configure and add hard disks here for the minimums if you want here. The first hard disk here is 500 GB and the second is 200 GB. Again, I am thin provisioning.

Adding-the-required-hard-disks-for-the-Nutanix-CE-nested-installation-on-ESXi
Adding the required hard disks for the Nutanix CE nested installation on ESXi

For network compatibility, choose the E1000 adapter.

Configuring-the-network-connection-for-Nutanix-CE
Configuring the network connection for Nutanix CE

Finally, in the wizard, add a New SATA Controller. This is the controller we will attach the downloaded Nutanix CE VMDK to.

Adding-a-new-SATA-controller-for-mounting-the-downloaded-Nutanix-CE-VMDK

Finish out the wizard.

Finishing-the-initial-VM-creation-wizard-for-Nutanix-CE
Finishing the initial VM creation wizard for Nutanix CE

Edit the resulting VM and choose to Add New Device > Existing Hard Disk.

Adding-a-new-Hard-Disk-to-the-newly-created-Nutanix-CE-virtual-machine
Adding a new Hard Disk to the newly created Nutanix CE virtual machine

Browse and choose the Nutanix CE VMDK on your datastore.

Select-the-downloaded-Nutanix-CE-VMDK-uploaded-to-the-ESXi-datastore
Select the downloaded Nutanix CE VMDK uploaded to the ESXi datastore

The downloaded Nutanix CE VMDK is now attached to the VM.

New-SATA-disk-for-Nutanix-CE-added-to-the-VM
New SATA disk for Nutanix CE added to the VM

In the boot options for the VM, set the boot order to include the SATA Hard Drive first.

Change-the-default-boot-order-of-the-VM-to-use-the-new-SATA-drive
Change the default boot order of the VM to use the new SATA drive

Power on the Nutanix CE VM and you should see the VM boot Nutanix for installation.

Booting-the-Nutanix-CE-VM-to-begin-the-installation
Booting the Nutanix CE VM to begin the installation

Once the VM is booted, on the login screen, enter the install user and hit ENTER. There is no password.

Login-as-the-install-user-to-begin-installation
Login as the install user to begin installation

This will launch the Nutanix Community Edition Installer. Choose your location and then choose Proceed.

Nutanix-Community-Edition-installer-begins
Nutanix Community Edition installer begins

Next, you will be asked to confirm the destructive IO tests on your hard disks.

Nutanix-CE-runs-disk-performance-tests-before-proceeding

After the IO tests, there are several important network configuration parameters to configure. You will be configuring:

  • Nutanix host IP, Subnet, and gateway
  • Nutanix CVM IP, Subnet, and gateway
  • Create single-node cluster (for testing “cluster” with single node)
  • DNS Server
  • Accept the EULA

***Note*** if you do not scroll through the EULA, you will see an error after this configuration page that will have you go back to this page and actually scroll through the EULA before accepting. AFter doing that, navigate to Start which will begin the actual installation.

Configuring-network-cluster-and-EULA-for-the-Nutanix-CE-installer
Configuring network cluster and EULA for the Nutanix CE installer

Installation of the Nutanix hypervisor begins.

Installation-of-the-Nutanix-CE-in-the-VM-begins
Installation of the Nutanix CE in the VM begins

The CVM is provisioned and the installer waits for it to successfully boot.

Waiting-for-the-Nutanix-CE-controller-VM-to-start-after-installation-in-VMware-vSphere-ESXi
Waiting for the Nutanix CE controller VM to start after installation in VMware vSphere ESXi

Logging into Nutanix CE Prism Interface

After the installation finishes, you can browse to the CVM IP address https://<your CVM IP>:9440 and login to the PRISM interface. Default user and password:

  • admin
  • nutanix/4u

This will immediately prompt you for a password change.

Logging-intot-he-Nutanix-CE-interface-with-the-default-credentials
Logging intot he Nutanix CE interface with the default credentials

After changing your admin password, login to the interface.

Prompted-to-change-the-default-password-for-Nutanix-CE
Prompted to change the default password for Nutanix CE

After logging into the main web interface, you will be asked to login to your Nutanix NEXT account. This should be the same account you signed up with to download the Nutanix CE bits.

Prompted-to-login-to-the-Nutanix-CE-NEXT-account
Prompted to login to the Nutanix CE NEXT account

Afterward, you will see your Nutanix CE Prism interface dashboard. Success!

Successful-installation-of-nested-Nutanix-CE-in-VMware-vSphere-ESXi

Want to Deploy via OVF?

***Update 4.26.2018 *** A great fellow vExpert and a very sharp guy, Jorge de la Cruz, has a great method of installing the Nutanix Community Edition via a custom OVF template file that he has built. This certainly shortcuts the process of modifying files yourself and streamlines the overall process. Check out his post here.

Concluding Thoughts

As you can see the process to Install Nested Nutanix CE in VMware vSphere ESXi 6.7 Update 1 is a bit lengthy, but straightforward. After downloading and getting the required files, the process basically consists of creating the new VM for Nutanix CE and customizing the hardware appropriately. After that, you then install Nutanix CE. If you want to play around with the Nutanix CE AHV hypervisor and have the space in your home lab or other vSphere environment, this is a great way to see and play around with AHV configuration and features. Stay tuned for more Nutanix CE AHV adventures in the lab.

Run into an issue with your Nutanix CE nested VMs not booting after installing in VMware vSphere? Check out the resolution here:

Subscribe to VirtualizationHowto via Email 🔔

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com and has over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, Brandon has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.