LinuxCommandLibrary

qm-migrate

TLDR

Migrate a virtual machine to another node

$ qm migrate 100 target_node
copy
Migrate with bandwidth limit (10 KiB/s)
$ qm migrate 100 target_node --bwlimit 10
copy
Force migration with local devices
$ qm migrate 100 target_node --force true
copy
Use online/live migration for running VMs
$ qm migrate 100 target_node --online true
copy
Enable live storage migration for local disks
$ qm migrate 100 target_node --with-local-disks true
copy

SYNOPSIS

qm migrate vmid target [options]

DESCRIPTION

qm migrate migrates a virtual machine to another node in the Proxmox VE cluster. It supports both offline and online (live) migration for running VMs.
Live migration allows moving VMs between nodes with minimal downtime. Storage migration enables moving VMs with local disks.

PARAMETERS

--bwlimit kbps

Bandwidth limit in KiB/s
--force true|false
Allow migration with local devices (root only)
--online true|false
Use online/live migration for running VMs
--with-local-disks true|false
Enable live storage migration for local disks

CAVEATS

Online migration requires shared storage or --with-local-disks option. Network bandwidth and latency affect migration time. Force option requires root privileges.

HISTORY

Part of Proxmox VE QEMU/KVM management tools. VM migration is essential for cluster maintenance and load balancing.

SEE ALSO

qm(1), pvecm(1)

Copied to clipboard