LHCb Configuration Database Lana Abadie, PhD student (CERN & University of Pierre et Marie Curie (Paris VI), LIP6.

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

Generating routing tables using a relational Database Lana Abadie, CERN PhD student from University Pierre & Marie Curie (Paris VI), Laboratoire SAMOVAR.
SPD DCS Status Report Ivan Amos Calì a,b, S.Ceresa a,c, C.Torcato de Matos a a CERN-AIT a CERN-AIT b Università degli studi di Bari b Università degli.
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.
Clara Gaspar, May 2010 The LHCb Run Control System An Integrated and Homogeneous Control System.
L. Granado Cardoso, F. Varela, N. Neufeld, C. Gaspar, C. Haen, CERN, Geneva, Switzerland D. Galli, INFN, Bologna, Italy ICALEPCS, October 2011.
Control and monitoring of on-line trigger algorithms using a SCADA system Eric van Herwijnen Wednesday 15 th February 2006.
CERN - IT Department CH-1211 Genève 23 Switzerland t The High Performance Archiver for the LHC Experiments Manuel Gonzalez Berges CERN, Geneva.
Calo Piquet Training Session - Xvc1 ECS Overview Piquet Training Session Cuvée 2012 Xavier Vilasis.
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.
JCOP Workshop September 8th 1999 H.J.Burckhart 1 ATLAS DCS Organization of Detector and Controls Architecture Connection to DAQ Front-end System Practical.
Clara Gaspar, October 2011 The LHCb Experiment Control System: On the path to full automation.
Update on Database Issues Peter Chochula DCS Workshop, June 21, 2004 Colmar.
XXVI Workshop on Recent Developments in High Energy Physics and Cosmology Theodoros Argyropoulos NTUA DCS group Ancient Olympia 2008 ATLAS Cathode Strip.
DCS Workshop - L.Jirdén1 ALICE DCS PROJECT ORGANIZATION - a proposal - u Project Goals u Organizational Layout u Technical Layout u Deliverables.
Online Calibration of the D0 Vertex Detector Initialization Procedure and Database Usage Harald Fox D0 Experiment Northwestern University.
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:
Report on the Commissioning Task Force activity Global and sub-detector views on ECS Histogram handling : – histogram handling and PVSS – the ALEPH and.
ALICE, ATLAS, CMS & LHCb joint workshop on
Management of the LHCb DAQ Network Guoming Liu * †, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
Clara Gaspar, March 2005 LHCb Online & the Conditions DB.
Lana Abadie1 Conception et optimisation d’une base de données relationnelle pour la configuration d’expériences HEP Implementation and optimization of.
The Persistency Patterns of Time Evolving Conditions for ATLAS and LCG António Amorim CFNUL- FCUL - Universidade de Lisboa A. António, Dinis.
1 ECS CALO HV Control CALO Piquet Training Session Anatoli Konoplyannikov /ITEP/ Outline  ECS HV control of the ECAL/HCAL sub-detectors.  Introduction.
Introduction CMS database workshop 23 rd to 25 th of February 2004 Frank Glege.
Bruno Belbute, October 2006 Presentation Rehearsal for the Follow-up meeting of the Protocol between AdI and CERN.
Peter Chochula ALICE Offline Week, October 04,2005 External access to the ALICE DCS archives.
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.
FSM – ConfDB Integration FW WG Meeting 17 th March, 2006 Fernando Varela Rodriguez, IT-CO (with the input from: Clara, Alex, Sascha, Piotr and Francisca)
Management of the LHCb Online Network Based on SCADA System Guoming Liu * †, Niko Neufeld † * University of Ferrara, Italy † CERN, Geneva, Switzerland.
Rack Wizard LECC 2003 Frank Glege. LECC Frank Glege - CERN2/12 Content CMS databases - overview The equipment database The Rack Wizard.
Configuration database status report Eric van Herwijnen September 29 th 2004 work done by: Lana Abadie Felix Schmidt-Eisenlohr.
Yu. Guz 21/04/20061 Database usage by calorimeters Yu. Guz IHEP Protvino.
November 1, 2004 ElizabethGallas -- D0 Luminosity Db 1 D0 Luminosity Database: Checklist for Production Elizabeth Gallas Fermilab Computing Division /
14 November 08ELACCO meeting1 Alice Detector Control System EST Fellow : Lionel Wallet, CERN Supervisor : Andre Augustinus, CERN Marie Curie Early Stage.
Clara Gaspar, April 2006 LHCb Experiment Control System Scope, Status & Worries.
Management of the LHCb DAQ Network Guoming Liu *†, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
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)
Calibration & Monitoring M.N Minard Monitoring News Status of monitoring tools Histogramm and monitoring meeting 6/02/08 Calibration farm brainstorming.
DAQ & ConfDB Configuration DB workshop CERN September 21 st, 2005 Artur Barczyk & Niko Neufeld.
1 ECS CALO LED Control System CALO Piquet Training Session Anatoli Konoplyannikov /ITEP/ Outline  Introduction  Calorimeter ECS LED monitoring.
Database Issues Peter Chochula 7 th DCS Workshop, June 16, 2003.
M.Frank, CERN/LHCb Persistency Workshop, Dec, 2004 Distributed Databases in LHCb  Main databases in LHCb Online / Offline and their clients  The cross.
Maria del Carmen Barandela Pazos CERN CHEP 2-7 Sep 2007 Victoria LHCb Online Interface to the Conditions Database.
Online DBs in run Frank Glege on behalf of several contributors of the LHC experiments.
20OCT2009Calo Piquet Training Session - Xvc1 ECS Overview Piquet Training Session Cuvée 2009 Xavier Vilasis.
Configuration Database Lana Abadie, LHCb week, May 25.
1 Calorimeter LED & LV - HV control systems LHCb CALO meeting Anatoli Konoplyannikov /ITEP/ Outline Status of the calorimeters LV & MV power supplies.
PVSS an industrial tool for slow control
Peter Chochula Calibration Workshop, February 23, 2005
CMS High Level Trigger Configuration Management
CMS – The Detector Control System
Controlling a large CPU farm using industrial tools
Lana Abadie, March 2004.
WinCC-OA Upgrades in LHCb.
ProtoDUNE SP DAQ assumptions, interfaces & constraints
Handling online information in the LHCb experiment
The LHCb Run Control System
John Harvey CERN EP/LBC July 24, 2001
Philippe Vannerem CERN / EP ICALEPCS - Oct03
ReadOutNetwork Data Flow
Pierluigi Paolucci & Giovanni Polese
Pierluigi Paolucci & Giovanni Polese
Configuration DB Status report Lana Abadie
Pierluigi Paolucci & Giovanni Polese
Offline framework for conditions data
Presentation transcript:

LHCb Configuration Database Lana Abadie, PhD student (CERN & University of Pierre et Marie Curie (Paris VI), LIP6

Context PVSS. To Offline... PVSS Cond.. DB Conf. DB... PVSS Arch. Experimental Equipment Operator Experiment Control System (ECS) 3 Oracle Databases

Problem to solve The ECS will use the configuration DB to get all information necessary to configure and monitor the detector according to: –A partition : part of the detector which can run independently and concurrently Which subsystems? How are they interconnected? –A running mode or an activity : what settings for the devices in the given partition? Need to find what and how to store them

Configuration DB: what to store? Settings of controllable devices according to a running mode such as: All Electronics Boards (Register settings, etc.) HV, LV Power Supplies (Voltage settings, etc.) Trigger Algorithms (Job options, etc.) Information about partitioning All connectivity between devices per subsystem Destination and routing tables Configuration files

Dataflow Example Experimental Equipment PVSS. To Offline PVSS Cond.. DB Conf. DB To Offline PVSS Arch. Configuration settings for a running mode Monitoring data (at regular intervals) if Archive On if Passes Conditions filter if Needed for next run settings (Pedestal Followers)

The Conf DB : inside LHCb specific : Devices in the partition? How to interconnect the subsystems ? JCOP : Device settings for the selected activity such as physics, cosmics ? JCOP -Configuration of devices Data related to running modes - Common to the 4 experiments LHCb specific Connectivity (data related to partition)

VELO subsystem Calibration run Ex: calibration run for VELO LHCb tool VELO FEs DAQ TFC ECS PVSS Which devices are involved in the partition? Here VELO Get connectivity between the VELO and TFC to send the clock. Get connectivity between VELO and DAQ to configure the network (data path)

VELO subsystem calibration run Ex: calibration run for VELO (JCOP tool) VELO FEs DAQ TFC calibration run ECS PVSS Load parameter values to configure VELO devices, Farm nodes and TFC devices for a calibration run Farm

JCOP tool : Functions Framework to use with PVSS (SCADA system) Concept of recipes : snapshot of a set of parameters and their values which change with the running mode. Save and load recipes for a device or a set of devices (hierarchy) into/from the configuration DB Possibility of tagging recipes (versioning) Recipe cache : save and load recipes without connecting to the DB. Useful for –Testing setting values –Load recipes for successive runs once. More info about the JCOP tool…

JCOP Tool : in practice

Connectivity Description of the physical links between devices on its output and its input using the system dataflow Useful to determine –Exactly the data path –Destination/routing tables –Config files (e.g. DHCP) –What devices need to be configured given a partition –How to interconnect all the subsystems with TFC, DAQ and ECS

LktypID Link Type Name … LINK TYPE LkID Node_from Node_to Port_nbrfrom Port_Nbrto Link_type Link_orientation Link_status … CONNECTIVITY DeviceID DeviceName DeviceType … DEVICE pathid Node1 Node2 … Node11 … PATH_TABLE Connectivity design

Table Schema

Implementation Library confDB in C using OCI, to query information related to connectivity confDB library has been extended to Python using BOOST (confDBpython module). confDB library has been extended to PVSS using the Generic External Handler (module provided by JCOP)

CDbVis Python tool (using confDB library) Nice view of the content of the database Check consistency (error when inserting connectivity between devices) Not all the features are implemented yet: –You can view the connectivity and get some information about the devices –But you can’t insert anything

Component View TFC Switch Transmitter (opt) Coupler (opt)

Conclusions Prototype exists Possibility to save and load recipes in/from DB and recipe cache for one or a set of devices. Possibility to save and query connectivity information Need to finish the implementation of CDBVis Need to implement update functions for the confDB library