Misha Borodin: ATLAS Computing ATLAS S&C week – 02 December 2010 1 Conditions DB access from Python tools M. Borodin (MEPhI/CERN)

Slides:



Advertisements
Similar presentations
The Latest news … and Future of ATLAS Databases Elizabeth Gallas - Oxford ATLAS Software & Computing Workshop CERN November 29 to December 3, 2010.
Advertisements

Software Quality Assurance Inspection by Ross Simmerman Software developers follow a method of software quality assurance and try to eliminate bugs prior.
Grid and CDB Janusz Martyniak, Imperial College London MICE CM37 Analysis, Software and Reconstruction.
Semester 2, 2003 Week 7 CSE9020 / 1 Software Testing and Quality Assurance With thanks to Shonali Krishnaswamy and Sylvia Tucker.
Asper School of Business University of Manitoba Systems Analysis & Design Instructor: Bob Travica System implementation and deployment Updated: November.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
LHC Experiment Dashboard Main areas covered by the Experiment Dashboard: Data processing monitoring (job monitoring) Data transfer monitoring Site/service.
Database Deployment on OSG Yuri Smirnov BNL US ATLAS DDM operations and MC production Workshop, BNL September 28-29, 2006.
WorkPlace Pro Utilities.
Semester 1, 2003 Week 7 CSE9020 / 1 Software Testing and Quality Assurance With thanks to Shonali Krishnaswamy and Sylvia Tucker.
Software Quality Assurance Lecture #8 By: Faraz Ahmed.
5 November 2001F Harris GridPP Edinburgh 1 WP8 status for validating Testbed1 and middleware F Harris(LHCb/Oxford)
Nightly Releases and Testing Alexander Undrus Atlas SW week, May
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
BaBar Grid Computing Eleonora Luppi INFN and University of Ferrara - Italy.
ATLAS Metrics for CCRC’08 Database Milestones WLCG CCRC'08 Post-Mortem Workshop CERN, Geneva, Switzerland June 12-13, 2008 Alexandre Vaniachine.
Introduction: Distributed POOL File Access Elizabeth Gallas - Oxford – September 16, 2009 Offline Database Meeting.
CERN IT Department CH-1211 Genève 23 Switzerland t Internet Services Job Monitoring for the LHC experiments Irina Sidorova (CERN, JINR) on.
Distribution After Release Tool Natalia Ratnikova.
LHC: ATLAS Experiment meeting “Conditions” data challenge Elizabeth Gallas - Oxford - August 29, 2009 XLDB3.
Performance Dash A free tool from Microsoft that provides some quick real time information about the status of your SQL Servers.
2nd September Richard Hawkings / Paul Laycock Conditions data handling in FDR2c  Tag hierarchies set up (largely by Paul) and communicated in advance.
Stuart Wakefield Imperial College London Evolution of BOSS, a tool for job submission and tracking W. Bacchi, G. Codispoti, C. Grandi, INFN Bologna D.
ATLAS Detector Description Database Vakho Tsulaia University of Pittsburgh 3D workshop, CERN 14-Dec-2004.
Slide 12.1 Chapter 12 Implementation. Slide 12.2 Learning outcomes Produce a plan to minimize the risks involved with the launch phase of an e-business.
Cs413_design04.ppt Design and Software Development Design : to create a functional interface that has high usability Development : an organized approach.
The Persistency Patterns of Time Evolving Conditions for ATLAS and LCG António Amorim CFNUL- FCUL - Universidade de Lisboa A. António, Dinis.
Lesson 1 Operating Systems, Part 1. Objectives Describe and list different operating systems Understand file extensions Manage files and folders.
1 Database mini workshop: reconstressing athena RECONSTRESSing: stress testing COOL reading of athena reconstruction clients Database mini workshop, CERN.
David Adams ATLAS DIAL/ADA JDL and catalogs David Adams BNL December 4, 2003 ATLAS software workshop Production session CERN.
Analysis trains – Status & experience from operation Mihaela Gheata.
CERN - IT Department CH-1211 Genève 23 Switzerland t COOL Conditions Database for the LHC Experiments Development and Deployment Status Andrea.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks Implementation and performance analysis of.
Implementing and Using the SIRWEB Interface Setup of the CGI script and web procfile Connecting to your database using HTML Retrieving data using the CGI.
Integration of the ATLAS Tag Database with Data Management and Analysis Components Caitriana Nicholson University of Glasgow 3 rd September 2007 CHEP,
INFSO-RI Enabling Grids for E-sciencE ARDA Experiment Dashboard Ricardo Rocha (ARDA – CERN) on behalf of the Dashboard Team.
1 P. Chu 1 Adapting XAL for LCLS EPICS Meeting, Vancouver Adapting XAL for LCLS Paul Chu - SLAC May 1, 2009.
G.Govi CERN/IT-DB 1 September 26, 2003 POOL Integration, Testing and Release Procedure Integration  Packages structure  External dependencies  Configuration.
New COOL Tag Browser Release 10 Giorgi BATIASHVILI Georgian Engineering Center 23/10/2012
ELECTRONIC DOCUMENT SHARING AND MANAGEMENT BY: EDWARD DISI JUSTIN HEIN BROM ESPY Senior Design 1.
Secure Search Engine Ivan Zhou Xinyi Dong. Project Overview  The Secure Search Engine project is a search engine that utilizes special modules to test.
The ATLAS TAGs Database - Experiences and further developments Elisabeth Vinek, CERN & University of Vienna on behalf of the TAGs developers group.
November 1, 2004 ElizabethGallas -- D0 Luminosity Db 1 D0 Luminosity Database: Checklist for Production Elizabeth Gallas Fermilab Computing Division /
Outline Announcements: –HW I key online this afternoon –HW II due Friday –Sign up to discuss projects Debugging Testging for correctness.
INFSO-RI Enabling Grids for E-sciencE Using of GANGA interface for Athena applications A. Zalite / PNPI.
CERN IT Department CH-1211 Genève 23 Switzerland t COOL Performance Tests ATLAS Conditions Database example Romain Basset, IT-DM October.
Utility of collecting metadata to manage a large scale conditions database in ATLAS Elizabeth Gallas, Solveig Albrand, Mikhail Borodin, and Andrea Formica.
FroNtier Stress Tests at Tier-0 Status report Luis Ramos LCG3D Workshop – September 13, 2006.
Status of tests in the LCG 3D database testbed Eva Dafonte Pérez LCG Database Deployment and Persistency Workshop.
Level 1-2 Trigger Data Base development Current status and overview Myron Campbell, Alexei Varganov, Stephen Miller University of Michigan August 17, 2000.
TAG and iELSSI Progress Elisabeth Vinek, CERN & University of Vienna on behalf of the TAG developers group.
20 October 2005 LCG Generator Services monthly meeting, CERN Validation of GENSER & News on GENSER Alexander Toropin LCG Generator Services monthly meeting.
Software. Introduction n A computer can’t do anything without a program of instructions. n A program is a set of instructions a computer carries out.
JRA1 Meeting – 09/02/ Software Configuration Management and Integration EGEE is proposed as a project funded by the European Union under contract.
Joe Foster 1 Two questions about datasets: –How do you find datasets with the processes, cuts, conditions you need for your analysis? –How do.
Dario Barberis: ATLAS DB S&C Week – 3 December Oracle/Frontier and CondDB Consolidation Dario Barberis Genoa University/INFN.
ATLAS Distributed Computing Tutorial Tags: What, Why, When, Where and How? Mike Kenyon University of Glasgow.
L1Calo Databases ● Overview ● Trigger Configuration DB ● L1Calo OKS Database ● L1Calo COOL Database ● ACE Murrough Landon 16 June 2008.
L1Calo DBs: Status and Plans ● Overview of L1Calo databases ● Present status ● Plans Murrough Landon 20 November 2006.
 INDEX  Overview.  Introduction.  System Requirement.  Features Of SQL.  Development Process.  System Design (SDLC).  Implementation.  Future.
Database Replication and Monitoring
3D Application Tests Application test proposals
Elizabeth Gallas - Oxford ADC Weekly September 13, 2011
Database Readiness Workshop Intro & Goals
Server Concepts Dr. Charles W. Kann.
Remaining Online SW Tasks
Overload of frontier lpad by MC Overlay
ATLAS DC2 & Continuous production
Production Manager Tools (New Architecture)
Presentation transcript:

Misha Borodin: ATLAS Computing ATLAS S&C week – 02 December Conditions DB access from Python tools M. Borodin (MEPhI/CERN)

Misha Borodin: ATLAS Computing ATLAS S&C week – 02 December 2010 Outlines lPython tools nList of tools nNew tool: AtlCoolIOVRunCheck.py nNew default logical connections nExpert tasks lObsolete tags lReduce MC DBRelease size lCondition DBRelease news nStatistics nCOOL access during reprocessing 2

Misha Borodin: ATLAS Computing ATLAS S&C week – 02 December 2010 Python tools lAtlCoolCopy.exe nhttps://twiki.cern.ch/twiki/bin/viewauth/Atlas/AtlCoolCopy lAtlCoolMerge, AtlCoolTransfer nhttps://twiki.cern.ch/twiki/bin/viewauth/Atlas/CoolPublishing lAtlCoolConsole: nhttps://twiki.cern.ch/twiki/bin/viewauth/Atlas/AtlCoolConsolehttps://twiki.cern.ch/twiki/bin/viewauth/Atlas/AtlCoolConsole lAtlCoolTag: nhttps://twiki.cern.ch/twiki/bin/viewauth/Atlas/CoolTagging lCondDSMgr nhttps://twiki.cern.ch/twiki/bin/viewauth/Atlas/CondDSMgr lNightly Tasks nhttps://twiki.cern.ch/twiki/bin/viewauth/Atlas/CoolNightlyTasks 3

Misha Borodin: ATLAS Computing ATLAS S&C week – 02 December 2010 New AtlCoolIOVRunCheck.py tool lObject: quick check IOV completeness for all folders for all run list before reprocessing Head tags closed. lInput nRun list nFolder nHead or particular tags lOutput nList of run and folder that haven’t data for input tags. lNote nScript doesn’t check that data correct. Only that some data exist. 4

Misha Borodin: ATLAS Computing ATLAS S&C week – 02 December 2010 New AtlCoolIOVRunCheck.py tool (Cont.) lWill be ready for users very soon. lTool was successfully tested for the COMCOND-REPP* HeadTags for autumn reprocessing lExample of using: /afs/cern.ch/user/a/atlcond/utils/AtlCoolIOVRunCheck.py –r./runlist.txt –f /TRT/Calib/RT –ht COMCOND-REPP lExample output: RUN : schema: ATLAS_COOLOFL_TRT Error No data found: folder : /TRT/Calib/RT tag : TrtCalibRt-Physics-REP-FieldOff

Misha Borodin: ATLAS Computing ATLAS S&C week – 02 December 2010 New default logical connections lIf you use for connection / ("COOLONL_TRT/COMP200”), the correspondence of this physical servers and schema will reads from a file dblookup.xml pointed to by the path variable CORAL_DBLOOKUP_PATH. lUsing asetup like `asetup ` is setup environment to ‘releases’ area, where dblookup.xml are taken from DBRelease (it has SQLIte connection by default) nFor access to Oracle/Frontier you need to use ‘;readoracle’: "COOLONL_TRT/COMP200;readoracle” lStarting from tag CoolConvUtilities connection to “ / ” will skip SQLIte by default n"COOLONL_TRT/COMP200” will connected to Oracle/Frontier lDirect link should used for connection to SQLite: n"sqlite://;schema=mysqlitefile.db;dbname=COMP200” 6

Misha Borodin: ATLAS Computing ATLAS S&C week – 02 December 2010 Expert task lExpert tasks: nCreating a new folder in COOL DB nModifying a folder description nAdding a payload column to a folder nRenaming a payload column nRenaming a folder nDeleting channels nCloning and creating BFieldMap tag lFor all question about expert task, send to me, Richard and Mathieu. 7

Misha Borodin: ATLAS Computing ATLAS S&C week – 02 December 2010 Obsolete tags lThere are now 172 Head tags for the real data and 188 Head tags for the MC data nDifficult to manage nSome tags are never used nSome tags are corresponding to obsolete software release l(Proposed by Paul), Obsolete Head tags should be marked and do not show by COOL tools: nAtlCoolConsole.py nAtlCoolTag.py (backtrace) nCOOL tag browser n…. lWorks in progress 8

Misha Borodin: ATLAS Computing ATLAS S&C week – 02 December 2010 Reduce MC DBRelease size lContinued growth in size and quantity of DBRelease can lead to problems in the future lSeveral steps were proposed (Vakho, Richard): nExclude obsolete Head tags from DBRelease nExclude pool condition files which are not connected to any instance in OFLP200 nExclude all tags which are not corresponded to any Global Tags  For folders with tags that are necessary, but are not corresponded to any Global tags, string “ ” should be added to the folder description. In this case folder will be fully replicated. lReplication scripts almost ready for new approach lIt will break backward compatibility 9

Misha Borodin: ATLAS Computing ATLAS S&C week – 02 December 2010 DB Release for reprocessing and HI lAutumn reprocessing statistics: nTwo sets of DB Release pairs were used: first-pass & main-pass n149 runs (124 in phase I + 25 in phase II), 171 Folders nDataset size: 57 GB in phase I + 13 GB in phase II lComparing with previous reprocessing, the build time increased for long runs, but it is fast enough nThe build time is proportional to the duration of the run lReprocessing experience identified further improvements for DB Release packaging procedures to assure fault tolerance to intermittent site- specific problems lDb-on-demand service was extended for supporting DB Releases build for bulk processing of HI runs at Tier-1s lDB Release assures robust Conditions DB access on the Grid nFurther Conditions DB Release improvements are in progress 10

Misha Borodin: ATLAS Computing ATLAS S&C week – 02 December 2010 Oracle access in reprocessing lDuring Autumn reprocessing several problems were observed during direct Oracle access lTo eliminate direct Oracle access form Athena python code we decided to read all Conditions DB data from SQLite only nAll connections from python code and IOVDBSvc will use SQLite from the Condition DB Release nThe solution was implemented to CoolConvUtilities (CoolConvUtilities ) and to db-on-demnd service lNew database access code was successfully tested lAthena DB connections circumventing IOVDBSvc are still the problem nIt is not yet clear how to create SQLite replicas for them 11

Misha Borodin: ATLAS Computing ATLAS S&C week – 02 December 2010 Conclusion lFor work with ATLAS Condition DB we have several very robust utilities. lCreating new tools for new use cases, improvement of usability and efficient existing one is ongoing. 12