Hi, On Fri, Aug 13, 2010 at 09:25:08AM -0700, Bob Schatz wrote: > Dejan, > > Thanks for the quick response! > > Comments below with [BS] > > ----- Original Message ---- > From: Dejan Muhamedagic <deja...@fastmail.fm> > To: The Pacemaker cluster resource manager <pacemaker@oss.clusterlabs.org> > Sent: Fri, August 13, 2010 3:03:49 AM > Subject: Re: [Pacemaker] Pacemaker 1.0.8 and -INFINITY master score > > Hi, > > On Thu, Aug 12, 2010 at 12:54:10PM -0700, Bob Schatz wrote: > > I upgraded to Pacemaker 1.0.8 since my application consists of Master/Slave > > resources and I wanted to pick up the fix for setting negative master > > scores. > > Why not to 1.0.9.1? > > > [BS] Because when I checked the > link http://www.clusterlabs.org/wiki/Get_Pacemaker > it seemed to indicated that 1.0.8 was the last one fully tested with > the rest of the stack > (heartbeat, etc). Are there fixes in 1.0.9 in this area?
Not sure, but I think so. The text is outdated. > I generally > am conservative about > upgrading HA software until it has been out a while. :) That's also OK, unless you need some bug fix. > > I am now able to set negative master scores when a resources starts and is > >SLAVE > > > > but can't be promoted. (The reason I want this is the process needs an > > administrative override and has to be up and running for the administrative > > override.) > > > > However, when I test this on a one node cluster I see that the resource > > loops > > through the cycle (attempt promote, timeout, stop the resource, start the > > resource, ...). > > > > I would have thought that a master score of -INFINITY would have prevented > > the > > > promotion. > > Yes, sounds like it. Where is the score set? Wouldn't "resource > demote" do the right thing? > > [BS] I used the ~October 2009 DRBD agent as a reference. The "crm_master -Q > -l > reboot -v -10" > call is made at the end of the start() entry point in the agent. > I am not sure what you mean by "resource demote" demote is the opposite of promote. Thanks, Dejan _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker