PhEDEx and CMS Data Transfers
Paul Rossman Fermilab
PhEDEx and CMS Data Transfers Paul Rossman Fermilab Global CMS - - PowerPoint PPT Presentation
PhEDEx and CMS Data Transfers Paul Rossman Fermilab Global CMS Data Network Paul Rossman Fermilab PhEDEx and CMS Data Transfers 2 Dec 8, 2010 Global CMS Data Network Paul Rossman Fermilab PhEDEx and CMS Data Transfers 3 Dec 8, 2010
Paul Rossman Fermilab
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
2
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
3
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
4
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
➨ PhEDEx is short for Physics Experiment Data Export ➨ PhEDEx was developed to manage the movement of data within CMS
global CMS data transfer state ➨ PhEDEx automates for CMS many of low level tasks typically found in HEP experiments such as
➨ In production since mid-2004
5
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
➨ PhEDEx is composed of a series of autonomous, robust, persistent, stateless processes or in PhEDEx terms agents ➨ These agents share information about replica and transfer state through a database and other agents at CERN ➨ There are several agents, for example
➨ Not all sites require all agents
FileStager agent
6
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
➨ Agents when combined form an instance ➨ There are currently 3 instances in use today
➨ Instances are independent and do not share information between each
7
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
➨ Production instance (Prod)
➨ Debug instance (Debug)
transfer problems in this instance are not resolved
transfer agents and links ➨ Development instance (Dev)
software releases
8
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
9
Dev Debug Dev Debug Dev Debug Production TMDB FileRouter BlockAllocator FilePump +
Production FileDownload(s) FileExport FileRemove FileStager Production FileDownload(s) FileExport FileRemove
Tier-2/3 Tier-1
CERN
agents instances
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
10
DATA
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
11
determine where data exists submit transfer request submit Savannah request link exists? approved? monitor transfer problem? begin analysis
no no
debug using PhEDEx tools fixed?
yes no yes
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
➨ https://cmsweb.cern.ch/phedex/prod/Request::Create ➨ Transfer and delete requests follow similar procedures
12
submit transfer request
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
13
submit transfer request
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
➨ https://cmsweb.cern.ch/phedex/prod/Request::View ➨ You’ll find additional notes from approvers here
14
monitor transfer
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
➨ Web-based
15
monitor transfer
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
➨ https://cmsweb.cern.ch/phedex/prod/Data::Subscriptions
16
monitor transfer
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
➨ You can also find info on the replicas page ➨ https://cmsweb.cern.ch/phedex/prod/Data::Replicas
17
monitor transfer
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
18
monitor transfer
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
19
monitor transfer
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
20
monitor transfer
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
➨ https://cmsweb.cern.ch/phedex/prod/Activity::ErrorInfo
21
debug using PhEDEx tools
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
➨ Data Service
perl formats
22
monitor transfer
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
➨ Shell Example
curl http://cmsweb.cern.ch/phedex/datasvc/xml/prod/transferqueuefiles ?from=T1_US_FNAL_Buffer&to=T1_US_FNAL_MSS&priority=high&state=transferring
➨ Perl Example
#!/usr/bin/perl -w use XML::Simple; use LWP::Simple; use Data::Dumper; $xml = new XML::Simple; $data = $xml->XMLin( get("http://cmsweb.cern.ch/phedex/datasvc/xml/prod/transferqueuefiles to=T1_US_FNAL_Buffer&priority=normal&state=transferring"), forcearray => ["block"] ); print Dumper($data);
23
format instance api call
monitor transfer
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
➨ PhEDEx documentation and other documents can be found at
➨ Questions regarding PhEDEx can be posted to one of these HyperNews forums
➨ Other transfer or site related questions can be posted to these
➨ Transfer problems should be posted to Savannah
➨ Bug reports and feature requests should be posted to Savannah
➨ Please make sure you have both a HyperNews and Savannah account before posting (please don’t post anonymously to Savannah)
24
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
➨ Very good how-to links
➨ Example configurations
T3_US_UMD/PhEDEx/ ➨ https://cmsweb.cern.ch/phedex/datasvc/doc ➨ https://cmsweb.cern.ch/overview/session ➨ There are many others, apologies for the omission!
25
Paul Rossman Fermilab PhEDEx and CMS Data Transfers Dec 8, 2010
26