Share via


Hyper -V Replica in Windows Server 2012 R2

Introduction

Hyper- V Replica is a very nice feature for those who have a server infrastructure that sometimes does not contain a storage .

Recalling that it can only be set between two physical hosts Hyper -V.

Scenario article tests

Scenario early

Scenario without configuring Hyper -V Replica .

http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_1.png?w=604
Scenario proposed

​Scenario with Hyper -V Replica enabled and configured

http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_2.png?w=604

Hyper -V Replica Requirements

  • Active Directory

  • Port 80/443 released between hosts (For Replica of traffic ) .

  • Role of Hyper- V installed

Procedure

We need to enable the " Enable this computer as a Replica Server " option in both servers in the steps below .

  1. In " Hyper -V Server Setting".
  2. Click the option " Replication Configuration "  .
  3. Check the option " Enable this computer as a Replica Server "  .
  4. Check the option" Use Kerberos ( HTTP)" .
  5. Select the option "Allow replication from any authenticated server" .
  6. Click " OK" .

After doing that in Host01 , do the same procedure on the Host02 .

If you want to make Replica -site or off-site you can use the option to use certificate .

http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_3.png?w=604

Now we can start the process to enable Replica , click the right button, select the "Enable Replication" option

http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_4.png?w=604

Start a configuration wizard Hyper -V Replica , click " Next"

http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_5.png?w=604 

This option "Specify Replica Server " will define what will be our Replica server, click "Browse

http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_6.png?w=604

  1. Enter the server hostname that will set the replica
  2. Click on the " Check Name " to Domain validation.
  3. Click " Ok"

http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_7.png?w=604

After that, click on " Next"

http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_8.png?w=604

In "Specify Connection Parameters "

  1. We will keep authentication " Use Kerberos autentication (HTTP ) " .
  2. Select the " Compress the data is transmitted over the que network" (Option which helps in compression package sent decreasing the use of the network ) .
  3. Click " Next

http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_9.png?w=604

"Choose Replication VHDs ," shows the way and VHD name.

Click " Next"

http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_10.png?w=604

"Configure Replication Frequency " option that shows what the frequency at which the replication occurs between servers , we will keep " 15 Minutes " , click " Next"

http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_11.png?w=604

"Configure Additional Recovery Points "

  1. Select the "Create Additional hourly Recovery Points " option . ( I prefer to keep option is selected to have more than one restore point , because maintaining a restore point in case there is failure in the process can restore an earlier ) . Option consumes more disk .
  2. Option " Coverage provided by additional recovery points (in hours) " keep how long you want it to create a new restore point .
  3. In "Volume Shadowp Copy Service (VSS ) snapshot frequency (in hours) " will maintain the standard of four hours . The why you enable this option due to having to perform the replica database servers , Exchange and other applications to not encounter any problems with the service stop.
  4. Click " Next"

http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_12.png?w=604

"Choose Initial Replication Method"

  1. Select the " Send initial copy over the network" that the copies will be made via the network , we can perform the option for an external media with the " Send initial copy using external copy" .
  2. "Schedule Initial Replication" we can select the " Start replication immediately ."
  3. Click " Next"

http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_13.png?w=604

In " Sumary " we all configurations performed in the Wizard, after click " Finish"

http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_14.png?w=604

Began the process of " Enabling Replication"

http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_15.png?w=604

In the replication process of the execution servers that have not , see image below.

  1. Status replication process.
  2. We can see that in the process 2 network adapter latency increases when you start replication.
  3. And in the process "3" that the board send consumption is " 398 Mbps " 

http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_16.png?w=604

Conclusion

The nice thing about this Hyper -V Replica feature is that we can maintain a high availability without having a Storage .

Other Languages