CN105227379A - A kind of centralized monitor for java web application and method for early warning - Google Patents
A kind of centralized monitor for java web application and method for early warning Download PDFInfo
- Publication number
- CN105227379A CN105227379A CN201510716354.0A CN201510716354A CN105227379A CN 105227379 A CN105227379 A CN 105227379A CN 201510716354 A CN201510716354 A CN 201510716354A CN 105227379 A CN105227379 A CN 105227379A
- Authority
- CN
- China
- Prior art keywords
- middleware
- data
- application
- agent
- management service
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1073—Registration or de-registration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention discloses a kind of for java? web? the centralized monitor of application and method for early warning, provide the strategy of a set of easy deployment, the deployment ability applied under significant increase cluster, improves O&M efficiency; Adopt non-intrusion type image data, alleviate the pressure to application system to greatest extent; Server-middleware-application service data collection is provided, abundant monitor data is provided; Adopt nosql storage mode, data analysis tool is integrated greatly with hadoop etc., predictive server state tendency, and then ensures that the health of application system is run.
Description
Technical field
The present invention relates to a kind of centralized monitor for javaweb application and method for early warning.
Background technology
Current javaweb application is generally deployed in javaweb container and (is commonly called as: java Application Middleware), Resourse Distribute when being run by application container management application system and access etc.Large-scale enterprise's application generally forms cluster by multiple application container, to provide Fault recovery, session maintenance, load balancing etc., under cluster environment, and the clustered deploy(ment) that application deployment dependence application container provides, monitoring function.Do not having in special cluster management function situation, the deployment of application system and upgrading generally revise configuration file by procedure set copy, decompress(ion), Telnet, and system is disposed, upgrading poor quality, and manual operation mistake possibility is larger; Due to the complexity of cluster environment, may occur multiple operating system or multiple java application container, maintenance cost is comparatively large, needs the professional of different platform; Each dilatation server needs a large amount of server monitorings; Supervisory control system needs to rely on hardware, and restricted physical Distance geometry hardware bottleneck.
Due to the deployment limitation of non-commercial javaweb container, dispose inefficiency, makeing mistakes property of manual operation is large, and monitoring maintenance cost is high; Although there have been some monitoring open source softwares market at present, due to its invasive, control and monitoring are inadequate; Cannot fast, accurate orientation problem, and comparatively large to application system loss, be unfavorable for the stable and reliable of application system.
Summary of the invention
In order to solve the problems of the technologies described above, the invention provides a kind of centralized monitor for javaweb application and method for early warning.
In order to achieve the above object, the technical solution adopted in the present invention is:
For centralized monitor and the method for early warning of javaweb application, comprise the following steps,
Step one, configures Agent program successively, starts Agent program;
Step 2, configuration server, registrar successively in management service;
Step 3, after server registration completes, sends to corresponding Agent, completes the parameter initialization of Agent program by initialization data;
Step 4, configures middleware, application system successively in management service;
Step 5, registration middleware;
Managed middleware object is registered in the server of specifying;
Step 6, after middleware has been registered, sends middleware School Affairs configuration-direct to Agent, check middleware path and type whether correct, check by rear Agent from management service download extension element and installation and deployment to middleware;
Step 7, registered application system;
Step 8, after application system register completes, uploads corresponding assembly file, and record application system associates with assembly file;
Step 9, configuration application system;
To the application system of specifying, create and multiple dissimilar configuration file in parallel;
Step 10, configuration application;
Multiple application forms a deployment unit, and the application in deployment unit has different titles and access path;
Step 11, management service sends Disposition Instructions to Agent;
Step 12, after Agent receives instruction, first the middleware example run is stopped, back up the application program of having disposed, secondly current application program of having disposed is deleted, then download up-to-date assembly file from management service and unzip to deployment catalogue, download configuration file is also stored in relevant position in procedure set catalogue by configuration file definition;
Step 13, in middleware start-up course, extension element loads and runs, and extension element exports JVM service data to the predetermined directories in middleware installation directory;
Step 14, Agent monitors that extension element exports, the document change in periodic test predetermined directories;
Step 15, up-to-date JVM service data is sent to management service by Agent;
Step 10 six, JVM service data is deposited in the hdfs of hadoop in non-structured mode by management service, calculates JVM service data by the mapreduce the defined timing of hadoop;
Step 10 seven, hadoop is calculated the warning data obtained and is stored in database by management service;
Step 10 eight, management service timing gathers warning data to database, and is shown on the page by warning data;
Step 10 nine, operation maintenance personnel login management is served, and checks warning data, holds server state according to warning data.
Configuration server comprises configuration server title, IP and management port; Registrar comprises registrar title, IP and management port.
Register managed middleware object and comprise registration middleware type, title, installation directory and port.
Configuration file is the configuration file of Xml or Properties form.
Disposition Instructions comprises middleware information, procedure set download path and the profile list.
JVM service data comprises static data and dynamic data; Static data only exports once when extension element initialization, comprises JVM version, producer, current process number, class.path and working directory; Dynamic data, for periodically obtaining latest data, comprises process list, process stacks, class loading quantity and heap size.
When server, middleware, application go wrong, management service can by note mail interface notice alarm operation maintenance personnel.
The beneficial effect that the present invention reaches: the invention provides a kind of centralized monitor for javaweb application and method for early warning, provide the strategy of a set of easy deployment, the deployment ability applied under significant increase cluster, improve O&M efficiency; Adopt non-intrusion type image data, alleviate the pressure to application system to greatest extent; Server-middleware-application service data collection is provided, abundant monitor data is provided; Adopt nosql storage mode, data analysis tool is integrated greatly with hadoop etc., predictive server state tendency, and then ensures that the health of application system is run.
Accompanying drawing explanation
Fig. 1 is flow chart of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the invention will be further described.Following examples only for technical scheme of the present invention is clearly described, and can not limit the scope of the invention with this.
As shown in Figure 1, a kind of centralized monitor for javaweb application and method for early warning, comprise the following steps:
Step one, configures Agent program successively, starts Agent program.
The listening port of Agent is defined in configuration file, as used default port without definition; First monitor designated port with embedded mode initialization Jetty engine in Agent start-up course, register instruction receives process Handler.
Step 2, configuration server, registrar successively in management service.
Configuration server comprises configuration server title, IP, management port (in the listening port of Agent); Registrar comprises registrar title, IP, management port (in the listening port of Agent).
Step 3, after server registration completes, sends to corresponding Agent, completes the parameter initialization of Agent program by initialization data;
Step 4, configures middleware, application system successively in management service.
Step 5, registration middleware.
In the server of specifying, register managed middleware object, comprise registration middleware type, title, installation directory and port.
Step 6, after middleware has been registered, sends middleware School Affairs configuration-direct to Agent, check middleware path and type whether correct, check by rear Agent from management service download extension element and installation and deployment to middleware.
Step 7, registered application system.
Application system underlying attribute comprises title, disposes context, assembly file path.
Step 8, after application system register completes, uploads corresponding assembly file (ZIP), the associating of record application system and assembly file (1 to 1).
Step 9, configuration application system.
To the application system of specifying, create and multiple dissimilar configuration file in parallel.
Application system configuration is made up of affiliated application, document location, file type, file content, preserves in a database.Configuration file is the configuration file of Xml or Properties form, has format check function, and check the legitimacy of file content form, the configuration file of extended formatting does not provide verifying function.
Step 10, configuration application.
Multiple application forms a deployment unit, and the application in deployment unit has different titles and access path.
Step 11, management service sends Disposition Instructions to Agent.
Disposition Instructions comprises middleware information, procedure set download path and the profile list.
Step 12, after Agent receives instruction, first the middleware example run is stopped, back up the application program of having disposed, secondly current application program of having disposed is deleted, then download up-to-date assembly file from management service and unzip to deployment catalogue, download configuration file is also stored in relevant position in procedure set catalogue by configuration file definition.
Step 13, in middleware start-up course, extension element loads and runs, and extension element exports JVM service data to the predetermined directories in middleware installation directory.
JVM service data comprises static data and dynamic data; Static data only exports once when extension element initialization, comprises JVM version, producer, current process number, class.path and working directory; Dynamic data, for periodically obtaining latest data, comprises process list, process stacks, class loading quantity and heap size.
Step 14, Agent monitors that extension element exports, the document change in periodic test predetermined directories.
Step 15, up-to-date JVM service data is sent to management service by Agent.
Step 10 six, JVM service data is deposited in the hdfs of hadoop in non-structured mode by management service, calculates JVM service data by the mapreduce the defined timing of hadoop.
Step 10 seven, hadoop is calculated the warning data obtained and is stored in database by management service.
Step 10 eight, management service timing gathers warning data to database, and is shown on the page by warning data.
Step 10 nine, operation maintenance personnel login management is served, and checks warning data, holds server state according to warning data.
When server, middleware, application go wrong, management service can by note mail interface notice alarm operation maintenance personnel.
The deployment ability that said method is applied under providing the tactful significant increase cluster of a set of easy deployment, improves O&M efficiency; Adopt non-intrusion type image data, alleviate the pressure to application system to greatest extent; Server-middleware-application service data collection is provided, abundant monitor data is provided; Adopt nosql storage mode, data analysis tool is integrated greatly with hadoop etc., predictive server state tendency, and then ensures that the health of application system is run.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from the technology of the present invention principle; can also make some improvement and distortion, these improve and distortion also should be considered as protection scope of the present invention.
Claims (7)
1., for centralized monitor and the method for early warning of javaweb application, it is characterized in that: comprise the following steps,
Step one, configures Agent program successively, starts Agent program;
Step 2, configuration server, registrar successively in management service;
Step 3, after server registration completes, sends to corresponding Agent, completes the parameter initialization of Agent program by initialization data;
Step 4, configures middleware, application system successively in management service;
Step 5, registration middleware;
Managed middleware object is registered in the server of specifying;
Step 6, after middleware has been registered, sends middleware School Affairs configuration-direct to Agent, check middleware path and type whether correct, check by rear Agent from management service download extension element and installation and deployment to middleware;
Step 7, registered application system;
Step 8, after application system register completes, uploads corresponding assembly file, and record application system associates with assembly file;
Step 9, configuration application system;
To the application system of specifying, create and multiple dissimilar configuration file in parallel;
Step 10, configuration application;
Multiple application forms a deployment unit, and the application in deployment unit has different titles and access path;
Step 11, management service sends Disposition Instructions to Agent;
Step 12, after Agent receives instruction, first the middleware example run is stopped, back up the application program of having disposed, secondly current application program of having disposed is deleted, then download up-to-date assembly file from management service and unzip to deployment catalogue, download configuration file is also stored in relevant position in procedure set catalogue by configuration file definition;
Step 13, in middleware start-up course, extension element loads and runs, and extension element exports JVM service data to the predetermined directories in middleware installation directory;
Step 14, Agent monitors that extension element exports, the document change in periodic test predetermined directories;
Step 15, up-to-date JVM service data is sent to management service by Agent;
Step 10 six, JVM service data is deposited in the hdfs of hadoop in non-structured mode by management service, calculates JVM service data by the mapreduce the defined timing of hadoop;
Step 10 seven, hadoop is calculated the warning data obtained and is stored in database by management service;
Step 10 eight, management service timing gathers warning data to database, and is shown on the page by warning data;
Step 10 nine, operation maintenance personnel login management is served, and checks warning data, holds server state according to warning data.
2. a kind of centralized monitor for javaweb application according to claim 1 and method for early warning, is characterized in that: configuration server comprises configuration server title, IP and management port; Registrar comprises registrar title, IP and management port.
3. a kind of centralized monitor for javaweb application according to claim 1 and method for early warning, is characterized in that: register managed middleware object and comprise registration middleware type, title, installation directory and port.
4. a kind of centralized monitor for javaweb application according to claim 1 and method for early warning, is characterized in that: configuration file is the configuration file of Xml or Properties form.
5. a kind of centralized monitor for javaweb application according to claim 1 and method for early warning, is characterized in that: Disposition Instructions comprises middleware information, procedure set download path and the profile list.
6. a kind of centralized monitor for javaweb application according to claim 1 and method for early warning, is characterized in that: JVM service data comprises static data and dynamic data; Static data only exports once when extension element initialization, comprises JVM version, producer, current process number, class.path and working directory; Dynamic data, for periodically obtaining latest data, comprises process list, process stacks, class loading quantity and heap size.
7. a kind of centralized monitor for javaweb application according to claim 1 and method for early warning, is characterized in that: when server, middleware, application go wrong, and management service can by note mail interface notice alarm operation maintenance personnel.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510716354.0A CN105227379A (en) | 2015-10-29 | 2015-10-29 | A kind of centralized monitor for java web application and method for early warning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510716354.0A CN105227379A (en) | 2015-10-29 | 2015-10-29 | A kind of centralized monitor for java web application and method for early warning |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105227379A true CN105227379A (en) | 2016-01-06 |
Family
ID=54996090
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510716354.0A Pending CN105227379A (en) | 2015-10-29 | 2015-10-29 | A kind of centralized monitor for java web application and method for early warning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105227379A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105653329A (en) * | 2015-12-30 | 2016-06-08 | 国网信息通信产业集团有限公司 | Application management method, apparatus and system |
CN108038036A (en) * | 2017-10-23 | 2018-05-15 | 山东中创软件商用中间件股份有限公司 | Application system performance monitoring method, device, equipment and computer-readable storage medium |
CN108512691A (en) * | 2018-02-07 | 2018-09-07 | 复旦大学 | Cloud automatic early-warning O&M monitoring system based on Hadoop |
CN108681499A (en) * | 2018-05-04 | 2018-10-19 | 广州市玄武无线科技股份有限公司 | O&M monitoring method, device and computer readable storage medium |
CN109086051A (en) * | 2018-06-29 | 2018-12-25 | 平安科技(深圳)有限公司 | Application component dispositions method, device and computer storage medium |
CN112733148A (en) * | 2021-01-12 | 2021-04-30 | 北京旋极安辰计算科技有限公司 | Java-based trusted policy automatic adaptation method |
CN112925689A (en) * | 2021-01-22 | 2021-06-08 | 复旦大学 | Multi-channel monitoring data transmission optimization method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101567816A (en) * | 2009-05-27 | 2009-10-28 | 北京中企开源信息技术有限公司 | Monitoring server and monitoring method |
US20090271771A1 (en) * | 2008-04-28 | 2009-10-29 | Fallows John R | System and methods for distributed execution of computer executable programs utilizing asymmetric translation |
CN103942063A (en) * | 2013-11-08 | 2014-07-23 | 国家电网公司 | Centralized configuration and remote deployment method for Java Web application |
CN104639374A (en) * | 2015-03-03 | 2015-05-20 | 上海瀚银信息技术有限公司 | Application program deployment management system |
CN103077034B (en) * | 2013-01-09 | 2015-08-19 | 上海交通大学 | hybrid virtualization platform JAVA application migration method and system |
-
2015
- 2015-10-29 CN CN201510716354.0A patent/CN105227379A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090271771A1 (en) * | 2008-04-28 | 2009-10-29 | Fallows John R | System and methods for distributed execution of computer executable programs utilizing asymmetric translation |
CN101567816A (en) * | 2009-05-27 | 2009-10-28 | 北京中企开源信息技术有限公司 | Monitoring server and monitoring method |
CN103077034B (en) * | 2013-01-09 | 2015-08-19 | 上海交通大学 | hybrid virtualization platform JAVA application migration method and system |
CN103942063A (en) * | 2013-11-08 | 2014-07-23 | 国家电网公司 | Centralized configuration and remote deployment method for Java Web application |
CN104639374A (en) * | 2015-03-03 | 2015-05-20 | 上海瀚银信息技术有限公司 | Application program deployment management system |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105653329A (en) * | 2015-12-30 | 2016-06-08 | 国网信息通信产业集团有限公司 | Application management method, apparatus and system |
CN108038036A (en) * | 2017-10-23 | 2018-05-15 | 山东中创软件商用中间件股份有限公司 | Application system performance monitoring method, device, equipment and computer-readable storage medium |
CN108512691A (en) * | 2018-02-07 | 2018-09-07 | 复旦大学 | Cloud automatic early-warning O&M monitoring system based on Hadoop |
CN108681499A (en) * | 2018-05-04 | 2018-10-19 | 广州市玄武无线科技股份有限公司 | O&M monitoring method, device and computer readable storage medium |
CN108681499B (en) * | 2018-05-04 | 2019-03-15 | 广州市玄武无线科技股份有限公司 | O&M monitoring method, device and computer readable storage medium |
CN109086051A (en) * | 2018-06-29 | 2018-12-25 | 平安科技(深圳)有限公司 | Application component dispositions method, device and computer storage medium |
CN109086051B (en) * | 2018-06-29 | 2022-03-25 | 平安科技(深圳)有限公司 | Application component deployment method and device and computer storage medium |
CN112733148A (en) * | 2021-01-12 | 2021-04-30 | 北京旋极安辰计算科技有限公司 | Java-based trusted policy automatic adaptation method |
CN112733148B (en) * | 2021-01-12 | 2021-10-01 | 北京旋极安辰计算科技有限公司 | Java-based trusted policy automatic adaptation method |
CN112925689A (en) * | 2021-01-22 | 2021-06-08 | 复旦大学 | Multi-channel monitoring data transmission optimization method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105227379A (en) | A kind of centralized monitor for java web application and method for early warning | |
US11757720B2 (en) | Distributed computing dependency management system | |
CN106790595B (en) | Docker container active load balancing device and method | |
CN104199666B (en) | A kind of application program Dynamic Configuration and device | |
CN103942063A (en) | Centralized configuration and remote deployment method for Java Web application | |
CN107959579B (en) | Multi-system deployment method and deployment system | |
US8122111B2 (en) | System and method for server configuration control and management | |
US7899850B2 (en) | Relational objects for the optimized management of fixed-content storage systems | |
CN102194009B (en) | Database hosting method and database hosting platform system | |
CN105653329A (en) | Application management method, apparatus and system | |
US7937716B2 (en) | Managing collections of appliances | |
US20090063650A1 (en) | Managing Collections of Appliances | |
CN104486445A (en) | Distributed extendable resource monitoring system and method based on cloud platform | |
CN104065517A (en) | Distributed-system software configuration management method and system | |
CN107797767A (en) | One kind is based on container technique deployment distributed memory system and its storage method | |
WO2018099154A1 (en) | Event processing method, network management device, and server | |
CN108073402A (en) | Kafka clusters automatic deployment method and device based on linux system | |
CN107528751B (en) | A kind of system and its management method of dynamic distribution Zabbix monitoring data | |
CN105677789A (en) | Method and system for managing directory capacity of distributed file system | |
CN106953910A (en) | A kind of Hadoop calculates storage separation method | |
CN102983996A (en) | Dynamic allocation method and system for high-availability cluster resource management | |
US20150081625A1 (en) | Service polling method and system, and computer storage medium | |
CN103905441A (en) | Data acquisition method and device | |
CN103870560A (en) | Log managing method for cluster | |
CN107562503A (en) | A kind of configuring management method and device |
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: 20160106 |