[Linux-HA] CRM and STONITH questions
Spam at citadelcomputer.com.au
Sun Oct 21 22:59:56 MDT 2007
>Now to the 'hostlist': The stonith plugin can be one that can stonith
>more that one node, like a stonith macine gun ;-)
>in the startup phase of the stonith plugin the plugin is called with
>the first argument 'gethost' (see documentation). The stonith plugin
>has to answer with exactly one nodename (aka hostname) per line. But
>o.k. to send more that one line to state that the plugin is able to
>more nodes. After that stonithd (or someone else in the machinery)
>knows whom to ask when a node has to be shot.
>When the external stonith plugin is called to shoot a node (1.
>is 'reset') than the second parameter is the node name of the node
>to shoot. (By the way, I have to correct my last published stonith
My script as you can see from that I attached previously can do multiple
nodes from the environment but now doesn't support the command line
parameter(2nd to on/off/reset) which I can readd in but do I need to
protect the stonithing node from shooting itself or does HA put the list
of other hosts and not the shooting node?
If it always adds itself then I need to fitler itself out I suppose.
More information about the Linux-HA