1 / 5

The MINOS Data Archiver

The MINOS Data Archiver. MICE Workshop 23-25 July 2007 Matt Thorpe, STFC. EVB. EOR. Event Builder. 1. EVB writes event data to local file system. DATA. /daqdata/somedirectory/xyz.dat.

rachel
Download Presentation

The MINOS Data Archiver

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. The MINOS Data Archiver MICE Workshop 23-25 July 2007 Matt Thorpe, STFC

  2. EVB EOR Event Builder 1. EVB writes event data to local file system DATA /daqdata/somedirectory/xyz.dat 2. When file is complete, a flag file is ‘touch’ed to notify the archiver (with the same filename as the real data file) FLAG /daqdata/flagdirectory/xyz.dat 3. In addition, the EVB forks an ‘End-of-Run’ process that copies the data file to other local machines to enable fast event reconstruction DATA Remotemachine:/daqdata/somedirectory/xyz.dat

  3. Archiver (Python) FLAG DATA DATA Archiver Architecture 4. Archiver sees the flag file, initiates Kerberised FTP transfer of the data file to Fermilab DCACHE DCACHE Kerberised FTP 5. Archiver checks the file size of the local and remote files, and redoes copy if they are not equal. 6. Archiver then moves the flag file into an ‘Archived’ directory, showing that the data file has been successfully archived to the datastore.

  4. Autoclean • Autoclean is a cron-run script that removes old archived files from the local filesystem • Only files that have been flagged as archived are removed • Attempts to maintain a set level of free space on the local disk by removing data files, oldest first • Will also remove any file over 8 days old • Also cleans other DAQ temporary files

  5. Logging • Both the Archiver and the Autoclean scripts are integrated into the MINOS logger • Allows errors to be recorded from both • This logger sends emails to administrators on recurring error conditions so they can intervene

More Related