Method for data storage and cluster management node

A storage node and cluster management technology, applied in the storage field, can solve problems such as data read and write services cannot be carried out normally, and achieve the effects of large capacity, storage performance, commission reliability, and stable storage performance

Active Publication Date: 2016-02-24
CHENGDU HUAWEI TECH
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a method for storing data and a cluster management node, so as to solve the problem that the data reading and writing business cannot be carried out normally when all the nodes in a certain area in the cross-area cluster fail

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 for data storage and cluster management node
  • Method for data storage and cluster management node
  • Method for data storage and cluster management node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0034] see figure 1 , is a schematic flowchart of the first embodiment of the method for storing data in the present invention, in this embodiment, the method includes:

[0035] S101. The cluster management node receives the node information reported by each storage node and stores it in a node information table.

[0036] Wherein, the node information includes a node identifier, a hard disk list of the node, and an area to which the node belongs.

[0037] S102. T...

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 embodiment of the invention discloses a method for data storage and a cluster management node. The method comprises the steps of receiving node information reported by each storage node and storing the node information to a node information table by the cluster management node; dividing hard disks into groups based on the node information in the node information table, wherein the number of the hard disks selected for each area is less than M for a cluster with the redundancy proportion of N+M; if one area is in failure, updating the state of the storage node in the failure area into a failure state in the node information table; and synchronizing content in the updated node information table and the hard disk grouping information to a normal storage node and a client agent node to enable the client agent node to interact with the normal storage node in the hard disk group so as to finish a data reading and writing service when the client agent node receives a data reading and writing service request. By adopting the method for data storage and the cluster management node, the reliability of data storage and the data writing and reading service can be improved.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a method for storing data and a cluster management node. Background technique [0002] The Scale-out (NAS) storage system has flexible scalability. As the user's requirements for capacity and performance gradually increase, the cluster size can be expanded from a few nodes to hundreds of nodes. After the cluster deployment is completed, the hard disks will be grouped first, and when the file is written, the hard disk group to which the file is written will be selected through the hash (hash) algorithm. Take the redundancy ratio of 2+1 as an example, that is, each hard disk group includes 3 hard disks. When data is written, two hard disks store the original data, and one hard disk stores the checksum. When a hard disk in the group fails, the Reselect a hard disk for this group, and then use the erasure code (ErasureCode) algorithm to restore the data of the failed hard disk acco...

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/08
CPCH04L67/1078H04L67/1097H04L65/40
Inventor 汪正洋
Owner CHENGDU HUAWEI TECH
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