The Virgo CVMFS client is the same software which is packed with the standard CVMFS distribution.
In order to get a functional environment please follow the official CVMFS documentation found at link, up to the (experiment-specific) steps requiring creating and editing of the default.local
file.
The public keys needed for the access to the virgo.ego-gw.it
CVMFS repository can be installed using this .rpm
package contained in this repo at link.
Download the linked file and install it via:
rpm -i <path-to-the-rpm-file>/cvmfs-virgo.ego-gw.it-pub-key.rpm
The installed keys can be found at /etc/cvmfs/keys/virgo.ego-gw.it.pub
.
To uninstall them it is enough to run:
rpm -e cvmfs-virgo.ego-gw.it-pub-key
Once the CVMFS client and the public keys .rpm
have been correctly installed one can proceed with the creation of the file /etc/cvmfs/config.d/virgo.ego-gw.it.local
.
The file must include several lines:
CVMFS_SERVER_URL=http://cvmfs-virgo.cr.cnaf.infn.it/cvmfs/virgo.ego-gw.it
: to define the CNAF stratum-1 endpointCVMFS_PUBLIC_KEY=/etc/cvmfs/keys/virgo.ego-gw.it.pub
: to point to the public keys installed with the.rpm
CVMFS_HTTP_PROXY="http://local.proxy:port"
: to specify the local proxy to be used. Note that for machines external to a CC, hence not backed with a proxy, the option"|DIRECT"
can be appended to connect to the stratum-1 directly.
In order to test the setup and automatically mount the configured repository, please perform the following operations.
# cvmfs_config setup
# cvmfs_config chksetup
OK
# service autofs restart
Redirecting to /bin/systemctl restart autofs.service
# cvmfs_config probe virgo.ego-gw.it
Probing /cvmfs/virgo.ego-gw.it... OK
At that point you should be able to perform an ls
of the repo mountpoint obtaining similar output:
# ls /cvmfs/virgo.ego-gw.it/
software tests