Project

General

Profile

Deploying a release on CVMFS

  • Log in to a cvmfs server
    ssh cvmfssbnd@oasiscfs.fnal.gov
  • Source content for the sbnd cvmfs repository will be visible in /cvmfs/sbnd.opensciencegrid.org
  • Check the last tag of the cvmfs repository
    cvmfs_server tag -l sbnd.opensciencegrid.org
  • Start a transaction
    cvmfs_server transaction sbnd.opensciencegrid.org
  • Update repository content using standard linux commands, simplest method is the rsync command
    rsync -r < user >@sbndgpvm01.fnal.gov:/grid/fermiapp/products/sbnd/sbndcode/< version >* /cvmfs/sbnd.opensciencegrid.org/products/sbnd/sbndcode
    rsync -r < user >@sbndgpvm01.fnal.gov:/grid/fermiapp/products/sbnd/sbndutil/< version >* /cvmfs/sbnd.opensciencegrid.org/products/sbnd/sbndutil/
  • End transaction and publish updated content
    cvmfs_server publish -m "Published sbndcode < version > and sbndutil < version >" -a < new tag > sbnd.opensciencegrid.org
  • log out
  • When you initially log in, you only have read access. Starting and ending the update transaction involves dismounting and remounting the repository read/write or read only. You should not cd to any location in the repository when you start or end a transaction.