Access to data at NIKHEF tier
Jump to navigation
Jump to search
There are maybe multiple ways to access data on the LCG. Though the two methods explained here are via LFC (LCG File Catalog) and SRM (Storage Resource Management). I'm just documenting what I didn't know. So please, correct things if they are wrong!
- LFC is a file catalog at a Grid site that stores the information on which site a file can be found. This means, for example, that a file registered in the NIKHEF LFC, might be stored for at a CERN SE (Storage Element).
- SRM is a procotol that enables file access only at a specific SE.
NOTE: For all this a Grid certificate [1] is required.
LFC
Everytime you start a new session, you need to setup the environment for Grid access:
source /global/ices/lcg/current/etc/profile.d/grid_env.csh
DPM/DPNS/SRM
Disk Pool Manager
setenv DPM_HOST tbn18.nikhef.nl setenv DPNS_HOST tbn18.nikhef.nl
dpns-ls -l /dpm/nikhef.nl/home/atlas/MYFILE
srmcp srm://tbn18.nikhef.nl:8443/dpm/nikhef.nl/home/atlas/MYFILE file:////tmp/MYFILE