Supercharge Your Innovation With Domain-Expert AI Agents!

Cluster voting method and device

A cluster and module selection technology, applied in the field of communication, can solve the problems of unable to correctly elect Leader nodes, distributed storage systems cannot be used normally, elect Leader nodes, etc., so as to maintain external availability and improve the ability to deal with abnormal environments , high availability and robustness

Active Publication Date: 2019-04-05
NEW H3C TECH CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the traditional way, a consistent distributed algorithm (such as paxos) is usually used to elect a Leader node from the Monitor nodes. When using a consistent distributed algorithm, more than half of the Monitor nodes need to be in the available state. Once the number of Monitor nodes in the available state If it does not reach half of the total number, the Leader node cannot be elected from the Monitor nodes, resulting in the failure of the distributed storage system to work normally
[0004] For example, a distributed storage system includes 3 Monitor nodes. If 2 or 3 Monitor nodes are available, a consistent distributed algorithm can be used to elect a Leader node from the Monitor nodes. Once 2 Monitor nodes fail, the available The number of Monitor nodes in the state (ie 1) does not reach half of the total number (ie 3), so the Leader node cannot be correctly elected

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The terms used in the embodiments of the present application are only for the purpose of describing specific embodiments, rather than limiting the present application. As used in this application and the claims, the singular forms "a", "the" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and / or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.

[0020] It should be understood that although the embodiments of the present application may use terms such as first, second, and third to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, without departing from the scope of the present application, first information may also be called second information, and similarly, second ...

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 voting method and device. The method comprises that the first number of available Monitor nodes in a distributed storage system is obtained; if the first number is lower than or equivalent to the total number of Monitor nodes, Leader voting in the distributed storage system is switched from a cluster mode to an independent mode; and when Leader voting in the distributed storage system is in the independent mode, a Leader node of the distributed storage system is selected from the available Monitor nodes via a specific strategy. The high availability and robustness of the distributed storage system can be ensured, the distributed storage system is more adapted to abnormal environment, and the external availability of the distributed storage system is maintained.

Description

technical field [0001] The present application relates to the field of communication technologies, and in particular to a method and device for cluster election. Background technique [0002] With the advent of the era of big data, more and more distributed systems have emerged, and distributed storage systems (such as Ceph, etc.) to store. The distributed storage system includes multiple Monitor nodes. The Monitor nodes are used to maintain the health status of the entire cluster, provide consistent decision-making, and are the managers of the cluster status. Moreover, a Monitor node can be elected from the Monitor nodes as the Leader (primary) node, and the Leader node is responsible for managing, maintaining, and publishing the status information of the cluster. If the Leader node is unavailable, re-elect a Monitor node from the remaining Monitor nodes as the Leader node. [0003] In the traditional way, a consistent distributed algorithm (such as paxos) is usually use...

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): H04L29/08
CPCH04L67/1051H04L67/1097
Inventor 顾雷雷陆强
Owner NEW H3C TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More