Configuring Hyper-V Replica Resynchronization

Configuring Hyper-V Replica Resynchronization

Rate This
  • Comments 2

If you have Hyper-V Replica enabled on a virtual machine, and Hyper-V is not able to send all disk changes across in a timely fashion, the replication relationship will eventually be put into a failed state.  At this point in time you need to perform a resynchronization to get the replication relationship back to normal.

We do allow you to configure for automatic resynchronization – like this:

image

However, I do not enable this on my virtual machines – and I would encourage any users of Hyper-V Replica to be very careful about how and when they enable automatic resynchronization.  There are two main reasons for this note of caution:

  1. Resynchronization is a very heavy weight operation.

    When a virtual machine is resynchronized there is a whole bunch of CPU, disk and network utilization going on.  Chances are you do not want this happening at an unpredictable point in time.  And you certainly do not want it happening for multiple virtual machines at the same time.  If I were to enable automatic resynchronization, I would configure each virtual machine with a different resynchronization window to try and avoid multiple resynchronizations happening at the same time.

  2. You want to know when things go wrong.

    This is the real reason why I do not enable automatic resynchronization.  If there is something going wrong in my environment that causes virtual machines to require resynchronization – I want to know!  And I want to fix it so it does not happen again!  I do not want to think that everything is fine when I actually have a problem to fix.

Cheers,
Ben

Leave a Comment
  • Please add 2 and 8 and type the answer here:
  • Post
  • Very interesting. I wondering if there is away to be alerted when it requires a Resynchronisation.

  • Dear Ben,

    Amazing articles... Thank you.

    One question:

    Can we force the Replica to use a dedicated network between two hyper-v hosts??

    However for live migration, we can choose the desired network (Use these IP addresses for Live Migration).

    I have two 10G adapters teamed together, the virtual switch is created on top as converged network (MangementOS, LiveMigratrion, etc...)

    Each network is set with a specific VLAN to isolate the traffic.

    The two Hyper-V boxes are in the same LAN on campus.

    Thank you.

    Sharbel

Page 1 of 1 (2 items)