+ All Categories
Home > Documents > Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana...

Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana...

Date post: 04-Jun-2018
Category:
Upload: vunga
View: 215 times
Download: 0 times
Share this document with a friend
25
Server 2012 R2 Hyper-V Replication- Step By Step Darshana Jayatihlake- darshanaj.wordpress.com
Transcript
Page 1: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Server 2012 R2

Hyper-V Replication-Step By Step

Darshana Jayatihlake-darshanaj.wordpress.com

Page 2: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Initial configuration for Hyper-v Replication

Since its recommend to use sepereate network for replication, we are going to configure dedicated

network on Hyper-v server for replication

There is a one network adapter dedicated for Hyper-v replication on each host. Its configured on

192.168.10.0/24 subnet.

Conigure Hyper-v replication settings on each hsot

Open Hyper-V manager > Click on “Hyper-V Settings”

Page 3: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Click on “Live Migrations”

Select the “Enable Incoming and outgoing live migrations” check box

Page 4: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Assign the simultaneous live migrations(by default its 2)

Select “Use These IP address for live migration” > Click on “Add” > Add the replication network

subnet(In this lab guide its 192.168.10.0/24)

Page 5: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Select “Advanced Features” under Live Migrations > Select “Use Kerberos” as Authenticatio protocol

*Kerberos is more secure than CredSSP

Page 6: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Click on “Apply” and “OK”

Page 7: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

*These settings should be done for both Hyper-V hosts

Enable Replication on Hyper-v Host

Page 8: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Open Hyper-V manager > Hyper-V settings > Select “Replication Configuration” > Select “Enable this

computer as a Replica Server”

Select “Use Kerberos(HTTP)” > Select “Allow repliction from any authenticate server” > Assign a

location for replicate the VMS

Page 9: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

2.Enable replication on VM

Right click on the VM > Select “Enable Replication”

Click on “Next”

Page 10: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Select the destination server

Click on “Next”

Page 11: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

If we want we can exclude the hard disks from replication

Click on “Next”

Page 12: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Select the replication frequency(There are trhee options.30 Seconds,5 Minutes and 15 Minutes)

Page 13: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Click on “Next”

Select “Send initial copy over the network”

Page 14: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

In a WAN enviorement we can use “Send initial copy using external media” and send vm using external

drive

Click on “Finish”

Now initial replication is sending over the network

Page 15: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

View Replication Health

Right click on the VM > Select “Replictation” >

Select “View Replication Health”

Page 16: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Planned failover

Planned failover option is aviilable on primary host and we can perform this active when we are having

some planned downtime, maintaince work on primary site or primary host.

To perform planned failover the priamry virtual machine should be in a power off mode

Page 17: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

How to perform planned failover

Right click on the vm > Select “Replication” > Select “Planned Failver”

Select “Fail Over”

Now virtual machine running on the destination host

Page 18: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Cancle Failover

Cancle failover active is initialted to cancle the failover process and is available to be performed on

Replica virtual machine

How to perform “Cancle Failover”

Right click on the virtual machine > Select “Replication” Select “Cancle Failover”

Select “Yes” for continue the cancle replication, in this process data will be loss after the failover

operation started

Page 19: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Test Failover

This action can be perform on a replica virtual machine and this will allow us to ensure the replica

macihne can run online in case of a disaster with the primary virtual machine

Page 20: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

How to perform “Test Failover”

Open the Hyper-V manager on destination server

Right click on the replica VM > Select “Test Failover”

Click on “Test Failover”.This process will create a new virtual machine based on the revoery point

Page 21: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

*Once we test the process we can delete the virtual machine.

Reverse Replication

This action can only be performed at the Replica Virtual Machine. This action is performed to reverse

replicate from Replica to Primary Server

How to perform reverse replication

Open hyper-v manager on destinatio server or where we have performed planned/unplanned failover

Right click on the virtual machine > Select “Replication” >Select “Reverse Replication”

Page 22: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Click on “Next”

Select the server and click on “Next”

Page 23: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Click on “Next”

Click on “Next”

Page 24: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Click on “Next”

Click on “Finish”

Page 25: Hyper-V Replication-Step By Step · Hyper-V Replication-Step By Step Darshana Jayatihlake-darshanaj.wordpress.com . Initial configuration for Hyper-v Replication ... subnet (In this

Then user can remove the revoery points from primary server

Remove Replication

How to perform “Remove Replication”

Open Hyper-v manager consoel > Right click on the VM >


Recommended