Peter Chochula ALICE Offline Week, October 04,2005 External access to the ALICE DCS archives.

Slides:



Advertisements
Similar presentations
JCOP FW Update ALICE DCS Workshop 6 th and 7 th October, 2005 Fernando Varela Rodriguez, IT-CO Outline Organization Current status Future work.
Advertisements

PVSS and JCOP Framework Organization, Support & News Oliver Holme IT-CO.
The Detector Control System – FERO related issues
Message Queues COMP3017 Advanced Databases Dr Nicholas Gibbins –
André Augustinus ALICE Detector Control System  ALICE DCS is responsible for safe, stable and efficient operation of the experiment  Central monitoring.
1 Databases in ALICE L.Betev LCG Database Deployment and Persistency Workshop Geneva, October 17, 2005.
Peter Chochula, January 31, 2006  Motivation for this meeting: Get together experts from different fields See what do we know See what is missing See.
Supervision of Production Computers in ALICE Peter Chochula for the ALICE DCS team.
Network Management Overview IACT 918 July 2004 Gene Awyzio SITACS University of Wollongong.
Backup and Recovery Part 1.
Agenda  Overview  Configuring the database for basic Backup and Recovery  Backing up your database  Restore and Recovery Operations  Managing your.
Control and monitoring of on-line trigger algorithms using a SCADA system Eric van Herwijnen Wednesday 15 th February 2006.
Peter Chochula.  DAQ architecture and databases  DCS architecture  Databases in ALICE DCS  Layout  Interface to external systems  Current status.
PPOUG, 05-OCT-01 Agenda RMAN Architecture Why Use RMAN? Implementation Decisions RMAN Oracle9i New Features.
CERN - IT Department CH-1211 Genève 23 Switzerland t The High Performance Archiver for the LHC Experiments Manuel Gonzalez Berges CERN, Geneva.
Summary DCS Workshop - L.Jirdén1 Summary of DCS Workshop 28/29 May 01 u Aim of workshop u Program u Summary of presentations u Conclusion.
09/11/20061 Detector Control Systems A software implementation: Cern Framework + PVSS Niccolo’ Moggi and Stefano Zucchelli University and INFN Bologna.
SCADA. 3-Oct-15 Contents.. Introduction Hardware Architecture Software Architecture Functionality Conclusion References.
JCOP Workshop September 8th 1999 H.J.Burckhart 1 ATLAS DCS Organization of Detector and Controls Architecture Connection to DAQ Front-end System Practical.
June 6 th – 8 th 2005 Deployment Tool Set Synergy 2005.
Clara Gaspar, October 2011 The LHCb Experiment Control System: On the path to full automation.
INFSO-RI Enabling Grids for E-sciencE Logging and Bookkeeping and Job Provenance Services Ludek Matyska (CESNET) on behalf of the.
Update on Database Issues Peter Chochula DCS Workshop, June 21, 2004 Colmar.
Peter Chochula ALICE DCS Workshop, October 6,2005 DCS Computing policies and rules.
Peter Chochula and Svetozár Kapusta ALICE DCS Workshop, October 6,2005 DCS Databases.
DCS Workshop - L.Jirdén1 ALICE DCS PROJECT ORGANIZATION - a proposal - u Project Goals u Organizational Layout u Technical Layout u Deliverables.
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice HP Library Encryption - LTO4 Key.
André Augustinus 10 September 2001 DCS Architecture Issues Food for thoughts and discussion.
Databases E. Leonardi, P. Valente. Conditions DB Conditions=Dynamic parameters non-event time-varying Conditions database (CondDB) General definition:
André Augustinus 10 October 2005 ALICE Detector Control Status Report A. Augustinus, P. Chochula, G. De Cataldo, L. Jirdén, S. Popescu the DCS team, ALICE.
ALICE, ATLAS, CMS & LHCb joint workshop on
Peter Chochula DCS Remote Access and Access Control Peter Chochula.
P. Chochula ALICE Week Colmar, June 21, 2004 Status of FED developments.
20th September 2004ALICE DCS Meeting1 Overview FW News PVSS News PVSS Scaling Up News Front-end News Questions.
Enabling Grids for E-sciencE System Analysis Working Group and Experiment Dashboard Julia Andreeva CERN Grid Operations Workshop – June, Stockholm.
Naming and Code Conventions for ALICE DCS (1st thoughts)
Clara Gaspar, March 2005 LHCb Online & the Conditions DB.
Databases in CMS Conditions DB workshop 8 th /9 th December 2003 Frank Glege.
Overview of DAQ at CERN experiments E.Radicioni, INFN MICE Daq and Controls Workshop.
ALICE Condition DataBase Magali Gruwé CERN PH/AIP Alice Offline week May 31 st 2005.
Process Architecture Process Architecture - A portion of a program that can run independently of and concurrently with other portions of the program. Some.
L0 DAQ S.Brisbane. ECS DAQ Basics The ECS is the top level under which sits the DCS and DAQ DCS must be in READY state before trying to use the DAQ system.
4 Oct 2005 / Offline week Shuttle program for gathering conditions data from external DB Boyko Yordanov 4 October 2005 ALICE Offline week.
Peter Chochula.  DCS architecture in ALICE  Databases in ALICE DCS  Layout  Interface to external systems  Current status and experience  Future.
Alarm Handling Oliver Holme 7 th November Guidelines & Strategies All provide recommendation to use Framework Classes Standard severities/behaviour/colours.
Configuration database status report Eric van Herwijnen September 29 th 2004 work done by: Lana Abadie Felix Schmidt-Eisenlohr.
MND review. Main directions of work  Development and support of the Experiment Dashboard Applications - Data management monitoring - Job processing monitoring.
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
LHCb Configuration Database Lana Abadie, PhD student (CERN & University of Pierre et Marie Curie (Paris VI), LIP6.
22 March 2010 DCS workshop C. Bortolin, g. de cataldo and A. Franco INFN it/CERN CH 1 Progress on LHC data exchange LHC-ALI_DCS project overview Future.
The DCS Databases Peter Chochula. 31/05/2005Peter Chochula 2 Outline PVSS basics (boring topic but useful if one wants to understand the DCS data flow)
Why PACKZ? Innovation No real innovations in pre-press for years Offers new approach using standard open file formats Technology is moving fast, we are.
Status of tests in the LCG 3D database testbed Eva Dafonte Pérez LCG Database Deployment and Persistency Workshop.
Markus Frank (CERN) & Albert Puig (UB).  An opportunity (Motivation)  Adopted approach  Implementation specifics  Status  Conclusions 2.
Windows Terminal Services for Remote PVSS Access Peter Chochula ALICE DCS Workshop 21 June 2004 Colmar.
External Data and DIP Oliver Holme 18 th January 2008.
Summary of TPC/TRD/DCS/ECS/DAQ meeting on FERO configuration CERN,January 31 st 2006 Peter Chochula.
Database Issues Peter Chochula 7 th DCS Workshop, June 16, 2003.
Maria del Carmen Barandela Pazos CERN CHEP 2-7 Sep 2007 Victoria LHCb Online Interface to the Conditions Database.
JCOP Framework and PVSS News ALICE DCS Workshop 14 th March, 2006 Piotr Golonka CERN IT/CO-BE Outline PVSS status Framework: Current status and future.
M. Caprini IFIN-HH Bucharest DAQ Control and Monitoring - A Software Component Model.
Distribution of ATLAS Software and configuration data Costin Caramarcu on behalf of ATLAS TDAQ SysAdmins.
The PVSS Oracle Archiver FW WG 6 th July Credits Many people involved IT/DES: Eric Grancher, Nilo Segura, Chris Lambert IT/PSS: Luca Canali ALICE:
DCS Status and Amanda News
Peter Chochula Calibration Workshop, February 23, 2005
PVSS Evolution in Relation to Databases
Publishing PVSS data on the Web
Configuration DB Status report Lana Abadie
Presentation transcript:

Peter Chochula ALICE Offline Week, October 04,2005 External access to the ALICE DCS archives

Outline  DCS data flow  DCS and the condition data  Implementation of the DCS archive and present status  AMANDA  Additional developments of the DCS archive interface

The DCS Archive and Conditions Data  The DCS archive contains all measured values (tagged for archival)  Used by trending tools  allows for access to historical values, e.g. for system debugging  too big and too complex for offline data analysis (contains information which is not directly related to physics data such as safety, services, etc.)  The main priority of the DCS is assure reliable archival of its data  The conditions database contains a sub-set of measured values, stripped from the archive

The DCS Data Flow Config. PVSSII Archive Devices ECS Electricity Ventilation Cooling Gas Magnets Safety Access Control LHC DAQTRIHLT DIM, DIP FERO Version

PVSS Archive Tables  For each group of archived values a set of tables is generated  LastVal – input table storing the most recent value.  Current – a archive keeping a history record of measured values.  The archive is closed if it exceeds a predefined size and is replaced with a new one  The latest available values are copied to the new archive automatically  Online – a closed Current archive  Offline – an archive written to backup media and not immediately available  For each Datapoint several parameters are stored:  Value  Timestamp  Flags (for example reliability)

Online SPD HistoryValues Online SPD History Online SPD HistoryValues Online SPD History Basic DCS archive architecture SPD LastValValues SPD LastVal Current SPD HistoryValues Current SPD History Offline SPD HistoryValues Offline SPD HistoryValues Offline SPD History Offline SPD History (arrays)(“basic” datapoints)

DCS Archive implementation  Standard PVSS archival:  Archives are stored in local files (one set of files per PVSSII system)  OFFLINE archives are stored on backup media (tools for backup and retrieval are part of the PVSSII)  Problems with external access to archive files due to PVSS proprietary format  The PVSS RDB archival:  is replacing the previous method based on local files  Oracle database server is required  Architecture resembles the previous concept based on files  ORACLE tablespace replaces the file  A library handles the management of data on the Oracle Server (create/close tables, backup tables…)

DCS Archival status  Mechanism based on ORACLE was delivered by ETM and tested by the experiments  All PVSS-based tools are compatible with the new approach (we can profit from the PVSS trending etc.)  problems were discovered, ETM is working on improved version  ALICE main concern is the performance (~100 inserts/s per PVSS system) – which is not enough to handle an alert avalanche in a reasonable time  Architectural changes were requested – e.g. the archive switching process should be replaced by ORACLE partitioning, etc.  DCS will provide file-based archival during the pre- installation phase and replace it with ORACLE as soon as a new version qualifies for deployment  Tools for later conversion from files to the RDB will be provided

AMANDA  AMANDA is a PVSS-II manager which uses the PVSS API to access the archives  Manager and Win C++ client developed by Vlado Fekete  Root client and interface to the OFFLINE developed by Boyko Yordanov  Vlado and Boyko defined the communication protocol (see talk of Boyko in this workshop)  Archive architecture is transparent to AMANDA  AMANDA can be used as interface between the PVSS archive and non-PVSS clients  AMANDA returns data for requested time period

AMANDA – Alice Manager for DCS Archives User Interface Manager Driver User Interface Manager User Interface Manager Event Manager API Manager Control Manager AMANDA Server Archive(s) AMANDA Client PVSS-II Archive Manager(s) Archive Manager(s) Archive Manager Data Manager

Operation of AMANDA 1.After receiving the connection request, AMANDA creates a thread which will handle the client request 2.Due to present limitations of PVSS DM the requests are served sequentially as they arrive (the DM is not multithreaded) 3.AMANDA checks the existence of requested data and returns an error if it is not available 4.AMANDA retrieves data from archive and sends it back to the client in formatted blocks  AMANDA adds additional load to the running PVSS system !  Final qualification of AMANDA for use in the production system depends on the user requirements

AMANDA in distributed system  The PVSS can directly access only file-based data archives stored by its own data manager  In a distributed system also data produced by other PVSS can be accessed, if the connection via DIST manager exists  In case of the file-based archival DM of the remote system is always involved in the data transfer  In case of RDB archival, the DM can retrieve any data provided by other PVSS within the same distributed system without bothering other DMs  It is foreseen, that each PVSS system will run its own AMANDA  There will be at least one AMANDA per detector  Using more AMANDA servers overcomes some API limitations – some requests can be parallelized (clients need to know which sever has direct access to the requested data)

AMANDA in the distributed environment (archiving to files) UI DM DRV UI EM APICTR AMD PVSS-II UI DM DRV UI EM APICTR AMD PVSS-II UI DM DRV UI EM APICTR AMD PVSS-II DIS

AMANDA in the distributed environment (archiving to ORACLE) UI DM DRV UI EM APICTR AMD PVSS-II ORACLE UI DM DRV UI EM APICTR AMD PVSS-II UI DM DRV UI EM APICTR AMD PVSS-II DIS

Additional CondDB developments  Development of a new mechanism for retrieving data from the RDB archive has been launched (Jim Cook – ATLAS)  A separate process will access the RDB directly without involving the PVSS  this approach will overcome the PVSS API limitations  the data gathering process can run outside of the online DCS network  The conditions data will be described in the same database (which datapoints should be retrieved, what processing should be applied, etc.)  Configuration of the conditions will be done via PVSS panels by the DCS users – unified interface for all detectors  Data will be written to the desired destination (root files in case of ALICE, COOL for ATLAS, CMS and LHCB)  Parts of AMANDA client could be re-used  First prototype available

Conclusions  The main access point to the DCS data is the DCS archive  Present situation requires file-based archived to be used during the pre-installation phase  AMANDA provides a method for accessing the DCS data from external clients  Archive implementation details are hidden by the PVSS API  JCOP developments (at present carried out by ATLAS) will provide an efficient way for accessing the DCS archives  independent from the PVSS  requires RDB archival