[squid-users] RE: Two squid servers to talk to each other before the internet

From: Bucci, David G <david.g.bucci_at_lmco.com>
Date: Fri, 27 Aug 2010 12:00:13 -0400

Absolutely ... you can examine the Wiki Features/CacheHierarchy information for the basics, http://wiki.squid-cache.org/Features/CacheHierarchy

For a very basic setup, you'll want in each squid instance's squid.conf:

     cache_peer other-server-name sibling 3128 3130

For more details, check out your Squid version's documentation on cache_peer, cacahe_peer_access, etc. -- http://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#Do_you_have_a_squid.conf_example.3F has links to configuration guides for your version.


-----Original Message-----
From: Tóth Tibor Péter [mailto:tibor.peter.toth_at_mtv.hu]
Sent: Friday, August 27, 2010 9:33 AM
To: squid-users_at_squid-cache.org
Subject: EXTERNAL: [squid-users] Two squid servers to talk to each other before the internet

I was wondering, if is there any way to get two squid servers to talk to each other before going out and cacheing data from the internet?

Here is what I would need to do:

             ┌────────┐
             │ INTERNET │
             └────────┘
                     │
    ┌───────────────────┐
    │ │
    │ │
┌────┐ ┌────┐
│SQUID01│<---- I NEED THIS ---->│SQUID02│
└────┘ └────┘
    │ │
    │ │
┌────┐ ┌────┐
│CLIENT1│ │CLIENT2│
└────┘ └────┘

I want SQUID01 and SQUID02 to "ask" each other if the other have the data, before going out to the web. I guess you call this exchanging data between squids? In case if one server go down, the other need to go directly to the internet, and not just standing and waiting for answer from a disabled machine.

Can this be done int he squid.conf file?

Thanks,
Tibby
Received on Fri Aug 27 2010 - 16:00:38 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 30 2010 - 12:00:03 MDT