Search squid archive

Re: 4 squid with multiple cache_dir and cache_peer

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

 



Shekhar Gupta disse na ultima mensagem:
> All,
>
> I have a following senario in my office , where i have decided to
> install 4 squid servers with the follwing hardware config
>
> Model HP DL380 G5 , with 2 GB RAM , 256 Raid Card and 300 GB with Raid 0 .
>
> Now i have 4 servers of the similar config , and i want to have the
> all the server query to each other for cache before they go out and
> bring the content . all of the 4 servers are in the same  DMZ segment
> . Also at the same time if you look at the partition i have made a
> partition with /squid of 110 GB and would like to host multiple
> cache_dir so that i can utilize the space of the server . So if anyone
> of you who can tell me with some config example to resolve these 2
> issues will be of gr8 help .
>

you probably don't want to make "multiple" cache-dirs out of 100 gigs

then do this on the first

cache_peer srv2 sibling tcp_port icp_port proxy-only
cache_peer srv3 sibling tcp_port icp_port proxy-only
cache_peer srv4 sibling tcp_port icp_port proxy-only

and this on the second
cache_peer srv1 sibling tcp_port icp_port proxy-only
cache_peer srv3 sibling tcp_port icp_port proxy-only
cache_peer srv4 sibling tcp_port icp_port proxy-only

and guess what on the others

you can try and test to add round-robin at the end of each line

but why do you need so much servers? are there zillions of users?

Michel

...




****************************************************
Datacenter Matik http://datacenter.matik.com.br
E-Mail e Data Hosting Service para Profissionais.
****************************************************


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

  Powered by Linux