Virtual Machine Migration: Cross Cluster – Cross Domain

Hello,

today I want to share a challenge and step-by-step solution I had with one quite specific setup.

Following the scenario:
I have two Windows Server 2012 R2 Hyper-V Clusters, in different domains but connected to the same storage.
Now I needed to migrate 20 Virtual Machines from Cluster A to Cluster B.

Hyper-V has the “Copy Cluster Role” Wizard which is basically doing this kind of migration, but it’s not working cross-domain. Therefore I had so search another solution.

Here the process of moving the VMs:

  • Using the Failover Cluster Manager, move all VMs which should be migrated to the same CSV and make sure no other VMs are on that disk.
  • Shut down the Virtual Machines
  • Take the CSV offline
  • Unexport/Unpresent the VLUN from Cluster A
  • Optional: Rename the VLUN in the storage system (my VLUNs are named according to the cluster they belong to)
  • Export/Present the VLUN to Cluster B
  • Take the disk online and add it as Cluster Shared Volume to the Failover Cluster
  • Optional: Rename the disk in Disk Management / Failover Cluster Manager
  • Import the VMs (register in-place) using the Hyper-V Manager
  • Configure Cluster Role in Failover Cluster Manager.
    This gives you the option to make all of the imported VMs HA in bulk
  • Start your Virtual Machines and test the network connectivity and Live/Quick migration

Now comes the cleanup on the source cluster:

  • Remove VMs from the Cluster
  • Remove CSV from Cluster Shared Volumes
  • Remove CSV from Cluster Disks

The migration time was around 30min for all of the above, whereas the most time was needed for the import of the VMs.

Best Regards,
Jens

Advertisements
About

I'm a Systems Engineer working for an IT-Service Provider in Frankfurt am Main, Germany. I am specialized in Virtualization, High Availability, Storage- and Server Administration. In my free time, I like spend time with my lovely wife, to do sports like jogging and biking. I enjoy movies and a good bottle of fermented grape juice.

Tagged with: , , , ,
Posted in Virtualization

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: