[Pacemaker] Enabling pacemaker debug logging while running

Andrew Beekhof andrew at beekhof.net
Fri Apr 4 01:46:55 UTC 2014


On 24 Mar 2014, at 10:55 pm, Andreas Mock <Andreas.Mock at web.de> wrote:

> Hi Andrew,
> 
> thank you for your answer. I found that blog entry before.
> 
> I'm pretty sure I'm too stupid to get my information out
> of that blog entry.
> 
> You write there:
> "[...] If the level of detail in the cluster log file is still insufficient,
> or you simply wish to go blind, you can turn on debugging in Corosync/CMAN,
> or set PCMK_debug in /etc/sysconfig/pacemaker.[...]".
> 
> I did enable the debug option in cman as I described in my
> initial post. But it seemed that this option change was only
> propagated to corosync but not to pacemaker (and resource
> agents). Does this and the reference to PCMK_debug mean that
> I can't enable debugging in pacemaker without restart?

Yes. If you want more detail without a restart you need to go the blackbox route (which gets you even more detail).

> 
> Or is the "only" option the backbox feature?
> 
> Best regards
> Andreas Mock
> 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: Andrew Beekhof [mailto:andrew at beekhof.net] 
> Gesendet: Montag, 24. März 2014 00:36
> An: The Pacemaker cluster resource manager
> Betreff: Re: [Pacemaker] Enabling pacemaker debug logging while running
> 
> 
> On 20 Mar 2014, at 11:24 pm, Andreas Mock <Andreas.Mock at web.de> wrote:
> 
>> Hi all,
>> 
>> today I faced a problem which I couldn't solve reading
>> several man pages and other found hint on the web.
>> 
>> I have a clone of RHEL 6.5, cman based cluster and 
>> pacemaker 1.1.10+. I was able to change the value
>> debug="on" in cluster.conf as described in the man page.
>> I was able to propagate this change with 'cman_tool -r -S version'.
>> The result was, that I could see debug messages from
>> the corosync layer, vut not from pacemaker and agents.
>> 
>> What do I have to do to enable debug logging of pacemaker at
>> runtime? (And how can I switch it off afterwards?)
> 
> http://blog.clusterlabs.org/blog/2013/pacemaker-logging/
> 
>> 
>> Best regards
>> Andreas Mock
>> 
>> 
>> 
>> _______________________________________________
>> 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
> 
> 
> 
> _______________________________________________
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20140404/baa08ff5/attachment-0004.sig>


More information about the Pacemaker mailing list