This is how to configure a CernVM image to run as a squid server. Refer also to ConfigureCernVM.

CernVM v2.6 Batch Node Configuration

Xen Image Configuration

Do the following:

Squid Configuration

In /etc/squid/squid.conf set:


http_access allow (?)

cache_mem (?) MB

maximum_object_size_in_memory 128 KB

cache_dir ufs /var/spool/squid (?) 16 256  # Or somewhere else?
maximum_object_size 1048576 KB

####     logformat awstats %>a %ui %un [%{%d/%b/%Y:%H:%M:%S +0000}tl] "%rm %ru HTTP/%rv" %Hs %<st %Ss:%Sh %tr "%{X-Frontier-Id}>h"

cache_log /var/log/squid/cache.log

#### cache_store_log none

strip_query_terms off

negative_ttl 1 minute

collapsed_forwarding on
refresh_stale_hit 5 seconds

cache_mgr  (someone@somewhere.com)

umask 022

### could configure snmp_access

-- RyanTaylor - 2013-01-23

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | More topic actions...
Topic revision: r2 - 2013-01-24 - rptaylor
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback