Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

High availability method of two-node Ceph cluster

A cluster and node technology, which is applied to the generation of response errors, the input/output process of data processing, and the error detection of redundant data in operations. Point failure and other problems, to achieve the effect of saving hardware costs and operation and maintenance costs, saving hardware and operation and maintenance costs

Active Publication Date: 2020-07-14
EISOO SOFTWARE
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] (1) Deploy Monitor on only one node. At this time, if the node where Monitor is located fails, the service will be unavailable, and there will be a single point of failure problem.
[0006] (2) A Monitor is deployed on each of the two nodes. At this time, when one of the nodes goes down, the service will be unavailable
Therefore, in order to meet the high availability requirements, it is necessary to deploy 3 nodes or use the mode of arbitration nodes to deploy the distributed storage system, which increases additional hardware and operation and maintenance costs.

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
  • High availability method of two-node Ceph cluster
  • High availability method of two-node Ceph cluster
  • High availability method of two-node Ceph cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0059] The present invention provides a high-availability method of a two-node Ceph cluster, comprising the following steps:

[0060] Timing monitoring step: When both nodes are working normally, monitor whether the peer node is down, if so, then the node performs a downgrade step; when the peer node fails, monitor whether the peer node is rebuilt, and if so, update the local configuration document;

[0061] Pre-judgment step: After the faulty node is back online, check whether the local monitor needs to be rebuilt, and if so, perform the rebuilding step;

[0062] Downgrade steps: delete the peer monitor in the local directory, mark the rm_remote label, then start the daemon process of the monitor, and limit the write permission, downgrade to read-only status, and finally delete the rm_remote label;

[0063] Rebuild steps: delete the local monitor data in the local directory, initialize the local monitor, and mark the local_rebuild label, then start the daemon process of the ...

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 relates to a high availability method of a two-node Ceph cluster, which comprises the following steps: a timing monitoring step: when two nodes work normally, monitoring whether an opposite-end node crashes or not; if yes, executing a degradation step by the node; after the opposite-end node fails, monitoring whether reconstruction of the opposite-end node is completed or not; if yes, updating the local configuration file; a pre-judgment step: after the fault node is online again, checking whether the local monitor needs to be reconstructed or not; if yes, executing a reconstruction step; a degradation step: deleting an opposite-end monitor in a local directory, marking an rm _ remote label, starting a daemon process of the monitor, limiting the permission of writing, degrading to a read-only state, and deleting the rm _ remote label; a reconstruction step: deleting local monitor data in a local directory, initializing a local monitor, marking a local _ real label, starting a daemon process of the monitor, cancelling the authority of limiting writing, and deleting the local _ real label. Compared with technologies of the prior art, the method has the advantages of reduced hardware and operation and maintenance cost and the like.

Description

technical field [0001] The invention relates to the field of high availability of computer storage services, in particular to a high availability method of a two-node Ceph cluster. Background technique [0002] With the continuous advancement of information technology, the unstructured data of enterprises has grown exponentially, and more and more enterprises have begun to deploy distributed systems to store ever-growing massive data. Generally speaking, enterprise storage systems are used for business systems, so high availability of storage systems is crucial. In order to meet the high-availability requirements of a distributed storage system, it generally requires at least 3 nodes for deployment. When one node is down or unreachable, the remaining two nodes can also provide storage services. If there are two nodes, in order to prevent split-brain, an arbitration node needs to be introduced to ensure data consistency. [0003] Ceph is widely used as an open source distr...

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): H04L12/26H04L12/24H04L29/08G06F11/30G06F11/14G06F3/06
CPCG06F3/067G06F11/1464G06F11/3034H04L41/0654H04L41/082H04L41/5025H04L43/0817H04L43/10H04L67/1097
Inventor 鲁莎莎刘浪
Owner EISOO SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products