[ClusterLabs] VirtualDomain as resources and OCFS2

Gang He ghe at suse.com
Mon Sep 10 22:29:42 EDT 2018


Hello Lentes,

It does not look like a OCFS2 or pacemaker problem, more like virtualization problem.
>From OCFS2/LVM2 perspective, if you use one LV for one VirtualDomain, that means the guest VMs on that VirtualDomain can not occupy the other LVs' storage space.
If you use OCFS2 on one LV for all VirtualDomains, the guest VMs can share the storage space, but you can look at OCFS2 ACL mechanism, maybe this can help to limit each directory to use storage space. 

Thanks
Gang



>>> On 2018/9/11 at 0:20, in message
<719144896.5605540.1536596432401.JavaMail.zimbra at helmholtz-muenchen.de>,
"Lentes, Bernd" <bernd.lentes at helmholtz-muenchen.de> wrote:
> Hi,
> 
> i'm establishing a cluster with virtual guests as resources which should 
> reside in a raw files on OCFS2 formatted logical volumes.
> My first idea was to create for each VirtualDomain its own logical volume, i 
> thought that would be well-structured. 
> But now i realize that my cluster configuration gets confusing. E.g. i need 
> for each OCFS2 Volume a resource, which must be cloned and which has an order 
> with its respective guest. I'm having about 10 Virtual Domains. 10 
> VirtualDomain resources, 10 clones, 10 orders. Confusing.
> Now i'm thinking of one Logical Volume for all VirtualDomains. Then the 
> cluster configuration would be more overseeable. Just one OCFS2 resource, 
> just one clone, just one order. 
> Is there any reason which contradicts to the use of only one LV and one 
> OCFS2 resource for several VirtualDomains ?
> 
> Thanks.
> 
> 
> Bernd
> 
> -- 
> 
> Bernd Lentes 
> Systemadministration 
> Institut für Entwicklungsgenetik 
> Gebäude 35.34 - Raum 208 
> HelmholtzZentrum münchen 
> [ mailto:bernd.lentes at helmholtz-muenchen.de | 
> bernd.lentes at 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 ] 
> 
> wer Fehler macht kann etwas lernen 
> wer nichts macht kann auch nichts lernen
>  
> 
> 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. med. Dr. h.c. Matthias H. Tschoep, Heinrich 
> Bassler, Dr. rer. nat. Alfons Enhsen
> Registergericht: Amtsgericht Muenchen HRB 6466
> USt-IdNr: DE 129521671
> 
> 
> _______________________________________________
> Users mailing list: Users at 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



More information about the Users mailing list