Free site check on Sysadmin.lk
Get a free audit
  1. Home
  2. Guides
  3. Moving from VMware to KVM and oVirt: a plan

Moving from VMware to KVM and oVirt: a plan

How to plan a move from VMware to KVM managed by oVirt: what to check first, converting machines with virt-v2v, and moving in safe batches.

Since Broadcom bought VMware, many businesses have opened their renewal quote and started looking for a way out. KVM is the hypervisor built into the Linux kernel, and it runs a large share of the world’s public clouds. oVirt adds what most VMware users miss when they first look at plain KVM: a web console, clusters, shared storage, live migration and high availability. Both are open source, with no per-core licence fee.

This is how we plan a move.

1. Take stock of what you run

List every virtual machine with its operating system, CPU, memory and disk size, network, and how much downtime it can take. Note anything that depends on VMware-specific features: VMware Tools scripts, backup software that talks to vCenter, or appliances that are only supported on ESXi. Vendor-supplied appliances are the most common blocker, so check those first.

2. Design the new platform

  • Hosts: at least three for a cluster you can patch without downtime. Existing servers can often be reused if their CPUs support hardware virtualisation.
  • Storage: shared storage (NFS, iSCSI, Fibre Channel or a Ceph cluster) so virtual machines can move between hosts.
  • Network: separate networks or VLANs for management, storage, migration and the virtual machines themselves.
  • Management: the oVirt engine, either on its own server or as a self-hosted engine running inside the cluster.

oVirt is maintained by its community. Check that the version you pick supports the operating systems on your hosts, and keep a support plan for it like you would for anything else.

3. Convert one machine and test it

virt-v2v converts VMware virtual machines to KVM. It copies the disks, removes VMware Tools, installs the right drivers (virtio) and adjusts the boot configuration. For Windows guests, have the virtio drivers ready, and test the first conversion carefully: storage and network drivers are where problems appear.

Start with something that matters but is not critical. Boot it on the new platform, check the application, its network addresses and its licences (some software licences are tied to hardware IDs that change), and time how long the conversion took.

4. Move in planned batches

Group machines by what depends on what, and move each group in an agreed window. For each machine: shut down, final conversion, boot on KVM, test, then mark it done. Keep the VMware copy powered off but untouched until the business confirms everything works. That is your way back.

5. Run it properly afterwards

  • Use live migration to empty a host before patching it, so maintenance no longer means downtime.
  • Turn on high availability for machines that must restart automatically if a host fails.
  • Back up virtual machines with a tool that supports oVirt, and test restores, just as you would have on VMware.
  • Monitor hosts, storage space and the engine itself.

Is it worth it?

For most small and medium setups, yes. You trade licence fees for engineering time, and the platform you end up with is standard Linux that many engineers know. The move itself is mostly careful planning and testing, not clever tricks.

Rather have us do it?

Run many servers on fewer machines with KVM and oVirt: live migration, high availability and no licence fees.

WhatsApp