- General information
- Data readiness
- Grid and Cloud
- Infrastructure
- Online Computing
- Software Infrastructure
- Batch system, resource management system
- CVS->Git
- Computing Environment
- Facility Access
- FileCatalog
- HPSS services
- Home directories and other areas backups
- Hypernews
- Installing the STAR software stack
- Provision CVMFS and mount BNL/STAR repo
- RCF Contributions
- Security
- Software and Libraries
- Storage
- Tools
- Tutorials
- Video Conferencing
- Web Access
- Machine Learning
- Offline Software
- Production
- S&C internal group meetings
- Test tree
Provision CVMFS and mount BNL/STAR repo
Updated on Wed, 2019-08-21 01:04 by testadmin. Originally created by mpoat on 2019-08-16 14:32.
Under:
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. For scalability of this new infrastructure reasons, we have a need to trace the CVMFS connections, make recommendation on how to expand larger resources wherever we see problems etc ... Contact: Jerome Lauret (jlauret@bnl.gov) or Michael Poat (mpoat@bnl.gov) for further information.
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
»
- Printer-friendly version
- Login or register to post comments