From 1e2b048d6c093063c42d72a038ceb8ab79f0cc6e Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Thu, 1 Dec 2016 17:22:59 +0100 Subject: [PATCH] add migration subchapter to qm.adoc explain online and offline migration Signed-off-by: Dominik Csapak --- 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 + +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