ROOT protocol

From Etp
Jump to: navigation, search

Root Protocol

You can access your datasets on LRZ LocalGroupdisk via the root protocol. It is encouraged to use it as replacement for dcap (end 2015).

Usage

You can get the paths with a standard rucio setup (slc6):

rucio list-file-replicas --protocols root --rse LRZ-LMU_LOCALGROUPDISK <dataset identifier> 

where you need to replace the base path:

root://xrootd-lrz-lmu.grid.lrz.de:1094/ -> root://lcg-lrz-rootd.grid.lrz.de

Note: The paths that the above command gives you tend to change regularly. So you should check if the format changes (example: check the number of slashes)


One example to extract the paths would be:

rucio list-file-replicas --protocols root --rse LRZ-LMU_LOCALGROUPDISK <dataset identifier> | grep "LRZ-LMU_LOCALGROUPDISK:" | \ 
grep -Eo "root://.*" |  sed 's%root://xrootd-lrz-lmu.grid.lrz.de:1094/\+%root://lcg-lrz-rootd.grid.lrz.de/%;s%\s|%%'