Scaling Astro-WISE to LOFAR long term archive
- First online:
The Astro-WISE information system was developed to handle data processing for the KIDS survey. In this paper we describe the adaptation of the WISE concept to allow scaling to support archives containing tens of petabytes of stored data and the changes we introduced to accommodate the system for the LOFAR Long Term Archive. With this we provide an example of how Astro-WISE technology can be adapted to support a wider range and scale of data.
KeywordsInformation system Grid Scientific data processing
Astro-WISE1  is an astronomical scientific information system which was developed to host the data for the Kilo Degree Survey (KiDS2). Astro-WISE combines data storage and data processing allowing the user to carry out intensive and in-depth data mining along with partial or full data reprocessing on the survey data. Despite the fact that the “parent” instrument for Astro-WISE is a VST wide-field camera OmegaCAM , it is possible to ingest into Astro-WISE the data from a number of instruments and process them with the same pipeline. In case of non-image data (spectroscopic or radio data) a new information system based on Astro-WISE technology can be created by implementing a new data model and incorporation of new pipelines.
The data volume of the KIDS survey, including all intermediate data products, will not exceed 0.5 petabyte. Incorporation of additional data sources such as the VIKING survey will further increase the data volume. However, supporting multi petabyte data archives such as needed for the LOFAR Long Term Archive , which is built for the LOFAR telescope3  that has been designed and constructed by ASTRON [5, 6] and is operated by the International LOFAR Telescope foundation (ILT), requires a new approach to the data storage. Furthermore, inclusion of new non-optical data requires changes to the data model while the distributed inhomogeneous character of the LOFAR Long Term Archive also requires integration with new types of storage and processing facilities.
Essential difference with Astro-WISE is that the system which is responsible for the ingest—Central Processing System of LOFAR (CEP)—is not a part of the archive. CEP generates data for the archive and ingests it into the archive, but the archive has no control over any resources of CEP or access to the data stored by CEP. In the case of Astro-WISE the data are ingested by the user of Astro-WISE.
2 Adaptation of Astro-WISE for LTA
Astro-WISE is an astronomical information system which was originally developed for the processing of optical wide-field images. Astro-WISE allows processing of the data from raw images all the way up to catalogs keeping all dependencies and processing parameters in the system. A detailed description of Astro-WISE can be found in .
Astro-WISE is a distributed system with an infrastructure which is based on the principle of deploying independent nodes. Each node can contain a data storage (dataserver), metadata storage (relational DBMS), processing elements (usually an HPC cluster) and numerous user services. All these components are optional for each site, as long as at least one of them is available in the system built from all Astro-WISE sites. Components of all Astro-WISE nodes build the three layers of Astro-WISE: a metadata layer (all relational DBMSes are sharing the same data model, all metadata storage components are fully or partially mirrored), a data layer (all dataservers are connected and create a single data storage network) and a data processing layer (the user can choose to submit jobs to any processing element of Astro-WISE).
Astro-WISE implements a common data model shared by all users and combines component-based software engineering (CBSE) with an object-oriented data model. The CBSE allows to implement each step in the data processing as a separate and independent module. The module (pipeline recipe) processes the data retrieving it from the system and ingesting back into the system newly generated data products. At the same time all data products are described by the same object-oriented data model so that the user can trace all dependencies between data products. This approach allows to reprocess any data on any step of the data processing chain.
the ingest of the data is done from an external system which does not belong to LOFAR Long Term Archive—the Central Processing System (CEP). Although CEP can be geographically very close to LOFAR LTA storage it has its own system of Authorization & Authentication (A&A), separate hardware and software infrastructures. LOFAR LTA users must not access data storage at CEP, at the same time CEP should be able to access resources of LTA to ingest the data. In the original Astro-WISE all ingest operations are managed from Astro-WISE and by Astro-WISE users;
for astronomers, the LOFAR LTA is an integral part of the LOFAR telescope. This requires, for example, that accounts, authorizations, and allocations are to be shared between all LOFAR services, including the LTA.
The data storage is to be distributed across storage elements of different nature—the storage should incorporate Grid storage elements as well as GPFS based fileservers;
the LOFAR LTA allows users to retrieve the data for external processing, i.e., new data products can be generated outside the LTA system and ingested into the archive with corresponding data provenance.
Tier 0 is the Central Processing System which collects data from antennas, performs pre-processing, and delivers the resulting data products to the Long Term Archive. Tier 0 only provides temporary storage for LOFAR data products;
Tier 1 consists of a number of internationally distributed data storage nodes and computing nodes . A node of Tier 1 can be an Astro-WISE dataserver, a distributed filesystem node (GPFS) or a Grid node;
Tier 2 is external to the LOFAR LTA and consists of all systems that are used to retrieve data from the LTA and/or to process data outside the LTA. Communities such as the Virtual Observatory are considered to be Tier 2 users.
Unlike the “classic” tier architecture of the LHC Computing Grid, the LOFAR Long Term archive does not manage or include data stored on the Tier 0 and Tier 2 levels.
The adaptation of the Astro-WISE architecture to a new data can require changes in the architecture of the information system itself, as we will see below. We will review changes introduced to three layers of Astro-WISE: metadata layer, data layer and data processing layer.
2.1 Metadata layer
Astro-WISE separates the bulk of the data stored in files from the metadata description of these files. The level of detail of the metadata stored in the database can vary. The required parameters for metadata are a unique identifier of the data item, the name of the file containing the data item, and the owner of the data. For the user, each data product is an object with a number of persistent parameters which are saved in the metadata database. The implementation of a new data model is not much of a technical challenge but requires the definition of the data model itself taking into account not only the data processing chain but also additional descriptors, including scientific ones. For example, it is important to implement for each data product a number of persistent parameters which will review the quality of the data item and provide this information to the user.
The implementaion of a new system for authorization and authentication is more of a technical challenge. The original Astro-WISE authorization scheme is based on the built-in security and authorization features of the metadata database. The authorization of the user in the system determines the rights of the user to perform a number of operations: browsing (parts of) the metadata database, retrieval of data items, processing of data items, ingesting of the processed data, etc. All interactions with the data in the archive are done through the interaction with the metadata database.
For the LOFAR Long Term Archive, the authorizations of a user are determined by a system which is external to the archive. The central LOFAR A&A system is the master one, which defines all users and their privileges and exports them to Astro-WISE A&A.
The MoM (Management of Measurements) system at Tier 0 contains the definition of each project, all LOFAR users that are associated with the projects, and all resources (observing time as well as LTA resources such as long term storage capacity) that have been allocated to the projects. Each LOFAR project has a Principle Investigator (PI), a Contact Author (who may or may not be the PI), and optionally one or more Co-Investigators (CoIs).
A Novell Identity Manager4 (IdM) instance is used to synchronize accounts, authorizations and allocations between MoM on Tier 0 and the metadata database (LTA catalog) on Tier 1. Authentication with the database does not require a direct connection to IdM and/or MoM. If any of the subsystems are unavailable, the other subsystems will continue working and they will be synchronized automatically once the connection is re-established. There are staging tables in the metadata database at Tier 1 which are identical to the corresponding user, project, role and the resource classes as defined in the IdM. Selected columns from these tables are copied to the metadata database and optionally a database account is created (if this is requested by the PI, i.e., if this user is allowed to ingest data into the system). Passwords are propagated in the form of hashes.
2.2 Data layer
The data layer of Astro-WISE is implemented by a network of dataservers—special web services which process a request from the user with the name of the file, search for the file in the underlying disk space and send the file back to the user (see  for more details).
Despite the fact that the dataservers network is highly scalable, it requires the storage systems to be adapted to Astro-WISE, while for the LOFAR LTA it is necessary to include a number of storage elements which are not part of the Astro-WISE system. In the case of LOFAR LTA these are principally Grid storage nodes based on dCache which provide GridFTP and Storage Resource Management (SRM) interfaces . The integration of Astro-WISE system and Grid infrastructure is described in  and . This integration is used for LTA storage and allows to keep multiple copies of the same data item on a number of storage locations.
The LOFAR Long Term archive data ingest system is a connector between Tier 0 and Tier 1 and allows to move the data from the temporary storage on Tier 0 (CEP) to permanent storage in the archive.
The data ingest from CEP into the archive includes the transfer of files and an ingest of the metadata description of the data contained in these files into the metadata database of the archive. A LOFAR LTA data item consists of file(s) and metadata. The metadata are transfered in a single metadata file generated by the MoM system.
An operator initiates the data ingest transaction which starts by requesting Tier 1 for the special identifier of the ingest session called a Storage Ticket. A Storage Ticket holds the state of the ingest transaction on both Tier 0 and Tier 1 sides. During the ingest the state of the Storage Ticket is updated on both sides. Both on Tier 0 and Tier 1 the Storage Ticket is used to monitor the ingest process to spot ongoing, failed and successfully ingested data items.
Before the data is transfered, the destination location on Tier 1 nodes must be defined. This will primarily depend on the storage resource that has been allocated to the project the data item belongs to. Depending on the type of a storage node, the proper protocol will be used to transfer the files. The current storage locations are located in Amsterdam (SARA5, Grid nodes), Jülich (Forschungszentrum Jülich6, Grid nodes) and Groningen (Target7 , GPFS nodes).
When the data files have been transferred to the designated node, the metadata from the SIP file is ingested into the metadata database of Tier 1. The Storage Ticket is archived and the ingest session is finished.
2.3 Data processing layer
versioning of the LOFAR software and related libraries;
installment of the LOFAR software and related libraries.
All software (both developed for LOFAR and external packages) are to be identified by versions. The versioning is to be applied consistently during the installation of software so that all sites participating in the LOFAR data processing can support the same versions of a pipeline. The version of the pipeline is stored as one of processing parameters linked to the resulting data product.
An important part of the LOFAR Long Term archive development is an integration of LOFAR pipelines with Astro-WISE Data Processing Units (DPU, see ). The DPU is an Astro-WISE front-end to the processing facilities. The user submits jobs to the DPU and interacts with the processing clusters via the DPU. The introduction of the DPU creates a uniform way for the user to interact with different processing elements. The DPU has a single interface for accepting jobs, but can dispatch these jobs to various compute clusters. The jobs are programmed in Python and form wrappers around (LOFAR or other) binaries. On the compute side, a DPU job-runner retrieves the needed data, generates the configuration files, executes the pipeline and stores the resulting data set. After the processing is finished the DPU transfers the log of the processing run back to the user. Using the Astro-WISE DPU the user has one interface towards all processing facilities of the LOFAR LTA.
Currently LOFAR pipelines are being tested both in the Grid and Target (HPC cluster) environment.
The LOFAR Long Term archive is an example of the adaptation of the original Astro-WISE design to the additional requirements from the LOFAR instrument. The case of the LOFAR LTA shows the high flexibility of Astro-WISE, which allows to include new elements keeping features of the original information system.
The LOFAR Long Term Archive is a key project for Target8—the expertise center built by the University of Groningen, Astron, IBM and Oracle. Target develops information systems for a number of scientific communities including LOFAR.
Astro-WISE is an on-going project which started from an FP5 RTD programme funded by the EC Action “Enhancing Access to Research Infrastructures”.
This work was performed as part of the Target project. The Target project is supported by Samenwerkingsverband Noord Nederland. It operates under the auspices of Sensor Universe. It is also financially supported by the European fund for Regional Development and the Dutch Ministry of Economic Affairs, Pieken in de Delta, the Province of Groningen and the Province of Drenthe.
LOFAR, the Low Frequency Array designed and constructed by ASTRON, has facilities in several countries, that are owned by various parties (each with their own funding sources), and that are collectively operated by the International LOFAR Telescope (ILT) foundation under a joint scientific policy.
This work is also supported by the programme of BiG Grid, the Dutch e-Science Grid, which is financially supported by the Nederlandse Organisatie voor Wetenschappelijk Onderzoek (Netherlands Organisation for Scientific Research, NWO).
This article is distributed under the terms of the Creative Commons Attribution License which permits any use, distribution, and reproduction in any medium, provided the original author(s) and the source are credited.