VMware to Proxmox VE & Ceph Migration Playbook
Production engineering playbook for migrating VMware vSphere clusters to Proxmox VE 9 and distributed Ceph Squid storage with live QEMU disk streaming, VirtIO driver staging, and cutovers with a tested rollback path.
- Inventory and measure the estate before choosing a target design.
- Use at least three Proxmox nodes with separate Ceph and VM networks.
- Pilot with low-risk workloads and test Windows VirtIO drivers early.
- Keep VMware running until each migration wave is signed off.
Evaluating Open Hypervisors Amidst Virtualization Licensing Changes
Following Broadcom's acquisition of VMware, enterprise virtualization licensing restructured away from perpetual socket-based licenses toward bundled per-core subscription models (such as VMware Cloud Foundation and vSphere Foundation). This shift prompted IT directors, CIOs, and infrastructure architects to actively evaluate sovereign, cost-predictable hypervisor alternatives.
Proxmox Virtual Environment (VE) 9.x has emerged as a proven open-source enterprise hypervisor platform. Combining a Debian 13 foundation, high-performance KVM virtualization, lightweight LXC containers, and native enterprise software-defined storage via Ceph Squid, Proxmox VE delivers cluster high availability without per-socket or per-core licensing restrictions.
Migrating virtual machine estates from VMware vSphere to Proxmox VE requires structured planning around ESXi storage importing, VirtIO driver injection, Ceph pool tuning, and software-defined network (SDN) translation.
Hypervisor Architecture Comparison
Understanding the architectural translation between VMware and Proxmox VE prevents operational surprises during cutover:
- Hypervisor Kernel: VMware ESXi uses a proprietary monolithic microkernel (VMkernel). Proxmox VE utilizes an upstream Linux kernel (a Proxmox-maintained kernel on Debian; 7.0 by default in VE 9.2) with native hardware support, standard debugging tools (
perf,bpftrace), and broad driver compatibility. - Clustering & Quorum: VMware uses vCenter Server as a centralized management controller. Proxmox VE uses a distributed cluster managed by Corosync (pmxcfs). Every node hosts a replicated copy of cluster configuration; there is no centralized single point of failure for cluster state.
- Distributed Storage: VMware vSAN requires dedicated licensing. Proxmox VE integrates Ceph directly into the management interface and CLI, running distributed object, block (RBD), and file (CephFS) storage across commodity enterprise NVMe/SSD nodes.
The ESXi Live Import Mechanism Explained
Proxmox VE 8.2 introduced an integrated ESXi Import Wizard that fundamentally streamlined virtualization migrations. It remains part of Proxmox VE 9; version 9.1 fixed live import from ESXi storage failing with QEMU machine version 10, so stay on a current 9.x release before a migration wave.
Here is how the ESXi importer operates in production:
- FUSE-Based Storage Integration: Proxmox utilizes a user-space FUSE client (via
pve-esxi-import-tools) that connects to VMware vCenter or standalone ESXi hosts over port 443. It exposes the remote ESXi datastore locally on the Proxmox filesystem, reading virtual machine configurations directly. - Source VM Power-Off: To maintain strict filesystem consistency and prevent disk write divergence, the source virtual machine in VMware must be gracefully powered off prior to commencing the migration. There is no delta synchronization from a live running source VM.
- Live-Import Target Execution: When the "live-import" checkbox is selected in the wizard, Proxmox starts the target VM on KVM almost immediately. QEMU handles background block-streaming from the ESXi datastore into target Ceph RBD or local storage while the guest OS boots. Blocks requested by the guest that have not yet been streamed are prioritized on-demand.
Preventing the Windows INACCESSIBLE_BOOT_DEVICE BSOD
A frequent hurdle during VMware-to-KVM migrations is the Windows Blue Screen of Death (BSOD) displaying INACCESSIBLE_BOOT_DEVICE. In VMware, Windows Server guests use VMware Paravirtual SCSI (PVSCSI) or LSI Logic SAS storage controllers. When transferred to KVM, the virtual machine boots on a VirtIO SCSI controller for which Windows does not possess native inbox drivers.
To ensure first-boot success, inject the virtio-win drivers prior to source shutdown:
# ==============================================================================
# PowerShell Driver Pre-Staging Runbook for Windows Server Guests
# Execute inside Windows VM prior to final shutdown
# ==============================================================================
# 1. Mount VirtIO Windows ISO (staged from local share or CD-ROM)
$IsoDrive = "D:"
# 2. Inject VirtIO SCSI and Network Drivers into Windows Driver Store
pnputil /add-driver "$IsoDrive\viostor\2k22\amd64\viostor.inf" /install
pnputil /add-driver "$IsoDrive\vioscsi\2k22\amd64\vioscsi.inf" /install
pnputil /add-driver "$IsoDrive\NetKVM\2k22\amd64\netkvm.inf" /install
pnputil /add-driver "$IsoDrive\Balloon\2k22\amd64\balloon.inf" /install
# 3. Verify Drivers Installed in Windows Driver Store
Get-WindowsDriver -Online | Where-Object { $_.ProviderName -like "*Red Hat*" }
# 4. Gracefully Shut Down VM for Cutover
Stop-Computer -Force
Proxmox VE & Ceph Storage Cluster Configuration
The following runbook demonstrates configuring the ESXi storage backend in Proxmox, optimizing the Ceph pool, and importing virtual machine disks. Illustrative example: adapt names, placement groups and sizes to your cluster, and test on a non-production node first.
# ==============================================================================
# Proxmox VE 9.x Storage & Migration Configuration (illustrative; not yet re-validated on 9.2)
# ==============================================================================
# --- Step 1: Define ESXi Storage in /etc/pve/storage.cfg ---
# (Added via Proxmox Web GUI Datacenter -> Storage -> Add -> ESXi, or manually)
# esxi: esxi-vcenter
# server vcsa.corp.internal
# username [email protected]
# --- Step 2: Create a Ceph Pool for VM Disk Images ---
# Create dedicated pool with 128 placement groups and 3x replication
ceph osd pool create ceph-vm-pool 128 128 replicated
ceph osd pool set ceph-vm-pool size 3
ceph osd pool set ceph-vm-pool min_size 2
ceph osd pool set ceph-vm-pool pg_autoscale_mode on
ceph osd pool application enable ceph-vm-pool rbd
# --- Step 3: Configure Proxmox Storage Definition for Ceph RBD ---
# Note: 'nodes' directive takes node names, not IP addresses
cat <<EOF >> /etc/pve/storage.cfg
rbd: ceph-vm-storage
pool ceph-vm-pool
content images
krbd 0
nodes pve-node-01,pve-node-02,pve-node-03
EOF
# --- Step 4: Import Virtual Machine Disk via qm importdisk ---
# VM ID 105: Attach target disk to Ceph storage pool
qm create 105 \
--name "SQL-PROD-01" \
--memory 32768 \
--cores 8 \
--cpu host \
--ostype win11 \
--machine q35 \
--bios ovmf \
--efidisk0 ceph-vm-storage:0,efitype=4m,pre-enrolled-keys=1 \
--scsihw virtio-scsi-single \
--net0 virtio,bridge=vmbr0,tag=100
# Import disk from ESXi datastore path or staged image to Ceph storage pool
qm importdisk 105 /mnt/pve/esxi-vcenter/vm-105/vm-105.vmdk ceph-vm-storage --format raw
qm set 105 --scsi0 ceph-vm-storage:vm-105-disk-0,discard=on,ssd=1,iothread=1
qm set 105 --boot order=scsi0
Cutover Risk Matrix & Rollback Protocols
| Risk Scenario | Probability & Severity | Operational Impact | Rollback / Mitigation Protocol |
|---|---|---|---|
| Windows BSOD (Inaccessible Boot) | Medium / High | Target VM cannot boot into Windows OS after migration. | Change VM SCSI controller in Proxmox from VirtIO to SATA or IDE temporarily; boot OS, install VirtIO drivers, reboot, and revert to VirtIO SCSI. |
| Static IP Loss / NIC Reset | High / Medium | Windows assigns new interface GUID to VirtIO NIC, resetting IP to DHCP. | Document MAC and IP mappings before shutdown; run scripted PowerShell netsh script via Proxmox QEMU Guest Agent post-boot. |
| Ceph OSD Performance Degradation | Low / High | Simultaneous streaming of multiple large VMs impacts cluster I/O. | Limit concurrent streaming migrations; schedule large database cutovers during designated maintenance windows. |
| Rollback Requirement | Low / Medium | Application validation failure requires aborting migration and returning to VMware. | Low-risk rollback: do not delete source VMware VMDK disks. Simply power down the Proxmox VM and power on the original VMware VM. |
Primary Documentation & Reference Architecture
Review the official technical documentation for hypervisor migration and storage engineering:
- Proxmox VE Official Server & Hypervisor Migration Guide
- Ceph Squid documentation
- Proxmox VE Roadmap and release notes
- Proxmox VE: Upgrade from 8 to 9
- Proxmox VE Integrated Ceph Cluster Setup & Maintenance
- Proxmox VE Wiki: Windows VirtIO Drivers
