[ULTRAMONKEY-USERS] routing
Ludwig Ruderstaller
l.ruderstaller at bestheads.com
Mon Oct 22 18:25:50 EST 2007
Hi List,
After playing around the whole weekend i have my setup running. I am two
little problems away from beeing perfectly happy with it.
my ldirectord.cf looks like:
virtual=xxx.xxx.xxx.xxx:80
real=10.1.1.203:80 masq
real=10.1.1.204:80 masq
real=10.1.1.205:80 masq
service=http
request="ldirector.html"
receive="Test Page"
scheduler=rr
protocol=tcp
checktype=negotiate
so the realservers have set the default gateway to the director.
But i have 2 directors in a hot standby configuration. If the master is
failing the slave takes over automaticly, but the slave has a different
internal ip then the master, and so the whole setup fails.
Is there are a way to set the gateway "dynamicly" on the realservers ?
I use Gentoo and set the ip of the interface on the director to "none" and
added his default route.
eg.
config_eth0=("none")
routes_eth0=("default via [gateway_ip]")
the only problem is, gentoo doesnt set the route if you dont assign a ip
address.
after the master fails or get disabled the slave director kicks in and didnt
have a default route. is it possible to "extend" the takeover process to
execute a bash file or similar ?
TIA
Ludwig
--
bestHeads Online Marketing GmbH
l.ruderstaller at bestheads.com | Reinlgasse 35/6, 1140 Wien
mobil. +43 699 12 29 45 64 | www.bestheads.com
office. +43 699 12 29 45 61 | www.bestquestions.com
fax. +43 1 253 30 33 4425 | FN. 283358d, Handelsgericht Wien
icq. 13753205 | GPG KeyId: C496B8EA
More information about the Ultramonkey-users
mailing list