How to make Hyper-V Virtual machine highly available

Maybe this is silly topic but for someone who spent 8+ years working with VMware technology jumping over to Microsoft software stack it is not always easy :-). General thinking and assumption was:

When I have VM running on the cluster – my assumption was – it must be protected by HA, right ?

The answer is, no 🙂 .When you run VM on Hyper-V it is not protected by failover cluster by default. There are few ways how you can enable high availability on on Virtual Machine run on top of Hyper-V failover cluster.

#1 – How to make Hyper-V Virtual machine highly available – using Live Migration

  • Log in to SCVMM server via client
  • From right-click menu choose LiveMigration
  • Check – Make this VM highly available
  • When task is completed VM is protected by Microsoft failover cluster.
Hyper-V LiveMigration

Hyper-V LiveMigration

 

#2 – How to make Hyper-V Virtual machine highly available – by adding VM in failover cluster resources

  • Start failover cluster manager and connect you failover cluster
  • Click on Role and Add new role
  • Select Virtual Machine role
Add VM into failover cluster resources

Add VM into failover cluster resources

  •  Select Virtual machines
  • Next –> Next and Finish
  • Done
VM protected by failover cluster manager

VM protected by failover cluster manager

All selected VM will be protected by failover cluster

What if I want to have VM protected by HA automatically? Enable it on VM template. Every new VM will be automatically added to failover cluster resources after deployment.

Edit VM template, under Hardware Configuration –>Advance –> Availability check box next to Make this virtual Machine highly available

make virtual machine highly available

make virtual machine highly available

 

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 has been in IT industry since 1999 and consulting since 2008. Artur holds VMware Certified Design Expert certification (VCDX #077).