Save to My DOJO
We have a newer and more detailed overview of replication in Hyper-V and Hyper-V Replica if you want to check that out. In this article, we are going to learn about the types of failover which are available with Hyper-V Replica.
The concept of Hyper-V Replica starts from learning how to enable Hyper-V Replica on a Hyper-V Server to how to configure a virtual machine for replication. But that is just how to enable and configure Hyper-V Replica. There is much more to talk about, for example how different types of failover are available and how to use them.
When you need to bring a virtual machine online at Replica Site, you use something called “failover”. There are three types of failover available with Hyper-V Replica as listed below:
- Test Failover
- Planned Failover
- Unplanned Failover
Test Failover, as the name suggests, can be used to test the virtualized workloads on the Replica Server. This is to ensure the Replica Virtual Machine can be brought online at the Replica Server in case of any disaster with Primary Virtual Machine.
Test Failover creates a Test Virtual Machine on the Replica Server. The new virtual machine created by the Test Failover process is appended with tag “Test”. You can always turn the Test virtual machine ON to ensure it is functioning properly. Once you are satisfied that virtual machine is working properly, you can stop the test failover by clicking Stop-Test Failover from Right Click context menu on Replica Virtual Machine.
Test Failover is always executed at Replica Server and is available as “Test Failover” action on the Right Click Context menu of the Virtual Machine as shown in the below screenshot:
Planned Failover is initiated manually by an administrator to move the virtualized workloads from Primary Server to Replica Server. Planned Failover is used when you have maintenance window opened for Primary Site and it needs to go down for some maintenance activities.
Planned Failover performs the some perpetuities before the failover can take place. This includes checking the ability for Replica Server to become as Primary Server also. This is required in order to move the virtualized workloads back to Primary Server.
Note: “Planned Failover” is always executed at Primary Server.
Unplanned event occurs when something goes wrong at the Primary Site or in other words Primary Virtual Machine will stop functioning.
Unplanned Failover appears as “Failover” on the Right Click context menu of the Replica Virtual Machine as shown in the below screenshot:
Clicking the “Failover” allows you to recover the Replica Virtual Machine using the recovery history of your choice. You will be presented with the list of recovery points for your selection as shown in the below screenshot:
If the Replica Virtual Machine does not come online using one of the recovery points you select, you can always use “Cancel Failover” and try with a different recovery point.
Note: Unplanned Failover is always executed at the Replica Server.
In this series, we learned from the benefits of using Hyper-V Replica to different types of failover available with it. We learned how Hyper-V Replica is useful for small and medium sized businesses to reduce the overall cost when it comes to setting up an environment which includes SAN devices.
Not a DOJO Member yet?
Join thousands of other IT pros and receive a weekly roundup email with the latest content & updates!