Hyper-V|Virtualization|Windows Server 2016

Strategies to Minimize Data Loss with Hyper-V Replica

Hyper-V Replica is a VM disaster recovery and data protection feature that’s especially well-suited to enable small and medium sized organizations improve their disaster recovery capabilities. Microsoft first introduced Hyper-V Replica as a part of Windows Server 2012 R2 and has continued to enhance it in the Windows Server 2016 release. Hyper-V Replica essentially works by asynchronously sending the changes in a local VM’s virtual hard disk from a primary site to a replica site. The Hyper-V server that hosts the replica doesn’t need to be identical to your source Hyper-V server but it needs have adequate processing power and memory to run the replica VMs if the primary VM fails. You can setup Hyper-V Replica using the Hyper-V Manager. No additional software is required. When you create a new Hyper-V Replica there is a normally an initial synchronization process which typically takes place across the network. However, for large VMs you can also perform the initial synchronization using media like a USB drive or external hard drive.

Setting the replication interval

Once the initial replication takes place then Hyper-V Replica will use periodic asynchronous replication to send updates from the primary VM to the secondary replica. One of the biggest factors that governs the amount of possible data loss that can occur with Hyper-V Replica is the replication interval. The data on the secondary replica is synchronized according to the replication frequency you configure. You can select a replication interval of 30 seconds, 5 minutes, or 15 minutes. Business critical VMs need to be synchronized at more frequent intervals to minimize possible data loss.

Sponsored Content

What is “Inside Microsoft Teams”?

“Inside Microsoft Teams” is a webcast series, now in Season 4 for IT pros hosted by Microsoft Product Manager, Stephen Rose. Stephen & his guests comprised of customers, partners, and real-world experts share best practices of planning, deploying, adopting, managing, and securing Teams. You can watch any episode at your convenience, find resources, blogs, reviews of accessories certified for Teams, bonus clips, and information regarding upcoming live broadcasts. Our next episode, “Polaris Inc., and Microsoft Teams- Reinventing how we work and play” will be airing on Oct. 28th from 10-11am PST.

Adding Recovery Points

Another important factor to consider when you are configuring Hyper-V Replica are the number of recovery points that you want to keep. Recovery points are basically a snapshot in time from which you can recover a VM. By default Hyper-V Replica only uses the latest recovery point but you can optionally add more recovery points that allow you to recover from earlier points in time. The more recovery points that you specify the more disk storage will be required on the secondary replica. You can use up to 24 recovery points.

Enhanced DR with Hyper-V Extended Replica

Extended Replication allows you to create a third replica. This feature provides an additional option for disaster recovery. If a VM failure occurs then you can choose to recover from either the secondary replica or from the extended replica. The most common use for this feature is where you have one replica within the local datacenter and the extended replica is located in a remote location or in the cloud.

Managing the Failover Process

Finally, when you’re planning to minimize data loss it’s important to understand the different types of failover types. Hyper-V Replica supports three major failover types:

  • Test failover — A test failover can be performed at any time. It’s important to realize that a test failover option doesn’t actually result in a failover. Instead, the process creates a new test VM. This test VM lacks network connectivity and can be powered on and tested without interfering in the replication process or your production workloads.
  • Planned Failover – You can also perform a planned failover at any time. However, before performing a planned failover the primary replica VM must be powered off. After the VM is failed over, Hyper-V can begin replicating the changes back to the primary server. For this to work the primary server needs to be configured to receive replication from the secondary server.
  • Unplanned Failover — An unplanned failover should only be performed in the event that your primary VM has an unexpected outage and becomes unavailable. You run an unplanned failover from the secondary server. An unplanned failover does not perform any synchronization as part of the failover process so any data that had not already synchronized will be lost. The actual amount of data lost depends on the length of your replication interval and the amount of data that was changed in the primary VM before the outage.

Hyper-V Replica does not provide automatic failover nor does it attempt to update DNS entries like some enterprise-level replication products might do.

BECOME A PETRI MEMBER:

Don't have a login but want to join the conversation? Sign up for a Petri Account

Register
Comments (0)

Leave a Reply

Michael Otey is president of TECA, a technical content production, consulting and software development company in Portland,
External Sharing and Guest User Access in Microsoft 365 and Teams

This eBook will dive into policy considerations you need to make when creating and managing guest user access to your Teams network, as well as the different layers of guest access and the common challenges that accompany a more complicated Microsoft 365 infrastructure.

You will learn:

  • Who should be allowed to be invited as a guest?
  • What type of guests should be able to access files in SharePoint and OneDrive?
  • How should guests be offboarded?
  • How should you determine who has access to sensitive information in your environment?

Sponsored by:

 
Live Webinar: Active Directory Security: What Needs Immediate Priority!Live on Tuesday, October 12th at 1 PM ET

Attacks on Active Directory are at an all-time high. Companies that are not taking heed are being punished, both monetarily and with loss of production.

In this webinar, you will learn:

  • How to prioritize vulnerability management
  • What attackers are leveraging to breach organizations
  • Where Active Directory security needs immediate attention
  • Overall strategy to secure your environment and keep it secured

Sponsored by: