CN102904745A - Service lifecycle management and monitoring method in network management system based on java management extension (JMX) - Google Patents

Service lifecycle management and monitoring method in network management system based on java management extension (JMX) Download PDF

Info

Publication number
CN102904745A
CN102904745A CN2012103262717A CN201210326271A CN102904745A CN 102904745 A CN102904745 A CN 102904745A CN 2012103262717 A CN2012103262717 A CN 2012103262717A CN 201210326271 A CN201210326271 A CN 201210326271A CN 102904745 A CN102904745 A CN 102904745A
Authority
CN
China
Prior art keywords
service
module
jmx
lifecycle
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012103262717A
Other languages
Chinese (zh)
Inventor
段雄文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Huanchuang Communication Technology Co Ltd
Original Assignee
Shanghai Huanchuang Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Huanchuang Communication Technology Co Ltd filed Critical Shanghai Huanchuang Communication Technology Co Ltd
Priority to CN2012103262717A priority Critical patent/CN102904745A/en
Publication of CN102904745A publication Critical patent/CN102904745A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention relates to a service lifecycle management and monitoring method in a network management system based on java management extension (JMX). The network management system comprises a server and a client. The method comprises the following steps of service lifecycle management, service configuration and service lifecycle monitoring, wherein the service lifecycle management comprises the steps of making the lifecycle of a service module and managing stages and states of the lifecycle; in the service configuration, the server acquires corresponding configuration files to carrying out monitoring configuration, abnormal event processing mode configuration and service starting mode configuration on the service module; and in the service lifecycle monitoring, the server monitors the lifecycle by virtue of JMX. Compared with the prior art, the method has the advantages of effectively monitoring the service lifecycle, flexibly and dynamically configuring the service and the like.

Description

Based on service lifecycle management and monitoring method in the network management system of JMX
Technical field
The present invention relates to a kind of management and monitoring method of network management system, especially relate to a kind of based on service lifecycle management and monitoring method in the network management system of JMX.
Background technology
In network management system, disposing a lot of services, call for the client user.A service in being loaded on the process of operation, is experienced different life cycles.Prior art lacks the management and supervision to the life cycle of service; The management of the JMX that the JBOSS server provides itself although realized to a certain extent the management of life cycle, only for the service class service, does not propose the interface of specialty.
Summary of the invention
But purpose of the present invention be exactly provide in order to overcome the defective that above-mentioned prior art exists a kind of effective monitoring service lifecycle, flexibly dynamically to service be configured based on service lifecycle management and monitoring method in the network management system of JMX.
Purpose of the present invention can be achieved through the following technical solutions:
A kind ofly comprise the server and client side based on service lifecycle management and monitoring method in the network management system of JMX in the described network management system, the method comprises the management of service lifecycle, the configuration of service and the monitoring of service lifecycle,
The management of described service lifecycle refers to: formulate the life cycle of service module, stage and the state of life cycle managed;
The configuration of described service refers to: server obtains corresponding configuration file service module is monitored configuration, the configuration of anomalous event processing mode and the configuration of service Starting mode;
The monitoring of described service lifecycle refers to that server by utilizing JMX monitors life cycle, and concrete steps comprise:
The first step: server obtains configuration file, and after it is resolved, loads the JMX module;
Second step: server is by the registration of JMX module and load the service module that needs monitoring, starts service module;
The 3rd step: the JMX module is carried out the monitoring of life cycle to service module, if abnormal then carries out abnormality processing;
The 4th step: client call is deployed in the service module in the JMX module, and the service module in the monitoring is carried out operational access.
The state of the life cycle of described service module comprises in the initialization, initialized, start in, state of activation, stop in, unactivated state, halted state and reclaimed.
Described service Starting mode comprises synchronous startup or asynchronous starting.
The concrete steps of described loading JMX module comprise attribute that loading need to monitor, load the service that needs monitor and load each concrete module.
The concrete steps of the service module that described loading need to be monitored comprise that the module association attributes loads, the module life period action listener loads and module abnormality processing mode loads.
The mode of described client call service module comprises http mode and APP mode.
Compared with prior art, the present invention has the following advantages:
(1) have perfect life cycle state, configurable monitoring is processed with wrong;
(2) realized configurableization of height of life cycle management and monitoring so that the further refinement of network manager service be presented in user's eye, can serve life cycle monitoring and debugging.
Description of drawings
Fig. 1 is overall procedure schematic diagram of the present invention;
Fig. 2 is the change schematic diagram of service lifecycle of the present invention;
Fig. 3 is server main process schematic diagram of the present invention;
Fig. 4 is the mutual schematic diagram of client of the present invention and server;
Fig. 5 is JMX module loading activity chart of the present invention;
Fig. 6 is service module loading activity schematic diagram of the present invention.
Embodiment
The present invention is described in detail below in conjunction with the drawings and specific embodiments.
Embodiment
As shown in Figure 1, a kind ofly comprise the server and client side based on service lifecycle management and monitoring method in the network management system of JMX in the described network management system, the method comprises the management of service lifecycle, the configuration of service and the monitoring of service lifecycle.
The management of described service lifecycle refers to: formulate the life cycle of service module, stage and the state of life cycle managed.The Status Change of the life cycle of described service module comprises in the initialization, initialized, start in, state of activation, stop in, unactivated state, halted state and reclaimed, as shown in Figure 2.
The configuration of described service refers to: server obtains corresponding configuration file service module is monitored configuration, the configuration of anomalous event processing mode and the configuration of service Starting mode, described service Starting mode comprises synchronous startup or asynchronous starting, and described configuration file can be changed by client flexibly by the user.
As shown in Figure 3, the monitoring of described service lifecycle refers to that server by utilizing JMX monitors life cycle, and concrete steps comprise:
The first step: server obtains configuration file, and after it is resolved, loads the JMX module, and as shown in Figure 5, the concrete steps that load the JMX module comprise attribute that loading need to monitor, load the service that needs monitor and load each concrete module; The JMX module is not only the same with other business module to have a life cycle, the more important thing is, its effect is that other module is registered among the Agent of JMX, and the service with the webmaster business provides exposes by JMX, makes things convenient for client to call accordingly;
Second step: server is by the registration of JMX module and load the service module that needs monitoring, start service module, as shown in Figure 6, loading needs the concrete steps of the service module of monitoring to comprise that the module association attributes loads, the module life period action listener loads and module abnormality processing mode loads;
The 3rd step: the JMX module is carried out the monitoring of life cycle to service module, if abnormal then carries out abnormality processing;
The 4th step: client is called the service module that is deployed in the JMX module by various ways such as http mode and APP modes, and the service module in the monitoring is carried out operational access, as shown in Figure 4.
The inventive method has realized configurableization of height of life cycle management and monitoring so that the further refinement of network manager service be presented in user's eye, can monitor and debug.

Claims (6)

1. one kind based on service lifecycle management and monitoring method in the network management system of JMX, comprises the server and client side in the described network management system, it is characterized in that, the method comprises the management of service lifecycle, the configuration of service and the monitoring of service lifecycle,
The management of described service lifecycle refers to: formulate the life cycle of service module, stage and the state of life cycle managed;
The configuration of described service refers to: server obtains corresponding configuration file service module is monitored configuration, the configuration of anomalous event processing mode and the configuration of service Starting mode;
The monitoring of described service lifecycle refers to that server by utilizing JMX monitors life cycle, and concrete steps comprise:
The first step: server obtains configuration file, and after it is resolved, loads the JMX module;
Second step: server is by the registration of JMX module and load the service module that needs monitoring, starts service module;
The 3rd step: the JMX module is carried out the monitoring of life cycle to service module, if abnormal then carries out abnormality processing;
The 4th step: client call is deployed in the service module in the JMX module, and the service module in the monitoring is carried out operational access.
2. according to claim 1 a kind of based on service lifecycle management and monitoring method in the network management system of JMX, it is characterized in that, the state of the life cycle of described service module comprises in the initialization, initialized, start in, state of activation, stop in, unactivated state, halted state and reclaimed.
3. according to claim 1 a kind ofly it is characterized in that based on service lifecycle management and monitoring method in the network management system of JMX, described service Starting mode comprises synchronous startup or asynchronous starting.
4. according to claim 1 a kind of based on service lifecycle management and monitoring method in the network management system of JMX, it is characterized in that, the concrete steps of described loading JMX module comprise attribute that loading need to monitor, load the service that needs monitor and load each concrete module.
5. according to claim 1 a kind of based on service lifecycle management and monitoring method in the network management system of JMX, it is characterized in that, the concrete steps of the service module that described loading need to be monitored comprise that the module association attributes loads, the module life period action listener loads and module abnormality processing mode loads.
6. according to claim 1 a kind ofly it is characterized in that based on service lifecycle management and monitoring method in the network management system of JMX, the mode of described client call service module comprises http mode and APP mode.
CN2012103262717A 2012-09-05 2012-09-05 Service lifecycle management and monitoring method in network management system based on java management extension (JMX) Pending CN102904745A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103262717A CN102904745A (en) 2012-09-05 2012-09-05 Service lifecycle management and monitoring method in network management system based on java management extension (JMX)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103262717A CN102904745A (en) 2012-09-05 2012-09-05 Service lifecycle management and monitoring method in network management system based on java management extension (JMX)

Publications (1)

Publication Number Publication Date
CN102904745A true CN102904745A (en) 2013-01-30

Family

ID=47576795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103262717A Pending CN102904745A (en) 2012-09-05 2012-09-05 Service lifecycle management and monitoring method in network management system based on java management extension (JMX)

Country Status (1)

Country Link
CN (1) CN102904745A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105071969A (en) * 2015-08-19 2015-11-18 焦点科技股份有限公司 JMX (Java Management Extensions)-based customization real-time monitoring and automatic exception handling system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070294364A1 (en) * 2006-06-15 2007-12-20 International Business Machines Corporation Management of composite software services
CN101763428A (en) * 2010-01-04 2010-06-30 山东浪潮齐鲁软件产业股份有限公司 Registering, storing, managing and applying system of SOA for web services
CN101776906A (en) * 2009-12-30 2010-07-14 南京富士通南大软件技术有限公司 Multi-lifecycle management system for vehicle-mounted equipment production and implement method thereof
CN101938369A (en) * 2009-06-30 2011-01-05 中兴通讯股份有限公司 Comprehensive network management access management system, management method and network management system applying same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070294364A1 (en) * 2006-06-15 2007-12-20 International Business Machines Corporation Management of composite software services
CN101938369A (en) * 2009-06-30 2011-01-05 中兴通讯股份有限公司 Comprehensive network management access management system, management method and network management system applying same
CN101776906A (en) * 2009-12-30 2010-07-14 南京富士通南大软件技术有限公司 Multi-lifecycle management system for vehicle-mounted equipment production and implement method thereof
CN101763428A (en) * 2010-01-04 2010-06-30 山东浪潮齐鲁软件产业股份有限公司 Registering, storing, managing and applying system of SOA for web services

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
雷开春: "基于JMX的J2EE应用服务器研究与设计", 《中国优秀硕士学位论文全文数据库(电子期刊)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105071969A (en) * 2015-08-19 2015-11-18 焦点科技股份有限公司 JMX (Java Management Extensions)-based customization real-time monitoring and automatic exception handling system and method
CN105071969B (en) * 2015-08-19 2017-03-08 焦点科技股份有限公司 Customization monitor in real time based on JMX and the system and method for automatization's abnormality processing

Similar Documents

Publication Publication Date Title
Edrington et al. Machine monitoring system based on MTConnect technology
CN102932210B (en) Method and system for monitoring node in PaaS cloud platform
EP2741211B1 (en) Method and device for monitoring power consumption of android terminal application
CN110413346B (en) Parameter updating method and device
CN104199957B (en) A kind of implementation method of Redis general-purpose proxies
CN105491143A (en) Software running state monitoring system and realization method thereof
CN105099739B (en) One kind being based on plug-in type software deployment method, apparatus and application server
CN110908879A (en) Method, device, terminal and storage medium for reporting buried point data
WO2015184885A1 (en) Method and device for closing background application of mobile terminal, and mobile terminal
CN101895540B (en) For the system and method that application service process is guarded
CN103607297A (en) Fault processing method of computer cluster system
WO2020024376A1 (en) Method and device for processing operation and maintenance monitoring alarm
WO2020238344A1 (en) Rapid sdk integration method and apparatus based on block chain, device and device and storage medium
CN105487891A (en) Distributed cluster deploying method and system
WO2016188100A1 (en) Information system fault scenario information collection method and system
CN102937930A (en) Application program monitoring system and method
CN103383689A (en) Service process fault detection method, device and service node
TWI621013B (en) Systems for monitoring application servers
CN104598300A (en) Distributive business process customization method and system
CN103713974A (en) High-performance job scheduling management node dual-computer reinforcement method and device
CN115248826B (en) Method and system for large-scale distributed graph database cluster operation and maintenance management
CN103973516A (en) Method and device for achieving monitoring function in data processing system
CN103036975B (en) virtual machine control method and device
CN104216795A (en) Multiprocess protection system and implementation method thereof
CN112527507A (en) Cluster deployment method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130130