Re: [Pacemaker] Why CIB is client of CCM?

2010-01-04 Thread Javen Wu
Thanks Beekhof for answering my question. I don't mean it matters. I just feel confuse why the function seems redundant when I tried to understand the code of pacemaker ;) I understand the CIB should be workable without CRMD around. But is CRMD dependant on the CIB? I think the answer is "yes". Si

Re: [Pacemaker] [BUG] Clone + group = orphan(s) ?

2010-01-04 Thread Thomas Guthmann
Re, So cloned groups are not fun and side effects are random :) I will do more tests without IPAddr2 which seems a bit fancy and dodgy. I've just tried to clone a group tom-TEST containing 2 simple primitives (ocf:homemade:named and ocf:pacemaker:Dummy). The group runs fine but when I ask pa

Re: [Pacemaker] timeout value with RA xen and drbd (s or no s?)

2010-01-04 Thread Dejan Muhamedagic
Hi, On Mon, Jan 04, 2010 at 03:14:00PM +0100, Martin Gombač wrote: > Dejan Muhamedagic wrote: > >Hi, > > > >On Mon, Jan 04, 2010 at 02:07:37PM +0100, Martin Gombač wrote: > >>Which is correct? Adding s to timeout values or not? > >> > >>Like this? > >> > >>primitive drbd_r0 ocf:linbit:drbd \ > >>

Re: [Pacemaker] Migrate/run resource only if m/s resource is master/promoted on target node (follow-up)

2010-01-04 Thread Martin Gombač
Just in time, when i was about to implement STNITH on myself. :-) Oh and thank you Lars for doing the bug report! Meanwhile i noticed that with store 0 on ordering it didn't restart (i see you noticed that too in your bug report). Now i just need to wait for repo i'm using to get new versions:

Re: [Pacemaker] coroync not able to exec services properly

2010-01-04 Thread Shravan Mishra
Hi, I'm using corosync 1.1.1. Should I still change it or leave it or change it in case in future I upgrade then I don't have to remember. Thanks Shravan On Sat, Jan 2, 2010 at 6:54 PM, Steven Dake wrote: > If your using corosync 1.2.0, we enforced a constraint on consensus and > token such tha

Re: [Pacemaker] Migrate/run resource only if m/s resource is master/promoted on target node (follow-up)

2010-01-04 Thread Lars Ellenberg
On Sun, Jan 03, 2010 at 09:12:28PM -0700, hj lee wrote: > On Sun, Jan 3, 2010 at 11:14 AM, Martin Gombač wrote: > > > Hi, > > > > i removed colocation constraint per your suggestion. > > Please find other requested information attached. > > As logs show ibm1 restarted resource Hosting, when ibm2

Re: [Pacemaker] [PATCH] Small fixes to the controld RA

2010-01-04 Thread Andrew Beekhof
On Mon, Jan 4, 2010 at 3:14 PM, Jiaju Zhang wrote: > On Mon, Jan 4, 2010 at 5:31 PM, Andrew Beekhof wrote: >> Hi, >> >> If you resend as a "hg export" I'll apply it (hg export includes your >> details so you 'll be properly credited). >> Be sure to use a non-inlined attachment, otherwise whitespa

Re: [Pacemaker] [PATCH] Small fixes to the controld RA

2010-01-04 Thread Jiaju Zhang
On Mon, Jan 4, 2010 at 5:31 PM, Andrew Beekhof wrote: > Hi, > > If you resend as a "hg export" I'll apply it (hg export includes your > details so you 'll be properly credited). > Be sure to use a non-inlined attachment, otherwise whitespace tends to > get mangled. Thank you very much :) Attached

Re: [Pacemaker] timeout value with RA xen and drbd (s or no s?)

2010-01-04 Thread Martin Gombač
Dejan Muhamedagic wrote: Hi, On Mon, Jan 04, 2010 at 02:07:37PM +0100, Martin Gombač wrote: Which is correct? Adding s to timeout values or not? Like this? primitive drbd_r0 ocf:linbit:drbd \ params drbd_resource="r0" \ op monitor interval="15s" role="Master" timeout="30s" \

Re: [Pacemaker] timeout value with RA xen and drbd (s or no s?)

2010-01-04 Thread Dejan Muhamedagic
Hi, On Mon, Jan 04, 2010 at 02:07:37PM +0100, Martin Gombač wrote: > Which is correct? Adding s to timeout values or not? > > Like this? > > primitive drbd_r0 ocf:linbit:drbd \ >params drbd_resource="r0" \ >op monitor interval="15s" role="Master" timeout="30s" \ > > pr

Re: [Pacemaker] Lustre and Multiple Mount Protection

2010-01-04 Thread Dejan Muhamedagic
Hi, On Thu, Dec 31, 2009 at 05:15:47PM +0100, Bernd Schubert wrote: > Hello Dejan, > > On Wednesday 30 December 2009, Dejan Muhamedagic wrote: > > Hi, > > > > On Wed, Dec 30, 2009 at 01:31:27PM +0100, Bernd Schubert wrote: > > > Hello Dejan, > > > > > > On Thursday 24 December 2009, Dejan Muhame

[Pacemaker] timeout value with RA xen and drbd (s or no s?)

2010-01-04 Thread Martin Gombač
Which is correct? Adding s to timeout values or not? Like this? primitive drbd_r0 ocf:linbit:drbd \ params drbd_resource="r0" \ op monitor interval="15s" role="Master" timeout="30s" \ primitive Hosting ocf:heartbeat:Xen \ params xmfile="/etc/xen/Hosting.cfg" shutdown_

Re: [Pacemaker] [BUG] IPaddr2 - default clusterhash value

2010-01-04 Thread Andrew Beekhof
Hi Thomas, Looks like this is fixed for the next version: tserong () Low: IPaddr2: Invalid default value for OCF_RESKEY_clusterip_hash (bnc#553753) CS: 5d341d5dc96a On: 2009-11-09 On Mon, Jan 4, 2010 at 7:38 AM, Thomas Guthmann wrote: > Hey, > > When you use IPaddr2 in a clone, it will use

Re: [Pacemaker] kernel BUG at fs/dlm/lowcomms.c:861! on Fedora 12

2010-01-04 Thread Andrew Beekhof
Hi, The people who look after the dlm are on the linux-clus...@redhat.com mailing list. Best to direct this issue there. -- Andrew On Sun, Jan 3, 2010 at 8:30 PM, Daniel Qian wrote: > I came a long way to set up this two-node cluster of pacemaker + > openais/corosync + ocfs2 + DLM + drbd on Fed

Re: [Pacemaker] [PATCH] Small fixes to the controld RA

2010-01-04 Thread Andrew Beekhof
Hi, If you resend as a "hg export" I'll apply it (hg export includes your details so you 'll be properly credited). Be sure to use a non-inlined attachment, otherwise whitespace tends to get mangled. -- Andrew On Mon, Dec 28, 2009 at 4:54 PM, Jiaju Zhang wrote: > Hi, > > This patch contains two

Re: [Pacemaker] Why CIB is client of CCM?

2010-01-04 Thread Andrew Beekhof
It allows the CIB to function without the CRMD around. Why do you think it matters? On Tue, Dec 22, 2009 at 4:30 PM, Javen Wu wrote: > Hi Beekhof & Lars, > > I found actually both Pacemaker CRMD and CIB are all clients of Heartbeat > CCM.  And I think CRMD would update the crm_node information on

Re: [Pacemaker] How pacemaker handle split brain

2010-01-04 Thread Andrew Beekhof
On Wed, Dec 23, 2009 at 6:15 PM, hj lee wrote: > > On Wed, Dec 16, 2009 at 3:53 AM, Andrew Beekhof wrote: >> >> On Wed, Dec 16, 2009 at 2:24 AM, Javen Wu wrote: >> >> As per the conversation on IRC, DC election has nothing to do with quorum. >> But only the DC that also has quorum is able to fen

Re: [Pacemaker] Pacemaker compilation problem solved

2010-01-04 Thread Andrew Beekhof
On Fri, Dec 18, 2009 at 11:04 PM, Hunny Bunny wrote: > For some reason when you compile Pacemaker from sources, its ./autogen.sh > && ./configure cannot detect Corosync and OpenAIS headers. Regardless if you > set proper CFLAGS="-I$PREFIX/include -L$PREFIX/lib" or not. > > Only when I copied or s