On 2/23/12 5:42 PM, Andrew Beekhof wrote: >> I'll note that none of the authors of the perl-scripted fencing agents knew >> that >> arguments are passed via stdin either. > > I suspect you'll find they also have some magic for reading them from stdin. > Both methods are supported by the agents, although when called from > the cluster, by convention, we only use stdin.
Yeah, you're right. I didn't see it before, because I wasn't looking for "stdin". The real reason the perl-scripted fencing agents don't give the correct response to stonith-admin is that they're looking for a "action=XXX" parameter from stdin, when the actual parameter being passed is "option=XXX". In my fence_nut script (which I'll post after I've finished my fencing tests) I allow for both. >> Or perhaps I'm assuming too much; they >> may have been written for some other package than Pacemaker 1.1. > > Right, they were written for cman/rgmanager originally. -- Bill Seligman | Phone: (914) 591-2823 Nevis Labs, Columbia Univ | mailto://[email protected] PO Box 137 | Irvington NY 10533 USA | http://www.nevis.columbia.edu/~seligman/
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
