Looking for current and maintained information and documentation on (Linux ) Open Source High Availability HA Clustering?
You probably should be reading the Pacemaker site clusterlabs.org
This site conserves Heartbeat specific stuff. See Site news for details.


From Linux-HA

Jump to: navigation, search

STONITH is a technique for NodeFencing, where the errant node which might have run amok with cluster resources is simply shot in the head. Normally, when an HA system declares a node as dead, it is merely speculating that it is dead. STONITH takes that speculation and makes it reality. "Make it so, Number One".

Reluctantly setting whimsy and humor aside...

There are a few properties a STONITH plugin must have for it to be usable:

  1. It must never report false positives for reset. If a STONITH plugin reports that the node is down, it had better be down.
  2. It must support the RESET command (on and off are optional)
  3. When given a RESET or OFF command it must not return control to its caller until the node is no longer running. Waiting until it comes up again for RESET is optional.
  4. All commands should work in all circumstances:
    1. RESET when node is ON or OFF should succeed and bring the node up (or at least attempt to bring it up - it may not boot for other reasons).
    2. OFF when node is OFF should succeed.
    3. ON when node is ON should succeed.

If you don't follow these rules, Bad Things Will Happen - if not sooner, then later.

Etymological note: STONITH started out as a misspelling of another acronym (STOMITH), where the M stood for machine. At one point, Alan Robertson realized he had been misspelling it, but he decided he preferred his misspelled version, because it appealed to his sense of whimsy. It seems he liked the sort of Biblical feel to the the sound of STONITH, which to his ear is similar to the pseudo-King-Jamesean verb "stoneth" - as in "I stoneth thou". This appeal was enhanced by the parallels between a cluster fatally casting out one of its members for disobeying cluster rules, to the Biblical use of stoning as a fatal method of casting a human out of the community for their transgressions against God.

See Also

Stonith Plugins, STONITH Daemon, Dunn's Law of Information, Node Fencing, On fencing in CRM

Personal tools