[Linux-HA] Gateway & DNS
Gary W. Smith
gary at primeexalia.com
Sun Aug 21 13:17:54 MDT 2005
I'm not sure what the best approach is for doing this but I have
different problem which I created a custom script for. When the cluster
is inactive I need it to use the eth1 as it's default gateway (so it
uses the active firewall) and when it's active it needs to be the
gateway and thus rewrite the routing table.
So I create an init.d script called hacustom and added the
start/start/status functions to it. I know us this to do a bunch of
stuff (like send emails - though HA can do it, I do a lot of other
things in there as well).
Anyways, I found creating a custom script was the way to go for us. It
might be what you are looking for.
> -----Original Message-----
> From: linux-ha-bounces at lists.linux-ha.org [mailto:linux-ha-
> bounces at lists.linux-ha.org] On Behalf Of Victor Chin
> Sent: Sunday, August 21, 2005 9:49 AM
> To: linux-ha at lists.linux-ha.org
> Subject: [Linux-HA] Gateway & DNS
> I thought about doing it manually and invoking a custom script which
> be used to input the gateway and dns but is there already a mechanism
> could use to do that without writing my own script?
More information about the Linux-HA