ConfigProxyCvmfs

From T2B Wiki
Jump to navigation Jump to search

To avoid unnecessary network traffic with cvmfs, we decided to put a proxy between the workernodes and the repositories of CERN. The machine chosen to play this role was qrproxy. First, we had to install Squid on it :

yum install squid

And we have added the following lines at the end of the config file /etc/squid/squid.conf :

# ADDED BY STEF : config for cvmfs proxy
#collapsed_forwarding on
max_filedesc 8192
maximum_object_size 1048576 KB
# 1 GB memory cache
cache_mem 1024 MB
maximum_object_size_in_memory 128 KB
# 20 GB disk cache (we use /cache/squid instead of /var/spool/squid)
cache_dir ufs /cache/squid 20000 16 256


Template:TracNotice