iptakeover by alias rather than changing IP

Friedrich Lobenstock Linux-HA Mailing Liste <linux-ha@muc.de>
Sat, 2 Feb 2002 15:05:42 +0100 (CET)


On Fri, 1 Feb 2002 22:49, Matthew Sackman wrote:

> Some hosting companies, which will take colocation servers
> (you build, they host) don't allow you to use local IPs on
> their network (not when attached to their switches anyway).

You have to use (IP-addresses are just examples!!)
 Host-A:                    eg. 193.80.99.5/24
 Host-B:                    eg. 193.80.99.6/24

 IP-Address of your cluser: eg. 193.80.99.7

Because every host has a route to the net 193.80.99.0/24
heartbeat will bring up eth0:0 as 193.80.99.7 on the
active host.

A plus of this is, that you can logon to both hosts no
matter which host is the master and owns the official IP
of your cluster.

-- 
MfG / Regards
Friedrich Lobenstock