Bug 22074 - Snapshot und Migration - /var/lib/libvirt
Snapshot und Migration - /var/lib/libvirt
Status: RESOLVED WONTFIX
Product: UCS manual
Classification: Unclassified
Component: Virtualisation / UVMM
unspecified
Other Linux
: P5 normal (vote)
: ---
Assigned To: Philipp Hahn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-04-01 14:52 CEST by Felix Botner
Modified: 2021-05-14 11:28 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2011-04-01 14:52:54 CEST
Auf KVM Nodes, zwischen denen Instanzen migriert werden sollen, muss das  Verzeichnis /var/lib/libvirt geshard werden (bzw. der default Pool muss geändert werden), damit beide die gleichen Informationen über z.B. Snapshot haben.

Dies sollte nochmal in der Doku erwähnt werden.
Comment 1 Philipp Hahn univentionstaff 2011-04-04 07:32:35 CEST
Pools haben nichts mit Snapshots zu tun: Diese dienen nur der Speicherverwaltung, insbesondere beim Anlegen neuer Storage-Volumes. Dort ist /v/l/libvirt/images/ richtig.
Geshared werden sollte aber richtigerweise /v/l/libvirt/, u.a. wegen den Snapshots und Suspended VMs.
Comment 2 Philipp Hahn univentionstaff 2011-08-26 17:21:26 CEST
(In reply to comment #1)
> Geshared werden sollte aber richtigerweise /v/l/libvirt/, u.a. wegen den
> Snapshots und Suspended VMs.

Das ist falsch, da in /v/l/libvirt/qemu/ u.a. die UNIX-Domain-Sockets der laufenden VMs abgelegt werden. Bei einer Live-Migration würden sich dann Qull- und Ziel-VM in die Quere kommen.
Geshared werden sollten getrennt folgende drei Bereiche:
 /var/lib/libvirt/images/ (bzw. andere/weitere Pools)
 /var/lib/libvirt/qemu/snapshot/
 /var/lib/libvirt/qemu/save/
Comment 3 Philipp Hahn univentionstaff 2021-05-14 11:28:54 CEST
UVMM is deprecated and no longer part of UCS-5 - WONT-FIX