Configuration database status report Configuration database status report Eric van Herwijnen Eric van Herwijnen th 2004 September 29 th 2004 September 29 work done by: work done by: Lana Abadie Abadie Lana Felix Schmidt- -Eisenlohr Eisenlohr Felix Schmidt
Contents Contents Objectives (reminder) Objectives (reminder) � � Schema (done) Schema (done) � � Integration with JCOP configuration db tool Integration with JCOP configuration db tool � � Schema (to be done) Schema (to be done) � � API API � � Production Status Production Status � � Tools Tools � � Conslusion Conslusion � � Wed Sept 29th 2004 Configuration Database Status Report 2
Conf. Conf. DB DB Experimental Equipment ... ... PVSS PVSS PVSS PVSS Archive Archive PVSS PVSS Archive Archive CASTOR CASTOR PVSS PVSS Archive Archive ... ... Archive Archive Cond. Cond. To Offline To Offline DB DB External data handling architecture External data handling architecture (see C. Gaspar Gaspar, 25 , 25 nov nov 2003) 2003) (see C.
Objectives (reminder) Objectives (reminder) Initialize, configure and monitor detector Initialize, configure and monitor detector � � components components � e.g. boards, channels, trigger algorithms Running modes/activities Running modes/activities � � � physics, calibration, subdetector testing Store configuration data in a database Store configuration data in a database � � Design and implementation Design and implementation � � � Schema � Tools: maintenance, data entry/retrieval, configuration, expansion, navigation Wed Sept 29th 2004 Configuration Database Status Report 4
Schema (done) Schema (done) Oracle DB Oracle DB � � Devices (types, names) Devices (types, names) � � Links (between devices) Links (between devices) � � Paths (from device a to device b) Paths (from device a to device b) � � Partitions (selectable subsets of the detector) Partitions (selectable subsets of the detector) � � Activities (running modes) Activities (running modes) � � Integrated with JCOP conf. db tool Integrated with JCOP conf. db tool � � Wed Sept 29th 2004 Configuration Database Status Report 5
Integration with JCOP conf. db tool Integration with JCOP conf. db tool PVSS <- -> Oracle > Oracle PVSS < � � Use this tool off the shelf Use this tool off the shelf � � To store device parameter sets (values of registers) To store device parameter sets (values of registers) � � For activity dependent recipes For activity dependent recipes � � Some version control Some version control � � Independent table sets Independent table sets � � Ensure consistency of names with LHCb LHCb tables tables Ensure consistency of names with � � Wed Sept 29th 2004 Configuration Database Status Report 6
Schema (to be done) Schema (to be done) Version control Version control � � How to store software or pointers to it? How to store software or pointers to it? � � Trigger algorithms for Trigger Challenge Trigger algorithms for Trigger Challenge � � Spares Spares � � History History � � Geographical location of devices Geographical location of devices � � Wed Sept 29th 2004 Configuration Database Status Report 7
API API Required for db access from different clients (Python, Required for db access from different clients (Python, � � C++) C++) Work started Work started � � � C++ routines to connect to PVSS (via DIM) � Visualiser cdbVis (via Python) Wed Sept 29th 2004 Configuration Database Status Report 8
Production status Production status Integrated into TFC control system Integrated into TFC control system � � � Dynamically determines the switch connectivity � Finds free devices � Uses partitions � Save recipes (hw configuration) in JCOP db Software and panels in CVS: Software and panels in CVS: � � � http://isscvs.cern.ch/cgi-bin/cvsweb.cgi/TFC/?cvsroot=lhcb Wed Sept 29th 2004 Configuration Database Status Report 9
Tools Tools Visualiser/editor /editor cdbVis cdbVis Visualiser � � Graphic interface (python) to db Graphic interface (python) to db � � Displays devices and their connections Displays devices and their connections � � Can select, copy & paste Can select, copy & paste � � Still to do: Still to do: � � � Mass data entry � Partition editor � Fault identification Wed Sept 29th 2004 Configuration Database Status Report 11
Conclusion Conclusion Rudiments of system exist Rudiments of system exist � � Integrate with subdetector subdetector control systems control systems Integrate with � � First production version early 2005 First production version early 2005 � � Wed Sept 29th 2004 Configuration Database Status Report 13
Recommend
More recommend