Sponsored by the National Science Foundation1October 22, 2014 GENI Monitoring Meeting Stéphane Blais and David P. Wiggins, GPO GEC21, October 22, 2014.

Slides:



Advertisements
Similar presentations
Current Status (Tutorial tomorrow)
Advertisements

EPICS Base R and beyond Andrew Johnson Computer Scientist, AES Controls Group.
Compute Aggregate 1 must advertise this link. We omit the physical port on the switch to which the node is directly connected. Network Aggregate Links.
Microsoft Excel 2003 Illustrated Complete Excel Files and Incorporating Web Information Sharing.
Module 2 Designing a Logical Database Model. Module Overview Guidelines for Building a Logical Database Model Planning for OLTP Activity Evaluating Logical.
1 Creating and Tweaking Data HRP223 – 2010 October 24, 2011 Copyright © Leland Stanford Junior University. All rights reserved. Warning: This.
Microsoft Access 2003 Introduction To Microsoft Access 2003.
Statistical Relational Learning for Link Prediction Alexandrin Popescul and Lyle H. Unger Presented by Ron Bjarnason 11 November 2003.
By: Jamie McPeek. 1. Background Information 1. Metasearch 2. Sets 3. Surface Web/Deep Web 4. The Problem 5. Application Goals.
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 1 1 Microsoft Access 2003 Tutorial 1 – Introduction To Microsoft Access 2003.
CS 255: Database System Principles slides: Variable length data and record By:- Arunesh Joshi( 107) Id: Cs257_107_ch13_13.7.
Databases and Database Management Systems
Using Dynamic Lists in SAS Stored Processes for Genetic Toxicity Historical Control Data Volker Harm, PhUSE Conference 2011, Brighton.
MELISSA PICO SUMMER 08 Data Storage & Retrieval: Access instead of Excel.
LESSON 17 PREPARED BY MANJU. database A database is a collection of related information Access is the Microsoft Office database program that enables you.
Page 1 ISMT E-120 Desktop Applications for Managers Introduction to Microsoft Access.
M1G Introduction to Programming 2 4. Enhancing a class:Room.
GIS Concepts ‣ What is a table? What is a table? ‣ Queries on tables Queries on tables ‣ Joining and relating tables Joining and relating tables ‣ Summary.
XP New Perspectives on Microsoft Access 2002 Tutorial 51 Microsoft Access 2002 Tutorial 5 – Enhancing a Table’s Design, and Creating Advanced Queries and.
DAY 15: ACCESS CHAPTER 2 Larry Reaves October 7,
Implementation Yaodong Bi. Introduction to Implementation Purposes of Implementation – Plan the system integrations required in each iteration – Distribute.
Global Customer Partnership Council Forum | 2008 | November 18 1IBM - GCPC MeetingIBM - GCPC Meeting IBM Lotus® Sametime® Meeting Server Deployment and.
Unit 2, cont. September 12 More HTML. Attributes Some tags are modifiable with attributes This changes the way a tag behaves Modifying a tag requires.
CORE 2: Information systems and Databases NORMALISING DATABASES.
6 th Annual Focus Users’ Conference Manage Integrations Presented by: Mike Morris.
® IBM Software Group © 2008 IBM Corporation Setting up Build Forge demo projects for ALM Windows only May – work in progress Stuart Poulin
Copyrighted material John Tullis 10/17/2015 page 1 04/15/00 XML Part 3 John Tullis DePaul Instructor
(Spring 2015) Instructor: Craig Duckett Lecture 10: Tuesday, May 12, 2015 Mere Mortals Chap. 7 Summary, Team Work Time 1.
Sponsored by the National Science Foundation GENI I&M and Monitoring GENI Engineering Conference 14 Boston, MA Sarah Edwards Chaos Golubitsky Jeanne Ohren.
1 Lab 2 and Merging Data (with SQL) HRP223 – 2009 October 19, 2009 Copyright © Leland Stanford Junior University. All rights reserved. Warning:
DATABASE MANAGEMENT SYSTEMS CMAM301. Introduction to database management systems  What is Database?  What is Database Systems?  Types of Database.
M1G Introduction to Database Development 4. Improving the database design.
Chapter 4 Grouping Objects. Flexible Sized Collections  When writing a program, we often need to be able to group objects into collections  It is typical.
Sponsored by the National Science Foundation Systematic Experimentation in GENI Sarah Edwards GENI Project Office.
TOPIC 6 DATABASES CONTENT : 6.1 DATABASE DESIGN 6.2 NORMOLISATION AND DATA MODELING 6.3 METHODS AND TOOLS FOR ANALYZING AND IMPLEMENTING DATABASE DESIGN.
Creating Databases Data normalization. Integrity and Robustness. Work session. Homework: Prepare short presentation on enhancement projects. Continue working.
PART3 Data collection methodology and NM paradigms 1.
1 © Donald F. Ferguson, All rights reserved.Modern Internet Service Oriented Application Development – Lecture 2: REST Details and Patterns Some.
Internal and Confidential Cognos CoE COGNOS 8 – Event Studio.
Chapter 4 Grouping Objects. Flexible Sized Collections  When writing a program, we often need to be able to group objects into collections  It is typical.
IST 220 – Intro to Databases Lecture 2 Touring Microsoft Access.
New COOL Tag Browser Release 10 Giorgi BATIASHVILI Georgian Engineering Center 23/10/2012
XP New Perspectives on Microsoft Office Access 2003, Second Edition- Tutorial 5 1 Microsoft Office Access 2003 Tutorial 5 – Enhancing a Table’s Design.
© Copyright 2014 TONE SOFTWARE CORPORATION. Confidential and Proprietary. All rights reserved. ® Administrator Training – Release Alarms Administration.
ODATA DESIGN PRINCIPLES July 26, BUILD ON HTTP, REST OData is a RESTful HTTP Protocol Build on HTTP Entities modeled as Resources Relationships.
Cognos 8 BI Configuration, Administration, and Upgrade Cognos 8 BI.
Presentation on Database management Submitted To: Prof: Rutvi Sarang Submitted By: Dharmishtha A. Baria Roll:No:1(sem-3)
This was written with the assumption that workbooks would be added. Even if these are not introduced until later, the same basic ideas apply Hopefully.
Access Grid Workshop – APAC ‘05 Node Services Development Thomas D. Uram Argonne National Laboratory.
PerfSONAR Schema and Topology Martin Swany. Schema Key Goals: Extensibility, Normalization, Readability Break representation of performance measurements.
David Hatten Developer, UrbanCode 17 October 2013
Automated ADT Interface Version .02
IST 220 – Intro to Databases
MS Access Forms, Queries, Reports Matt Martin
Information Systems Today: Managing in the Digital World
Data collection methodology and NM paradigms
Testing REST IPA using POSTMAN
Tutorial 1 – Introduction To Microsoft Access 2003
Tutorial 1 – Introduction To Microsoft Access 2003
Microsoft Office Access 2003
INFO/CSE 100, Spring 2006 Fluency in Information Technology
Automating and Validating Edits
Computer Science Projects Database Theory / Prototypes
Lab 2 and Merging Data (with SQL)
Lab 2 HRP223 – 2010 October 18, 2010 Copyright © Leland Stanford Junior University. All rights reserved. Warning: This presentation is protected.
Advanced Database Concepts: Reports & Views
INFO/CSE 100, Spring 2006 Fluency in Information Technology
Lecture 20: Representing Data Elements
Presentation transcript:

Sponsored by the National Science Foundation1October 22, 2014 GENI Monitoring Meeting Stéphane Blais and David P. Wiggins, GPO GEC21, October 22, 2014 At the GPO Office, Hoosier Room, IMU Main Level, 4-5:30 PM

Sponsored by the National Science Foundation2October 22, 2014 Agenda Discussion of existing monitoring data –Inter-aggregate links –Stats for interfacevlans –Alerting with messy data Possible new development –Database schema changes –JSON schema changes –Other new features

Sponsored by the National Science Foundation3October 22, 2014 Discussion of existing monitoring data Completeness of the data –Need to be able to show the end-to-end path between two different racks –Attribute traffic back to users Representation of inter-aggregate links Removing stale or obsolete data from the database Alerting in the presence of absent, stale, or incorrect data Providing statistics for interfacevlans

Sponsored by the National Science Foundation4October 22, 2014 Possible Database Schema Changes FieldChange? $schemaRemove. rest_call_handler should control this. idRemove? urn is good enough? selfRefRemove. rest_call_handler can fill this in. urnLeave as-is tsLeave as-is tagLeave as-is interface_urnLeave as-is interface_hrefRemove. rest_call_handler can fill this in. Using the ops_interfacevlan table as a representative example: These changes: Eliminate many data redundancies Simplify the task of understanding and populating the tables Apply to both object and relationship tables

Sponsored by the National Science Foundation5October 22, 2014 Sample JSON response to data query [ {"tsdata":[ {"ts": ,"v":7917}, {"ts": ,"v":7026}, {"ts": ,"v":8731}], "eventType":"ops_monitoring:rx_bps”, "subject": “ "id":"rx_bps:rtr.wash.ion.internet2.edu:xe-0/2/2", "description":"bits per second received on this interface", "units":"float", "$schema": “ }, {“tsdata”:[….] } ] For reference, this is what a typical response to a data query currently looks like. We will look at some possible changes to this format in the next slides.

Sponsored by the National Science Foundation6October 22, 2014 JSON data response: top-level list [ does not match data schema (schema does not start with a list) {"tsdata":[ {"ts": ,"v":7917}, {"ts": ,"v":7026}, {"ts": ,"v":8731}], "eventType":"ops_monitoring:rx_bps”, "subject": “ "id":"rx_bps:rtr.wash.ion.internet2.edu:xe-0/2/2", "description":"bits per second received on this interface", "units":"float", "$schema": “ }, {“tsdata”:[….] } ] Currently, the response is a list [ ] of JSON objects each of which conform to the data schema. The response as a whole does NOT pass JSON validation. Special-case validation code is needed for this one response. Ideally, the entire response would pass JSON validation without special treatment.

Sponsored by the National Science Foundation7October 22, 2014 JSON data response: top-level list FIX { "$schema": “measurements”: [ { "tsdata":[ {"ts": ,"v":7917}, {"ts": ,"v":7026}, {"ts": ,"v":8731}], "eventType":"ops_monitoring:rx_bps”, "subject": “ "id":"rx_bps:rtr.wash.ion.internet2.edu:xe-0/2/2", "description":"bits per second received on this interface", "units":"float”, }, {“tsdata”:[….] } ] } $schema only appears once in the entire response No impact on database table population Collectors must parse new format

Sponsored by the National Science Foundation8October 22, 2014 JSON data response: timestamps [ {"tsdata":[ {"ts": ,"v":7917}, {"ts": ,"v":7026}, {"ts": ,"v":8731}], "eventType":"ops_monitoring:rx_bps”, "subject": “ "id":"rx_bps:rtr.wash.ion.internet2.edu:xe-0/2/2", "description":"bits per second received on this interface", "units":"float", "$schema": “ }, {“tsdata”:[….] } ] Timestamps could probably be milliseconds instead of microseconds Could reduce the response size significantly We would want to make this change across the entire schema for consistency Database populators would need to change to store milliseconds Collectors would have to deal with both time granularities for a while, facilitated by schema versioning

Sponsored by the National Science Foundation9October 22, 2014 JSON data response: ops_monitoring prefix [ {"tsdata":[ {"ts": ,"v":7917}, {"ts": ,"v":7026}, {"ts": ,"v":8731}], "eventType":"ops_monitoring:rx_bps”, "subject": “ "id":"rx_bps:rtr.wash.ion.internet2.edu:xe-0/2/2", "description":"bits per second received on this interface", "units":"float", "$schema": “ }, {“tsdata”:[….] } ] ops_monitoring prefix seems unnecessary. Remove it. Also remove it in the REST call that queries for this data No impact on database population Collectors would see different eventType strings, but it shouldn’t matter?

Sponsored by the National Science Foundation10October 22, 2014 JSON data response: subject field [ {"tsdata":[ {"ts": ,"v":7917}, {"ts": ,"v":7026}, {"ts": ,"v":8731}], "eventType":"ops_monitoring:rx_bps”, "subject": “ "id":"rx_bps:rtr.wash.ion.internet2.edu:xe-0/2/2", "description":"bits per second received on this interface", "units":"float", "$schema": “ }, {“tsdata”:[….] } ] Our schema convention is to use the _href suffix for fields that contain URLs, so add that here Diverges from UNIS schema, but we have been moving away from UNIS No impact on database population Collectors must parse new format

Sponsored by the National Science Foundation11October 22, 2014 JSON data response: id field [ {"tsdata":[ {"ts": ,"v":7917}, {"ts": ,"v":7026}, {"ts": ,"v":8731}], "eventType":"ops_monitoring:rx_bps”, "subject": “ "id":"rx_bps:rtr.wash.ion.internet2.edu:xe-0/2/2", "description":"bits per second received on this interface", "units":"float", "$schema": “ }, {“tsdata”:[….] } ] The id field does not need to start with the event (rx_bps here) The event is already available as eventType id no longer directly references the relevant object; this is confusing No impact on database population Collectors must parse new format

Sponsored by the National Science Foundation12October 22, 2014 JSON data response: $schema field [ {"tsdata":[ {"ts": ,"v":7917}, {"ts": ,"v":7026}, {"ts": ,"v":8731}], "eventType":"ops_monitoring:rx_bps”, "subject": “ "id":"rx_bps:rtr.wash.ion.internet2.edu:xe-0/2/2", "description":"bits per second received on this interface", "units":"float", "$schema": “ }, {“tsdata”:[….] } ] Don’t need to repeat $schema in every block of tsdata Already addressed in top-level list fix in a previous slide No impact on database population Collectors must parse new format

Sponsored by the National Science Foundation13October 22, 2014 Revised JSON response to data query { "$schema": “measurements”: [ { "tsdata":[ {"ts": ,"v":7917}, {"ts": ,"v":7026}, {"ts": ,"v":8731}], "eventType":”rx_bps”, "subject_href": "id":”rtr.wash.ion.internet2.edu:xe-0/2/2", "description":"bits per second received on this interface", "units":"float", }, {“tsdata”:[….] } ] } Combining all of these changes, we get something like this:

Sponsored by the National Science Foundation14October 22, 2014 Other Possible JSON Schema Enhancements Bidirectional navigation Nodes list their interfaces, but interfaces don’t specify their node. Fix all such instances of this. Allows lightweight navigation of the monitoring data without needing to collect and store all of the data first This is a sweeping change that dwarfs any of the other JSON schema changes that have been discussed Wildcard for event types in data queries Objects can already be wildcarded, so this completes the feature Gotchas with datastores supporting multiple aggregates Objects could specify what measurements they support Would make querying data more straightforward Node schema Associate VMs with the physical machines they’re running on Add a baremetal node type

Sponsored by the National Science Foundation15October 22, 2014 Possible new features OpenFlow support New flowspace resource type? What’s in a flowspace resource? Adding this is a certainty, not just a possibility Flexible install location instead of requiring /usr/local/ops-monitoring Release packaging (RPM,.deb, BSD pkg) Documentation