ILCSoft on CVMFS

ILCSoft versions are installed on cvmfs, which can be mounted on desktop machines.

CVMFS Client Installation

For running all the commands in one go, run the follwing script. You need sudo privileges on your machine, or run as root.

sudo /afs/cern.ch/eng/clic/software/scripts/installCVMFS.sh

The individual steps are:

Add the cvmfs yum repository

sudo yum install https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-2-5.noarch.rpm

Then install the packages

sudo yum install cvmfs cvmfs-config-default

Config cmvfs

sudo cvmfs_config setup

Configure which cvmfs repository to use. Open the /etc/cvmfs/default.local file And adapt, or fill it with the variables and values as below.

CVMFS_QUOTA_LIMIT='32140'
CVMFS_HTTP_PROXY="http://ca-proxy.cern.ch:3128"
CVMFS_CACHE_BASE='/var/lib/cvmfs'
CVMFS_FORCE_SIGNING='yes'
CVMFS_REPOSITORIES='ilc.desy.de'
CVMFS_SEND_INFO_HEADER=no

And create a desy config file /etc/cvmfs/domain.d/desy.de.conf

CVMFS_SERVER_URL='http://grid-cvmfs-one.desy.de:8000/cvmfs/@fqrn@;http://cvmfs-stratum-one.cern.ch:8000/cvmfs/@fqrn@;http://cvmfs-egi.gridpp.rl.ac.uk:8000/cvmfs/@fqrn@'
CVMFS_KEYS_DIR=/etc/cvmfs/keys 

Copy the desy.de.pub key from the web: sudo wget http://grid.desy.de/etc/cvmfs/keys/desy.de.pub -O /etc/cvmfs/keys/desy.de.pub

See https://twiki.cern.ch/twiki/bin/view/CvmFS/ClientSetupCERN for more information.

Updating CVMFS

If you only added the yum repository, and did not install it via the cvmfs-release rpm there is no GPG/PGP key installed. So, to install the GPG keys for the CVMFS repository install the cvmfs-release rpm

sudo yum install https://ecsft.cern.ch/dist/cvmfs/cvmfs-release/cvmfs-release-2-5.noarch.rpm

Then the usual automatic update procedure should work.

Or to ignore the Key-Check

sudo yum update --disablerepo=* --enablerepo=cernvm --nogpgcheck

to update CVMFS from the repository

Mounting the repository

The repository is automounting, that means ls /cvmfs can show you nothing. You first have to access the repository. So if everything has been proper set up. Do ls /cvmfs/ilc.desy.de which should show something

CVMFS on Macs

You can access clicdp.cern.ch also on a Mac. To enable this you must:

  1. Install FUSE for macOS
  2. Install CVMFS for Mac
  3. Add to / create the file /etc/cvmfs/default.local
    CVMFS_QUOTA_LIMIT='30000'
    CVMFS_HTTP_PROXY='http://ca-proxy-meyrin.cern.ch:3128;http://ca-proxy.cern.ch:3128;http://ca01.cern.ch:3128|http://ca02.cern.ch:3128|http://ca03.cern.ch:3128|http://ca04.cern.ch:3128|http://ca05.cern.ch:3128|http://ca06.cern.ch:3128'
    CVMFS_CACHE_BASE='/var/lib/cvmfs'
    CVMFS_FORCE_SIGNING='yes'
    CVMFS_REPOSITORIES='alice-ocdb.cern.ch,alice.cern.ch,ams.cern.ch,atlas-condb.cern.ch,atlas.cern.ch,cms-ib.cern.ch,cms.cern.ch,geant4.cern.ch,ilc.desy.de,lhcb.cern.ch,na61.cern.ch,sft.cern.ch,clicdp.cern.ch,'
  4. create the directory sudo mkdir -p /cvmfs/clicdp.cern.ch
  5. Mount the directory manually (there is no auto mount on Mac in the same way as on linux version of cvmfs) sudo mount -t cvmfs clicdp.cern.ch /cvmfs/clicdp.cern.ch

-- AndreSailer - 30 Sep 2014

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2016-11-14 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CLIC All webs login

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