Create Hyper-V failover cluster on Nutanix

Hyper-V is one, out of three (VMware ESXi and Nutanix Acropolis aka. AHV are on the support list too) hypervisors supported by Nutanix. There are two ways you can create create Hyper-V failover cluster on Nutanix. You can do it either manually or use scripts provided by Nutanix. In this blog post I will show to create Hyper-V failover cluster on Nutanix using scripts (provided by Nutanix), for Hyper-V clusters without SCVMM and with SCVMM.

UPDATE: 21/03/2016

NOTE: Below procedure is applicable for AOS 4.5.X and 5.0.X

Since Acropolis Base Software 4.5 you can join and create Hyper-V cluster right out from Prism Element. No need to use Python scripts with switches. Process is basically the same like you in older version (pre-4.5) Acropolis Base Software. First you have to join Hyper-V hosts and Nutanix cluster to Active Directory (which requires reboot). Second step is to configure Microsoft failover cluster.  When both aboove are copmplete, you can create new container and add it Hyper-V cluster. Also, right out of Prism UI.

Create Hyper-V cluster on Nutanix

Create Hyper-V cluster on Nutanix

Watch below video to see it in practice.


NOTE: Hyper-V on Nutanix is supported without SCVMM.

NOTE: Below procedure is applicable for NOS 4.1.X and older ONLY

Step 1 – Requirements

  • AD functional level 2008R2 or newer
  • ADWS – Active Directory Web Services installed
  • Open ports between Nutanix\Hyper-V cluster and AD – you can find all necessary ports either on Nutanix documentation or on my blog Nutanix network diagram.

Step2 – Create Nutanix cluster.

Before you create hyper-v failover cluster on Nutanix, you have to have Nutanix cluster created and up and running. In one of my previous posts you can see how to create Nutanix cluster either using command line or web interface – Nutanix Basics – create Nutanix cluster.

Step4 – join Hyper-V nodes to Active Directory domain

  • Log in to CVM and run setup_hosts – script will join servers into Active Directory, remove 1GBps from network bound if 10GBps is used, set up NTP, DNS IP addresses and set up hostnames.

[box type=”warning”] NOTE: servers will reboot after script is completed.[/box]

Step5 – Create Hyper-V failover cluster on Nutanix

Hyper-V on Nutanix requires Active Directory functional level 2008R2 or newer. If you have AD on 2012R  functional level you will not be prompted to preform any manual action. Configuration scripts will do the job from end to end. In my lab I have AD on functional level 2008R2 and, as you can see below, configuration is partially automated.

Step 6 – add Nutanix SMB shares as default storage to Hyper-V hosts – Hyper-V manager

  1. Start Hyper-V manager and connect to each Hyper-V host
  2. In Hyper-V settings – provide UNC path to container
Add Nutanix container to Hyper-V host

Add Nutanix container to Hyper-V host

Step 7 – Install updates on Hyper-V cluster

DONE. Now you can start provisioning VM on new and shiny Hyper-V cluster on Nutanix.

Artur Krzywdzinski

Artur is Consulting Architect at Nutanix. He has been using, designing and deploying VMware based solutions since 2005 and Microsoft since 2012. He specialize in designing and implementing private and hybrid cloud solution based on VMware and Microsoft software stacks, datacenter migrations and transformation, disaster avoidance. Artur holds VMware Certified Design Expert certification (VCDX #077).