VMware to Hyper-V on licenses the client already owned
The client paid for VMware and also had Microsoft licenses that cover Hyper-V. We moved the virtual machines to Hyper-V, and the client stopped paying for VMware.
- Change
- VMware to Hyper-V
- Duration
- 7 months
- Client
- Enterprise SaaS company
What we changed
- 01Performance compared on Hyper-V and VMware before planning
- 02Inventory of every VM, its dependencies and the licenses already owned
- 03Pipeline that adds Hyper-V hosts over PXE boot
- 04New LUNs on the same storage array, same VLANs and IP addresses
- 05Veeam-based pipeline that converts, fixes and starts each machine, SaltStack replaced with Ansible
The situation
The company ran its virtual machines on VMware and paid for VMware licensing every year. It also had Microsoft licenses that cover Hyper-V on the same hosts, so it was paying twice for the same thing.
What we did
1. Performance comparison
Before planning anything, we ran the same workloads on Hyper-V and on VMware and compared the performance, to make sure nothing would get slower after the move.
2. Inventory
We listed every virtual machine with its size, disks, networks, owner and dependencies, and checked that the existing Microsoft licenses covered the hosts we needed.
3. A pipeline for Hyper-V hosts
We built a pipeline that boots a server over PXE, installs it as a Hyper-V host and adds it as a node to the cluster. Every host freed from VMware went through this pipeline, so all nodes were set up the same way.
4. Storage and networks
- The storage array stayed the same. We created new LUNs on it for the Hyper-V clusters and added controller heads to the array, so the data could be moved quickly.
- The Hyper-V virtual switches and VLANs match the VMware networks, so every machine kept its IP address.
5. Backup and monitoring
Backup and monitoring for Hyper-V were set up before the first machine moved.
6. A pipeline for the virtual machines
We built a second pipeline around Veeam Backup:
- back up the virtual machine on VMware
- restore it as a Hyper-V virtual machine
- fix the machine
- start it on the Hyper-V cluster with the same IP address
7. Fixing the machines
This was the main part of the work. A converted machine does not always work right away, and doing the fixes by hand for every machine would have taken too long. We automated them, so each machine came out of the pipeline ready to run.
8. From SaltStack to Ansible
The servers were managed with SaltStack. We moved configuration management to Ansible.
9. Shut VMware down
When all machines were running on Hyper-V, we decommissioned vSphere and the VMware licenses were not renewed.
Result
The project took 7 months. The company saves $3M a year and bought no new virtualization licenses.