[Pacemaker] Resource colocation with a clone

Brice Figureau brice+ha at daysofwonder.com
Thu Aug 13 16:14:45 UTC 2009


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? 

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/





More information about the Pacemaker mailing list