11
Pound Load Balancer Naranchuluun. D

Pound Load Balancer

Embed Size (px)

DESCRIPTION

Pound Load Balancer. Naranchuluun . D. What Pound is. a reverse-proxy: it passes requests from client browsers to one or more back-end servers. a load balancer: it will distribute the requests from the client browsers among several back-end servers, while keeping session information. - PowerPoint PPT Presentation

Citation preview

Page 1: Pound Load Balancer

Pound Load BalancerNaranchuluun. D

Page 2: Pound Load Balancer

What Pound is• a reverse-proxy: it passes requests from client browsers to one

or more back-end servers.• a load balancer: it will distribute the requests from the client

browsers among several back-end servers, while keeping session information.

• an SSL wrapper: Pound will decrypt HTTPS requests from client browsers and pass them as plain HTTP to the back-end servers.

• an HTTP/HTTPS sanitizer: Pound will verify requests for correctness and accept only well-formed ones.

• a fail over-server: should a back-end server fail, Pound will take note of the fact and stop passing requests to it until it recovers.

• a request redirector: requests may be distributed among servers according to the requested URL.

Page 3: Pound Load Balancer

What Pound is Not

•Pound is not a Web server: by itself, Pound serves no content - it contacts the back-end server(s) for that purpose.

•Pound is not a Web accelerator: no caching is done - every request is passed "as is" to a back-end server.

Page 4: Pound Load Balancer

Status

Pound was successfully used in production with a variety of Web servers, including Apache, IIS, Zope, WebLogic, Jakarta/Tomcat, iPlanet, etc. In general Pound passes requests and responses back and forth unchanged, so we have no reason to think that any web server would be incompatible.

Page 5: Pound Load Balancer

Client browsers that were testedIE 5.0/5.5 (Windows) HTTP/HTTPSNetscape 4.7 (Windows/Linux)

HTTP/HTTPSMozilla (Windows/Linux) HTTP/HTTPSKonqueror (Linux) HTTP/HTTPSGalleon (Linux) HTTP/HTTPSOpera (Linux/Windows) HTTP/HTTPSLynx (Linux) HTTP

Page 6: Pound Load Balancer

Installation•Probably the easiest way to install Pound is

to use a pre-compiled package if you can find one. While Apsis offers no such packages, they are available for quite a few systems (SuSE Linux, Debian and derivatives such as Ubuntu, as well as some private packages:

• RPMs for RedHat are available at http://www.invoca.ch/pub/packages/pound/• A nice FreeBSD live-CD distribution is available at

http://www.targeted.org/files/fbsd71_pound244.iso.gz, including a Pound binary.

• Packages for CRUX Linux are available from http://ports.sterneck.asia/shin/#pound.

• Example on Ubuntu Server Edition : apt-get install pound

Page 7: Pound Load Balancer

Configration

Page 8: Pound Load Balancer

HttpListenHTTP

Address 0.0.0.0 # all interfacesPort 80HeadRemove "X-Forwarded-For"

ServiceBackEnd

Address 10.0.0.1Port 80Priority 1

EndBackEnd

Address 10.0.0.2Port 80Priority 1

EndEnd

End

Page 9: Pound Load Balancer

HttpsListenHTTPS

Address 0.0.0.0 # all interfacesPort 443AddHeader "X-Forwarded-Proto: https“HeadRemove "X-Forwarded-Proto"HeadRemove "X-Forwarded-For"Cert "/path/to/certificate.pemService

BackEndAddress 10.0.0.1Port 80Priority 1

EndBackEnd

Address 10.0.0.2Port 80Priority 1

EndEnd

End

Page 11: Pound Load Balancer

Thank you for your attention

Question?