[Pacemaker] crm_mon --as-xml not reporting failcounts and failed actions

2013-07-30 Thread Nikola Ciprich
Hi, we'd like to use crm_mon for gathering status data. For simple parsing, we're using XML format, but the problem is, I haven't found way to get failed actions and failure counters... Is it possible to get those somehow? thanks a lot in advance for any reply with best regards nik --

Re: [Pacemaker] crm_mon --as-xml not reporting failcounts and failed actions

2013-07-30 Thread Nikola Ciprich
Hi Emmanuel, thanks for the reply, I know that, but I'd like to keep XML format... BR nik On Tue, Jul 30, 2013 at 10:04:42AM +0200, emmanuel segura wrote: crm_mon -1Arof 2013/7/30 Nikola Ciprich nikola.cipr...@linuxbox.cz Hi, we'd like to use crm_mon for gathering status data.

[Pacemaker] ClusterMon - using 'crm resource failcount ...' in external agent

2013-07-30 Thread D . Gossrau
Hi, I'm trying to get the failcount of a resource (crm resource failcount rsc show node) in a script which is used in ClusterMon as external agent. The configuration is as follows: # resource Cluster Monitor primitive resClusterMon ocf:pacemaker:ClusterMon \ params user=root \

Re: [Pacemaker] Announce: Pacemaker 1.1.10 now available

2013-07-30 Thread Rainer Brestan
I can agree, Master monitor operation is broken in 1.1.10 release. When the slave monitor action is started, the master monitor action is not called any more. I have created a setup with Stateful resource with two nodes. Then the Pacemaker installation is changed to different versions

Re: [Pacemaker] ClusterMon - using 'crm resource failcount ...' in external agent

2013-07-30 Thread Dejan Muhamedagic
Hi, On Tue, Jul 30, 2013 at 12:56:00PM +0200, D.Gossrau wrote: Hi, I'm trying to get the failcount of a resource (crm resource failcount rsc show node) in a script which is used in ClusterMon as external agent. The configuration is as follows: # resource Cluster Monitor primitive

Re: [Pacemaker] Announce: Pacemaker 1.1.10 now available

2013-07-30 Thread Kirill Proskurin
On 7/30/13 05:51 , Andrew Beekhof wrote: On 29/07/2013, at 10:37 PM, Kirill Proskurin k.prosku...@corp.mail.ru wrote: On 7/29/13 03:50 , Andrew Beekhof wrote: On 26/07/2013, at 8:20 PM, Kirill Proskurin k.prosku...@corp.mail.ru wrote: Hi! Is it RHEL5.x friendly? I'm assuming yes, as

Re: [Pacemaker] Announce: Pacemaker 1.1.10 now available

2013-07-30 Thread Kirill Proskurin
Quick follow-up I add --enable-fatal-warnings=no And now make start to work. I see a lot of ../../include/portability.h:165: warning: implicit declaration of function 'strcmp' warnings, but all were ok before this: http://www.fpaste.org/29029/97867137/ There is no sygnalfd.h in Centos5

Re: [Pacemaker] Problems after updating from debian squeeze to wheezy

2013-07-30 Thread Arnold Krille
On Mon, 29 Jul 2013 22:24:52 +0200 Oriol Mula-Valls oriol.mula-va...@ic3.cat wrote: There is a bug already open: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697357 Thanks for the link. I did a combination of the things written there: - I slightly changed my network-setup. Now its one

Re: [Pacemaker] Announce: Pacemaker 1.1.10 now available

2013-07-30 Thread Andrew Beekhof
On 31/07/2013, at 1:44 AM, Kirill Proskurin k.prosku...@corp.mail.ru wrote: Quick follow-up I add --enable-fatal-warnings=no And now make start to work. I see a lot of ../../include/portability.h:165: warning: implicit declaration of function 'strcmp' warnings, but all were ok

Re: [Pacemaker] Announce: Pacemaker 1.1.10 now available

2013-07-30 Thread Andrew Beekhof
On 30/07/2013, at 9:13 PM, Rainer Brestan rainer.bres...@gmx.net wrote: I can agree, Master monitor operation is broken in 1.1.10 release. When the slave monitor action is started, the master monitor action is not called any more. I have created a setup with Stateful resource with two

Re: [Pacemaker] Announce: Pacemaker 1.1.10 now available

2013-07-30 Thread Andrew Beekhof
On 30/07/2013, at 11:04 PM, Kirill Proskurin k.prosku...@corp.mail.ru wrote: On 7/30/13 05:51 , Andrew Beekhof wrote: On 29/07/2013, at 10:37 PM, Kirill Proskurin k.prosku...@corp.mail.ru wrote: On 7/29/13 03:50 , Andrew Beekhof wrote: On 26/07/2013, at 8:20 PM, Kirill Proskurin

Re: [Pacemaker] Announce: Pacemaker 1.1.10 now available

2013-07-30 Thread Andrew Beekhof
On 26/07/2013, at 12:21 PM, Takatoshi MATSUO matsuo@gmail.com wrote: Hi My report is late for 1.1.10 :( I am using pacemaker 1.1.10-0.1.ab2e209.git. It seems that master's monitor is stopped when slave is started. Where the master and slave are on different machines? Can you include

Re: [Pacemaker] Announce: Pacemaker 1.1.10 now available

2013-07-30 Thread Andrew Beekhof
On 30/07/2013, at 9:13 PM, Rainer Brestan rainer.bres...@gmx.net wrote: I can agree, Master monitor operation is broken in 1.1.10 release. When the slave monitor action is started, the master monitor action is not called any more. Based on? I have created a setup with Stateful resource

Re: [Pacemaker] crm_mon --as-xml not reporting failcounts and failed actions

2013-07-30 Thread Andrew Beekhof
On 30/07/2013, at 5:57 PM, Nikola Ciprich nikola.cipr...@linuxbox.cz wrote: Hi, we'd like to use crm_mon for gathering status data. For simple parsing, we're using XML format, but the problem is, I haven't found way to get failed actions and failure counters... Is it possible to get those

Re: [Pacemaker] 1.1.10 rc7 + final strange behaviour

2013-07-30 Thread Andrew Beekhof
On 30/07/2013, at 12:29 AM, Johan Huysmans johan.huysm...@inuits.be wrote: Hi, I was testing the latest rc7 and the final version of 1.1.10. My test is the combination of cloned resources and 1 resource group containing constraints that the resource group can only run on a node where

Re: [Pacemaker] How to perform a clean shutdown of Pacemaker in the event of network connection loss

2013-07-30 Thread Andrew Beekhof
On 26/07/2013, at 10:44 AM, Tan Tai hock taih...@gmail.com wrote: Ops sorry for providing the wrong version number. I am using Corosync 2.3.0-1 and Pacemaker 1.1.9-8. What should be done to clear the resources properly that are still running in the event that pacemaker isn't running?

Re: [Pacemaker] Node recover causes resource to migrate

2013-07-30 Thread Andrew Beekhof
On 25/07/2013, at 9:22 PM, Jacobo GarcĂ­a jacobo.gar...@gmail.com wrote: Hello, As suggested I'm trying to add the nodes via corosync-objctl. My current config file is this one: https://gist.github.com/therobot/4327cd0a2598d1d6bb93 using 5001 as the nodeid on the second node. Then