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

Fault recovery method and device for nodes in storage cluster and medium

A storage cluster and fault recovery technology, applied in the storage field, can solve problems such as operational errors, time-consuming and labor-intensive, and poor reliability, and achieve the effects of ensuring security, improving recovery efficiency, and avoiding new failures.

Inactive Publication Date: 2018-01-19
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF7 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Traditional storage cluster node failure recovery is to manually recover node failures and manually add the recovered nodes as new nodes to the storage cluster. However, manual operations are time-consuming and laborious, and human errors may cause new failures. Therefore less reliable
In addition, the existing node recovery method will clear the node data in the node, so there is no effective guarantee for data security

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
  • Fault recovery method and device for nodes in storage cluster and medium
  • Fault recovery method and device for nodes in storage cluster and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] figure 1 It is a flow chart of a method for recovering from a failure of a node of a storage cluster provided by an embodiment of the present invention. Please refer to figure 1 , the specific steps of the failure recovery method for the nodes of the storage cluster include:

[0043] Step S10: Record the relevant information of the faulty node and the node data in the faulty node.

[0044] Wherein, the relevant information at least includes cluster affiliation information of the faulty node.

[0045] It can be understood that by recording the relevant information of the node and the node data in the faulty node when the storage cluster node fails, it is equivalent to backing up the faulty node. Therefore, after troubleshooting the faulty node, according to the backup The data of the node is restored in terms of data. It should be noted that since the node works in a cluster environment, the cluster to which the faulty node belongs needs to be recorded in the relevan...

Embodiment 2

[0054] On the basis of the above embodiments, as a preferred implementation method, after recording the relevant information of the faulty node and the node data in the faulty node, the method further includes:

[0055] Write relevant information and node data to the database.

[0056] It can be understood that writing relevant information and node data into the database can ensure the security of relevant information and node data content, and prevent loss and damage of relevant data. In addition, through this step, long-term backup of faulty node-related information and node data can be realized, and repeated reading is supported.

[0057] In addition, as a preferred implementation method, after finding the target storage cluster according to the cluster affiliation information, the method further includes:

[0058] Determine whether the target storage cluster is working;

[0059] If yes, perform the steps of configuring the initial node to join the target storage cluster,...

Embodiment 3

[0073] An embodiment of a method for recovering from a failure of a storage cluster node has been described in detail above, and the present invention also provides a device for recovering from a failure of a node of a storage cluster, since the embodiment of the device part and the embodiment of the method part Corresponding to each other, so for the embodiment of the device part, please refer to the description of the embodiment of the method part, and details will not be repeated here.

[0074] figure 2 A structural diagram of a device for recovering from a failure of a node of a storage cluster provided by an embodiment of the present invention. Such as figure 2 As shown, the embodiment of the present invention provides a failure recovery device for nodes of a storage cluster, including:

[0075] The node obtaining module 10 is configured to record relevant information of the faulty node and node data in the faulty node.

[0076] The node recovery module 11 is configu...

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 fault recovery method and device for nodes in a storage cluster and a medium. The method comprises the steps that relevant information of fault nodes and node data in the fault nodes are recorded, wherein the relevant information at least comprises cluster affiliation information of the fault nodes; fault recovery is performed on the fault nodes to obtain initial nodes; the relevant information is read through a script mode, and a target storage cluster is searched for according to the cluster affiliation information; and the initial nodes are configured to be added into the target storage cluster, and the node data is written into the initial nodes. Obviously, through the method, the reliability of recovering the fault nodes in the storage cluster is improved, and the security of the data in the fault nodes is ensured. Besides, the invention furthermore provides the fault recovery device for the nodes in the storage cluster and the medium. The device has thesame advantages as the method.

Description

technical field [0001] The invention relates to the field of storage, in particular to a method, device and medium for recovering from failures of nodes of a storage cluster. Background technique [0002] With the advent of the era of big data, the amount of data is increasing, and the traditional single storage device for storage is no longer suitable for the huge amount of data. Therefore, storage clusters that can store data in a distributed manner have emerged as the times require. The storage cluster consists of It is composed of storage nodes, and data is distributed among the storage nodes of the storage cluster. [0003] Since the performance of the nodes constituting the storage cluster is different, some nodes in the storage cluster may fail when the cluster is working. Therefore, when the node fails, the failure recovery is performed to realize the normal operation of the storage cluster. Traditional storage cluster node failure recovery is to manually recover no...

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): G06F11/14
Inventor 董海廷王佳琪
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
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