Aggregate failover for a distributed scale-out storage system
Abstract
Techniques are provided for failing over an aggregate from one file system instance to a different file system instance of a distributed scale-out storage system. The aggregate may be stored within distributed storage that is accessible to a plurality of file system instances of the distributed scale-out storage system. When the aggregate is failed over from a first file system instance to a second file system instance, the first file system instance may still have a valid read lease that allows the first file system instance to serve client I/O, directed to the aggregate, using a cache. In order to prevent the first file system instance from serving stale data from the cache before the read lease expires, state machines and a set of control data are used to ensure that the second file system instance attaches to the aggregate only after the read lease has expired.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 0.
Claims (8 — 2 Independent, 6 Dependent)
- Claim 1Independent Claim
A method, comprising: assigning a read lease to a first file system instance for serving client I/O, directed to an aggregate, from a cache; in response to detecting a failover trigger, determining whether a graceful failover can be performed; and in response to determining that the graceful failover cannot be performed: updating control data to trigger a forced failover; instruct a second file system instance to wait a delay, associated with an expiration of the read lease, before performing a session establishment and attachment to the aggregate based upon the control data; and in response to the second file system instance successfully performing the session establishment and attachment to the aggregate, update the control data to indicate that the second file system instance is attached to the aggregate.
- Claim 2Depends on #1
The method of claim 1, comprising: in response to determining that the graceful failover can be performed, updating control data to trigger the graceful failover.
- Claim 3Depends on #1
The method of claim 1, comprising: in response to determining that the graceful failover can be performed, instructing the first file system instance to gracefully detach from the aggregate.
- Claim 4Depends on #1
The method of claim 1, comprising: in response to determining that the graceful failover can be performed, instructing the first file system instance terminate the read lease.
- Claim 5Depends on #1
The method of claim 1, comprising: determining that the graceful failover can be performed; updating control data to trigger the graceful failover; instructing the first file system instance to gracefully detach from the aggregate; instructing the first file system instance terminate the read lease; and in response to the first file system terminating the read lease, instructing the second file system instance to perform the session establishment.
- Claim 6Depends on #5
The method of claim 5, comprising: in response to the first file system terminating the read lease, instructing the second file system instance to attach to the aggregate.
- Claim 7Depends on #6
The method of claim 6, comprising: in response to the second file system instance attaching to the aggregate, updating the control data to indicate that the second file system instance is attached to the aggregate.
- Claim 8Independent Claim
A computing device, comprising: a memory comprising machine executable code; and a processor coupled to the memory, the processor configured to execute the machine executable code to cause the machine to: assigning a read lease to a first file system instance for serving client I/O, directed to an aggregate, from a cache; in response to detecting a failover trigger, determining whether a graceful failover can be performed; and in response to determining that the graceful failover cannot be performed: updating control data to trigger a forced failover; instruct a second file system instance to wait a delay, associated with an expiration of the read lease, before performing a session establishment and attachment to the aggregate based upon the control data; and in response to the second file system instance successfully performing the session establishment and attachment to the aggregate, update the control data to indicate that the second file system instance is attached to the aggregat
Technical Overview & Description
RELATED APPLICATIONS This application claims priority to and is a continuation of U.S. Patent Application, titled “ AGGREGATE FAILOVER FOR A DISTRIBUTED SCALE-OUT STORAGE SYSTEM ” , filed on Dec. 27, 2022 and accorded application Ser. No. 18/089,192, which claims priority to U.S. Provisional Patent Application, titled “ AGGREGATE FAILOVER FOR A DISTRIBUTED SCALE-OUT STORAGE SYSTEM ” , filed on Oct. 5, 2022 and accorded Application No. 63/413,453, which are incorporated herein by reference. TECHNICAL FIELD Various embodiments of the present technology relate to failing over an aggregate from one file system instance to another file system instance of a distributed scale-out storage system. More specifically, some embodiments relate to performing an aggregate failover from a file system instance holding a read lease to a different file system instance. BACKGROUND Many storage systems provide data redundancy and failover functionality. A storage system may be configured according to a high availability pair of two storage nodes. One of the storage nodes may be a primary storage node that actively processes client I/O operations directed to storage accessible to the high availability pair. The other node may be a secondary storage node that is configured to perform a failover operation to take over for the primary storage node in the event the primary storage node fails. When the secondary storage node takes over for the primary storage node and starts processing client I/O operations, the primary storage node should not continue to process other client I/O operations directed to the storage. Otherwise, the primary storage node could cause data loss and/or corruption. Performing the failover in a safe manner where the primary storage node can no longer access the storage may be accomplished through a disk driver of a dual ported drive and/or hardware for SAN storage. When the disk driver recognizes that the secondary storage node has taken over for the primary storage n
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (8)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Abbassi P.,
- “
- Vertical Autoscaling in Kubernetes Giant Swarm,
- ”
- Vertical Autoscaling in Kubernetes, 2022, Retrieved from the Internet at: https://www.giantswarm.io/blog/vertical-autoscaling-in-kutbernetes, 10 pages.
- Astra Control Services.,
- “
- Astra Control Service Documentation
- ”
- , Aug. 2022, NetApp, Astra Control Services, Reprinted from the Internet at: https://docs.netapp.com/us-en/astra-control-service/, 114 pages.