[ovirt-users] ovirt-agent: is it possible to run specific actions when taking snapshots?

Markus Stockhausen stockhausen at collogia.de
Sun May 17 19:05:03 UTC 2015


>From my experience I strongly advise to avoid a drop_caches
with option 3. We still see commands hanging for hours
if they are issued during high CPU/memory load. Even with
matured Ubuntu 3.16 kernels

Staying with option 1 should be enough and much more save.

Markus

________________________________
Von: users-bounces at ovirt.org [users-bounces at ovirt.org]" im Auftrag von "Yaniv Dary [ydary at redhat.com]
Gesendet: Sonntag, 17. Mai 2015 09:53
An: Ernest Beinrohr; users
Betreff: Re: [ovirt-users] ovirt-agent: is it possible to run specific actions when taking snapshots?


We use libvirt VIR_DOMAIN_SNAPSHOT_CREATE_QUIESCE flag, which uses guest agent to quiesce all mounted file systems within the domain.
The qemu guest agent implements fsfreeze/fsthaw commands, which do the quiescing.



On 05/12/2015 02:56 PM, Ernest Beinrohr wrote:
It would be nice, if ovirt snapshots were more safe. When a VM has the ovirt-agent installed, ovirt could tell the agent to run site-speficic actions. What I have in mind is:

linux vms:
- sync
- echo 3 > /proc/sys/vm/drop_caches
- zerofill empty space (this takes long but saves precious backup space)

databases:
- prepare databases for snapshot (flush,write-lock)
- send snapshot-complete and unlock


--
Ernest Beinrohr, AXON PRO
Ing<http://www.beinrohr.sk/ing.php>, RHCE<http://www.beinrohr.sk/rhce.php>, RHCVA<http://www.beinrohr.sk/rhce.php>, LPIC<http://www.beinrohr.sk/lpic.php>, VCA<http://www.beinrohr.sk/vca.php>,
+421-2-62410360 +421-903-482603




_______________________________________________
Users mailing list
Users at ovirt.org<mailto:Users at ovirt.org>
http://lists.ovirt.org/mailman/listinfo/users



--
Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
      8272306
Email: ydary at redhat.com<mailto:ydary at redhat.com>
IRC : ydary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150517/af02c842/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: InterScan_Disclaimer.txt
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150517/af02c842/attachment-0001.txt>


More information about the Users mailing list