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 .
- In " Hyper -V Server Setting".
- Click the option " Replication Configuration " .
- Check the option " Enable this computer as a Replica Server " .
- Check the option" Use Kerberos ( HTTP)" .
- Select the option "Allow replication from any authenticated server" .
- 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
- Enter the server hostname that will set the replica
- Click on the " Check Name " to Domain validation.
- 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 "
- We will keep authentication " Use Kerberos autentication (HTTP ) " .
- Select the " Compress the data is transmitted over the que network" (Option which helps in compression package sent decreasing the use of the network ) .
- 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 "
- 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 .
- Option " Coverage provided by additional recovery points (in hours) " keep how long you want it to create a new restore point .
- 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.
- Click " Next"
http://jeffersoncastilho.files.wordpress.com/2015/10/102215_2237_12.png?w=604
"Choose Initial Replication Method"
- 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" .
- "Schedule Initial Replication" we can select the " Start replication immediately ."
- 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.
- Status replication process.
- We can see that in the process 2 network adapter latency increases when you start replication.
- 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 .