Hyper-V Replication is the first feature that I wanted to get up and running in the home lab. I had enough hardware laying around to cobble together a second physical host that I could install Windows Server 2012 and Hyper-V on. There are a few prerequisites that are necessary.

Prerequisites

2 Physical Hosts running Windows 2012 and Hyper-V

Active Directory

An external virtual network

A virtual machine to replicate

Enable Hyper-V Replica through the Windows Firewall

Configure Hyper-V Replica Http Listener (TCP In)

Launch Server Manager > Tools > Windows Firewall with Advanced Security

In the console tree click Inbound rules > Right Click > Enable Rule > Close the Windows Firewall console

clip_image002

Repeat this process on the replication target Hyper-V host

Configure Hyper-V Host Server Replication Settings

Launch Hyper-V Manager > In the Actions Pane click Hyper-V Settings

Select Replication Configuration > Enable this computer as a Replica Server > Use Kerberos

image

Select Allow replication from any authorized server > Click Apply

I then selected Allow replication from the specified servers > I then added CldHost02 > Click OK

These steps will need to be repeated on the replication target Hyper-V host server

Configure Virtual Machine Replication Settings

In Hyper-V Manager Right Click the VM that you want to replicate > Select Enable Replication

clip_image005

The Enable Replication Wizard launches > Next

Select the Replica Server page appears > Click Browse > Enter Replica Server name > Click Next

Specify Connection Parameters > Click Next

clip_image007

Choose Replication VHDs > Click Next

clip_image008

Configure Recovery History > Click Next

clip_image009

Choose Initial Replication Method > Click Next

clip_image010

Review the Summary > Click Finish

clip_image011

Successful Setup

clip_image013

If you click Settings the Settings page for the VM that you just configured replication on opens

clip_image014

The replication status shows in Hyper-V manager

clip_image016

"The postings on this site are my own and don’t necessarily represent my employer’s positions, strategies or opinions”