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 to the second server as shown in the following diagram. We will perform failover tests to confirm the failover process operates as expected:
How to do it...
Carry out the following steps to configure replication:
Open Active Directory Users and Computers...