[Pacemaker] Do I need a resource for a clustered LVM volume group or not?
Florian Haas
florian.haas at linbit.com
Wed Dec 8 21:11:59 UTC 2010
On 12/08/2010 09:34 PM, Mike Diehn wrote:
> > I want
> > to use OCFS2 on an LVM2 logical volume.
>
> Why why why???
>
>
> Load balancing cluster.
And that DAV locking thingy or whatever Subversion uses is actually
cluster aware?
>
> > The PV for the volume group is
> > a SAN LAN connected to the nodes with fiber channel.
> >
> > Some examples I found showed configuring a resource with
> > ocf:heartbeat:LVM, presumably to active the volume group? Do I need
> > that? I ask because....
> >
> > Once the cluster gets dlm, clvm and o2cb running on a node, I can
> always
> > see the volume group on that node with vgscan. Before dlm and clvm is
> > running, I can't - which makes perfect sense.
>
> Are you trying to build simple failover, and you have no requirements
> for load balancing at all?
>
>
> We're load balancing.
>
>
> Make sure you configure STONITH so you can
>
> arbitrate access to shared storage.
>
>
> Yep, already done.
>
> So, do you know if we'll need a resource configured to do something with
> the clustered volume group?
Yes, use a clone set of an ocf:heartbeat:LVM primitive. Obviously, you
also need to clone the dlm, clvm, and o2cb resources.
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20101208/da19fe1f/attachment-0004.sig>
More information about the Pacemaker
mailing list