[Pacemaker] Fail-count and failure timeout

2010-10-01 Thread Holger . Teutsch
Hi, I observed the following in pacemaker Versions 1.1.3 and tip up to patch 10258. In a small test environment to study fail-count behavior I have one resource anything doing sleep 600 with monitoring interval 10 secs. The failure-timeout is 300. I would expect to never see a failcount highe

Re: [Pacemaker] Dependency on either of two resources

2010-10-04 Thread Holger . Teutsch
obtained and the other one could not be obtained on a different node IMHO sdb is not an alternative as this introduces a SPOF. Mit freundlichen Grüßen / Kind regards Holger Teutsch From: Vladislav Bogdanov To: The Pacemaker cluster resource manager Date: 04.10.2010 06:33 Subject

Re: [Pacemaker] Fail-count and failure timeout

2010-10-05 Thread Holger . Teutsch
The resource failed when the sleep expired, i.e. each 600 secs. Now I changed the resource to sleep 7200, failure-timeout 3600 i.e. to values far beyond the recheck-interval opf 15m. Now everything behaves as expected. Mit freundlichen Grüßen / Kind regards Holger Teutsch From

[Pacemaker] Small document fix Clusters_from_Scratch

2010-12-03 Thread Holger . Teutsch
Hi, found and fixed an error in Clusters from Scratch - holger ___ WEB.DE DSL Doppel-Flat ab 19,99 €/mtl.! Jetzt auch mit gratis Notebook-Flat! http://produkte.web.de/go/DSL_Doppel_Flatrate/2 # HG changeset patch # User Holger Teutsch

Re: [Pacemaker] Split-site cluster in two locations

2011-01-11 Thread Holger Teutsch
On Tue, 2011-01-11 at 10:21 +0100, Christoph Herrmann wrote: > -Ursprüngliche Nachricht- > Von: Andrew Beekhof > Gesendet: Di 11.01.2011 09:01 > An: The Pacemaker cluster resource manager ; > CC: Michael Schwartzkopff ; > Betreff: Re: [Pacemaker] Split-site cluster in two locations > >

Re: [Pacemaker] Howto write a STONITH agent

2011-01-15 Thread Holger Teutsch
On Fri, 2011-01-14 at 17:10 +0100, Christoph Herrmann wrote: > -Ursprüngliche Nachricht- > Von: Dejan Muhamedagic > Gesendet: Fr 14.01.2011 12:31 > An: The Pacemaker cluster resource manager ; > Betreff: Re: [Pacemaker] Howto write a STONITH agent > > > Hi, > > > > On Thu, Jan 13, 2011

[Pacemaker] Packages for Opensuse 11.3 don't build / install

2011-02-15 Thread Holger Teutsch
Hi, the packages from rpm-next(64bit) for opensuse 11.3 do not install there (at least true for 1.1.4 and 1.1.5). The plugin is in ./usr/lib/lcrso/pacemaker.lcrso but should be in ./usr/lib64/lcrso/pacemaker.lcrso I think the patch below (borrowed from the 'official' packages) cures. Regards Ho

[Pacemaker] rpm packages in Pacemaker's rpm-next do not install

2011-02-17 Thread Holger Teutsch
At least for Opensuse 11.3 x86_64. May be the title of my previous mail was misleading. -h On Tue, 2011-02-15 at 17:57 +0100, Holger Teutsch wrote: > Hi, > the packages from rpm-next(64bit) for opensuse 11.3 do not install there (at > least true for 1.1.4 and 1.1.5). > > The plugi

[Pacemaker] Patch: Doc correction "Pacemaker explained"

2011-03-01 Thread Holger Teutsch
Hi, small fix -> reload is implemented - holger diff -r cf4e9febed8e doc/Pacemaker_Explained/en-US/Ap-OCF.xml --- a/doc/Pacemaker_Explained/en-US/Ap-OCF.xml Wed Feb 23 14:52:34 2011 +0100 +++ b/doc/Pacemaker_Explained/en-US/Ap-OCF.xml Tue Mar 01 09:34:55 2011 +0100 @@ -81,9 +81,8 @@

[Pacemaker] Patch for bugzilla 2541: Shell should warn if parameter uniqueness is violated

2011-03-03 Thread Holger Teutsch
Hi, I submit a patch for "bugzilla 2541: Shell should warn if parameter uniqueness is violated" for discussion. devel1:~ # crm configure crm(live)configure# primitive ip1a ocf:heartbeat:IPaddr2 params ip="1.2.3.4" meta target-role="stopped" crm(live)configure# primitive ip1b ocf:heartbeat:IPaddr2

Re: [Pacemaker] Patch for bugzilla 2541: Shell should warn if parameter uniqueness is violated

2011-03-04 Thread Holger Teutsch
On Thu, 2011-03-03 at 10:55 +0100, Florian Haas wrote: > On 2011-03-03 10:43, Holger Teutsch wrote: > > Hi, > > I submit a patch for > > "bugzilla 2541: Shell should warn if parameter uniqueness is violated" > > for discussion. > > I'll leav

Re: [Pacemaker] WG: time pressure - software raid cluster, raid1 ressource agent, help needed

2011-03-06 Thread Holger Teutsch
On Sun, 2011-03-06 at 12:40 +0100, patrik.rappo...@knapp.com wrote: Hi, assume the basic problem is in your raid configuration. If you unmap one box the devices should not be in status FAIL but in degraded. So what is the exit status of mdadm --detail --test /dev/md0 after unmapping ? Furtherm

Re: [Pacemaker] Antwort: Re: WG: time pressure - software raid cluster, raid1 ressource agent, help needed

2011-03-07 Thread Holger Teutsch
NAPP does not accept any liability for damage > sustained as a result of such attachment being virus infected and > strongly recommend that you carry out your own virus check before > opening any attachment. > > > Holger Teutsch > > > 06.03.2011 19:56

Re: [Pacemaker] Patch for bugzilla 2541: Shell should warn if parameter uniqueness is violated

2011-03-08 Thread Holger Teutsch
On Fri, 2011-03-04 at 13:06 +0100, Holger Teutsch wrote: > On Thu, 2011-03-03 at 10:55 +0100, Florian Haas wrote: > > On 2011-03-03 10:43, Holger Teutsch wrote: > > > Hi, > > > I submit a patch for > > > "bugzilla 2541: Shell should warn if parameter uni

Re: [Pacemaker] Patch for bugzilla 2541: Shell should warn if parameter uniqueness is violated

2011-03-08 Thread Holger Teutsch
Hi Dejan, On Tue, 2011-03-08 at 12:07 +0100, Dejan Muhamedagic wrote: > Hi Holger, > > On Tue, Mar 08, 2011 at 09:15:01AM +0100, Holger Teutsch wrote: > > On Fri, 2011-03-04 at 13:06 +0100, Holger Teutsch wrote: > > > On Thu, 2011-03-03 at 10:55 +0100, Florian Haas wrot

Re: [Pacemaker] Patch for bugzilla 2541: Shell should warn if parameter uniqueness is violated

2011-03-09 Thread Holger Teutsch
Hi Dejan, On Tue, 2011-03-08 at 19:26 +0100, Holger Teutsch wrote: > Hi Dejan, > > On Tue, 2011-03-08 at 12:07 +0100, Dejan Muhamedagic wrote: > > Hi Holger, > > > > On Tue, Mar 08, 2011 at 09:15:01AM +0100, Holger Teutsch wrote: > > > On Fri, 2011-03-04

Re: [Pacemaker] Patch for bugzilla 2541: Shell should warn if parameter uniqueness is violated

2011-03-09 Thread Holger Teutsch
Hi Dejan, On Wed, 2011-03-09 at 14:00 +0100, Dejan Muhamedagic wrote: > Hi Holger, > > > > > > > > This would become: > > > > > > > >for p in all_obj_list: # passed from _verify() > > > >if is_primitive(p.node): > > > > > > > > > +process_pri

Re: [Pacemaker] Patch for bugzilla 2541: Shell should warn if parameter uniqueness is violated

2011-03-10 Thread Holger Teutsch
Hi Dejan, On Thu, 2011-03-10 at 10:14 +0100, Dejan Muhamedagic wrote: > Hi Holger, > > On Wed, Mar 09, 2011 at 07:58:02PM +0100, Holger Teutsch wrote: > > Hi Dejan, > > > > On Wed, 2011-03-09 at 14:00 +0100, Dejan Muhamedagic wrote: > > > Hi Holger, > >

Re: [Pacemaker] Failing back a multi-state resource eg. DRBD

2011-03-11 Thread Holger Teutsch
On Mon, 2011-03-07 at 14:21 +0100, Dejan Muhamedagic wrote: > Hi, > > On Fri, Mar 04, 2011 at 09:12:46AM -0500, David McCurley wrote: > > Are you wanting to move all the resources back or just that one resource? > > > > I'm still learning, but one simple way I move all resources back from nodeb

[Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-03-18 Thread Holger Teutsch
ing like "crm_resource --move-off --resource myresource --node devel2" ? or should crm_resource refuse to work on clones and/or should moving the master role be the default for m/s resources and the "--master" option discarded ? Regards Holger # HG changeset patch # Use

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-03-19 Thread Holger Teutsch
Hi Dejan, On Fri, 2011-03-18 at 14:24 +0100, Dejan Muhamedagic wrote: > Hi, > > On Fri, Mar 18, 2011 at 12:21:40PM +0100, Holger Teutsch wrote: > > Hi, > > I would like to submit 2 patches of an initial implementation for > > discussion. .. > > To recall: >

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-03-21 Thread Holger Teutsch
Hi Dejan, On Mon, 2011-03-21 at 16:11 +0100, Dejan Muhamedagic wrote: > Hi Holger, > > On Sat, Mar 19, 2011 at 11:55:57AM +0100, Holger Teutsch wrote: > > Hi Dejan, > > > > On Fri, 2011-03-18 at 14:24 +0100, Dejan Muhamedagic wrote: > > > Hi, > > &

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-04-04 Thread Holger Teutsch
On Mon, 2011-04-04 at 11:05 +0200, Andrew Beekhof wrote: > On Sat, Mar 19, 2011 at 11:55 AM, Holger Teutsch > wrote: > > Hi Dejan, > > > > On Fri, 2011-03-18 at 14:24 +0100, Dejan Muhamedagic wrote: > >> Hi, > >> > >> On Fri, Mar 18, 2011 a

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-04-04 Thread Holger Teutsch
On Mon, 2011-04-04 at 15:24 +0200, Andrew Beekhof wrote: > On Mon, Apr 4, 2011 at 2:43 PM, Holger Teutsch wrote: > > On Mon, 2011-04-04 at 11:05 +0200, Andrew Beekhof wrote: > >> On Sat, Mar 19, 2011 at 11:55 AM, Holger Teutsch > >> wrote: > >> > Hi Dejan,

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-04-05 Thread Holger Teutsch
On Mon, 2011-04-04 at 21:31 +0200, Holger Teutsch wrote: > On Mon, 2011-04-04 at 15:24 +0200, Andrew Beekhof wrote: > > On Mon, Apr 4, 2011 at 2:43 PM, Holger Teutsch > > wrote: > > > On Mon, 2011-04-04 at 11:05 +0200, Andrew Beekhof wrote: > > >> On Sat, Mar

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-04-05 Thread Holger Teutsch
Hi Dejan, On Tue, 2011-04-05 at 11:48 +0200, Dejan Muhamedagic wrote: > Hi Holger, > > On Mon, Apr 04, 2011 at 09:31:02PM +0200, Holger Teutsch wrote: > > On Mon, 2011-04-04 at 15:24 +0200, Andrew Beekhof wrote: > [...] > > > > crm_resource --move-off --resourc

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-04-05 Thread Holger Teutsch
Hi Dejan, On Tue, 2011-04-05 at 12:27 +0200, Dejan Muhamedagic wrote: > On Tue, Apr 05, 2011 at 12:10:48PM +0200, Holger Teutsch wrote: > > Hi Dejan, > > > > On Tue, 2011-04-05 at 11:48 +0200, Dejan Muhamedagic wrote: > > > Hi Holger, > > > > > >

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-04-05 Thread Holger Teutsch
Hi Dejan, On Tue, 2011-04-05 at 13:40 +0200, Dejan Muhamedagic wrote: > Hi Holger, > > On Tue, Apr 05, 2011 at 01:19:56PM +0200, Holger Teutsch wrote: > > Hi Dejan, > > > > On Tue, 2011-04-05 at 12:27 +0200, Dejan Muhamedagic wrote: > > > On Tue, Apr 05, 2011

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-04-06 Thread Holger Teutsch
On Wed, 2011-04-06 at 15:38 +0200, Dejan Muhamedagic wrote: > On Wed, Apr 06, 2011 at 01:00:36PM +0200, Andrew Beekhof wrote: > > On Tue, Apr 5, 2011 at 12:27 PM, Dejan Muhamedagic > > wrote: > > > Ah, right, sorry, wanted to ask about the difference between > > > move-off and move. The descripti

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-04-07 Thread Holger Teutsch
On Thu, 2011-04-07 at 08:57 +0200, Andrew Beekhof wrote: > On Wed, Apr 6, 2011 at 5:48 PM, Holger Teutsch wrote: > > On Wed, 2011-04-06 at 15:38 +0200, Dejan Muhamedagic wrote: > >> On Wed, Apr 06, 2011 at 01:00:36PM +0200, Andrew Beekhof wrote: > >> > On Tue,

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-04-08 Thread Holger Teutsch
On Thu, 2011-04-07 at 12:33 +0200, Dejan Muhamedagic wrote: > > New syntax: > > --- > > > > crm_resource --move-from --resource myresource --node mynode > >-> all resource variants: check whether active on mynode, then create > > standby constraint > > > > crm_resource --move-from --

[Pacemaker] [PATCH]Low: lib/common/utils.c: Don't try to print unprintable option values in crm_help

2011-04-08 Thread Holger Teutsch
Hi, during work on the move-XXX stuff I discovered this. Regards Holger # HG changeset patch # User Holger Teutsch # Date 1302259903 -7200 # Branch mig # Node ID caed31174dc966450a31da048b640201980870a8 # Parent 9451c288259b7b9fd6f32f5df01d47569e570c58 Low: lib/common/utils.c: Don't t

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-04-24 Thread Holger Teutsch
On Mon, 2011-04-11 at 20:50 +0200, Andrew Beekhof wrote: > why? > CMD_ERR("Resource %s not moved:" > " specifying --master is not supported for > --move-from\n", rsc_id); > it did not look sensible to me but I can't recall the exact reasons 8-) It's now implemented. > also

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-04-28 Thread Holger Teutsch
Hi Dejan, On Tue, 2011-04-26 at 17:58 +0200, Dejan Muhamedagic wrote: > Hi Holger, > > On Sun, Apr 24, 2011 at 04:31:33PM +0200, Holger Teutsch wrote: > > On Mon, 2011-04-11 at 20:50 +0200, Andrew Beekhof wrote: > > > why? > > >

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-05-05 Thread Holger Teutsch
On Fri, 2011-04-29 at 09:41 +0200, Andrew Beekhof wrote: > >> > > Unfortunately the devel code does not run at all in my environment so I > > have to fix this first. > > Oh? I ran CTS on it the other day and it was fine here. > I installed pacemaker-devel on top of a compilation of pacemaker-1.

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-05-06 Thread Holger Teutsch
On Fri, 2011-05-06 at 11:03 +0200, Andrew Beekhof wrote: > On Fri, May 6, 2011 at 9:53 AM, Andrew Beekhof wrote: > > On Thu, May 5, 2011 at 5:43 PM, Holger Teutsch > > wrote: > >> On Fri, 2011-04-29 at 09:41 +0200, Andrew Beekhof wrote: > >>> >> > &g

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-05-09 Thread Holger Teutsch
On Fri, 2011-05-06 at 16:15 +0200, Andrew Beekhof wrote: > On Fri, May 6, 2011 at 12:28 PM, Holger Teutsch wrote: > > On Fri, 2011-05-06 at 11:03 +0200, Andrew Beekhof wrote: > >> On Fri, May 6, 2011 at 9:53 AM, Andrew Beekhof wrote: > >> > On Thu, May 5, 2

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-05-09 Thread Holger Teutsch
I had 1.1 but Dejan asked my to rebase my patches on devel. So long story short: devel now works after upgrading to the rev you mentioned and I got back to working on my patches. Thanx Holger On Mon, 2011-05-09 at 10:58 +0200, Andrew Beekhof wrote: > I thought you said you were running 1.1? > >

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-05-09 Thread Holger Teutsch
On Wed, 2011-04-27 at 13:25 +0200, Andrew Beekhof wrote: > On Sun, Apr 24, 2011 at 4:31 PM, Holger Teutsch wrote: ... > > Remaining diffs seem to be not related to my changes. > > Unlikely I'm afraid. We run the regression tests after every commit > and complain loudly

Re: [Pacemaker] [PATCH]Bug 2567 - crm resource migrate should support an optional "role" parameter

2011-05-10 Thread Holger Teutsch
On Tue, 2011-05-10 at 08:24 +0200, Andrew Beekhof wrote: > On Mon, May 9, 2011 at 8:44 PM, Holger Teutsch wrote: > > On Wed, 2011-04-27 at 13:25 +0200, Andrew Beekhof wrote: > >> On Sun, Apr 24, 2011 at 4:31 PM, Holger Teutsch > >> wrote: > > ... > >> &