[linux-lvm] some principal questions about cLVM

Seb mailing.sr at gmail.com
Thu Jun 7 02:29:26 UTC 2012


2012/6/7 Lentes, Bernd <bernd.lentes at helmholtz-muenchen.de>

>
>
> Sebastian wrote:
>
> >       Hello,
> >
> >       with clvm you can have the same VG shared/activated on several
> nodes.
> >       You'll then choose where you want the LVs activated in your
> cluster config.
> >       You can activate some of the LVs on 1 node, and the other LVs on
> another node.
> >
> >       Regards,
> >       --Sebastien
>
> Hi,
>
> thanks for your answer. Can i use one VG for all LV's ? That would be
> easier than providing for every LV a seperate VG.
> Is it better to implement cLVM as a ressource, managed by pacemaker, or
> should i start cLVM using the normal way (Skript in /etc/init.d) ?
>
>
> Bernd
>

Hi,

Yes you can have only 1 VG holding all your LVs.
Let clvmd start normally at boot time, it will take care of the shared VG.
In your cluster config, you'll only manage LV and FS as resources.

--Sebastien


>
>        2012/6/5 Lentes, Bernd <bernd.lentes at helmholtz-muenchen.de>
>
>
> >>              Hi,
> >>
> >>              i'm new to cLVM. I used "normal" LVM several times, and i
> like it.
> >>              I want to establish a two node cluster. As resources i
> have VM's (using KVM). Furthermore i will have a FC SAN.
> >>              I'd like to build PV, then VG and finally LV's on top of
> the SAN. Every VM will reside in one LV.
> >>              Is that ok ?
> >>              My question is now: When i create virtual disks in my SAN,
> do i have to create a Virtual Disk (or LUN) on my SAN, then PV, VG and
> finally LV for every VM
> >>              Or can i create ONE Virtual Disk (LUN) in my SAN, on top
> of that create ONE PV and ONE VG and finally for every VM one LV ? This
> would be easier.
> >>
> >>              I'd like to have the VM's distributed between the two
> nodes, as a kind of Load-Balancing.
> >>              Is it possible that the VG is running on both nodes
> simultaneously, having some LV's (and thereby some VM's) running on node 1
> and others on node 2 ?
> >>
> >>              Thanks for any answer.
> >>
> >>
> >>              Bernd
>
>
>                --
>                Bernd Lentes
>
>                Systemadministration
>                Institut für Entwicklungsgenetik
>                HelmholtzZentrum münchen
>                bernd.lentes at helmholtz-muenchen.de
>                 phone: +49 89 3187 1241 <tel:%2B49%2089%203187%201241>
>                fax:   +49 89 3187 3826 <tel:%2B49%2089%203187%203826>
>                 http://www.helmholtz-muenchen.de/idg
>
>                Wer Visionen hat, soll zum Hausarzt gehen
>                Helmut Schmidt
>
>                Helmholtz Zentrum München
>                Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
>                Ingolstädter Landstr. 1
>                85764 Neuherberg
>                www.helmholtz-muenchen.de
>                Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
>                Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus
> Blum
>                Registergericht: Amtsgericht München HRB 6466
>                USt-IdNr: DE 129521671
>
>                _______________________________________________
>                linux-lvm mailing list
>                linux-lvm at redhat.com
>                https://www.redhat.com/mailman/listinfo/linux-lvm
>                read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
>
>
>
> Helmholtz Zentrum München
> Deutsches Forschungszentrum für Gesundheit und Umwelt (GmbH)
> Ingolstädter Landstr. 1
> 85764 Neuherberg
> www.helmholtz-muenchen.de
> Aufsichtsratsvorsitzende: MinDir´in Bärbel Brumme-Bothe
> Geschäftsführer: Prof. Dr. Günther Wess und Dr. Nikolaus Blum
> Registergericht: Amtsgericht München HRB 6466
> USt-IdNr: DE 129521671
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20120607/51266983/attachment.htm>


More information about the linux-lvm mailing list