Hyper-V VMs migration between 2 Clusters in different AD Domains

fsdg 1,006 Reputation points
2024-06-25T16:40:38.38+00:00

Hello,

 

how to migrate Hyper-v VMs from one cluster to another

Clusters are in two different domains, but they are on the same network and can ping each other.

 

Environment:

 

Domain1-Cluster1

Hyper-v 2 NOD cluster-Windows 2022(S2D)

20 guest VMs

 

Domain2-Cluster2

Hyper-v cluster 2 NOD cluster-Windows 2022(S2D)

0 guest VMs

 

Is a shared nothing migration possible between clusters in different domains?https://dataonsupport.dataonstorage.com/support/solutions/articles/24000059878-how-to-migrate-hyper-v-vms-from-one-cluster-to-another

 

Is a shared nothing live migration possible without Kerberos or any other authentication?

 

-"For the live migration to work between servers you must initiate the move from the source server. Otherwise you need to employ Kerberos authentication for the Hyper-V settings > Live Migration > Advanced settings and the Delegation > Trust properties of the computer object. "-

 

 

 

I don't know what would happen to the host in the cluster and cluster if I enabled live migration on it.

http://www.msserverpro.com/configuring-share-nothing-live-migration-in-windows-server-2012-r2-hyper-v/

Is it possible to export and import virtual machines from one cluster to another?

 

Any advice?

Thank you

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,609 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ian Xue (Shanghai Wicresoft Co., Ltd.) 33,071 Reputation points Microsoft Vendor
    2024-06-26T03:41:21.6333333+00:00

    Hi fsdg,

    Hope you're doing well.

    Migrating Hyper-V VMs between clusters can be done, even when the clusters are in different domains. Let's break down the process:

    1. Shared Nothing Live Migration:

    This feature allows you to move VMs between clusters without shared storage. It's particularly useful when the clusters are in different domains.

    (1) In Failover Cluster Manager, remove the Virtual Machine role for the VM you want to move from the original cluster.

    (2) Use the native Hyper-V Manager to "move" the actual VMs to the new cluster. Both processes can be done while the VMs are running.

    (3) Initiate the move from the source server. If needed, configure Kerberos authentication for live migration settings.

    NOte: Test this process on non-production VMs first to ensure it works smoothly.

    1. You can also export VMs from one cluster and import them into another. Here's how:

    (1) In Hyper-V Manager, right-click on the VM and choose "Export." This creates a VM export file.

    (2) Copy the export file to the new cluster.

    (3) In Hyper-V Manager on the new cluster, choose "Import Virtual Machine" and select the exported file.

    (4) Follow the wizard to configure settings for the imported VM.

    1. Enabling live migration won't impact the host or the entire cluster. It only affects the VMs being moved. Live migration allows VMs to move between hosts without downtime. The source host remains operational. Ensure that both clusters have compatible hardware and network configurations for successful live migration.

    Best Regards,

    Ian Xue


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

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Alex Bykovskyi 1,841 Reputation points
    2024-06-26T14:01:59.21+00:00

    Hey,

    You need to setup a two-way trust between different domains, which will allow you to migrate VMs. Here is a nice guide. http://eyeglazer.blogspot.com/2014/02/live-migration-between-domains.html

    As for export-import, it is possible, but requires downtime. If you are ok with it, it is a viable option.

    You can also use StarWind V2V Converter, which supports Live Move of the Hyper-V VMs.
    https://www.starwindsoftware.com/starwind-v2v-converter

    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.

    1 person found this answer helpful.
    0 comments No comments