[Pacemaker] Manual promote/demote and time between demote and promote

2009-07-20 Thread hj lee
Hi, I am building a simple multi-state clone with max-master=2. The demote/promote is working OK by using migration-threshold or co-location constraint. But I have two questions: 1. Except these two methods, is there any way to invoke demote/promote manually just for testing? 2. By using co-locat

Re: [Pacemaker] Question regarding a clone resource depending on a multistate resource

2009-07-20 Thread Andrew Beekhof
On Mon, Jul 20, 2009 at 11:47 AM, Michael Schwartzkopff wrote: > Am Samstag, 18. Juli 2009 11:52:21 schrieb Lars Marowsky-Bree: >> On 2009-07-17T15:02:18, hj lee wrote: >> > Hi, >> > >> > I think the drbd RA can not have two masters! So master-max should be >> > one. >> >> This is the one from Lin

Re: [Pacemaker] Question regarding a clone resource de pending on a?multistate resource

2009-07-20 Thread Michael Schwartzkopff
Am Montag, 20. Juli 2009 12:01:52 schrieb Lars Marowsky-Bree: > On 2009-07-20T11:47:55, Michael Schwartzkopff wrote: > > But my problem of a clone depending on a multistate resource is still not > > solved. Any ides? Thanks. > > Did you file a bug? A clone depending on a master role should work fi

Re: [Pacemaker] Question regarding a clone resource depending on a?multistate resource

2009-07-20 Thread Lars Marowsky-Bree
On 2009-07-20T11:47:55, Michael Schwartzkopff wrote: > But my problem of a clone depending on a multistate resource is still not > solved. Any ides? Thanks. Did you file a bug? A clone depending on a master role should work fine, even though the clone instances would of course be limited to the

Re: [Pacemaker] Question regarding a clone resource de pending on a multistate resource

2009-07-20 Thread Michael Schwartzkopff
Am Samstag, 18. Juli 2009 11:52:21 schrieb Lars Marowsky-Bree: > On 2009-07-17T15:02:18, hj lee wrote: > > Hi, > > > > I think the drbd RA can not have two masters! So master-max should be > > one. > > This is the one from Linbit, which works a bit differently than the one > included. Note the dif

Re: [Pacemaker] System Health patches

2009-07-20 Thread Andrew Beekhof
Thanks! Applied: http://hg.clusterlabs.org/pacemaker/stable-1.0/rev/c8b2e3954f0f Sorry for the delay. On Fri, Jul 17, 2009 at 9:16 PM, Mark Hamzy wrote: > Attached are the rest of the patches for the System Health feature. They add > some testing, a resource script, a tool that listens to IPMI eve