[ClusterLabs] Good idea to enable Pacemaker blackbox by default?

Andrew Beekhof andrew at beekhof.net
Mon Jun 1 20:41:43 EDT 2015


> On 28 May 2015, at 12:00 am, Chuck Carmack <carmack at us.ibm.com> wrote:
> 
> ----- Forwarded by Chuck Carmack/Rochester/IBM on 05/27/2015 08:35 AM ----- 
> 
> From:        Chuck Carmack/Rochester/IBM 
> To:        users at clusterlabs.org 
> Date:        05/22/2015 07:31 AM 
> Subject:        Good idea to enable Pacemaker blackbox by default? 
> 
> 
> Hi, thanks for the answers.  Yes I'm thinking about auto-dumping.   Would this dump every time pacemaker detects any error, such as a timeout,  resource agent error, resource agent in wrong state, etc?

any time you see an error level message in the logs.

>   Or does it only dump for pacemaker internal errors?  I don't want frequent auto-dumping. 
> 
> I'm looking for a way to debug problems that can't be debugged with /var/log/messages.

Have you tried looking in the pacemaker log file?  That always has more than /var/log/messages
Have you seen http://blog.clusterlabs.org/blog/2013/pacemaker-logging/ ?

> If most problems can be debugged with /var/log/messages then maybe default blackbox isn't worth it.es 
> 
> Can you say if the performance impact will be noticeable? 

I’ve not done a comparison recently.

> 
> 
> > On 14 May 2015, at 4:17 am, Chuck Carmack <carmack at us.ibm.com> wrote:
> > 
> > Hi - 
> > 
> > I'm thinking of enabling the blackbox by default in production environments (ie. customer env).   This seems like a good way to capture detailed debug logs at the time of error, without enabling debug logging all the time.  I would have a cron job to prune /var/lib/pacemaker/blackbox in case too many files are generated. 
> 
> Ah, you’re talking about the auto-dumping when we log an error?
> 
> > 
> > Is there a reason this is *not* a good idea?   Does blackbox impact cluster performance? 
> 
> There will be some impact, all the arguments need to be marshalled etc. _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://clusterlabs.org/mailman/listinfo/users
> 
> 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 Users mailing list