[Pacemaker] Failover with multiple services on one node
Matthew Palmer
mpalmer at hezmatt.org
Mon Mar 8 09:52:01 UTC 2010
On Mon, Mar 08, 2010 at 03:21:32PM +0800, Martin Aspeli wrote:
> Matthew Palmer wrote:
>>> What is the normal way to handle this? Do people have one floating IP
>>> address per service?
>>
>> This is how I prefer to do it. RFC1918 IP addresses are cheap, IPv6 address
>> quintuply so. Having everything tied to one address causes some mayhem when
>> something falls over (failover is quick, but it ain't instantaneous), so
>> it's far better to give everything it's own address and let them drift about
>> independently. Also, it makes load-spreading (run PgSQL on one machine,
>> memcached on the other, for instance) much easier.
>
> Pardon my Linux ignorance, but does mean we need one NIC per service as
> well, or can we bind multiple (floating) IPs to each interface?
Yes, you can bind many IP addresses to a single NIC. The IP address
management RAs pretty much depend on this behaviour. What (modern) OS are
you familiar with that doesn't support this?
- Matt
More information about the Pacemaker
mailing list