Message boards :
Theory Application :
Does "openhtc.io" work with Native Theory?
Message board moderation
Author | Message |
---|---|
Send message Joined: 15 Nov 14 Posts: 602 Credit: 24,371,321 RAC: 0 |
Does openhtc.io work with Native Theory? Is the setup the same as for native ATLAS? |
Send message Joined: 15 Jun 08 Posts: 2411 Credit: 226,360,351 RAC: 132,084 |
Does openhtc.io work with Native Theory? If you are already running ATLAS native you may have configured openhtc.io in the file /etc/cvmfs/domain.d/cern.ch.local like this: 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@' Then just add the repositories needed for Theory native to /etc/cvmfs/default.local CVMFS_REPOSITORIES="atlas.cern.ch,atlas-condb.cern.ch,grid.cern.ch,cernvm-prod.cern.ch,sft.cern.ch,alice.cern.ch" Save the changes and run "cvmfs_config reload; cvmfs_config probe". If you don't have openhtc.io configured it is recommended to do this only in /etc/cvmfs/domain.d/cern.ch.local as mentioned above. Create that file if necessary. If you run "cvmfs_config stat" it will show you which server is currently in use. |
Send message Joined: 15 Nov 14 Posts: 602 Credit: 24,371,321 RAC: 0 |
If you don't have openhtc.io configured it is recommended to do this only in /etc/cvmfs/domain.d/cern.ch.local as mentioned above. Thanks. That is just what I need to know. This is a second machine, and I will be running Native Theory only on it, so I had not configured it yet. |
Send message Joined: 15 Jun 08 Posts: 2411 Credit: 226,360,351 RAC: 132,084 |
... and I will be running Native Theory only on it ... If you only run Theory on this host you may remove ATLAS from the repository list in /etc/cvmfs/default.local. The Theory only list looks like this: CVMFS_REPOSITORIES="sft.cern.ch,grid.cern.ch,cernvm-prod.cern.ch,alice.cern.ch" |
Send message Joined: 15 Nov 14 Posts: 602 Credit: 24,371,321 RAC: 0 |
The Theory only list looks like this: Do I need the quotes? I did not use them on native ATLAS, and it seems to be working fine. |
Send message Joined: 15 Jun 08 Posts: 2411 Credit: 226,360,351 RAC: 132,084 |
Do I need the quotes? The CVMFS docs at https://cvmfs.readthedocs.io/en/stable/cpt-configure.html state: "Special characters have to be quoted. For instance, instead of CVMFS_HTTP_PROXY=p1;p2, write CVMFS_HTTP_PROXY='p1;p2' in order to avoid parsing errors." In this special case the string doesn't contain "special characters". Hence it works without quotes, but I prefer to use them as they don't hurt. Next question may be: single vs. double quotes? It depends if the string contains variable substitution. Again from the docs: "The .conf and .local configuration files are key-value pairs in the form PARAMETER=value. They are sourced by /bin/sh. Hence, a limited set of shell commands can be used inside these files ...". Example: vari1="blabla" # also possible: vari1=blabla or vari1='blabla' complete_string="something extra ${vari1}" Resolves to: something extra blabla vari1="blabla" # also possible: vari1=blabla or vari1='blabla' complete_string='something extra ${vari1}' Resolves to: something extra ${vari1} |
©2024 CERN