Patent ID: 11966307
Assignee: NETAPP, INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G  H | IPC G  H

Claim 7:
8. A distributed storage system (DSS) of a high-availability (HA) storage solution, the DSS comprising:
a processing resource; and
a non-transitory computer-readable media, coupled to the one or more processing resources, having stored therein instructions that when executed by the processing resource cause the DSS to:
maintain a local configuration database including configuration information indicative of a direction of data replication for a dataset of a local consistency group (CG) that is mirrored between the local CG and a remote CG, wherein the local CG includes a plurality of volumes of the DSS and the remote CG includes a corresponding plurality of volumes of a remote DSS of the HA storage solution that is operable at a different site than the DSS;
responsive to a failover that has caused (i) the DSS to be placed into a primary role for serving input/output (I/O) operations relating to the mirrored dataset and (ii) the remote DSS to be placed into a secondary role for serving the I/O operations:
cause the remote DSS, with atomicity on a remote configuration database, to:
delete an existing source configuration persisted within the remote configuration database that identifies the remote cluster as a source of data replication; and
persist a new destination configuration within the remote configuration database that identifies the remote cluster as a destination of the data replication;

with atomicity on the local configuration database:
delete an existing destination configuration persisted within the local configuration database that identifies the local cluster as the destination; and
persist a new source configuration within the local configuration database that identifies the local cluster as the source.