Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

phedex_data_access [2016/12/05 14:43] (Version actuelle)
Ligne 1: Ligne 1:
 +Modifié par Kurca, le 24 Jan 2014\\
 +\\
 +
 +====== PhEDEx Data Access ======
 +
 +\\
 +\\
 +
 +====== Chapitre 1 : How to search single file ======
 +
 +mail de Derek Feichtinger:​
 +<​code>​
 +use the phedex data service which exposes a web interface
 +
 +http://​cmsweb.cern.ch/​phedex/​datasvc/​doc
 +DATASRV="​http://​cmsweb.cern.ch/​phedex/​datasvc"​
 +
 +Run it from UI;
 +setenv DATASRV http://​cmsweb.cern.ch/​phedex/​datasvc
 +</​code>​
 +get TFC for a node\\
 +wget --no-check-certificate "​$DATASRV/​perl/​prod/​tfc?​node=T2_FR_CCIN2P3"​ -O-\\
 +\\
 +get a node info for node\\
 +wget --no-check-certificate -O- "​$DATASRV/​perl/​prod/​nodes?​node=T2_FR_CCIN2P3"​\\
 +\\
 +# map LFN to PFN for a node\\
 +wget --no-check-certificate -O- "​$DATASRV/​xml/​prod/​lfn2pfn?​node=T2_FR_CCIN2P3&​protocol=direct&​lfn=/​store/​foo"​\\
 +\\
 +# groups usage\\
 +wget -O- "​$DATASRV/​perl/​prod/​groupusage?​node=T2_FR_CCIN2P3"​\\
 +\\
 +# get data for given physics group\\
 +wget --no-check-certificate -O- "​$DATASRV/​perl/​prod/​blockReplicas?​node=T2_FR_CCIN2P3*&​group=higgs"​ wget --no-check-certificate -O- "​$DATASRV/​perl/​prod/​blockReplicas?​node=T2_FR_CCIN2P3*&​group=local"​\\
 +\\
 +# get block replica information\\
 +wget -O- "​$DATASRV/​xml/​prod/​blockReplicas?​block=/​W5jet_0ptw100-alpgen/​CMSSW_1_5_2-CSA07-2224/​*"​\\
 +\\
 +\\
 +# get file replicas information for "​block=xx"&​ se=ccsrmt2.in2p3.fr\\
 +wget -O- "​$DATASRV/​perl/​prod/​fileReplicas?​block=/​QCD_EMEnriched_Pt30to80/​*&​se=ccsrmt2.in2p3.fr"​\\
 +\\
 +wget -O- "​$DATASRV/​xml/​prod/​fileReplicas?​dataset=/​DoublePhoton/​Run2012D-22Jan2013-v1/​AOD*&​se=ccsrmt2.in2p3.fr"​ --no-check-certificate\\
 +\\
 +# get all custodial files at T1_FR_CCIN2P3*\\
 +wget -O- "​$DATASRV/​perl/​prod/​blockReplicas?​node=T1_FR_CCIN2P3*&​custodial=y"​\\
 +\\
 +# get details of the deletion request for node T2_FR_CCIN2P3\\
 +wget -O- "​$DATASRV/​perl/​prod/​deleterequests?​node=T2_FR_CCIN2P3&​request=104633"​
 +
  
  • phedex_data_access.txt
  • Dernière modification: 2016/12/05 14:43
  • (modification externe)