SLAC monitoring Web Services

Slides:



Advertisements
Similar presentations
Web Services & EAI.
Advertisements

XML: Extensible Markup Language
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
RPC Robert Grimm New York University Remote Procedure Calls.
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
Web Services Nasrullah. Motivation about web service There are number of programms over the internet that need to communicate with other programms over.
Snejina Lazarova Senior QA Engineer, Team Lead CRMTeam Dimo Mitev Senior QA Engineer, Team Lead SystemIntegrationTeam Telerik QA Academy SOAP-based Web.
Project 1 Introduction to HTML.
Presentation 7 part 2: SOAP & WSDL. Ingeniørhøjskolen i Århus Slide 2 Outline Building blocks in Web Services SOA SOAP WSDL (UDDI)
Latest techniques and Applications in Interprocess Communication and Coordination Xiaoou Zhang.
Understand Web Services
XML Technologies and Applications Rajshekhar Sunderraman Department of Computer Science Georgia State University Atlanta, GA 30302
1 SLAC Internet Measurement Data Les Cottrell, Jerrod Williams, Connie Logg, Paola Grosso SLAC, for the ISMA Workshop, SDSC June,
CSE 636 Data Integration Web Services.
2006 IEEE International Conference on Web Services ICWS 2006 Overview.
GGF-BerlinSLAC Web Services SLAC Web Service Paola Grosso (SLAC) Presented by Eric Boyd (Internet2)
1st Project Introduction to HTML.
Client-Server Processing and Distributed Databases
Web Services Michael Smith Alex Feldman. What is a Web Service? A Web service is a message-oriented software system designed to support inter-operable.
Web services A Web service is an interface that describes a collection of operations that are network-accessible through standardized XML messaging. A.
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
NETWORK CENTRIC COMPUTING (With included EMBEDDED SYSTEMS)
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Grid Computing, B. Wilkinson, 20043b.1 Web Services Part II.
XML Overview. Chapter 8 © 2011 Pearson Education 2 Extensible Markup Language (XML) A text-based markup language (like HTML) A text-based markup language.
11/16/2012ISC329 Isabelle Bichindaritz1 Web Database Application Development.
1 HKU CSIS DB Seminar: HKU CSIS DB Seminar: Web Services Oriented Data Processing and Integration Speaker: Eric Lo.
James Holladay, Mario Sweeney, Vu Tran. Web Services Presentation Web Services Theory James Holladay Tools – Visual Studio Vu Tran Tools – Net Beans Mario.
Web Services Description Language (WSDL) Jason Glenn CDA 5937 Process Coordination in Service and Computational Grids September 30, 2002.
HTML, XHTML, and CSS Sixth Edition Chapter 1 Introduction to HTML, XHTML, and CSS.
Dynamic Content On Edge Cache Server (using Microsoft.NET) Name: Aparna Yeddula CS – 522 Semester Project Project URL: cs.uccs.edu/~ayeddula/project.html.
The Network Performance Advisor J. W. Ferguson NLANR/DAST & NCSA.
An XML Schema for NMWG Yee-Ting Li, UCL. Metrics All results from Network Monitoring stored in some format All results from Network Monitoring stored.
1 Web Service Description Language (WSDL) 大葉大學資工系.
Copyright © 2013 Curt Hill SOAP Protocol for exchanging data and Enabling Web Services.
1 Web Services Web and Database Management System.
Kemal Baykal Rasim Ismayilov
SOAP-based Web Services Telerik Software Academy Software Quality Assurance.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
Web Services from 10,000 feet Part I Tom Perkins NTPCUG CertSIG XML Web Services.
Developing Web Services with the Eclipse Web Tools Platform David Gallardo.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
Web Services An Introduction Copyright © Curt Hill.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
SOAP, Web Service, WSDL Week 14 Web site:
HTML PROJECT #1 Project 1 Introduction to HTML. HTML Project 1: Introduction to HTML 2 Project Objectives 1.Describe the Internet and its associated key.
12. DISTRIBUTED WEB-BASED SYSTEMS Nov SUSMITHA KOTA KRANTHI KOYA LIANG YI.
Java Web Services Orca Knowledge Center – Web Service key concepts.
Windows Communication Foundation and Web Services
Distributed Control and Measurement via the Internet
Chapter 1 Introduction to HTML.
Sabri Kızanlık Ural Emekçi
WEB SERVICES.
Unit – 5 JAVA Web Services
Project 1 Introduction to HTML.
Windows Communication Foundation and Web Services
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Implementing a service-oriented architecture using SOAP
WEB API.
Connie Logg February 13 and 17, 2005
Web services, WSDL, SOAP and UDDI
Jeff Boote, Eric L. Boyd, Rich Carlson, Hyungseok Chung
Introduction to Web Services
E2E piPEs Overview Eric L. Boyd Internet2 24 February 2019.
An Implementation of the Profile Document.
An Implementation of the Profile Document.
Presentation transcript:

SLAC monitoring Web Services Paola Grosso SLAC Networking Services ESCC Jan 28-29 2004 ESCC Jan28-29 IEPM Web Services

Outline of presentation What are Web Services? SOAP XMLRPC NM-WG (Network Measurement Working Group) schema SLAC Web Services: IEPM implementation Present and future collaborations and project evolution ESCC Jan28-29 IEPM Web Services

Web Services “A web service is any service that is available over the Internet, uses a standardized XML messaging system, and is not tied to any one operating system or programming language” ESCC Jan28-29 IEPM Web Services

XML XML = eXtensible Markup Language: It’s designed to structure, store and send information; Tags and structures are used-definable; Conversion of data to XML allows exchange of data in previously incompatible formats; XML data is in flat files, so that it’s software and hardware independent. ESCC Jan28-29 IEPM Web Services

XML-RPC, SOAP and WSDL XML-RPC: Simple Object Access Protocol (SOAP): Implements remote procedure calls over HTTP; It’s simple to use (i.e does not have advanced features as SOAP). Simple Object Access Protocol (SOAP): It’s a communication protocol based on XML; It’s platform and language independent. Web Services Description Language (WSDL): It’s an XML document; Used to describe and locate Web Services. ESCC Jan28-29 IEPM Web Services

GGF Network Measurements Working Group The group worked on: defining standards for describing network measurements taken in Grid environments, so to allow exchange of measurements with a common “dictionary”. http://www-didc.lbl.gov/NMWG/docs/draft-ggf-nmwg- hierarchy-01.pdf Grid services need to know: 1 what and where are the best source/s to copy data from; 2 if parallel streams need to be used, and how many; 3 what are the ideal TCP window and buffer sizes. Enumarate the stated needs of the Grid in respect to the NM-WG ESCC Jan28-29 IEPM Web Services

NM-WG schemas A “request” schema, defining how the measurements can be requested to the server: http://www.hep.ucl.ac.uk/~pdm/nmwg/2004-01-08-Dante-NM-WG-RequestSchema2.xsd A “response” schema, defining how the network measurements have to handed back to the requester/client: http://www-didc.lbl.gov/NMWG/schemas/NM-WG_Schemas_for_OGSI.html ESCC Jan28-29 IEPM Web Services

NetworkMeasurementRequest A request NetworkMeasurementRequest Subject Time Characteristics Methodology The network entity for which a measurement is requested, i.e a router, a node, a path The time period for which we are retrieving a measurement. The name of the characteristic requested The methodology requested http://www.hep.ucl.ac.uk/~pdm/nmwg/2004-01-08-Dante-NM-WG-RequestSchema2-examples/Dante-NM-WG-RequestSchema2-demo-NMWG1.xml ESCC Jan28-29 IEPM Web Services

A response NetworkMeasurement Characteristics Subject Methodology Results The name of the network property that has been measured. The host and The networks That are being tested. What test was run, and how it was run, in order to collect the measurement. The actual value of the measurement ESCC Jan28-29 IEPM Web Services

A response result A response can contain results of type: BandwidthAvailableType BadwidthAchievableType BandwidthType PathReorderingType PathDelayJitterType PathLossType DelayType Information on the network bandwidth Information on the path characteristics http://www-didc.lbl.gov/NMWG/schemas/response_Jan2004/sample.xml ESCC Jan28-29 IEPM Web Services

SLAC WSDL file The description of the available service is in the SLAC IEPM WSDL file: http://www-iepm.slac.stanford.edu/tools/soap/wsdl/IEPM_profile.wsdl The document provides: Operation that can be performed GetBandwidthAchievableTCP Binding of the operation to an action IEPM#GetBandwidthAchievableTCP Definition of input and output parameters Target and time BandwidthAchievableType Insert the WSDl relevant code in here!! ESCC Jan28-29 IEPM Web Services

IEPM group at SLAC “The IEPM group at SLAC is monitoring network connectivity and End-to-end performance for sites involved in High Energy Nuclear and Particle Physics” IEPM Bandwidth to the World monitors ~35 sites around the world and analyzes the data to determine variations and anomalies http://www-iepm.slac.stanford.edu/index.html ESCC Jan28-29 IEPM Web Services

IEPM BW tests The tests that are periodically running are: Ping and traceroutes Iperf = Single and multistream BBftp = Multistream file transfer software, used at SLAC to move physics data offisite ABwE = the Available Bandwidth Estimator (developed by J. Navratil) GridFTP = Data transfer protocol optimized for WANs ESCC Jan28-29 IEPM Web Services

IEPM BW data The data is available on the Web: http://www.slac.stanford.edu/comp/net/bandwidthtests/antonia/html/slac_wan_bw_tests.html For Web Services we started to store the data in an Oracle database: Easier retrieval than compared to flat files Easier data correlation in complex queries ESCC Jan28-29 IEPM Web Services

SLAC Web Services servers We have two servers running at SLAC: SOAP server XML-RPC server Implementation is fairly similar. Both servers dispatch incoming requests from clients to a Perl module (i.e IEPM): The Perl module connects to the database back-end where the data is stored. XML-RPC #!/usr/local/bin/perl use SOAP::Transport::HTTP; SOAP::Transport::HTTP::CGI -> dispatch_to('IEPM') -> handle; #!/usr/local/bin/perl use XMLRPC::Transport::HTTP; XMLRPC::Transport::HTTP::CGI -> dispatch_to('IEPM') -> handle; SOAP ESCC Jan28-29 IEPM Web Services

SOAP client The client can contact the server to extract data, providing: End node name Time period (start-end) Method name #!/usr/local/bin/perl -w use SOAP::Lite; my $node = "node1.cacr.caltech.edu"; my $timePeriod="20031201-20031205T143000"; my $measurement = SOAP::Lite ->service('http://www-iepm.slac.stanford.edu/tools/soap/wsdl/IEPM_profile.wsdl') ->GetBandwidthAchievableTCP("$node", "$timePeriod"); ESCC Jan28-29 IEPM Web Services

XML-RPC client Works in the same way as the SOAP client, with the same input parameters and few modication to the calling code: #!/usr/local/bin/perl -w use XMLRPC::Lite; my $node = "node1.cacr.caltech.edu"; my $timePeriod ="20031201-20031205T143000"; my $toolName = "iperf"; my $streams = 8; my $measurement = XMLRPC::Lite -> proxy('http://www-iepm.slac.stanford.edu/cgi-wrap/advisor.cgi’)-> call('IEPM.GetBandwidthAchievableTCPMultiStream',"$node", "$timePeriod","$toolName", "$streams") ->result; ESCC Jan28-29 IEPM Web Services

IEPM “canned” client To allow people to see the available data, without having to code their own client, we provide a public client interface to our Web Services: http://www-iepm.slac.stanford.edu/tools/soap/IEPM_client.html Data can be: Printed Plotted Time periods can be: User Specified Pre-defined: 24 hours 7 days 30 days ESCC Jan28-29 IEPM Web Services

Collaborating Need somebody else at the other end, a consumer of the data… So far: FNAL IEPM Web Services. They have implemented servers to serve the data collected there. (Maxim Grigoriev) <add url to FNAL IEPM data) To come: Monalisa interface to IEPM via web services. (Iosif LeGrand) <add URL to Monalisa> Write a script to get the data served by Maxim. ESCC Jan28-29 IEPM Web Services

Future developments Upgrade the service to use the most recent request/response schemas. Provide access via Web Services to PingER data. Integrate our measurements into the Advisor tool, for end-to-end performance debugging. Work with Grid developers at SLAC to allow to use the service for best path determination. ESCC Jan28-29 IEPM Web Services

Conclusion Questions and comments? The SLAC Web Services page: http://www-iepm.slac.stanford.edu/tools/web_services Our email address: iepm-l@slac.stanford.edu ESCC Jan28-29 IEPM Web Services