CN104239113A - Method for updating program patches for multiple servers on basis of messages - Google Patents
Method for updating program patches for multiple servers on basis of messages Download PDFInfo
- Publication number
- CN104239113A CN104239113A CN201410526802.6A CN201410526802A CN104239113A CN 104239113 A CN104239113 A CN 104239113A CN 201410526802 A CN201410526802 A CN 201410526802A CN 104239113 A CN104239113 A CN 104239113A
- Authority
- CN
- China
- Prior art keywords
- patch
- instruction
- renewal
- proxy server
- program
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a method for updating program patches for multiple servers on the basis of messages. The method comprises the first step of providing a patch storage service, wherein the patch storage service comprises the functions of application program patch storage and downloading; the second step of setting a patch updating control console, wherein the patch updating control console provides the control service for analysis and execution of program patches, and the program patches can be analyzed into a group of ordered commands through the service; the third step of setting a patch updating agent, wherein the patch updating agent provides the ability to execute the command service of the patch updating control console. According to the method, patch updating can be directly carried out on all the servers in real time, the patches do not need to be manually deployed on each server one by one, and therefore the efficiency for patch deployment is improved; in the deployment process, if only the deployment on one server fails, the deployment process will roll back automatically, and the consistency of the patches deployed on all the servers is guaranteed.
Description
Technical field
The present invention relates to field of computer technology, be specifically related to a kind of message based multiserver program patch update method.
Background technology
China is after experienced by large-scale Informatization Development, and the level of IT application and the degree of enterprise have tremendous increase.The scale of enterprise application system is also increasing, and content is also more and more comprehensively with deep.Along with the continuous service of these systems, the content that operation management relates to is also more and more important.And the patch of application program upgrades and management, it is the Focal point and difficult point of enterprise's application O&M.The deployment framework of a lot of application system is very complicated, and lacks unified effective patch renewal and management, and under complexity disposes framework, be difficult to the correctness, the promptness that ensure patch renewal.
Therefore, for the defect that above-mentioned prior art exists, be necessary to develop research in fact, to provide a kind of scheme, for enterprise application system provides a set of succinct, efficient, real-time patch O&M method, the efficiency of elevator system O&M.
Summary of the invention
For solving the problem, the object of the present invention is to provide a kind of message based multiserver program patch update method, to provide a set of succinct, efficient, real-time patch O&M method, the efficiency of elevator system O&M.
For achieving the above object, technical scheme of the present invention is:
A kind of message based multiserver program patch update method, comprises the steps:
Step one, provide patch storage service, particularly, described patch storage service comprises the function of application program patch storage and download;
Step 2, arrange patch and upgrade control desk, described patch upgrades control desk and provides and resolve to program patch the control service performed, and program patch can be resolved to one group of orderly order by this service;
Step 3, arrange patch and upgrade proxy server, described patch upgrades proxy server provides executive capability patch being upgraded to console instructions service.
Further, patch upgrades control desk for performing patch update instruction, when performing patch and upgrading, first resolves patch step of updating, and upgrades the situation of the renewal proxy server of control desk registration according to patch, forms the executable instruction set of each renewal proxy server; After instruction set is formed, send execution instruction by message to each renewal proxy server.
Further, patch renewal control desk includes and upgrades proxy server management, instruction set generator, instruction executer, instruction results gatherer.
Further, the step of patch renewal control desk execution patch renewal is as follows:
From patch storage service acquisition patch information;
Available renewal proxy server list is obtained from the management of renewal proxy server;
By instruction set generator, according to the instruction set upgrading proxy server list, patch information is the renewal of each renewal proxy server generation patch;
By instruction executer, send instruction according to the order of instruction set to renewal proxy server;
The instruction execution result of each renewal proxy server monitored by instruction results gatherer, if instruction successful execution, then continues to assign next instruction, if instruction performs failure, sends command for stopping, rollback instruction to all renewal proxy servers.
The multiserver program patch update method that the present invention is based on message directly to Servers-all real-time update patch, can not need manual one by one on each server deployment, provides the efficiency of patch deployment at control desk; In deployment, as long as there is a station server to dispose unsuccessfully, deployment can automatic rollback, ensure that Servers-all disposes the consistance of patch.
Term " first ", " second " etc. in instructions of the present invention and claims and above-mentioned accompanying drawing are for distinguishing similar object, and need not be used for describing specific order or precedence.Should be appreciated that the term used like this can exchange in the appropriate case, this is only describe in embodiments of the invention the differentiation mode that the object of same alike result adopts when describing.In addition, term " comprises " and " having " and their any distortion, intention is to cover not exclusive comprising, to comprise the process of a series of unit, method, system, product or equipment being not necessarily limited to those unit, but can comprise clearly do not list or for intrinsic other unit of these processes, method, product or equipment.
Below be described in detail respectively.
Please refer to shown in Fig. 1, a kind of message based multiserver program patch update method of the present invention, comprises the steps:
Step one, provide patch storage service, particularly, described patch storage service comprises the function of application program patch storage and download;
Served by described patch storage, store the service packs of all application programs, patch renewal control desk and patch upgrade proxy server and obtain program patch information from the storages that patch storage is served.Its interface specification is as follows:
In environment of multi-server, patch storage service needs are deployed in specific server environment; Patch upgrades control desk to be needed to be deployed in specific server environment; And patch renewal agency needs to be deployed to all needs in the server environment of refresh routine patch.After having disposed in server environment, patch storage service and the patch be deployed in each server environment upgrade proxy server, need to be registered to patch and upgrade in control desk.For setting up the message communication passage between multiserver.
Step 2, arrange patch and upgrade control desk, described patch upgrades control desk and provides and resolve to program patch the control service performed, and program patch can be resolved to one group of orderly order by this service;
Patch upgrades control desk for performing patch update instruction, when performing patch and upgrading, first resolves patch step of updating, and upgrades the situation of the renewal proxy server of control desk registration according to patch, forms the executable instruction set of each renewal proxy server.After instruction set is formed, send execution instruction by message to each renewal proxy server.When patch upgrades control desk to each renewal proxy server transmission execution instruction, the instruction of step to each renewal proxy server can be performed according to patch and sort, form the instruction set of each renewal proxy server.
The instruction set of same renewal proxy server is that order performs.When patch upgrade control desk from renewal proxy server get feedback result be unsuccessfully time, patch upgrades control desk can stop the work of all renewal proxy servers, and transmission renewal rollback instruction.
Patch upgrades control desk and includes the management of renewal proxy server, instruction set generator, instruction executer, instruction results gatherer four part composition.
Particularly, the step of patch renewal control desk execution patch renewal is as follows:
From patch storage service acquisition patch information.
Available renewal proxy server list is obtained from the management of renewal proxy server.
By instruction set generator, according to the instruction set upgrading proxy server list, patch information is the renewal of each renewal proxy server generation patch.
By instruction executer, send instruction according to the order of instruction set to renewal proxy server.
The instruction execution result of each renewal proxy server monitored by instruction results gatherer, if instruction successful execution, then continues to assign next instruction, if instruction performs failure, sends command for stopping, rollback instruction to all renewal proxy servers.
Step 3, arrange patch and upgrade proxy server, described patch upgrades proxy server provides executive capability patch being upgraded to console instructions service.
Upgrade proxy server and only accept instruction set, it is made up of order receiver, order execution, order feedback three part.Order receiver upgrades the instruction of control desk from patch for receiving, order performs and is used for really performing the instruction received, and order feedback gets back to order implementation status for upgrading control desk to patch.Order execution comprises execution instruction, rollback instruction, command for stopping three generic operation.Order feedback has successfully or failure two kinds of feedback result, with clear and definite failure cause in the failure information of feedback.When patch upgrade control desk from renewal proxy server get feedback result be unsuccessfully time, patch upgrades control desk can stop the work of all renewal proxy servers, and transmission renewal rollback instruction.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required common hardware by software and realize, and can certainly comprise special IC, dedicated cpu, private memory, special components and parts etc. realize by specialized hardware.Generally, all functions completed by computer program can realize with corresponding hardware easily, and the particular hardware structure being used for realizing same function also can be diversified, such as mimic channel, digital circuit or special circuit etc.But under more susceptible for the purpose of the present invention condition, software program realizes is better embodiment.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in the storage medium that can read, as the floppy disk of computing machine, USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc., comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform method described in the present invention each embodiment.
In sum, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to above-described embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in the various embodiments described above, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Accompanying drawing explanation
Fig. 1 is method flow of the present invention diagram.
Embodiment
Embodiments provide a kind of message based multiserver program patch update method directly to Servers-all real-time update patch, not need manual one by one on each server deployment, provide the efficiency of patch deployment at control desk; In deployment, as long as there is a station server to dispose unsuccessfully, deployment can automatic rollback, ensure that Servers-all disposes the consistance of patch.
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, the embodiments described below are only the present invention's part embodiments, and not all embodiments.Based on the embodiment in the present invention, the every other embodiment that those skilled in the art obtains, all belongs to the scope of protection of the invention.
Claims (4)
1. a message based multiserver program patch update method, is characterized in that, comprise the steps:
Step one, provide patch storage service, particularly, described patch storage service comprises the function of application program patch storage and download;
Step 2, arrange patch and upgrade control desk, described patch upgrades control desk and provides and resolve to program patch the control service performed, and program patch can be resolved to one group of orderly order by this service;
Step 3, arrange patch and upgrade proxy server, described patch upgrades proxy server provides executive capability patch being upgraded to console instructions service.
2. message based multiserver program patch update method as claimed in claim 1, it is characterized in that: patch upgrades control desk for performing patch update instruction, when performing patch and upgrading, first patch step of updating is resolved, and the situation of the renewal proxy server of control desk registration is upgraded according to patch, form the executable instruction set of each renewal proxy server; After instruction set is formed, send execution instruction by message to each renewal proxy server.
3. message based multiserver program patch update method as claimed in claim 2, is characterized in that:
Patch upgrades control desk and includes the management of renewal proxy server, instruction set generator, instruction executer, instruction results gatherer.
4. message based multiserver program patch update method as claimed in claim 3, is characterized in that, patch upgrades control desk, and to perform the step that patch upgrades as follows:
From patch storage service acquisition patch information;
Available renewal proxy server list is obtained from the management of renewal proxy server;
By instruction set generator, according to the instruction set upgrading proxy server list, patch information is the renewal of each renewal proxy server generation patch;
By instruction executer, send instruction according to the order of instruction set to renewal proxy server;
The instruction execution result of each renewal proxy server monitored by instruction results gatherer, if instruction successful execution, then continues to assign next instruction, if instruction performs failure, sends command for stopping, rollback instruction to all renewal proxy servers.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410526802.6A CN104239113A (en) | 2014-10-09 | 2014-10-09 | Method for updating program patches for multiple servers on basis of messages |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410526802.6A CN104239113A (en) | 2014-10-09 | 2014-10-09 | Method for updating program patches for multiple servers on basis of messages |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104239113A true CN104239113A (en) | 2014-12-24 |
Family
ID=52227248
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410526802.6A Pending CN104239113A (en) | 2014-10-09 | 2014-10-09 | Method for updating program patches for multiple servers on basis of messages |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104239113A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106533721A (en) * | 2015-09-11 | 2017-03-22 | 中兴通讯股份有限公司 | Network management data configuration method, device and system |
US11204759B1 (en) | 2020-06-23 | 2021-12-21 | Red Hat, Inc. | Software patch comparison |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1988469A (en) * | 2005-12-22 | 2007-06-27 | 华为技术有限公司 | Automatic managing software method and system |
CN101211312A (en) * | 2006-12-29 | 2008-07-02 | 国际商业机器公司 | Device and method for monitoring and managing patch of client |
CN102609281A (en) * | 2012-02-24 | 2012-07-25 | 中国电子科技集团公司第十五研究所 | Distributed software patch updating method and distributed software patch updating system |
US20130185696A1 (en) * | 2012-01-16 | 2013-07-18 | International Business Machines Corporation | Manipulating source code patches |
CN103309683A (en) * | 2012-03-07 | 2013-09-18 | 京信通信系统(中国)有限公司 | Software patch embedding method and device for hardware equipment |
-
2014
- 2014-10-09 CN CN201410526802.6A patent/CN104239113A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1988469A (en) * | 2005-12-22 | 2007-06-27 | 华为技术有限公司 | Automatic managing software method and system |
CN101211312A (en) * | 2006-12-29 | 2008-07-02 | 国际商业机器公司 | Device and method for monitoring and managing patch of client |
US20130185696A1 (en) * | 2012-01-16 | 2013-07-18 | International Business Machines Corporation | Manipulating source code patches |
CN102609281A (en) * | 2012-02-24 | 2012-07-25 | 中国电子科技集团公司第十五研究所 | Distributed software patch updating method and distributed software patch updating system |
CN103309683A (en) * | 2012-03-07 | 2013-09-18 | 京信通信系统(中国)有限公司 | Software patch embedding method and device for hardware equipment |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106533721A (en) * | 2015-09-11 | 2017-03-22 | 中兴通讯股份有限公司 | Network management data configuration method, device and system |
CN106533721B (en) * | 2015-09-11 | 2021-03-02 | 中兴通讯股份有限公司 | Network management data configuration method, device and system |
US11204759B1 (en) | 2020-06-23 | 2021-12-21 | Red Hat, Inc. | Software patch comparison |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108600029B (en) | Configuration file updating method and device, terminal equipment and storage medium | |
US20190149420A1 (en) | System and method for automated system management | |
US10146675B1 (en) | Automated code upgrade testing utilizing a copy data manager | |
US20200042328A1 (en) | Autonomous Creation of New Microservices and Modification of Existing Microservices | |
US9509553B2 (en) | System and methods for management virtualization | |
EP2630567B1 (en) | Coordinated upgrades in distributed systems | |
US10198284B2 (en) | Ensuring operational integrity and performance of deployed converged infrastructure information handling systems | |
CN102609281B (en) | Distributed software patch update method and system | |
US11016761B2 (en) | Container based application reification | |
US11048492B2 (en) | Reducing downtime while patching binaries on a cluster | |
CN105653329A (en) | Application management method, apparatus and system | |
CN110225078B (en) | Application service updating method, system and terminal equipment | |
US10817275B2 (en) | Automated internet of things based software patching | |
CN107957888B (en) | Application program gray scale upgrading method and device | |
CN104281484A (en) | VM (virtual machine) migration method and device | |
CN104239122A (en) | VM (virtual machine) migration method and device | |
US10089167B2 (en) | Log file reduction according to problem-space network topology | |
US10432548B2 (en) | Workload deployment in computing networks | |
CN105446873A (en) | Automatic test method and system of APK (AndroidPackage) software on the basis of android platform | |
US20140195662A1 (en) | Management of mobile applications in communication networks | |
CN104239113A (en) | Method for updating program patches for multiple servers on basis of messages | |
CN105849699B (en) | Method for controlling data center architecture equipment | |
CN105224453A (en) | The automatic test approach of system compatibility and device | |
CN112714022A (en) | Control processing method and device for multiple clusters and computer equipment | |
CN111857771A (en) | Deep learning-based automatic operating system patch installation method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20141224 |
|
WD01 | Invention patent application deemed withdrawn after publication |