[squid-users] Peering squid multiple instances.

From: GIGO . <gigoz_at_msn.com>
Date: Wed, 24 Mar 2010 04:32:41 +0000

I have successfully setup running of multiple instances of squid for the sake of surviving a Cache directory failure. However I still have few confusions regarding peering multiple instances of squid. Please guide me in this respect.
 
 
In my setup i percept that my second instance is doing caching on behalf of requests send to Instance 1? Am i correct.
 
 
 
what protocol to select for peers in this scenario? what is the recommendation? (carp, digest, or icp/htcp)
 
 
 
If syntax of my cache_peer directive is correct or local loop back address should not be used this way?
 
 
 
what is the recommended protocol for peering squids with each other?
 
 
 
what is the recommended protocl for peering squid with ISA Server.
 
 
 
Instance 1:

visible_hostname vSquidlhr
unique_hostname vSquidMain
pid_filename /var/run/squid3main.pid
http_port 8080
icp_port 0
snmp_port 3161
access_log /var/logs/access.log
cache_log /var/logs/cache.log

cache_peer 127.0.0.1 parent 3128 0 default no-digest no-query proxy-only no-delay
prefer_direct off
cache_dir aufs /var/spool/squid3 100 256 16
coredump_dir /var/spool/squid3
cache deny all
 
 
 
Instance 2:
 
visible_hostname SquidProxylhr
unique_hostname squidcacheprocess
pid_filename /var/run/squid3cache.pid
http_port 3128
icp_port 0
snmp_port 7172
access_log /var/logs/access2.log
cache_log /var/logs/cache2.log
 

coredump_dir /cache01/var/spool/squid3
cache_dir aufs /cache01/var/spool/squid3 50000 48 768
cache_swap_low 75
cache_mem 1000 MB
range_offset_limit -1
maximum_object_size 4096 MB
minimum_object_size 12 bytes
quick_abort_min -1
 
 
 
regards,

                                                
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969
Received on Wed Mar 24 2010 - 04:32:48 MDT

This archive was generated by hypermail 2.2.0 : Wed Mar 24 2010 - 12:00:06 MDT