Hyper-V replication

Hyper-V Server provides a built-in replication technology for dealing with planned and unplanned system failures. The replica technology allows for a virtual machine to be replicated from a source Hyper-V Server to a target Hyper-V Server and constantly kept up-to-date. In case of an outage the target VM can be switched on with minimal data loss. This replication works well within the same datacenter, as well as between different datacenters.

In this recipe we will set up a VM to be replicated between Hyper-V hosts and test failover.

Getting ready

To perform this recipe we will need a minimum of two Hyper-V Servers, each with their own storage. A virtual machine will operate on the first Hyper-V Server and it will be replicated ...

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.