From 925d7ae6f81678afaa6de73e95c33d9f815c02c9 Mon Sep 17 00:00:00 2001 From: gcolpart Date: Mon, 2 Jan 2017 15:04:23 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20crons=20pour=20backup=20de=20l'=C3=A9ta?= =?UTF-8?q?t=20de=20l'hyperviseur?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoKVM.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/HowtoKVM.md b/HowtoKVM.md index e19267ad..d8c5be95 100644 --- a/HowtoKVM.md +++ b/HowtoKVM.md @@ -121,6 +121,15 @@ Nous utilisons principalement : * Format QCOW2 (supporte les snapshots à chaud) * Format RAW (un peu plus performant que QCOW2) +### Gestion hyperviseur + +En cas de souci, il est important de connaître l'état de l'hyperviseur. On met donc en place des crons du type : + +~~~ +@hourly rsync -a --delete /etc/libvirt/qemu/*xml kvm2.example.com:/root/libvirt-kvm/ +@daily virsh list |ssh kvm2.example.com "cat >/root/libvirt-kvm/virsh-list.txt" +~~~ + ## Création d'une VM