Re: [ClusterLabs] snapshoting of running VirtualDomain resources - OCFS2 ?
Hi Lentes, >>> > > - On Mar 15, 2018, at 3:47 AM, Gang He g...@suse.com wrote: >> Just one comments, you have to make sure the VM file integrity before > calling >> reflink. >> > > Hi Gang, > > how could i achieve that ? sync ? The disks of the VM's are configured > without cache, > otherwise they can't be live migrated. I am not familiar with VM, my means is that you need to make sure the VM file is integrity when you reflinks that file. The VM file data can be in memory(page cache) or in disk, OCFS2 file system can handle that, but OCFS2 do not know if VM file data is integrity from virt-manager angle. Thanks Gang > > > Bernd > > > Helmholtz Zentrum Muenchen > Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) > Ingolstaedter Landstr. 1 > 85764 Neuherberg > www.helmholtz-muenchen.de > Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe > Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons > Enhsen > Registergericht: Amtsgericht Muenchen HRB 6466 > USt-IdNr: DE 129521671 > > > ___ > Users mailing list: Users@clusterlabs.org > https://lists.clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org ___ Users mailing list: Users@clusterlabs.org https://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [ClusterLabs] snapshoting of running VirtualDomain resources - OCFS2 ?
- On Mar 15, 2018, at 3:47 AM, Gang He g...@suse.com wrote: > Hello Lentes, > > >> Hi, >> >> i have a 2-node-cluster with my services (web, db) running in VirtualDomain >> resources. >> I have a SAN with cLVM, each guest lies in a dedicated logical volume with >> an ext3 fs. >> >> Currently i'm thinking about snapshoting the guests to make a backup in the >> background. With cLVM that's not possible, you can't snapshot a lustered lv. >> Using virsh and qemu-img i didn't find a way to do this without a shutdown >> of the guest, which i'd like to avoid. >> >> I found that ocfs2 is able to make snapshots, oracle calls them reflinks. >> So formatting the logical volumes for the guests with ocfs2 would give me >> the possibility to snapshot them. >> >> I know that using ocfs2 for the lv's is oversized, but i didn't find another >> way to solve my problem. > Yes, OCFS2 reflink can meet your requirement, this is also why ocfs2 > introduces > file clone. Hi, would you manage the ocfs2 of the logical volumes by fstab or by the cluster ? I'd prefer by fstab because then the cluster configuration would be more overseeable. Bernd Helmholtz Zentrum Muenchen Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) Ingolstaedter Landstr. 1 85764 Neuherberg www.helmholtz-muenchen.de Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen Registergericht: Amtsgericht Muenchen HRB 6466 USt-IdNr: DE 129521671 ___ Users mailing list: Users@clusterlabs.org https://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [ClusterLabs] snapshoting of running VirtualDomain resources - OCFS2 ?
Hello Lentes, >>> > Hi, > > i have a 2-node-cluster with my services (web, db) running in VirtualDomain > resources. > I have a SAN with cLVM, each guest lies in a dedicated logical volume with > an ext3 fs. > > Currently i'm thinking about snapshoting the guests to make a backup in the > background. With cLVM that's not possible, you can't snapshot a lustered lv. > Using virsh and qemu-img i didn't find a way to do this without a shutdown > of the guest, which i'd like to avoid. > > I found that ocfs2 is able to make snapshots, oracle calls them reflinks. > So formatting the logical volumes for the guests with ocfs2 would give me > the possibility to snapshot them. > > I know that using ocfs2 for the lv's is oversized, but i didn't find another > way to solve my problem. Yes, OCFS2 reflink can meet your requirement, this is also why ocfs2 introduces file clone. > > What do you think ? I'd like to avoid to shutdown my guests, that's too > risky. I experienced already several times that a shutdown can last very long > because of problems with umounting filesystems because of open files or user > connected remotely (on windows guests). Just one comments, you have to make sure the VM file integrity before calling reflink. Thanks Gang > > > Bernd > > -- > > Bernd Lentes > Systemadministration > Institut für Entwicklungsgenetik > Gebäude 35.34 - Raum 208 > HelmholtzZentrum münchen > [ mailto:bernd.len...@helmholtz-muenchen.de | > bernd.len...@helmholtz-muenchen.de ] > phone: +49 89 3187 1241 > fax: +49 89 3187 2294 > [ http://www.helmholtz-muenchen.de/idg | > http://www.helmholtz-muenchen.de/idg ] > > no backup - no mercy > > > Helmholtz Zentrum Muenchen > Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH) > Ingolstaedter Landstr. 1 > 85764 Neuherberg > www.helmholtz-muenchen.de > Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe > Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons > Enhsen > Registergericht: Amtsgericht Muenchen HRB 6466 > USt-IdNr: DE 129521671 > > > ___ > Users mailing list: Users@clusterlabs.org > https://lists.clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org ___ Users mailing list: Users@clusterlabs.org https://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org