]> git.proxmox.com Git - pve-docs.git/blobdiff - qm.adoc
qm.adoc: change section ordering
[pve-docs.git] / qm.adoc
diff --git a/qm.adoc b/qm.adoc
index b9b7ca160fb8bf9eada37ccd1377cca31bc0045b..a0492fb1145ed46b69d9e834004741314d4e9621 100644 (file)
--- a/qm.adoc
+++ b/qm.adoc
@@ -484,6 +484,24 @@ start after those where the parameter is set, and this parameter only
 makes sense between the machines running locally on a host, and not
 cluster-wide.
 
+
+[[qm_migration]]
+Migration
+---------
+
+If you have a cluster, you can migrate your VM to another host with
+
+ qm migrate <vmid> <target>
+
+When your VM is running and it has no local resources defined (such as disks
+on local storage, passed through devices, etc.) you can initiate a live
+migration with the -online flag.
+
+If you have local resources, you can still offline migrate your VMs,
+as long as all disk are on storages, which are defined on both hosts.
+Then the migration will copy the disk over the network to the target host.
+
+
 Managing Virtual Machines with `qm`
 ------------------------------------