Understanding Load Balancing with DNS+PF+CARP
Ask Bjørn Hansen
ask at develooper.com
Thu Aug 7 08:41:45 UTC 2008
On Aug 5, 2008, at 6:48, Rodrique Heron wrote:
> I'm a running a Apache reverse proxy on PF+CARP, one node as master
> the
> other backup. I want a active/active setup, but since I don't have a
> hardware load balancer I'm banking on DNS. I would like to
> understand what
> happens when a host connects to the cluster for the first time after
> the
> first DNS query.
>
> So a user request www.website.com, DNS round-robin points the user
> to node1,
> what happens when a the user makes another request ?
"It depends". The client is in control of that. Clients are different.
The setup I usually recommend is to have CARP (or similar) move one IP
around and then ahve nginx or perlbal running to load balance to the
actual servers.
- ask
--
http://develooper.com/ - http://askask.com/
More information about the freebsd-pf
mailing list