[Pacemaker] clone specific configuration options

Andrew Beekhof andrew at beekhof.net
Wed May 4 02:40:18 EDT 2011


On Tue, May 3, 2011 at 3:10 PM, Shravan Mishra <shravan.mishra at gmail.com> wrote:
> Hi,
>
> "globally-unique" --- Does each copy of the clone perform a different
> function? Allowed values: true, false
>
>
> I was looking for some more explanation because of my weak
> understanding of the above statement:
>
> Let's say I have pure clones like "ping"  vs master/slave clones
> running on 2 machines.
>
> Now both the resources running on separate machines ping same ip   so
> are they performing same function?

yes

> My understanding is no.
>
> What are the implications if I set globally-unique as true even when
> they are performing same functions?

you end up with a lot more shuffling of the instances around the
cluster, since clone:0 on node1 is no longer the equivalent of clone:1
running on node1.

> Similarly let's say derby is running in master/slave configuration,
> are they performing unique functions?
> My understanding is yes.

i doubt it.
unless you're using OCF_RESKEY_CRM_meta_clone in the script and/or
have clone-node-max > 1

>
> Again what are the implications if I set globally-unique as false even
> when they are performing different functions?
>
>
>
> Thanks
> Shravan
>
> _______________________________________________
> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>




More information about the Pacemaker mailing list