site-local-config.xml
storage.xml
site-local-config.xml
file; it should be in the SITECONF/local/JobConfig
directory. In this XML file, you should find an <event-data>
tag with one
entry:
<event-data> <catalog url="trivialcatalog_file://opt/osg/app/cmssoft/cms/SITECONF/local/PhEDEx/storage.xml?protocol=direct"/> </event-data>This tells CMSSW the location of your
storage.xml
and the protocol ("direct", in this case) to use. Add a new
using the xrootd protocol:
<event-data> <catalog url="trivialcatalog_file://opt/osg/app/cmssoft/cms/SITECONF/local/PhEDEx/storage.xml?protocol=direct"/> <catalog url="trivialcatalog_file://opt/osg/app/cmssoft/cms/SITECONF/local/PhEDEx/storage.xml?protocol=xrootd"/> </event-data>The protocol strings are arbitrary; if "xrootd" is already used at your site, "xrootd2" would do fine.
PhEDEx/storage.xml
:
<!-- Xrootd fallback rules --> <lfn-to-pfn protocol="xrootd" destination-match=".*" path-match="/+store/(.*)" result="root://cmsxrootd.fnal.gov//store/$1"/>If you used a different protocol name than "xrootd" above, change it here too. For EU sites, use the following lines:
<!-- Xrootd fallback rules --> <lfn-to-pfn protocol="xrootd" destination-match=".*" path-match="/+store/(.*)" result="root://xrootd-cms.infn.it//store/$1"/>We use different endpoints for the different regions because the endpoints will prefer serving data from that region. This minimizes the transatlantic transfers.
<lfn-to-pfn protocol="xrootd" destination-match=".*" path-match="/+store/(.*)" result="root://xrootd-cms.infn.it:1194//store/$1"/>France
<lfn-to-pfn protocol="xrootd" destination-match=".*" path-match="/+store/(.*)" result="root://xrootd-cms.infn.it:1294//store/$1"/>