Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Upgrading method and device of distributed system and computer system

A distributed system and upgrade package technology, applied in the computer field to improve efficiency, facilitate use, and reduce upgrade errors

Pending Publication Date: 2020-10-09
POSBANK
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the problems of the prior art, the present invention proposes an upgrade method, device and computer system of a distributed system. This method changes the high-cost operation and maintenance service mode of the traditional operation and maintenance, and customizes the standardized upgrade process of the system according to the requirements. Manual intervention to upgrade, reduce the number of repeated operations, avoid upgrade problems, reduce the possibility of misoperation, and facilitate the use of operation and maintenance personnel

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Upgrading method and device of distributed system and computer system
  • Upgrading method and device of distributed system and computer system
  • Upgrading method and device of distributed system and computer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] This method can be applied to a cloud environment host cluster composed of multiple clusters, such as figure 1 As shown in , a system architecture is deployed on the version release node, and an automated operation and maintenance platform is generated based on the system architecture.

[0057] Among them, the automated operation and maintenance platform integrates nginx, uwsgi, database and django framework integrating several processing modules (including controller, model interaction module, view display module and ansible API module).

[0058] When dealing with specific business, such as figure 2 As shown, nginx and uwsgi receive the business request, send the business request to the controller, the controller sends the business request to the model interaction module, the model interaction module saves the data to the database, and sends the result to the view display module after receiving the returned result from the database. The view display module calls ansi...

Embodiment 2

[0087] Corresponding to Embodiment 1, this application also provides an upgrade device for a distributed system, including a version publishing node and a remote node;

[0088] The version publishing node is used to receive the upgrade request, obtain the upgrade package corresponding to the upgrade request, call the module corresponding to the upgrade request in ansible, and send the upgrade package to the remote node in batches, wherein the upgrade package contains configuration files, configuration files carries the identification corresponding to the upgrade program required by the remote node;

[0089] The remote node is used to obtain the identification after receiving the corresponding upgrade package, identify the content of the configuration file in the upgrade package, match the upgrade program of the system according to the identification, and replace the obtained upgrade program with the original program in the content of the configuration file. After completion, s...

Embodiment 3

[0101] The application also provides a computer system, including:

[0102] one or more processors; and

[0103] A memory associated with the one or more processors, the memory is used to store program instructions, and when the program instructions are read and executed by the one or more processors, perform the following operations:

[0104] The version publishing node receives the upgrade request, obtains the upgrade package corresponding to the upgrade request, calls the module corresponding to the upgrade request in ansible, and sends the upgrade package to the remote node in batches. The upgrade package contains configuration files, and the configuration file contains There is an identification corresponding to the upgrade program required by the remote node;

[0105] After the remote node receives the corresponding upgrade package, it obtains the identification, identifies the configuration file content in the upgrade package, matches the system upgrade program accordi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses an upgrading method and device of a distributed system and a computer system. The method comprises the following steps: a version release node receives an upgrading request, acquires an upgrading packet corresponding to the upgrading request, calls a module corresponding to the upgrading request in the ansible and sends the upgrading packet to the remote node in batches, the upgrading packet comprises a configuration file, and the configuration file carries an identifier corresponding to an upgrading program required by the remote node; and after receiving the corresponding upgrade package, the remote node obtains the identifier, identifies the configuration file content in the upgrade package, matches the upgrade program of the system according tothe identifier, replaces the original program in the configuration file content with the obtained upgrade program, and sends an upgrade result to the version release node after the upgrade is completed. The high-cost operation and maintenance service mode of traditional operation and maintenance is changed, the standardized upgrading process of the system is customized according to requirements,manual intervention upgrading is not needed, the number of repeated operation times is reduced, upgrading problems are avoided, and the possibility of misoperation is reduced.

Description

technical field [0001] The invention belongs to the technical field of computers, and in particular relates to an upgrading method, device and computer system of a distributed system. Background technique [0002] With the rapid development of cloud computing and distributed systems, the architecture of IT systems has become increasingly complex, and the number of application services and nodes has doubled. Traditional operation and maintenance upgrade tools have certain limitations: [0003] 1. Traditional upgrade tools require more manual operations and are prone to operational errors. [0004] 2. There is no standardized process for traditional operation and maintenance upgrades, and there are many repeated operations, and the operation process is cumbersome. [0005] These limitations have become increasingly prominent with the rapid development of cloud computing and distributed systems. Therefore, the management functions and efficiency of traditional upgrade tools c...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/65G06F8/71
CPCG06F8/65G06F8/71
Inventor 张兰英曹兴旺郑元龙王葛张晓玉郝杰刘榕赵东
Owner POSBANK
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products