[Linux-ha-dev] [RFC] Actions of the CRMd's Finite State Machine
andrew-ha at beekhof.homelinux.net
Mon Feb 16 03:23:21 MST 2004
On Mon, 16 Feb 2004 10:27:38 +0100
Lars Marowsky-Bree <lmb at suse.de> wrote:
> > > > #define A_NODE_BLOCK 0x08 /* Add a system generate "block" so that
> > > > * resources arent moved to or are
> > > > * activly moved away from the affected
> > > > * node. This way we can return quickly
> > > > * even if busy with other things.
> > > > */
> > > Is this not a constraint which is added into the CIB...?
> > Correct, and this is the action that creates it (presumably a node
> > has told us it wants to go away soon or HA or the CCM (what is our
> > authoritative source for this?) said the node had just left the
> > building). I prefer this than having the offending node create the
> > constraint itself and this way the logic is consistent regardless of
> > a clean or messy exit.
> I'd have thought that this constraint would be added via a A_FOO_MSG
> or A_CIB_QUERY, ie that this would be the way for a node to tell us
> that it wants to go away?
I think we're basically talking about the same thing, I've just broken
it out from the other CIB stuff. My rationale being that we may be in
the middle of doing something more important and this lets us process it
quickly and get back to what we were doing. It also lets us use the
same action when a node has disappeared without warning us first.
More information about the Linux-HA-Dev