Beginning of 2013 I published a post about how to migrate Virtual Machines from a 2008 R2 Failover Cluster to a 2012 Failover Cluster.
Today, answering a Forum Question in Technet I looked back at that post:
All that has changed in that process is the naming of one Button. Instead of “Migrate Roles” it’s now “Copy Cluster Roles”.
Therefore I can say that the manual is as well valid for migrations towards 2012 R2.
Of course every environment is unique (you may use SMB Storage, etc.), therefore take care and test the scenario before migrating your productive VMs.
Recently we enabled Hyper-V Replica between two of our Windows Server 2012 R2 Datacenter Clusters.
In the first days I was checking the replication of theVMs manually using a PowerShell one-liner.
Eventually I got tired of that, so I searched a little bit and found a PS Script (not sure where) and customized it to fit my needs.
When executed on one Cluster Node (could also be a standalone machine), the script gathers information regarding the replication and sends it via Mail to me:
Read more ›
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.
Sorry folks… I left my blog quite abandoned for the last year, now I promise to get it running again.
Next post in some minutes!
Recently one of our clustered Hyper-V Hosts (with Windows Server 2012 Datacenter installed) was throwing a BSOD in the moment we tried to delete an ISO file from a CSV Volume.
After investigation with Microsoft Support, we found out that Quest Change Auditor (like McAfee Antivirus) is installing a Filter Driver. This Filter Driver is being used in order to track File Access.
This Filter Driver in combination with the CSVFS (csvfs.sys) is causing the BlueScreen.
After we uninstalled ChangeAuditor, the problem was solved.
Yesterday, directly after the new OS Version was available, I started the download.
Unfortunately it took some time, as Microsoft Servers seemed to be a little bit overloaded.
Anyway, after half a day I had the update on ready for install on my Laptop and my Tablet.
First I have to say, my Laptop is was running Windows 8 Enterprise, so the update procedure was a little different:
- Download the ISO image from the Volume Licensing Portal
- Suspend Bitlocker Drive Encryption for Partition C:\
- Start the installation within Windows (I used a USB-Stick*, as I was not sure if it would work in case I just mounted the ISO)
- I was going through the Wizard, which told me that all my Apps will be lost (ok, so my Laptop would be faster)
- After pressing the finish button, it took like 30min to install Windows 8.1
- My settings and files (Domain Account, Windows Account, Personal Files and even installed security certificates) have been preserved.
- Now that the upgrade was done, I reinstalled Office, Antivirus, etc. and resumed the Bitlocker Drive Encryption.
- Easy and smooth :-)
* The Windows 7 USB DVD Download Tool is available for free and still working with Windows 8.1
With my Tablet (running the 32bit Version) the upgrade was a little easier:
- After opening the Store, I selected the Windows 8.1 update
- The installation started immediately after the download finished
- After 30min, I got the screens with the usual questions: Agree Terms of Service, Allow Location, etc.
- With this installation, all settings and files have been preserved (even Desktop Apps like iTunes)
- Did I say before easy and smooth? It was a lie… this installation was easy and smooth!
Enjoy upgrading folks!
… finally an easy way to migrate Virtual Machines accross different versions of Windows Server Hyper-V.
The first step towards this was done by Microsoft when giving us the possibility to do a Shared-Nothing Live Migration.
Introducing Windows Server 2012 R2, this feature can be used in order to migrate Virtual Machines from a Windows Server 2012 Hyper-V Host to a Host running Windows Server 2012 R2.
Of course this is not only possible for single Hosts, but also for migrations between Clusters.
Now you don’t have to worry about a maintenance window for migrating your Virtual Machines to a new system, you can do a Cross-Version Live Migration :-)
Note: It’s not supported to perform a migration from 2012 R2 to 2012.