Starting the CDR service - PADME-Experiment/padme-cdr GitHub Wiki
- The CDR Data Servers
- The CDR Central Server
- CDR Setup
- Starting the CDR service
- Stopping the CDR service
- GRID Proxies
- CDR Tools
- The KLOE Tape Library
The current data distribution schema requires 3 instances of PadmeCDR to run simultaneously:
-
Copy of new files from the l1padme3 DAQ data server to the CNAF tape library
-
Copy of new files from the l1padme4 DAQ data server to the CNAF tape library
-
Copy of new files from the CNAF tape library to the KLOE tape library
To start the three instances you must run the following commands:
cd $HOME/cdr
./PadmeCDR -S DAQ -D CNAF -s l1padme3
./PadmeCDR -S DAQ -D CNAF -s l1padme4
./PadmeCDR -S CNAF -D KLOE
The complete syntax of PadmeCDR is
PadmeCDR [-S src_site -D dst_site] [-L site] [-s data_srv] [-Y year] [-a after] [-b before] [-i] [-h]
-S src_site Source site ['DAQ', 'LNF', 'CNAF']
-D dst_site Destination site ['LNF', 'CNAF', 'KLOE']
-L site Get list of files at given site ['ALL', 'DAQ', 'LNF', 'CNAF', 'KLOE']
ALL will compare content of all sites (SLOW!)
-s data_srv Data server from which data are copied ['l1padme3', 'l1padme4']
N.B. -s is only used when -S/-L is DAQ
-Y year Specify year of data taking to copy. Default: current year
-a after_date Only transfer runs collected after specified date (included). Format: yyyymmdd. Default: no limit
-b before_date Only transfer runs collected before specified date (included). Format: yyyymmdd. Default: no limit
-i Run the PadmeCDR server in interactive mode
-h Show this help message and exit
Each instance of PadmeCDR will append a full log of its activities to the log/PadmeCDRServer_<SRC>_<DST>.log
file. The log files of the four instances are therefore:
log/PadmeCDRServer_DAQ_l1padme3_CNAF.log
log/PadmeCDRServer_DAQ_l1padme4_CNAF.log
log/PadmeCDRServer_CNAF_KLOE.log
Note that these log files are updated even when the -i
option is selected.
The CDR Manager should also start the CDRMonitor service which will update the CDR page on the DCS monitor system running on l0padme3. CDRMonitor can be started from the CDR directory with the command ./CDRMonitor
and will write some log information to log/CDRMonitor.log
. Information will then be visible from the DCS monitor system on l0padme3:9090
at page DCS - CDR - CDR_Summary - Summary
.