Nothing Special   »   [go: up one dir, main page]

US20140298092A1 - Adaptive quiesce for efficient cross-host consistent cdp checkpoints - Google Patents

Adaptive quiesce for efficient cross-host consistent cdp checkpoints Download PDF

Info

Publication number
US20140298092A1
US20140298092A1 US14/306,883 US201414306883A US2014298092A1 US 20140298092 A1 US20140298092 A1 US 20140298092A1 US 201414306883 A US201414306883 A US 201414306883A US 2014298092 A1 US2014298092 A1 US 2014298092A1
Authority
US
United States
Prior art keywords
write
enterprise
timeout period
quiesce
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US14/306,883
Other versions
US8868513B1 (en
Inventor
Amir Boldo
Ori Mamluk
Chen Burshan
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hewlett Packard Enterprise Development LP
Original Assignee
Zerto Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zerto Ltd filed Critical Zerto Ltd
Priority to US14/306,883 priority Critical patent/US8868513B1/en
Assigned to Zerto Ltd. reassignment Zerto Ltd. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BOLDO, AMIR, BURSHAN, CHEN, MAMLUK, ORI
Publication of US20140298092A1 publication Critical patent/US20140298092A1/en
Application granted granted Critical
Publication of US8868513B1 publication Critical patent/US8868513B1/en
Assigned to SILICON VALLEY BANK reassignment SILICON VALLEY BANK INTELLECTUAL PROPERTY SECURITY AGREEMENT Assignors: ZERTO LTD
Assigned to KREOS CAPITAL VI (EXPERT FUND) L.P. reassignment KREOS CAPITAL VI (EXPERT FUND) L.P. SECURITY INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: Zerto Ltd.
Assigned to HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP reassignment HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: Zerto Ltd.
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1471Saving, restoring, recovering or retrying involving logging of persistent data for recovery
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/805Real-time
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/82Solving problems relating to consistency
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/84Using snapshots, i.e. a logical point-in-time copy of the data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10TECHNICAL SUBJECTS COVERED BY FORMER USPC
    • Y10STECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y10S707/00Data processing: database and file management or data structures
    • Y10S707/99951File or database maintenance
    • Y10S707/99952Coherency, e.g. same view to multiple users
    • Y10S707/99953Recoverability

Definitions

  • the present invention relates to data protection.
  • Data lies at the heart of every enterprise, and is a core component of data center infrastructure. As data applications become more and more critical, there is a growing need to ensure complete business continuity.
  • Disaster recovery systems provide data protection and application recovery. Some disaster recovery systems use virtual data replication within a hypervisor architecture, and are able to recover any point in time.
  • Disaster recovery systems are typically operative to maintain disk replicas of enterprise data disks.
  • Some disaster recovery systems referred to as continuous data protection (CDP) systems, enable restoring a disk replica to a previous point in time.
  • CDP systems log each command to write data into a designated address of a dedicated data disk, into one or more write journals.
  • Each journaled set of commands that together constitute a consistent disk image is stamped with a date and time.
  • the journaled commands are promoted to the replica disks, to update the replica disk images to a more recent time, and the write journals are then purged and restarted from the more recent time.
  • the purged journal commands are converted to undo journal entries, for use in rolling back data to a time prior to the promotion time.
  • disk images at any desired recovery point in time may be determined from the replica disk images, the write journals and the undo journals. If the desired recovery point in time is later than the most recent promotion time, then the disk images corresponding to the desired recovery point in time are obtained by applying the write commands that were journaled prior to the desired recovery point in time, to the replica disk images, to roll forward the replica disk data to the desired recovery point in time. If the desired recovery point is earlier than the most recent promotion time, which is generally the case, then the disk images corresponding to the desired recovery point in time are obtained by applying the undo commands that are time stamped after the desired recovery point in time, to the replica disk images, to roll back the replica disk data to the desired recovery point in time.
  • CDP continuous data protection
  • some disaster recovery systems synchronize clocks across hosts and timestamp each write operation, to ensure that the writes are properly sequenced in the write journals.
  • Such systems are complicated to deploy with consistency, because it is difficult to synchronize independent clocks to the millisecond.
  • the present invention transmits write quiesce commands to each of a plurality of hosts, with a specified timeout period.
  • the write quiesce commands are transmitted at a sequence of times.
  • a determination is made whether acknowledgements of quiesce have been received from each of the hosts within the designated timeout period. If so, a cross-host checkpoint is marked in the write journals, and the timeout period is decreased for the next quiesce command transmission time. If not, then a cross-host checkpoint is not marked, and the timeout period is increased for the next quiesce command transmission time.
  • the timeout period is fine-tuned so as to minimize reduction of performance of the data applications that are running on the plurality of hosts.
  • synchronization of clocks is not required.
  • the sequence of times at which quiesce commands are transmitted is controlled so as to satisfy a pre-designated production constraint, and thereby ensure that application performance is not adversely impacted.
  • the production constraint represents a trade-off between CDP granularity and quiesce timeouts.
  • the production constraint may specify inter alia that at most a designated percentage X% of production time be lost, and that there are at most a designated number, N, of service interruptions per hour or per day.
  • the frequency of quiesce is generally reduced, i.e., when the quiesce timeout is long, less quiesce requests are made, and the desired level of application performance is maintained.
  • a method for generating cross-host consistent checkpoints for use in disaster recovery systems, including transmitting, at multiple times, write quiesce commands to each of a plurality of enterprise host computers, each quiesce command including a timeout period that is adjusted at each of the multiple times, wherein the host computers are operative to write enterprise data to the source datastores, at each of the multiple times: determining whether acknowledgements indicating that a host has successfully stopped writing enterprise data to the source datastores, have been received from each of the plurality of host computers within the timeout period, if the determining is affirmative, then marking a cross-host checkpoint in a target datastore for the host computers, and reducing the timeout period for the quiesce commands transmitted by the transmitting at the next time, wherein the target datastore is generated by a continuous data protection disaster recovery system to replicate the data in the source datastores, and otherwise, increasing the timeout period for the quiesce commands transmitted by the transmitting at the next time.
  • a disaster recovery system for providing continuous data protection to an enterprise
  • the enterprise including a plurality of host computers that are operative to read enterprise data from source datastores and write enterprise data to source datastores, including a target datastore for replicating data written to the source datastores, and a checkpoint engine (i) for transmitting, at multiple times, quiesce commands to each of the host computers, each quiesce command including a timeout period that is adjusted at each of the multiple times, (ii) for determining, at each of the multiple times, whether acknowledgements indicating that a host has successfully stopped writing enterprise data to the source datastores, have been received from each of the plurality of host computers within the timeout period, (iii) for marking, at each of the multiple times, a cross-host checkpoint in the target datastore and reducing the timeout period for the quiesce commands at the next time, if the determining is affirmative, and (iv) for increasing, at each of the multiple times, the timeout
  • FIG. 1 is a simplified block diagram of a disaster recovery system that generates consistent cross-host checkpoints, in accordance with an embodiment of the present invention.
  • FIG. 2 is a simplified flowchart of a disaster recovery method for generating consistent cross-host checkpoints, in accordance with an embodiment of the present invention.
  • aspects of the present invention relate to cross-host disaster recovery.
  • multiple host computers When multiple host computers generate data, either per-host data or shared data, it is essential to provide consistent data replication at points in time when the hosts are synchronized across all hosts, disks and data.
  • Such points in time are referred to as checkpoints, and in order to ensure synchronization a disaster recovery system instructs each host to stop writing data during a common time interval.
  • Such instructions are referred to as write quiesce commands.
  • write quiesce commands When each of the hosts has stopped writing data at a common point in time, the journals of write commands for each host are consistent, and a checkpoint is marked in the journals. The hosts may then subsequently be recovered to the common point in time.
  • FIG. 1 is a simplified block diagram of an enterprise disaster recovery system that generates consistent cross-host checkpoints, in accordance with an embodiment of the present invention.
  • Shown in FIG. 1 are multiple enterprise host computers 110 and 120 that run respective enterprise data applications 130 and 140 , which write data to respective enterprise source datastores 150 and 160 .
  • a disaster recovery system 170 provides continuous data protection for the enterprise.
  • Disaster recovery system 170 replicates data sources 150 and 160 to a target datastore 180 .
  • Target datastore 180 generally includes replication disks and write journals.
  • Disaster recovery system 170 includes a checkpoint engine 171 for generating consistent cross-host checkpoints for the enterprise. Operation of checkpoint engine 171 is described below with reference to FIG. 2 .
  • Disaster recovery system 170 also includes a recovery engine 172 which, in case of a disaster, uses target datastore 180 to recover source datastores 150 and 160 to a previous point in time.
  • FIG. 2 is a simplified flowchart of a disaster recovery method performed by checkpoint engine 171 ( FIG. 1 ), for generating consistent cross-host checkpoints, in accordance with an embodiment of the present invention.
  • the method of FIG. 2 is performed over a sequence of times.
  • an initial time, T, and an initial timeout period, TIMEOUT are set.
  • the disaster recovery method transmits write quiesce commands to each of a plurality of host computers, such as computers 110 and 120 .
  • the write commands include the current value of the timeout parameter, TIMEOUT.
  • a value of AT is set, based on the current value of TIMEOUT.
  • the values of AT control the overall frequency of write quiesce commands, and are generally set to ensure that the quiesce timeout periods do not violate a pre-designated production constraint.
  • the production constraint represents a trade-off between CDP granularity and quiesce timeouts, and is enforced to ensure that application performance is not adversely impacted, e.g., the constraint may specify that no more than X% of production time be lost, and that there be no more than N interruptions of service per hour. Accordingly, when the value of TIMEOUT is increased, the value of AT is increased. If the quiesce timeouts are large, the values of AT are set so that quiesce requests are made less frequently, enabling the desired level of application performance to be maintained.
  • the value of T is increased by AT and the method returns to operation 220 , to perform the next quiesce at the next time, T.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Retry When Errors Occur (AREA)

Abstract

A disaster recovery system, including a target datastore for replicating data written to source datastores, and a checkpoint engine (i) for transmitting, at multiple times, quiesce commands to a plurality of host computers, each quiesce command including a timeout period that is adjusted at each of the multiple times, (ii) for determining, at each of the multiple times, whether acknowledgements indicating that a host has successfully stopped writing enterprise data to the source datastores, have been received from each of the host computers within the timeout period, (iii) for marking, at each of the multiple times, a cross-host checkpoint in the target datastore and reducing the timeout period for the quiesce commands at the next time, if the determining is affirmative, and (iv) for increasing, at each of the multiple times, the timeout period for the quiesce commands transmitted at the next time, if the determining is not affirmative.

Description

    CROSS-REFERENCE TO RELATED PATENT APPLICATIONS
  • This present application is continuation of U.S. patent application Ser. No. 13/367,451, titled “Adaptive Quiesce for Efficient Cross-Host Consistent CDP Checkpoints” filed Feb. 7, 2012, the entire contents of which are herein incorporated by reference.
  • FIELD OF THE INVENTION
  • The present invention relates to data protection.
  • BACKGROUND OF THE INVENTION
  • Data lies at the heart of every enterprise, and is a core component of data center infrastructure. As data applications become more and more critical, there is a growing need to ensure complete business continuity.
  • Disaster recovery systems provide data protection and application recovery. Some disaster recovery systems use virtual data replication within a hypervisor architecture, and are able to recover any point in time.
  • Disaster recovery systems are typically operative to maintain disk replicas of enterprise data disks. Some disaster recovery systems, referred to as continuous data protection (CDP) systems, enable restoring a disk replica to a previous point in time. CDP systems log each command to write data into a designated address of a dedicated data disk, into one or more write journals. Each journaled set of commands that together constitute a consistent disk image, is stamped with a date and time. At various times, the journaled commands are promoted to the replica disks, to update the replica disk images to a more recent time, and the write journals are then purged and restarted from the more recent time. The purged journal commands are converted to undo journal entries, for use in rolling back data to a time prior to the promotion time.
  • As such, disk images at any desired recovery point in time may be determined from the replica disk images, the write journals and the undo journals. If the desired recovery point in time is later than the most recent promotion time, then the disk images corresponding to the desired recovery point in time are obtained by applying the write commands that were journaled prior to the desired recovery point in time, to the replica disk images, to roll forward the replica disk data to the desired recovery point in time. If the desired recovery point is earlier than the most recent promotion time, which is generally the case, then the disk images corresponding to the desired recovery point in time are obtained by applying the undo commands that are time stamped after the desired recovery point in time, to the replica disk images, to roll back the replica disk data to the desired recovery point in time.
  • In a multi-host enterprise environment, continuous data protection (CDP) disaster recovery systems need to perform consistent cross-host journal checkpoints. In order to ensure a consistent enterprise recovery, it is required to checkpoint the write journals when the enterprise disk images correspond to a common point in time. For such marking to be possible, all hosts must be operative to quiesce writes at a common point in time. Quiesce writes for synchronization generally impact performance, and thus must be carefully applied.
  • Alternatively, some disaster recovery systems synchronize clocks across hosts and timestamp each write operation, to ensure that the writes are properly sequenced in the write journals. Such systems are complicated to deploy with consistency, because it is difficult to synchronize independent clocks to the millisecond.
  • Other conventional disaster recovery systems send a quiesce command to all hosts, receive acknowledgements of successful quiescence, take a consistent snapshot image of all disks, and then send release quiesce commands. Such systems are exposed to a risk of reducing performance of enterprise data applications.
  • It would thus be of advantage to enable cross-host consistent CDP checkpointing, without requiring synchronized clocks and without reducing performance of data applications.
  • SUMMARY OF THE INVENTION
  • Aspects of the present invention overcome drawbacks of conventional disaster recovery systems, and provide efficient adaptive quiesce cross-host consistent checkpointing. In one embodiment, the present invention transmits write quiesce commands to each of a plurality of hosts, with a specified timeout period. The write quiesce commands are transmitted at a sequence of times. After transmission of the write quiesce commands, a determination is made whether acknowledgements of quiesce have been received from each of the hosts within the designated timeout period. If so, a cross-host checkpoint is marked in the write journals, and the timeout period is decreased for the next quiesce command transmission time. If not, then a cross-host checkpoint is not marked, and the timeout period is increased for the next quiesce command transmission time. Thus the timeout period is fine-tuned so as to minimize reduction of performance of the data applications that are running on the plurality of hosts. Moreover, synchronization of clocks is not required.
  • The sequence of times at which quiesce commands are transmitted is controlled so as to satisfy a pre-designated production constraint, and thereby ensure that application performance is not adversely impacted. The production constraint represents a trade-off between CDP granularity and quiesce timeouts. The production constraint may specify inter alia that at most a designated percentage X% of production time be lost, and that there are at most a designated number, N, of service interruptions per hour or per day. As such, when the timeout period is increased, the frequency of quiesce is generally reduced, i.e., when the quiesce timeout is long, less quiesce requests are made, and the desired level of application performance is maintained.
  • There is thus provided in accordance with an embodiment of the present invention a method for generating cross-host consistent checkpoints, for use in disaster recovery systems, including transmitting, at multiple times, write quiesce commands to each of a plurality of enterprise host computers, each quiesce command including a timeout period that is adjusted at each of the multiple times, wherein the host computers are operative to write enterprise data to the source datastores, at each of the multiple times: determining whether acknowledgements indicating that a host has successfully stopped writing enterprise data to the source datastores, have been received from each of the plurality of host computers within the timeout period, if the determining is affirmative, then marking a cross-host checkpoint in a target datastore for the host computers, and reducing the timeout period for the quiesce commands transmitted by the transmitting at the next time, wherein the target datastore is generated by a continuous data protection disaster recovery system to replicate the data in the source datastores, and otherwise, increasing the timeout period for the quiesce commands transmitted by the transmitting at the next time.
  • There is additionally provided in accordance with an embodiment of the present invention a disaster recovery system for providing continuous data protection to an enterprise, the enterprise including a plurality of host computers that are operative to read enterprise data from source datastores and write enterprise data to source datastores, including a target datastore for replicating data written to the source datastores, and a checkpoint engine (i) for transmitting, at multiple times, quiesce commands to each of the host computers, each quiesce command including a timeout period that is adjusted at each of the multiple times, (ii) for determining, at each of the multiple times, whether acknowledgements indicating that a host has successfully stopped writing enterprise data to the source datastores, have been received from each of the plurality of host computers within the timeout period, (iii) for marking, at each of the multiple times, a cross-host checkpoint in the target datastore and reducing the timeout period for the quiesce commands at the next time, if the determining is affirmative, and (iv) for increasing, at each of the multiple times, the timeout period for the quiesce commands transmitted at the next time, if the determining is not affirmative.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The present invention will be more fully understood and appreciated from the following detailed description, taken in conjunction with the drawings in which:
  • FIG. 1 is a simplified block diagram of a disaster recovery system that generates consistent cross-host checkpoints, in accordance with an embodiment of the present invention; and
  • FIG. 2 is a simplified flowchart of a disaster recovery method for generating consistent cross-host checkpoints, in accordance with an embodiment of the present invention.
  • DETAILED DESCRIPTION
  • Aspects of the present invention relate to cross-host disaster recovery. When multiple host computers generate data, either per-host data or shared data, it is essential to provide consistent data replication at points in time when the hosts are synchronized across all hosts, disks and data. Such points in time are referred to as checkpoints, and in order to ensure synchronization a disaster recovery system instructs each host to stop writing data during a common time interval. Such instructions are referred to as write quiesce commands. When each of the hosts has stopped writing data at a common point in time, the journals of write commands for each host are consistent, and a checkpoint is marked in the journals. The hosts may then subsequently be recovered to the common point in time.
  • When a host quiesces data writing, all data applications running on the host are briefly halted and business application performance is generally impacted. A host may not be able to quiesce writing data at a given instant of time, and thus an attempt to perform consistent data replication across all hosts may require an unduly large amount of time, or may fail.
  • Reference is made to FIG. 1, which is a simplified block diagram of an enterprise disaster recovery system that generates consistent cross-host checkpoints, in accordance with an embodiment of the present invention. Shown in FIG. 1 are multiple enterprise host computers 110 and 120 that run respective enterprise data applications 130 and 140, which write data to respective enterprise source datastores 150 and 160. A disaster recovery system 170 provides continuous data protection for the enterprise. Disaster recovery system 170 replicates data sources 150 and 160 to a target datastore 180. Target datastore 180 generally includes replication disks and write journals. Disaster recovery system 170 includes a checkpoint engine 171 for generating consistent cross-host checkpoints for the enterprise. Operation of checkpoint engine 171 is described below with reference to FIG. 2. Disaster recovery system 170 also includes a recovery engine 172 which, in case of a disaster, uses target datastore 180 to recover source datastores 150 and 160 to a previous point in time.
  • Reference is made to FIG. 2, which is a simplified flowchart of a disaster recovery method performed by checkpoint engine 171 (FIG. 1), for generating consistent cross-host checkpoints, in accordance with an embodiment of the present invention. The method of FIG. 2 is performed over a sequence of times. At operation 210 an initial time, T, and an initial timeout period, TIMEOUT, are set. When time T arrives, operation 220 is performed, and the disaster recovery method transmits write quiesce commands to each of a plurality of host computers, such as computers 110 and 120. The write commands include the current value of the timeout parameter, TIMEOUT.
  • At operation 230 a determination is made whether or not the disaster recovery system has received acknowledgements of data write quiesce from each of the plurality of host computers. If so, at operation 240 a consistent cross-host checkpoint is marked in the write journals, and the timeout parameter TIMEOUT is decreased to a smaller value, for use at the next quiesce. Otherwise, if one or more acknowledgements have not been received from host computers, then a consistent cross-host checkpoint cannot be marked and at operation 250 the timeout parameter TIMEOUT is increased to a larger value, for use at the next quiesce. In either case, each host resumes writing data after a time TIMEOUT has elapsed from receipt of the write quiesce command. As such, interruption of data applications is limited to a period of time of approximately TIMEOUT.
  • At operation 260 a value of AT is set, based on the current value of TIMEOUT. It will be appreciated by those skilled in the art that the values of AT control the overall frequency of write quiesce commands, and are generally set to ensure that the quiesce timeout periods do not violate a pre-designated production constraint. The production constraint represents a trade-off between CDP granularity and quiesce timeouts, and is enforced to ensure that application performance is not adversely impacted, e.g., the constraint may specify that no more than X% of production time be lost, and that there be no more than N interruptions of service per hour. Accordingly, when the value of TIMEOUT is increased, the value of AT is increased. If the quiesce timeouts are large, the values of AT are set so that quiesce requests are made less frequently, enabling the desired level of application performance to be maintained.
  • At operation 270, the value of T is increased by AT and the method returns to operation 220, to perform the next quiesce at the next time, T.
  • In the foregoing specification, the invention has been described with reference to specific exemplary embodiments thereof It will, however, be evident that various modifications and changes may be made to the specific exemplary embodiments without departing from the broader spirit and scope of the invention as set forth in the appended claims. Accordingly, the specification and drawings are to be regarded in an illustrative rather than a restrictive sense.

Claims (20)

1. A method for generating cross-host consistent checkpoints, for use in disaster recovery systems, comprising:
transmitting, at a first time, a write quiesce command to a plurality of enterprise host computers, the write quiesce command including a timeout period, wherein the plurality of enterprise host computers are operative to write enterprise data to source datastores;
determining whether acknowledgements have been received from each of the plurality of enterprise host computers within the timeout period, the acknowledgments indicating that an enterprise host computer of the plurality of enterprise host computers has successfully stopped writing enterprise data to the source datastores;
adjusting the timeout period for the write quiesce command;
transmitting at a second time, the write quiesce command with the adjusted timeout period; and
generating a target datastore, by a continuous data protection disaster recovery system to replicate the enterprise data in the source datastores.
2. The method of claim 1 further comprising dynamically determining a value of the timeout period for the second time, based on the timeout period for the first time and based on a production constraint.
3. The method of claim 2 wherein the production constraint limits the percentage of total time allocated for quiesce timeouts.
4. The method of claim 2 wherein the production constraint limits the number of quiesce timeouts that occur in a designated time period.
5. The method of claim 1 further comprising logging the write quiesce command to write enterprise data to the source datastores, issued by one or more of the plurality of enterprise host computers, in at least one of a plurality of write journals of the target datastore, and promoting the logged write quiesce command to replication disks of the target datastore at a plurality of times, and marking checkpoints in each of the plurality of write journals of the target datastore.
6. The method of claim 5 further comprising recovering the source datastores based on images of the replication disks and on the plurality of write journals and the marked checkpoints.
7. A disaster recovery system for providing continuous data protection to an enterprise, the enterprise comprising a plurality of host computers that are operative to read enterprise data from source datastores and write enterprise data to source datastores, comprising:
a target datastore for replicating data written to the source datastores; and
a checkpoint engine (i) transmitting, at a first time, a write quiesce command to a plurality of enterprise host computers, each write quiesce command including a timeout period that is adjusted, (ii) for determining, whether acknowledgements have been received from each of the plurality of enterprise host computers within the timeout period, the acknowledgements indicating that an enterprise host computer of the plurality of enterprise host computers has successfully stopped writing enterprise data to the source datastores, (iii) for adjusting the timeout period for the write quiesce command; and (iv) for transmitting at a second time, the write quiesce command with the adjusted timeout period.
8. The system of claim 7 wherein the checkpoint engine dynamically determines a value of the timeout period for the second time, based on the timeout period for the first time and based on a production constraint.
9. The system of claim 7 wherein the production constraint limits the percentage of total time allocated for quiesce timeouts.
10. The system of claim 7 wherein the production constraint limits the number of quiesce timeouts that occur in a designated time period.
11. The system of claim 7 wherein the target datastore comprises:
a plurality of data disks for replication of the data in the source datastores; and
a plurality of write journals for logging the write quiesce command issued by one or more of the plurality of enterprise host computers for writing enterprise data into the source datastores, and wherein the checkpoint engine marks a cross-host checkpoint by marking checkpoints in each of plurality of write journals of the target datastore.
12. The system of claim 11 further comprising a data recovery engine for recovering the source datastores based on images of the replication disks and based on the plurality of write journals and the checkpoints marked by the checkpoint engine.
13. The method of claim 1 further comprising determining the acknowledgements have not been received from each of the plurality of enterprise host computers within the timeout period.
14. The method of claim 13 further comprising increasing the timeout period for the write quiesce command transmitted at the second time.
15. The method of claim 1 further comprising determining the acknowledgements have been received from each of the plurality of enterprise host computers within the timeout period.
16. The method of claim 15 further comprising:
marking a cross-host checkpoint in a target datastore for the enterprise host computer computers, responsive to the determination; and
decreasing the timeout period for the write quiesce command transmitted at the second time.
17. The system of claim 11, further comprising the checkpoint engine determining the acknowledgements have not been received from each of the plurality of enterprise host computers within the timeout period.
18. The system of claim 18 further comprising the checkpoint engine increasing the timeout period for the write quiesce command transmitted at the second time.
19. The system of claim 11 further comprising the checkpoint engine determining the acknowledgements have been received from each of the plurality of enterprise host computers within the timeout period.
20. The system of claim 19 further comprising the checkpoint engine:
marking a cross-host checkpoint in a target datastore for the enterprise host computer computers, responsive to the determination; and
decreasing the timeout period for the write quiesce command transmitted at the second time.
US14/306,883 2012-02-07 2014-06-17 Adaptive quiesce for efficient cross-host consistent CDP checkpoints Active US8868513B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US14/306,883 US8868513B1 (en) 2012-02-07 2014-06-17 Adaptive quiesce for efficient cross-host consistent CDP checkpoints

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US13/367,451 US8832037B2 (en) 2012-02-07 2012-02-07 Adaptive quiesce for efficient cross-host consistent CDP checkpoints
US14/306,883 US8868513B1 (en) 2012-02-07 2014-06-17 Adaptive quiesce for efficient cross-host consistent CDP checkpoints

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US13/367,451 Continuation US8832037B2 (en) 2012-02-07 2012-02-07 Adaptive quiesce for efficient cross-host consistent CDP checkpoints

Publications (2)

Publication Number Publication Date
US20140298092A1 true US20140298092A1 (en) 2014-10-02
US8868513B1 US8868513B1 (en) 2014-10-21

Family

ID=48903812

Family Applications (4)

Application Number Title Priority Date Filing Date
US13/367,451 Active 2032-12-23 US8832037B2 (en) 2012-02-07 2012-02-07 Adaptive quiesce for efficient cross-host consistent CDP checkpoints
US14/306,883 Active US8868513B1 (en) 2012-02-07 2014-06-17 Adaptive quiesce for efficient cross-host consistent CDP checkpoints
US14/478,548 Active US8959059B2 (en) 2012-02-07 2014-09-05 Adaptive quiesce for efficient cross-host consistent CDP checkpoints
US14/585,576 Active US9176827B2 (en) 2012-02-07 2014-12-30 Adaptive quiesce for efficient cross-host consistent CDP checkpoints

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US13/367,451 Active 2032-12-23 US8832037B2 (en) 2012-02-07 2012-02-07 Adaptive quiesce for efficient cross-host consistent CDP checkpoints

Family Applications After (2)

Application Number Title Priority Date Filing Date
US14/478,548 Active US8959059B2 (en) 2012-02-07 2014-09-05 Adaptive quiesce for efficient cross-host consistent CDP checkpoints
US14/585,576 Active US9176827B2 (en) 2012-02-07 2014-12-30 Adaptive quiesce for efficient cross-host consistent CDP checkpoints

Country Status (1)

Country Link
US (4) US8832037B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9430337B1 (en) 2016-01-07 2016-08-30 International Business Machines Corporation Disaster recovery as a dynamic service
US9477555B1 (en) * 2015-11-16 2016-10-25 International Business Machines Corporation Optimized disaster-recovery-as-a-service system
US10671596B1 (en) * 2015-03-31 2020-06-02 EMC IP Holding Company LLC Consistency determination

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9495477B1 (en) * 2011-04-20 2016-11-15 Google Inc. Data storage in a graph processing system
US8832037B2 (en) 2012-02-07 2014-09-09 Zerto Ltd. Adaptive quiesce for efficient cross-host consistent CDP checkpoints
US9727421B2 (en) * 2015-06-24 2017-08-08 Intel Corporation Technologies for data center environment checkpointing
US11349763B1 (en) * 2016-03-16 2022-05-31 Dell Products L.P. Avoiding failures in sending data to the cloud due to performance gradient
KR102560229B1 (en) 2016-06-29 2023-07-27 삼성전자주식회사 Electronic systems and method of operating electronic systems
US11625416B1 (en) * 2019-09-13 2023-04-11 Pure Storage, Inc. Uniform model for distinct types of data replication
CN112631831A (en) * 2020-12-22 2021-04-09 苏州柏科数据信息科技研究院有限公司 Bare computer recovery method and system of service system
CN112667447B (en) * 2020-12-24 2023-10-27 北京奇艺世纪科技有限公司 Data restoration method and device
CN112887432B (en) * 2021-03-31 2023-07-18 中国工商银行股份有限公司 Distributed system reconstruction operation and maintenance method, operation and maintenance node and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6981177B2 (en) * 2002-04-19 2005-12-27 Computer Associates Think, Inc. Method and system for disaster recovery
US20100121824A1 (en) * 2003-03-31 2010-05-13 Hitachi, Ltd. Disaster recovery processing method and apparatus and storage unit for the same
US20120151273A1 (en) * 2010-03-17 2012-06-14 Zerto Ltd. Multiple points in time disk images for disaster recovery
US20130204843A1 (en) * 2012-02-07 2013-08-08 Zerto Ltd. Adaptive quiesce for efficient cross-host consistent cdp checkponts
US8554733B2 (en) * 2005-04-20 2013-10-08 Hitachi Ltd. Disaster recovery method, disaster recovery system, remote copy method and storage system

Family Cites Families (30)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6658591B1 (en) 2000-06-08 2003-12-02 International Business Machines Corporation Recovery from data fetch errors in hypervisor code
US6857059B2 (en) 2001-01-11 2005-02-15 Yottayotta, Inc. Storage virtualization system and methods
US6910160B2 (en) 2002-01-10 2005-06-21 International Business Machines Corporation System, method, and computer program product for preserving trace data after partition crash in logically partitioned systems
US7143307B1 (en) 2002-03-15 2006-11-28 Network Appliance, Inc. Remote disaster recovery and data migration using virtual appliance migration
US6944847B2 (en) 2002-05-02 2005-09-13 International Business Machines Corporation Virtualization of input/output devices in a logically partitioned data processing system
JP4202709B2 (en) 2002-10-07 2008-12-24 株式会社日立製作所 Volume and failure management method in a network having a storage device
US7984108B2 (en) 2003-10-08 2011-07-19 Unisys Corporation Computer system para-virtualization using a hypervisor that is implemented in a partition of the host system
US7406488B2 (en) 2004-02-04 2008-07-29 Netapp Method and system for maintaining data in a continuous data protection system
US7325159B2 (en) 2004-02-04 2008-01-29 Network Appliance, Inc. Method and system for data recovery in a continuous data protection system
US7720817B2 (en) 2004-02-04 2010-05-18 Netapp, Inc. Method and system for browsing objects on a protected volume in a continuous data protection system
US7421617B2 (en) 2004-08-30 2008-09-02 Symantec Corporation Systems and methods for optimizing restoration of stored data
US7523277B1 (en) 2005-03-30 2009-04-21 Symantec Operating Corporation Transient point-in-time images for continuous data protection
US7899788B2 (en) 2005-04-01 2011-03-01 Microsoft Corporation Using a data protection server to backup and restore data on virtual servers
EP1913482A4 (en) 2005-07-14 2010-08-25 Emc Corp Maintaining write order fidelity on a multi-writer system
US7899662B2 (en) 2005-10-12 2011-03-01 Storage Appliance Corporation Data backup system including a data protection component
US7849361B2 (en) 2005-12-22 2010-12-07 Emc Corporation Methods and apparatus for multiple point in time data access
US7577867B2 (en) 2006-02-17 2009-08-18 Emc Corporation Cross tagging to data for consistent recovery
US7603395B1 (en) 2006-05-02 2009-10-13 Emc Corporation Using pseudosnapshots for continuous data protection systems to surface a copy of data
US7899800B2 (en) 2006-08-18 2011-03-01 Isilon Systems, Inc. Systems and methods for providing nonlinear journaling
US7996835B2 (en) 2006-10-10 2011-08-09 International Business Machines Corporation System, method and program for managing communication with multiple configurations for virtual machine
US8190641B2 (en) 2007-02-13 2012-05-29 Netapp, Inc. System and method for administration of virtual servers
US20090249330A1 (en) 2008-03-31 2009-10-01 Abercrombie David K Method and apparatus for hypervisor security code
US8595723B2 (en) 2008-06-10 2013-11-26 Hewlett-Packard Development Company, L.P. Method and apparatus for configuring a hypervisor during a downtime state
US20100017801A1 (en) 2008-07-18 2010-01-21 Vmware, Inc. Profile based creation of virtual machines in a virtualization environment
US8918488B2 (en) 2009-02-04 2014-12-23 Citrix Systems, Inc. Methods and systems for automated management of virtual resources in a cloud computing environment
WO2010127365A1 (en) 2009-05-01 2010-11-04 Citrix Systems, Inc. Systems and methods for establishing a cloud bridge between virtual storage resources
US8285956B2 (en) 2009-10-22 2012-10-09 Symantec Corporation Efficient logging for asynchronously replicating volume groups
US8121993B2 (en) 2009-10-28 2012-02-21 Oracle America, Inc. Data sharing and recovery within a network of untrusted storage devices using data object fingerprinting
EP2513811B1 (en) 2009-12-14 2018-03-28 Citrix Systems, Inc. Methods and systems for optimizing a process of archiving at least one block of a virtual disk image
WO2011082138A1 (en) 2009-12-31 2011-07-07 Commvault Systems, Inc. Systems and methods for performing data management operations using snapshots

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6981177B2 (en) * 2002-04-19 2005-12-27 Computer Associates Think, Inc. Method and system for disaster recovery
US20100121824A1 (en) * 2003-03-31 2010-05-13 Hitachi, Ltd. Disaster recovery processing method and apparatus and storage unit for the same
US8554733B2 (en) * 2005-04-20 2013-10-08 Hitachi Ltd. Disaster recovery method, disaster recovery system, remote copy method and storage system
US20120151273A1 (en) * 2010-03-17 2012-06-14 Zerto Ltd. Multiple points in time disk images for disaster recovery
US20130204843A1 (en) * 2012-02-07 2013-08-08 Zerto Ltd. Adaptive quiesce for efficient cross-host consistent cdp checkponts

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10671596B1 (en) * 2015-03-31 2020-06-02 EMC IP Holding Company LLC Consistency determination
US9477555B1 (en) * 2015-11-16 2016-10-25 International Business Machines Corporation Optimized disaster-recovery-as-a-service system
US11561869B2 (en) 2015-11-16 2023-01-24 Kyndryl, Inc. Optimized disaster-recovery-as-a-service system
US9430337B1 (en) 2016-01-07 2016-08-30 International Business Machines Corporation Disaster recovery as a dynamic service
US10027558B2 (en) 2016-01-07 2018-07-17 International Business Machines Corporation Disaster recovery as a dynamic service

Also Published As

Publication number Publication date
US20150019911A1 (en) 2015-01-15
US8832037B2 (en) 2014-09-09
US8868513B1 (en) 2014-10-21
US9176827B2 (en) 2015-11-03
US8959059B2 (en) 2015-02-17
US20130204843A1 (en) 2013-08-08
US20150112937A1 (en) 2015-04-23

Similar Documents

Publication Publication Date Title
US8868513B1 (en) Adaptive quiesce for efficient cross-host consistent CDP checkpoints
US9875042B1 (en) Asynchronous replication
US9557925B1 (en) Thin replication
US9563655B2 (en) Zero and near-zero data loss database backup and recovery
US9672117B1 (en) Method and system for star replication using multiple replication technologies
US9563517B1 (en) Cloud snapshots
US8806274B1 (en) Snapshot assisted synchronous replication
US10678663B1 (en) Synchronizing storage devices outside of disabled write windows
US7278049B2 (en) Method, system, and program for recovery from a failure in an asynchronous data copying system
US8554737B2 (en) Dynamic consistency group formation and systems using the same
US8127174B1 (en) Method and apparatus for performing transparent in-memory checkpointing
US8321610B2 (en) Methods of multi-server application synchronization without stopping I/O
US11080148B2 (en) Method and system for star replication using multiple replication technologies
US10229056B1 (en) Alignment fixing on a storage system during continuous data replication to deduplicated storage
US20050071710A1 (en) Method, system, and program for mirroring data among storage sites
US11947429B2 (en) Data disaster recovery method and site
US20100082921A1 (en) Systems And Methods For Data Snapshot Replication
EP2919119B1 (en) Systems and methods for reducing database load time
US8250036B2 (en) Methods of consistent data protection for multi-server applications
US20060106747A1 (en) Data transfer management in consistency group formation
US11379319B2 (en) LAN-free and application consistent backup method
US10671596B1 (en) Consistency determination
US11500740B2 (en) Continuous data protection
US10275324B2 (en) Replication with multiple consistency groups per volume
US10185503B1 (en) Consistency group fault tolerance

Legal Events

Date Code Title Description
AS Assignment

Owner name: ZERTO LTD., ISRAEL

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:BOLDO, AMIR;MAMLUK, ORI;BURSHAN, CHEN;REEL/FRAME:033202/0017

Effective date: 20120208

STCF Information on status: patent grant

Free format text: PATENTED CASE

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551)

Year of fee payment: 4

AS Assignment

Owner name: SILICON VALLEY BANK, MASSACHUSETTS

Free format text: INTELLECTUAL PROPERTY SECURITY AGREEMENT;ASSIGNOR:ZERTO LTD;REEL/FRAME:050998/0757

Effective date: 20191112

AS Assignment

Owner name: KREOS CAPITAL VI (EXPERT FUND) L.P., JERSEY

Free format text: SECURITY INTEREST;ASSIGNOR:ZERTO LTD.;REEL/FRAME:051044/0213

Effective date: 20191112

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 8

AS Assignment

Owner name: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP, TEXAS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:ZERTO LTD.;REEL/FRAME:066269/0960

Effective date: 20231101