Re: [Pacemaker] on fail standby with migration-threshold

2010-02-22 Thread Andrew Beekhof
On Wed, Feb 17, 2010 at 10:16 AM, wrote: >> >> Yeah, that would be expected. >> Good idea for an enhancement though... feel like creating a bugzilla >> entry? >> >> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker > > ok ;-) > >> Just what you have (without the on-fail se

Re: [Pacemaker] on fail standby with migration-threshold

2010-02-19 Thread rvm
Hello, > Oups sorry... In fact, I want : > * After two failures on a resource, move the resource away and _never_ > go back even if the new node fails. => ok with > migration-threshold="2" > * if my node crash, move my resource and set infinite score on this > fail node to never return on this

Re: [Pacemaker] on fail standby with migration-threshold

2010-02-17 Thread rvm
> > Yeah, that would be expected. > Good idea for an enhancement though... feel like creating a bugzilla > entry? > > http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker ok ;-) > Just what you have (without the on-fail setting) should be sufficient > for that. Oups sorr

Re: [Pacemaker] on fail standby with migration-threshold

2010-02-16 Thread Andrew Beekhof
On Tue, Feb 16, 2010 at 12:41 PM, wrote: > Hi all, > > I'm trying to have this configuration on my 2 nodes test cluster : > * After two failures on a resource, standby the node and move the resource > away. In fact this : > > primitive APACHE ocf:me:apache \ >        params url="http://localhost

[Pacemaker] on fail standby with migration-threshold

2010-02-16 Thread rvm
Hi all, I'm trying to have this configuration on my 2 nodes test cluster : * After two failures on a resource, standby the node and move the resource away. In fact this : primitive APACHE ocf:me:apache \ params url="http://localhost/server-status"; \ op monitor interval="10s" tim