This article is intended for administrators wishing to understand the usage of Microsoft Hyper-V/Windows Failover Clustering with SvSAN for a HA cluster alongside Hyper-V replication to asynchronously replicate VMs to a disaster recovery (DR) site/location.
Note: All images are clickable for enlarging, or can be opened in a new tab
Resolution/Information
Scenario:
Customer would like to have a 3 node stretch cluster, e.g. 2-node HA cluster in a primary site with 3rd node in a DR location.
Bandwidth to the DR location will not support a stretch cluster.
The primary site setup with a Windows Hyper-V, Windows Server Failover Cluster and SvSAN shared storage to provide a HA cluster. The second site (DR location) single server installed with Hyper-V, and setup as a Replica server. All virtual machine (VM's) will be Replicated from Primary site to the DR location via Windows Replication in Hyper-V.
After Hyper-V/SvSAN cluster is setup, you will need to configure a Hyper-V Replica Broker on the cluster and then configure the DR site Hyper-V server as a Replica server.
Setup Replica Broker role
In Failover Cluster Manager, select the name of the cluster and the select configure Role.
On High Availability Wizard select Next
Select the Hyper-V Replica Broker Role, then select next
Give a name that will be used for the Replica service and an IP Address for this connection, then select next.
Confirmation of configuration of the Replica Role, select next
Summary of Role Configuration and select Finish to complete
Once completed you will see the Role of Replica under the Roles for the Hyper-V Cluster
Replica Server Configuration
Log into Server that will act as the Replica server for the Hyper-V Cluster
Under Actions select Hyper-V Settings
Select Replication Configuration,
From the Replication Configuration window, select "Enable this computer as a Replica Sever"
Select your appropriate Authentication for your organization. Select either Allow any server or a defined set of servers can be selected. Then select apply.
Warning will appear to Configure Firewall Port "80", this is based on the Authentication that was selected.
Select OK
Then Select OK to complete the Replica server configuration
From Failover Cluster Manager, Select the VM to Replicate, under Actions select Replication, Enable Replication.
Enable Replication for VM window select next
Specify the name of the Replica Server, then select next
Specify connection parameters, this will be based on the Authentication type configured on the Replica Server when you set up replication. Select next.
Choose the Replication VHDs to be replicated to the Replica server, then select next.
Choose how often the replication of changes will be sent to the Replica server, based on the requirements of the VM and how often the VM data changes. Data Base VM's may need need update more frequent than another none data base VM.
Choose frequency and select next
Configure Additional Recovery Points, for Latest or Hourly. Select next.
Choose initial Replication Method and schedule initial replication, then select next
Enable Replication Wizard is complete, validate the information is correct, the select Finish.
Once Replication is setup check Replica Server for Replication.
Verifying Replication and Test Replicated VM
Replication server will show the status of replication on the Virtual Machine page in Hyper-V.
Because of replication running, VM cannot be powered on, to test VM use the Replication Test Failover.
To test Replication of VM, select the Powered off VM and under Actions select Replication and select Test Failover
Failover Test will create a separate Virtual Machine that can be powered up to validate Replication
Select TEST Failover
Test Failover has created a recovery point of the VM, which will allow you to power on and validate
Select Test VM, under Action select start VM, VM will power up.
After powered up, select VM console, under Actions select Connect to bring up VM console.
Log into the VM and validate.
After testing you can shutdown and from the Actions menu delete the test VM.
Setup of Virtual Machine replication to a DR site using Hyper-V is completed.
For additional Backup Technologies please see link below.
See Also
Comments
0 comments
Article is closed for comments.