Re: [Pacemaker] Fail over algorithm used by Pacemaker

2010-10-10 Thread Hudan Studiawan
Okay, it seems that Cluster_from_Scratch.pdf is very complete for preliminary understanding to Pacemaker. Thank you ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home:

Re: [Pacemaker] unpack_rsc_op: Hard error

2010-10-10 Thread Pavlos Parissis
On 9 October 2010 23:20, Pavlos Parissis pavlos.paris...@gmail.com wrote: Hi, Does anyone know why PE wants to unpack resources on nodes that will never run due to location constraints? I am getting this messages and I am wondering if they harmless or not. 23:12:38 pengine: [7705]: notice:

Re: [Pacemaker] unpack_rsc_op: Hard error

2010-10-10 Thread Andrew Beekhof
On Sat, Oct 9, 2010 at 11:20 PM, Pavlos Parissis pavlos.paris...@gmail.com wrote: Hi, Does anyone know why PE wants to unpack resources on nodes that will never run due to location constraints? Because part of its job is to make sure they dont run there. I am getting this messages and I am

Re: [Pacemaker] crmd thinks lsb returns error on monito

2010-10-10 Thread Andrew Beekhof
On Sun, Oct 10, 2010 at 12:47 AM, Pavlos Parissis pavlos.paris...@gmail.com wrote: Hi, My resource is not started because I get this 00:44:27 crmd: [3141]: WARN: status_from_rc: Action 16 (pbx_02_monitor_0) on node-02 failed (target: 7 vs. rc: 5): Error but when I run manually the status I

Re: [Pacemaker] crm resource move doesn't move the resource

2010-10-10 Thread Andrew Beekhof
On Fri, Oct 8, 2010 at 10:05 PM, Pavlos Parissis pavlos.paris...@gmail.com wrote: On 8 October 2010 09:29, Andrew Beekhof and...@beekhof.net wrote: On Fri, Oct 8, 2010 at 8:34 AM, Pavlos Parissis pavlos.paris...@gmail.com wrote: On 8 October 2010 08:29, Andrew Beekhof and...@beekhof.net wrote:

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 pacemaker problem

2010-10-10 Thread Andrew Beekhof
Not enough information. We'd need more than just the lrmd's logs, they only show what happened not why. On Thu, Oct 7, 2010 at 11:02 PM, Shravan Mishra shravan.mis...@gmail.com wrote: Hi, Description of my environment:   corosync=1.2.8   pacemaker=1.1.3   Linux=

[Pacemaker] Migrate resources based on connectivity

2010-10-10 Thread Dan Frincu
Hi, I have the following setup: - order drbd0:promote drbd1:promote - order drbd1:promote drbd2:promote - order drbd2:promote all:start - collocation all drbd2:Master - all is a group of resources, drbd{0..3} are drbd ms resources. I want to migrate the resources based on ping connectivity to a

Re: [Pacemaker] stonith pacemaker problem

2010-10-10 Thread Shravan Mishra
Andrew, We were able to solve our problem. Obviously if no one else is having it then it has to be our environment. It's just that time pressure and mgmt pressure was causing us to go really bonkers. We had been struggling with this for past 4 days. So here is the story: We had following

[Pacemaker] Cluster failure with mod_security using rotatelogs

2010-10-10 Thread Markus Schlup
Hi all I'm running a cluster-based Apache reverse proxy with the mod_security module. I would like to rotate the logfiles with rotatelogs as follows: CustomLog |/usr/sbin/rotatelogs -l /var/log/httpd/access_log.%Y-%m-%d 86400 common And especially the mod_security log with SecAuditLog

Re: [Pacemaker] Cluster failure with mod_security using rotatelogs

2010-10-10 Thread Tim Serong
On 10/11/2010 at 10:17 AM, Markus Schlup mar...@qbik.ch wrote: Hi all I'm running a cluster-based Apache reverse proxy with the mod_security module. I would like to rotate the logfiles with rotatelogs as follows: CustomLog |/usr/sbin/rotatelogs -l /var/log/httpd/access_log.%Y-%m-%d