Re: [Pacemaker] crm_mon shows a resource started when the process is gone

2012-08-23 Thread Andrew Beekhof
Did you define a recurring monitor operation for that resource? This is how the cluster finds out about failures. On Thu, Aug 23, 2012 at 5:26 PM, Jane Du (jadu) wrote: > Hi, > > When mhm_ra process is not running, crm_mon -1 still shows it is started. > ... > mhm_ra (ocf::heartbeat:anything): S

Re: [Pacemaker] stdout reserved word

2012-08-23 Thread Andrew Beekhof
On Fri, Aug 24, 2012 at 11:44 AM, Grüninger, Andreas (LGL Extern) wrote: > Unfortunately no. > gcc 4.5 for Solaris and gcc 4.6 for OpenIndiana produce the same error. Ok, these two commits should help: https://github.com/beekhof/pacemaker/commit/f5cef90 https://github.com/beekhof/pacemaker/commi

Re: [Pacemaker] stdout reserved word

2012-08-23 Thread LGL Extern
Unfortunately no. gcc 4.5 for Solaris and gcc 4.6 for OpenIndiana produce the same error. -Ursprüngliche Nachricht- Von: Andrew Beekhof [mailto:and...@beekhof.net] Gesendet: Freitag, 24. August 2012 03:38 An: The Pacemaker cluster resource manager Betreff: Re: [Pacemaker] stdout reserve

Re: [Pacemaker] stdout reserved word

2012-08-23 Thread Andrew Beekhof
Hmm, I ran the same commands with 4.7 and it works fine here. Is 4.7 available for solaris? It would be useful to know if it was a version issue or an platform one. On Fri, Aug 24, 2012 at 10:16 AM, Grüninger, Andreas (LGL Extern) wrote: > > Making all in fencing > gmake[2]: Entering directory `

Re: [Pacemaker] stdout reserved word

2012-08-23 Thread LGL Extern
Making all in fencing gmake[2]: Entering directory `/export/builds/pacemaker-1.1.7/lib/fencing' /bin/sh ../../libtool --tag=CC --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../libltdl -I../../libltdl -I../.. -I../..

Re: [Pacemaker] stdout reserved word

2012-08-23 Thread Andrew Beekhof
A lot of information, but doesn't really answer the question. Can you recompile with 'make V=1' please - so we can see the full command not just "CC st_client.lo"? On Fri, Aug 24, 2012 at 7:05 AM, Grüninger, Andreas (LGL Extern) wrote: > See at http://grueni.github.com/libqb/. > I describe

Re: [Pacemaker] Loss of ocf:pacemaker:ping target forces resources to restart?

2012-08-23 Thread Andrew Martin
Hi Florian, Thanks for the suggestion. I gave it a try, but even with a dampen value greater than 2* the monitoring interval the same behavior occurred (pacemaker restarted the resources on the same node). Here are my current ocf:pacemaker:ping settings: primitive p_ping ocf:pacemaker:ping

Re: [Pacemaker] Help with DRBD resources on Pacemaker

2012-08-23 Thread Carlos Xavier
Please forgive me for the confusing reply I sent before. My crappy email cliente isn´t adding the char > on the original message so Ill do it by hand :-( Hi, I would just try to remove the last 2 lines in the "net" column of DRBD Config. I had the same behavior with the option "ping-timeou

Re: [Pacemaker] Help with DRBD resources on Pacemaker

2012-08-23 Thread Carlos Xavier
Hi Matthias. Tank you for the quick reply. I would just try to remove the last 2 lines in the "net" column of DRBD Config. I had the same behavior with the option "ping-timeout" in the "net" column. Starting DRBD via init-script worked but not managed via pacemaker. Just try it! I am still

Re: [Pacemaker] Help with DRBD resources on Pacemaker

2012-08-23 Thread Kesch, Matthias
Hi, I would just try to remove the last 2 lines in the "net" column of DRBD Config. I had the same behavior with the option "ping-timeout" in the "net" column. Starting DRBD via init-script worked but not managed via pacemaker. Just try it! I am still investigating the reason for that. Additiona

Re: [Pacemaker] Issues with HA cluster for mysqld

2012-08-23 Thread Jake Smith
- Original Message - > From: "David Parker" > To: pacemaker@oss.clusterlabs.org > Sent: Thursday, August 23, 2012 4:47:11 PM > Subject: Re: [Pacemaker] Issues with HA cluster for mysqld > > > On 08/23/2012 04:19 PM, Jake Smith wrote: > >> Okay, I think I've almost got this. I updated m

[Pacemaker] Help with DRBD resources on Pacemaker

2012-08-23 Thread Carlos Xavier
Hi. I configured one cluster using one resouce of DRBD and it works fine, althoug I had to downgrade the kernel to the version 2.6.37.6 to get it stable. Now I´m configuring another cluster but two DRBD resources are required. They were created and if I use the system init script to start them

Re: [Pacemaker] stdout reserved word

2012-08-23 Thread LGL Extern
See at http://grueni.github.com/libqb/. I described there the complete build of the libqb/corosync/pacemaker build. Here are snippets of the outputs: conftest.c: In function 'main': conftest.c:124:1: error: passing argument 1 of 'printw' discards qualifiers from pointer target type /usr/include/

Re: [Pacemaker] Issues with HA cluster for mysqld

2012-08-23 Thread David Parker
On 08/23/2012 04:19 PM, Jake Smith wrote: Okay, I think I've almost got this. I updated my Pacemaker config and made a few changes. I put the MysqlIP and mysqld primitives into a resource group called "mysqld-resources", ordered them such that mysqld will always wait for MysqlIP to be ready fi

Re: [Pacemaker] RES: [Openais] Help on mysql-proxy resource

2012-08-23 Thread Carlos Xavier
Hi Raoul. Im sorry again for the very long delay. I was working on another project, now I´m back dealing with the clusters. I tryed to download the file you asked me to test but its not available anymore, can you please make it available again? Best regards, Carlos Xavier - Original Mes

Re: [Pacemaker] Issues with HA cluster for mysqld

2012-08-23 Thread Jake Smith
- Original Message - > From: "David Parker" > To: pacemaker@oss.clusterlabs.org > Sent: Thursday, August 23, 2012 12:56:33 PM > Subject: Re: [Pacemaker] Issues with HA cluster for mysqld > > > On 08/23/2012 10:17 AM, David Parker wrote: > > On 08/23/2012 09:01 AM, Jake Smith wrote: > >>

Re: [Pacemaker] Issues with HA cluster for mysqld

2012-08-23 Thread David Parker
On 08/23/2012 10:17 AM, David Parker wrote: On 08/23/2012 09:01 AM, Jake Smith wrote: - Original Message - From: "David Parker" To: pacemaker@oss.clusterlabs.org Sent: Wednesday, August 22, 2012 2:49:32 PM Subject: [Pacemaker] Issues with HA cluster for mysqld Hello, I'm trying to se

Re: [Pacemaker] Issues with HA cluster for mysqld

2012-08-23 Thread David Parker
On 08/23/2012 09:01 AM, Jake Smith wrote: - Original Message - From: "David Parker" To: pacemaker@oss.clusterlabs.org Sent: Wednesday, August 22, 2012 2:49:32 PM Subject: [Pacemaker] Issues with HA cluster for mysqld Hello, I'm trying to set up a 2-node, active-passive HA cluster for M

Re: [Pacemaker] Issues with HA cluster for mysqld

2012-08-23 Thread Jake Smith
- Original Message - > From: "David Parker" > To: pacemaker@oss.clusterlabs.org > Sent: Wednesday, August 22, 2012 2:49:32 PM > Subject: [Pacemaker] Issues with HA cluster for mysqld > > Hello, > > I'm trying to set up a 2-node, active-passive HA cluster for MySQL > using > heartbeat

Re: [Pacemaker] Loss of ocf:pacemaker:ping target forces resources to restart?

2012-08-23 Thread Florian Crouzat
Le 22/08/2012 18:23, Andrew Martin a écrit : Hello, I have a 3 node Pacemaker + Heartbeat cluster (two real nodes and 1 quorum node that cannot run resources) running on Ubuntu 12.04 Server amd64. This cluster has a DRBD resource that it mounts and then runs a KVM virtual machine from. I hav

[Pacemaker] crm_mon shows a resource started when the process is gone

2012-08-23 Thread Jane Du (jadu)
Hi, When mhm_ra process is not running, crm_mon -1 still shows it is started. ... mhm_ra (ocf::heartbeat:anything): Started vm-mgmt-2 Has anybody seen this issue before? Thanks, Jane ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss