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
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
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
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
Choose Replication VHDs > Click Next
Configure Recovery History > Click Next
Choose Initial Replication Method > Click Next
Review the Summary > Click Finish
Successful Setup
If you click Settings the Settings page for the VM that you just configured replication on opens
The replication status shows in Hyper-V manager
"The postings on this site are my own and don’t necessarily represent my employer’s positions, strategies or opinions”