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 holger.teut...@web.de wrote: On Wed, 2011-04-27 at 13:25 +0200, Andrew Beekhof wrote: On Sun, Apr 24, 2011 at 4:31 PM, Holger Teutsch holger.teut...@web.de wrote: ... Remaining

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 holger.teut...@web.de wrote: On Fri, 2011-05-06 at 11:03 +0200, Andrew Beekhof wrote: On Fri, May 6, 2011 at 9:53 AM, Andrew Beekhof and...@beekhof.net wrote: On Thu, May 5, 2011 at 5

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 holger.teut...@web.de 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-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 and...@beekhof.net wrote: On Thu, May 5, 2011 at 5:43 PM, Holger Teutsch holger.teut...@web.de wrote: On Fri, 2011-04-29 at 09:41 +0200, Andrew Beekhof wrote: Unfortunately

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.1. In

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? CMD_ERR(Resource %s not moved: specifying --master

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 the

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 --resource

[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 holger.teut...@web.de # Date 1302259903 -7200 # Branch mig # Node ID caed31174dc966450a31da048b640201980870a8 # Parent 9451c288259b7b9fd6f32f5df01d47569e570c58 Low: lib/common

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 holger.teut...@web.de 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, Apr 5, 2011 at 12:27 PM

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 deja...@fastmail.fm wrote: Ah, right, sorry, wanted to ask about the difference between move-off and move. The

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 holger.teut...@web.de wrote: On Mon, 2011-04-04 at 11:05 +0200, Andrew Beekhof wrote: On Sat, Mar 19, 2011 at 11:55 AM

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 at 12:10:48PM +0200, Holger Teutsch wrote

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, On Fri, Mar 18, 2011 at 12:21:40PM +0100, Holger Teutsch

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

2011-03-18 Thread Holger Teutsch
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 # User Holger Teutsch holger.teut...@web.de # Date 1300439791 -3600 # Branch mig # Node ID dac1a4eae844f0bd857951b1154a171c80c25772

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 to

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, In order to show the intention of the arguments

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 at 13:06 +0100, Holger Teutsch wrote: On Thu

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_primitive(p.node, clash_dict)

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 uniqueness is violated for discussion. I'll leave

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 wrote: On 2011-03-03 10:43, Holger

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

2011-03-07 Thread Holger Teutsch
to ensure that any attachment to this e-mail has been swept for virus. However, KNAPP 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

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 ?

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 leave it do Dejan to review the code, but I love the functionality

[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

[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 plugin is in ./usr/lib

[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

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 deja...@fastmail.fm Gesendet: Fr 14.01.2011 12:31 An: The Pacemaker cluster resource manager pacemaker@oss.clusterlabs.org; Betreff: Re: [Pacemaker] Howto write a STONITH

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 and...@beekhof.net Gesendet: Di 11.01.2011 09:01 An: The Pacemaker cluster resource manager pacemaker@oss.clusterlabs.org; CC: Michael Schwartzkopff mi...@clusterbau.com;

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

Re: [Pacemaker] Dependency on either of two resources

2010-10-04 Thread Holger . Teutsch
be 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 bub...@hoster-ok.com To: The Pacemaker cluster resource manager pacemaker

[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