Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Alice DAQ Configuration DB

Similar presentations


Presentation on theme: "1 Alice DAQ Configuration DB"— Presentation transcript:

1 1 Alice DAQ Configuration DB Sylvain.Chapeland@cern.ch

2 31/01/2007 – S.C.Alice DAQ configuration DB 2 ALICE DAQ Architecture GDC CTP LTU TTC FERO LTU TTC FERO LDC BUSY Rare/All Storage Network TDS 343 DDL EDM LDC Load Bal. LDC HLT Farm FEP DDL H-RORC 10 DDL 10 D-RORC 10 HLT LDC 163 DDL TDS DS Event-Building Network 425 D-RORC 50 GDC 10 DS PDS 25 TDS 200 Detector LDC Event Fragment Sub event Event File

3 31/01/2007 – S.C.Alice DAQ configuration DB 3 ALICE DAQ Architecture GDC CTP LTU TTC FERO LTU TTC FERO LDC Storage Network TDS EDM LDC HLT Farm FEP TDS DS Event-Building Network PDS TriggerHigh-Level Trigger Detectors Data Acquisition

4 31/01/2007 – S.C.Alice DAQ configuration DB 4 DATE v4 - configuration DATE Configuration stored in ASCII files –$DATE_SITE_CONFIG –Shared by NFS DATE DB package used to read static information: – roles (who is what) …… – detectors (what detectors and sub-detectors are made of) …… – triggers (what is activated by each trigger) …… – event building (what to do with the events on GDCs) …… – memory banks (where to store the data structures) Readout equipment (data sources on LDCs) RunControl parameters (dynamic) Misc. items: DIM DNS, environment, … 2004

5 31/01/2007 – S.C.Alice DAQ configuration DB 5 DATE v5 - configuration SQL based Constraints to avoid inconsistencies GUI APIs unchanged Backward compatible (runtime/compile switch) Critical shared resources distributed with SQL Few static items still in flat files 2005 2007 : Now everything in MySQL

6 31/01/2007 – S.C.Alice DAQ configuration DB 6 Operator console MySQL server DATE nodes Architecture

7 31/01/2007 – S.C.Alice DAQ configuration DB 7 SQL db Improves data distribution and configuration integrity compared to NFS ASCII files. Simple structure, few tables (10s), little data (1000s records) Peak read access when DAQ starts (100s clients) Infrequent write access (by operator and runcontrol) No use of special features, standard SQL, any back-end should fit DATE Language interfaces: C, Tcl/Tk, php

8 31/01/2007 – S.C.Alice DAQ configuration DB 8 Config db schema

9 31/01/2007 – S.C.Alice DAQ configuration DB 9 SQL db - requirements Ease of installation –Dynamic setup, may need to create many times different systems –Independency for quick changes Control on the server: –to monitor behavior –how to tune performance –improve server setup accordingly for development phase

10 31/01/2007 – S.C.Alice DAQ configuration DB 10 SQL db - requirements Version control –Version must be stable during data taking period Maintenance and operation –Fast reactivity, known procedures, internal know-how –On the fly setup change when needed (performance tuning, …) for production phase

11 31/01/2007 – S.C.Alice DAQ configuration DB 11 MySQL Open source Free DB system to distribute to institutes using DATE Easy setup Good feedback on bugs (#7838) Platform compatibility Interfaces for C, Tcl, Php … Good performance No strong dependency, in house expertise MySQL version 4: innodb, … MySQL version 5: promising features (views, triggers, …) 2005

12 31/01/2007 – S.C.Alice DAQ configuration DB 12 MySQL RPM setup, binary tarball, source compilation Server setup: –Users and table creation with simple SQL commands –Can also copy an existing database: copy whole directory and it works (good for backup as well) Client program: linked with corresponding platform library Installation is a matter of minutes

13 31/01/2007 – S.C.Alice DAQ configuration DB 13 DB performance tests

14 31/01/2007 – S.C.Alice DAQ configuration DB 14 DB performance tests Operator console MySQL server DAQ nodes Configuration DB: concurrent access 65 LDC, 65 GDC

15 31/01/2007 – S.C.Alice DAQ configuration DB 15 DB performance tests 2007

16 31/01/2007 – S.C.Alice DAQ configuration DB 16 MySQL operation Excellent stability – no crash so far Simplicity to setup & run Scalable Nice GUI tools: –MySQL Administrator –MySQL Query Browser –MySQL Workbench

17 31/01/2007 – S.C.Alice DAQ configuration DB 17 Other DB usage in Alice DAQ infoLogger store logs of all DAQ nodes Detector Config specific hardware configuration File Exchange Server export data to outside world Logbook Summary information for each run Machine db DAQ hardware configuration: LAN, cables, racks, …

18 31/01/2007 – S.C.Alice DAQ configuration DB 18 Conclusion Now entering production Software ready and stable Still flexible for new features Good choice so far


Download ppt "1 Alice DAQ Configuration DB"

Similar presentations


Ads by Google