Set up CVMFS proxy
If you want more speed in a region, one way could be to set up another Stratum 1 server or a proxy. We currently don’t run any proxy servers but it would be important for using it on a cluster.
Setup a CVMFS proxy server
Section titled “Setup a CVMFS proxy server”sudo yum install -y squidOpen squid.conf and use the following configuration:
sudo vi /etc/squid/squid.conf# List of local IP addresses (separate IPs and/or CIDR notation) allowed to access your local proxy#acl local_nodes src YOUR_CLIENT_IPS
# Destination domains that are allowedacl stratum_ones dstdomain .neurodesk.org .openhtc.io .cern.ch .gridpp.rl.ac.uk .opensciencegrid.org
# Squid porthttp_port 3128
# Deny access to anything which is not part of our stratum_ones ACL.http_access allow stratum_ones
# Only allow access from our local machines#http_access allow local_nodeshttp_access allow localhost
# Finally, deny all other access to this proxyhttp_access deny all
minimum_expiry_time 0maximum_object_size 1024 MB
cache_mem 128 MBmaximum_object_size_in_memory 128 KB# 5 GB disk cachecache_dir ufs /var/spool/squid 5000 16 256sudo squid -k parsesudo systemctl start squidsudo systemctl enable squidsudo systemctl status squidsudo systemctl restart squidThen add the proxy to the CVMFS config:
CVMFS_HTTP_PROXY="http://proxy-address:3128"