Message boards :
Number crunching :
Recommended CVMFS Configuration for native Apps
Message board moderation
Author | Message |
---|---|
![]() Send message Joined: 15 Jun 08 Posts: 2606 Credit: 262,450,252 RAC: 136,913 ![]() ![]() |
As of 2020-03-09 the recommended CVMFS settings to run ATLAS native and Theory native are as follows. Volunteers are asked to check/update their local configuration. /etc/cvmfs/default.local CVMFS_REPOSITORIES="atlas,atlas-condb,grid,cernvm-prod,sft,alice" CVMFS_SEND_INFO_HEADER=yes /etc/cvmfs/domain.d/cern.ch.local CVMFS_SERVER_URL="http://s1cern-cvmfs.openhtc.io/cvmfs/@fqrn@;http://s1ral-cvmfs.openhtc.io/cvmfs/@fqrn@;http://s1bnl-cvmfs.openhtc.io/cvmfs/@fqrn@;http://s1fnal-cvmfs.openhtc.io/cvmfs/@fqrn@;http://s1unl-cvmfs.openhtc.io/cvmfs/@fqrn@;http://s1asgc-cvmfs.openhtc.io:8080/cvmfs/@fqrn@;http://s1ihep-cvmfs.openhtc.io/cvmfs/@fqrn@" /etc/cvmfs/config.d/atlas-nightlies.cern.ch.local CVMFS_SERVER_URL="http://s1cern-cvmfs.openhtc.io/cvmfs/@fqrn@;http://s1bnl-cvmfs.openhtc.io/cvmfs/@fqrn@" The mentioned config files may contain additional settings but those listed above are essential. Experienced volunteers who are familiar with their internet neighborhood may resort the server list based on their home region (Asia, Europe, North America). As a rule of thumb the closest server should be listed first, followed by the 2nd closest and so on. No server should be removed to ensure it can be used for failover. In case of openhtc.io all servers mentioned in the list resolve to the closest Cloudflare proxy but the names include a code to tell Cloudflare where to get updates from: s1cern (Switzerland) s1ral (UK) s1bnl (US, Brookhaven) s1fnal (US, Fermilab) s1unl (US, Nebraska) s1asgc (Taiwan) s1ihep (China) Only if the server lists have been resorted, geolocation may be switched off. Add to: /etc/cvmfs/domain.d/cern.ch.local /etc/cvmfs/config.d/atlas-nightlies.cern.ch.local CVMFS_USE_GEOAPI=no As always: To activate the changes run "sudo cvmfs_config reload". |
Send message Joined: 15 Nov 14 Posts: 602 Credit: 24,371,321 RAC: 0 ![]() ![]() |
As of 2020-03-09 the recommended CVMFS settings to run ATLAS native and Theory native are as follows. Thanks a lot. I have recently been downloading this file: sudo wget https://lhcathome.cern.ch/lhcathome/download/default.local -O /etc/cvmfs/default.local Do you think that gives the same result? |
![]() Send message Joined: 15 Jun 08 Posts: 2606 Credit: 262,450,252 RAC: 136,913 ![]() ![]() |
Do you think that gives the same result? In this case: YES Since CVMFS_DEFAULT_DOMAIN=cern.ch is usually set it will expand all repository names without a dot. Example: atlas --> atlas.cern.ch Not used here but inside a CMS VM: oasis.opensciencegrid.org --> oasis.opensciencegrid.org |
Send message Joined: 9 Dec 14 Posts: 202 Credit: 2,533,875 RAC: 0 ![]() ![]() |
/etc/cvmfs/config.d/atlas-nightlies.cern.ch.local What is this needed for? Sorry if this has been explained before; was absent for some time. |
![]() Send message Joined: 15 Jun 08 Posts: 2606 Credit: 262,450,252 RAC: 136,913 ![]() ![]() |
/etc/cvmfs/config.d/atlas-nightlies.cern.ch.local Unlike other repositories atlas-nightlies.cern.ch is currently only available from CERN and BNL. Hence ATLAS tasks mount atlas-nightlies.cern.ch at startup using settings from /cvmfs/cvmfs-config.cern.ch/etc/cvmfs/config.d/atlas-nightlies.cern.ch.conf. Since this configuration file has a higher ranking than /etc/cvmfs/domain.d/cern.ch.local we have to place the openhtc.io servers in /etc/cvmfs/config.d/atlas-nightlies.cern.ch.local to overrule the automatic configuration. The shorter list here ensures that requests to CVMFS servers not serving atlas-nightlies.cern.ch will be avoided. |
![]() Send message Joined: 15 Jun 08 Posts: 2606 Credit: 262,450,252 RAC: 136,913 ![]() ![]() |
A new version of the HowTo can be found here: https://lhcathome.cern.ch/lhcathome/forum_thread.php?id=5594 New comments and questions should be posted here: https://lhcathome.cern.ch/lhcathome/forum_thread.php?id=5595 |
©2025 CERN