Re: [Pacemaker] stonith resource issue

2010-10-10 Thread Andrew Beekhof
On Fri, Oct 8, 2010 at 6:54 PM, Shravan Mishra shravan.mis...@gmail.com wrote: Looks like I found the issue but I don't know how to fix it: I looked into run_stonith_agent() in st_client.c It is calling fence_legacy instead of external/ipmi. Right, we do that for all non-RHCS agents.

Re: [Pacemaker] stonith resource issue

2010-10-10 Thread Andrew Beekhof
On Sun, Oct 10, 2010 at 6:41 PM, Andrew Beekhof and...@beekhof.net wrote: Well you don't want _all_ the tracing. Set PCMK_trace_functions=some_function_name before starting pacemaker And you can specify multiple functions by separating them with a comma, eg.

Re: [Pacemaker] stonith resource issue

2010-10-10 Thread Shravan Mishra
Awesome, thanks a lot. -Shravan On Sun, Oct 10, 2010 at 12:43 PM, Andrew Beekhof and...@beekhof.net wrote: On Sun, Oct 10, 2010 at 6:41 PM, Andrew Beekhof and...@beekhof.net wrote: Well you don't want _all_ the tracing. Set PCMK_trace_functions=some_function_name before starting pacemaker

Re: [Pacemaker] stonith resource issue

2010-10-08 Thread Shravan Mishra
Looks like I found the issue but I don't know how to fix it: I looked into run_stonith_agent() in st_client.c It is calling fence_legacy instead of external/ipmi. Since I don't know how to enable tracing for different subsystems so I put my own message in the code and this is what I got:

Re: [Pacemaker] stonith resource issue

2010-10-08 Thread Shravan Mishra
Sorry forgot to mention the environment: pacemaker=1.0.9 corosync=1.1.1 2.6.29.6-0.6.smp.gcc4.1.x86_64 Thanks On Fri, Oct 8, 2010 at 12:54 PM, Shravan Mishra shravan.mis...@gmail.com wrote: Looks like I found the issue but I don't know how to fix it: I looked into run_stonith_agent() in

Re: [Pacemaker] stonith resource issue

2010-10-07 Thread Dejan Muhamedagic
Hi, On Wed, Oct 06, 2010 at 01:32:06PM -0400, Shravan Mishra wrote: Please fine hb_report. hb_report couldn't find the logs, probably because you have both syslog and to file logging. Anyway, it could be that stuff such as external/safe/ipmi cannot work, i.e. that you can't create

[Pacemaker] stonith resource issue

2010-10-06 Thread Shravan Mishra
Hi guys, I'm having a weird problem with my stonith resources.They are constantly starting and stopping. I'm using: pacemaker=1.1.3 corosync=1.2.8 glue=glue_1.0-10 2.6.29.6-0.6.smp.gcc4.1.x86_64 My configuration looks like this: === node ha1.itactics.com node

Re: [Pacemaker] stonith resource issue

2010-10-06 Thread Dejan Muhamedagic
Hi, On Wed, Oct 06, 2010 at 11:04:34AM -0400, Shravan Mishra wrote: Hi guys, I'm having a weird problem with my stonith resources.They are constantly starting and stopping. I'm using: pacemaker=1.1.3 corosync=1.2.8 glue=glue_1.0-10 Hmm, which version is this really? Can you do

Re: [Pacemaker] stonith resource issue

2010-10-06 Thread Shravan Mishra
Please fine hb_report. Thanks Shravan On Wed, Oct 6, 2010 at 1:14 PM, Shravan Mishra shravan.mis...@gmail.com wrote: Hi, Please find the stonith and crmd logs attached. I have pruned stonith.logs as it contained lots of repeatable messages. I 'm in the process of installing Date::parse