[Pacemaker] Auto-restart service on IP shift?

Andrew Beekhof andrew at beekhof.net
Fri Feb 5 15:52:53 UTC 2010


On Thu, Feb 4, 2010 at 9:49 PM, Erich Weiler <weiler at soe.ucsc.edu> wrote:
>> yes, it does. Thanks for the pointer. I've been not aware that it's
>> possible to have a kind of "standby-ip" where the upper services
>> can bind to without actually getting connection requests.
>
> So you're saying you can have 2 nodes have the IP address, but only one
> answers on it?  Does the other node have it but block it via iptables or
> something?
>
> Would a CRM config look like this?:
>
> clone cloned-ip ClusterIP \
>        meta clone-max="2" clone-node-max="1" globally-unique=true

basically.

>
> If so, does anyone know of a way to specify which node I want to be the
> 'active' one?

They're both active.
But incoming requests are hashed and placed into exactly one of
clone-max buckets.
So both machines get the request, but only one processes it.




More information about the Pacemaker mailing list