What a VMware to Hyper-V migration actually takes
Performance tests, inventory, automated hosts and a Veeam-based pipeline for the machines: the steps of a 7-month migration.
- BITServices team
- #vmware
- #hyper-v
Since VMware licensing changed after the Broadcom acquisition, many companies are looking at their renewal and asking whether they need VMware at all. For a company that already has Microsoft licenses covering Hyper-V on its hosts, the answer is often no. But the migration is a real project, not a weekend task. This is what it took in one of ours, which ran for 7 months.
Start with a performance comparison
Before planning anything, run the same workloads on Hyper-V and on VMware and compare. It answers the question everyone will ask later: will it be slower? Do it on your hardware with your workloads, not with vendor benchmarks.
Inventory everything
List every virtual machine with its size, disks, networks, owner and dependencies. Check which Microsoft licenses you already have and which hosts they cover. The inventory decides the order of the migration and finds the machines nobody owns any more, which are often best turned off instead of moved.
Automate the hosts
Every host freed from VMware has to become a Hyper-V node. Doing this by hand for dozens of hosts is slow and leaves each one slightly different. We built a pipeline that:
- boots the server over PXE
- installs it as a Hyper-V host
- adds it as a node to the failover cluster
Every node came out the same.
Storage and networks
If the storage array is good, keep it. Create new LUNs for the Hyper-V clusters next to the VMware ones and move data between them on the same array. If the move needs to be fast, extra controller capacity on the array can pay for itself in time saved.
Make the Hyper-V virtual switches and VLANs match the VMware networks. Then every machine keeps its IP address, and nothing outside the platform has to change.
Backup and monitoring first
Set up backup and monitoring for Hyper-V before the first machine moves. The first machine on the new platform should be as safe as the last one on the old.
Automate the machines
We built the migration pipeline around Veeam Backup, which can restore a VMware backup as a Hyper-V virtual machine:
- back up the machine on VMware
- restore it as a Hyper-V machine
- fix it
- start it on the cluster with the same IP address
The third step is where most of the work is. A converted machine does not always work right away, and fixing each one by hand does not scale to hundreds of machines. Every fix that was needed more than once went into the pipeline, so each machine came out ready to run.
Clean up configuration management
A migration touches every machine, so it is a good moment to clean up how they are managed. In our case the servers were managed with SaltStack, and we moved configuration management to Ansible.
Turn VMware off
When the last machine runs on Hyper-V, decommission vSphere and do not renew the licenses. That is where the savings start. In our project they came to $3M a year, without buying new virtualization licenses.
Is it worth it for you
Look at three numbers: what your next VMware renewal will cost, which Microsoft licenses you already own, and how many machines you have. If the renewal is large and the licenses are already there, the migration usually pays for itself within the first year.