Using failover clustering to make VMs highly available

One of the more proven methods to make virtual machines highly available is to configure multiple Hyper-V Servers into a failover cluster. The virtual machines are then placed on the cluster nodes instead of the individual servers. The cluster is configured to migrate VMs from one host to another when instructed, when a host is placed into maintenance, or when a host unexpectedly fails.

Getting ready

For Hyper-V clustering to work properly, we will need two Hyper-V Servers with shared storage to host the virtual machines. In this example we are using a CIFS file share to host the virtual machines as shown in the recipe Migrating VMs between hosts.

Note

This recipe will cover only one method of ...

Get Windows Server 2012 Automation with PowerShell Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.