Re: [Pacemaker] [PATCH] SNMP for net-snmp5.3

2010-03-10 Thread Andrew Beekhof
On Wed, Mar 10, 2010 at 8:28 PM, Florian Haas wrote: > Andrew, your thoughts on this patch? Applied a modified version as: http://hg.clusterlabs.org/pacemaker/stable-1.0/rev/ff75cd9e1093 > > FWIW I'd strongly second the idea of supporting Net-SNMP 5.3; otherwise > Pacemaker SNMP notifications

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Martin Aspeli
Serge Dubrouski wrote: On Wed, Mar 10, 2010 at 6:59 PM, Martin Aspeli wrote: Serge Dubrouski wrote: On Wed, Mar 10, 2010 at 5:30 PM, Martin Aspeli wrote: Martin Aspeli wrote: Hi folks, Let's say have a two-node cluster with DRBD and OCFS2, with a database server that's supposed to be acti

Re: [Pacemaker] Still get "unknown expected votes" on debian lenny

2010-03-10 Thread Andrew Beekhof
On Wed, Mar 10, 2010 at 9:04 PM, Florian Haas wrote: > On 03/10/2010 01:40 PM, Michael Schwartzkopff wrote: >> Hi, >> >> I just installed the lastest pacemaker/corosync from madkiss' repository on >> my >> lenny and still get the "unknown expected votes" error and my cluster. Any >> idea how to r

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Matthew Palmer
On Wed, Mar 10, 2010 at 11:10:31PM +0800, Martin Aspeli wrote: > Dejan Muhamedagic wrote: >> ocfs2 introduces an extra level of complexity. You don't want >> that unless really necessary. > > How would that complexity manifest? Have you noticed the number of extra daemons and kernel bits that have

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Matthew Palmer
[Up-front disclaimer: I'm not a fan of cluster filesystems, having had large chunks of my little remaining sanity shredded by GFS. So what I say is likely tinged with lingering loathing, although I do *try* to stay factual] On Wed, Mar 10, 2010 at 09:01:01PM +0800, Martin Aspeli wrote: > Matthew

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Matthew Palmer
On Thu, Mar 11, 2010 at 08:30:29AM +0800, Martin Aspeli wrote: > Martin Aspeli wrote: >> Hi folks, >> >> Let's say have a two-node cluster with DRBD and OCFS2, with a database >> server that's supposed to be active on one node at a time, using the >> OCFS2 partition for its data store. >> >> If we

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Matthew Palmer
On Wed, Mar 10, 2010 at 11:26:41AM -, darren.mans...@opengi.co.uk wrote: > > On Wed, Mar 10, 2010 at 02:32:05PM +0800, Martin Aspeli wrote: > > Florian Haas wrote: > >> On 03/09/2010 06:07 AM, Martin Aspeli wrote: > >>> Hi folks, > >>> > >>> Let's say have a two-node cluster with DRBD and OCFS

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Serge Dubrouski
On Wed, Mar 10, 2010 at 6:59 PM, Martin Aspeli wrote: > Serge Dubrouski wrote: >> >> On Wed, Mar 10, 2010 at 5:30 PM, Martin Aspeli >>  wrote: >>> >>> Martin Aspeli wrote: Hi folks, Let's say have a two-node cluster with DRBD and OCFS2, with a database server that's suppos

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Martin Aspeli
Serge Dubrouski wrote: On Wed, Mar 10, 2010 at 5:30 PM, Martin Aspeli wrote: Martin Aspeli wrote: Hi folks, Let's say have a two-node cluster with DRBD and OCFS2, with a database server that's supposed to be active on one node at a time, using the OCFS2 partition for its data store. If we de

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Serge Dubrouski
On Wed, Mar 10, 2010 at 5:30 PM, Martin Aspeli wrote: > Martin Aspeli wrote: >> >> Hi folks, >> >> Let's say have a two-node cluster with DRBD and OCFS2, with a database >> server that's supposed to be active on one node at a time, using the >> OCFS2 partition for its data store. >> >> If we detec

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Martin Aspeli
Martin Aspeli wrote: Hi folks, Let's say have a two-node cluster with DRBD and OCFS2, with a database server that's supposed to be active on one node at a time, using the OCFS2 partition for its data store. If we detect a failure on the active node and fail the database over to the other node,

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Martin Aspeli
Dejan Muhamedagic wrote: Hi, On Wed, Mar 10, 2010 at 11:10:31PM +0800, Martin Aspeli wrote: Dejan Muhamedagic wrote: Hi, On Wed, Mar 10, 2010 at 09:02:48PM +0800, Martin Aspeli wrote: Lars Ellenberg wrote: Or, if this is as infrequent as you say it is, have those blobs in a regular file sy

Re: [Pacemaker] Handling multiple attribute sets (cs#26435fdfd488)

2010-03-10 Thread Rasto Levrinc
On Wed, March 10, 2010 6:07 pm, Dejan Muhamedagic wrote: > On Wed, Mar 10, 2010 at 05:53:16PM +0100, Rasto Levrinc wrote: > >> BTW, you can start group, clearing all the target-roles from children >> and then set target roles of children, to get the configuration lmb >> requires. > > I don't quite

Re: [Pacemaker] Still get "unknown expected votes" on debian lenny

2010-03-10 Thread Florian Haas
On 03/10/2010 01:40 PM, Michael Schwartzkopff wrote: > Hi, > > I just installed the lastest pacemaker/corosync from madkiss' repository on > my > lenny and still get the "unknown expected votes" error and my cluster. Any > idea how to resolve? Sure. Build from a clone of http://hg.debian.org/h

Re: [Pacemaker] [PATCH] SNMP for net-snmp5.3

2010-03-10 Thread Florian Haas
Andrew, your thoughts on this patch? FWIW I'd strongly second the idea of supporting Net-SNMP 5.3; otherwise Pacemaker SNMP notifications won't work on RHEL 5. Cheers, Florian On 03/10/2010 08:47 AM, Simon Horman wrote: > On Wed, Mar 10, 2010 at 02:57:12PM +0900, sato yuki wrote: >> Hello all. >

Re: [Pacemaker] ERROR: unpack_rsc_op: Hard error

2010-03-10 Thread Werner
Lars Marowsky-Bree writes: > > On 2010-03-09T22:48:36, Werner wrote: > > > I have a problem with setting up a simple two node cluster with an IP > > address > > that should fail over. > > Hi Werner, > > > dc-version="1.0.3-0080ec086ae9c20ad5c4c3562000c0ad68374f0a" \ > > you really

Re: [Pacemaker] Handling multiple attribute sets (cs#26435fdfd488)

2010-03-10 Thread Dejan Muhamedagic
On Wed, Mar 10, 2010 at 05:53:16PM +0100, Rasto Levrinc wrote: > > On Wed, March 10, 2010 5:43 pm, Dejan Muhamedagic wrote: > > On Wed, Mar 10, 2010 at 04:58:48PM +0100, Dejan Muhamedagic wrote: > > > >> Hi, > >> > >> > >> On Wed, Mar 10, 2010 at 04:24:16PM +0100, Lars Marowsky-Bree wrote: > >> >

Re: [Pacemaker] ERROR: unpack_rsc_op: Hard error

2010-03-10 Thread Lars Marowsky-Bree
On 2010-03-09T22:48:36, Werner wrote: > I have a problem with setting up a simple two node cluster with an IP address > that should fail over. Hi Werner, > dc-version="1.0.3-0080ec086ae9c20ad5c4c3562000c0ad68374f0a" \ you really should upgrade that. Regards, Lars -- Architect St

Re: [Pacemaker] Help with OCFS2 / DLM Stability

2010-03-10 Thread Lars Marowsky-Bree
On 2010-03-09T11:37:02, darren.mans...@opengi.co.uk wrote: > Further to some discussions a couple of weeks ago with regard to OCFS2 > on SLES 11 HAE I'm looking to finally nail this problem. Hi Darren, for SLE HA 11, really Novell support is the best channel for getting feedback and debugging pr

Re: [Pacemaker] Handling multiple attribute sets (cs#26435fdfd488)

2010-03-10 Thread Lars Marowsky-Bree
On 2010-03-10T16:58:48, Dejan Muhamedagic wrote: > > I fear if the admin has created the situation of conflicting attribute > > sets, it is the admins responsibility to a) remove them, or b) select > > the specific attribute set they want modified. > True. It's just that the recent stampede of pe

Re: [Pacemaker] Handling multiple attribute sets (cs#26435fdfd488)

2010-03-10 Thread Rasto Levrinc
On Wed, March 10, 2010 5:43 pm, Dejan Muhamedagic wrote: > On Wed, Mar 10, 2010 at 04:58:48PM +0100, Dejan Muhamedagic wrote: > >> Hi, >> >> >> On Wed, Mar 10, 2010 at 04:24:16PM +0100, Lars Marowsky-Bree wrote: >> >>> Hi all, Dejan, >>> >>> >>> the above changeset aims to improve the behaviour wi

Re: [Pacemaker] Handling multiple attribute sets (cs#26435fdfd488)

2010-03-10 Thread Dejan Muhamedagic
On Wed, Mar 10, 2010 at 04:58:48PM +0100, Dejan Muhamedagic wrote: > Hi, > > On Wed, Mar 10, 2010 at 04:24:16PM +0100, Lars Marowsky-Bree wrote: > > Hi all, Dejan, > > > > the above changeset aims to improve the behaviour with multiple > > attribute sets - right now, the crm_resource et al compla

Re: [Pacemaker] Help with OCFS2 / DLM Stability

2010-03-10 Thread Dejan Muhamedagic
Hi, On Wed, Mar 10, 2010 at 03:34:43PM -, darren.mans...@opengi.co.uk wrote: > On Wed, 2010-03-10 at 13:28 +0100, Dejan Muhamedagic wrote: > > > Hi, > > On Tue, Mar 09, 2010 at 11:37:02AM -, darren.mans...@opengi.co.uk > wrote: > > Hi everyone. > >

Re: [Pacemaker] ERROR: unpack_rsc_op: Hard error

2010-03-10 Thread Dejan Muhamedagic
Hi, On Wed, Mar 10, 2010 at 03:52:57PM +, Werner wrote: > Tim Serong writes: > > > Looks like a typo - if your configuration is missing that 'r' character, > > that'll be the source of your problem (although, if the crm shell let you > > create a primitive using an RA that doesn't exist, tha

Re: [Pacemaker] Handling multiple attribute sets (cs#26435fdfd488)

2010-03-10 Thread Dejan Muhamedagic
Hi, On Wed, Mar 10, 2010 at 04:24:16PM +0100, Lars Marowsky-Bree wrote: > Hi all, Dejan, > > the above changeset aims to improve the behaviour with multiple > attribute sets - right now, the crm_resource et al complain that they > can't figure out which one to set, so the changeset simply > clear

Re: [Pacemaker] ERROR: unpack_rsc_op: Hard error

2010-03-10 Thread Werner
Tim Serong writes: > Looks like a typo - if your configuration is missing that 'r' character, > that'll be the source of your problem (although, if the crm shell let you > create a primitive using an RA that doesn't exist, that sounds like a bug). > > > Regards, > > Tim > Oh dear, oh dear,

Re: [Pacemaker] Help with OCFS2 / DLM Stability

2010-03-10 Thread Darren.Mansell
On Wed, 2010-03-10 at 13:28 +0100, Dejan Muhamedagic wrote: Hi, On Tue, Mar 09, 2010 at 11:37:02AM -, darren.mans...@opengi.co.uk wrote: > Hi everyone. > > > > Further to some discussions a couple of weeks ago with

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Dejan Muhamedagic
Hi, On Wed, Mar 10, 2010 at 11:10:31PM +0800, Martin Aspeli wrote: > Dejan Muhamedagic wrote: > >Hi, > > > >On Wed, Mar 10, 2010 at 09:02:48PM +0800, Martin Aspeli wrote: > >>Lars Ellenberg wrote: > >> > >>>Or, if this is as infrequent as you say it is, have those blobs in a > >>>regular file syst

[Pacemaker] Handling multiple attribute sets (cs#26435fdfd488)

2010-03-10 Thread Lars Marowsky-Bree
Hi all, Dejan, the above changeset aims to improve the behaviour with multiple attribute sets - right now, the crm_resource et al complain that they can't figure out which one to set, so the changeset simply clears/updates all of them. I disagree, for the following reasons: First, I frequently h

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Martin Aspeli
Dejan Muhamedagic wrote: Hi, On Wed, Mar 10, 2010 at 09:02:48PM +0800, Martin Aspeli wrote: Lars Ellenberg wrote: Or, if this is as infrequent as you say it is, have those blobs in a regular file system on a regular partition or LV, and replace every "echo> blob" with "echo> blob&& csyn

Re: [Pacemaker] Help with OCFS2 / DLM Stability

2010-03-10 Thread Darren.Mansell
Sorry, please ignore this mail. Client issues! -Original Message- From: darren.mans...@opengi.co.uk [mailto:darren.mans...@opengi.co.uk] Sent: 10 March 2010 13:53 To: deja...@fastmail.fm Cc: pacemaker@oss.clusterlabs.org Subject: Re: Re: [Pacemaker] Help with OCFS2 / DLM Stability On We

Re: [Pacemaker] Help with OCFS2 / DLM Stability

2010-03-10 Thread Darren.Mansell
On Wed, 2010-03-10 at 13:28 +0100, Dejan Muhamedagic wrote: > Hi, >=20 > On Tue, Mar 09, 2010 at 11:37:02AM -, darren.mans...@opengi.co.uk wro= te: > > Hi everyone. > >=20 > > =20 > >=20 > > Further to some discussions a couple of weeks ago with regard to OCFS2 > > on SLES 11 HAE I'm looking to

Re: [Pacemaker] [PATCH] crm_mon expansion patch

2010-03-10 Thread Andrew Beekhof
On Wed, Mar 10, 2010 at 3:31 AM, Yuusuke IIDA wrote: > Hi Andrew, > > thanks for reply. > > (2010/03/08 19:23), Andrew Beekhof wrote: >> >> Not sure about this bit: >> >> +    if(failcount>  0) { >> +       printed = TRUE; >> +       print_as(": Resource is failure!!"); >> +    } >> + >> >> Was th

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Dejan Muhamedagic
Hi, On Wed, Mar 10, 2010 at 09:02:48PM +0800, Martin Aspeli wrote: > Lars Ellenberg wrote: > > >Or, if this is as infrequent as you say it is, have those blobs in a > >regular file system on a regular partition or LV, and replace every > >"echo> blob" with "echo> blob&& csync2 -x blob" (you ge

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Martin Aspeli
darren.mans...@opengi.co.uk wrote: Please forgive my ignorance, I seem to have missed the specifics about using OCFS2 on DRBD dual-primary but what are the main issues? How can you use PgSQL on dual-primary without OCFS2? For the record, we are *not* using dual primary in our setup. We'll have

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Martin Aspeli
Lars Ellenberg wrote: Or, if this is as infrequent as you say it is, have those blobs in a regular file system on a regular partition or LV, and replace every "echo> blob" with "echo> blob&& csync2 -x blob" (you get the idea). Unfortunately, that'd mean modifying software I don't really hav

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Martin Aspeli
Matthew Palmer wrote: On Wed, Mar 10, 2010 at 02:32:05PM +0800, Martin Aspeli wrote: Florian Haas wrote: On 03/09/2010 06:07 AM, Martin Aspeli wrote: Hi folks, Let's say have a two-node cluster with DRBD and OCFS2, with a database server that's supposed to be active on one node at a time, usi

[Pacemaker] Still get "unknown expected votes" on debian lenny

2010-03-10 Thread Michael Schwartzkopff
Hi, I just installed the lastest pacemaker/corosync from madkiss' repository on my lenny and still get the "unknown expected votes" error and my cluster. Any idea how to resolve? Greetings, -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Ger

Re: [Pacemaker] Help with OCFS2 / DLM Stability

2010-03-10 Thread Dejan Muhamedagic
Hi, On Tue, Mar 09, 2010 at 11:37:02AM -, darren.mans...@opengi.co.uk wrote: > Hi everyone. > > > > Further to some discussions a couple of weeks ago with regard to OCFS2 > on SLES 11 HAE I'm looking to finally nail this problem. > > We have a 3 node cluster that has a STONITH shootout ev

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Darren.Mansell
On Wed, Mar 10, 2010 at 02:32:05PM +0800, Martin Aspeli wrote: > Florian Haas wrote: >> On 03/09/2010 06:07 AM, Martin Aspeli wrote: >>> Hi folks, >>> >>> Let's say have a two-node cluster with DRBD and OCFS2, with a database >>> server that's supposed to be active on one node at a time, using the

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Lars Ellenberg
On Wed, Mar 10, 2010 at 07:13:28PM +1100, Matthew Palmer wrote: > On Wed, Mar 10, 2010 at 02:32:05PM +0800, Martin Aspeli wrote: > > Florian Haas wrote: > >> On 03/09/2010 06:07 AM, Martin Aspeli wrote: > >>> Hi folks, > >>> > >>> Let's say have a two-node cluster with DRBD and OCFS2, with a databa

Re: [Pacemaker] DRBD and fencing

2010-03-10 Thread Matthew Palmer
On Wed, Mar 10, 2010 at 02:32:05PM +0800, Martin Aspeli wrote: > Florian Haas wrote: >> On 03/09/2010 06:07 AM, Martin Aspeli wrote: >>> Hi folks, >>> >>> Let's say have a two-node cluster with DRBD and OCFS2, with a database >>> server that's supposed to be active on one node at a time, using the