]> git.proxmox.com Git - pve-docs.git/commitdiff
add migration subchapter to qm.adoc
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 1 Dec 2016 16:22:59 +0000 (17:22 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 2 Dec 2016 15:23:51 +0000 (16:23 +0100)
explain online and offline migration

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
qm.adoc

diff --git a/qm.adoc b/qm.adoc
index b9b7ca160fb8bf9eada37ccd1377cca31bc0045b..c133f7b911ade5fc961ef8d0b4e7186009b647dd 100644 (file)
--- a/qm.adoc
+++ b/qm.adoc
@@ -512,6 +512,22 @@ Same as above, but only wait for 40 seconds.
 
  qm shutdown 300 && qm wait 300 -timeout 40
 
+[[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.
+
 
 [[qm_configuration]]
 Configuration