13-1 Monitoring and Metering. 13-1 Learning Objectives ● This module will help you... – Understand the JXTA monitoring and metering functionality – Gain.

Slides:



Advertisements
Similar presentations
MDS4 Roadmap Items Laura Pearlman USC Information Sciences Institute.
Advertisements

TSpaces Services Suite: Automating the Development and Management of Web Services Presenter: Kevin McCurley IBM Almaden Research Center Contact: Marcus.
CCNA2 Module 4. Discovering and Connecting to Neighbors Enable and disable CDP Use the show cdp neighbors command Determine which neighboring devices.
1 Semester 2 Module 4 Learning about Other Devices Yuda college of business James Chen
MDTM Implementation Design Liang Zhang, Wenji Wu 11/11/2013.
Extensible Networking Platform IWAN 2005 Extensible Network Configuration and Communication Framework Todd Sproull and John Lockwood
Service Oriented Architectures in Heterogeneous Environments
Network Management Overview IACT 918 July 2004 Gene Awyzio SITACS University of Wollongong.
JXTA P2P Platform Denny Chen Dai CMPT 771, Spring 08.
Network Hosts Analyzer Hadas Shumovitch Elad Levi Tal Katz
Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p Framework Supporting Mobile Sensors and Typed Data Exchange Through the JXTA p2p.
JXTA Selo TE Introduction What is JXTA ( pronounced Juxta ) What is JXTA ( pronounced Juxta ) Jxta – an open, network computing platform designed.
13.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft® Windows® Server 2003 Active Directory Infrastructure.
Wireless LAN Topology Visualiser Project Supervisor: Dr Arkady Zaslavsky Project Team Members: Jignesh Rambhia Robert Mark Bram Tejas Magia.
Managing Agent Platforms with the Simple Network Management Protocol Brian Remick Thesis Defense June 26, 2015.
Peer-to-Peer Networks & JXTA by Madhurasmitha Chakravarthy & Priti Sabadra.
Fionn Murtagh Dimitri Zervas Pedro Contreras Royal Holloway, University of London Munich, 24 of June 2005 JXTA P2P, Web Services and WS-Talk.
Middleware for P2P architecture Jikai Yin, Shuai Zhang, Ziwen Zhang.
Institute of Computer Science AGH Performance Monitoring of Java Web Service-based Applications Włodzimierz Funika, Piotr Handzlik Lechosław Trębacz Institute.
1.  TCP/IP network management model: 1. Management station 2. Management agent 3. „Management information base 4. Network management protocol 2.
WINDOWS SERVICES. Introduction You often need programs that run continuously in the background Examples: – servers –Print spooler You often need.
Cli/Serv.: JXTA/151 Client/Server Distributed Systems v Objective –explain JXTA, a support environment for P2P services and applications ,
Getting Started with JXTA for J2ME Advisor : Dr. Ching-Long Yeh Report : DI.2, 洪泰昌 ( ) Course: XML 文件管理.
CCNA – Cisco Certified Network Associates Routing and Static Routes By Roshan Chaudhary Lecturer Islington College.
Sun’s Project JXTA Technical Overview Presented by Sergei Kovalenko Red Team: Janhavi James A. Davis Fernando D. Diaz.
Institute of Computer and Communication Network Engineering OFC/NFOEC, 6-10 March 2011, Los Angeles, CA Lessons Learned From Implementing a Path Computation.
Triana: Service-Oriented Examples Ian Taylor Cardiff University, and the Center for Computation and Technology LSU.
Rev PA102/03/20041 Communication Between Peer Wireless Sensor Networks over 2.5G/3G Mobile Networks Srdjan Krco R&D Ericsson Ireland
KEx objectives Supporting distributed and heterogeneous organizations in managing their knowledge processes, by technologically implementing the basic.
11-1 Pipes. Learning Objectives ● This module will help you... – Understand key JXTA pipe concepts – Understand how pipes work – Gain familiarity with.
Lec 3: Infrastructure of Network Management Part2 Organized by: Nada Alhirabi NET 311.
2-1 JXTA Concepts. 2-1 Learning Objectives ● This module will help you... – Understand P2P principles – Learn about JXTA virtual network core building.
3-1 JXTA Platforms. 3-1 Learning Objectives ● Learn about the different platform implementations of the JXTA protocols – Features provided by each implementation.
Introduction to the Adapter Server Rob Mace June, 2008.
P2P-Based Best Resolution Match Image Access, Retrieval and Delivery P Contreras, S Johnstone, F Murtagh CS, QUB.
PPSP Peer Protocol draft-gu-ppsp-peer-protocol PPSP WG IETF 82 Taipei Rui Cruz (presenter) Yingjie Gu, Jinwei Xia, Mário Nunes, David Bryan, João Taveira.
Introduction to dCache Zhenping (Jane) Liu ATLAS Computing Facility, Physics Department Brookhaven National Lab 09/12 – 09/13, 2005 USATLAS Tier-1 & Tier-2.
14-1 JXTA for J2ME Learning Objectives ● This module will help you... – Learn about the architecture of JXTA for J2ME – Learn the JXTA for J2ME.
16-1 Developer Libraries and Services Learning Objectives: ● This module will help you... – Learn about optional JXTA libraries and services – Understand.
Dr. Ian Wang Cardiff University, U.K.. Ian Wang, Cardiff University Peer-to-Peer and Grids What does the Peer-to-Peer paradigm offer Grids? Scalable Decentralized.
Towards high-performance communication layers for JXTA on grids Mathieu Jan GDS meeting, Lyon, 17 February 2006.
9-1 JXTA Discovery Learning Objectives This module will help you... – Understand how JXTA advertisements are published, cached, and.
Introduction to Java Beans CIS 421 Web-based Java Programming.
1.Registration block send request of registration to super peer via PRP. Process re-registration will be done at specific period to info availability of.
Core Java Introduction Byju Veedu Ness Technologies httpdownload.oracle.com/javase/tutorial/getStarted/intro/definition.html.
Grid Computing Environment Shell By Mehmet Nacar Las Vegas, June 2003.
GLOBAL EDGE SOFTWERE LTD1 R EMOTE F ILE S HARING - Ardhanareesh Aradhyamath.
Part 4: Network Applications Client-server interaction, example applications.
18-1 Summary (Day 2) Learning Summary – What is JXTA ? – Understand the fundamental concepts of JXTA – Learn about the various implementations of.
The Virtual Heliospheric Observatory and Distributed Data Processing T.W. Narock 1,2, A. Szabo 2, A. Davis 3 1. L3 Communications,
© 2008 by Wind River; made available under the EPL v1.0 | 19-Nov-2008 TCF The Target Communication Framework Michael Scharf, Wind River wiki.eclipse.org/DSDP/TM/TCF_FAQ.
6-1 How to Write JXTA Applications. 6-1 Learning Objectives ● This module will help you... – Gain familiarity with guidelines and design conventions that.
Module 6: Administering Reporting Services. Overview Server Administration Performance and Reliability Monitoring Database Administration Security Administration.
Department of Communications, Optics & Materials Technical University of Denmark JXTA protocols Colin Chaballier Advanced.
Jetty 9 Dima Ionut Daniel. Contents What is Jetty? History Jetty 9 new features Jetty Configuration Deployment Arhitecture JMX SPDY Handlers WebSocket.
Third International Workshop on Networked Appliance 2001 SONA: Applying Mobile Agent to Networked Appliance Control S.Aoki, S.Makino, T.Okoshi J.Nakazawa.
SQL Server 2012 Session: 1 Session: 4 SQL Azure Data Management Using Microsoft SQL Server.
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
Project JXTA Kaarthik Sivashanmugam. JXTA..? JXTA is a set of open, generalized peer-to-peer (P2P) protocols that allow any connected device on the network.
Lec 3: Infrastructure of Network Management Part2 Organized by: Nada Alhirabi NET 311.
PART1 Data collection methodology and NM paradigms 1.
Towards a High Performance Extensible Grid Architecture Klaus Krauter Muthucumaru Maheswaran {krauter,
Project JXTA By Jude Mercado.
Self Healing and Dynamic Construction Framework:
Peergroups.
Chapter 3: Windows7 Part 4.
Lec 5: SNMP Network Management
Chapter 2: Operating-System Structures
Student: Popa Andrei-Sebastian
System Calls System calls are the user API to the OS
Presentation transcript:

13-1 Monitoring and Metering

13-1 Learning Objectives ● This module will help you... – Understand the JXTA monitoring and metering functionality – Gain familiarity with the JXTA Peer Info Service API – Understand how to use JXTA monitoring and metering

13-1 Peer Info Protocol ● Provides general framework for obtaining peer status and monitoring information – Uptime, inbound and outbound message count, time last message sent/received, etc. ● Asynchronous – Query message sent to peer – Response message provides specific information about state of peer – No guarantees; peer not required to respond

13-1 Peer Info Service ● Implements the Peer Info Protocol ● Works in context of peergroup ● Provides methods to: – Retrieve remote and local peer status information – Register a listener that will be notified when the Peer Info Service receives a response – Flush Peer Info advertisements from local cache

13-1 Peergroup Services Services are accessible through the peer group object: Java peerInfoService = peerGroup.getPeerInfoService(); C Jxta_PG_get_peerinfo_service(group, &peerinfo); PeerGroup Services Membership Pipe Discovery Rendezvous Resolver Endpoint PeerInfo

13-1 Monitoring using the JXTA Shell ● The peerinfo command gets information about other peers within a peergroup ● Obtain info about remote peers JXTA> peerinfo -r peerinfo message sent ● List peer info already known by the peer JXTA> peerinfo ● Flush locally cached peer information JXTA> peerinfo -f

13-1 PeerInfoService void addPeerInfoListener(PeerInfoListener listener) boolean removePeerInfoListener(PeerInfoListener listener) – Add/remove a peerinfo listener java.util.Enumeration getLocalPeerInfo(ID peer) – Get PeerInfoservice from local cache void getRemotePeerInfo(ID peer, PeerInfoListener listener) – Get PeerInfoService from a remote peer; the listener object will be called back when peer information is known PeerInfoResponseMessage getPeerInfoService() – Retrieve Peer Info advertisement void flushAdvertisements (ID id) – Flush cached advertisement of specified peer; if id is null, locally cached PeerInfoResponseMessage of all peers are deleted

13-1 PeerInfo Example—Java ● Listener interface for receiving PeerInfoService events: public interface PeerInfoListener extends java.util.EventListener ● Implementing a PeerInfoListener: PeerInfoListener myPeerListener = new PeerInfoListener() { public void peerInfoResponse(PeerInfoEvent e) { PeerInfoResponseMessage adv = e.getPeerInfoResponse(); if (myQueryID == e.getQueryID()) {... } } peerinfo.addPeerInfoListener(myPeerListener); int myQueryID = peerinfo.getRemotePeerInfo(peer);

13-1 C API Jxta_status peerinfo_service_get_remote_peerinfo (Jxta_peerinfo_service *service, Jxta_id *peerid, Jxta_peerinfo_listener *listener) – Get PeerInfoService from a remote peer. Jxta_status peerinfo_service_get_local_peerinfo (Jxta_peerinfo_service *service, Jxta_id *peerid, Jxta_object **adv) – Get a PeerInfo from local cache. Jxta_status peerinfo_service_get_my_peerinfo (Jxta_peerinfo_service *service, Jxta_object **adv) – Retrieve this peer's PeerInfo Advertisement Jxta_status peerinfo_service_flush_Advertisement (Jxta_peerinfo_service *service, Jxta_id *peerid) – Flush cached advertisement

13-1 C API (continued) Jxta_status peerinfo_service_add_peerinfo_listener (Jxta_peerinfo_service *service, Jxta_peerinfo_listener *listener) – Register a peerinfo listener, to be notified on peerinfo events. Jxta_status peerinfo_service_remove_peerinfo_listener (Jxta_peerinfo_service *service, Jxta_peerinfo_listener *listener) – Remove a peerinfo listener.

13-1 PeerInfo Example—C Jxta_PG_get_peerinfo_service(group, &peerinfo); peerinfo_service_get_my_peerinfo(peerinfo, & mypeerinfo_adv); if (mypeerinfo_adv != NULL ) { printf("Obtained %d peerinfo advertisement(s) \n", mypeerinfo_adv); peerinfo_service_add_peerinfo_listener(peerinfo, & mylistener); peerinfo_service_get_remote_peerinfo(peerinfo, peerId & listener); res = jxta_listener_wait_for_event (listener, timeout, (Jxta_object**) &info);

13-1 Need for Monitoring and Metering ● Perform resource accounting and billing ● Monitor load locally and remotely – Memory utilization, thread utilization, network connections, bandwidth ● Evaluate various implementations of services (effects, efficiencies, etc.)

13-1 JXTA Monitoring and Metering Project ● Provide a simple, dynamic and extendable framework for gathering and reporting metrics – Increase productivity of JXTA core development – Provide metrics to help tune/configure – Provide data to measure scalability – Help programmers and administrators understand how JXTA services operate – Provide tools to aid development and debugging – Provide framework for building special purpose meterable edge devices Goals

13-1 Monitoring and Metering Tools ● JXTA Service Logger – Pipes metrics to file for later processing ● JXTA Monitor – GUI for collecting and rendering data – Extensible framework – Displays metrics in tables or graphs – Can display local or remote results

13-1 JXTA Monitor

13-1 Monitoring and Metering Tool MonitorManager Meterable JXTA Services Monitor SPI View API View MonitorReport Register Periodic Listener: MonitorFilter MonitorReport Get Cumulative Totals: MonitorFilter API View

13-1 Monitoring and Metering Tool MonitorManager Monitor SPI View API View MonitorReport Request for (MonitorFilter) MonitorManager – SPI View Meterable JXTA Services ServiceMonitor

13-1 Monitoring and Metering ● MMP provides J2SE implementations for the standard JXTA services: – Endpoint service – Transport service * – Rendezvous service – Resolver service – Pipe service – Discovery service Supported Standard Services * Meterable even though it is not implemented as a JXTA service.

13-1 Types of Meterable JXTA Builds ● All metering off – Metering capabilities compiled out of build – No metering load, smallest JAR ● Metering always on – Metering capabilities included in library build – Metering always active ● Metering conditionally on – Metering capabilities included in library build – Metering based on setting of user property – Most flexibility, with slight performance expense

13-1 End – Monitoring and Metering