Hyper-V replication combined with live migration an/or cluster

Anders Mogensen (R0017) 0 Reputation points
2024-07-06T14:49:58.1966667+00:00

Is it possible that I can combine replication and live migration? When I try to move a server to another host, where the server is also replicated to, I get an error that there is already a virtual machine with the same name / id already on the host.

I had actually hoped to be able to run 2 hosts as Hyperconverged with Starwind VSAN and utilize the benefits of Cluster, while creating replication and getting the benefits of Recovery Points. But this look like this is also not possible? I got an error that you cannot replicate to a host that is part of a cluster...

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,209 questions
Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,733 questions
Windows Server Clustering
Windows Server Clustering
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Clustering: The grouping of multiple servers in a way that allows them to appear to be a single unit to client computers on a network. Clustering is a means of increasing network capacity, providing live backup in case one of the servers fails, and improving data security.
1,007 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Alex Bykovskyi 2,091 Reputation points
    2024-07-08T08:40:02.93+00:00

    Hey,

    If you want to move the replicated VM to a replica host, you will need to perform planned migration. You can find detailed information here: https://learn.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/set-up-hyper-v-replica

    As for StarWind VSAN and Windows Server, VSAN can be used as a shared storage for Failover Cluster. VSAN HA LUNs are replicated between the LUNs, while Failover Cluster will handle failover and Live Migration. You don't need to use Hyper-V Replica in this config. https://www.starwindsoftware.com/resource-library/starwind-virtual-san-for-hyper-v-2-node-hyperconverged-scenario-with-windows-server-2016/

    As for Recovery Points, you can use checkpoints with your HA VMs. https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/checkpoints

    Cheers,

    Alex Bykovskyi

    StarWind Software

    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

    0 comments No comments

  2. Ian Xue 37,541 Reputation points Microsoft Vendor
    2024-07-09T02:30:36.9966667+00:00

    Hi Anders,

    Hope you're doing well.

    Unfortunately, you cannot replicate to a host that is part of a cluster. Replication targets should be standalone hosts, not part of a cluster. If you want to utilize the benefits of both cluster and replication, consider separate hosts for these purposes.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.