Database Issues Peter Chochula 7 th DCS Workshop, June 16, 2003.

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
Experiment Control Systems at the LHC An Overview of the System Architecture An Overview of the System Architecture JCOP Framework Overview JCOP Framework.
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.
+ Connecting to the Web Week 7, Lecture A. + Midterm Basics Thursday February 28 during Class The lab Tuesday, February 26 is optional review Class on.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
CHAPTER 9 DATABASE MANAGEMENT © Prepared By: Razif Razali.
Carmen Maidantchik, Felipe Fink Grael, Kaio Karam, Kathy Pommès ATLAS detector construction/commissioning During the construction and commissioning activities,
How to Configure Informix Connect and ODBC James Edmiston Informix DBA Consultant/Quest Information Systems, Inc. Informix User Forum 2005 Moving Forward.
Multiple Cases Access Utilities1 Access & ODBC Managing and Using ODBC Connections P.O. Box 6142 Laguna Niguel, CA
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
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.
SCADA Systems - What is the scope of this talk? What are SCADA systems? What are their structure and main features? How open are they? How are they evolving?
1 Alice DAQ Configuration DB
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.
Relational Databases Database Driven Applications Retrieving Data Changing Data Analysing Data What is a DBMS An application that holds the data manages.
The Joint COntrols Project Framework Manuel Gonzalez Berges on behalf of the JCOP FW Team.
ALICE DCS Meeting.- 05/02/2007 De Cataldo, Franco - INFN Bari - 1 ALICE dcsUI Version 3.0 -dcsUI v3.0 is ready and will be soon posted on the ACC site.
André Augustinus 10 September 2001 DCS Architecture Issues Food for thoughts and discussion.
ALICE DCS Workshop - 14/03/2006 De Cataldo, CERN CH and INFN Bari - 1 Standardization of the DCS control panels The ACC is elaborating a set of panels.
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.
André Augustinus 21 June 2004 DCS Workshop Detector DCS overview Status and Progress.
Naming and Code Conventions for ALICE DCS (1st thoughts)
JCOP Review, March 2003 D.R.Myers, IT-CO1 JCOP Review 2003 Architecture.
Introduction CMS database workshop 23 rd to 25 th of February 2004 Frank Glege.
Databases in CMS Conditions DB workshop 8 th /9 th December 2003 Frank Glege.
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
ALICE Condition DataBase Magali Gruwé CERN PH/AIP Alice Offline week May 31 st 2005.
The Problems HTTP is disconnected So many database vendors Create a simple consistent versatile interface on the data Look at ADO.NET classes OleDb SQL.
The DCS lab. Computer infrastructure Peter Chochula.
Peter Chochula ALICE Offline Week, October 04,2005 External access to the ALICE DCS archives.
The (prototype) C&V Framework component used for the SPD Cooling Control A.Tauro, G.De Cataldo.
Linux Operations and Administration
Status & development of the software for CALICE-DAQ Tao Wu On behalf of UK Collaboration.
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.
TDAQ Experience in the BNL Liquid Argon Calorimeter Test Facility Denis Oliveira Damazio (BNL), George Redlinger (BNL).
Yu. Guz 21/04/20061 Database usage by calorimeters Yu. Guz IHEP Protvino.
LHCb Configuration Database Lana Abadie, PhD student (CERN & University of Pierre et Marie Curie (Paris VI), LIP6.
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)
Report on database work for INB in ALICE Latchezar Betev (ALICE) Information Session INB – June 8, 2006.
Windows Terminal Services for Remote PVSS Access Peter Chochula ALICE DCS Workshop 21 June 2004 Colmar.
Maria del Carmen Barandela Pazos CERN CHEP 2-7 Sep 2007 Victoria LHCb Online Interface to the Conditions Database.
The (prototype) C&V Framework component used for the SPD Cooling Control A.Tauro, G.De Cataldo.
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.
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
DCS Status and Amanda News
SCADA Selection and Usage at CERN
Peter Chochula Calibration Workshop, February 23, 2005
Chapter 10 ADO.
Configuration DB Status report Lana Abadie
Offline framework for conditions data
Presentation transcript:

Database Issues Peter Chochula 7 th DCS Workshop, June 16, 2003

Peter Chochula 7 th ALICE DCS Workshop, June 16,  Acknowledgments Presented information was collected from several sources. Many slides are directly taken from F.Carminati, L.Betev and Laura del Cano.

Peter Chochula 7 th ALICE DCS Workshop, June 16, Outline  This talk is collection of different database related topics  The aim of this talk is to clarify some terms  The talk is far from being conclusive – please see it as a collection of topics for discussions

Peter Chochula 7 th ALICE DCS Workshop, June 16, Reference talks: Databases for ALICE P.Buncic & F.Carminati Technical Board Geneva, December 16 Update on ALICE Databases L. Betev ALICE Technical Board Geneva, May 20

Peter Chochula 7 th ALICE DCS Workshop, June 16, Partial list of Databases in Alice (Source: talk of L.Betev)  Development by other groups in ALICE Detector Construction (DCDB) Run Control and Configuration (DATE) Detector Control System (DCS) – Configuration, Logging Cable database  Development by the off-line group File Catalogue (ALiEn) Detector Calibration Detector Geometry  Development by other groups at CERN Database for Equipment Management (DEM)  Currently being defined, EST/ISS group in charge

Peter Chochula 7 th ALICE DCS Workshop, June 16, Detector Construction Database  Reference: dbalice/alice.htmlhttp://det-dbalice.if.pw.edu.pl/det- dbalice/alice.html  Contains all data related to the detector construction  Essential tool for tracking of detector properties during the construction time  Warsaw group is developing the ALICE DCDB  For more information please refer to meeting organized by W. Peryt on June 17

Peter Chochula 7 th ALICE DCS Workshop, June 16, Offline Calibration Database (Source: talk of L.Betev) The choices of the object store technology has already been done i.e. ROOT

Peter Chochula 7 th ALICE DCS Workshop, June 16, Database for Equipment Management (DEM)  Will store information about the properties, location and service connections of equipment installed into the LHC experiments  Main usage of DEM: Tracking of equipment (INB protocol) Management of material flow in experimental areas Management of material positioning in underground areas Planning support of maintenance operations  Call for User Requirements was submitted to offline board

Peter Chochula 7 th ALICE DCS Workshop, June 16, Relationship of DEM with other projects  Production data will be stored in several places  ST databases will store information about cabling  Connection to condition database, DCDB etc. will be needed ALICE is involved in the DEM project

Peter Chochula 7 th ALICE DCS Workshop, June 16, DCS Databases in Alice – Configuration System Configuration Device Configuration Dynamic Configuration FERO Configuration Configuration DB PVSS Hardware

Peter Chochula 7 th ALICE DCS Workshop, June 16, FW PVSS Configuration Prototype  See talk given by Laura del Cano to JCOP FWG Meeting:  Configuration data: System Static Configuration (e.g. which processes are running, managers, drivers etc.) Device Static Configuration (device structure, addresses, etc.) Device Dynamic Configuration – Recipe (device settings, archiving, alarm limits etc.)

Peter Chochula 7 th ALICE DCS Workshop, June 16, FW PVSS Configuration Prototype Implementation  Database access based on ADO  ETM provides sets of libraries enabling “quasi” ADO functionality on Linux  Underlying database system: Oracle and/or MySQL Few limitations based on data type diferencies between Oracle and MySQL

Peter Chochula 7 th ALICE DCS Workshop, June 16, FW PVSS Configuration Prototype Status  First version prepared for beta testing Panels integrated in Device Editor/Navigator Set of panels for recipe management Database integrated with framework panels Libraries for database connectivity  Present version works only with devices integrated in framework

Peter Chochula 7 th ALICE DCS Workshop, June 16, FERO Configuration  Data is accessed directly by the FED software  PVSS only transfers configuration request  Prototype exists for SPD Access Technology: ADO under Windows XP Database : MySQL  DAQ and DCS will share FERO configuration data Present agreement expects relational database and usage of standard SQL

Peter Chochula 7 th ALICE DCS Workshop, June 16, DCS Databases in Alice - Logging Archive PVSS Archive Condition DB Present Model is based on PVSS Archiving scheme Condition DB is an extension of the standard archiving

Peter Chochula 7 th ALICE DCS Workshop, June 16, DCS logging limitations  PVSS archives are distributed Offline software might have problems to retrieve the information Access to Archives is based on proprietary technology  Condition Database stores data “relevant to offline” Disadvantage is data duplication We always “forget” to store some data  In first approximation all data is “relevant” to offline  Possible replacement of archives with relational database is a very interesting option

Peter Chochula 7 th ALICE DCS Workshop, June 16, FERO Configuration Database Prototype  SPD prototype is based on standard SQL  ADO has been chosen as access technology as it enables easy integration with different database systems  Prototype database is implemented in MySQL (Oracle version will follow)  Subdetectors are launching their database projects There is an urgent need for coordination (see next talk on numbering and naming conventions)

Peter Chochula 7 th ALICE DCS Workshop, June 16, Conclusions  The database problematic is evolving  There are many projects indirectly related to DCS  JCOP Framework is evaluating its PVSS configuration tools  First prototypes for FERO configuration exist  There is a need for coordination between projects  User feedback is essential  See next talk on naming and numbering conventions for additional details

Peter Chochula 7 th ALICE DCS Workshop, June 16,  ADO has been mentioned several times ( see also the talk on FERO presented at this workshop)  In following slides we provide a few basic facts about this technology

Peter Chochula 7 th ALICE DCS Workshop, June 16, Data Access Technology – ADO (ActiveX Data Objects)  ADO provides object model for programmatically accessing, editing, and updating data from a wide variety of data sources  Ado is accessing data through OLE DB system interfaces.  The most common usage of ADO is to query a table or tables in a relational database, retrieve and display the results in an application, and allow users to make and save changes to the data.

Peter Chochula 7 th ALICE DCS Workshop, June 16, ADO Examples  For a given database only a ODBC interface is available Solution: Ole DB provider for ODBC source  Native OleDB provider exists Solution: Ado talks directly to the provider  Data is stored in files on NTFS Solution: Native OleDB provider over Microsoft Indexing Service can be used

Peter Chochula 7 th ALICE DCS Workshop, June 16, Database Migration with ADO  Data is residing in MS access database stored in D:\Database\SPD_Prototype.MDB: spCON->ConnectionString ="DRIVER={Microsoft Access Driver (*.mdb)};DBQ=SPD_Prototype.MDB;DefaultDir=d:\\database;";  Data is Stored in MySQL Database residing at the same machine. ADO uses OLEDB Provider for ODBC sources: spCON->ConnectionString ="DRIVER={MySQL ODBC 3.51 DRIVER};DB=SPD_Prototype;";  Data is store on remote MySQL server. The connection details described in system DSN: spCON-> ConnectionString="DSN=MySQL_Remote_SPD_Prototype;"; The rest of the program code remains EXACTLY the same !