Chris Hall bio photo

Chris Hall

Principal Technical Consultant

PolarCloudsUK Chris LinkedIn Github
Chris Hall Nutanix Certified Master - Multicloud Infrastructure 6 Chris Hall VMware vExpert 2024 Nutanix Certified Professional - Cloud Integration Chris Hall Nutanix Certified Professional - Multicloud Infrastructure 6 Chris Hall Nutanix Certified Professional - Unified Storage 6 Chris Hall VMware vExpert 2023 Chris Hall VMware vExpert 2022

Nutanix and ESXi In this post we will complete the basic configuration of our Nutanix AHV installation and deploy a VM into it.

This post is part 2 of a multipart series. Find the other parts here:

Let’s continue.



Since part 1 covered purely the deployment of Nutanix CE 2.0, there are some post installation configuration points that we need to cover off prior to deploying our first guest VM later on in this post.

CVM Certificate

So that we no longer need to tell chrome thisisunsafe each time we access our CVM, let’s replace it’s SSL certificate.

Click the settings cog in the top right hand corner of the PRISM Elements UI, select SSL Certificate from the menu on the left:

Replace Certificate 1

Select Replace Certificate > Regenerate Self Signed Certificate and Apply:

Replace Certificate 2

Allow time for the replacement to complete. That’s Chrome happy again!

Change Default Credentials

Both our Host and our CVM are using the default credentials:

Default Creds Alarm

Clicking on each of the alarms in turn provides the following summaries:

Default Creds Host Summary


Default Creds CVM Summary

Let’s fix that.

For reference, the Nutanix KB article that covers changing both the Host and CVM default credentials is here: KB 6153.

Host Credentials

SSH to the AHV host as root (see Part 1 for default credentials) and issue the following command:


CVM Credentials

SSH to the CVM as user nutanix (again see Part 1 for default credentials)and issue the following command:

sudo passwd nutanix

Job done. Clicking on the alters and then clicking Resolve clears the alerts from the PRISM Element console.

Storage Tier Skew on a Node

Storage Tier Skew on a Node

From Nutanix KB 10718:

The NCC health check plugin node_storage_tier_skew_check reports disk capacity skew above 15% within a storage tier in each individual node in a Nutanix cluster.

As we have only the one host in our cluster, let’s turn this check off. Click Turn Check Off to complete.

Cluster Name

Let’s name our cluster. Click on the label Unnamed and enter a cluster name and virtual IP:

Name Cluster

Click Save when done.

The cluster FQDN needs to resolve to both the cluster virtual IP and to the CVM IP(s). I’m using OPNsense Unbound DNS in my lab, so to achieve this simply add two cluster FQDN host overrides pointing to the virtual and CVM IPs:

OPNsense Unbound site-a-cluster.lab


nslookup site-a-cluster.lab

Language Settings

Select admin in the top right hand corner of the PRISM Element UI and select Update Profile:

Update Profile

Enter name and email address, hit Save when done:

Name + Email Address

Click the settings cog in the top right hand corner of the PRISM Elements UI and select Language Configuration. Set Region accordingly and hit Save:

Language Settings


Next we will create a network to connect our VMs to.

Click the settings cog in the top right hand corner of the PRISM Elements UI and select Network Configuration and Subnets:

Subnet Config 1

Click Create Subnet.

I’ll name my subnet Site-A-Lab, select vSwitch vs0 and set my VLAN ID to 0 (native VLAN):

Subnet Config 2

Click Save to complete. Job done:

Subnet Created

Upload ISOs

Next, we need to upload our operating system ISO. Whilst we are at it, we will also upload the Nutanix VirtIO for Windows ISO as well (VirtIO ISO can be downloaded from HERE).

Click the settings cog in the top right hand corner of the PRISM Elements UI, select Image Configuration from the menu on the left:

Image Config 1

Select Upload Image. I’ll upload my Windows Server 2022 Evaluation ISO:

Image Config 2

Allow time for the image to upload. Repeat for the VirtIO ISO.

Once complete, confirm both ISOs are marked as ACTIVE, ready to use:

Image Config 3

VM Creation

Let’s create our first (not counting the CVM) Nutanix guest VM then! :smile:

From the menu drop down select VM and Create VM:

Create VM 1

I’ll configure the following:

  • Name: Win-Srv-2022
  • Timezone: Europe / London
  • vCPUs: 2
  • Cores per vCPU: 1
  • Memory: 2GB
  • Legacy BIOS
  • NIC: Connected to Site-A-Lab

Finally, I’ll add a 60GB disk to my VM as follows:

Create VM 2

Click Save to complete. Select Table to view the VM in the list.

VM Power On and O/S Installation

Click Power on to start the VM and Launch Console to take a look at it:

VM Created - Power On

Once the console of the newly created VM opens, select Mount ISO:

Mount ISO 1

Select the O/S ISO uploaded earlier and select Mount:

Mount ISO 2

The VM should boot from the ISO:

VM Boot 1

I won’t cover the full installation of Windows here.

The only minor ripple to an otherwise normal Windows install was mounting the VirtIO ISO mid windows install to allow Windows to use the VirtIO SCSI controller driver:

VM Boot 2

Once the driver is loaded, hard disk discovered and selected, change the mounted ISO back to Windows and click Refresh within the Windows installer to get it to continue with the installation.

VirtIO and Nutanix Guest Tools

Upon completion of the Windows installation, mount the VirtIO ISO again and launch the x64 installer:

Launch VirtIO Installer

Complete the install.

Back at the PRISM Element VM Table, select Manage Guest Tools:

Manage Guest Tools

I’m going to Enable and Mount the guest tools installer. I’ll investigate the other options another day:

Enable + Mount NGT

Submit to complete. Run the setup to install:

Install NGT

Power Down

Because UK Energy Crisis, let’s quickly cover safely powering down our Nutanix environment.

CVM Shutdown

After shutting down all other guest VMs, SSH to the CVM and issue the command:

cvm_shutdown -P now

Shutdown CVM

AHV Host Shutdown


Shutdown AHV Host

That’s why we installed VMTools in part 1. :wink:

Conclusion and Wrap Up

So there we have it. In this post we built upon the deployment of our Nutanix AHV host by completing it’s configuration.

After that, we deployed a test VM. Finally we looked at how to power the environment down.


This post is part 2 of a multipart series. Find the other parts here: