# US 2022/0292004 A1 · Mediator assisted switchover between clusters

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

- Number: US 2022/0292004 A1
- Document ID: US20220292004A1
- Status: Published application
- Kind: A1
- Application number: 17/748,277
- Filed: 2022-05-19
- Published: 2022-09-15
- Earliest claimed: 2020-11-20
- Assignees: NetApp, Inc.
- Applicants: NetApp, Inc.
- Inventors: Sasidharan Krishnan; Kalaivani Arumugham; Preksha Bansal; Vijay Kumar Chakravarthy Ekkaladevi; Ryan Edward Bartlett
- Web page: https://patentgrep.com/patent/US20220292004A1

## CPC

- G06F 11/2033: {switching over of hardware resources}
- G06F 11/1435: {using file system or storage system metadata}
- G06F 11/1658: {Data re-synchronization of a redundant component, or initial sync of replacement, additional or spare unit}
- G06F 11/2028: {eliminating a faulty processor or activating a spare}
- G06F 11/203: {using migration}
- G06F 11/2038: {with a single idle spare processing component}
- G06F 11/2048: {where the redundant components share neither address space nor persistent storage}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Techniques are provided for metadata management for enabling automated switchover in accordance with a configuration of storage solution that expresses a preference for either maintaining availability (e.g., a non-zero RPO mode) of the storage solution or avoiding data loss (e.g., a zero RPO mode). In one example, responsive to detecting a switchover trigger event, a node of a local cluster of a cross-site storage solution determines whether performance of an automated switchover from a failed cluster to a surviving cluster of the cross-site storage solution is enabled. Responsive to an affirmative determination, the node selectively proceeds with the automated switchover based on the configuration.

## Claims

### Claim 1

A method comprising:
responsive to detecting, by a first node of a plurality of nodes of a first cluster of a cross-site storage solution including a mediator node, the first cluster operable at a first site, and a second cluster operable at a second site and having a plurality of nodes, a switchover trigger event, determining, by the first node, whether performance of an automated switchover from a failed cluster to a surviving cluster of the cross-site storage solution is enabled;
responsive to said determining being affirmative, further determining, by the first node, a switchover mode in which the cross-site storage solution is configured to operate;
responsive to the determined switchover mode being indicative of a preference to avoid data loss over maintaining availability of the cross-site storage solution, proceeding, by the first node, with the automated switchover if a local operation log maintained by the first node is a state of synchronization with a remote operation log maintained by the second cluster; and
responsive to the determined switchover mode being indicative of a preference to maintain availability of the cross-site storage solution over avoiding data loss, proceeding, by the first node, with the automated switchover regardless of the state of synchronization between the local operation log and the remote operation log.

### Claim 2 (depends on 1)

The method of claim 1, further comprising prior to the switchover event, enabling or disabling, by the first node, the performance of the automated switchover based on success or failure of execution of a write operation to store metadata, specifying operational state information of the first node and switchover information.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
obtaining, by the first node, results of an initial quorum vote, before execution of the write operation, wherein the initial quorum vote corresponds to at least one of a first local vote derived from whether a set of local mailbox storage devices are operational, a first remote vote derived from whether a set of remote mailbox storage devices are operational, or a first mediator vote derived from whether a mediator mailbox storage device is operational;
executing, by the first node, the write operation to store the metadata;
performing, by the first node, a final quorum vote, after execution of the write operation, corresponding to at least one of a second local vote derived from whether the set of local mailbox storage devices are operational, a second remote vote derived from whether the set of remote mailbox storage devices are operational, or a second mediator vote derived from whether the mediator mailbox storage device is operational; and
designating, by the first node, the write operation as either successful or failed based upon at least one of the initial quorum vote or the final quorum vote.

### Claim 4 (depends on 3)

The method of claim 3, wherein the metadata is written to the set of local mailbox storage devices owned by the first node and located at the first cluster, the set of remote mailbox storage devices owned by the first node and located at a second storage cluster, and the mediator storage device owned by the first node and located at the mediator node.

### Claim 5 (depends on 3)

The method of claim 3, further comprising determining the first local vote as a first value based upon at least one local mailbox storage device of the set of local mailbox storage devices being operational, otherwise, determining the first local vote as a second value.

### Claim 6 (depends on 3)

The method of claim 3, further comprising determining the first remote vote as a first value based upon at least one remote mailbox storage device of the set of remote mailbox storage devices being operational, otherwise, determining the second remote vote as a second value.

### Claim 7 (depends on 3)

The method of claim 3, further comprising determining the first mediator vote as first value based upon the mediator mailbox storage device being operational, otherwise, determining the first mediator vote as a second value.

### Claim 8 (depends on 3)

The method of claim 3, further comprising comparing the initial quorum vote to the final quorum vote to determine whether to designate the write operation as successful or failed.

### Claim 9 (depends on 3)

The method of claim 3, further comprising responsive to the switchover trigger event, obtaining, by the first node, a reservation on the mediator mailbox storage device to block a node of the plurality of nodes of the second cluster from performing the switchover operation.

### Claim 10

A non-transitory machine readable medium having stored thereon instructions, which when executed by a first node of a plurality of nodes of a first cluster of a cross-site storage solution including a mediator node, the first cluster operable at a first site, and a second cluster operable at a second site and having a plurality of nodes, cause the first node to:
responsive to detecting a switchover trigger event, determine whether performance of an automated switchover from a failed cluster to a surviving cluster of the cross-site storage solution is enabled;
responsive to an affirmative determination, further determine a switchover mode in which the cross-site storage solution is configured to operate;
responsive to the determined switchover mode being indicative of a preference to avoid data loss over maintaining availability of the cross-site storage solution, proceed with the automated switchover if a local operation log maintained by the first node is a state of synchronization with a remote operation log maintained by the second cluster; and
responsive to the determined switchover mode being indicative of a preference to maintain availability of the cross-site storage solution over avoiding data loss, proceed with the automated switchover regardless of the state of synchronization between the local operation log and the remote operation log.

### Claim 11 (depends on 10)

The non-transitory machine readable medium of claim 10, wherein the instructions further cause the first node to prior to the switchover event, enable or disable the performance of the automated switchover based on success or failure of execution of a write operation to store metadata, specifying operational state information of the first node and switchover information.

### Claim 12 (depends on 11)

The non-transitory machine readable medium of claim 11, wherein the instructions further cause the first node to:
obtain results of an initial quorum vote before execution of the write operation, wherein the initial quorum vote corresponds to at least one of a first local vote derived from whether a set of local mailbox storage devices are operational, a first remote vote derived from whether a set of remote mailbox storage devices are operational, or a first mediator vote derived from whether a mediator mailbox storage device is operational;
execute the write operation to store the metadata;
perform a final quorum vote after execution of the write operation, corresponding to at least one of a second local vote derived from whether the set of local mailbox storage devices are operational, a second remote vote derived from whether the set of remote mailbox storage devices are operational, or a second mediator vote derived from whether the mediator mailbox storage device is operational; and
designate the write operation as either successful or failed based upon at least one of the initial quorum vote or the final quorum vote.

### Claim 13 (depends on 12)

The non-transitory machine readable medium of claim 12, wherein the metadata is written to the set of local mailbox storage devices owned by the first node and located at the first cluster, the set of remote mailbox storage devices owned by the first node and located at a second storage cluster, and the mediator storage device owned by the first node and located at the mediator node.

### Claim 14 (depends on 12)

The non-transitory machine readable medium of claim 12, wherein the instructions further cause the first node to determine the first local vote as a first value based upon at least one local mailbox storage device of the set of local mailbox storage devices being operational, otherwise, determine the first local vote as a second value.

### Claim 15 (depends on 12)

The non-transitory machine readable medium of claim 12, wherein the instructions further cause the first node to determine the first remote vote as a first value based upon at least one remote mailbox storage device of the set of remote mailbox storage devices being operational, otherwise, determine the second remote vote as a second value.

### Claim 16 (depends on 12)

The non-transitory machine readable medium of claim 12, wherein the instructions further cause the first node to determine the first mediator vote as first value based upon the mediator mailbox storage device being operational, otherwise, determining the first mediator vote as a second value.

### Claim 17 (depends on 12)

The non-transitory machine readable medium of claim 12, wherein the instructions further cause the first node to compare the initial quorum vote to the final quorum vote to determine whether to designate the write operation as successful or failed.

### Claim 18

A computer system comprising:
a processor; and
a non-transitory computer-readable medium, coupled to the processor resource, having stored therein instructions that when executed by the processing resource cause the computer system to:
responsive to detecting a switchover trigger event, determine whether performance of an automated switchover from a failed cluster to a surviving cluster of a cross-site storage solution is enabled, wherein the cross-site storage solution include a mediator node, a first cluster operable at a first site and having a plurality of nodes including the computer system, and a second cluster operable at a second site and having a plurality of nodes;
responsive to an affirmative determination, further determine a switchover mode in which the cross-site storage solution is configured to operate;
responsive to the determined switchover mode being indicative of a preference to avoid data loss over maintaining availability of the cross-site storage solution, proceed with the automated switchover if a local operation log maintained by computer system is a state of synchronization with a remote operation log maintained by the second cluster; and
responsive to the determined switchover mode being indicative of a preference to maintain availability of the cross-site storage solution over avoiding data loss, proceed with the automated switchover regardless of the state of synchronization between the local operation log and the remote operation log.

### Claim 19 (depends on 18)

The computer system of claim 18, wherein the instructions further cause the computer system to prior to the switchover event, enable or disable the performance of the automated switchover based on success or failure of execution of a write operation to store metadata, specifying operational state information of the first node and switchover information.

### Claim 20 (depends on 19)

The computer system of claim 19, wherein the instructions further cause the computer system to:
obtain results of an initial quorum vote before execution of the write operation, wherein the initial quorum vote corresponds to at least one of a first local vote derived from whether a set of local mailbox storage devices are operational, a first remote vote derived from whether a set of remote mailbox storage devices are operational, or a first mediator vote derived from whether a mediator mailbox storage device is operational;
execute the write operation to store the metadata;
perform a final quorum vote after execution of the write operation, corresponding to at least one of a second local vote derived from whether the set of local mailbox storage devices are operational, a second remote vote derived from whether the set of remote mailbox storage devices are operational, or a second mediator vote derived from whether the mediator mailbox storage device is operational; and
designate the write operation as either successful or failed based upon at least one of the initial quorum vote or the final quorum vote.
