Search squid archive

Using CARP

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

 



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.


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

  Powered by Linux