Hyper-V Replication

 VM replication means creating and maintaining a VM copy from the source host on the side host. First of all, give the replica host rights to accept VMs. This is achieved by using simple Hyper-V settings

Hyper-V settings
  • Start Hyper-V Manager.
  • Select the necessary host in Hyper-V Manager and select its settings.
  • Select Replica Configuration.
  • Select Enabled as a Replica server; also, select the replication method, either Kerberos (HTTP) or more safe way – certificates (HTTPS) from the certification center or self-signed.
  • Furthermore, you can select those servers that can send replicas and their location. Any authenticated can send replicas by default.
  • Don’t forget to make sure that Windows Firewall on the replica host makes an exception for Hyper-V Replica HTTP Listener or Hyper-V Replica HTTPS Listener (TCP-In) – depending on your requirements.
Authorization and storage

Now right click on host and select “Enable Replication”

Hyper-V Manager

Specify Replica Server (2nd Host)

Replica server

Specify disks that you want to be a part of the replication process and then on next screen choose the frequency at which changes will be sent to Replica Server

Configure replication
Specify connection parameters

Next, configure recovery points and select VSS snapshots frequency. Overall, you can do great even without these precautions, but then again, you don’t want to lose the consistency of your data, especially if it fuels some really vital applications.
What the following screenshot suggests is that you ought to create a recovery point each hour, keep it for 24 hours (that’s maximum), to take a VSS snapshot every 4 hours.

Configure Additional Recovery Points

for the first time you need to transmit the whole machine to the Replica server. If your VMs are too large or your network is simply unable of transmitting large portions of data, there are three ways on how to escape an impasse:

  • Send an initial copy over the network
  • Send initial copy using external media
  • Use an existing virtual machine on the Replica server as the initial copy
Configure Replication Frequency

Time to check what you’ve done and click on Finish! As it usually goes, everything will go fine, and you’ll be asked if you want to change the network parameters for replicas because replicas aren’t connected to any network by default settings.

Leave A Comment

Your email address will not be published. Required fields are marked *