Re: [PATCH 1b/7] dlm: core locking

Lars Marowsky-Bree
2005-04-28T12:57:36Z

On 2005-04-28T02:49:04, Daniel Phillips <phillips@istop.com> wrote:

> > Just some food for thought how this all fits together rather
> > neatly.
>
> It's actually the membership system that glues it all together. The
> dlm is just another service.

Membership is one of the lowest level and high privileged inputs to the
whole picture, of course.

However, "membership" is already a pretty broad term, and one must
clearly state what one is talking about. So we're clearly focused on
node membership here, which is a special case of group membership; the
top-level, sort of.

Then every node has it's local view of node membership, constructed
typically from observing node heartbeats.

Then the nodes communicate to reach concensus on the coordinated
membership, which will usually be a set of nodes with full N:N
connectivity (via the cluster messaging mechanism); and they'll also
usually aim to identify the largest possible set.

Eventually, there'll be a membership view which also implies certain
shared data integrity guarantees if appropriate (ie, fencing in case a
node didn't go down cleanly, and granting access on a clean join).

These steps but the last one usually happen completely internal to the
membership layer; the last one requires coordination already, because
the fencing layer itself might need recovery before it can fence
something after a node failure.

And then there's quorum computation.

Certainly you could also try looking at it from a membership-centric
angle, but the piece which coordinates the recovery of the various
components which makes sure the right kind of membership events are
delivered in the proper order, and errors during component recovery are
appropriately handled, is, I think, pretty much distinct from the
"membership" and a higher level component.

So I'm not sure I'd buy "the membership is what glues it all together"
on eBay even for a low starting bid.

Sincerely,
Lars Marowsky-Brée <lmb@suse.de>

--
High Availability & Clustering
SUSE Labs, Research and Development
SUSE LINUX Products GmbH - A Novell Business