How to Install CVMFS and mount BNL/STAR repo
These instructions are provided for you to install the CVMFS client and mount the STAR CVMFS repo – star.sdcc.bnl.gov The STAR software has been installed here and may be used as a replacement for AFS.
1. Get CVMFS yum repository
# wget -O /etc/yum.repos.d/cernvm.repo http://cvmrepo.web.cern.ch/cvmrepo/yum/cernvm.repo
1. Get CVMFS RPM GPG KEY
# wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY-CernVM http://cvmrepo.web.cern.ch/cvmrepo/yum/RPM-GPG-KEY-CernVM
3. Install cvmfs (At this time the version we are installing is cvmfs-2.5.1-1.el7.x86_64)
# yum install cvmfs cvmfs-config-default
4. Run the command below to automate the creation of the cvmfs user and create an entry in autofs
# cvmfs_config setup
Note: At this time with these instructions (config files provided) and/or other undetermined factors, CVMFS pointing to the star.sdcc.bnl.gov repo via autofs is not stable. Further instructions have been provided (i.e hard mount)
5. Add the file /etc/cvmfs/default.local
# wget -O /etc/cvmfs/default.local http://www.star.bnl.gov/~mpoat/cvmfs/default.local
6. Add the file /etc/cvmfs/config.d/star.sdcc.bnl.gov.local
# wget -O /etc/cvmfs/config.d/star.sdcc.bnl.gov.local http://www.star.bnl.gov/~mpoat/cvmfs/star.sdcc.bnl.gov.local
7. Add the file /etc/cvmfs/domain.d/sdcc.bnl.gov.local
# wget -O /etc/cvmfs/domain.d/sdcc.bnl.gov.local http://www.star.bnl.gov/~mpoat/cvmfs/sdcc.bnl.gov.local
8. PUBLIC KEY NAME: star.sdcc.bnl.gov.pub - Create the sub directory for the public key & place the key in this directory
# mkdir /etc/cvmfs/keys/sdcc.bnl.gov
Note: Currently we are not making the ‘public key’ publicly available to all users. The key will be provided by request only. A reminder that as pat of being granted access to the BNL resources, you have agreed to comply with a Computer Use Agreement (especially, please do NOT redistributed those keys and do not provide them as public distribution). Contact: Jerome Lauret (jlauret@bnl.gov) or Michael Poat (mpoat@bnl.gov).
9. You may need to restart autofs after adding the keys in
# systemctl restart autofs.service
10. Check to see if you can access CVMFS
# ls /cvmfs/star.sdcc.bnl.gov
- mpoat's blog
- Login or register to post comments