Skip to main content

Migration to Proxmox VE

ProxCenter provides automated migration pipelines to move virtual machines from VMware ESXi, vCenter, Hyper-V, Nutanix AHV and XCP-ng (Xen) to Proxmox VE. This is designed for organizations transitioning away from VMware or consolidating heterogeneous virtualization environments onto Proxmox.

Quick Path​

Before you start

  • The source hypervisor is declared in Settings > Connections.
  • The target Proxmox node has enough room on the target storage for the source disks. A warm migration needs a block storage: LVM, LVM-Thin, ZFS or Ceph RBD.
  • ProxCenter reaches the target Proxmox node over SSH, configured on its connection in Settings > Connections.
  • For a warm migration from VMware, the target node runs Proxmox VE 9 and has been prepared once, see Warm Migration Node Setup.
  • For a warm migration from XCP-ng, NBD is enabled on the pool and the nbdkit tools are installed on the node, see the XCP-ng requirements.

Migrate a VM

  1. Open Infrastructure > Inventory and expand the source in the MIGRATIONS section of the tree.
  2. Select one or more VMs and click Migrate to Proxmox.
  3. Choose the migration mode, then the target connection, node and storage.
  4. Check the options, click Review, then start the migration.
  5. Follow the job from the tasks bar or the migration dashboard.

Check the result

  • The job ends as completed in the migration dashboard and in the Task Center.
  • The VM exists on the target node and starts. A Windows guest that did not go through virt-v2v needs its VirtIO drivers installed afterwards, see Which path a migration takes.

Choose Your Path​

SourceOfflineWarm
Standalone ESXi, vCenterConversion pipelineWarm migration, after the node setup
XCP-ng, direct pool connectionConversion pipelineWarm migration
XCP-ng through Xen OrchestraConversion pipelineNot offered
Hyper-V, Nutanix AHVConversion pipelineNot offered
Another Proxmox clusterCross-cluster migrationNot offered

A job that fails or stalls: see Migration Troubleshooting.

Overview​

The migration feature handles the entire workflow: connecting to the source hypervisor, downloading VM disks, converting disk formats, importing into Proxmox, and configuring the resulting VM. All progress is tracked in real time through the ProxCenter interface.

Infrastructure, Inventory, migration dashboard with the vCenter, ESXi1, XCP-NG and Hyper-V hypervisor cards and their VMs, and the Recent Migrations list with a warm job at 90 % in delta sync, completed jobs with their duration and failed jobs with their error.
The migration dashboard, opened from the MIGRATIONS header of the inventory tree: every declared source hypervisor, then every migration job with its status, progress and outcome.

Five source types are supported:

  • Standalone ESXi -- Migrates VMs from a VMware ESXi host addressed directly, including VMs on vSAN datastores
  • vCenter -- Migrates VMs through a vCenter Server, which also covers clustered and vSAN-backed hosts
  • Hyper-V -- Migrates VMs from a Microsoft Hyper-V host
  • Nutanix -- Migrates VMs from a Nutanix AHV cluster
  • XCP-ng -- Migrates VMs from XCP-ng / Xen hosts via the XAPI interface
Add VMware ESXi Host dialog on the General tab, vCenter mode selected, with the ESXi versus vCenter guidance, Name vCenter Lab, vCenter URL vcenter-lab.example.com, Datacenter DC-Lab and Ignore TLS certificate errors on.
A source is declared in Settings, Connections: here a vCenter with Add ESXi. The Authentication tab takes the vSphere account.

Behind those, ProxCenter runs one of four conversion paths. Which one it picks is not a setting: it follows from the source type, the guest operating system and the mode, as detailed in Migration modes.

Migration Modes​

ProxCenter offers two migration modes, selectable in the Migrate to Proxmox VE dialog.

Offline migration (cold). The source VM is powered off and its disks are copied in full, then imported into Proxmox. This works for every source type. How the disks are converted depends on the source: a vCenter, Hyper-V or Nutanix VM, and a Windows VM on a standalone ESXi, are converted by virt-v2v, which also adapts the guest; a Linux VM on a standalone ESXi and any XCP-ng VM are converted with qemu-img by the in-house pipeline, which is faster but does not touch the guest. The open-source tooling the conversion needs on the Proxmox node (nbdkit, libnbd-bin) is installed automatically during the migration if it is missing, so the offline path needs no manual node preparation. The same goes for the ntfs-3g system-compression plugin that libguestfs needs to read Windows guests installed with Compact OS (see Hyper-V connections).

Warm migration (CBT). The source VMware VM stays online while ProxCenter copies its disks using VMware Changed Block Tracking. A short cutover then performs a clean guest shutdown and a final delta sync, so there is no data loss on large or busy disks. The online behavior requires CBT to be usable on the source VM: when it is not (most commonly because the VM carries a pre-existing snapshot), the migration falls back to a checksum mode with very different downtime characteristics, see CBT requirements and the checksum fallback. Warm migration needs a block-storage target (LVM, ZFS or Ceph) and the VMware VDDK runtime installed on the Proxmox node.

Three timelines, not to scale, of when the source VM is off. Offline: the source is powered off first, then full copy, convert, import and start of the target, so the downtime is the whole transfer. Warm with changed block tracking: the source keeps running through the full copy and the delta passes, and the downtime covers only the cutover and the start of the target. Warm with the checksum fallback, when CBT is unusable for example because of a pre-existing snapshot: the source is off from the start, through a scan of both sides, the copy and the start of the target, so the downtime is the whole transfer again. The cutover is a clean guest shutdown, the final delta, the guest conversion (on by default) and the creation and start of the target VM.Three timelines, not to scale, of when the source VM is off. Offline: the source is powered off first, then full copy, convert, import and start of the target, so the downtime is the whole transfer. Warm with changed block tracking: the source keeps running through the full copy and the delta passes, and the downtime covers only the cutover and the start of the target. Warm with the checksum fallback, when CBT is unusable for example because of a pre-existing snapshot: the source is off from the start, through a scan of both sides, the copy and the start of the target, so the downtime is the whole transfer again. The cutover is a clean guest shutdown, the final delta, the guest conversion (on by default) and the creation and start of the target VM.
When the source VM is off in each mode. Only warm migration with changed block tracking keeps it running until the short cutover.
Warm migration needs a one-time node preparation

The warm path needs a runtime the offline path does not: a VDDK library, OpenVDDK, which ProxCenter installs itself, together with the nbdkit VDDK plugin from the Debian non-free component, which a stock Proxmox node does not enable. The target node must run Proxmox VE 9: Debian 13, its base, is the first release that packages the plugin, so a Proxmox VE 8 node cannot be prepared, automatically or by hand, and the readiness check of the migrate dialog says so instead of offering the action. ProxCenter can prepare the node for you from the migrate dialog, or you can do it by hand; both are described in Warm migration node setup. Either way it is once per node, and the prerequisites at the bottom of the dialog block the migration until the node is ready.

Which path a migration takes​

ModeSourceConversion pathGuest adaptationDowntime
OfflinevCenter, Hyper-V, Nutanixvirt-v2vVirtIO drivers injected into Windows guestsThe whole transfer
OfflineStandalone ESXi, Windows guest, SSH configured on the connectionvirt-v2vVirtIO drivers injectedThe whole transfer
OfflineStandalone ESXi, Linux guest, or no SSH on the connectionIn-house pipeline, qemu-imgNone: a Linux guest boots on any controllerThe whole transfer
OfflineXCP-ngIn-house pipeline, qemu-imgNone; Windows guests get an e1000 card and a SATA boot diskThe whole transfer
WarmStandalone ESXi, vCenter, XCP-ng (direct pool connection)Block copy: VDDK for VMware, NBD with changed block tracking for XCP-ng; no image conversionNone; Windows guests get an e1000 card and a SATA boot diskA short cutover at the end
Decision diagram of the conversion path. Offline, where the downtime is the whole transfer: vCenter, Hyper-V and Nutanix guests go through virt-v2v, which adapts the guest and injects the VirtIO drivers; a guest on a standalone ESXi host goes through virt-v2v when it is a Windows guest and SSH is set on the connection, and through the in-house pipeline otherwise; XCP-ng guests go through the in-house pipeline, qemu-img with no guest adaptation, where a Windows guest gets a SATA boot disk and an e1000 NIC. Warm, where the downtime is a short cutover: the disks are block-copied with no image conversion, through the VDDK for a standalone ESXi host or a vCenter and over NBD with changed block tracking for a direct XCP-ng pool; at cutover the guest is converted by default and boots from a VirtIO SCSI boot disk with VirtIO NICs, and keeps a SATA boot disk and e1000 NICs when Convert the guest at cutover is off or the conversion fails. Hyper-V, Nutanix and XCP-ng through Xen Orchestra are offline only.Decision diagram of the conversion path. Offline, where the downtime is the whole transfer: vCenter, Hyper-V and Nutanix guests go through virt-v2v, which adapts the guest and injects the VirtIO drivers; a guest on a standalone ESXi host goes through virt-v2v when it is a Windows guest and SSH is set on the connection, and through the in-house pipeline otherwise; XCP-ng guests go through the in-house pipeline, qemu-img with no guest adaptation, where a Windows guest gets a SATA boot disk and an e1000 NIC. Warm, where the downtime is a short cutover: the disks are block-copied with no image conversion, through the VDDK for a standalone ESXi host or a vCenter and over NBD with changed block tracking for a direct XCP-ng pool; at cutover the guest is converted by default and boots from a VirtIO SCSI boot disk with VirtIO NICs, and keeps a SATA boot disk and e1000 NICs when Convert the guest at cutover is off or the conversion fails. Hyper-V, Nutanix and XCP-ng through Xen Orchestra are offline only.
How the mode, the source and the guest operating system pick the conversion path, and what each path does to the guest. A warm migration converts the guest at cutover unless you turn it off.

Three rules explain the whole table:

  • virt-v2v is the only path that adapts the guest. It maps the virtual hardware itself and installs the VirtIO drivers inside Windows guests. The other paths copy the disks as they are, so a Windows guest is given hardware it can boot without extra drivers, and you install the VirtIO drivers afterwards. See the guest hardware mapping in Configure.
  • For a standalone ESXi source, the guest operating system decides. Windows guests are routed through virt-v2v for the driver injection, provided SSH is configured on the connection, because that path needs it to read the VMX and the disks. Linux guests stay on the in-house pipeline, which is faster and has nothing to adapt.
  • For vCenter, Hyper-V and Nutanix, every guest goes through virt-v2v, Linux included. This is not about the guest: those sources have no in-house implementation, and virt-v2v is the only component that knows how to read them.
Warm migration never converts an image

The warm path reads changed blocks through the VDDK and writes them straight into the target block device, so there is no image conversion step and no place to inject anything. Its Converting disks phase is the optional post-migration qcow2 rewrite described in Migration options, not a guest conversion. A Windows VM migrated warm therefore boots on emulated hardware and needs its VirtIO drivers installed afterwards, exactly like the in-house offline path.

Modes offered per source

The mode selector only appears for sources that have more than one mode available. Hyper-V and Nutanix are offline-only. Standalone ESXi and vCenter offer Offline and Warm. XCP-ng offers Offline in every case, and Warm as well when the connection is a direct pool connection; through a Xen Orchestra connection only Offline is offered, since warm migration needs direct XAPI access for changed block tracking and for the NBD export of a snapshot.

Prerequisites​

  • Source hypervisor credentials with permission to read VM metadata, export disks and power off the VM. Warm VMware migration also needs snapshot creation/removal and Changed Block Tracking configuration rights. See Source hypervisor privileges for the vCenter and ESXi requirements.
  • Target Proxmox API credentials with permission to create VMs and write to the target storage.
  • SSH access to the target Proxmox node for import and conversion operations.
  • Enough temporary storage and network bandwidth for full disk transfers.
  • VirtIO drivers available for Windows guests when using VirtIO disk or network devices.
  • For warm migration, the target Proxmox node must run Proxmox VE 9 and needs the warm runtime, OpenVDDK included, installed once from the migrate dialog. See Warm migration node setup.

The conversion tools (virt-v2v, nbdkit, libnbd-bin, guestfs-tools, ovmf, the ntfs-3g system-compression plugin) all come from the Debian repositories. The Install missing packages button of the migration dialog installs them on the target node, with a 20 minute budget so a slow mirror does not leave the node half prepared, and works on a node without a Proxmox subscription: the 401 that apt update returns for the enterprise.proxmox.com repository is ignored, only a failing apt install is reported. If the installation does fail, the dialog shows the apt output and, when the enterprise repository is the cause, the commands that switch the node to the pve-no-subscription repository (they handle both the deb822 .sources files of Proxmox VE 9 and the older .list files).

Offline migration to a node without the conversion tools: Target node is missing required migration tools, listing virt-v2v, nbdkit, libnbd-bin, guestfs-tools, ovmf, the ntfs-3g plugin and the optional virtio-win ISO, with the Install missing packages button.
The offline preflight names each missing conversion tool on the target node and installs them with Install missing packages.

For large migrations, validate one representative VM before scheduling a bulk migration window.

warning

Migration requires SSH access to the target Proxmox node for disk import operations. Make sure the SSH connection is configured in Settings > Connections.

Enterprise Feature

The Migration feature is available in the Enterprise edition.

Source hypervisor privileges​

ProxCenter authenticates to the source hypervisor to read inventory and configuration and export the disks. The required privileges depend on the source and migration mode. Offline migration powers the source VM off before export. Warm VMware migration can enable Changed Block Tracking when it is off, and disables it afterward if ProxCenter enabled it. It also creates and removes its own transfer snapshots and shuts down the source at cutover, so a read-only account is insufficient. Review the privileges below before choosing a mode.

vCenter​

vCenter migrations use the canonical NFC transport: ProxCenter asks vCenter to open an export lease (the ExportVm and ExportSnapshot API) and streams the disks over it. This requires the vApp > Export privilege. When it is missing, vCenter rejects the export with SOAP error 500: Permission to perform this operation was denied, and the migration stops at the "Initiating NFC export lease" step.

The simplest least-privilege setup is to clone the built-in Read-only role, add the privileges below, then assign the resulting role to your migration user at the datacenter level, propagated to child objects so it covers both the VMs and their datastores.

PrivilegeRequired for
vApp > ExportOpening the NFC export lease. Mandatory, this is the privilege that triggers the SOAP 500 above when absent.
Virtual machine > Provisioning > Allow read-only disk accessReading the disk data over the lease
Virtual machine > Provisioning > Allow virtual machine downloadDownloading the disk and descriptor files
Virtual machine > Interaction > Power OffPowering off the source before offline export or at warm cutover
Virtual machine > Change Configuration > Toggle disk change trackingEnabling CBT for warm migration when it is off, then restoring its previous state
Virtual machine > Snapshot management > Create snapshotWarm migration creates a transfer snapshot
Virtual machine > Snapshot management > Remove snapshotWarm migration removes the transfer snapshot after cutover
Read-only (built-in role, used as the base)Authentication and reading VM configuration and inventory

The built-in Administrator role already includes all of these, so an administrator account works without any extra configuration. The table above is only needed when you want a dedicated, least-privilege migration account.

Standalone ESXi​

A direct ESXi migration downloads the disks over the host datastore API rather than through an NFC lease. A user in the host Administrator role works out of the box. For a restricted account, grant read access to the VM and its datastore, plus Virtual machine > Interaction > Power Off for offline migration and warm cutover. Warm mode also requires Virtual machine > Snapshot management > Create snapshot, Remove snapshot, and Virtual machine > Change Configuration > Toggle disk change tracking to manage its transfer snapshots and CBT state.

Starting a Migration​

Migration has no page of its own: a source hypervisor is declared as a connection, and it then appears in the inventory alongside your Proxmox clusters.

Infrastructure, Inventory: the MIGRATIONS section of the tree expanded to VMware ESXi, vCenter and its hosts, ESXi1, XCP-NG and Microsoft Hyper-V; the vCenter page with its VM counters and migration statistics, two VMs ticked and the Migrate selected (2) button.
Source hypervisors sit in the MIGRATIONS section of the inventory tree. Tick VMs on a source to migrate them together, or use Migrate on one row.
  1. Declare the source in Settings > Connections, with the Add ESXi button and its equivalents for the other source types (ESXi or vCenter, XCP-ng, Hyper-V, Nutanix). ProxCenter connects and reads its inventory.
  2. Open Infrastructure > Inventory. The sources are listed in the MIGRATIONS section of the tree, at the bottom, grouped by hypervisor type and showing the host and VM counts.
  3. Expand a source to reach its VMs, or click the MIGRATIONS header itself for the migration dashboard, which lists past and running migration jobs.
  4. Select one or more VMs and click Migrate to Proxmox. Several VMs open the bulk dialog, see Bulk Migration.
  5. Choose the migration mode, then the target Proxmox connection, node, and storage.
  6. Configure the options (VM name, VMID, network bridge, and the ones described in Migration Options).
  7. Start the migration, and follow it from the tasks bar, the migration dashboard or the Task Center.
Migrate to Proxmox VE dialog for the vCenter VM app01: Source VM summary, Target Proxmox VE with Target Node pve1 (PVE-PROD), Target Storage CephStoragePool, Network Bridge vmbr0, VLAN tag and Target VMID 7021 reported Available; Migration Settings with Warm Migration selected, the ready node alert, Start VM after migration, Automatic cutover, Convert the guest at cutover, the Downtime budget at 5 min, the Copy network (VMkernel adapter) and the integrity check note.
The first step of the Migrate to Proxmox VE dialog, here for a warm migration: target on the left, mode and options on the right. Review opens the second step.

The Target Storage list​

The Target Storage selector is filled by asking the selected Proxmox node to enumerate its storages. Proxmox walks every declared backend before answering, so a datacenter that declares many PBS targets legitimately needs 20 seconds or more.

That read therefore takes a longer budget of its own, and the field says which of three things is happening:

  • Loading storage list..., with a spinner, while the node is answering;
  • Could not read the storage list: followed by the reason the server returned and a Retry link, when the read failed;
  • No storage on this node accepts disk images, when the node genuinely exposes none.
Three states of the Target Storage field: Loading storage list with a spinner, Could not read the storage list with the reason and a Retry link, and No storage on this node accepts disk images.
The Target Storage field says why it is empty: still loading, a read that failed (with Retry), or a node with no storage for disk images.

Both budgets are settings, see Timeouts and gates. Raising the slow one is the right answer for a datacenter with many PBS storages; the short one governs the polling ProxCenter does everywhere else and should stay short.

A read that times out does not count towards the node-failover circuit breaker either. A host that answers slowly has answered, so a busy but healthy cluster is not reported as having every node unreachable.

The Target VMID​

Target VMID is optional: left empty, Proxmox allocates the next free id on the target cluster. When you type one, the dialog checks it against the target cluster itself while you type and reports available, taken or invalid next to the field, and the Migrate button stays disabled on the last two. A failed migration never deletes a guest it did not create: cleanup destroys the target VM only once Proxmox has accepted this job's create call.

Three states of the Target VMID field: 7022 Available, 7021 Already in use on the target, and 50 Must be an integer between 100 and 999999999.
The Target VMID is checked against the target cluster as you type.

The same rule applies to the other dialogs that create a guest. Proxmox only requires a VMID to be unique inside its own cluster, and neither a clone, a create nor a migration ever crosses a connection. With two clusters connected, Clone, Create VM and Create LXC therefore compute availability and the suggested next id on the connection the guest is created on, so an id used on the other cluster stays available.

MSP and vDC tenants keep their cross-cluster rule. A tenant VMID range is an explicit contract rather than a Proxmox constraint, and it stays enforced server side on the create, clone and template-deploy routes.

Bulk Migration​

You can select multiple VMs and migrate them in a single batch. Migrations run sequentially to avoid overloading the network and storage. The Task Center shows progress for each VM individually.

Bulk Migration (6 VMs) dialog: Selected VMs list, target Auto distribute across nodes on PVE-PROD with storage CephStoragePool and bridge vmbr0, Load on the target nodes with memory and CPU now and after the batch and a memory warning for pve2, Offline Migration, the virtio-win ISO offer for 2 Windows VMs, Temporary Storage, Root filesystem, Maximum parallel migrations at 2, Parallel disk downloads at 2, CPU type and Start VM after migration.
The Bulk Migration dialog: one set of settings for the batch, how many run at once, and the load each target node would carry once the batch has landed.
tip

For large migrations, consider running them during off-peak hours. Each VM migration involves downloading the full disk image, which can take significant time depending on disk size and network bandwidth.

Storage Considerations​

The target storage type affects the import behavior:

Storage TypeDisk FormatVolume Naming
Local (directory)qcow2local:VMID/vm-VMID-disk-N.qcow2
NFSqcow2nfs-storage:VMID/vm-VMID-disk-N.qcow2
LVM / LVM-Thinrawlvm-thin:vm-VMID-disk-N
ZFSrawzfs-pool:vm-VMID-disk-N
Ceph RBDrawceph:vm-VMID-disk-N

On a file-based target (directory, NFS, CIFS, GlusterFS, BTRFS) the converted disk is written straight onto the target storage and adopted as a volume in place, instead of being copied a second time during import. You do not need to plan for twice the converted size while a migration runs. Block targets (LVM, LVM-Thin, ZFS, Ceph RBD) stream into a pre-allocated volume.

Keep pve-qemu-kvm current on target nodes

The single-write path for qcow2 targets relies on QEMU. A data-loss regression in the qcow2 write path shipped briefly in pve-qemu-kvm 11.0.0-1 and 11.0.0-2 and is fixed from 11.0.3 onward. On an affected build the converted disk can end up with a zeroed boot sector, so the guest fails to start with a "No bootable device" message even though the migration reports success. Keep pve-qemu-kvm up to date on your Proxmox target nodes with apt update && apt full-upgrade, and check the installed build with apt-cache policy pve-qemu-kvm.

Permissions​

PermissionDescription
vm.migrateStart a migration, read a migration job, cancel it, run the node preflight and the warm-migration node preparation, request the cutover, force the source power off, and choose the root filesystem of a parked conversion. Every migration route requires it
connection.viewRead the target node's storage, node and bridge lists that fill the migrate dialog. Checked on the node, so a scoped role only sees its own perimeter
tasks.viewFollow a migration from the Task Center and open its logs there

The target VM is created on Proxmox with the credentials of the target connection, so no separate ProxCenter permission governs the write itself. What the Proxmox API token needs is described in Prerequisites.