Home » Highlight » Nutanix Windows AHV VM Guest install

Nutanix Windows AHV VM Guest install

In this article we are going to explore the steps on how to create and install a Nutanix Windows AHV VM Guest. The process is very simple and straight forward and the idea is to have this as a follow up from previous articles dedicated to testing and leaning about the Nutanix CE platform in our homelab.

Ideally we can create a Nutanix Windows AHV guest straight away with a default installation of the Nutanix CE. To make a better sense of the options that are presented in this article we also explored in the past with pertinent articles the single settings for the Nutanix VM Guest configuration.

In this occasion we are going to build a Nutanix Windows AHV VM Guest based on Windows Server 2016. The very same configuration steps can also be applied to other Windows based Operating Systems currently supported by Nutanix.

Of course we can follow the same configuration steps for Linux based Operating Systems.

In a nutshell what we need to do apart from specifying the number of virtual CPUs and VM Network to use would be the OS installation ISO cloned from the Nutanix Image Configuration Storage and the Storage Container location where to store the virtual Disks the VM Guest will use for it’s own storage. It’s a lot easier to run the actual steps in the wizard!

In particular we’ll use SCSI type of virtual Disks and in order for Windows to recognise them we’ll use the drivers included in the VirtIO ISO file. At the time of writing the latest version of these drivers is 1.1.1 and are available from the Nutanix Community site (Site requires free login https://next.nutanix.com/discussion-forum-14/download-nutanix-ce-docs-and-guides-3188).

In addition from the same Nutanix Community site we can also download the MSI installer which will assist with the deployment of the Nutanix Guest Tools (NGT). The NGT provides the following components and capabilities:

  • Nutanix Guest Agent (NGA) service to communicate with the Nutanix CVM
  • File-Level Restore (FLR) CLI. Performs file level recovery from snapshots
  • Nutanix VM Mobility Drivers. Facilitates the migration from ESXi to AHV VM Guest Migration with both in-place hypervisor conversion and cross-hypervisor for disaster recovery migration
  • VSS Requestor and Provider for Windows based VM Guests
  • Application-Consistent snapshots for Linux based VM Guests

I would say there are plenty of reasons to install NGT on Windows and Linux VM Guests. Let’s get started by installing our first Nutanix Windows AHV VM Guest.

This article is organised in 3 steps:

  1. Create Nutanix Windows AHV VM Guest
  2. Install Windows 2016 Guest
  3. Install Nutanix Guest Tools for perfomances and extra features


Step 1: Create Nutanix Windows AHV VM Guest

From the home view in the Nutanix Prism let’s go into the VM section and then choose to “Create VM” from the upper right.

A new wizard to create a Nutanix Windows AHV VM Guest will start. The options are straight forward like name and description. Let’s leave unchecked the option “Use this machine as an Agent VM”. This is something the Nutanix CVM will use.

According to the physical (virtual if nested!) hardware available to the Nutanix CE cluster let’s assign the vCPUs. As a rule of thumb let’s make sure not to over-provision the CPUs for obvious reasons. In this screenshot I have initially used 1CPU 1Core. Actually 1CPU 2 Cores works a lot better even in a nested environment.

As per RAM memory, again it really depends on how much we have available in the Nutanix cluster in this case. As a rule of thumb i use for each OS I’m deploying is:

  • 2GB of RAM memory
  • 3072MB (2GB*1.5 ) as min and max size for Paging file. This way the Paging File will never fragment keeping performances stable over time

Next is to add the CD-ROM where to mount the installation ISO cloned from the Nutanix Image Configuration Storage.

With the “pencil” icon let’s update the CD-ROM configuration. In the Operation field we select the “Clone from Image Service”. Bus Type IDE and of course we select the Windows 2016 image we uploaded earlier.

domalab.com Nutanix Windows AHV guest CD-ROM

Now let’s repeat the same steps by adding a second CD-ROM Image now pointing at the VirtIO ISO image file. We’ll use this one later on to install the drivers to recognise the SCSI virtual Disk, the Network Card and also enable the drivers for the Ballooning feature. In addition, will also help installing the Nutanix Guest Tools.

domalab.com Nutanix Windows AHV guest add disk

At this point let’s add and select the virtual Disk where the Virtual machine will install the operating system. For this purpose we can also select the desired Storage Container.

domalab.com Nutanix Windows AHV guest add scsi disk

In a final step for the AHV VM Guest configuration let’s add also a network card bond to the chosen VM Network.

domalab.com Nutanix Windows AHV guest add NIC

One network card can be associated to one VM network  with one VLAN ID at a time. In this case I’m using the “VM Prod” Network which uses the default “VLAN 0”. Such VM Guest will be able to talk with other Hosts on the network outside the Nutanix Cluster.

domalab.com Nutanix Windows AHV guest nic

Now that Nutanix Windows HAV VM Guest has been created we can see and edit the main settings from the Home > VM > Table view.

domalab.com Nutanix Windows AHV VM table

At a glance also the details and info about configuration and performance of the CPU, Network, Disk and other components.

domalab.com Nutanix Windows AHV VM Performance


Step 2: install Windows AHV Guest on Nutanix

When ready all we have to do is to PowerOn the VM. Chances are if we are running the latest version of Nutanix CE available in a nested environment the VM Guest might not boot properly.

Thanks to excellent information from the Nutanix CE forum a temporary fix has been found to solve the issue.

All we need to do is to Power off the VM and update a property using the acli command line from the CVM:

“acli vm.update “Your VM Name” extra_flags=machine_type=pc-i440fx-rhel7.2.0″

Full thread here: https://next.nutanix.com/discussion-forum-14/homelab-nested-nutanix-ce-on-esxi-6-5u1-on-intel-nuc-28075

and here: https://next.nutanix.com/discussion-forum-14/impossible-to-deploy-ce-5-5-nested-on-vmware-vsphere-6-5-27459/index2.html

domalab.com Nutanix Windows AHV Guest Console

After changing the VM property we can successfully Power On the VM Guest and carry on with the installation!

domalab.com Nutanix Windows AHV guest install

Let’s select proper locale settings and hit on next.

domalab.com Nutanix Windows AHV guest setup

From here we can select the Windows 2016 version. In this case I will go for a Full Desktop Experience. To save RAM memory and amount of updates we can simply choose the first one without Full GUI and manage the VM Guest through PowerShell.

domalab.com Nutanix Windows AHV guest edition

Let’s accept the license agreement and continue.

domalab.com Nutanix Windows AHV guest license

Since we need to load custom drivers to recognise the SCSI virtual Disk let’s choose the Custom option.

domalab.com Nutanix Windows AHV guest custom install

Great news is the virtual Disk has been detected. We now need to install the drivers for it. On a side note the space appears to be 20 GB instead of 40 GB simply because I did upload the wrong screenshot! 🙂

To do this let’s use the Load Driver option.

domalab.com Nutanix Windows AHV guest disk

This will pop up a new wizard so we can load the new SCSI driver.

domalab.com Nutanix Windows AHV guest disk driver

If the CD-ROM with the VirtIO ISO file has been mounted properly we can now access the content and select the folder named after the operating system we want to install.

domalab.com Nutanix Windows AHV guest disk driver browse

Let’s leave the option to hide incompatible drivers and select the proper one: Nutanix VitIO SCSI pass-through controller.

domalab.com Nutanix Windows AHV Guest disk driver selection

At this point the new drive is mounted, formatted and ready to host the Windows Server install files.

domalab.com Nutanix Windows AHV installing

Installation doesn’t take very long. In a matter of a few minutes the Nutanix Windows AHV VM guest is installed and ready to use.

first thing to do at this point would be to install the drivers for the virtual Network Card and the Balloon Memory Driver feature.

domalab.com Nutanix Windows AHV desktop

Let’s open the Windows Server Device Manager. Right click on the Ethernet controller to install the drivers

Let’s browse to the VirtIO CD-ROM.

From the top Windows Server 2016 folder let’s leave the “Include subfolders” and let the wizard to find the appropriate driver. We can repeat the same step for the other device.

This is also a quick way to test the information from the driver.inf files.

All unknown devices are now installed and ready.

The physical Hardware is exposed to VMware Guest Nutanix. But this one is running as a nested Hypervisor. It is a amazing to see the same physical CPU information inside the Nutanix Windows AHV VM Guest!


Part 3: Install the Nutanix Guest Tools

In this final part we are now ready to install the Nutanix Guest Tools. From Home > VM > Table let’s select this option for the intended VM.

domalab.com Nutanix Windows AHV enable NGT

a new CD-ROM disk will be mounted and we can run the installation of the msi file included.

The installation is very quick and allows for extra features like:

  • Nutanix Guest Agent
  • File-Level Restore
  • Nutanix VM Mobility Drivers
  • VSS Requestor and Provider
  • Application-Consistent

We’ll cover in more details such features with dedicated articles.

domalab.com Nutanix Windows AHV NGT install


About the author

Michele Domanico

Passionate about Virtualization, Storage, Data Availability and Software Defined Data Center technologies. The aim of Domalab.com is sharing with the Community the knowledge and experience gained with customers, industry leaders and like minded peers. Always open to constructive feedback and new challenges.


Click here to post a comment

Leave a Reply

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

  • Thanks for sharing all your excellent admin procedures related to Nutanix. I’d really appreciated.

    • Hi Nhat-Hung LAM,
      Thanks for your comment and glad you found this useful. I’m in the process of upgrading the homelab environment and will certainly add more articles later on. Thanks for reading,

  • No Network connection in windows guest os . Installed everything as described above. Nicely documented. I get an ip address but no access to internet from guest. I also have Nutanix tools installed in guest. Any help greatly appreciated. , been searching everywhere.

    • Hi Bob,

      Glad to hear you managed to install the Windows Guest in AHV and thanks for your comment. It’s hard to say what the reason could be without any info on the env. Could it be maybe the AHV VM is attached to a Network with different VLAN? By default I have used VLAN “0” which means no VLAN tagging. So unless there are other configurations with the PRISM virtual switch it should be able to communicate with external world. Any chance you did take a look at this already? https://domalab.com/nutanix-vm-network-prism/

      OR if Nested in VMware, does the Nutanix CE sit on a VMware Port Group with uplink to the internet?

      Hope this helps.


Subscribe to Blog via Email

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

Browse articles

June 2023

Articles by Category


error: Content is protected !!
%d bloggers like this: