Configuration Database David Forrest University of Glasgow.

Slides:



Advertisements
Similar presentations
How Will it Help Me Do My Job?
Advertisements

Secure File Transfer Protocol (SFTP) With Secure Copy (SC) What is a Secure File Transfer Protocol with Secure Copy???
Configuration management
The Electronic Office Some supplementary information Corporate websites Office automation Company intranet.
A Toolbox for Blackboard Tim Roberts
March 24-28, 2003Computing for High-Energy Physics Configuration Database for BaBar On-line Rainer Bartoldus, Gregory Dubois-Felsmann, Yury Kolomensky,
How to…….  ICID review is moving from paper-based to electronic  Some elements of the review remain as they were, ie:  You will edit your document,
Software Summary Database Data Flow G4MICE Status & Plans Detector Reconstruction 1M.Ellis - CM24 - 3rd June 2009.
Grid and CDB Janusz Martyniak, Imperial College London MICE CM37 Analysis, Software and Reconstruction.
Batch Production and Monte Carlo + CDB work status Janusz Martyniak, Imperial College London MICE CM37 Analysis, Software and Reconstruction.
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.
1 Database Collaboration Meeting 26 University of California Riverside Mission Inn David Forrest University of Glasgow
Data Quality Assurance Linda R. Coney UCR CM26 Mar 25, 2010.
1 Configuration Database David Forrest University of Glasgow MICO Meeting 13/10/2008
Online Reconstruction Update Linda R. Coney UCR Mar 25, 2010.
1 Configuration Database Review David Forrest University of Glasgow RAL :: 1 st June 2009.
Computing Panel Discussion Continued Marco Apollonio, Linda Coney, Mike Courthold, Malcolm Ellis, Jean-Sebastien Graulich, Pierrick Hanlet, Henry Nebrensky.
Software Parallel Intro 1M.Ellis - CM23 - Harbin - 15th January 2009  Focus this CM continues to be on needs for analysis of data and use of G4MICE online.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 7: Planning a DNS Strategy.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
8/9/2015 1:47 AM SurveyCentralOverview.ppt CSC ©Copyright 2012 Online Survey Application: CSC Survey Central System Overview November 26, 2012 Supported.
Copyright ©2014 Pearson Education, Inc. Chapter 3 Requirements and Business Rules Chapter3.1.
Securing Legacy Software SoBeNet User group meeting 25/06/2004.
MICE CM25 Nov 2009Jean-Sebastien GraulichSlide 1 Online Summary o Detector DAQ o Controls And Monitoring o Online Data Base o Bottom Lines Jean-Sebastien.
1 The SpaceWire Internet Tunnel and the Advantages It Provides For Spacecraft Integration Stuart Mills, Steve Parkes Space Technology Centre University.
CM26 March 2010Jean-Sebastien GraulichSlide 1 Online Summary o The heplnw17 case o DAQ o CAM o Online Reconstruction o Data Base o Data Storage Jean-Sebastien.
Software Summary 1M.Ellis - CM23 - Harbin - 16th January 2009  Four very good presentations that produced a lot of useful discussion: u Online Reconstruction.
An Introduction to Software Architecture
T. Rowe Price, Invest With Confidence and the Bighorn Sheep logo is a registered trademark of T. Rowe Price Group, Inc. Please dial from.
MICE VC June 2009Jean-Sébastien GraulichSlide 1 Feed back from the DAQ review o Facts o Detector DAQ o Important Comments o Bottom line Jean-Sebastien.
 To explain the importance of software configuration management (CM)  To describe key CM activities namely CM planning, change management, version management.
Instant Messaging for the Workplace A pure collaborative communication tool that does not distract users from their normal activities.
Usability Issues Documentation J. Apostolakis for Geant4 16 January 2009.
Software & Computing 1M.Ellis - CM th July 2010  Announcement  Software u Current Status u Open Issues u Roles u Next Steps  Computing u Status.
QCDGrid Progress James Perry, Andrew Jackson, Stephen Booth, Lorna Smith EPCC, The University Of Edinburgh.
Configuration Database MICE Collaboration Meeting 28, Sofia David Forrest University of Glasgow Antony Wilson Science and Technology Facilities Council.
New perfSonar Dashboard Andy Lake, Tom Wlodek. What is the dashboard? I assume that everybody is familiar with the “old dashboard”:
Configuration Database Antony Wilson MICE CM February 2011 RAL 1.
IPortal Bringing your company and your business partners together through customized WEB-based portal software. SanSueB Software Presents iPortal.
ALICE, ATLAS, CMS & LHCb joint workshop on
Test and Review chapter State the differences between archive and back-up data. Answer: Archive data is a copy of data which is no longer in regular.
JANA and Raw Data David Lawrence, JLab Oct. 5, 2012.
Security monitoring boxes Andrew McNab University of Manchester.
240-Current Research Easily Extensible Systems, Octave, Input Formats, SOA.
Security Vulnerabilities Linda Cornwall, GridPP15, RAL, 11 th January 2006
Configuration Database David Forrest 15th January 2009 CM23, HIT, Harbin.
Building Simulation Model In this lecture, we are interested in whether a simulation model is accurate representation of the real system. We are interested.
Online Software 8-July-98 Commissioning Working Group DØ Workshop S. Fuess Objective: Define for you, the customers of the Online system, the products.
Online Reconstruction 1M.Ellis - CM th October 2008.
David Adams ATLAS DIAL: Distributed Interactive Analysis of Large datasets David Adams BNL August 5, 2002 BNL OMEGA talk.
MICE CM28 Oct 2010Jean-Sebastien GraulichSlide 1 Detector DAQ o Achievements Since CM27 o DAQ Upgrade o CAM/DAQ integration o Online Software o Trigger.
1 Chapter 12 Configuration management This chapter is extracted from Sommerville’s slides. Text book chapter 29 1.
Chapter 3 Requirements and Business Rules Copyright © 2012 Pearson Education, Inc. Publishing as Prentice HallChapter3.1.
Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) HPS Web 2.0 OR Web Apps and Databases (Oh My!) Jeremy McCormick (SLAC)
Software Overview 1M. Ellis - CM21 - 7th June 2008  Simulation Status  Reconstruction Status  Unpacking Library  Tracker Data Format  Real Data (DATE)
IllinoisJobLink.com Training Video Creating a Resume Copyright © 2015, America’s Job Link Alliance–Technical Support (AJLA–TS) All rights reserved. This.
1 Configuration Database David Forrest University of Glasgow RAL :: 31 May 2009.
M.Frank, CERN/LHCb Persistency Workshop, Dec, 2004 Distributed Databases in LHCb  Main databases in LHCb Online / Offline and their clients  The cross.
Simulation Production System Science Advisory Committee Meeting UW-Madison March 1 st -2 nd 2007 Juan Carlos Díaz Vélez.
CONTRACT CONTROL. IPM Global – Why IPM Exists We believe Project Management Software should be easy to use. We believe Software should be flexible, and.
Advanced Higher Computing Science
Training Documentation – Replacing GSPR with RFQ 2.0
Database High-Level Overview
MICE Collaboration Meeting Saturday 22nd October 2005 Malcolm Ellis
Single Sample Registration
Data Management and Database Framework for the MICE Experiment
LCGAA nightlies infrastructure
An Introduction to Software Architecture
Welcome Traceability Software Integrators
Offline framework for conditions data
Presentation transcript:

Configuration Database David Forrest University of Glasgow

Scope The configuration database deals with cabling, calibration, geometry, alarm handler limits and set value configuration information only; not data Its use cases are useful for offline analysis, reconstructing the configuration of the experiment Eg “Give me the configuration of the experiment at 16:15 on 5 th November 2009” Database is built on Postgres database management system and hosted on heplnw17. The database is not purely relational but also bi-temporal. Please see previous collaboration meeting talks for a fuller explanation of this concept and its justification.

Progress TaskStatusPerson days Database Design Lots Database Implementation Lots Write geometries 7 Reconstruct Geometries 7 Read/write cablings 20 read/write calibrations 7 read/write set values 10 Triggers, constraints and XML DTDs 7 Transactions, rollback, robust feedback 3 Networked calls 5 Documentation 10 Access levels (API, G4MICE, ctrls, det experts) 1 Alarm limits 7 GUI 21 Remote access webserver CM25? Security 5 Client apps Not doneIn ProgressDoneDelegated

Database Functionality No-one in the collaboration (except me) needs to know any SQL to use the database. They will simply use the same software they have been using up until now, which will know how to ask questions of the database There is something called an API which existing programs should communicate with. This API will translate requests into SQL My job is to write that API in one place, rather than include DB code in many places (programs)

In picture form RAL Firewall Grid Users DB Interface DB G4MICE DB Developer Control Room Apps* *Automatic Recording processes in the control room including James Leaver’s user interface for set values

Database Functionality 2 Since the last collaboration meeting there has been much progress Geometry - Can now write and read geometries - We can reconstruct what the geometry was known to be for a given time. We have a history of state. We also can update when misalignments are found. We have a history of those updates. You can reconstruct what was KNOWN about the state of the geometry at some set of given times, very easily. Calibration - Can now write and read calibrations of arbitrary format - One default calibration should be maintained by the detector groups but others can be kept and called specifically Set Values - Can now write and read set values - EPICS GUI (James Leaver) interfaces with this. Thanks also to Pierrick & Adam for help with cataloguing many set vals.

Database Functionality 3 Approval has been given in principle from RAL Networking for a webserver, subject to satisfactory demonstration of security. (Contact : Malcolm Ellis) - This has been a dead weight on the project up to this point - I am setting up such a webserver during this collaboration meeting, for testing, initially not visible to the world

How do I talk to the database? Lets use an example of a G4MICE user wanting to load the configuration of all the experiments with some conditions On the API we have methods like this: getGeometry(Time or run number), getCalibration(detector, time or run), getSetValues(time or run), etc for alarm handler and cabling…also getAll(run)

Use -1 I have almost completed a small web interface for quick answers on run numbers etc

Use-2 The user can insert the run number they wish to read the configuration for into G4MICE data cards An application within G4MICE reads the configuration relevant to that run number from the database Other data card values can be used to choose for example non default calibrations…

Moving over to DB James Leaver has written a gui for deployment in the control room which writes set values to the database instead of having to use spreadsheets Right now this is in prototyping, we have a lot of manual input which is being replaced bit by bit by automatic input, so as much as possible will be automated There are checks and constraints defined to identify sensible input only which will remain in force even when its automated

Moving over to DB 2 We anticipate making less and less of this manual input, and making almost all of it automatic as client apps link up with the database We have already tried uploading set value configurations from the gui and it has worked perfectly

Review Feedback There was a DAQ and controls review following the last collaboration meeting The database was included in this review. Myself and Malcolm Ellis have sent initial feedback to JSG I was not able to be present at this review however did provide documentation and was available to answer any questions put to me on the phone Felt it would be good to take the opportunity to clarify here any potential concerns the collaboration may have, after having read the review

Feedback 2 “The committee [is concerned the] structure of the database would not easily provide access to online distributions taken at some arbitrary date in the past for comparison with current data. “ - This has never been within the remit of the database “Replication of the database to an additional copy accessible externally would mitigate the risk [of excessive traffic], but the appropriate security measures need to be designed into the system as a priority.” - The postgres database management system includes support for defining and queuing transactions, which are indivisible and isolatable units of interaction, with the database. It is used commercially for many high performance applications. The API is also complementary to these concerns. It is unclear to me what added value could be found in making a second copy of the database, (although on a different note, regular backups will be made). I am confident that the software is able to meet our requirements but have neither comment nor criticism of available networking hardware. “It was not clear either from the presentation that this mechanism allows one capture multiple possible configurations for the online systems, for instance setup for normal beam data-taking versus special calibration modes, choose as necessary at run time and then retrospectively determine which was in force. “ - This is a key motivation for providing time dimensionality in the database and information can be found in sections 3.2 & 3.6 in the database brief and slide 17 of the presentation.

Summary Database is progressing well Wish to finish database functionality and perform stress tests which could be presented at CM26 Nevertheless, people should think about integrating DB communication with their applications (contact me for info – but this is an action item for others)

Better Summary This slide was written *before* the talk was given…and is not dynamically created at runtime.