Unlock instant, AI-driven research and patent intelligence for your innovation.

A data storage switching method, device, equipment and storage medium

A data storage and storage pool technology, applied in the direction of digital data processing, data processing input/output process, redundant code error detection, etc., can solve the risk of data loss, data loss, data loss of redundancy, etc. question

Active Publication Date: 2021-07-06
ZHEJIANG UNIVIEW TECH CO LTD
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The disadvantage of the existing technology is that only a single type of fault domain is set, and the risk of data loss is relatively high
For example, in a scheme where only hosts are used as fault domain protection, when multiple hosts in the cluster fail and the number of remaining normal hosts is just K, if one host fails again, that is, the number of hosts in the cluster that fails is greater than M , will cause the data distributed on the host through the erasure code strategy to lose redundancy and cannot be read and written, resulting in a large amount of data loss

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
  • A data storage switching method, device, equipment and storage medium
  • A data storage switching method, device, equipment and storage medium
  • A data storage switching method, device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] figure 1 It is a flowchart of a data storage switching method provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of switching the data storage mode, and the method can be executed by a data storage switching device, which can be realized by software and / or hardware, and which can be configured in a computer device. like figure 1 As shown, the method specifically includes the following steps:

[0033] Step 101 , during the process of using the first storage pool as the main storage pool, monitor the operation status data of each failure domain in the main storage pool in real time, and the failure domain corresponding to the first storage pool is the first failure domain.

[0034] Wherein, a storage pool is a group of disks used to store data. A fault domain is a group of physical infrastructure partitioned within the same distributed system. This group of physical infrastructures will not share a single point of failure with...

Embodiment 2

[0051] figure 2 It is a flowchart of a data storage switching method provided by Embodiment 2 of the present invention. This embodiment may be combined with various optional solutions in the foregoing one or more embodiments. In this embodiment, the first fault domain is a host, and the second fault domain is an object storage device.

[0052] And, before real-time monitoring of the running status data of each fault domain in the main storage pool, it may further include: creating a first storage pool, and creating a client master device in the first storage pool; creating a second storage pool, And create a client mirroring device that has a mirroring relationship with the client master device in the second storage pool; associate the client master device with the data read and write service port, so that the first storage pool is used as the primary storage pool.

[0053] like figure 2 As shown, the method specifically includes the following steps:

[0054] Step 201, cr...

Embodiment 3

[0069] image 3 It is a flowchart of a data storage switching method provided by Embodiment 3 of the present invention. This embodiment can be combined with each optional solution in one or more of the above embodiments. In this embodiment, the second storage pool is switched to a new primary storage pool, and the data stored in the first storage pool is synchronized to The second storage pool may include: enabling the data synchronization service from the client master device to the client mirror device to synchronize the data stored in the first storage pool to the second storage pool; releasing the client master device and the client mirror The mirror relationship of the device; switch the data read and write service port from the client master device to the client mirror device, so as to switch the second storage pool to the new primary storage pool; delete the client master device.

[0070] like image 3 As shown, the method specifically includes the following steps:

[...

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 data storage switching method, device, equipment and storage medium. Wherein, the method includes: during the process of using the first storage pool with the host as the failure domain as the main storage pool, real-time monitoring of the operation status data of each failure domain in the main storage pool; judging the operation status as normal according to the operation status data Whether the number of the first failure domain in the state meets the preset storage switching condition; if so, switch the second storage pool to the new primary storage pool, and synchronize the data stored in the first storage pool to the object storage device as the The second storage pool of the fault domain; the set number of fault domains in the main storage pool are used to store a set amount of data to be stored corresponding to the data processed by the erasure code technology. The embodiment of the present invention solves the problem that only a single type of fault domain is set in the existing distributed storage system, and the risk of data loss is relatively high, and multiple fault domain protection modules can be configured to greatly reduce the risk of data loss.

Description

technical field [0001] Embodiments of the present invention relate to data storage technologies, and in particular, to a data storage switching method, device, device, and storage medium. Background technique [0002] In most distributed storage systems, in order to ensure data consistency after storage device failures, erasure codes are usually used to improve system reliability. The basic principle of erasure code is: K is the number of original data blocks or the number of normal storage units required to restore data. M is the number of check blocks or the number of storage units that are allowed to fail. M is smaller than K. Using an encoding algorithm, M check blocks are generated from K original data blocks, that is, a total of K+M data blocks are obtained. The original K original data blocks can be restored by using any K data blocks in the K+M data blocks. That is, the disks corresponding to M data blocks are allowed to fail, and the data will still not be lost....

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 Patents(China)
IPC IPC(8): G06F3/06G06F11/10
CPCG06F3/0622G06F3/064G06F3/0655G06F11/1004G06F3/06G06F11/10
Inventor 李华英许勇郭永强
Owner ZHEJIANG UNIVIEW TECH CO LTD