Re: [Pacemaker] after `corosync stop` on master, drbd:master moves to peer, but all other resource stopped

2013-07-08 Thread andreas graeper
cant remember if at all and where i put that logs next time .. thanks 2013/7/9 Andrew Beekhof > > On 19/06/2013, at 3:03 AM, andreas graeper > wrote: > > > hi, > > i stopped n1 (drbd:master + all managed resources) > > the n2 became drbd:master but all resources stopped. > > > > i started n1.c

Re: [Pacemaker] crmsh dosn't respect the acl read permissions

2013-07-08 Thread Andrew Beekhof
On 09/07/2013, at 3:29 PM, emmanuel segura wrote: > Hi > > I compiled pacemaker using the following commands > > git clone git://github.com/ClusterLabs/pacemaker.git > cd pacemaker > make rpm-dep > make rpm > > But the acls are not enable by default? no > > Thanks > > > > 2013/7/9 Gao,Y

Re: [Pacemaker] Node addition policy

2013-07-08 Thread Vladislav Bogdanov
09.07.2013 07:47, Andrew Beekhof wrote: > > On 04/07/2013, at 9:55 PM, Vladislav Bogdanov wrote: > >> 04.07.2013 14:50, Andrew Beekhof wrote: >>> >>> On 04/07/2013, at 7:24 PM, Vladislav Bogdanov wrote: >>> Hi, I think about safest way to expanding the cluster, and my observation

Re: [Pacemaker] Using "avoids" location constraint

2013-07-08 Thread Andrew Morgan
On 9 July 2013 04:11, Andrew Beekhof wrote: > > On 08/07/2013, at 11:35 PM, Andrew Morgan > wrote: > > > Thanks Florian. > > > > The problem I have is that I'd like to define a HA configuration that > isn't dependent on a specific set of fencing hardware (or any fencing > hardware at all for tha

Re: [Pacemaker] crmsh dosn't respect the acl read permissions

2013-07-08 Thread emmanuel segura
Hi I compiled pacemaker using the following commands git clone git://github.com/ClusterLabs/pacemaker.git cd pacemaker make rpm-dep make rpm But the acls are not enable by default? Thanks 2013/7/9 Gao,Yan > Hi, > Was pacemaker built "--with-acl"? Is "acls" listed in the output of > "ci

Re: [Pacemaker] Question concerning pacemaker-1-1-10-rc6

2013-07-08 Thread Digimer
I asked if there where RPMs available on IRC this evening. Andrew pointed me to here: http://blog.clusterlabs.org/blog/2013/release-candidate-1-dot-1-10-rc6/ That built the RPMs very easily and I installed the resulting packages without issue. hth On 09/07/13 01:25, Andreas Mock wrote: Hi

Re: [Pacemaker] Question concerning pacemaker-1-1-10-rc6

2013-07-08 Thread Andreas Mock
Hi Andrew, is it much work to provide the release candidate also as complete package on the mentioned site? Or is it against some policy? Anyway: The last version pacemaker-1.1.10-3.1736.37b9108.git.el6.x86_64.rpm seems to work pretty well. Best regards Andreas -Ursprüngliche Nachricht---

Re: [Pacemaker] after `corosync stop` on master, drbd:master moves to peer, but all other resource stopped

2013-07-08 Thread Andrew Beekhof
On 19/06/2013, at 3:03 AM, andreas graeper wrote: > hi, > i stopped n1 (drbd:master + all managed resources) > the n2 became drbd:master but all resources stopped. > > i started n1.corosync again and stopped once more and than n2 took over > everything as expected. > > in log i found lots o

Re: [Pacemaker] Node addition policy

2013-07-08 Thread Andrew Beekhof
On 04/07/2013, at 9:55 PM, Vladislav Bogdanov wrote: > 04.07.2013 14:50, Andrew Beekhof wrote: >> >> On 04/07/2013, at 7:24 PM, Vladislav Bogdanov wrote: >> >>> Hi, >>> >>> I think about safest way to expanding the cluster, and my observations >>> show that new nodes are always added in the

Re: [Pacemaker] Wrong resource failcount displayed for clone resource

2013-07-08 Thread Andrew Beekhof
On 03/07/2013, at 5:47 PM, Cédric VERKLEEREN wrote: > Hi, > I am using Pacemaker 1.1.7 with Corosync 1.4.1. > > After simulating an apache resource failure, the failcount increase. > Using the command "crm resource failcount show " for this clone > resource show me a failcount of 0. > I have

Re: [Pacemaker] Java application failover problem

2013-07-08 Thread Andrew Beekhof
Can you include a crm_report for your test scenario? a) I need the pe files, but also b) parsing line wrapped logs is seriously painful On 05/07/2013, at 7:09 PM, Martin Gazak wrote: > Hello, > we are facing the problem with the simple (I hope) cluster configuration > with 2 nodes ims0 and ims

Re: [Pacemaker] Pacemaker 1.1.10 rc 5 & rc 6

2013-07-08 Thread Andrew Beekhof
On 06/07/2013, at 1:28 AM, Andrii Moiseiev wrote: > Any clues? Not with only fragments of the logs Do you have a log file (not syslog) configured? I'll need that complete file If you could also set PCMK_trace_function=apply_xml_diff (see http://blog.clusterlabs.org/blog/2013/pacemaker-loggi

Re: [Pacemaker] Using "avoids" location constraint

2013-07-08 Thread Andrew Beekhof
On 08/07/2013, at 11:35 PM, Andrew Morgan wrote: > Thanks Florian. > > The problem I have is that I'd like to define a HA configuration that isn't > dependent on a specific set of fencing hardware (or any fencing hardware at > all for that matter) and as the stack has the quorum capability in

Re: [Pacemaker] Best way to notify stonith action

2013-07-08 Thread Andrew Beekhof
On 09/07/2013, at 12:50 AM, Andreas Mock wrote: > Hi all, > > thank you for your recommendations. > I just hoped that there is something pacemaker internal, > e.g. like sending traps via snmp or something like that. This is something crm_mon can now send traps, emails or call scripts for. >

Re: [Pacemaker] Full API description for Fence Agent

2013-07-08 Thread Andrew Beekhof
On 08/07/2013, at 5:31 PM, Andreas Mock wrote: > Hi all, > > after doing a bigger debugging session and reading the > documentation more than once, I got the fence agent to > work. In this case, the fence agent is a program which > can be used by cman/fenced (RHEL cluster) and by > pacemaker ru

Re: [Pacemaker] Question concerning pacemaker-1-1-10-rc6

2013-07-08 Thread Andrew Beekhof
On 08/07/2013, at 5:57 PM, Andreas Mock wrote: > Hi Andrew, > > I'm taking the builds from > http://clusterlabs.org/rpm-test-next/rhel-6/x86_64/ > to avoid compiling on my own. > Do these build relate to the release candidates you're announcing? Not at all, those are whatever I happen to be t

Re: [Pacemaker] crmsh dosn't respect the acl read permissions

2013-07-08 Thread Gao,Yan
Hi, Was pacemaker built "--with-acl"? Is "acls" listed in the output of "cibadmin -!"? Regards, Gao,Yan On 07/08/13 17:57, emmanuel segura wrote: > Hi > > I did > > Thanks > > > 2013/7/8 Dejan Muhamedagic > > > Hi, > > On Mon, Jul 08, 2013 at 12:52:07A

Re: [Pacemaker] Using "avoids" location constraint

2013-07-08 Thread Lars Marowsky-Bree
On 2013-07-08T10:13:50, Digimer wrote: > >While in general I agree, the above failure case is not likely with > >DRBD. > > > It was one example. Yes, but the use case here happened to be drbd, and thus replicated (not shared) storage. > You are right though, the "good" node would disconnect, >

Re: [Pacemaker] Best way to notify stonith action

2013-07-08 Thread Andreas Mock
Hi all, thank you for your recommendations. I just hoped that there is something pacemaker internal, e.g. like sending traps via snmp or something like that. Best regards Andreas Mock -Ursprüngliche Nachricht- Von: Digimer [mailto:li...@alteeve.ca] Gesendet: Montag, 8. Juli 2013 16:01

Re: [Pacemaker] Best way to notify stonith action

2013-07-08 Thread Digimer
On 08/07/13 03:48, Andreas Mock wrote: Hi all, I'm just wondering what the best way is to let an admin know that the cluster (rest of a cluster) has stonithed some other nodes? What is the recommended way? (The fact that the machine rebooted or is halted is not the problem. I want to know that

Re: [Pacemaker] Using "avoids" location constraint

2013-07-08 Thread Digimer
On 08/07/13 10:04, Lars Marowsky-Bree wrote: On 2013-07-08T09:57:38, Digimer wrote: Building a shared storage cluster without fencing is asking for heart-ache. There is no case, quorum or not, where it is ok to skip fencing. If a node locks up mid-write and the other node simply assumes it's d

Re: [Pacemaker] Using "avoids" location constraint

2013-07-08 Thread Lars Marowsky-Bree
On 2013-07-08T09:57:38, Digimer wrote: > Building a shared storage cluster without fencing is asking for heart-ache. > There is no case, quorum or not, where it is ok to skip fencing. If a node > locks up mid-write and the other node simply assumes it's dead, cleans up > and goes on using storage

Re: [Pacemaker] Using "avoids" location constraint

2013-07-08 Thread Digimer
Building a shared storage cluster without fencing is asking for heart-ache. There is no case, quorum or not, where it is ok to skip fencing. If a node locks up mid-write and the other node simply assumes it's dead, cleans up and goes on using storage without coordinating with the peer, and then

Re: [Pacemaker] Using "avoids" location constraint

2013-07-08 Thread Lars Marowsky-Bree
On 2013-07-08T14:35:09, Andrew Morgan wrote: > Thanks Florian. > > The problem I have is that I'd like to define a HA configuration that isn't > dependent on a specific set of fencing hardware (or any fencing hardware at > all for that matter) and as the stack has the quorum capability included

Re: [Pacemaker] Using "avoids" location constraint

2013-07-08 Thread Andrew Morgan
Thanks Florian. The problem I have is that I'd like to define a HA configuration that isn't dependent on a specific set of fencing hardware (or any fencing hardware at all for that matter) and as the stack has the quorum capability included I'm hoping that this is an option. I've not been able to

Re: [Pacemaker] Best way to notify stonith action

2013-07-08 Thread Brian J. Murrell
On 13-07-08 03:48 AM, Andreas Mock wrote: Hi all, I'm just wondering what the best way is to let an admin know that the cluster (rest of a cluster) has stonithed some other nodes? You could modify or even just wrap the stonith agent. They are usually just python or shell script anyway (well,

Re: [Pacemaker] crmsh dosn't respect the acl read permissions

2013-07-08 Thread emmanuel segura
Hi I did Thanks 2013/7/8 Dejan Muhamedagic > Hi, > > On Mon, Jul 08, 2013 at 12:52:07AM +0200, emmanuel segura wrote: > > Hello List > > > > Maybe this is wrong the wrong list, but now i'm playing with pacemaker > > 1.10 and a i see the crmsh dosn't respeact the read permissions like i > > s

Re: [Pacemaker] Using "avoids" location constraint

2013-07-08 Thread Florian Crouzat
Le 08/07/2013 09:49, Andrew Morgan a écrit : I'm attempting to implement a 3 node cluster where only 2 nodes are there to actually run the services and the 3rd is there to form a quorum (so that the cluster stays up when one of the 2 'workload' nodes fails). To this end, I added a location avoid

Re: [Pacemaker] crmsh dosn't respect the acl read permissions

2013-07-08 Thread Dejan Muhamedagic
Hi, On Mon, Jul 08, 2013 at 12:52:07AM +0200, emmanuel segura wrote: > Hello List > > Maybe this is wrong the wrong list, but now i'm playing with pacemaker > 1.10 and a i see the crmsh dosn't respeact the read permissions like i > show below > ^^^

[Pacemaker] Question concerning pacemaker-1-1-10-rc6

2013-07-08 Thread Andreas Mock
Hi Andrew, I'm taking the builds from http://clusterlabs.org/rpm-test-next/rhel-6/x86_64/ to avoid compiling on my own. Do these build relate to the release candidates you're announcing? If yes, could you also announce the version strings? Best regards Andreas Mock __

[Pacemaker] Best way to notify stonith action

2013-07-08 Thread Andreas Mock
Hi all, I'm just wondering what the best way is to let an admin know that the cluster (rest of a cluster) has stonithed some other nodes? What is the recommended way? (The fact that the machine rebooted or is halted is not the problem. I want to know that stonithing was done) Best regards Andrea

[Pacemaker] Using "avoids" location constraint

2013-07-08 Thread Andrew Morgan
I'm attempting to implement a 3 node cluster where only 2 nodes are there to actually run the services and the 3rd is there to form a quorum (so that the cluster stays up when one of the 2 'workload' nodes fails). To this end, I added a location avoids contraint so that the services (including drb

Re: [Pacemaker] Full API description for Fence Agent

2013-07-08 Thread Andreas Mock
Hi all, after doing a bigger debugging session and reading the documentation more than once, I got the fence agent to work. In this case, the fence agent is a program which can be used by cman/fenced (RHEL cluster) and by pacemaker running in this environment as stonith device. Only for completio