Re: [ClusterLabs] Memory leak in crm_mon ?

2015-08-13 Thread Attila Megyeri
-Original Message- From: Andrew Beekhof [mailto:and...@beekhof.net] Sent: Tuesday, August 11, 2015 2:49 AM To: Cluster Labs - All topics related to open-source clustering welcomed Subject: Re: [ClusterLabs] Memory leak in crm_mon ? > On 10 Aug 2015, at 5:33 pm, Attila Megyeri wrote:

Re: [ClusterLabs] Antw: stonithd: stonith_choose_peer: Couldn't find anyone to fence with

2015-08-13 Thread Andrew Beekhof
> On 13 Aug 2015, at 11:36 pm, Ulrich Windl > wrote: > Kostiantyn Ponomarenko schrieb am 13.08.2015 > um 13:39 in Nachricht > : >> Hi, >> >> Brief description of the STONITH problem: >> >> I see two different behaviors with two different STONITH configurations. If >> Pacemaker can

[ClusterLabs] Phantom Node

2015-08-13 Thread Allan Brand
I can't seem to track this down and am hoping someone has seen this or can tell me what's happening. I have a 2 node test cluster, node01.private and node02.private. [root@node01 ~]# cat /etc/hosts 127.0.0.1 localhost ::1 localhost 192.168.168.9 node01.private 192.168.168.10 node02.

Re: [ClusterLabs] implementation of fence and stonith agents for pacemaker

2015-08-13 Thread Kostiantyn Ponomarenko
Thank you for the help :-) On Aug 13, 2015 20:19, "Digimer" wrote: > Ah, yes. If it's a RHEL/CentOS machine, put it in /usr/sbin/. If it's > another OS, locate fence_ipmilan and put your agent in the same directory. > > digimer > > On 13/08/15 01:03 PM, Kostiantyn Ponomarenko wrote: > > Sorry, I

Re: [ClusterLabs] implementation of fence and stonith agents for pacemaker

2015-08-13 Thread Digimer
Ah, yes. If it's a RHEL/CentOS machine, put it in /usr/sbin/. If it's another OS, locate fence_ipmilan and put your agent in the same directory. digimer On 13/08/15 01:03 PM, Kostiantyn Ponomarenko wrote: > Sorry, I should be more clear. > I mean the place where I must put my agent so it is visib

Re: [ClusterLabs] implementation of fence and stonith agents for pacemaker

2015-08-13 Thread Kostiantyn Ponomarenko
Sorry, I should be more clear. I mean the place where I must put my agent so it is visible to the cluster. For example I know that you need to put your agent into /usr/sbin/ and start its name with "fence_" in order to get it visible to the cluster. So I want to know the rules, are there other plac

Re: [ClusterLabs] implementation of fence and stonith agents for pacemaker

2015-08-13 Thread Digimer
On 13/08/15 07:54 AM, Kostiantyn Ponomarenko wrote: > Digimer, > > Thank you. I will try this out. > One more question. What about directories for those agents, what rules > are here? > > Thank you, > Kostya I'm not entirely sure I understand the question, sorry. What do you mean by "directories

Re: [ClusterLabs] Antw: Re: Antw: Delayed first monitoring

2015-08-13 Thread Digimer
On 13/08/15 04:38 AM, Ulrich Windl wrote: Miloš Kozák schrieb am 13.08.2015 um 09:56 in > Nachricht > <55cc4daa.4020...@lejmr.com>: > >> >> Dne 13.8.2015 v 09:26 Andrei Borzenkov napsal(a): >>> On Thu, Aug 13, 2015 at 10:01 AM, Miloš Kozák > wrote: However, this does not make se

[ClusterLabs] Antw: stonithd: stonith_choose_peer: Couldn't find anyone to fence with

2015-08-13 Thread Ulrich Windl
>>> Kostiantyn Ponomarenko schrieb am >>> 13.08.2015 um 13:39 in Nachricht : > Hi, > > Brief description of the STONITH problem: > > I see two different behaviors with two different STONITH configurations. If > Pacemaker cannot find a device that can STONITH a problematic node, the > node remai

Re: [ClusterLabs] Antw: Re: Antw: Delayed first monitoring

2015-08-13 Thread Jan Pokorný
On 13/08/15 10:38 +0200, Ulrich Windl wrote: Miloš Kozák schrieb am 13.08.2015 um 09:56 in >>> Nachricht <55cc4daa.4020...@lejmr.com>: > >> >> Dne 13.8.2015 v 09:26 Andrei Borzenkov napsal(a): >>> On Thu, Aug 13, 2015 at 10:01 AM, Miloš Kozák >>> wrote: However, this does not make sen

Re: [ClusterLabs] stonithd: stonith_choose_peer: Couldn't find anyone to fence with

2015-08-13 Thread Kostiantyn Ponomarenko
> Then make sure it can be stonithd. Add additional stonith agent using > independent communication channel. Not possible. Only one node up and running in the cluster and I am wondering - can it STONITH itself? Because most likely, after reboot, the problem can be gone. > I have no idea what fenc

Re: [ClusterLabs] stonithd: stonith_choose_peer: Couldn't find anyone to fence with

2015-08-13 Thread Andrei Borzenkov
On Thu, Aug 13, 2015 at 2:39 PM, Kostiantyn Ponomarenko wrote: > Hi, > > Brief description of the STONITH problem: > > I see two different behaviors with two different STONITH configurations. If > Pacemaker cannot find a device that can STONITH a problematic node, the node > remains up and running

Re: [ClusterLabs] question on www.gossamer-threads.com/lists/linuxha/users/

2015-08-13 Thread Stefan Bauer
DOH! Please ignore my mail - i live in the past ;) Last mail in archive is from Jul. Stefan ___ Users mailing list: Users@clusterlabs.org http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http:/

Re: [ClusterLabs] question on www.gossamer-threads.com/lists/linuxha/users/

2015-08-13 Thread Stefan Bauer
Well - i see all mails from today on the link you've provided. Cheers, Stefan -Ursprüngliche Nachricht- Von: Kostiantyn Ponomarenko  Gesendet: Don 13 August 2015 13:51 An: Cluster Labs - All topics related to open-source clustering welcomed Betreff: [ClusterLabs] question on www.g

Re: [ClusterLabs] implementation of fence and stonith agents for pacemaker

2015-08-13 Thread Kostiantyn Ponomarenko
Digimer, Thank you. I will try this out. One more question. What about directories for those agents, what rules are here? Thank you, Kostya On Tue, Aug 11, 2015 at 6:21 PM, Digimer wrote: > On 11/08/15 11:17 AM, Kostiantyn Ponomarenko wrote: > > Hi guys, > > > > Is there any documentation whic

[ClusterLabs] question on www.gossamer-threads.com/lists/linuxha/users/

2015-08-13 Thread Kostiantyn Ponomarenko
Hi, I noticed that after moving to the new mailing list there is no more updates here: http://www.gossamer-threads.com/lists/linuxha/users/ Can it be fixed or am I missing something? I was a convenient way of searching/reading/tracking issues. Thank you, Kostya __

[ClusterLabs] stonithd: stonith_choose_peer: Couldn't find anyone to fence with

2015-08-13 Thread Kostiantyn Ponomarenko
Hi, Brief description of the STONITH problem: I see two different behaviors with two different STONITH configurations. If Pacemaker cannot find a device that can STONITH a problematic node, the node remains up and running. Which is bad, because it must be STONITHed. As opposite to it, if Pacemake

[ClusterLabs] Antw: Re: Antw: Ordering constraint restart second resource group

2015-08-13 Thread Ulrich Windl
>>> Andrei Borzenkov schrieb am 13.08.2015 um 11:33 in Nachricht : > On Thu, Aug 13, 2015 at 11:25 AM, Ulrich Windl > wrote: >> And what exactly is your problem? > > Real life example. Database resource depends on storage resource(s). > There are multiple filesystems/volumes with database files.

Re: [ClusterLabs] Antw: Ordering constraint restart second resource group

2015-08-13 Thread Andrei Borzenkov
On Thu, Aug 13, 2015 at 11:25 AM, Ulrich Windl wrote: > And what exactly is your problem? Real life example. Database resource depends on storage resource(s). There are multiple filesystems/volumes with database files. Database admin needs to increase available space. You add new storage, configu

[ClusterLabs] Antw: Re: Antw: Delayed first monitoring

2015-08-13 Thread Ulrich Windl
>>> Miloš Kozák schrieb am 13.08.2015 um 09:56 in Nachricht <55cc4daa.4020...@lejmr.com>: > > Dne 13.8.2015 v 09:26 Andrei Borzenkov napsal(a): >> On Thu, Aug 13, 2015 at 10:01 AM, Miloš Kozák wrote: >>> However, >>> this does not make sense at all. Presumably, the pacemaker should get > alo

[ClusterLabs] Antw: Re: Antw: Delayed first monitoring

2015-08-13 Thread Ulrich Windl
>>> Miloš Kozák schrieb am 13.08.2015 um 09:01 in Nachricht <55cc40b1.7090...@lejmr.com>: > However, > this does not make sense at all. Presumably, the pacemaker should get > along with lsb scripts which comes from system repository, right? I don't think pacemaker is a technology to handle bro

[ClusterLabs] Antw: Ordering constraint restart second resource group

2015-08-13 Thread Ulrich Windl
And what exactly is your problem? If you change a resource, it will be restrted, and if a resource is restarted, constraints will be followed... Despite of that: If I understand your configuration correctly, it's very much the same as resource_group ip1 ip2 apache1 Regards, Ulrich >>> Joh

Re: [ClusterLabs] Antw: Delayed first monitoring

2015-08-13 Thread Miloš Kozák
Dne 13.8.2015 v 09:26 Andrei Borzenkov napsal(a): On Thu, Aug 13, 2015 at 10:01 AM, Miloš Kozák wrote: However, this does not make sense at all. Presumably, the pacemaker should get along with lsb scripts which comes from system repository, right? Let's forget about pacemaker for a moment

Re: [ClusterLabs] Antw: Delayed first monitoring

2015-08-13 Thread Andrei Borzenkov
On Thu, Aug 13, 2015 at 10:01 AM, Miloš Kozák wrote: > However, > this does not make sense at all. Presumably, the pacemaker should get along > with lsb scripts which comes from system repository, right? > Let's forget about pacemaker for a moment. You have system startup where service B needs s

Re: [ClusterLabs] Antw: Delayed first monitoring

2015-08-13 Thread Miloš Kozák
However, this does not make sense at all. Presumably, the pacemaker should get along with lsb scripts which comes from system repository, right? Therefore, there is not way how to modify lsb script because changes is lsb script erase after every package update. I believe, the systematical