>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 it's >o.k. to send more that one line to state that the plugin is able to shoot >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. parameter >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 plugin, >arghhh)
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. George. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
