Method and device for managing monitors in ceph cluster

A management method and monitor technology, which is applied in the management field of monitors in ceph clusters, can solve problems such as instability of ceph clusters and inability to provide external services, and achieve the effect of reducing the probability of failure and improving stability

Active Publication Date: 2019-03-19
NEW H3C TECH CO LTD
View PDF7 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a monitor management method and device in a ceph cluster, which is used to solve the problem in related technologies that the quorum repeatedly initiates leader elections due to frequent monitor abnormalities, resulting in instability of the ceph cluster and the inability to provide external services The problem

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
  • Method and device for managing monitors in ceph cluster
  • Method and device for managing monitors in ceph cluster
  • Method and device for managing monitors in ceph cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] First of all, the term "and" in the embodiment of the present application is only a kind of relationship describing the relationship between related objects, which means that there can be three kinds of relationships, for example, A and B, which can mean: A exists alone, A and B exist simultaneously, and A and B exist alone. There are three cases of B. In addition, the character " / " in this article generally indicates that the contextual objects are an "or" relationship.

[0056] When the present application mentions ordinal numerals such as "first", "second", "third" or "fourth", unless it really expresses the meaning of order according to the context, it should be understood as merely for distinction.

[0057] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only some o...

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 discloses a method for managing monitors in a ceph cluster. The monitors of the ceph cluster comprise a plurality of primary monitors and a plurality of backup monitors, and corresponding stable metrics are maintained for each of the monitors. The method comprises the following steps: when monitoring that the network status of any monitor changes from UP to DOWN, incrementing the stability metric of the monitor; if the any monitor is taken as a primary monitor, determining whether the stability metric of the monitor is greater than or equal to a first set threshold; if so, selecting a backup monitor whose stable metric value is less than or equal to a second set threshold as a primary monitor from a plurality of backup monitors, and using the monitor as a backup monitor. Using the above method, roles of each monitor are adjusted according to the stability metric of each monitor, and a more stable monitor is selected as the primary monitor, thereby improving the stability of the ceph cluster.

Description

technical field [0001] The present application relates to the technical field of data storage, in particular to a method and device for managing monitors in a ceph cluster. Background technique [0002] Ceph is a unified, distributed file system designed for excellent performance, reliability, and scalability. In the Ceph cluster, several monitors (monitors) are jointly responsible for managing, maintaining and publishing the status information of the cluster; a leader (leader) will be selected among several monitors, and other ordinary members of these monitors participate in the election ( peon) under the leadership of the leader, 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) and clients (Client) in the Ceph cluster . OSD uses cluster map for data maintenance, while Client uses cluster map for data addressing. Generally speaking, the Monitor can be deployed ...

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/08H04L12/24H04L12/26
CPCH04L41/0893H04L43/16H04L67/10H04L67/1097H04L67/54
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