[squid-users] Using CARP

From: Igor Rafael <igorlogos_at_gmail.com>
Date: Thu, 6 Oct 2011 19:54:10 -0300

I am wanting to use the CARP instead of ICP.

My scenario is this:

# RAM
cache_mem 1024 MB
maximum_object_size_in_memory 64 KB

#cache_replacement_policy heap LRU

# HD
cache_dir aufs /var/spool/squid 1024 16 256
#maximum_object_size 128 MB
maximum_object_size 16 MB
minimum_object_size 0 KB

# Cache Threshold limits
cache_swap_low 90
cache_swap_high 100

log_icp_queries on
digest_generation off # Disables cache digest

icp_port 3130 # 0 disables ICP
acl cloud src 192.168.15.0/24
icp_access allow cloud

cache_peer 192.168.15.200 parent 3128 0 no-query round-robin
cache_peer 192.168.15.253 parent 3128 3130 no-digest proxy-only
cache_peer 192.168.15.252 parent 3128 3130 no-digest proxy-only
cache_peer 192.168.15.251 parent 3128 3130 no-digest proxy-only
#prefer_direct off
### END Scenario 3 ###
# Cache Uploads
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320

# Basic configuration
http_port 3128 transparent
visible_hostname mc2-frontend

acl all src 0.0.0.0/0.0.0.0
icp_access deny all
http_access allow all

------------------------------------------------------------------------------------
What must change?

What port should I use?

To balance the filling of the cache I use the tag carp-load-factor?

Thanks!

Igor.
Received on Thu Oct 06 2011 - 22:54:17 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 07 2011 - 12:00:03 MDT