Movatterモバイル変換


[0]ホーム

URL:


CN111782205A - Universal software deployment monitoring system and method - Google Patents

Universal software deployment monitoring system and method
Download PDF

Info

Publication number
CN111782205A
CN111782205ACN202010754430.8ACN202010754430ACN111782205ACN 111782205 ACN111782205 ACN 111782205ACN 202010754430 ACN202010754430 ACN 202010754430ACN 111782205 ACN111782205 ACN 111782205A
Authority
CN
China
Prior art keywords
product package
software
monitoring
deployment
management module
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.)
Granted
Application number
CN202010754430.8A
Other languages
Chinese (zh)
Other versions
CN111782205B (en
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.)
Hangzhou Daishu Technology Co ltd
Original Assignee
Hangzhou Daishu 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 Hangzhou Daishu Technology Co ltdfiledCriticalHangzhou Daishu Technology Co ltd
Priority to CN202010754430.8ApriorityCriticalpatent/CN111782205B/en
Publication of CN111782205ApublicationCriticalpatent/CN111782205A/en
Application grantedgrantedCritical
Publication of CN111782205BpublicationCriticalpatent/CN111782205B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a general software deployment monitoring system and a method, belonging to the technical field of big data, comprising a server cluster and a client, wherein the server cluster and the client adopt a C/S system architecture; a gPC mechanism is adopted between the server cluster and the client for communication; the invention standardizes and streamlines the deployment, monitoring, operation and maintenance processes of software, has simple operation, reduces the operation and maintenance implementation cost, thereby improving the deployment, delivery and operation and maintenance efficiency, having wide applicability and high reproducibility, providing a software deployment monitoring scheme for enterprises for reference, and reducing the investment of the enterprises in the implementation of software system delivery.

Description

Universal software deployment monitoring system and method
Technical Field
The invention belongs to the technical field of big data, and relates to a general software deployment monitoring system and a general software deployment monitoring method.
Background
The novel infrastructure represented by 5G, artificial intelligence, industrial internet and Internet of things is essentially an informationized and digitalized infrastructure, and a software system is an important component of the novel infrastructure (new infrastructure). In addition, in the field of software development and software delivery, continuous integration and continuous delivery have become one of the hottest innovative directions in entrepreneurship. Software system deployment and monitoring is the most important part of the software delivery process, and the efficiency of the software system deployment and monitoring often determines the cost and profit of a software provider; efficient software deployment monitoring systems are becoming an on-demand for software vendors, particularly enterprise software providers.
In the aspect of deployment and monitoring of a software system, an open-source solution such as infrastructure, Jenkins, Puppet and the like exists in a community, and the open-source solution has a side-weight point such as infrastructure side-weight automatic operation and maintenance, although a simple Web interaction page exists, a certain technical threshold exists in practical use; jenkins focuses on automatic flow work, such as automatic compiling, automatic packaging, automatic deployment and the like, and Jenkins plays an important role in continuous integration and continuous delivery directions.
The open source scheme has the advantages of flexibility and the disadvantages of high technical requirements on implementers, need to invest in research and study, needs to integrate the open source system deployment scheme and the open source system monitoring scheme and has few open source schemes which take system deployment and system monitoring into consideration. The opposite surface of the open source scheme is a commercial deployment system, the commercial deployment monitoring system has low use threshold and low requirement on the technical capability of implementation personnel, but the purchasing cost is always considered. In addition, large-scale enterprises can choose to self-build and deploy the monitoring system, but the self-building has higher technical requirements on the enterprises and higher cost.
Disclosure of Invention
The invention aims to provide a general software deployment monitoring system and a general software deployment monitoring method, which solve the technical problem that software deployment and monitoring can be completed through simple page operation.
In order to achieve the purpose, the invention adopts the following technical scheme:
a general software deployment monitoring system comprises a server cluster and a client, wherein the server cluster and the client adopt a C/S system architecture;
a gPC mechanism is adopted between the server cluster and the client for communication;
establishing a host resource management module, a product package deployment management module, a post-deployment monitoring and warning module and a software upgrading management module in a server cluster;
the host resource management module is used for providing a gPC communication mechanism for all the servers in the server cluster and monitoring the operation condition of the servers in real time;
the product package management module is used for defining the rule of the software product package and compressing the software product package into an independent binary product package which can be copied and transmitted independently according to the rule;
the product package deployment management module is used for providing a product package management operation interface and establishing a butt joint interface between an operation item on the product package management operation interface and the product package management module;
the deployed monitoring warning module is used for automatically acquiring running indexes of the software according to rules of the software product package and supporting monitoring warning during the running of the software by setting warning rules.
The software upgrading management module is used for strictly controlling the upgrading of the software product package according to the version number of the software product package.
Preferably, the host resource management module is provided with a compatible interface supporting the client to custom install the plug-in or agent lifecycle management;
the host resource management module is provided with a performance monitoring tool and is used for automatically acquiring the performance data of the server and making the performance data into a monitoring chart.
Preferably, the software product package comprises 6 elements: the software product package comprises a program package, a starting command, a configuration file, an operation log file, a data directory and an operation index acquisition mode, wherein the rule for defining the software product package is a rule for formulating 6 elements of the software product package.
Preferably, the alarm rule includes a short message alarm or a mail alarm.
A general software deployment monitoring method comprises the following steps:
step 1: selecting one server in the Hadoop server cluster as a main server, setting other servers as hosts, and establishing the general software deployment monitoring system in the main server;
step 2: the host resource management module provides a gPC communication mechanism for all hosts accessed to the main server to realize communication between the main server and all hosts;
and step 3: the main server initializes the software environment of all the accessed hosts;
and 4, step 4: installing an access host performance monitoring tool in the main server, automatically acquiring performance data of all hosts, making the performance data into a monitoring chart, and acquiring the resource use condition of the access host through the monitoring chart;
and 5: the product package management module makes a rule according to 6 elements of the software product package, and the steps are as follows:
step S1: the software product package comprises 6 elements: a program package, a starting command, a configuration file, an operation log file, a data directory and an operation index acquisition mode;
step S2: defining the version number of the software product package in a package description file;
step S3: specifying a starting mode and a starting command of the software product package in the starting command;
step S4: listing all file names of the configuration files included in the software product in the configuration files, and making a configuration file list;
step S5: enumerating paths of all running log files of the software product package in the running log file;
step S6: the data directory specifies a data read-write directory of the software;
step S7: the monitoring port level and the maximum deployment copy number of the software product package are specified in a runtime index acquisition mode;
step 6: the product package deployment management module provides a management operation interface of the product package, the management operation interface is displayed on the client in a WEB page mode, and a user performs uploading, editing, unloading, starting, stopping, updating and executing operations of the software product package on the management operation interface and generates operation instruction information;
and 7: the product package deployment management module sends the operation instruction information to the product package management module, and the product package management module carries out actual operation on the software product package according to the operation instruction information;
inputting 6 elements of the software product package by a user through a management operation interface;
the host resource management module prepares host resources according to actual deployment requirements of software, accesses the host and carries out environment initialization on the accessed host;
and 8: after the user uploads the software product package, the product package management module decompresses the software product package into an independent binary product package which can be copied and transmitted independently according to the method in the step 5;
and step 9: the monitoring and warning module starts the collection of monitoring indexes when the software deployment is finished after the deployment, automatically collects the running indexes of the software and sends out monitoring and warning information when errors exist, and the collection of the monitoring indexes is carried out according to the running index collection mode;
step 10: and the monitoring and warning module sends a warning notice to the client according to a preset warning rule after deployment.
Step 11: the software upgrading management module dynamically checks the arranged host resources when the software product package is deployed, and performs capacity expansion and capacity reduction operations, and the software upgrading management module performs upgrading control on the software product package according to the version number of the software product package and controls the rolling stop and start of the software product package in the upgrading, capacity expansion and capacity reduction processes.
The universal software deployment monitoring system and the universal software deployment monitoring method solve the technical problem that the deployment and monitoring of software can be completed through simple page operation, standardize and streamline the deployment, monitoring and operation and maintenance processes of the software, are simple to operate, reduce the operation and maintenance implementation cost, improve the deployment, delivery and operation and maintenance efficiency, have wide applicability and high reproducibility, provide a software deployment monitoring scheme for reference for enterprises, and reduce the investment of the enterprises in implementing software system delivery.
Drawings
FIG. 1 is a flow chart illustrating host management and control according to the present invention;
fig. 2 is a schematic diagram of the system architecture of the present invention.
Detailed Description
Example 1:
a general software deployment monitoring system shown in fig. 1-2 includes a server cluster and a client, where the server cluster and the client use a C/S system architecture;
a gPC mechanism is adopted between the server cluster and the client for communication;
establishing a host resource management module, a product package deployment management module, a post-deployment monitoring and warning module and a software upgrading management module in a server cluster;
the host resource management module is used for providing a gPC communication mechanism for all the servers in the server cluster and monitoring the operation condition of the servers in real time;
in fig. 2, the host cluster is a server cluster, the visual WEB is a client, and the backend service is a host resource management module, a product package deployment management module, a post-deployment monitoring and warning module, and a software upgrade management module established in the server cluster.
The product package management module is used for defining the rule of the software product package and compressing the software product package into an independent binary product package which can be copied and transmitted independently according to the rule;
the product package deployment management module is used for providing a product package management operation interface and establishing a butt joint interface between an operation item on the product package management operation interface and the product package management module;
the deployed monitoring warning module is used for automatically acquiring running indexes of the software according to rules of the software product package and supporting monitoring warning during the running of the software by setting warning rules.
The software upgrading management module is used for strictly controlling the upgrading of the software product package according to the version number of the software product package.
Preferably, the host resource management module is provided with a compatible interface supporting the client to custom install the plug-in or agent lifecycle management;
the host resource management module is provided with a performance monitoring tool and is used for automatically acquiring the performance data of the server and making the performance data into a monitoring chart.
Preferably, the software product package comprises 6 elements: the software product package comprises a program package, a starting command, a configuration file, an operation log file, a data directory and an operation index acquisition mode, wherein the rule for defining the software product package is a rule for formulating 6 elements of the software product package.
Preferably, the alarm rule includes a short message alarm or a mail alarm.
Example 2:
as shown in fig. 1 and fig. 2, the method for monitoring deployment of generic software according to embodiment 2 is implemented on the basis of the system for monitoring deployment of generic software according to embodiment 1, and includes the following steps:
step 1: selecting one server in the Hadoop server cluster as a main server, setting other servers as hosts, and establishing the general software deployment monitoring system in the main server;
in fig. 1, the Host Server is a main Server, and the Host Cl is a Host.
Step 2: the host resource management module provides a gPC communication mechanism for all hosts accessed to the main server to realize communication between the main server and all hosts;
the embodiment supports the installation of the custom plug-ins or agent life cycle management on the host end as required, meets the functional requirements of the host end for custom performance data, log acquisition and the like, is more real-time than the traditional SSH mode for controlling the host, and has higher on-demand expansibility.
And step 3: the main server initializes the software environment of all the accessed hosts;
the embodiment supports executable scripts such as an operating system shell or a bash and the like, supports the python advanced predictive host initialization script, and can be flexibly customized and disassembled.
And 4, step 4: installing an access host performance monitoring tool in the main server, automatically acquiring performance data of all hosts, making the performance data into a monitoring chart, and acquiring the resource use condition of the access host through the monitoring chart;
and 5: the product package management module makes a rule according to 6 elements of the software product package, and the steps are as follows:
step S1: the software product package comprises 6 elements: a program package, a starting command, a configuration file, an operation log file, a data directory and an operation index acquisition mode;
step S2: defining the version number of the software product package in a package description file;
step S3: specifying a starting mode and a starting command of the software product package in the starting command;
step S4: listing all file names of the configuration files included in the software product in the configuration files, and making a configuration file list;
step S5: enumerating paths of all running log files of the software product package in the running log file;
step S6: the data directory specifies a data read-write directory of the software;
step S7: the monitoring port level and the maximum deployment copy number of the software product package are specified in a runtime index acquisition mode; such as prometheus class monitor port.
The invention abstracts six elements of software deployment, describes key information required by the software deployment in a specification mode, is suitable for various stateless software systems and stateful software systems, and has flexible definition and wide applicability.
Step 6: the product package deployment management module provides a management operation interface of the product package, the management operation interface is displayed on the client in a WEB page mode, and a user performs uploading, editing, unloading, starting, stopping, updating and executing operations of the software product package on the management operation interface and generates operation instruction information;
and 7: the product package deployment management module sends the operation instruction information to the product package management module, and the product package management module carries out actual operation on the software product package according to the operation instruction information;
inputting 6 elements of the software product package by a user through a management operation interface;
the host resource management module prepares host resources according to actual deployment requirements of software, accesses the host and carries out environment initialization on the accessed host;
and 8: after the user uploads the software product package, the product package management module decompresses the software product package into an independent binary product package which can be copied and transmitted independently according to the method in the step 5;
the user can also perform health check on the software product package on the WEB page and query the host resources.
And step 9: the monitoring and warning module starts the collection of monitoring indexes when the software deployment is finished after the deployment, automatically collects the running indexes of the software and sends out monitoring and warning information when errors exist, and the collection of the monitoring indexes is carried out according to the running index collection mode;
step 10: and the monitoring and warning module sends a warning notice to the client according to a preset warning rule after deployment.
Step 11: the software upgrading management module dynamically checks the arranged host resources when the software product package is deployed, and performs capacity expansion and capacity reduction operations, and the software upgrading management module performs upgrading control on the software product package according to the version number of the software product package and controls the rolling stop and start of the software product package in the upgrading, capacity expansion and capacity reduction processes.
The universal software deployment monitoring system and the universal software deployment monitoring method solve the technical problem that the deployment and monitoring of software can be completed through simple page operation, standardize and streamline the deployment, monitoring and operation and maintenance processes of the software, are simple to operate, reduce the operation and maintenance implementation cost, improve the deployment, delivery and operation and maintenance efficiency, have wide applicability and high reproducibility, provide a software deployment monitoring scheme for reference for enterprises, and reduce the investment of the enterprises in implementing software system delivery.

Claims (5)

CN202010754430.8A2020-07-302020-07-30Universal software deployment monitoring methodActiveCN111782205B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202010754430.8ACN111782205B (en)2020-07-302020-07-30Universal software deployment monitoring method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010754430.8ACN111782205B (en)2020-07-302020-07-30Universal software deployment monitoring method

Publications (2)

Publication NumberPublication Date
CN111782205Atrue CN111782205A (en)2020-10-16
CN111782205B CN111782205B (en)2024-06-11

Family

ID=72766543

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010754430.8AActiveCN111782205B (en)2020-07-302020-07-30Universal software deployment monitoring method

Country Status (1)

CountryLink
CN (1)CN111782205B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114244678A (en)*2021-12-152022-03-25浪潮通信信息系统有限公司Multi-protocol alarm equipment access method and system
CN114268629A (en)*2021-12-222022-04-01杭州玳数科技有限公司 Private cloud based EMR system
CN114564183A (en)*2022-02-212022-05-31杭州玳数科技有限公司 Shell Execution Device Based on Linux System
CN115344273A (en)*2022-10-192022-11-15杭州比智科技有限公司Method and system for running application software based on shelf system
CN116647434A (en)*2023-07-242023-08-25国网瑞嘉(天津)智能机器人有限公司 Operation and maintenance service deployment method, device and operation and maintenance system
CN116974857A (en)*2023-09-212023-10-31中国西安卫星测控中心Automatic deployment and update method and system for monitoring agent

Citations (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20090282401A1 (en)*2008-05-092009-11-12Mariela TodorovaDeploying software modules in computer system
US20150020061A1 (en)*2013-07-112015-01-15Oracle International CorporationForming an upgrade recommendation in a cloud computing environment
CN104317610A (en)*2014-10-112015-01-28福建新大陆软件工程有限公司Method and device for automatic installation and deployment of hadoop platform
CN104967532A (en)*2015-05-142015-10-07上海彤易网络科技有限公司TOC technology operation and maintenance system and application method
US20170006135A1 (en)*2015-01-232017-01-05C3, Inc.Systems, methods, and devices for an enterprise internet-of-things application development platform
US20170039038A1 (en)*2014-03-212017-02-09Ptc Inc.Systems and methods for developing and using real-time data applications
CN106406877A (en)*2016-09-092017-02-15浪潮软件股份有限公司Implementation method for on-line development and release of light application
CN106681956A (en)*2016-12-272017-05-17北京锐安科技有限公司Method and device for operating large-scale computer cluster
US20170249132A1 (en)*2016-02-262017-08-31Dell Products L.P.Managed Software as a Service Deployment Utilizing a Client Key to Generate a One-Time Use Reference for Delivery
CN108390907A (en)*2018-01-092018-08-10浙江航天恒嘉数据科技有限公司A kind of management monitoring system and method based on Hadoop clusters
CN109462504A (en)*2018-11-092019-03-12杭州玳数科技有限公司A kind of system of general Agent control
US20190243640A1 (en)*2018-02-022019-08-08Bank Of America CorporationSmart tool for enterprise-wide version control of codes during software integration and deployment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20090282401A1 (en)*2008-05-092009-11-12Mariela TodorovaDeploying software modules in computer system
US20150020061A1 (en)*2013-07-112015-01-15Oracle International CorporationForming an upgrade recommendation in a cloud computing environment
US20170039038A1 (en)*2014-03-212017-02-09Ptc Inc.Systems and methods for developing and using real-time data applications
CN104317610A (en)*2014-10-112015-01-28福建新大陆软件工程有限公司Method and device for automatic installation and deployment of hadoop platform
US20170006135A1 (en)*2015-01-232017-01-05C3, Inc.Systems, methods, and devices for an enterprise internet-of-things application development platform
CN104967532A (en)*2015-05-142015-10-07上海彤易网络科技有限公司TOC technology operation and maintenance system and application method
US20170249132A1 (en)*2016-02-262017-08-31Dell Products L.P.Managed Software as a Service Deployment Utilizing a Client Key to Generate a One-Time Use Reference for Delivery
CN106406877A (en)*2016-09-092017-02-15浪潮软件股份有限公司Implementation method for on-line development and release of light application
CN106681956A (en)*2016-12-272017-05-17北京锐安科技有限公司Method and device for operating large-scale computer cluster
CN108390907A (en)*2018-01-092018-08-10浙江航天恒嘉数据科技有限公司A kind of management monitoring system and method based on Hadoop clusters
US20190243640A1 (en)*2018-02-022019-08-08Bank Of America CorporationSmart tool for enterprise-wide version control of codes during software integration and deployment
CN109462504A (en)*2018-11-092019-03-12杭州玳数科技有限公司A kind of system of general Agent control

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
李小文;刘玉龙;: "基于Puppet的自动化部署工具的设计与实现", 软件, no. 12, 15 December 2015 (2015-12-15), pages 224 - 227*
李小文;刘玉龙;: "基于Puppet的自动化部署工具的设计与实现", 软件, no. 12, pages 224 - 227*
田承平: "基于B/S架构的同一配置管理系统的设计与实现", 《优秀说书论文集》, pages 1 - 74*

Cited By (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114244678A (en)*2021-12-152022-03-25浪潮通信信息系统有限公司Multi-protocol alarm equipment access method and system
CN114244678B (en)*2021-12-152024-03-12浪潮通信信息系统有限公司Multi-protocol alarm equipment access method and system
CN114268629A (en)*2021-12-222022-04-01杭州玳数科技有限公司 Private cloud based EMR system
CN114564183A (en)*2022-02-212022-05-31杭州玳数科技有限公司 Shell Execution Device Based on Linux System
CN115344273A (en)*2022-10-192022-11-15杭州比智科技有限公司Method and system for running application software based on shelf system
CN116647434A (en)*2023-07-242023-08-25国网瑞嘉(天津)智能机器人有限公司 Operation and maintenance service deployment method, device and operation and maintenance system
CN116647434B (en)*2023-07-242023-10-20国网瑞嘉(天津)智能机器人有限公司Operation and maintenance service deployment method and device and operation and maintenance system
CN116974857A (en)*2023-09-212023-10-31中国西安卫星测控中心Automatic deployment and update method and system for monitoring agent
CN116974857B (en)*2023-09-212024-01-23中国西安卫星测控中心Automatic deployment and update method and system for monitoring agent

Also Published As

Publication numberPublication date
CN111782205B (en)2024-06-11

Similar Documents

PublicationPublication DateTitle
CN111782205A (en)Universal software deployment monitoring system and method
US9952852B2 (en)Automated deployment and servicing of distributed applications
CN107864174B (en) A rule-based linkage method for IoT devices
CN111416821A (en)Internet of things equipment information acquisition method, system and device
US10481884B2 (en)Systems and methods for dynamically replacing code objects for code pushdown
CN103336705B (en)Automatic transcoding between script process and Workflow system and semantic self adaptation
US8370802B2 (en)Specifying an order for changing an operational state of software application components
CN101689167A (en) Step-by-step implementation of declarative models in distributed systems
Murphy et al.Milan: Middleware linking applications and networks
CN108737463A (en)A kind of software deployment method, server and system
US8458693B2 (en)Transitioning from static to dynamic cluster management
US20190132387A1 (en)Dynamic flow control for stream processing
CN117389843B (en)Intelligent operation and maintenance system, method, electronic equipment and storage medium
CN105607998B (en)A kind of System and method for carrying out embedded software debugging by online mode
CN112383507A (en)Firewall policy management method, device and system and computer readable storage medium
US20060074880A1 (en)Analytic application model and marketplace
CN105607606B (en)A kind of data acquisition device and method based on double mainboard frameworks
CN100511274C (en)System and method for centralized managing and dispatching of batch work
CN113485720B (en)Off-line upgrading method for micro-service system
CN111782363A (en)Method and flow system for supporting multi-service scene calling
KR101034186B1 (en) Production control terminal and its operation method
CN107632899B (en)Snapshot service method and device of application server
CN110162312A (en)A kind of BeeGFS configuration method and device based on IML
CN115994075A (en)Unified observable method and system for heterogeneous micro-service system
CN115437710A (en)WebIDE container management method, webIDE container management apparatus, and computer storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
CB02Change of applicant information
CB02Change of applicant information

Address after:311121 room 102-1 / F, room 102-2 / F, building 6, Haizhi center, 2301 yuhangtang Road, Cangqian street, Yuhang District, Hangzhou, Zhejiang Province

Applicant after:HANGZHOU DAISHU TECHNOLOGY CO.,LTD.

Address before:310030 8F, building 2, Hangzhou Internet innovation and entrepreneurship Park, 176 Zixia street, Xihu District, Hangzhou, Zhejiang

Applicant before:HANGZHOU DAISHU TECHNOLOGY CO.,LTD.

GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp