Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2013 21:06:50 +0100
From:      Mark Blackman <mark@exonetric.com>
To:        Michael Loftis <mloftis@wgops.com>
Cc:        freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: FreeBSD LVS replacement
Message-ID:  <8140738D-907E-4BC5-A77C-B3F67CB54A98@exonetric.com>
In-Reply-To: <CAHDg04u7_iSi1mtHTP%2BpHx_wQ14MH4W9y_ECsjzE0hisi609fQ@mail.gmail.com>
References:  <20130722191356.GA28044@house.gausus.net> <3f47fcd1b956354876c0e01a50b61bba@dweimer.net> <CAHDg04u7_iSi1mtHTP%2BpHx_wQ14MH4W9y_ECsjzE0hisi609fQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 22 Jul 2013, at 20:54, Michael Loftis <mloftis@wgops.com> wrote:

> On Mon, Jul 22, 2013 at 12:47 PM, dweimer <dweimer@dweimer.net> wrote:
>=20
>> Perhaps CARP is what you are looking for
>> <http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/carp.html>;
>=20
> Not even remotely close to the same thing.  LVS is a kernel level load
> balancer/director.  Combined with some userspace to keep the table of
> live real servers up to date it makes a very robust, very high speed
> load balancer for HTTP and non HTTP applications.  IDK of any kernel
> side stuff in FreeBSD, and I don't know that there are any "general
> purpose" replacements like LVS is but for HTTP - varnish, nginx, and
> HAProxy.  HAProxy can also do things other than HTTP.  But these are
> all user space proxies.  Not lower level like LVS where it doe packet
> rewriting/NAT.

The combination of FreeBSD pf and the FreeBSD port of relayd should buy =
you what you're looking for.

I believe the FreeBSD version of pf and relayd are close enough to the =
following tutorial assumptions.

https://calomel.org/relayd.html

You can drop CARP into the mix to get redundancy for the load balancer =
itself, i.e as a pair.

To be honest, it's simpler to just install a pfsense installation for =
the whole package though.

- Mark=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8140738D-907E-4BC5-A77C-B3F67CB54A98>