[pve-devel] [PATCH docs 2/3] add migration subchapter to qm.adoc
Dominik Csapak
d.csapak at proxmox.com
Thu Dec 1 17:22:59 CET 2016
explain online and offline migration
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
qm.adoc | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/qm.adoc b/qm.adoc
index b9b7ca1..c133f7b 100644
--- 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
--
2.1.4
More information about the pve-devel
mailing list