[ovirt-users] ovirt-agent: is it possible to run specific actions when taking snapshots?
Yaniv Dary
ydary at redhat.com
Sun May 17 03:53:59 EDT 2015
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
> 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
IRC : ydary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20150517/90f8e0e2/attachment.html>
More information about the Users
mailing list