节点文献

基于JMX的监控系统研究与实现

Research and Realization of Monitor System Based on JMX

【作者】 晏雪松

【导师】 尹治本;

【作者基本信息】 西南交通大学 , 计算机软件与理论, 2007, 硕士

【摘要】 网络管理和分布式技术的发展,以及J2EE技术的广泛应用推动了JMX技术的形成。JMX的全称是Java Management Extensions,由Java CommunityProcess(JCP)制定,为基于Java平台的软件和网络设备管理提供统一的管理框架。本文首先对JMX体系结构概要分析,然后,针对基于JMX技术为基础构建监控系统应用涉及到的各个层面展开详细分析,这些层面包括设备层,代理层,分布式服务层。针对设备层,作者重点分析了标准MBean和动态MBean这两种类型的组件,然后,引入JMX通知模型。在代理层,作者重点分析了JMX代理层提供的四种类型的服务,给出了动态装载服务的时序图。在分布式服务层,主要分析了连接器和协议适配器的作用,比较了两种组件之间的区别。在对JMX各个组件详细论述的基础上总结了JMX在实际应用中的优势。文中作者采用JMX的三层体系架构,结合J2E巳其它技术为现有的基于Java平台的Web服务器及其内部组件和Web应用程序提供了一个可管理功能,实时的显示受控资源的状态信息,当受控资源的状态出现异常的时候,该监控系统通过发送电子邮件或发送短消息方式报警。系统使用JMX代理层收集受控资源状态信息。JMI代理层和受控资源运行在同一台机器上。通过JMX分布式服务层组件把代理层收集到的受控资源状态信息发送到监控系统的监控应用客户端管理程序。监控应用客户端管理程序接收监控应用代理端发送过来的受控资源状态信息,并对信息作进一步处理。系统涉及到的其它技术包括任务调度框架、Web服务和Java Mail应用编程接口。该监控系统具有良好的扩展性和跨平台性。

【Abstract】 Both the development of internet technology and distributing technology and the large scope of J2EE technology has been used accelerate the formation of JMX technology. The full name of JMX is Java Management Extensions. JMX is established by Java Community Process (JEP). JMX provides a uniform architecture supporting for monitoring and management of software and network devices based on java platform.In this thesis, first of all, the author gives a brief summarization of JMX architecture. Then, the author gives a detail analysis of every layer of constructing an application system based on JMX architecture. The content contains instrumentation layer, agent layer, distributed services layer. The author put emphasis upon standard MBean and dynamic MBean within the instrumentation layer. And the author has introduced a notification model within the JMX architecture. When writing about the agent layer, the author put emphasis upon four types of services provided by JMX Agent layer. Furthermore, the author gives a detail sequence diagram on dynamic loading service. When writing about the distributed services layer, the author explains the function of connector and protocol adapter within the distributed services layer, and describes the deference between connector and protocol adapter by comparing the two components. In this thesis, the author provided much more detail analysis of every component within the JMX architecture, Then the author summarizes the advantages of JMX technology used in practice.In this thesis, the author established a monitor system based on the JMX architecture and combined with other J2EE technologies, which provided the management capabilities for Web Server, its inner components and Web application based on Java Platform. The monitor system provided some functions, such as displaying states about the resource which has been monitored, and sending alerts by E-Mail or mobile phone short message once some exceptions occurred to the resource. In this monitor system, the JMX agent layer takes on responsibility with gathering the resource information. Usually, JNX agent is running on the same machine with the resource. And then JMX agent will send all information from local host to the remote client application system which has responsibility with handling the information and taking some actions for alerting if necessary. This monitor system has adopted some other J2EE technologies, included Job Schedule Framework, Web Service and Java Mail APIs. This monitor system can be easily extended and has platform independent advantages.

【关键词】 JMX监控管理分布式
【Key words】 JMXMonitorManagementDistributed
  • 【分类号】TP393.07;TP311.52
  • 【被引频次】10
  • 【下载频次】242
节点文献中: 

本文链接的文献网络图示:

本文的引文网络