[Pacemaker] don't want to restart clone resource
Fanghao Sha
shafanghao at gmail.com
Fri Feb 3 10:39:07 UTC 2012
Sorry, I don't know how to file a bug, and i have only "messages" file.
I have tried to set clone-max=3, and after removing node-1, the clone resource
running on node-2 has not restart.
But when I add another node-3 to cluster with "hb_addnode", the clone resource
running on node-2 became orphaned and restart.
As attached "messages" file,
I couldn't understand this line:
"find_clone: Internally renamed node-app-rsc:2 on node-2 to node-app-rsc:3
(ORPHAN)".
2012/2/2 Andrew Beekhof <andrew at beekhof.net>
> On Thu, Feb 2, 2012 at 4:57 AM, Lars Ellenberg
> <lars.ellenberg at linbit.com> wrote:
> > On Wed, Feb 01, 2012 at 03:43:55PM +0100, Andreas Kurz wrote:
> >> Hello,
> >>
> >> On 02/01/2012 10:39 AM, Fanghao Sha wrote:
> >> > Hi Lars,
> >> >
> >> > Yes, you are right. But how to prevent the "orphaned" resources from
> >> > stopping by default, please?
> >>
> >> crm configure property stop-orphan-resources=false
> >
> > Well, sure. But for "normal" ophans,
> > you actually want them to be stopped.
> >
> > No, pacemaker needs some additional smarts to recognize
> > that there actually are no orphans, maybe by first relabling,
> > and only then checking for instance label > clone-max.
>
> Instance label doesn't come into the equation.
> It might look like it does on the outside, but its more complicated than
> that.
>
> >
> > Did you file a bugzilla?
> > Has that made progress?
> >
> >
> > --
> > : Lars Ellenberg
> > : LINBIT | Your Way to High Availability
> > : DRBD/HA support and consulting http://www.linbit.com
> >
> > _______________________________________________
> > Pacemaker mailing list: Pacemaker at 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://bugs.clusterlabs.org
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at 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://bugs.clusterlabs.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120203/4419d590/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: messages
Type: application/octet-stream
Size: 81692 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120203/4419d590/attachment-0004.obj>
More information about the Pacemaker
mailing list