How to update SITECONF files such as site-local-config.xml and storage.xml (aka the TFC)#
- How to update SITECONF files such as site-local-config.xml and storage.xml (aka the TFC)
- More information about SITECONF
There are two steps. First check in changes to the central
repository. Then update the copy of SITECONF in
/cvmfs/cms.hep.wisc.edu
that is used by the worker nodes. The
worker nodes use the SITECONF that is pointed to by the symlink
/cvmfs/cms.cern.ch/SITECONF/local
. Where that symlink points is
controlled by an environment variable CMS_LOCAL_SITE
in
/etc/cvmfs/config.d/cms.cern.ch.local
.#
Updating the central repository#
See https://twiki.cern.ch/twiki/bin/view/CMSPublic/SiteConfInGitlab for information about how to set up an ssh key authorized to check in changes to our SITECONF repository in GitLab.#
cd /scratch/sitegit
git clone ssh://git@gitlab.cern.ch:7999/SITECONF/T2_US_WISCONSIN.git
Make changes to the files and then commit and push them to the central repository.#
cd T2_US_WISCONSIN.git
# hack hack
git commit -m "Description of changes" -a
git push