[Pacemaker] Do I need a resource for a clustered LVM volume group or not?

Mike Diehn mike.diehn at ansys.com
Wed Dec 8 22:17:03 UTC 2010


On Wed, Dec 8, 2010 at 4:11 PM, Florian Haas <florian.haas at linbit.com>wrote:

> 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?
>

Doubt it...


> > 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.
>

OK, Florian, thanks.

While I waited to hear back from you, I tried this on our test cluster:

  # bunch of primitives, then...
  group Shared-FS dlm clvm o2cb vg1 fs1
  clone Shared-FS_clone meta interleave="true"

and it seems to work.

Do you suppose I'm asking for trouble having all five resources in that one
group?

Best,
Mike

-- 
Mike Diehn
Senior Systems Administrator
ANSYS, Inc - Lebanon, NH Office
mike.diehn at ansys.com, (603) 727-5492
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20101208/389462c2/attachment-0002.htm>


More information about the Pacemaker mailing list