User Tools

Site Tools


tier3_admin:tier3cvmfs

This is an old revision of the document!


Installation of CVMFS

  • The official ATLAS documentation for installation of CVMFS client can be found at this reference.
  • The official CVMFS documentation can be found at this reference.

Read: https://twiki.cern.ch/twiki/bin/view/Atlas/Tier3CVMFS2SLC5

ANL-specific details

  • The cache area is located in /home/cache/cvmfs2. The path variable in the ATLAS documentation is home
    • /home/cache/cvmfs2 should be owned by the cvmfs account
  • Only 25 GB of space is needed
  • The cvmfs account will be created in the /etc/passwd file.
    cvmfs:x:383:384:CernVM-FS service account:/var/cache/cvmfs2:/sbin/nologin

Local Configuration details

In this section the specific configuration details for ANL will be listed.

  1. Edit (create if it does not exist) the file /etc/cvmfs/default.local, in particular, change
    CVMFS_REPOSITORIES=atlas.cern.ch,atlas-condb.cern.ch,atlas-nightlies.cern.ch
    CVMFS_CACHE_BASE=/home/cache/cvmfs2
    CVMFS_QUOTA_LIMIT=13000
    CVMFS_HTTP_PROXY="http://squid.hep.anl.gov:3128;DIRECT"
  2. Create a file /etc/cvmfs/domain.d/cern.ch.local and add the following entry:
    #  Change the order so that the nearest server is the first in the list ...
    #  Note that port 8000 is preferred for the servers below but,  if it does not work, use port 80 instead.
    # if you are in North America (uncomment)
    CVMFS_SERVER_URL="http://cvmfs.racf.bnl.gov:8000/opt/@org@;http://cvmfs-stratum-one.cern.ch:8000/opt/@org@;http://cernvmfs.gridpp.rl.ac.uk:8000/opt/@org@"
  3. Add cvmfs to chkconfig
    /sbin/chkconfig --levels 345 cvmfs on
  4. Restart cvmfs
    /sbin/service cvmfs restart
  5. Check if cvmfs works, by inspecting the contents of the following directories:
    > ls /cvmfs/atlas.cern.ch/
    repo
    > ls /cvmfs/atlas.cern.ch/repo
    ATLASLocalRootBase  conditions  sw
    > ls /cvmfs/atlas-condb.cern.ch/repo
    conditions  tag

Start and stop cvmfs

  • Start
    /sbin/service cvmfs start
  • Stop
    /sbin/service cvmfs stop

How to install on SL6.4

For SL6, do this:

 yum install compat-expat1 openssl098e libuuid-devel
 rpm -Uvh http://cvmrepo.web.cern.ch/cvmrepo/yum/cvmfs/EL/6/x86_64/cvmfs-release-2-4.el6.noarch.rpm
 yum install cvmfs cvmfs-init-scripts cvmfs-auto-setup  cvmfs-keys.noarch cvmfs.x86_64 

Doug suggestions (no need!):

yum install libuuid-devel
ln -s  /lib64/libuuid.so.1 /lib64/libuuid.so
wget http://linuxsoft.cern.ch/cern/slc6X/extras/x86_64/RPMS/HEP_OSlibs_SL6-1.0.7-0.el6.x86_64.rpm
yum install HEP_OSlibs_SL6-1.0.7-0.el6.x86_64.rpm 

Then put ANL specific files (take from atlas17)

scp [email protected]:/etc/cvmfs/domain.d/cern.ch.local /etc/cvmfs/domain.d/
scp [email protected]:/etc/cvmfs/default.local /etc/cvmfs/

and restart it

tier3_admin/tier3cvmfs.1384987136.txt.gz · Last modified: 2013/11/20 22:38 by asc