[Pacemaker] bug: multi state and target-role=started results in promote

Lars Ellenberg lars.ellenberg at linbit.com
Thu Oct 15 08:47:38 UTC 2009


On Thu, Oct 15, 2009 at 10:08:59AM +0200, Andrew Beekhof wrote:
> On Wed, Oct 14, 2009 at 5:07 PM, Rasto Levrinc <rasto.levrinc at linbit.com> wrote:
> > On Wed, October 14, 2009 4:36 pm, Andrew Beekhof wrote:
> >> On Wed, Oct 14, 2009 at 4:12 PM, Lars Ellenberg
> >> <lars.ellenberg at linbit.com> wrote:
> >>
> >>>
> >>>
> >>> with below config, according to documentation, ms_res_Stateful_1 should
> >>> only be started, not promoted.
> >>>
> >>> but it gets promoted nontheless.
> >>>
> >>> Config bug?
> >>> Documentation bug?
> >>> Code bug?
> >>>
> >>
> >> Latter.
> >> Could I trouble you for the xml (with status section)?
> >>
> >
> > Is attached.
> 
> Hmmm... looks like "Slave" does the right thing, but not "Started"

In that case, I vote for a Documentation change only.

for MS resources,
target-role=Started is equivalent to target-role=Master
target-role=Slave is possible for MS resources only, and does just that.
target-role=Stopped is obvious as well

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.




More information about the Pacemaker mailing list