RE: [squid-users] load balancing two squid boxes howto?

From: Edgard Haddad <edgard.haddad@dont-contact.us>
Date: Mon, 3 Jun 2002 09:56:12 +0300

Hi Gino,

Nice idea too! Can you please post an example of your configuration plz

Thanks

-----Original Message-----
From: Gino LV. Ledesma [mailto:gino@cersa.admu.edu.ph]
Sent: Monday, June 03, 2002 9:50 AM
To: Edgard Haddad
Subject: Re: [squid-users] load balancing two squid boxes howto?

On Mon, Jun 03, 2002 at 09:41:49AM +0300, Edgard Haddad wrote:
> You have many solutions! It depends on your budget of course...
> 1- The cheapest and best (I highly recommend this way)
> Prepare a third machine with Squid
> Configure Squid to load balance requests to two parents
> --------------------------------------------------------------------
> cache_peer 10.10.10.10 parent 8080 7 proxy-only no-query round-robin
> cache_peer 10.10.10.11 parent 8080 7 proxy-only no-query round-robin
> --------------------------------------------------------------------
> Disable any object caching
> Configure the peers as neighbors so the same objects will not be
cached
> on two servers.
> This way has many advantages since it will load balance requests and
> offer automatic fail-over.

I use a similar configuration, although instead of round-robin, I do
CARP on 3 different proxies. So basically, the low-end "front" proxy
just CARPs it on the proxies configured as siblings. I'm wasting 1
machine, but it works great overall.

Gino LV. Ledesma
Campus Network Group
Ateneo de Manila University
Quezon City, Philippines

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.362 / Virus Database: 199 - Release Date: 5/7/2002
 
Received on Mon Jun 03 2002 - 00:55:36 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:08:24 MST