Migrate from VMware ESXi and vCenter
Replicate VMware VMs to PikoStack with changed block tracking while they run, convert drivers and cut over in minutes.
Requirements#
- ESXi 6.7 or later, standalone or managed by vCenter
- An account that can read inventory, create and remove snapshots, and enable changed block tracking (CBT)
- The VMware VDDK installed on the converter and
converter.vddk: truein its configuration. Without VDDK only thecoldmethod is allowed. - Network access from the converter to vCenter or ESXi on HTTPS (443) and to the ESXi hosts for disk access (902)
Add the source#
curl -sS -H "Authorization: Bearer $MTOKEN" -d '{
"name": "vcenter-prod",
"kind": "vcenter",
"endpoint": "https://vcenter.example.com",
"username": "[email protected]",
"tls_fingerprint": "<sha256 of the certificate>",
"credentials": {"password": "<password>"}
}' http://127.0.0.1:8790/api/v1/migrate/sources
Use "kind": "esxi" for a standalone host. Then probe it and read the inventory:
curl -sS -X POST -H "Authorization: Bearer $MTOKEN" http://127.0.0.1:8790/api/v1/migrate/sources/<id>/probe
curl -sS -H "Authorization: Bearer $MTOKEN" http://127.0.0.1:8790/api/v1/migrate/sources/<id>/inventory
What happens#
- Preparing: CBT is enabled on the VM if it is off (this needs a snapshot cycle, which PikoStack performs).
- Initial sync: a snapshot is taken, every allocated block is copied, the snapshot is removed.
- Syncing: each round takes a snapshot, asks VMware which blocks changed since the previous round, and copies only those.
- Cutover: the guest is shut down, the final delta copied, and the guest converted: VMware Tools removed, VirtIO drivers installed (Windows drivers from the VirtIO driver ISO), initramfs rebuilt, boot loader and fstab fixed, guest agent installed.
- The VM boots on PikoStack with the source MAC and IP.
After cutover the source VM is powered off and annotated as migrated. It is never deleted.
Windows guests#
- Install the VirtIO drivers on the source before migrating, then set
"convert": "never"in the job policy to skip conversion and shorten downtime. - BitLocker with vTPM: TPM state does not transfer. Suspend BitLocker protectors before cutover.
- Domain controllers: migrate one at a time and verify replication between waves.
Limits#
- Independent and RDM disks are excluded with a warning; review the pre-flight report.
- Disks attached to multiple VMs (shared disks) need a cold migration of the whole cluster.
Something unclear or wrong on this page? Tell us. © 2026 PikoStack.