[Pacemaker] Debug message granularity
Andrew Beekhof
andrew at beekhof.net
Tue May 15 23:30:37 UTC 2012
You should be able to define
PCMK_trace_functions=function1,function2,... as an environment
variable to get additional information from just those functions.
It might take a bit of searching through source code to find the ones
you care about, but it is possible.
On Wed, May 16, 2012 at 5:58 AM, Ron Kerry <rkerry at sgi.com> wrote:
> I have a cluster running SLES11 SP2 including SLE-HAE-SP2. This includes the
> following software levels:
> resource-agents-3.9.2-0.25.5
> openais-1.1.4-5.6.3
> corosync-1.4.1-0.13.1
> pacemaker-1.1.6-1.29.1
> pacemaker-mgmt-2.1.0-0.8.74
> pacemaker-mgmt-client-2.1.0-0.8.74
>
> The only way I know to get debug level messages is to set debug:on in
> /etc/corosync/corosync.conf
> logging {
> #Whether or not turning on the debug information in the log
> debug: on
> }
>
> Is there any way to get more granularity? I would like to get debug level
> information out of my resource agents and perhaps other parts of pacemaker
> like pengine, crmd and lrmd, but not from corosync. Turning debug:on is very
> noisy, but without doing that it is very hard to troubleshoot resource
> issues in production clusters. Other times I may be troubleshooting
> membership issues and I need detailed corosync messaging. Ideally I would
> like to be able to set a (potentially) different message level for each of
> the major components of the HA solution but I see no way to do that
> currently. Any advice?
>
> --
>
> Ron Kerry rkerry at sgi.com
>
>
>
> _______________________________________________
> 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://bugs.clusterlabs.org
More information about the Pacemaker
mailing list