# US 2015/0149423 A1 · Data redundancy in a cluster system

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2015/0149423 A1
- Document ID: US20150149423A1
- Status: Published application
- Kind: A1
- Application number: 14/609,598
- Filed: 2015-01-30
- Published: 2015-05-28
- Earliest claimed: 2013-10-18
- Assignees: Hitachi Data Systems Engineering UK Limited
- Applicants: Hitachi Data Systems Engineering UK Limited
- Inventors: Oleg Kiselev; Gaurab Paul; Christopher Youngworth
- Web page: https://patentgrep.com/patent/US20150149423A1

## CPC

- G06F 11/1662: {the resynchronized component or unit being a persistent storage device (re-synchronization of failed mirror storage G06F11/2082; rebuild or reconstruction of parity RAID storage G06F11/1008)}
- G06F 3/0611: {in relation to response time}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/0629: {Configuration or reconfiguration of storage systems}
- G06F 3/0647: {Migration mechanisms}
- G06F 3/065: {Replication mechanisms}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 11/1076: {Parity data used in redundant arrays of independent storages, e.g. in RAID systems}
- G06F 11/1084: {Degraded mode, e.g. caused by single or multiple storage removals or disk failures}
- G06F 11/1448: {Management of the data involved in backup or backup restore}
- G06F 11/1458: {Management of the backup or restore process}
- G06F 11/1464: {for networked environments}
- G06F 11/1658: {Data re-synchronization of a redundant component, or initial sync of replacement, additional or spare unit}
- G06F 11/2023: {Failover techniques}
- G06F 11/2058: {using more than 2 mirrored copies}
- G06F 11/2064: {while ensuring consistency}
- G06F 11/2082: {Data synchronisation}
- G06F 11/2089: {Redundant storage control functionality}
- G06F 16/122: {using management policies (point-in-time backing up or restoration of persistent data G06F11/1446; file migration policies for HSM systems G06F16/185)}
- G06F 16/21: Design, administration or maintenance of databases
- H03M 13/154: {Error and erasure correction, e.g. by using the error and erasure locator or Forney polynomial}
- G06F 11/202: {where processing functionality is redundant (redundant communication control functionality G06F11/2005, redundant storage control functionality G06F11/2089)}
- G06F 2201/805: Real-time
- G06F 2201/82: Solving problems relating to consistency
- G06F 2201/84: Using snapshots, i.e. a logical point-in-time copy of the data
- G06F 2211/1028: Distributed, i.e. distributed RAID systems with parity
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H03M: CODING; DECODING; CODE CONVERSION IN GENERAL (using fluidic means F15C4/00; optical analogue/digital converters G02F7/00; coding, decoding or code conversion, specially adapted for particular applications, see the relevant subclasses, e.g. G01D, G01R, G06F, G06T, G09G, G10L, G11B, G11C, H04B, H04L, H04M, H04N; ciphering or deciphering for cryptography or other purposes involving the need for secrecy G09C)

## Abstract

A cluster system includes a plurality of computing nodes connected to a network, each node including one or more storage devices. The cluster system stores data and at least one of data replicas or erasure-coded segments across the plurality of nodes based on a redundancy policy. Further, configuration information, which may be indicative of a data placement of the data and the data replicas or erasure-coded segments on the plurality of nodes, is provided to each of the plurality of nodes. Additionally, each of the nodes may act as a first node which is configured to determine, upon a change of the redundancy policy, updated configuration information based on the change of the redundancy policy and to send a message including information indicating the change of the redundancy policy to the other nodes of the plurality of nodes.

## Claims

### Claim 1

A cluster system comprising:
a plurality of nodes connected to one or more networks, each of the plurality of nodes comprising one or more storage devices, wherein:
the cluster system is configured to store data, and at least one of data replicas or erasure-coded segments of the data across the plurality of nodes in the cluster system based at least in part on a redundancy policy;
each of the plurality of nodes is configured to send and receive input/output (I/O) operations;
configuration information, which is indicative of a data placement of the data and the data replicas or erasure-coded segments on the plurality of nodes, is provided to each of the plurality of nodes; and
each of the nodes is configured to have a function to act as a first node which is configured to determine, upon a change of the redundancy policy, updated configuration information based on the change of the redundancy policy and to send a first message including information indicating the change of the redundancy policy to other nodes of the plurality of nodes.

### Claim 2 (depends on 1)

The cluster system as recited in claim 1, wherein the plurality of nodes are configured, based on the change of the redundancy policy and upon receiving the first message from the first node, to at least one of:
migrate the data replicas or erasure-coded segments from one or more first locations to one or more second locations on the storage devices of the nodes; or
remove at least one of the data, data replicas, or erasure-coded segments from one or more third locations of the storage devices of the nodes.

### Claim 3 (depends on 1)

The cluster system as recited in claim 1, wherein:
each of the other nodes is configured to create second map layout information upon receiving the first message from the first node; and
the proposed second map layout information is created to change the data location of at least one data, data replica or erasure-coded segment based on the change of the redundancy policy included in the first message as compared to the first map layout information.

### Claim 4 (depends on 1)

The cluster system as recited in claim 1, wherein:
the redundancy policy sets a mirror count number indicating a number of the data replicas or erasure-coded segments of the data; and
the change of the redundancy policy is either an increase in the mirror count or a decrease in the mirror count.

### Claim 5 (depends on 4)

The cluster system as recited in claim 4, wherein:
based at least in part on the change being a decrease in mirror count, each node that stores the data, data replica or erasure-coded segment which is affected by the change of the redundancy policy is configured to determine if it stores the data under proposed second map layout information; and
based at least in part on a determination by a respective node that the respective node does not store the data, data replica or erasure-coded segment under the proposed second map layout information, the respective node is configured to remove respective data, data replica or erasure-coded segment from its one or more storage devices.

### Claim 6 (depends on 4)

The cluster system as recited in claim 4, wherein:
based at least in part on the change being an increase in mirror count, proposed second map layout information indicates new data locations for additional mirrors of the data, data replica, or erasure-coded segments; and
for data, data replica or erasure-coded segment which is affected by the change of the redundancy policy, each affected node is configured to inform respective one or more target nodes of the new data locations indicated by the proposed second map layout information that the respective one or more target nodes are to receive contents of the data, data replica or erasure-coded segment which is affected by the policy change by sending a migration request to the respective one or more target nodes.

### Claim 7 (depends on 6)

The cluster system as recited in claim 6, wherein:
each target node which receives a migration request is configured to send a recovery request to a respective source node to perform data migration for acquiring the contents of the data, data replica or erasure-coded segment that the target node is proposed to store under the proposed second map layout information; and,
upon completion of the data migration performed by the plurality of nodes in the cluster system, the proposed second map layout information replaces the first map layout information.

### Claim 8 (depends on 6)

The cluster system as recited in claim 6, wherein each of the nodes is configured to at least one of:
calculate the new data locations of the data, data replicas or erasure coded-segments based on a comparison of the first map layout information and the proposed second map layout information; or
determine, upon receiving the first message from a node acting as the first node, whether data stored on a respective node's own one or more storage devices is affected by the change of the redundancy policy.

### Claim 9 (depends on 1)

The cluster system as recited in claim 1, wherein the configuration information includes:
first map layout information which is indicative of the data placement according to data locations of the data stored on the storage devices of the plurality of nodes prior to the change of the redundancy policy, the first map layout information used by each of the nodes to determine the data location of the data, data replicas or erasure-coded segments; and
proposed second map layout information which is indicative of the data placement according to proposed data locations of the data on the storage devices of the plurality of nodes after the change of the redundancy policy, the proposed second map layout information proposed to be used by each node to determine the data location of the data, data replicas or erasure-coded segments after the change of the redundancy policy.

### Claim 10 (depends on 9)

The cluster system as recited in claim 9, wherein:
corresponding nodes under the first map layout information and the proposed second map layout information are configured to continue accepting I/O operations for data that is migrated;
I/O operations for data is sent to each of the nodes that store the data replica or erasure-coded segment for the data under both the first map layout information and the proposed second map layout information; and
nodes under the proposed second map layout information are configured to receive I/O operations from nodes under the first map layout information that store the data which is affected by the I/O operation.

### Claim 11 (depends on 9)

The cluster system as recited in claim 9, wherein:
each node is configured to store the first map layout information and the second map layout information, and the nodes are respectively configured to initiate data migration from the data locations under the first map layout information to changed data locations under the second map layout information upon the nodes receiving a second message from the first node; and
the first node is configured to send the second message to other nodes in response to receiving messages indicating acceptance of the proposed second map layout information from each of the other nodes.

### Claim 12 (depends on 11)

The cluster system as recited in claim 11, wherein:
the first node is configured to send a third message to the other nodes in response to receiving messages indicating completion of data migration from each of the other nodes;
each of the other nodes is configured to replace the first map layout information with the proposed second map layout information upon reception of the third message from the first node; and
corresponding nodes under the first map layout information and the second map layout information are configured to continue accepting I/O operations for data that is migrated.

### Claim 13

A node apparatus for use in a cluster system which is configured to store data and at least one of data replicas or erasure-coded segments of data across a plurality of nodes in the cluster system, based at least in part on a redundancy policy, the node apparatus comprising:
one or more processors; and
one or more storage devices coupled to the one or more processors, wherein:
the node apparatus is configured to connect to one or more networks connected to the plurality of nodes of the cluster system, and to send and receive input/output (I/O) operations associated with its one or more storage devices;
the node apparatus is configured to act as a first node of the cluster system which determines, upon a change of the redundancy policy, updated configuration information based on the change of the redundancy policy, and which sends a first message indicating the change of the redundancy policy to other nodes of the plurality of nodes; and/or
the node apparatus is configured to act as a second node of the cluster system which, upon receiving the first message from a node acting as the first node, is configured to determine whether data stored on its own one or more storage devices is affected by the change of the redundancy policy, based at least in part on configuration information which is indicative of a data placement of the data and the data replicas or erasure-coded segments on the plurality of nodes.

### Claim 14 (depends on 13)

The node apparatus as recited in claim 13, wherein when the node apparatus is acting as the second node, the node apparatus is configured, based on the change of the redundancy policy and upon receiving the first message from the first node, to at least one of:
migrate the data replicas or erasure-coded segments from the one or more storage devices of the node apparatus to another node of the plurality of nodes; or
remove at least one of the data, data replicas, or erasure-coded segments from the one or more storage devices of the node apparatus.

### Claim 15 (depends on 13)

The node apparatus as recited in claim 13, wherein:
when acting as the second node, the node apparatus is configured to create second map layout information upon receiving the first message from the first node; and
the proposed second map layout information is created to change the data location of at least one data, data replica or erasure-coded segment based on the change of the redundancy policy included in the first message as compared to the first map layout information.

### Claim 16 (depends on 13)

The node apparatus as recited in claim 13, wherein:
the redundancy policy sets a mirror count number indicating a number of the data replicas or erasure-coded segments of the data; and
the change of the redundancy policy is either an increase in the mirror count or a decrease in the mirror count.

### Claim 17 (depends on 13)

The node apparatus as recited in claim 13, wherein the configuration information includes:
first map layout information which is indicative of the data placement according to data locations of the data stored on the storage devices of the plurality of nodes prior to the change of the redundancy policy, the first map layout information used by each of the nodes to determine the data location of the data, data replicas or erasure-coded segments; and
proposed second map layout information which is indicative of the data placement according to proposed data locations of the data on the storage devices of the plurality of nodes after the change of the redundancy policy, the proposed second map layout information proposed to be used by each node to determine the data location of the data, data replicas or erasure-coded segments after the change of the redundancy policy.

### Claim 18

One or more non-transitory computer readable media having executable instructions stored thereon for execution in a cluster system, which comprises a plurality of nodes connected to one or more networks, and which is configured to store data, data replicas, and/or erasure-coded segments of data across the plurality of nodes in the cluster system, based at least in part on a redundancy policy, each of the plurality of nodes comprising one or more storage devices, and each of the plurality of nodes configured to access its own one or more storage devices and to send and receive input/output (I/O) operations associated with its one or more storage devices, the executable instructions, when executed, causing one or more of the nodes to perform operations comprising:
providing configuration information which is indicative of a data placement of data and data replicas or erasure-coded segments on the plurality of nodes, to each of the plurality of nodes;
determining, by a first node of the plurality of nodes, upon a change of the redundancy policy, updated configuration information based on the change of the redundancy policy; and
sending, by the first node, a first message including information indicating the change of the redundancy policy from the first node to other nodes of the plurality of nodes.

### Claim 19 (depends on 18)

The one or more non-transitory computer readable media as recited in claim 18, wherein the plurality of nodes are configured, based on the change of the redundancy policy and upon receiving the first message from the first node, to at least one of:
migrate the data replicas or erasure-coded segments from one or more first locations to one or more second locations on the storage devices of the nodes; or
remove at least one of the data, data replicas, or erasure-coded segments from one or more third locations of the storage devices of the nodes.

### Claim 20 (depends on 18)

The one or more non-transitory computer readable media as recited in claim 18, wherein:
each of the other nodes is configured to create second map layout information upon receiving the first message from the first node; and
the proposed second map layout information is created to change the data location of at least one data, data replica or erasure-coded segment based on the change of the redundancy policy included in the first message as compared to the first map layout information.

### Claim 21 (depends on 18)

The one or more non-transitory computer readable media as recited in claim 18, wherein:
the redundancy policy sets a mirror count number indicating a number of the data replicas or erasure-coded segments of the data; and
the change of the redundancy policy is either an increase in the mirror count or a decrease in the mirror count.

### Claim 22 (depends on 21)

The one or more non-transitory computer readable media as recited in claim 21, wherein:
based at least in part on the change being a decrease in mirror count, each node that stores the data, data replica or erasure-coded segment which is affected by the change of the redundancy policy is configured to determine if it stores the data under proposed second map layout information; and
based at least in part on a determination by a respective node that the respective node does not store the data, data replica or erasure-coded segment under the proposed second map layout information, the respective node is configured to remove respective data, data replica or erasure-coded segment from its one or more storage devices.

### Claim 23 (depends on 21)

The one or more non-transitory computer readable media as recited in claim 21, wherein:
based at least in part on the change being an increase in mirror count, proposed second map layout information indicates new data locations for additional mirrors of the data, data replica, or erasure-coded segments; and
for data, data replica or erasure-coded segment which is affected by the change of the redundancy policy, each affected node is configured to inform respective one or more target nodes of the new data locations indicated by the proposed second map layout information that the respective one or more target nodes are to receive contents of the data, data replica or erasure-coded segment which is affected by the policy change by sending a migration request to the respective one or more target nodes.

### Claim 24 (depends on 18)

The one or more non-transitory computer readable media as recited in claim 18, wherein the configuration information includes:
first map layout information which is indicative of the data placement according to data locations of the data stored on the storage devices of the plurality of nodes prior to the change of the redundancy policy, the first map layout information used by each of the nodes to determine the data location of the data, data replicas or erasure-coded segments; and
proposed second map layout information which is indicative of the data placement according to proposed data locations of the data on the storage devices of the plurality of nodes after the change of the redundancy policy, the proposed second map layout information proposed to be used by each node to determine the data location of the data, data replicas or erasure-coded segments after the change of the redundancy policy.

### Claim 25

A method for controlling a cluster system which comprises a plurality of nodes connected to one or more networks and which is configured to store data and at least one of data replicas or erasure-coded segments of data across a plurality of nodes in the cluster system, based at least in part on a redundancy policy, each of the plurality of nodes comprising one or more storage devices, and each of the plurality of nodes configured to access its own one or more storage devices and to send and receive input/output (I/O) operations associated with its one or more storage devices, the method comprising:
providing configuration information which is indicative of a data placement of the data and data replicas or erasure-coded segments on the plurality of nodes, to each of the plurality of nodes;
determining, by a node of the cluster system acting as a first node upon a change of the redundancy policy, updated configuration information based on the change of the redundancy policy; and
sending a first message including information indicating the change of the redundancy policy from the first node to other nodes.

### Claim 26 (depends on 25)

The method as recited in claim 25, further comprising:
receiving, the first message, by the plurality of nodes; and
based on the change of the redundancy policy and upon receiving the first message from the first node, at least one of:
migrating the data replicas or erasure-coded segments from one or more first locations to one or more second locations on the storage devices of the nodes; or
removing at least one of the data, data replicas, or erasure-coded segments from one or more third locations of the storage devices of the nodes.

### Claim 27 (depends on 25)

The method as recited in claim 25, further comprising:
creating, by each of the other nodes, second map layout information upon receiving the first message from the first node, wherein the proposed second map layout information is created to change the data location of at least one data, data replica or erasure-coded segment based on the change of the redundancy policy included in the first message as compared to the first map layout information.

### Claim 28 (depends on 25)

The method as recited in claim 25, wherein:
the redundancy policy sets a mirror count number indicating a number of the data replicas or erasure-coded segments of the data; and
the change of the redundancy policy is either an increase in the mirror count or a decrease in the mirror count.

### Claim 29 (depends on 25)

The method as recited in claim 25, wherein the configuration information includes:
first map layout information which is indicative of the data placement according to data locations of the data stored on the storage devices of the plurality of nodes prior to the change of the redundancy policy, the first map layout information used by each of the nodes to determine the data location of the data, data replicas or erasure-coded segments; and
proposed second map layout information which is indicative of the data placement according to proposed data locations of the data on the storage devices of the plurality of nodes after the change of the redundancy policy, the proposed second map layout information proposed to be used by each node to determine the data location of the data, data replicas or erasure-coded segments after the change of the redundancy policy.

### Claim 30 (depends on 29)

The method as recited in claim 29, further comprising:
storing, by each node, the first map layout information and the second map layout information;
initiating, by one or more of the nodes, data migration from the data locations under the first map layout information to changed data locations under the second map layout information upon the one or more nodes receiving a second message from the first node; and
sending, by the first node, the second message to other nodes in response to receiving messages indicating acceptance of the proposed second map layout information from the other nodes.
