[Pacemaker] how to enable to output of a resource agent action in logging

Dejan Muhamedagic dejanmm at fastmail.fm
Mon Feb 21 11:48:29 EST 2011


Hi,

On Sun, Feb 20, 2011 at 04:00:57PM +0100, Bart Coninckx wrote:
> Hi all,
> 
> the title says it all - I often get "unkown errors" while resources are
> started, but it's not until I start the resource manually out of the
> context I get a clue of what exactly went wrong. Sometimes it's loud and
> clear on the command line, sometimes it requires adding a "-v".

-v where, for which program?

> In the first case however it would be useful to have this output in the
> Pacemaker logfiles. Can anyone point me to how to get this output there?

All errors (stderr) output are logged by lrmd. stdout messages
are logged only with debug turned on.

The resource agent should most of the time log something on
errors, but sometimes it's necessary to take a look at the
application's log as well.

Thanks,

Dejan

> thx,
> 
> B.
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker




More information about the Pacemaker mailing list