Cluster management method and device

A cluster management and cluster technology, applied in the field of communication, can solve the problems of database cluster unavailability, affecting user usage, lack of reliability, etc.

Pending Publication Date: 2021-04-16
NEW H3C TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the prior art, if one of the database nodes in the database cluster fails, and there are two remaining database nodes in the cluster, if one is restarted, or both are restarted, since all database nodes in the cluster are required to be started, In this case, the database cluster will also be in an unavailable state, affecting user use and lacking reliability

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
  • Cluster management method and device
  • Cluster management method and device
  • Cluster management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with this specification. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present specification as recited in the appended claims.

[0036] In the prior art, if most of the database nodes in the cluster leave the cluster due to failure and other reasons, and the remaining few database nodes are still working, the data on these few working nodes will be relatively new, while most of the failed nodes The data on the database is relatively old, so in the prior art, after all faulty nodes are repaired, the database node ...

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 cluster management method and device, the method is applied to a database cluster. The method comprises the steps that database nodes in the cluster send heartbeat messages to each other; and if the first database node senses that the majority of nodes in the cluster leave the cluster according to the heartbeat message, the database node automatically exits from the cluster and does not update the data. If the database in the cluster detects that most of the database nodes leave the cluster, the remaining database nodes automatically exit the cluster, so that the purpose that the remaining database nodes do not update data any more is achieved; therefore, it can be guaranteed that most database nodes in the cluster are restarted, and it can be guaranteed that the database node with the latest data can be found.

Description

technical field [0001] This description relates to the field of communication technologies, and in particular to a cluster management method and device. Background technique [0002] The traditional application deployment method is to install the application through plug-ins or scripts. The disadvantage of this is that the operation, configuration, management, and all life cycles of the application will be bound to the current operating system, which is not conducive to the operation of application upgrade update / rollback, etc. Of course, it can also be achieved by creating a virtual machine Some features, but the virtual machine is very heavy, which is not conducive to portability. [0003] The new method is implemented by deploying containers. Each container is isolated from each other, and each container has its own file system. The processes between containers will not affect each other, and computing resources can be distinguished. Compared with virtual machines, cont...

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
IPC IPC(8): G06F11/20G06F16/27
Inventor 梁乐乐
Owner NEW H3C TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products