Re: [Pacemaker] how to deal with a resource that are timeout

2012-06-14 Thread Andrew Beekhof
On Wed, May 23, 2012 at 4:42 PM, cherish wrote: >  I have a virtualdomain test1. > I try to start it in a node named node1. > if it is timeout,what will pacemaker deal with it ? try to start at another > node ???or throw out an error and do nothing??? It will probably try again on the same node u

Re: [Pacemaker] How to write a master/slave resource-script

2012-06-14 Thread Andrew Beekhof
On Fri, Jun 15, 2012 at 12:19 AM, Stallmann, Andreas wrote: > Hi! > > > > Excuse my blindness; I found the „Stateful“ script, which is obviously the > template / skeleton I was looking for. Unfortunately it comes without > explanaition. Does anyone know, where I’d find this? > This would be a goo

Re: [Pacemaker] group resource - altering default order

2012-06-14 Thread Andrew Beekhof
On Fri, Jun 15, 2012 at 11:06 AM, David Coulson wrote: > > On 6/14/12 8:28 PM, Andrew Beekhof wrote: >> >> Just use a colocation set instead. > > Is there a better option than a non-ordered,non-collocated group when you > need a order dependency? Try an ordering set :-) http://www.clusterlabs.org

Re: [Pacemaker] Starting of multiple booth in the same node

2012-06-14 Thread Yuichi SEINO
Hi Jiaju, OK. I have a mind to write a patch. Sincerely, Yuichi 2012/6/14 Jiaju Zhang : > On Thu, 2012-06-14 at 19:20 +0900, Yuichi SEINO wrote: >> Hi Jiaju, >> >> I have a question about booth. >> Can you allow multiple booth to start in the same node? > > Multiple booth daemons are not allowe

Re: [Pacemaker] group resource - altering default order

2012-06-14 Thread David Coulson
On 6/14/12 8:28 PM, Andrew Beekhof wrote: Just use a colocation set instead. Is there a better option than a non-ordered,non-collocated group when you need a order dependency? We have a couple of clone resources, which are dependent on a non-collocated group (the resources in the group are di

Re: [Pacemaker] group resource - altering default order

2012-06-14 Thread Andrew Beekhof
On Fri, Jun 15, 2012 at 2:59 AM, Nicolaas Stuyt wrote: > Thank you for pointing me at this discussion thread. The configuration did > help me to achieve what I was looking for. Now though I wonder if I should > because of the threads end-point comment. > > Any idea what the background explanation

Re: [Pacemaker] stopping resource stops others in colocation / order sets

2012-06-14 Thread Jake Smith
I believe it's two things. Think of collocation as "with" or on top of. So it should be resC on top of resB on top of DRBD:master. I think of collocation as being written in the reverse order of "order" statement. That's why resources in groups start in the order they are written and collocate

[Pacemaker] stopping resource stops others in colocation / order sets

2012-06-14 Thread Phil Frost
I'm sure this is a typical novice question, but I've been dancing around this problem for a day without any real progress, so could use some more experienced eyes. I'm setting up what must be a pretty normal NFS / DRBD / LVM, 2 node, active / passive cluster. Everything works, mostly, but it do

Re: [Pacemaker] group resource - altering default order

2012-06-14 Thread Nicolaas Stuyt
Thank you for pointing me at this discussion thread. The configuration did help me to achieve what I was looking for. Now though I wonder if I should because of the threads end-point comment. Any idea what the background explanation may be for the comment: "an unordered and/or uncolocated groups

Re: [Pacemaker] Pacemaker + cman for GFS2 and OCFS2

2012-06-14 Thread Digimer
It is also worth checking your cluster.conf to ensure you have expected_votes="1" two_nodes="1" /> set, assuming this is a two node cluster. That said, if both nodes are up then you should have gotten quorum anyway, so Emmanuel is right to suspect your network configuration. Make sure your switc

Re: [Pacemaker] Writing Stonith Script for PDU

2012-06-14 Thread Digimer
On 06/14/2012 07:34 AM, Zemke, Kai wrote: Hi there, You have seen these kind of mail probaply a thousand times. L I have set up a two node cluster for our nagios monitoring service. I have a primary/secondary shared drbd device and several resources needed by nagios ( like apache, nsca, npcd, r

Re: [Pacemaker] How to write a master/slave resource-script

2012-06-14 Thread Yves Trudeau
Hi Andreas, for my part, I looked at the stateful and drbd agents and of course the mysql one. After a bit of pain, I got the picture right. The tracing feature in the mysql ra is very handy. Regards, Yves Le 2012-06-14 10:19, Stallmann, Andreas a écrit : Hi! Excuse my blindness; I fou

Re: [Pacemaker] How to write a master/slave resource-script

2012-06-14 Thread Stallmann, Andreas
Hi! Excuse my blindness; I found the „Stateful“ script, which is obviously the template / skeleton I was looking for. Unfortunately it comes without explanaition. Does anyone know, where I’d find this? Cheers and thanks, Andreas CONET Solutions GmbH, Theodor-Heu

[Pacemaker] Resource attempting to start on unauthorized node causing running master/slave to shut down

2012-06-14 Thread Mike Roest
Hey everyone, We had an interesting issue happen the other night on one of our clusters. A resource attempted to start on an unauthorized node (and failed), which caused the real resource, already running on a different node, to become orphaned and subsequently shut down. Some background: We'

[Pacemaker] How to write a master/slave resource-script

2012-06-14 Thread Stallmann, Andreas
Hi all, I’m currently trying to write a master/slave resource script for our web application. As a reference I’m reading the scripts for drbd and Yves script for MySQL. Still, I can’t claim to understand them fully. Are there perhaps any “skeleton” scripts out there, which give me a rough impre

[Pacemaker] Patrik Rapposch is out of the office

2012-06-14 Thread Patrik . Rapposch
Ich werde ab 14.06.2012 nicht im Büro sein. Ich kehre zurück am 18.06.2012. Please note, that I am not available till 18.06.2012. In urgent cases, please contact ksi.netw...@knapp-systems.com ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org

Re: [Pacemaker] group resource - altering default order

2012-06-14 Thread Florian Crouzat
Le 14/06/2012 14:55, Nicolaas Stuyt a écrit : Hello, Is there a way to affect a groups ordering behavior? The default appears to be left to right which I can understand. However if I wish to create a group of "like primitives" and not primitives who are dependant on each other - for example a lis

[Pacemaker] group resource - altering default order

2012-06-14 Thread Nicolaas Stuyt
Hello, Is there a way to affect a groups ordering behavior? The default appears to be left to right which I can understand. However if I wish to create a group of "like primitives" and not primitives who are dependant on each other - for example a list of (ocf::heartbeat:Filesystem) primitives

[Pacemaker] Writing Stonith Script for PDU

2012-06-14 Thread Zemke, Kai
Hi there, You have seen these kind of mail probaply a thousand times. :( I have set up a two node cluster for our nagios monitoring service. I have a primary/secondary shared drbd device and several resources needed by nagios ( like apache, nsca, npcd, rrdcached and so on ). So far my cluster i

Re: [Pacemaker] Starting of multiple booth in the same node

2012-06-14 Thread Jiaju Zhang
On Thu, 2012-06-14 at 19:20 +0900, Yuichi SEINO wrote: > Hi Jiaju, > > I have a question about booth. > Can you allow multiple booth to start in the same node? Multiple booth daemons are not allowed in the same node. > > If it is restrict, then I think that we need to change the error message.

[Pacemaker] Starting of multiple booth in the same node

2012-06-14 Thread Yuichi SEINO
Hi Jiaju, I have a question about booth. Can you allow multiple booth to start in the same node? If it is restrict, then I think that we need to change the error message. Currently, the following error message is output when multiple booth started. ERROR: failed to bind socket Address already in

Re: [Pacemaker] Pacemaker + cman for GFS2 and OCFS2

2012-06-14 Thread emmanuel segura
I think you have a network problem, you must be sure the multicast it's ok 2012/6/14 hcyy > Hi! > >anyone use Pacemaker + cman for GFS2 and OCFS2 on ubuntu 12.04? > >i install it and configure reference > https://wiki.ubuntu.com/ClusterStack/Precise Precisebut it show : > >St

[Pacemaker] Pacemaker + cman for GFS2 and OCFS2

2012-06-14 Thread hcyy
Hi!    anyone use Pacemaker + cman for GFS2 and OCFS2 on ubuntu 12.04?    i install it and configure reference   https://wiki.ubuntu.com/ClusterStack/Precise Precisebut it show :    Starting cman... [  OK  ]    Waiting for quorum... Timed-out waiting for cluster [FAILED] on node pcml-1,i inpu