Multi-cluster patch updating method and system, server and storage medium

An update method and patch technology, applied in transmission systems, instruments, electrical digital data processing, etc., can solve the problems of chaotic patch withdrawal management, inconvenient, difficult tracking, etc., to achieve batch management and improve convenience

Pending Publication Date: 2021-03-30
北京红山信息科技研究院有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the expansion of the company's business, the increase in the number of big data clusters, and the enhancement of business functions, cluster patch updates are becoming more frequent, especially when multiple clusters need to be managed. Chaotic, difficult to track, often need to rely on manual operation records, very inconvenient, often prone to problems
[0003] The existing technology usually adopts a separate management method for each cluster, which forces the company to invest more resources in patch management, resulting in high operation and maintenance costs and low efficiency.

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
  • Multi-cluster patch updating method and system, server and storage medium
  • Multi-cluster patch updating method and system, server and storage medium
  • Multi-cluster patch updating method and system, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] This embodiment provides a multi-cluster patch update method, which is executed by a patch management program, wherein the system includes a patch management program, a cluster, and a host, and the patch management program is connected to one or more clusters, and each cluster includes one or more hosts ,like figure 1 , including the following steps:

[0051] S101. Obtain a patch update instruction input by a user, where the patch update instruction includes a patch type, a cluster ID of a cluster to be updated, and a host ID of a host to be updated in the cluster.

[0052] In this step, the patch type is used to determine the hosts that need to be patched. For example, if you select the Spark patch, you can know all the hosts where Spark is installed and the installed Spark service directory.

[0053] Wherein, the service type is determined based on the cluster list; the patch data rule is determined based on a preset verification rule, and the verification rule inclu...

Embodiment 2

[0065] On the basis of the above-mentioned embodiments, this embodiment provides a method for re-operating the patch that fails to be upgraded, such as image 3 , including the following steps:

[0066] S201. Obtain a patch update instruction input by a user, where the patch update instruction includes a patch type, a cluster ID of a cluster to be updated, and a host ID of a host to be updated in the cluster;

[0067] S202. Generate corresponding patch data based on the patch type, cluster ID and host ID;

[0068] S203. Send the patch data to the cluster, so that the cluster sends the patch data to a corresponding host to execute a patch program.

[0069] S2041. Acquire feedback information of the cluster, where the feedback information includes a patch status and a patch ID;

[0070] S2042. Based on the patch state, it is judged whether all the patch data are updated successfully;

[0071] S2043. If all updates are successful, generate a patch log based on the feedback inf...

Embodiment 3

[0079] This embodiment increases the use and manufacturing process of backup files on the basis of the above embodiments, such as Figure 4 , including the following steps:

[0080] S301. Obtain a patch update instruction input by a user, where the patch update instruction includes a patch type, a cluster ID of a cluster to be updated, and a host ID of a host to be updated in the cluster;

[0081] S302. Generate corresponding patch data based on the patch type, cluster ID and host ID;

[0082] S303. Send the patch data to the cluster, so that the cluster sends the patch data to a corresponding host to execute a patch program.

[0083] S3041. Obtain a patch withdrawal instruction input by the user;

[0084] In this step, the user inputs a patch withdrawal instruction through a visual WEB interface of the patch management program.

[0085] S3042. Based on the patch rollback instruction, retrieve historically generated patch logs from a preset database, and query the latest pa...

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 invention provides a multi-cluster patch updating method which is executed by a patch management program and comprises the following steps: acquiring a patch updating instruction input by a user,the patch updating instruction comprising a patch type, a cluster ID of a cluster to be updated and a host ID of a host to be updated in the cluster; generating corresponding patch data based on the patch type, the cluster ID and the host ID; and sending the patch data to the cluster, so that the cluster sends the patch data to a corresponding host to execute a patch program. The patches are managed in batches through the patch management program, batch management of the cluster patch upgrading process is achieved, and convenience is improved.

Description

technical field [0001] The embodiments of the present invention relate to the field of cluster control, and in particular to a multi-cluster patch update method, system, server and storage medium. Background technique [0002] With the expansion of the company's business, the increase in the number of big data clusters, and the enhancement of business functions, cluster patch updates are becoming more frequent, especially when multiple clusters need to be managed. It is confusing, difficult to track, and often needs to be recorded manually, which is very inconvenient and often prone to problems. [0003] The existing technology usually adopts a separate management method for each cluster, which forces the company to invest more resources in patch management, resulting in high operation and maintenance costs and low efficiency. Contents of the invention [0004] In order to solve the above problems, the present invention designs a multi-cluster patch update method, system,...

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 & AuthorityApplications(China)
IPC IPC(8): G06F8/658H04L29/08
CPCG06F8/658H04L67/10
Inventor陈松
Owner北京红山信息科技研究院有限公司