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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.