[Pacemaker] Resource colocation with a clone

Andrew Beekhof andrew at beekhof.net
Mon Aug 17 12:22:27 UTC 2009


On Thu, Aug 13, 2009 at 6:14 PM, Brice
Figureau<brice+ha at daysofwonder.com> wrote:
> On Thu, 2009-08-13 at 14:00 +0200, Andrew Beekhof wrote:
>> On Thu, Aug 13, 2009 at 1:31 PM, Brice
>> Figureau<brice+ha at daysofwonder.com> wrote:
>>
>> >
>> > I was wondering if colocating with a clone would work,
>>
>> That allows the resource to keep running as long as at least one node
>> has a copy of the clone running.
>> Not sure if that helps in your scenario
>
> Are you sure?

very

>
> My limited testing seems to show that if I fail nginx on the node where
> vip runs, then the vip resource is moved to another node (since I have 2
> nodes only it doesn't prove I'm correct, in a multinode scenario it
> could have chosen a node where nginx has failed too).
>
> What would you suggest to achieve the configuration I gave in an earlier
> post in this thread?
>
> How can I simulate the failure with ptest to see what would really
> happen?
> --
> Brice Figureau
> My Blog: http://www.masterzen.fr/
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>




More information about the Pacemaker mailing list