How to Migrate VMware VMs to Proxmox VE: A Step-by-Step Guide

You are currently viewing How to Migrate VMware VMs to Proxmox VE: A Step-by-Step Guide

How to Migrate VMware VMs to Proxmox VE: A Step-by-Step Guide

Image by: panumas nikhomkhai

Table of contents

Planning your ESXi to Proxmox migration

Did you know 42% of enterprises now use multiple hypervisors according to Gartner research? Migrating from VMware ESXi to Proxmox VE requires meticulous planning. Start by inventorying your VMs: document operating systems, allocated resources, storage dependencies, and network configurations. Verify Proxmox hardware compatibility – particularly for NICs and storage controllers. Critical preparation steps include:

  • Auditing VM disk formats (Thick vs Thin Provisioned)
  • Noting MAC addresses for post-migration network consistency
  • Scheduling downtime windows during off-peak hours
  • Creating full ESXi VM backups using verified methods

Network architecture mapping is essential. Proxmox uses Linux bridges instead of VMware’s vSwitches, so prepare to reconfigure VLANs, bonds, and firewall rules. Calculate storage requirements accounting for disk format conversion overhead – migrating thick-provisioned VMDKs to QCOW2 may require 15-20% extra temporary space. Finally, establish rollback procedures using ESXi snapshots before initiating live migrations.

Resource allocation strategy

Proxmox handles CPU and memory differently than ESXi. While VMware uses reservations and limits, Proxmox relies on Linux cgroups. For memory-intensive applications, configure ballooning drivers during preparation. Benchmark current ESXi performance using esxtop to establish baseline metrics for post-migration comparison.

Preparing virtual machines for migration

Windows VMs require special attention due to storage controller differences. Install VirtIO drivers before migration:

  1. Download latest Fedora VirtIO drivers
  2. Mount ISO to ESXi VM
  3. Run installer and select “SCSI controller” and “Network adapter” components
  4. Reboot and verify device manager shows “Red Hat VirtIO SCSI controller”

For Linux systems, ensure virtio-scsi and virtio_net kernel modules are loaded. Convert disks using qemu-img:

qemu-img convert -O qcow2 source.vmdk target.qcow2

Disk format ESXi default Proxmox optimal Conversion overhead
Thick Provisioned Eager Zeroed RAW 25-30% time increase
Thin Provisioned Thin VMDK QCOW2 10-15% space savings
RDM Direct mapping LVM passthrough Requires reconfiguration

Handling UEFI systems

Convert firmware from EFI to OVMF by backing up NVRAM variables. Proxmox requires OVMF.fd for UEFI support – copy /usr/share/OVMF/OVMF_CODE.fd to your VM configuration directory. Failure to address this causes boot failures in 68% of UEFI migrations according to community reports.

Using Proxmox’s ESXi import wizard

Proxmox’s native migration tool automates complex transfers. From the web interface:

  1. Select target node > Migration tab
  2. Enter ESXi host IP and credentials (requires read-only access)
  3. Choose VMs for transfer
  4. Map storage targets (LVM-Thin recommended for QCOW2)

Behind the scenes, the wizard uses govc for ESXi communication and qemu-img for disk conversion. For large VMs (>1TB), initiate transfers via SSH:

qm importovf 100 vm-name.ovf local-lvm –format qcow2

Monitor progress with tail -f /var/log/pve/tasks/active. Common pitfalls include certificate errors (fix with openssl verify) and locked VM disks (disable snapshots). For Windows Server 2016+, disable Secure Boot temporarily during transfer to prevent driver conflicts.

Post-migration network configuration

Network inconsistencies cause 75% of post-migration issues. Proxmox uses Linux bridges instead of vSwitches:

  • Edit /etc/network/interfaces to recreate port groups
  • Map VMware NICs to VirtIO adapters using MAC address preservation
  • For bonded interfaces, use balance-alb mode for active-backup equivalence

Windows VMs often lose network connectivity due to driver mismatches. In Device Manager:

  1. Uninstall existing VMware NIC
  2. Scan for hardware changes
  3. Select “Red Hat VirtIO Ethernet Adapter” when prompted

Configure Proxmox firewalls through Datacenter > Firewall > Options. Replicate ESXi security groups by creating IPset aliases. For complex setups, consider our advanced networking guide.

Validation and optimization techniques

After migration, validate functionality:

  • Boot consistency: 3 consecutive reboots
  • Storage performance: fio --filename=/mnt/test --direct=1 --rw=randread --ioengine=libaio --bs=4k
  • Network throughput: iperf3 -c target_host

Enable Proxmox-specific optimizations:

qm set VMID –cpu cputype=host –scsihw virtio-scsi-single

For KVM acceleration, install qemu-guest-agent in all VMs. Monitor resource usage with pveperf and compare against ESXi baselines. Implement ZFS compression for storage efficiency – lz4 typically reduces VM footprint by 15-40% according to OpenZFS benchmarks.

Frequently asked questions

Can I migrate ESXi VMs without downtime?

While Proxmox lacks live migration from ESXi, you can minimize downtime using changed block tracking. Take initial VM copy while systems run, then perform differential sync during maintenance window. For critical systems, consider Proxmox’s replication tools.

Why do Windows VMs show BSOD after migration?

This typically indicates missing VirtIO drivers or incorrect storage controller configuration. Boot in safe mode, uninstall VMware SCSI controllers, and install VirtIO drivers. Ensure Proxmox VM settings use VirtIO SCSI instead of IDE emulation.

How do I convert RDM disks to Proxmox?

Physical RDMs require passthrough via LVM. Create physical volume: pvcreate /dev/sdX, then add to LVM storage in Proxmox. For virtual RDMs, use qm importdisk to convert to QCOW2 or RAW format.

Does Proxmox support VMware tools after migration?

VMware tools are incompatible with KVM. Remove them completely and install qemu-guest-agent for equivalent functionality like graceful shutdowns and host-guest time synchronization.

Conclusion

Migrating from ESXi to Proxmox unlocks significant cost savings while maintaining enterprise-grade virtualization. Successful transitions hinge on meticulous preparation – particularly VirtIO driver installation and storage format conversion. By leveraging Proxmox’s native import tools and methodically validating network configurations post-migration, organizations can achieve seamless transitions with minimal downtime. Remember to test all critical workloads before decommissioning ESXi hosts. For ongoing optimization, explore our Proxmox performance tuning guide. Start with non-production systems today to build migration confidence.