Re: [Pacemaker] Breaking dependency loop && stonith

2014-01-08 Thread Andrey Groshev
08.01.2014, 06:15, "Andrew Beekhof" : > On 27 Nov 2013, at 12:26 am, Andrey Groshev wrote: > >>  Hi, ALL. >> >>  I want to clarify two more questions. >>  After stonith reboot - this node hangs with status "pending". >>  The logs found string . >> >> info: rsc_merge_weights:    pgsql:1:

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 > > On 7 Dec 2013, at 8:19 pm, Andrey Rogovsky wrote: > > > I renamed several nodes and restart the cluster > > Now I show a old nodes

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

2014-01-08 Thread Andrey Groshev
09.01.2014, 02:39, "Andrew Beekhof" : >  On 18 Dec 2013, at 11:55 pm, Andrey Groshev 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=cr

Re: [Pacemaker] Unable to communicate with

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 * *Unable

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 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 bug in pcs in RHEL/C

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 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 > > # crm_at

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

2014-01-08 Thread Andrew Beekhof
On 7 Dec 2013, at 8:19 pm, Andrey Rogovsky 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 version of pacemaker

Re: [Pacemaker] possible node status

2014-01-08 Thread Michael Schwartzkopff
Am Mittwoch, 8. Januar 2014, 23:09:40 schrieben Sie: > On 2014-01-08T22:30:29, Michael Schwartzkopff 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

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 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 address resolves to 192

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 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. >> Behind the scen

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

2014-01-08 Thread Andrew Beekhof
On 13 Dec 2013, at 11:06 pm, ESWAR RAO 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 , I am able

Re: [Pacemaker] possible node status

2014-01-08 Thread Lars Marowsky-Bree
On 2014-01-08T22:30:29, Michael Schwartzkopff 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 shows

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 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 | grep "node id" >

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 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 trouble, > the cluster lo

Re: [Pacemaker] possible node status

2014-01-08 Thread Andrew Beekhof
On 9 Jan 2014, at 8:30 am, Michael Schwartzkopff wrote: > Hi, > > what are fro mthe pacemaker point of view all possible node status'? > > online|standby|offline|... failed too iirc. crm_mon.c would know for sure > > Any future extensions planned? not that i know of > > Thanks for any fe

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 wrote: > 2014/1/8 Andrew Beekhof : >> >> On 18 Dec 2013, at 9:50 pm, Kazunori INOUE wrote: >> >>> Hi David, >>> >>> 2013/12/18 David Vossel : That's a really weird one... I don't see how it is possible for op->id to be NULL there.

[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 Franziskanerstr

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

2014-01-08 Thread Kazunori INOUE
2014/1/8 Andrew Beekhof : > > On 18 Dec 2013, at 9:50 pm, Kazunori INOUE wrote: > >> Hi David, >> >> 2013/12/18 David Vossel : >>> >>> 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 valgrind a shot to detect whatever >>> is r

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 dr

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 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 nvpa

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

2014-01-08 Thread Bauer, Stefan (IZLBW Extern)
It is Linux/64bit. I want to check if the node I am connected to is holding the resources or not. Stefan -Ursprüngliche Nachricht- Von: Lars Marowsky-Bree [mailto:l...@suse.com] Gesendet: Dienstag, 7. Januar 2014 15:47 An: The Pacemaker cluster resource manager Betreff: Re: [Pacemaker]