William Badgett ― CMS Online Web-Based Monitoring ― 2007.09.05 1 CMS Online Web-Based Monitoring and Remote Operations William Badgett, Fermilab for the.

Slides:



Advertisements
Similar presentations
A Presentation Management System for Collaborative Meetings Krzysztof Wrona (ZEUS) DESY Hamburg 24 March, 2003 ZEUS Electronic Meeting Management System.
Advertisements

DT228/3 Web Development WWW and Client server model.
1 Chapter 12 Working With Access 2000 on the Internet.
Servlets and a little bit of Web Services Russell Beale.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Multiple Tiers in Action
What is adaptive web technology?  There is an increasingly large demand for software systems which are able to operate effectively in dynamic environments.
1 The World Wide Web. 2  Web Fundamentals  Pages are defined by the Hypertext Markup Language (HTML) and contain text, graphics, audio, video and software.
F Fermilab Database Experience in Run II Fermilab Run II Database Requirements Online databases are maintained at each experiment and are critical for.
Web-based Portal for Discovery, Retrieval and Visualization of Earth Science Datasets in Grid Environment Zhenping (Jane) Liu.
Screen Snapshot Service Kurt Biery LAFS Meeting, 08-May-2007.
XP New Perspectives on Microsoft Access 2002 Tutorial 71 Microsoft Access 2002 Tutorial 7 – Integrating Access With the Web and With Other Programs.
Quick Tour of the Web Technologies: The BIG picture LECTURE A bird’s eye view of the different web technologies that we shall explore and study.
Sys Prog & Scripting - HW Univ1 Systems Programming & Scripting Lecture 15: PHP Introduction.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
Screen Snapshot Service Kurt Biery SiTracker Monitoring Meeting, 23-Jan-2007.
14th IEEE-NPSS Real Time Conference 2005, 8 June Stockholm.
Internet Basics Dr. Norm Friesen June 22, Questions What is the Internet? What is the Web? How are they different? How do they work? How do they.
Tutorial 1 Getting Started with Adobe Dreamweaver CS3
Tutorial 1: Getting Started with Adobe Dreamweaver CS4.
Brochure: Lucas Taylor CHEP 2009, Prague1CMS Centres Worldwide : A New Collaborative.
J. Patrick - Major Challenges/MOPA021 – a new Remote Operations Center at Fermilab J. Patrick, et al Fermilab.
Test Of Distributed Data Quality Monitoring Of CMS Tracker Dataset H->ZZ->2e2mu with PileUp - 10,000 events ( ~ 50,000 hits for events) The monitoring.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
Requirements Review – July 21, Requirements for CMS Patricia McBride July 21, 2005.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
The Run Control and Monitoring System of the CMS Experiment Presented by Andrea Petrucci INFN, Laboratori Nazionali di Legnaro, Italy On behalf of the.
1 Accelerated Web Development Course JavaScript and Client side programming Day 2 Rich Roth On The Net
HPS Online Software Discussion Jeremy McCormick, SLAC Status and Plans.
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
National Center for Supercomputing Applications NCSA OPIE Presentation November 2000.
Nov. 5th, 2007CMS Tier1 visit to FNAL, “Commissioning, Global Runs & ROC”, Kaori Maeshima 1 Commissioning, Global Runs & ROC CMS Tier1 visit to FNAL November.
Tracker data quality monitoring based on event display M.S. Mennea – G. Zito University & INFN Bari - Italy.
A.Golunov, “Remote operational center for CMS in JINR ”, XXIII International Symposium on Nuclear Electronics and Computing, BULGARIA, VARNA, September,
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
THttpServer for ROOT Bertrand Bellenot, CERN Sergey Linev, GSI Darmstadt
CMS pixel data quality monitoring Petra Merkel, Purdue University For the CMS Pixel DQM Group Vertex 2008, Sweden.
INTRODUCTION TO WEB APPLICATION Chapter 1. In this chapter, you will learn about:  The evolution of the Internet  The beginning of the World Wide Web,
AIDA Web Interface Tony Johnson, Victor Serbo, Max Turri AIDA Workshop, CERN, July 2003.
A radiologist analyzes an X-ray image, and writes his observations on papers  Image Tagging improves the quality, consistency.  Usefulness of the data.
Commissioning, Global Runs & ROC All USCMS Meeting October 05, 2007 Kaori Maeshima.
CHEP 2013, Amsterdam Reading ROOT files in a browser ROOT I/O IN JAVASCRIPT B. Bellenot, CERN, PH-SFT B. Linev, GSI, CS-EE.
1 Web Servers (Chapter 21 – Pages( ) Outline 21.1 Introduction 21.2 HTTP Request Types 21.3 System Architecture.
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
Website Design, Development and Maintenance ONLY TAKE DOWN NOTES ON INDICATED SLIDES.
The ATLAS DAQ System Online Configurations Database Service Challenge J. Almeida, M. Dobson, A. Kazarov, G. Lehmann-Miotto, J.E. Sloper, I. Soloviev and.
Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) HPS Web 2.0 OR Web Apps and Databases (Oh My!) Jeremy McCormick (SLAC)
Distributed Data Servers and Web Interface in the Climate Data Portal Willa H. Zhu Joint Institute for the Study of Ocean and Atmosphere University of.
The Internet Salihu Ibrahim Dasuki (PhD) CSC102 INTRODUCTION TO COMPUTER SCIENCE.
Tutorial 1 Getting Started with Adobe Dreamweaver CS5.
1 Seminar: Pervasive Computing 2004 Automatic mobile device configuration: Status & open challenges Stefan Hoferer Supervisor: Andreas Fasbender.
ArcGIS for Server Security: Advanced
Recipes for Use With Thin Clients
Database Replication and Monitoring
The Client-Server Model
Online remote monitoring facilities for the ATLAS experiment
A Brief Introduction to the Internet
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Tutorial 7 – Integrating Access With the Web and With Other Programs
Introduction to World Wide Web
Presentation transcript:

William Badgett ― CMS Online Web-Based Monitoring ― CMS Online Web-Based Monitoring and Remote Operations William Badgett, Fermilab for the CMS Collaboration, including Jeff Berryhill 1, Kurt Biery 1, Ingo Bloch 1, Wade Fisher 1, Erik Gottschalk 1, Kaori Maeshima 1, David Mason 1, Andreas Meyer 2, Steve Murray 1, Carsten Noeding 1, Ianna Osborne 2, Alan Stone 1, Lucas Tayler 3, Lassi Tuura 3, Zongru Wan 4, Francisco Yumiceva 1 1 Fermilab, 2 DESY-HH, 3 Northeastern Univ., 4 Kansas State Univ Computing in High Energy and Nuclear Physics Conference Online Computing Session OC-2, Id 221 September 5, 2007 Victoria, British Columbia, Canada

William Badgett ― CMS Online Web-Based Monitoring ― Introduction and Outline  CMS Online Web-Based Monitoring  Remote Operations Justification Physical installation, use of web services  Online Web Services Database as source; need for meta-data descriptors Browsing, plotting, & dynamic time correlation plots CMS RunSummary example servlet Screen Snapshot Service S 3 desktop image display Environmental trends over time & real time status Web-Based Root browser; data quality monitoring  Demonstrate experience during data taking Cosmic Ray runs, Global test runs  Conclusions

William Badgett ― CMS Online Web-Based Monitoring ― Where in the World is CMS? 100m below Cessy, France Large Hadron Collider (LHC) √s=14TeV Detects proton-proton collisions CMS Endcap lowering into collision hall

William Badgett ― CMS Online Web-Based Monitoring ― The Really Big CMS Solenoid Electro-magnetic calorimeter 2/3 in collision hall Services to central piece of barrel Preparing for silicon tracker install December Cosmics with Magnet Summer 2008 collisions CMS Collision Hall Muon drift tubes “Compact” Muon Solenoid Silicon tracker goes here

William Badgett ― CMS Online Web-Based Monitoring ― The Really Big CMS World Don’t you remember the original purpose of the WorldWideWeb? The need to disseminate HEP data world-wide grows even more important with huge collaborations spanning the globe

William Badgett ― CMS Online Web-Based Monitoring ― Why Remote Operations? “Leaving Cessy” Thousands of collaborators located all over the world Most of them not resident at CERN Collider H.E.P. has never before been so concentrated in one location Need to disperse and disseminate R.I.P. HERA June 2007 CESR 2008 PEP II 2008 Tevatron October 2009… Future ILC – 2020? 2120? Ever? Are we the last HEP collider experiment? Must be clever to survive

William Badgett ― CMS Online Web-Based Monitoring ― Remote Operations FNAL CERN Tools needed for remote status display Must be easy to use, flexible, drillable Coöperative with firewall, security Must survive trans-Atlantic crossing Also see Lucas Taylor’s talk, “CMS Centers for Control, Monitoring, Offline Operations and Analysis” Thursday, 14:00, DD-6, contribution 260 CMS Underground Control Room Global Integration Run Fermilab Remote Operations Center

William Badgett ― CMS Online Web-Based Monitoring ― Web-Based Monitoring Wealth of information in database  Trigger rates, event rates, cross sections, beam conditions, temperatures, voltages, environmental conditions, etc. …  Database is preferred locale for configuration and monitoring data persistency  Oracle 10 located at CMS site; replicated to offline world  Has current and historical status data Latency ~ < 1 second to ~1 minute Behind firewall for security reasons Need a portal to gain access  Provide display of contents  And provide access control Typical data present, “Value vs. Time”  Needs tools to access, plot, download, correlate Complex, heterogeneous database  Many schemas, many designers  Already have 140 schemas just in the online database & not nearly done Central description needed  Correlate across subsystems  Typical monitoring is “Value vs. Time” Global meta-data descriptive tables

William Badgett ― CMS Online Web-Based Monitoring ― Meta Data Tables Consider “value, time” pairs (x, t x )  Time: Timestamp, Run Number, Luminosity Subsection  Entries in meta-data tables specify value, time, units, type of data, subchannels, …  Allows general purpose retrieval from central tables Conversion: HTML, Text, XML, Root formats  Root TTree n-tuple object with multiple values per time (x, y, z, t)  Optional caching of results  ?FORMAT=TEXT|XML|HTML|Root|GRAPHICS  Dynamic inline embedding of graphics Other pages can access plots automatically  Available via HTML display page links or via direct download with curl or wget : curl “

William Badgett ― CMS Online Web-Based Monitoring ― DatabaseBrowser and GenericQuery DatabaseBrowser and GenericQuery Java/Tomcat servlets are focal point and parents of tools Primarily expert starting point General user pages inherit (Java) from browser Specific use cases, easier to use Peruse database definitions Dynamic query definition Data download, plots

William Badgett ― CMS Online Web-Based Monitoring ― RunSummary query Select by: Run range Time range Component status Run duration, event Trigger type … more to come RunSummary query page an example of these monitoring and browsing tools

William Badgett ― CMS Online Web-Based Monitoring ― RunSummary pages Clickable measurements  Drill-down capability Plot creation  Provides Root TTree and histogram object in file  Resizeable on resubmit

William Badgett ― CMS Online Web-Based Monitoring ― Time Correlation Plots (x, t x ) × (y, t y ) x txtx y tyty w twtw w = x, y t w = t x, t y collate sort and pair nearest neighbors by time TTreeIndex xy txtx tyty plot Must choose independent variable as basis for correlation x y Δt x ~ Δt y ΔT x = ΔT y Time sampling period similar: Time range must be identical: ntuple TH2D Heterogeneous environment, with no a priori correlation necessary

William Badgett ― CMS Online Web-Based Monitoring ― Time Correlation Example Example from MTCC* data magnet current vs. temperature *Magnet Test Cosmic Challenge, November 2006 Browse hundreds of environmental and experimental data samples Dynamically produce plot Download Root, XML, text, HTML OR construct your own URL for in-line linking or non-interactive “wget” access

William Badgett ― CMS Online Web-Based Monitoring ― Trend over Time Plots Search for performance anomalies Interactive, historical, downloadable Selection of type of data Zoom in on problems EM Calorimeter (ECAL) Test Beam

William Badgett ― CMS Online Web-Based Monitoring ― Environmental – Slow Control (Zongrun Wan) Access to current “right-now” conditions …and historical settings and trends… Silicon Tracker Integration Facility Cosmic Ray Runs

William Badgett ― CMS Online Web-Based Monitoring ― RootBrowser Need light-weight method to browse plethora of Root output – e.g. data quality monitoring (DQM)  Some DQM > 100,000 histograms CSC (!)  Display Root Folder tree dynamically  Selective display of objects implementing the Draw() method Implement browser for Root files  Latency ~ 30 seconds to 5 minutes  Transfer minimal data needed for display Dynamic TFolder opening and dynamic TObject display Optional single object download  No dependency on data structure of Root objects  No special web client software needed  Javascript on display (client) side, Java/Tomcat plus Root on server A la Ajax Also developing sophisticated detector-specific display  User-defined markups and arrangement, with tools  Network protocol data transfer – latency < 1 s  Lassi Tuura

William Badgett ― CMS Online Web-Based Monitoring ― DQM / RootBrowser Silicon Tracker Integration Facility Cosmic Ray Run Hadron Calorimeter (HCAL) Global Integration / Cosmic Ray Run New DQM GUI with user markup (Lassi Tuura) Dynamic JavaScript displays with Tomcat/Java backend

William Badgett ― CMS Online Web-Based Monitoring ― Screen Snapshot Service S 3 Remote Operations need Remote Knowledge  Operations screens, e.g. RunControl, HV Control, EventDisplay valuable for remote users to know what is going on  But normally have tight restrictions on access to nodes What is the Screen Snapshot Service?  A way to provide periodic, read-only copies of display images (snapshots) for remote viewing  Similar to products like VNC, pcAnywhere, and VGA2WEB but without the cost or danger of accidental remote control  Can be used to make private-network displays viewable on the public internet (useful for remote monitoring)  Uses commonly available technologies for portability and ease of use: Java, JSP, Tomcat (Kurt Biery)

William Badgett ― CMS Online Web-Based Monitoring ― Screen Snapshot Service Mechanism Snapshot Producer 1 Java web start app Snapshot Producer n Web Service Disk Cache Web Client m Periodic HTTP Web POST with image payload Private net Firewall Public net Web Client 1 Remote Ops Web Client Normal HTTP Request Web page, no special config Provides real time images of monitor displays to remote sites (Kurt Biery) control widget

William Badgett ― CMS Online Web-Based Monitoring ― Screen Snapshot Service Example CMS EventDisplay CMS RunControl (see Alex Oh, CHEP’07 279) Actual snapshots from CMS global integration run (Ianna Osborne) S3S3

William Badgett ― CMS Online Web-Based Monitoring ― More Run Monitor Tools CMS “Page 1” top level status display, simplicity for even the most naïve user (Oracle Portal) CMS Fermilab Data File Process Summary Page Files copied to FNAL Tier 1 site and status of processing (jsp) (S.Murray) (F.Yumiceva, D.Mason)

William Badgett ― CMS Online Web-Based Monitoring ― Conclusions LHC plans first collisions in 2008 Remote Operation will be an important part of CMS data taking Tools have been developed for remote operations  Actively used in Cosmic Runs, Test Beam, Global Integration Runs, late 2006 through 2007  Remote Operations Center or Individual Users and Experts  Continued development in preparation for collisions  Accessible at

William Badgett ― CMS Online Web-Based Monitoring ― More Backup Slides

William Badgett ― CMS Online Web-Based Monitoring ― HomePage cmsmon home page Links to servlets and documentation Visit me

William Badgett ― CMS Online Web-Based Monitoring ― cmsmon Activity cmsmon.cern.ch server access rates >36,000 hits July 2007 …before experiment has begun

William Badgett ― CMS Online Web-Based Monitoring ― <IMG SRC= ?DB=omds &OWNER=DCS_ENVIRONMENT &TABLE=FWMAGNETCMS &SELECT_MAGNET_CURRENT=1 &PLOT_MAGNET_CURRENT=1 &NOTNULL_MAGNET_CURRENT=1 &SELECT_CHANGE_DATE=1 &TIME_CHANGE_DATE=1 &PLOT_CHANGE_DATE=1 &LOW_CHANGE_DATE= _13:40:40 &HIGH_CHANGE_DATE= _13:40:40 &MIN_CHANGE_DATE= _13:40:40 &MAX_CHANGE_DATE= _13:40:40 &FORMAT=GRAPHICS> Example URL Plot Query Location of Data in DB Which columns to plot, which column is time Time and plot ranges or LAST_CHANGE_DATE=seconds Payload returned will be purely PNG graphics

William Badgett ― CMS Online Web-Based Monitoring ― Example Multiple Time Plot Plotting current, temperature and magnet current from November 2006 Downloadable Root file contains composite TTree ntuple for all three