[Pacemaker] Clustered LVM in failover cluster

David Morton davidmorton78 at gmail.com
Mon Sep 10 16:26:28 EDT 2012


So if we do not use clustered VG's will any changes made to a shared disk
(non clustered filesystem) be visible to all cluster nodes ? Or does
activating the VG resource effectively 'refresh' the LVM layout prior to
any filesystem actions taking place in the event of a failover ?

We will have one OCFS2 volume so DLM and cLVM are requirements there either
way.

On Mon, Sep 10, 2012 at 8:44 PM, Lars Marowsky-Bree <lmb at suse.com> wrote:

> On 2012-09-10T11:06:15, David Morton <davidmorton78 at gmail.com> wrote:
>
> > Not directly Pacemaker related but a simple question for those who manage
> > clusters ...
> >
> > I'm recreating our failover cluster on a new SAN which will use cLVM and
> > XFS, I am after some clarification that the "--clustered y" directive is
> > the correct and appropriate way to create the volume groups as the LVM
> > layout will be visible to both cluster nodes at all times regardless of
> the
> > filesystem mount state ?
> >
> > I'll then create LVM resources in Pacemaker to control the activation of
> > the volume groups prior to filesystem mounting.
>
> If you're using an LVM resource to activate/deactivate the VG in a
> fail-over setting, there is no need to use a clustered volume group.
>
> You gain some protection against admin mistakes by not exposing the VG,
> and if you do not need concurrent access to the VG, you can skip using
> the DLM/cLVM2, which reduces complexity.
>
>
> Regards,
>     Lars
>
> --
> Architect Storage/HA
> SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix
> Imendörffer, HRB 21284 (AG Nürnberg)
> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120911/2cb5c36f/attachment-0003.html>


More information about the Pacemaker mailing list