Host node election method and node

A master node and node technology, which is applied in the branch office to provide special service devices, data exchange details, electrical components, etc., can solve the problems that the master node selection cannot be realized, and the cluster dynamics cannot be satisfied.

Active Publication Date: 2013-05-22
保定浪潮云计算有限公司
View PDF0 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] The above-mentioned traditional Leader election method can realize the Master election of a cluster system with a fixed number of nodes, but it cannot me

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
  • Host node election method and node
  • Host node election method and node
  • Host node election method and node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] This paper proposes a leader election method that can support node elastic scaling, which is used to realize the master node election of the cluster system with dynamically changing nodes. In this method, the information of the nodes is dynamically obtained, and the leader election is adjusted according to the actual number of nodes in the cluster system. process to achieve the purpose of determining the Leader in the case of node elastic scaling.

[0038] The master node election method in this embodiment includes two message exchange channels, an election information exchange channel and a member information exchange channel, and the specific channel selection method can be selected according to actual applications (such as heartbeat or arbitration disk).

[0039] In this embodiment, each node has three roles, namely Proposer (proposer), Acceptor (acceptor) and Learner (learner), Proposer sends prepare request (preparation request) and propose request (proposal request...

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 discloses a host node election method and nodes. The method includes the following steps: each node of a cluster requests and sends proposals to all the other nodes in the cluster, judging whether amount of nodes sending proposals on their own reaches the required minimum amount allowing proposal sending, if the result is yes, broadcasting the proposals to all the other nodes in the cluster, judging whether the amount of nodes sending proposals on their own reaches the required minimum amount with accepted proposals, if the result is no, deciding the proposal node to be the host node, and broadcasting the accepted proposals to all the other nodes in the cluster. The host node election method and the nodes select the host node from the nodes in the cluster in a dynamic negotiation mode, and decide the host node under the condition of elastic scaling of the amount of the nodes in the cluster.

Description

technical field [0001] The invention relates to the field of cluster (Cluster) systems, in particular to a master node election method and nodes. Background technique [0002] The rapid development of network technology has promoted the development and wide application of cluster systems. A cluster is composed of all interconnected servers. These servers are regarded as a unified computing resource, appear as a single system externally, and are managed in a single system mode. With the gradual maturity of the cluster structure, the cluster has become a popular technology in the fields of finance, telecommunications, and government networks. It can ensure high availability, scalability, and disaster resistance of the system. [0003] For an ideal cluster, users do not need to pay attention to the constituent nodes of the cluster system. A cluster is a system rather than several independent computing nodes. Cluster administrators can add or delete nodes of the cluster 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
IPC IPC(8): H04L29/08H04L12/18
Inventor 颜秉珩张俊崔赢张现忠
Owner 保定浪潮云计算有限公司
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