Election control method and device

A control method and node technology, applied in the field of data communication, can solve problems such as repeated elections in the cluster service system, achieve the effects of ensuring sustainability and service quality, preventing interruption, and improving reliability

Inactive Publication Date: 2018-09-04
NEW H3C TECH CO LTD
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides an election control method and device to so

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
  • Election control method and device
  • Election control method and device
  • Election control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Such as figure 1 As shown, it is a schematic diagram of the cluster service system involved in the embodiment of the present application. The cluster service system refers to providing data access services for clients outside the cluster and consisting of multiple nodes deployed with monitors and multiple OSDs providing data storage services. A service cluster, such as the distributed file system Ceph. Each node in the service cluster is deployed with a monitoring process monitor; multiple monitors will elect a leader, and the leader will generate The latest version of clustermap. OSD uses cluster map for data maintenance, while Client uses cluster map for data addressing. Here, the cluster map includes information for indicating the storage location of each data file in the OSD.

[0023] Before the implementation of this application scheme, in case of unstable factors such as repeated interruption of the network of monitoring nodes, it will cause the monitor to init...

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 application relates to the technical field of the data communication, and especially relates to an election control method and device, an election method and device. The method is applied to a node deployed with a target monitor procedure in a cluster service system, and comprises the following steps: monitoring an operation environment of a first node deployed with a first monitor; turning off the first monitor when monitoring that the abnormal situation is existent in the operation environment, thereby preventing the first monitor for participating the leader election in multiple monitors and providing service for the client outer of the cluster; therefore, the situation of continuously and repeatedly entering the election state is avoided when the operation state and the operation environment of the monitor are abnormal, and the interruption of the whole cluster service is avoided; furthermore, the service cannot be provided for the client under the problem existence state, thesystem resource is saved, and the data reliability in the distributed storage cluster is improved.

Description

technical field [0001] The present application relates to the technical field of data communication, and in particular to an election control method and device. Background technique [0002] Ceph is a unified, distributed file system designed for excellent performance, reliability, and scalability. In Ceph, in order to avoid single-ended failures, several monitoring processes (monitors) are usually jointly responsible for managing, maintaining and publishing the status information of the cluster; a leader (leader) will be selected among several monitors. Under the leadership of the leader, other ordinary participating members (peons) generate the latest version of the cluster map (cluster map), and then send the latest version to all object storage devices (Object-based Storage Device, OSD) in Ceph and Client. OSD uses cluster map for data maintenance, while Client uses cluster map for data addressing. [0003] When conducting leader election, the monitors that are eligib...

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): H04L12/24
CPCH04L41/0668H04L41/30
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