Hi,

On Fri, Mar 19, 2010 at 01:18:41PM +0100, Andreas Mock wrote:
> -----Ursprüngliche Nachricht-----
> Von: Dejan Muhamedagic <[email protected]>
> Gesendet: 19.03.2010 13:05:52
> An: General Linux-HA mailing list <[email protected]>
> Betreff: Re: [Linux-HA] Packaging error in cluster-glue
> 
> >> Is that with Pacemaker 1.1? Old stonithd fixes path so that
> >> ha_log.sh can be found.
> 
> This information was missing.

I just checked and it should be there. As a matter of fact, the
whole business is done within cluster-glue (stonithd is not
involved). What you claim is somewhat disturbing. Which packages
do you have installed and where did you get them?

> >With v1.1 it should also work, just checked. You shouldn't invoke
> >the plugin directly, but through the stonith(8) program.
> 
> Yes, thats's the conclusion knowing that 'stonith' is providing extra
> "services" to the script runtime environment.
> 
> By the way: Is there a documentation about this runtime environment.
> (e.g. Environment variables)

No, there isn't. The thing is, stonith plugins are supposed to be
invoked either by stonith(8) (the program) or by stonithd or now
stonith-ng. What happens in between shouldn't be of concern to
a plugin developer. As for the environment, IIRC, only PATH is
adjusted and another logging related variable and then all the
plugin parameters.

Thanks,

Dejan

> Thank you for verifying and inverstigation.
> 
> Best regrads
> Andreas Mock
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to