Hyper-V Replica Setup (Step by Step)
Let’s start by configuring the Hyper-V Replica on the Recovery Server
( Quick note: Hyper-V Replica it is only possible on Windows 8 Server version. It does not exist on Desktop Version )
1. Open the Hyper-V Manager, under Replication Configuration, Select Enable this computer as replica server2. Specify Authentication mode :Integrated Windows(Kerberos) or Certificate
3. Configure Authorization list :
– Type the name of the primary server
– Specify the location to be used as primary VM Configuration (can be local or an smb share)
4. Configure the Firewall by adding the inbound rule for the used ports
5. Enable Remote WMI
Now let’s configure the Primary Server
1. Open the Hyper-V Manager and Select the VM to replicate and click on Settings. Under Management, Replication
2. Specify the Recovery Server Name to replicate to ( e.g. hypervreplica.mylab.local)
3. Specify the Autentication mode ( selected when you configured the Recover Server )
4. Specify if Compression will be enabled or disabled
5. Select the VHD’s that will be excluded of the process
6. Select the Replication Parameters:
– Recovery ( in hours )
– Application Consistent frequency
7. Select the Initial Replication Mode:
– Over Network : once sucessfully connection established, the primary server will sends the VHD files to the Recovery Server. ( can be scheduled )
– Off the Network : ( my recomendation ) The Hyper-V Replica will copy the VHD’s to a specified location which can be an external Hard Disk. You can after that copy the files back to the storage location specified during the Recovery Server Setup
– Using Backup
That’s it. The VM will then be created (powered off) on the recovery server once finished and after that the Primary Server, based on replication frequency will send the changes to the Recovery Server