Re: [Pacemaker] Reg. trigger when node failure occurs

2014-01-08 Thread Kristoffer Grönlund
On Wed, 8 Jan 2014 13:33:28 +1100 Andrew Beekhof and...@beekhof.net wrote: # crm configure primitive ClusterMon ocf:pacemaker:ClusterMon params user=root update=10 extra_options=-E /root/monitor.sh -e 192.168.100.188 op monitor on-fail=restart interval=60 Entity: line 24: element

Re: [Pacemaker] Howto check if the current node is active?

2014-01-08 Thread Bauer, Stefan (IZLBW Extern)
Hi Jorge, that looks good. Thank you! Stefan Von: Jorge Armando Medina [mailto:jmed...@qindel.com] Gesendet: Dienstag, 7. Januar 2014 18:49 An: The Pacemaker cluster resource manager Betreff: Re: [Pacemaker] Howto check if the current node is active? We used this in a postgres cluster # Run

Re: [Pacemaker] lrmd segfault at pacemaker 1.1.11-rc1

2014-01-08 Thread Kazunori INOUE
2014/1/8 Andrew Beekhof and...@beekhof.net: On 18 Dec 2013, at 9:50 pm, Kazunori INOUE kazunori.ino...@gmail.com wrote: Hi David, 2013/12/18 David Vossel dvos...@redhat.com: That's a really weird one... I don't see how it is possible for op-id to be NULL there. You might need to give

[Pacemaker] possible node status

2014-01-08 Thread Michael Schwartzkopff
Hi, what are fro mthe pacemaker point of view all possible node status'? online|standby|offline|... Any future extensions planned? Thanks for any feedback. Mit freundlichen Grüßen, Michael Schwartzkopff -- [*] sys4 AG http://sys4.de, +49 (89) 30 90 46 64, +49 (162) 165 0044

Re: [Pacemaker] lrmd segfault at pacemaker 1.1.11-rc1

2014-01-08 Thread Andrew Beekhof
On 8 Jan 2014, at 9:15 pm, Kazunori INOUE kazunori.ino...@gmail.com wrote: 2014/1/8 Andrew Beekhof and...@beekhof.net: On 18 Dec 2013, at 9:50 pm, Kazunori INOUE kazunori.ino...@gmail.com wrote: Hi David, 2013/12/18 David Vossel dvos...@redhat.com: That's a really weird one... I

Re: [Pacemaker] starting resources with failed stonith resource

2014-01-08 Thread Andrew Beekhof
On 8 Jan 2014, at 2:41 am, Frank Van Damme frank.vanda...@gmail.com wrote: Hi list, I recently had some trouble with a dual-node mysql cluster, which runs in master-slave mode with Percona resource manager. While analyzing what happened to the cluster, I found this in syslog (network

Re: [Pacemaker] Error: node does not appear to exist in configuration

2014-01-08 Thread Andrew Beekhof
On 6 Jan 2014, at 8:09 pm, Jerald B. Darow jbda...@ace-host.net wrote: Where am I going wrong here? Good question... Chris? [root@zero mysql]# pcs cluster standby zero.acenet.us Error: node 'zero.acenet.us' does not appear to exist in configuration [root@zero mysql]# pcs cluster cib |

Re: [Pacemaker] possible node status

2014-01-08 Thread Lars Marowsky-Bree
On 2014-01-08T22:30:29, Michael Schwartzkopff m...@sys4.de wrote: Hi, what are fro mthe pacemaker point of view all possible node status'? online|standby|offline|... Any future extensions planned? What part of the stack are you asking about? Those that can show in the CIB, that crm_mon

Re: [Pacemaker] monitoring redis in master-slave mode

2014-01-08 Thread Andrew Beekhof
On 13 Dec 2013, at 11:06 pm, ESWAR RAO eswar7...@gmail.com wrote: Hi All, I have a 3 node setup with HB+pacemaker. I wanted to run redis in master-slave mode using an ocf script. https://groups.google.com/forum/#!msg/redis-db/eY3zCKnl0G0/lW5fObHrjwQJ But with the below configuration

Re: [Pacemaker] catch-22: can't fence node A because node A has the fencing resource

2014-01-08 Thread Andrew Beekhof
On 4 Dec 2013, at 11:47 am, Brian J. Murrell br...@interlinx.bc.ca wrote: On Tue, 2013-12-03 at 18:26 -0500, David Vossel wrote: We did away with all of the policy engine logic involved with trying to move fencing devices off of the target node before executing the fencing action.

Re: [Pacemaker] pacemaker + cman - node names and bind address

2014-01-08 Thread Andrew Beekhof
On 5 Dec 2013, at 8:51 pm, Nikola Ciprich nikola.cipr...@linuxbox.cz wrote: Hello Digimer, and thanks for Your reply. I understand your points, but my question is about something a bit different.. example: I have two nodes, node1 (lan address resolves to 192.168.1.1) and node2 (lan

Re: [Pacemaker] How to permanently delete ghostly nodes?

2014-01-08 Thread Andrew Beekhof
On 7 Dec 2013, at 8:19 pm, Andrey Rogovsky a.rogov...@gmail.com wrote: I renamed several nodes and restart the cluster Now I show a old nodes in status offline I tried to delete them, but every time you change the cluster configuration they show in offline again It depends a bit on the

Re: [Pacemaker] again return code, now in crm_attribute

2014-01-08 Thread Andrew Beekhof
On 18 Dec 2013, at 11:55 pm, Andrey Groshev gre...@yandex.ru wrote: Hi, Andrew and ALL. I'm sorry, but I again found an error. :) Crux of the problem: # crm_attribute --type crm_config --attr-name stonith-enabled --query; echo $? scope=crm_config name=stonith-enabled value=true 0 #

Re: [Pacemaker] Error: node does not appear to exist in configuration

2014-01-08 Thread Chris Feist
On 01/08/2014 04:11 PM, Andrew Beekhof wrote: On 6 Jan 2014, at 8:09 pm, Jerald B. Darow jbda...@ace-host.net wrote: Where am I going wrong here? Good question... Chris? Which version of pcs are you using (pcs --version) and what operating system and version (ie. RHEL 6.5). There was a

Re: [Pacemaker] Unable to communicate with other node

2014-01-08 Thread Chris Feist
On 12/13/2013 12:17 AM, Praveen wrote: Dear all, i'm facing problem in authenticating the other nodes, using fedora20 beta, while implementing the cluster with the pacemaker. details attached with mail. *[root@pcmk-1 ~]# pcs cluster auth pcmk-1 pcmk-2 * *pcmk-1: Already authorized *

Re: [Pacemaker] again return code, now in crm_attribute

2014-01-08 Thread Andrey Groshev
09.01.2014, 02:39, Andrew Beekhof and...@beekhof.net:  On 18 Dec 2013, at 11:55 pm, Andrey Groshev gre...@yandex.ru wrote:   Hi, Andrew and ALL.   I'm sorry, but I again found an error. :)   Crux of the problem:   # crm_attribute --type crm_config --attr-name stonith-enabled --query;

Re: [Pacemaker] How to permanently delete ghostly nodes?

2014-01-08 Thread Andrey Rogovsky
I resolve this problem by remove onl name from node and reboot it. So, after I reboot all nodes step-by-step, they forgot gostly name. 2014/1/9 Andrew Beekhof and...@beekhof.net On 7 Dec 2013, at 8:19 pm, Andrey Rogovsky a.rogov...@gmail.com wrote: I renamed several nodes and restart the

Re: [Pacemaker] Breaking dependency loop stonith

2014-01-08 Thread Andrey Groshev
08.01.2014, 06:15, Andrew Beekhof and...@beekhof.net: On 27 Nov 2013, at 12:26 am, Andrey Groshev gre...@yandex.ru wrote:  Hi, ALL.  I want to clarify two more questions.  After stonith reboot - this node hangs with status pending.  The logs found string . info: