Search squid archive

Re: what is best method to connect two squid servers on the same router?

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

 



Heh if you are running Debian and lazy, you could 

'apt-get install squid -y ; apt-get install squid3 -y' 

Youd have squid 2.7 and squid3 both installed.

But I know, thats just being lazy, you can install two squids just
change the name and location of your binaries on one of them, and its
cache directories, as well. Assuming squid is resident on a pc and not a
router that is. It should be pretty straight forward.



On Sat, 2013-05-11 at 23:35 -0700, Ahmad wrote:
> hi , 
> i have two squid machines and want to put them on the same router .
> note that both of them use wccp and tproxy .
> 
> what is the best method to put them on the same router ??
> 
> should each server  has its own service ??
> 
> or
> 
> put the two servers on the same service ??
> 
> i tried that on my router but i got problems when using both of them at the
> same time .
> i found  that my  router works fine just with one of them not with both of
> them at the same time.
> 
> if i used both of them my cpu router reach 100 % !!!!
> 
> ======================================================
> here is my current topology with 1 squid server :
> 
> <http://squid-web-proxy-cache.1019090.n4.nabble.com/file/n4659922/753566087.png> 
> 
> 
> 
> when i use two squid servers :
> <http://squid-web-proxy-cache.1019090.n4.nabble.com/file/n4659922/726179846.png> 
> 
> 
> here is the wccp config for platforms :
> =============
> ########### WCCP2 Config#############
> wccp2_router x.x.x.x
> wccp_version 2
> wccp2_forwarding_method 2
> wccp2_return_method 2
> wccp2_service dynamic 80
> wccp2_service_info 80 protocol=tcp flags=src_ip_hash priority=240 ports=80
> wccp2_service dynamic 90
> wccp2_service_info 90 protocol=tcp flags=dst_ip_hash,ports_source
> priority=240 ports=80
> =========================================
> ########### WCCP2 Config#############
> wccp2_router x.x.x.x
> wccp_version 2
> wccp2_forwarding_method 2
> wccp2_return_method 2
> wccp2_service dynamic 60
> wccp2_service_info 60 protocol=tcp flags=src_ip_hash priority=240 ports=80
> wccp2_service dynamic 70
> wccp2_service_info 70 protocol=tcp flags=dst_ip_hash,ports_source
> priority=240 ports=80
> ================================================
> 
> 
> my queston is , 
> should i change the wccp config of squid ?? 
> or 
> it is cisco router configuration ???
> 
> 
> regards
> 
> 
> 
> --
> View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/what-is-best-method-to-connect-two-squid-servers-on-the-same-router-tp4659922.html
> Sent from the Squid - Users mailing list archive at Nabble.com.
> 






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

  Powered by Linux