What I forget to mention is: the two host servers are in two different data centers in different states.
hyper-v replication
we have the following setup:
windows server 2019 datacenter
hyper-v installed
7 RAID partitions
4 VMs:
each VM have 4 VHDX files each on different RAID partitions
We would like to setup replication to another server with the exact configuration with the VHDX file replicating to the same RAID partition:
HOST 1: HOST 2:
VM VHDX config: replication
RAID partition 1 drive D: VHDX file 1--------------------------------- >RAID partition 1 drive D: VHDX file 1
RAID partition 2 drive F: VHDX file 2---------------------------------->RAID partition 2 drive F: VHDX file 2
RAID partition 3 drive G: VHDX file 3--------------------------------->RAID partition 3 drive G: VHDX file 3
RAID partition 4 drive H: VHDX file 4--------------------------------->RAID partition 4 drive H: VHDX file 4
Is this possible with Hyper-v?
Windows for business Windows Client for IT Pros Storage high availability Virtualization and Hyper-V
5 answers
Sort by: Most helpful
-
-
Mico Mi 1,936 Reputation points
2020-12-18T06:59:32.17+00:00 Hi,
According to your description, you just need to enable replication of your VM, choose the VHDX file you want to replicate and then the location you want to sent.
Here is the doc on how to set up Hyper-V replication:
https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/set-up-hyper-v-replicaWhat I forget to mention is: the two host servers are in two different data centers in different states.
There is no problem if the two servers can communicate with each other.
Thanks for your time!
Best Regards,
Mico Mi
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. -
Fred Flintstone 1 Reputation point
2020-12-19T19:27:07.377+00:00 when i set that up, it replicates to one drive on the replication server. What i need is for each Virtual drive to map to one of four physical drives on the replication server.
host server drive f:\vm-c.vhdx to replication server physical drive f:\vm-c.vhdx..
host server drive g:\vm-d.vhdx to replication server physical drive g:\vm-d.vhdx..
-
Mico Mi 1,936 Reputation points
2020-12-23T09:27:52.587+00:00 Hi,
I found another solution and hope it could help at your side:- Create initial VM folder on primary host. VM-NAME
Virtual Machines
Virtual Hard Disks
Snapshots - When the VM is up and running, export it. This preservers the folder structure I've created.
- Copy the export to the replica server. Put it in the location I want it. I'll typically rename the top folder as VM-NAME.HVR (hyper-v replica).
- Import the VM replica on the replica server using the same ID and register in place.
- On the primary, set up replication to the secondary and specify "use a machine already on the target." HV finds the already-loaded replica and then verifies it's a match by a block-by-block compare. It still takes a bit of time but is faster than a copy and compare.
Thanks for your time!
Best Regards,Mico Mi
If the Answer is helpful, please click "Accept Answer" and upvote it.
- Create initial VM folder on primary host. VM-NAME
-
Czech, Frank 111 Reputation points
2021-01-21T20:33:49.14+00:00 I just saw this post. I will give it a try and let you know