Configuration Database Antony Wilson MICE CM 29 15-18 February 2011 RAL 1.

Slides:



Advertisements
Similar presentations
Copyright Hub Software Engineering Ltd 2010All rights reserved Hub Document Exchange Product Overview Secure Transmission for Transaction-based Documents.
Advertisements

Software Summary Database Data Flow G4MICE Status & Plans Detector Reconstruction 1M.Ellis - CM24 - 3rd June 2009.
HORIZONT 1 ProcMan ® The Handover Process Manager Product Presentation HORIZONT Software for Datacenters Garmischer Str. 8 D München Tel ++49(0)89.
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.
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
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
Experimental Facilities Division ANL-ORNL SNS Experimental Data Standards (Status) Richard Riedel SNS Data Acquisition Group Leader.
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.
MICO Meeting, 1 st March 2010 Terry Hart (MOM) - Decay Solenoid - Targets - DAQ - March User Runs Plans - Suggestions.
Target Monitoring and Control Current status DAQ card – NI 6254 Analog/Digital card Problems with Linux version drivers Currently reading up to 12 channels.
Target Real Time software Current status DAQ card – NI 6254 Analog/Digital card Problems with Linux version drivers Currently reading up to 12 channels.
Pragmatic Application Building: Step by Step Jay Sissom Principal Systems Analyst Indiana University
Target Online Software J. Leaver 01/12/ /06/2015Imperial College 2 Target Controller Software Software for Stage 1 upgrade nearing completion –Hardware.
Henry Nebrensky – CM26 – 24 March 2010 Computing Panel Discussion: SSH Bastion Henry Nebrensky Brunel University 1.
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
IBIS System: Requirements and Components Lois M. Haggard Office of Public Health Assessment.
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.
Advance Computer Programming Java Database Connectivity (JDBC) – In order to connect a Java application to a database, you need to use a JDBC driver. –
QCDgrid Technology James Perry, George Beckett, Lorna Smith EPCC, The University Of Edinburgh.
SOFTWARE & COMPUTING Durga Rajaram MICE PROJECT BOARD Nov 24, 2014.
Shuei MEG review meeting, 2 July MEG Software Status MEG Software Group Framework Large Prototype software updates Database ROME Monte Carlo.
Module 13: Maintaining Software by Using Windows Server Update Services.
Imperial College Tracker Slow Control & Monitoring.
MICE VC Aug '10J.S. GraulichSlide 1 MOM report o Achievements Since CM27 o Daily Operations o Run Plans o Summary Jean-Sebastien Graulich, Geneva.
Control & Monitoring System Update Contributors: Brian Martlew - Daresbury Laboratory - STFC James Leaver - Imperial College Pierrick Hanlet - Fermilab.
Configuration Database MICE Collaboration Meeting 28, Sofia David Forrest University of Glasgow Antony Wilson Science and Technology Facilities Council.
Jan Hatje, DESY CSS ITER March 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
ILDG Middleware Status Chip Watson ILDG-6 Workshop May 12, 2005.
1 Online Calibration of Calorimeter Mrinmoy Bhattacharjee SUNY, Stony Brook Thanks to: D. Schamberger, L. Groer, U. Bassler, B. Olivier, M. Thioye Institutions:
Lesson Overview 3.1 Components of the DBMS 3.1 Components of the DBMS 3.2 Components of The Database Application 3.2 Components of The Database Application.
Configuration Database David Forrest 15th January 2009 CM23, HIT, Harbin.
Running Kuali: A Technical Perspective Ailish Byrne (Indiana University) Jonathan Keller (University of California, Davis)
Online Reconstruction 1M.Ellis - CM th October 2008.
1 Service Creation, Advertisement and Discovery Including caCORE SDK and ISO21090 William Stephens Operations Manager caGrid Knowledge Center February.
1 KEK test-beam software progress Malcolm Ellis MICE Video Conference 4 th May 2005.
Responsibilities for Machines in PPD Antony Wilson MICE CM 32.
MICE Configuration DB Janusz Martyniak, Imperial College London MICE CM39 Software Paralell.
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.
Status of Control Unit Software Cristiano Bozza – 26/8/2015.
Database David Forrest. What database? DBMS: PostgreSQL. Run on dedicated Database server at RAL Need to store information on conditions of detector as.
Business Continuity Planning for OPEN OPEN Development Conference September 18, 2008 Ravi Rajaram IT Development Manager.
Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) HPS Web 2.0 OR Web Apps and Databases (Oh My!) Jeremy McCormick (SLAC)
M. Oldenburg GridPP Metadata Workshop — July 4–7 2006, Oxford University 1 Markus Oldenburg GridPP Metadata Workshop July 4–7 2006, Oxford University ALICE.
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)
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Software Overview 1M. Ellis - CM21 - 7th June 2008  Simulation Status  Reconstruction Status  Unpacking Library  Tracker Data Format  Real Data (DATE)
TRIUMF HLA Development High Level Applications Perform tasks of accelerator and beam control at control- room level, directly interfacing with operators.
Configuration & Management for Joachim Flammer Integration Team EGEE is a project funded by the European Union under contract IST JRA1 all-hands-meeting,
1 Configuration Database David Forrest University of Glasgow RAL :: 31 May 2009.
Summary of TPC/TRD/DCS/ECS/DAQ meeting on FERO configuration CERN,January 31 st 2006 Peter Chochula.
Google Code Libraries Dima Ionut Daniel. Contents What is Google Code? LDAPBeans Object-ldap-mapping Ldap-ODM Bug4j jOOR Rapa jongo Conclusion Bibliography.
MICE Online Group Linda R. Coney UCR MICE CM31 UMiss October 2011.
International Planetary Data Alliance Registry Development and Coordination Project Report 7 th IPDA Steering Committee Meeting July 13, 2012.
Configuration Database David Forrest University of Glasgow.
Software tools for digital LLRF system integration at CERN 04/11/2015 LLRF15, Software tools2 Andy Butterworth Tom Levens, Andrey Pashnin, Anthony Rey.
Coney - CM36 - June Online Overview L. Coney – UCR MICE CM36 – June 2013.
MAUS Status A. Dobbs CM43 29 th October Contents MAUS Overview Infrastructure Geometry and CDB Detector Updates CKOV EMR KL TOF Tracker Global Tracking.
MICE Computing and Software
Data Management and Database Framework for the MICE experiment
Database High-Level Overview
Data Management and Database Framework for the MICE Experiment
Configuration Database
What’s changed in the Shibboleth 1.2 Origin
Automation of Control System Configuration TAC 18
Eurostat Unit B3 – IT and standards for data and metadata exchange
Presentation transcript:

Configuration Database Antony Wilson MICE CM February 2011 RAL 1

Overview Handover Configuration – Deployment – Backups Software – Move to WSDL Issues 2

Handover David has provided a document as a mice note – 27/MICE0327.pdf 27/MICE0327.pdf Beam Line Settings – needs extending, discussed later Calibrations Electronic Channel Mapping and Cabling Alarm Handler – newer version implemented with WSDL interface Geometry – newer version implemented with WSDL interface 3

CONFIGURATION 4

PPD micewww Tomcat CDB read only API Tomcat CDB read only API FIREWALL MICENET configDB postgres Configuration database Tomcat CDB API Tomcat CDB API online box CDB client API read only db user read/write db user new mouse box postgres Configuration database Tomcat CDB API Tomcat CDB API continuous update This is a manual failover controlled by a configuration file read/write db user Deployment All client access is via Tomcat Off site access is read only via micewww Access from MICENET is read write 5

Backups 6 Config DB – on PPD OS on mirrored array Database on mirrored array Transaction logs on mirrored array Hourly off site backup Config DB – on MICENET OS on mirrored array Database on mirrored array Transaction logs on mirrored array continuous update Coming soon SALVE MASTER

Recovery Procedure Recovery procedure tested on one machine nfigdb/wiki/Backups nfigdb/wiki/Backups Postgres 9 provides native support for master slave mechanism. N.B. slave is read only ISSUE – The redmine database is on heplnm069 7

SOFTWARE 8

Updating Config DB Code Coding standards introduced for G4Mice group (C++) Analogous standards being used for the Config DB (Java) As code is updated – Fully documented with javadoc – Logging added using log4j – Unit tests with junit JAX-WS used to generate WSDL interface 9

Move to Web Service Definition Language (WSDL) A WSDL interface describes how to communicate with the Config DB The WSDL can be used to generate client APIs All new/updated component will provide a WSDL interface – AlarmHandler – Geometry – Controls API documentation is provided via javadoc –

WSDL Clients Java clients – Generated using JAX-WS – Used for system testing Python clients – Use suds from suds.client import Client url= ' cdbGeometyClient = Client(url) # client to talk to Config DB print cdbGeometyClient # list available methods on Config DB print cdbGeometyClient.service.getStatus() # call Config DB method 11

WSDL Clients C++ clients – Generate using gSoap – James has generated a C++ client for the AlarmHandler – Ivan has generated a C++ client for the Geometry – Controls is a work in progress 12

Issues Controls interface requires access to HV cabling data Beam line settings – extra fields required 13

Access to HV Cabling Data Current Electronic Channel Mapping and Cabling API takes a file as input parameter Config DB has no knowledge of the contents of the file Config DB needs access to HV cabling data Is HV cabling data embedded in these files? Need to agree on common format for all HV cabling data and provide new Config DB API What to do with the rest of the cabling data? 14

Beam Line Settings We already have a Boolean status flag Need to add “run type” flag? – Use bit map Cosmic test Target not dipped Normal mice run Additional data quality information stored in the metadata database? 15

Beam Line Settings To Do Add “run type” flag Change Depth from mm to microns These are in the ops room spreadsheet – Triggers per spills – Particle triggers – Proton absorber thickness (mm) – Momentum at target Run 1 1 Magnets Id[primary key] MagnetName SetCurrent RunNumber [foreign key] * RunNumber[primary key] Start End Notes MomentumD1 MomentumD2 Species PulseStart PulseEnd Step Status DaqId [foreign key] TargetId [foreign key] ISISId [foreign key] ISIS Id[primary key] RepRate NominalBeamCurrent NominalBeamLoss TargetFrequency Target Id[primary key] DriveVoltage Delay Depth DAQ Id[primary key] Trigger GateWidth Version 1 16

Summary Recovery mechanism from transaction logs tested and documented Alarm Handler WSDL interface in use Geometry WSDL interface prototyped Blocking issue on Controls WSDL interface – Require access to HV cabling data Beam line settings WSDL conversion not started yet – Require agreement for new field(s) 17