alpenhorn managing data products for the canadian
play

Alpenhorn: Managing Data Products for the Canadian Hydrogen - PowerPoint PPT Presentation

Alpenhorn: Managing Data Products for the Canadian Hydrogen Intensity Mapping Experiment Davor Cubranic University of British Columbia CHIME: Canadian Hydrogen Intensity Mapping Experiment Novel Canadian radio telescope Designed as a


  1. Alpenhorn: Managing Data Products for the Canadian Hydrogen Intensity Mapping Experiment Davor Cubranic University of British Columbia

  2. CHIME: Canadian Hydrogen Intensity Mapping Experiment Novel Canadian radio telescope Designed as a cosmology experiment: map redshifted hydrogen gas as a measure of dark energy Large field of view, bandwidth, and processing power enable additional experiments: • Pulsar timing survey • Fast radio burst search

  3. Participating Institutions • NRC — Dominion Radio Astrophysical Observatory, Kaleden, BC • University of British Columbia • Perimeter Institute, Waterloo • University of Toronto • Canadian Institute for Theoretical Astrophysics, Toronto • McGill University • National Radio Astronomy Observatory, Charlottesville, Va. • West Virginia University, Morgantown, WV

  4. CHIME @ DRAO

  5. chime

  6. Pipeline 4x256 dual-polarization antennas Analog signal: amplification & filtering F-E NGINE F-E NGINE FPGA: digitization & FFT GPU: cross-antenna signal X-E NGINE X-E NGINE correlation Project-specific downstream C OSMOLOGY processing P ULSAR FRB

  7. Data Rates F-E NGINE F-E NGINE FPGA: 6.5 Tb/s output GPU: 256 x 25.6 Gb/s input X-E NGINE X-E NGINE Cosmology: 2-3 TB/day ≈ 0.2 Gb/s C OSMOLOGY Pulsar: 256x0.25 Gb/s → ~0.6 Gb/s P ULSAR FRB: 256x0.55 Gb/s → ~0.2 Gb/s FRB

  8. 1Gb/s >>> 100 Mb/s

  9. Processing Sites Westgrid Burnaby Dominion UBC-V Radio Astrophysical Observatory SciNet Toronto CANADA CANADA

  10. Managing Data Products Wide range of data files produced daily Move data o ff the location and to the researchers’ analysis site(s) safely and reliably • Replication • Data integrity checks Make things findable: • Where are copies of this file located • What files have data for X Keep it simple??

  11. Alpenhorn • Set of tools for data management and replication • Developed incrementally by CHIME since ~2013 • Used for the past five years on the CHIME Pathfinder • Recently extended and generalized to accommodate CHIME FRB and Pulsar projects’ data needs

  12. System Architecture Location A - File Server Copy files Alpenhorn service Monitor 
 changes Check for 
 copy 
 requests Update Cron User Request 
 copying Shared State DB Cron User Cron User Alpenhorn Alpenhorn service service Location B Location C

  13. Data Model Storage: • Storage node: directory on a host • Storage group: group of nodes ≈ location Data products: • Acquisition: uninterrupted collection of data from a single instrument • Archive file: acquisition component containing data Data replicas: • Archive file copy: physical instance of an archive file at a specific location • Copy request: action of copying an archive file copy to another location

  14. Service Watches every storage node available on the system for new files matching a registered name pattern • If new/moved, add archive file copy +[archive file, acquisition] to the database • If deleted, mark in the database as absent • If a lock file is deleted, process the locked file as if new Periodically: • Execute archive file copy requests • Check integrity of suspect files • Delete unwanted files ( i ff also not-needed)

  15. Transfer Jobs Moving data between two sites is done with regularly- scheduled “sync” jobs Request a copy from one storage node all files not available on the destination storage group • The request is executed by the Alpenhorn service that has both source and destination locally reachable • Copy method is configurable (rsync, bbcp, Globus) In “target” mode, sync copies to a local destination, but deciding what to copy (the “target”) is based on a group that doesn’t have to be local

  16. Demo

  17. Transport Disks How does Alpenhorn help CHIME manage data o ffl oad? Hot-swap 4-disk enclosures at DRAO and UBC • Enclosure ≈ transport storage group • Individual drives ≈ storage node Cron job at DRAO syncs files to the transport group that are on the local source and not in the remote target group

  18. The Human Interface The actual workflow for a transport disk: DB Alpenhorn DRAO • Site operator at DRAO inserts an Insert disk empty hard disk into the enclosure and “ alpenhorn mount s” it as part of a storage group • Alpenhorn service at DRAO will alpenhorn mount automatically use this disk if its Use as copy destination group is the destination of a copy request (e.g., issued as part of a cron job’s “ sync ”) • When the disk is full, alpenhorn will alpenhorn unmount stop copying to it, and the operator runs “ alpenhorn unmount ” • Filled data disk(s) are shipped to UBC

  19. The Human Interface (2) At the other end… DB Alpenhorn UBC • UBC operator inserts the full data Insert disk disks into the enclosure and mount s them as part of the UBC storage group • Alpenhorn service at UBC registers alpenhorn mount those files as locally available, and copies them to the local destination if Use as copy source any request is outstanding • When all files are copied, the UBC alpenhorn clean operator can “ alpenhorn clean ” the transport disk and “ alpenhorn alpenhorn unmount unmount ” it • Cleaned (empty) data disk(s) are shipped back to DRAO and the process repeats

  20. Demo part 2

  21. Customizing Acquisitions and archive files have a type Alpenhorn configuration file specifies the map between pathname patterns and matching type Built-in “generic” types match using the configured patterns, but don’t keep track of any metadata Types are dynamically extensible using user-contributed classes • Must provide a few required callbacks and properties • Can perform arbitrary processing to extract metadata when called-back on new archive file events • This metadata usually goes into type-owned tables in the DB

  22. Summary Alpenhorn is a set of tools for managing an archive of scientific data across multiple sites Automatically: • tracks all copies of a single file, • handles available disk storage on the destination, and • ensures file integrity and su ffi cient replication CLI for cron scripts and interactive use Written for the CHIME radio-telescope, but includes a framework for user-provided customization

  23. github.com/ radiocosmology/ alpenhorn

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend