Re: Load balancing for web servers



On Wednesday 30 August 2006 15:26, Phil Regnauld wrote:
Baldur Gislason (baldur) writes:
I'd like to set up a load balancing and resiliance system to
load balance between a bunch of web servers running Apache tomcat
(slow java stuff). Ideally I'd like each client IP to get mapped to a
certain server and keep that mapping throughout the entire session.
I'd also like to have some means of detecting a server that goes down
and yank it from the load balancing pool. I do understand I may have
to write some code on that side.

pf and sticky rdr.

Use a shell script that pings the hosts on the backend, to
insert/remove them from a persistent table.

Have a look at: http://www.countersiege.com/doc/pfsync-carp/#big for one
idea. All requirements (carp, pf and pfsync) are available in FreeBSD as
well.

--
/"\ Best regards, | mlaier@xxxxxxxxxxx
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier@EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News

Attachment: pgpbbD1oZC6d6.pgp
Description: PGP signature



Relevant Pages

  • Re: dns query
    ... the way it design is a load balance where user come by public ip and it ... load balance among the internal server and for my scenario is abit different ... For multiple DNS servers, I would just actually create multiple DNS servers. ...
    (microsoft.public.windows.server.dns)
  • RE: Second TS
    ... We have a WIN2000 Member Server running TS. ... there is a built-in Network Load Balance check box on each ... Terminal Server Farm ... > RDP client to point to the IP Address of the new TS ...
    (microsoft.public.win2000.termserv.clients)
  • Re: load balancing metrics
    ... There are many metrics for a service group. ... For Application Redirection, ... destination address will be sent to the same server. ... We currently load balance proxy servers on the alteon, ...
    (comp.dcom.sys.nortel)
  • Re: Round Robin
    ... I completely agree with your statement "Round Robin is more of a pseudo ... multiple servers and a TS farm using a Session Directory Server. ... >> When a client sends a query to the DNS server to resolve www.xyz.com>> the DNS server sends back the IP address of all 3 records with>> Webserver1 at the top of the list, ... > Round Robin is more of a pseudo load balance mechanism and not to be ...
    (microsoft.public.win2000.dns)
  • Re: SMS server load
    ... understand that as a availabilty feature rather than a performance feature. ... If you are looking to take some load of your SMS server I would start by ... > I am thinking of load balance the MP. ...
    (microsoft.public.sms.admin)