160 likes | 316 Views
Configuration Database. Lana Abadie, LHCb week, May 25. The configuration database. Storage of all controllable devices with their properties the links between them their hierarchy The control system can be bootstrapped from the configuration database.
E N D
Configuration Database Lana Abadie, LHCb week, May 25
The configuration database • Storage of all controllable devices with • their properties • the links between them • their hierarchy • The control system can be bootstrapped from the configuration database.
DB Design Methodology (ex: the TFC system) • TFC dataflow
TFC DATAFLOW X ≤16 used 1 Throttle set of links TFC set of links DAQ set of links TFC set of links sometimes possible ODIN_X Readout s. THOR_00 (TFC) 16*16 TTCtx_X transmitter(16*14) X≤16 TTCocX_Y Opt. couplers(1*32) Y≤14 TTCrxX_Y receiver (1*32) TTCrxX_Y_W receiver (1*32) W≤32 Z<16 SubDet_L0FEX_Y_Z (?*1) X≤16 Munin0_X 32*2 SubDet_L1FEX_Y_Z (?*5) DAQ (readout net) MuninL0_00 16*16 MuninL1_00 16*16 SubDet can be (VELO, RICH, L0MUON,...)
DB Design Methodology (ex: the TFC system) • TFC dataflow • TFC system : use cases
TFC system : use cases List of possible scenarios (2 examples) Find all the connection paths between 2 devices Define the routing table of the TFC switch
DB Design Methodology (ex: the TFC system) • TFC dataflow • TFC system: use cases • Entity relation model & Table design
Entity relation model Thor Routing RoutingId switch name Output word Input nbr Device +Device Name +Device type +Active 1 N Table design Device +Device Name (pk) +Device type (fk) ref SwitchType(Switch_type) + active Thor Routing RoutingId(pk) switch_name(fk) references device_list(devname) Output_ptnb Inp_ptnb unique(RoutingId, output_port_nb) 1 N
DB Design Methodology (ex the TFC System) • TFC dataflow • TFC system : use cases • Entity relation model & Table design • Conf.DB & PVSS (Framework) • Structure of the Conf.DB
Structure of the Conf.DB PVSSSystem PVSS Libraires & Tools Conf. DB PART OF THE FRAMEWORK fw_recipes fw_device fw_com ponents fw_device_ properties fw_recipes _properties PL/SQL scripts DIM SERVER device tfc_path
DB Design Methodology (ex the TFC System) • TFC dataflow • TFC system : use cases • Entity relation model & Table design • Conf.DB & PVSS • Structure of the Conf.DB • Presentation of the demo
Physics trigger Local trigger (Optional) L0 / L1 L0 / L1 L0 / L1 Clock Clock Clock Clock Readout Supervisor 0 Single TFC master : Readout Supervisor Fan-out / Fan-in : Support partitioning Throttle Switch TFC Switch Readout Supervisor 3 Readout Supervisor 1 Readout Supervisor 2 VELO FE ST FE OT FE RICH FE ECAL FE . . . Front-End Presentation of the demo (1/2) Readout Supervisor 1 TFC Switch WILL BE SIMULATED BY A TEST BOARD (freja) VELO FE ST FE OT FE
Presentation of the demo (2/2) • Connection to the hardware (from the TFC system) via PVSS • Creation of the different devices (TFC switch, read out supervisor...) in PVSS and storage in the fw_ tables • Insert in other tables the different connectivities between devices • Queries to the tables (tfc_path) to get the connectivities between the TFC switch and the subsystems. • Links to other existing panels to configure the different components with possibile storage in the fw_ tables under different versions • Make the updates in the other tables
DB Design Methodology (ex: the TFC system) • TFC dataflow • TFC system : use cases • Entity relation model & Table design • Conf.DB & PVSS • Structure of the Conf.DB • Presentation of the DEMO • Conclusion
Conclusion • Design of TFC and Read Out Network system tables completed • First prototype built to show possible queries to the Conf.DB via PVSS • Future work: • Design of other subsystem tables (connectivities) • Optimization of performance • Design of a generic API
Thank you for your attention QUESTIONS ?