Date: Tue, 31 May 2005 07:10:20 -0600 From: Brad Davis <so14k@so14k.com> To: Sunil Sunder Raj <unixtools@hotmail.com> Cc: freebsd-cluster@freebsd.org, freebsd-pf@freebsd.org Subject: Re: (no subject) Message-ID: <20050531131020.GA50106@ender.liquidneon.com> In-Reply-To: <BAY21-F14C8EE506B422EAB90338DAE040@phx.gbl> References: <BAY21-F14C8EE506B422EAB90338DAE040@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 31, 2005 at 11:14:26AM +0000, Sunil Sunder Raj wrote:
> Hi,
> I have 3 smtp servers 10.0.0.2, 10.0.0.3, 10.0.0.4 under a cluster with the
> load balancing done by 10.0.0.1. The pf rule on 10.0.0.1 is
>
> ext_if="fxp0"
> internal_smtp_servers="{ 10.0.0.2, 10.0.0.3, 10.0.0.4 }"
> rdr on $ext_if proto tcp from any to any port 25 -> $internal_smtp_servers
> round-robin sticky-address
>
> If 10.0.0.4 port 25 goes down, how do I force pf to remove 10.0.0.4 from
> its table.
Hi,
I would use something line Nagios[1] or a perl script to do this. It is
not in PFs realm to handle this sort of thing.
[1]: http://www.nagios.org/
See the parts about Event handlers.
Regards,
Brad Davis
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050531131020.GA50106>
