Oct 27 2015HPS Collaboration Meeting Jeremy McCormick (SLAC) HPS Web 2.0 OR Web Apps and Databases (Oh My!) Jeremy McCormick (SLAC)

Slides:



Advertisements
Similar presentations
© 2012 Entrinsik, Inc. Informer Administration Exploring the system menu and functions PRESENTER: Jason Vorenkamp| Informer Software Engineer| March 2012.
Advertisements

JavaScript FaaDoOEngineers.com FaaDoOEngineers.com.
Fundamentals, Design, and Implementation, 9/e Chapter 14 JDBC, Java Server Pages, and MySQL.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
B.Sc. Multimedia ComputingMedia Technologies Database Technologies.
GGF Toronto Spitfire A Relational DB Service for the Grid Peter Z. Kunszt European DataGrid Data Management CERN Database Group.
Fast Track to ColdFusion 9. Getting Started with ColdFusion Understanding Dynamic Web Pages ColdFusion Benchmark Introducing the ColdFusion Language Introducing.
27. to 28. March 2007 | Geneva, Switzerland. Fabrice Romelard ilem SA Level 200.
© 2005, Cornell University. Rapid Application Development using the Kuali Architecture (Struts, Spring and OJB) A Case Study Bryan Hutchinson
Multiple Tiers in Action
Apache Tomcat Server Typical html Request/Response cycle
Crawler-Based Search Engine By: Bryan Chapman, Ryan Caplet, Morris Wright.
1 Foundations of Software Design Lecture 27: Java Database Programming Marti Hearst Fall 2002.
Creating a SharePoint App with Microsoft Access Services
Data Grid Web Services Chip Watson Jie Chen, Ying Chen, Bryan Hess, Walt Akers.
Databases & Data Warehouses Chapter 3 Database Processing.
Form Handling, Validation and Functions. Form Handling Forms are a graphical user interfaces (GUIs) that enables the interaction between users and servers.
MS Access Advanced Instructor: Vicki Weidler Assistant:
Lecture 3 – Data Storage with XML+AJAX and MySQL+socket.io
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
Applets & Servlets.
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
CSCI 6962: Server-side Design and Programming
Module 3: Table Selection
PHP Programming with MySQL Slide 8-1 CHAPTER 8 Working with Databases and MySQL.
Screen Snapshot Service Kurt Biery SiTracker Monitoring Meeting, 23-Jan-2007.
Jan Hatje, DESY CSS ITER March 2009: Alarm System, Authorization, Remote Management XFEL The European X-Ray Laser Project X-Ray Free-Electron.
WaveMaker Visual AJAX Studio 4.0 Training Authentication.
Web Server Administration Chapter 7 Installing and Testing a Programming Environment.
HPS Online Software Discussion Jeremy McCormick, SLAC Status and Plans.
National Center for Supercomputing Applications NCSA OPIE Presentation November 2000.
SYST Web Technologies SYST Web Technologies Databases & MySQL.
Esri UC 2014 | Technical Workshop | Esri Roads and Highways: Integrating and Developing LRS Business Systems Tom Hill.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
ILDG Middleware Status Chip Watson ILDG-6 Workshop May 12, 2005.
Module 10 Administering and Configuring SharePoint Search.
GOAL User Interactive Web Interface Update Pages by Club Officers Two Level of Authentication.
DDM Monitoring David Cameron Pedro Salgado Ricardo Rocha.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Database Server Concepts and Possibilities Lee Lueking D0 Data Browser Workshop April 8, 2002.
EGEE User Forum Data Management session Development of gLite Web Service Based Security Components for the ATLAS Metadata Interface Thomas Doherty GridPP.
DGC Paris WP2 Summary of Discussions and Plans Peter Z. Kunszt And the WP2 team.
NMD202 Web Scripting Week5. What we will cover today PHP & MySQL Displaying Dynamic Pages Exercises Modifying Data PHP Exercises Assignment 1.
Jason Platts Lead Technical Developer The Open University An overview of how the Open University has incorporated bibliographic.
CMap Version 0.16 Ben Faga. CMap CMap Version 0.16 Bug fixes and code optimizations More intuitive menu system Asynchronous loading of comparative map.
Facebook is a social utility that connects you with the people around you. Use Facebook to…  Keep up with friends and family  Share photos and videos.
FriendFinder Location-aware social networking on mobile phones.
JSP Server Integrated with Oracle8i Project2, CMSC691X Summer02 Ching-li Peng Ying Zhang.
Module 9 User Profiles and Social Networking. Module Overview Configuring User Profiles Implementing SharePoint 2010 Social Networking Features.
FriendFinder Location-aware social networking on mobile phones.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
How to combine IRIS products Available APIs Examples of integrations Ole Andersen Senior Strategic Account Manager.
Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary CSS Overview Alarm System and CSS.
Outline Server side Dependencies Installing it Configuring it Client side coding Browser setup.
DGC Paris Spitfire A Relational DB Service for the Grid Leanne Guy Peter Z. Kunszt Gavin McCance William Bell European DataGrid Data Management.
A Presentation Presentation On JSP On JSP & Online Shopping Cart Online Shopping Cart.
REDCap External Modules
Data Visualization with Tableau
Introduction to Dynamic Web Programming
VI-SEEM Data Discovery Service
Conditions System Update and Discussion
IP Publishing From IP Data Base to IP list to IP catalog
New developments on the LHCb Bookkeeping
PHP Overview PHP: Hypertext Preprocessor Server-Side Scripting
A Web-Based Data Grid Chip Watson, Ian Bird, Jie Chen,
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
TN19-TCI: Integration and API management using TIBCO Cloud™ Integration
SDMX IT Tools SDMX Registry
DIBBs Brown Dog BDFiddle
Presentation transcript:

Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) HPS Web 2.0 OR Web Apps and Databases (Oh My!) Jeremy McCormick (SLAC)

Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) OVERVIEW Database Server Conditions Database Run Database Web Server Run Web Data Catalog Online DQM 2

Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) WHY? Databases Central facility for accessing shared information Functional replacement for text files Provides backend for other applications like recon and web apps Change management and authentication (user accounts) Web applications View from “anywhere” without needing any special applications (such as ROOT) Easily share important information such as DQM plots See what’s inside data sources (databases, files, etc.) Because Javascript is magic! 3

Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) 4 DATABASE SERVER Dedicated HPS MYSQL server hpsdb.jlab.org Hosts conditions, run and datacat databases Full access from inside the JLAB firewall from ‘jlab’ hosts Grants for write operations depend on the account Several users have admin privileges (myself and Maurik) Read only access via an external replica External non-jlab hosts cannot see the primary db directly. Non-production copy at SLAC for Hudson builds Accessible in hps-java through APIs built on JDBC

Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) 5 CONDITIONS DATABASE Contains detector conditions data from Test Run to present. Each type of condition has its own table with sets of rows assigned to a collection. Collections are assigned valid run number ranges. Sets of collections can be tagged for reproducibility. Data is accessible in reconstruction via an extensive Java API. The ‘hpsuser’ account has a public password and is used for read-only mode. The ‘hpscalibrations’ account can be used to insert, update or delete existing data.

Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) 6 RUN DATABASE Database of run metadata extracted from crawling the EVIO data Run start and end times Number of events etc. EPICS data Scaler data TI Trigger Time Offset Java API through RunManager Can easily add additional information to DB and API!

Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) RUN LOG Run database currently != run log Run database is currently populated from crawling the data after it is copied to MSS and extracting metadata from EVIO. Run log would be updated via hooks in the DAQ so that it happens concurrently with END and PRESTART events. Implementing requires some coordination with Hall B staff. Need to add C code into CODA Determine which values to include (have gotten some good feedback here) Some values also could be filled interactively by pop-ups, GUI interfaces, etc. 7

Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) 8 WEB SERVER RHEL 7, dual core, 4 GB VM Tomcat 7 Standard Java Servlet container Admin manager only accessible behind JLAB firewall Apache Proxy Specific application URLs mapped to Tomcat Managed by IT Division / CNI Group Terminal access only allowed with crytocard

Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) 9 RUN WEB Shows information from run database on the web. Sortable run table Run page Summary EPICS data Scaler data EVIO datacat link DQM datacat link

Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) 10 DATACAT New data catalog server and REST API from SLAC Query and update via HTTP requests Built-in browser interface MySQL backend (runs at JLAB) Java client API Wrapper for URL based requests Add, update, delete, search Crawler for finding data, extracting meta data and adding to the catalog

Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) EXAMPLE DATACAT PATHS Display Browser /display/browser/HPS Show a path /r/path/HPS Show a dataset /r/path.json/HPS/test/dataset01;s=SLAC Filter /r/search.json/HPS/dataset01?filter=runMin+>+1000 Recursive Search /r/search.json/HPS/**?filter=runMin+eq

Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) 12 DQM ONLINE Example DQM Plots (not production yet!)Example DQM Plots AIDA TLD library of JSP tags (SLAC) Allows easily showing plot files in a web page Can read from AIDA or ROOT files on the file system At JLAB /work can be mounted by server read-only. Export individual plots to graphics files (PNG, etc.)

Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) TODO Finish up JLAB web config Enable authentication via scicomp comp certificate Get DQM server working Run database Consolidate multiple sources of run data into database Code for extraction of run (meta)data should be integrated into the crawler module Data catalog Command line interface Integration with reconstruction and Auger jobs 13

Oct HPS Collaboration Meeting Jeremy McCormick (SLAC) NOW FOR SOMETHING DIFFERENT! What’s new in SLIC these days? Current versions of Geant4 and other dependencies Support for 3D magnetic field maps Displaced vertices in StdHep files now supported (and maybe even tested) Conversion from StdHep event records into LCIO MCParticle collection uses a standard/shared LCIO class Code for translation of Geant4 tracks into MCParticle output collection rewritten 14