Presentation is loading. Please wait.

Presentation is loading. Please wait.

Network Management with JMX Thu Nguyen Oliver Argente CS158B.

Similar presentations


Presentation on theme: "Network Management with JMX Thu Nguyen Oliver Argente CS158B."— Presentation transcript:

1 Network Management with JMX Thu Nguyen Oliver Argente CS158B

2 JMX Overview JMX - Java Management Extensions JMX - Java Management Extensions –Technology for managing and monitoring networks, systems, applications, and services –Provides tools for building modular and dynamic managing and monitoring solutions –Cross-platform Alternative to SNMP –Uses Java classes called MBeans to expose mgmt interface of the managed devices –JMX Manager

3 JMX Overview… Benefits of JMX Benefits of JMX –Scalability –Compatibility –Implementation Cost Where is it used? Where is it used? –web phones to set-top boxes to network devices and servers Who uses JMX? Who uses JMX? –IBM, HP, AdventNet, Sun, Tomcat, Oracle –J2EE vendors such as: JBoss, Enhydra, Weblogic

4 JMX Architecture (3 Layers) Manager Level Manager Level –Link between mgmt application and JMX agent –Making integration possible –Where JMX Manager resides Agent Level Agent Level –Contains JMX agents –Has 2 components: MBean Server & Agent Services Instrumentation Level Instrumentation Level –Defines manageable resources –Has 3 components

5 Architectural Components (Instrumentation Level) MBeans (Managed Beans) MBeans (Managed Beans) –central blocks of the instrumentation level –Makes resources manageable by defining characteristics and processes –Employs dynamic class loading Notification Model Notification Model –Can be manipulated to send critical messages –Similar to SNMP Trap MBean Metadata Classes MBean Metadata Classes –Defines MBean components (i.e. attributes, operations, etc…) –Also contains names, description, characteristics, etc…

6 Architectural Components (MBeans) Standard MBean Standard MBean –Java objects that conform to certain design pattern –Simpler and quicker to implement –Mgmt interfaces, operations, & attributes are static –Method names describe the mgmt interface. –Best used for setting up new manageable resources Dynamic MBean Dynamic MBean –Generic methods are used for setting/getting attributes –Mgmt interfaces exposed at run time –Quite complex to implement –They can be used to access non-Java native resources

7 Architectural Components (MBeans) Model MBean Model MBean –Fully configurable and self describe at run time –It’s an MBean template because it uses generic, configurable MBean classes –Gives managers additional info about managed resources such as runtime & behavioral data. Open MBean Open MBean –self defining and portable –Can be managed by non-Java based mgmt application.

8 Architectural Components (Agent Level) MBean Server MBean Server –Repository of MBeans –Involved in the MBean registration Agent Services – customizable objects Agent Services – customizable objects –Dynamic Class Loader – can load new classes from any network location –Monitors – Observes changes –Timers – Scheduling mechanism –Relation Services – defines relationship between MBeans

9 JMX Connectors and Protocol Adapters Remote Monitoring with JMX Connectors Remote Monitoring with JMX Connectors –Create point to point communication –Consists of 2 components Connector Server Connector Server Connector Client Connector Client –Connector Heartbeats Protocol Adapters Protocol Adapters –Provides view of an agent and its MBeans thru different protocols. –Accessing Non-Java Programs –Software components residing on the server/managed devices

10 Hands-On Example of JMX Router Management Router Management –Program Demonstration

11 Network Management with JMX End of Presentation

12 Resources Used Who uses jmx: http://java.sun.com/products/JavaManagement/jmxadoption.html http://www.javaworld.com/javaworld/jw-06-2001/jw-0608-jmx.html http://java.sun.com/products/JavaManagement/jmxadoption.html http://www.javaworld.com/javaworld/jw-06-2001/jw-0608-jmx.html http://java.sun.com/products/JavaManagement/wp/jmx.jpg How jmx is used: http://java.sun.com/developer/technicalArticles/J2SE/jmx.html


Download ppt "Network Management with JMX Thu Nguyen Oliver Argente CS158B."

Similar presentations


Ads by Google