Migration from ESXi
The migration factory imports VMs from ESXi hosts or their management server into Proxmox VE, in planned waves with maintenance windows, validation and rollback. It uses Proxmox VE's own ESXi import storage (Proxmox VE 8.2+). Pro imports one VM per plan; Enterprise plans waves of any size.
1. Connect a source
Operations → Migration → Add source creates the import storage on the cluster through its connector, or uses one you created in Proxmox VE (Datacenter → Storage → Add → ESXi). Use a read-only account on the source. The password goes only to Proxmox VE; Nexhypro Virtual does not store it.
A scan lists every VM of the source with its disks, networks, firmware and guest type.
Management server connection (Enterprise)
A source can also have a connection to its management server or host (Sources → Connection). Nexhypro Virtual then powers the source VM off at cutover, prepares guests before the window and reads Tools status and port groups.
- Enter the server address and choose Read certificate. Compare the SHA-256 fingerprint with the one the server shows and confirm it. Nexhypro Virtual connects only to that certificate; a replaced certificate stops the connection until you confirm the new one.
- Enter a least-privilege account. The password is sealed in the Nexhypro Virtual database and never shown again.
- Check and save logs in through the cluster's connector and lists any missing privilege with the features it turns off.
Create a role on the source with these privileges and assign it to the account at the inventory root:
| Privilege | Used for |
|---|---|
VirtualMachine.Interact.PowerOff, VirtualMachine.Interact.PowerOn | power off at cutover, power on at rollback |
VirtualMachine.Interact.DeviceConnection | disconnecting the source's network adapters after cutover |
VirtualMachine.Config.Annotation | writing the target VM into the source's notes |
VirtualMachine.GuestOperations.Query, .Modify, .Execute | guest preparation |
Datastore.Browse | reading datastore files |
Remove the connection when the migration is over; the sealed password is deleted with it.
2. Prechecks
Every VM gets findings with a severity:
| Severity | Examples | Effect |
|---|---|---|
| Blocker | snapshots present, disk larger than the target's free space, unsupported controller | not imported |
| Warning | UEFI with an LSI controller, NVMe disks, unknown network | imported; review first |
| Info | guest tools unknown, Windows guest | imported |
Consolidate snapshots on the source and scan again to clear the blocker.
Windows checklist
- Install the VirtIO drivers (vioscsi, NetKVM) before cutover, or use compatibility mode (SATA and e1000e) for the first boot.
- Install the QEMU guest agent so validation can reach the guest.
- Write down static IP settings: the network adapter changes.
- Uninstall the old hypervisor's guest tools after migration.
Guest preparation (Enterprise)
With a management server connection, a plan can prepare its guests days before the window, while they still run on the source (plan page → Guest preparation, then Prepare guests on a wave):
- Set a guest account per family: a local administrator for Windows, root (or a user allowed to act as root) for Linux. Passwords are sealed and never shown again.
- Windows: in the plan settings, give the download address and SHA-256 of the VirtIO driver and QEMU guest agent MSI packages. Nexhypro Virtual ships no drivers; the connector downloads the files, checks them and installs them silently.
- Linux: the VirtIO modules are added to the initramfs when missing (dracut or initramfs-tools) and the QEMU guest agent is installed from the distribution's repositories.
- Every guest's IP configuration (addresses, gateway, DNS per adapter) is recorded for after the cutover.
Each VM shows the outcome and any step that did not work. Running it again is safe. Guests whose tools do not run, or whose operating system is unknown, are reported and keep the manual checklist above.
3. Mapping templates
A mapping translates the source to the target: port group → bridge and VLAN, datastore → storage, datacenter → folder, and the host placement. One template serves many plans.
4. Plans and waves
A plan has a source, a mapping and a validation policy (guest agent and network checks: required, optional or off; an optional TCP probe port; rollback automatic or keep). Waves have a maintenance window and a parallelism of 1–20.
The downtime estimate of a VM is its disk size divided by the throughput (150 MiB/s by default) plus five minutes. A wave whose estimate does not fit its window is flagged.
Import mode. A plan imports cold (default) or live; each VM can override it.
- Cold: the disks are copied, then the VM starts. Downtime is the whole copy plus the boot.
- Live (Proxmox VE 8.2 or later on the target): the VM starts on Proxmox at once and its disks are copied in the background. Downtime is the source shutdown plus the boot, about 7 minutes whatever the disk size; the copy time is shown next to it as the period during which the VM runs with slower disk reads. Until the copy ends, reads come from the source. If the copy fails, everything the VM wrote since it started on Proxmox is lost and the VM is rolled back like any other failure. Use it for VMs that write little; keep databases on cold until a warmer method is available.
A wave still needs the copy time inside its window in both modes: the import slot is busy until the copy ends.
Parallel imports. By default, at most 8 imports run at once per cluster and 2 per host, whatever the wave's parallelism says. To run up to 20, raise the worker's limits, for example NEXHYPRO_JOB_LIMITS=import:cluster=20,import:host=4. Keep the hosts' storage and network bandwidth in mind.
Scanning a busy ESXi host. The connector reads 4 source VMs at a time, at most 10 per second. When the ESXi side answers with a rate limit, it slows down for 30 s. A VM that stays unreadable is marked and can be read again by a rescan. Tune this with migration.scan_concurrency and migration.scan_rate in the connector configuration.
Restarts. A long import survives restarts. When the worker restarts, the job goes on from its last finished step. When the connector restarts, it follows the running Proxmox import tasks again.
5. Cutover
Nexhypro Virtual cannot power the source VM on or off: the import storage is read-only. When a wave starts:
- Each VM waits until you power off the source. If the window ends first, the VM is left untouched.
- The VM is imported, started and validated (guest agent, address, probe port). In live mode it is validated while its disks still copy (status Running, copying) and is marked migrated only when the copy has ended.
- On failure with automatic rollback, the new VM is removed and the report lists the manual steps: power the source VM on again and, with keep, remove the new VM when it is no longer needed.
With a management server connection the cutover needs no one at the source:
- When the VM's turn comes, Nexhypro Virtual shuts the source down through its guest tools and waits up to the plan's shutdown time (10 minutes by default). If the guest is still on, the item fails with nothing changed, unless the plan allows a hard power-off.
- After a successful migration the source stays powered off, its network adapters are disconnected (so an accidental power-on cannot bring a second copy with the same address up) and its notes name the new VM. The plan can keep the adapters connected.
- When a failure rolls the new VM back, Nexhypro Virtual powers the source on again, and the report drops that manual step.
- If the connection cannot be used (a changed certificate, a missing privilege), the item records it and waits for a manual power-off as without a connection.
IP configuration after cutover. When the guest was prepared, its recorded IP configuration is applied again through the QEMU guest agent as soon as the agent answers, adapter by adapter by MAC: the virtual network adapter changed, so Windows sees a new adapter and Linux a new interface name. Linux guests need NetworkManager or netplan; others are reported for a manual change.
- Keep (default): the same addresses, gateway and DNS servers.
- Change: in the mapping template, Change addresses moves a source subnet to a target subnet of the same size. The host part stays (10.20.0.15/24 becomes 10.30.0.15/24); the gateway and DNS servers come from the rule. The plan and the report list every old → new address. DNS records and firewalls outside the guest stay yours to update.
The connector's Proxmox role needs VM.GuestAgent.Unrestricted (Proxmox VE 9) or VM.Monitor (8.x) for this step; roles created by Nexhypro Virtual include it.
6. Report
The plan report lists every wave and VM with the estimate, the actual duration, the downtime and the issues. Export it as CSV, or print it to PDF from the browser.