# US 2021/0279229 A1 · On-demand remote snapshot creation for a synchronous replication session in automatic recovery

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

- Number: US 2021/0279229 A1
- Document ID: US20210279229A1
- Status: Published application
- Kind: A1
- Application number: 16/808,943
- Filed: 2020-03-04
- Published: 2021-09-09
- Earliest claimed: 2020-03-04
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Archana Parasnis; Svetlana Kronrod; Xiangping Chen
- Web page: https://patentgrep.com/patent/US20210279229A1

## CPC

- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 16/273: {Asynchronous replication or reconciliation}
- G06F 16/275: {Synchronous replication}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An aspect of performing on-demand remote snapshot creation for a synchronous replication session between a local system and a remote system of a storage system includes receiving a request for the remote snapshot on the remote system and identifying a current state of the synchronous replication session. The current state is one of a plurality of states. An aspect also includes implementing one or more actions with respect to the remote snapshot as a function of the current state. The actions are performed prior to transitioning from the current state to another state of the plurality of states.

## Claims

### Claim 1

A method for on-demand remote snapshot creation for a synchronous replication session between a local system and a remote system of a storage system, the method comprising:
receiving a request for the remote snapshot on the remote system;
identifying a current state of the synchronous replication session, the current state comprising one of a plurality of states; and
implementing one or more actions with respect to the remote snapshot as a function of the current state, the one or more actions performed prior to transitioning from the current state to another state of the plurality of states.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
upon determining the current state of the synchronous replication session is an interim asynchronous state:
creating a new snapshot on the local system;
assigning a replication cycle number to the new snapshot, the new snapshot configured to be replicated to the remote system in a next replication cycle, wherein the replication cycle number corresponds to the next replication cycle; and
postponing transition from the interim asynchronous state to a different state of the plurality of states until replication of the new snapshot to the remote system is completed.

### Claim 3 (depends on 2)

The method of claim 2, wherein the interim asynchronous state is configured to replicate data differences between sets of snapshots from the local system to the remote system in cycles of the synchronous replication session, and a session consistency point is indicated at the local system and is not indicated at the remote system.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
upon determining the current state of the synchronous replication session is a steady synchronous state:
creating a new snapshot on the remote system; and
rendering the new snapshot on the remote system available for use during the steady synchronous state.

### Claim 5 (depends on 4)

The method of claim 4, wherein the new snapshot is created during recovery of the synchronous replication session.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
upon determining the current state of the synchronous replication session is an asynchronous to synchronous state, re-attempting the request for the remote snapshot when the asynchronous to synchronous state is completed.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
upon determining the current state of the synchronous replication session is an asynchronous to synchronous state:
suspending replication;
waiting for the current state to be in an interim asynchronous state; and
creating the remote snapshot in the interim asynchronous state.

### Claim 8

A system for on-demand remote snapshot creation for a synchronous replication session between a local system and a remote system of a storage system, the system comprising:
a memory comprising computer-executable instructions; and
a processor operable by a storage system, the processor executing the computer-executable instructions, the computer-executable instructions when executed by the processor cause the processor to perform operations comprising:
receiving a request for the remote snapshot on the remote system;
identifying a current state of the synchronous replication session, the current state comprising one of a plurality of states; and
implementing one or more actions with respect to the remote snapshot as a function of the current state, the one or more actions performed prior to transitioning from the current state to another state of the plurality of states.

### Claim 9 (depends on 8)

The system of claim 8, wherein the operations further comprise:
upon determining the current state of the synchronous replication session is an interim asynchronous state:
creating a new snapshot on the local system;
assigning a replication cycle number to the new snapshot, the new snapshot configured to be replicated to the remote system in a next replication cycle, wherein the replication cycle number corresponds to the next replication cycle; and
postponing transition from the interim asynchronous state to a different state of the plurality of states until replication of the new snapshot to the remote system is completed.

### Claim 10 (depends on 9)

The system of claim 9, wherein the interim asynchronous state is configured to replicate data differences between sets of snapshots from the local system to the remote system in cycles of the synchronous replication session, and a session consistency point is indicated at the local system and is not indicated at the remote system.

### Claim 11 (depends on 8)

The system of claim 8, wherein the operations further comprise:
upon determining the current state of the synchronous replication session is a steady synchronous state:
creating a new snapshot on the remote system; and
rendering the new snapshot on the remote system available for use during the steady synchronous state.

### Claim 12 (depends on 11)

The system of claim 11, wherein the new snapshot is created during recovery of the synchronous replication session.

### Claim 13 (depends on 8)

The system of claim 8, wherein the operations further comprise:
upon determining the current state of the synchronous replication session is an asynchronous to synchronous state, re-attempting the request for the remote snapshot when the asynchronous to synchronous state is completed.

### Claim 14 (depends on 8)

The system of claim 8, wherein the operations further comprise:
upon determining the current state of the synchronous replication session is an asynchronous to synchronous state:
suspending replication;
waiting for the current state to be in an interim asynchronous state; and
creating the remote snapshot in the interim asynchronous state.

### Claim 15

A computer program product for performing on-demand remote snapshot creation for a synchronous replication session between a local system and a remote system of a storage system, the computer program product embodied on a non-transitory computer readable medium, the computer program product including instructions that, when executed by a computer, causes the computer to perform operations comprising:
receiving a request for the remote snapshot on the remote system;
identifying a current state of the synchronous replication session, the current state comprising one of a plurality of states; and
implementing one or more actions with respect to the remote snapshot as a function of the current state, the one or more actions performed prior to transitioning from the current state to another state of the plurality of states.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the operations further comprise:
upon determining the current state of the synchronous replication session is an interim asynchronous state:
creating a new snapshot on the local system;
assigning a replication cycle number to the new snapshot, the new snapshot configured to be replicated to the remote system in a next replication cycle, wherein the replication cycle number corresponds to the next replication cycle; and
postponing transition from the interim asynchronous state to a different state of the plurality of states until replication of the new snapshot to the remote system is completed.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein the interim asynchronous state is configured to replicate data differences between sets of snapshots from the local system to the remote system in cycles of the synchronous replication session, and a session consistency point is indicated at the local system and is not indicated at the remote system.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the operations further comprise:
upon determining the current state of the synchronous replication session is a steady synchronous state:
creating a new snapshot on the remote system; and
rendering the new snapshot on the remote system available for use during the steady synchronous state.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the new snapshot is created during recovery of the synchronous replication session.

### Claim 20 (depends on 15)

The computer program product of claim 15, wherein the operations further comprise:
upon determining the current state of the synchronous replication session is an asynchronous to synchronous state, re-attempting the request for the remote snapshot when the asynchronous to synchronous state is completed.
