Guide · Migrate from VMware

Migrate virtual machines from VMware ESXi to KVM.

There are two ways in: import a powered-off VM straight from ESXi or vCenter, or convert its disk file and build the VM around it. Both end with an ordinary KVM guest on one of your nodes.

By · Checked against LexiVirt 2.1 on

Import from ESXi or vCenter

The node that will run the VM does the copy with virt-v2v, which also installs virtio drivers in Windows guests so they boot on KVM.

  1. Install virt-v2v on the node that will receive the VM.
  2. Shut the VM down on VMware: only a powered-off VM is copied.
  3. Open Virtual Machines and choose From VMware.
  4. Pick the Source — ESXi host, or vCenter with the path to the host — and give the Host and User. The VMs are listed read-only.
  5. Pick a VM and the node to copy it to. The copy runs as a task you can follow.

The VMware password is used for that import only. It is kept in a file only the conversion can read, never in the database, the audit log or the task, and never logged.

Tested howVMware import is new in 2.1 and was tested against a simulation, not a real vCenter. Try one VM before planning a move.

Convert a disk instead

  1. Open Nodes → ISO Library and upload the .vmdk, .vhd, .vhdx, .vdi or .ova — or give its URL and choose Download to all nodes.
  2. A disk a VM cannot boot from yet has a convert button on its row. Choose it and name the qcow2 to make; the conversion runs as a task.
  3. Create a VM with Source → Disk image and pick the converted file.

Keep the firmwareA guest installed under UEFI does not boot on BIOS, and the other way round: create the VM with the firmware it was installed with.

Reading the old VM's settings

Retyping a VM's CPU count, memory, disks and MAC addresses is where mistakes happen. The console's API reads a VM definition from a VMware .vmx file, an OVF package or a Proxmox VE configuration and returns a plan, with every device it cannot carry over (a PCI passthrough device, a raw device mapping, an independent disk) listed by name rather than dropped quietly. The REST API reference on your own console (/api/docs) documents it.

After the move

  • Check the network cards: put each on the LexiVirt network it should reach.
  • Remove VMware Tools inside the guest once it runs on KVM.
  • Protect it: backups and, on shared storage, high availability.

Go further

The capability behind this guide: Live Migration, Node Drain and VMware Import. Every console page with its limits: the feature reference. Stuck? Ask the community or get support.

Run it on your own servers.

Free, with no licence per VM, socket or core. One command per server.