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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 



