Search squid archive

RE: Two squid servers to talk to each other before the internet

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx]
Sent: Friday, August 27, 2010 9:33 AM
To: squid-users@xxxxxxxxxxxxxxx
Subject: EXTERNAL:  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



[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux