MIRRORING DATA BETWEEN PRIMARY AND SECONDARY SITES
First Claim
1. A method for synchronizing data between a first site and a second site, comprising:
- copying updates to segments of storage at the first site to corresponding segments of storage at the second site;
providing codes generated from the segments at the second site and a valid flag for at least one code indicating whether the code for the segment of data is valid;
providing codes generated from segments of storage at the first site;
initiating an operation to copy segments from the second site to the first site;
determining, for segments at the second site, whether the valid flag for the code for the segment at the second site indicates that the code is valid in response to initiating the copy operation; and
comparing the valid code for at least one of the segments in the second site with the code for the corresponding segment at the first site to determine whether to copy the data from the segment at the second site to the first site as part of the copy operation.
1 Assignment
0 Petitions
Accused Products
Abstract
Provided are a method, system, and article of manufacture for mirroring data between a first site and a second site. Updates to segments of storage at the first site are copied to corresponding segments of storage at the second site. Codes are generated from the segments at the second site and a valid flag is provided for at least one code indicating whether the code for the segment of data is valid. One code is generated from each segment of storage at the first site. An operation is initiated to copy segments from the second site to the first site. A determination is made for segments at the second site as to whether the valid flag for the code for the segment at the second site indicates that the code is valid in response to initiating the copy operation. The valid code for at least one segment in the second site is compared with the code for the corresponding segment at the first site to determine whether to copy the data from the segment at the second site to the first site as part of the copy operation.
-
Citations
32 Claims
-
1. A method for synchronizing data between a first site and a second site, comprising:
-
copying updates to segments of storage at the first site to corresponding segments of storage at the second site; providing codes generated from the segments at the second site and a valid flag for at least one code indicating whether the code for the segment of data is valid; providing codes generated from segments of storage at the first site; initiating an operation to copy segments from the second site to the first site; determining, for segments at the second site, whether the valid flag for the code for the segment at the second site indicates that the code is valid in response to initiating the copy operation; and comparing the valid code for at least one of the segments in the second site with the code for the corresponding segment at the first site to determine whether to copy the data from the segment at the second site to the first site as part of the copy operation. - View Dependent Claims (2, 3, 4, 6, 7, 8, 9, 10)
-
-
5. The method of 4, further comprising
copying data from the first site to the second site while the first site is receiving updates; -
receiving updates at the second site in response to detecting a failure at the first site, wherein updates are not received at the first site while updates are being received at the second site; and detecting an availability of the first site after the failure at the first site, wherein the copy operation is initiated in response to detecting the availability of the first.
-
-
11. A method for synchronizing data between a first site and a second site, comprising:
-
copying data from segments of storage at the first site to corresponding segments of storage at the second site; receiving updates at the second site in response to detecting a failure at the first site, wherein updates are not received at the first site while updates are being received at the second site; detecting an availability of the first site before the first site is ready to begin receiving updates and mirroring updates to the second site; initiating operations to calculate codes for the segments at the first and second sites in response to detecting the availability of the first site; initiating a synchronize operation to copy segments from the second site to the first site in response to determining that the first site is ready to begin receiving updates and mirror updates to the second site; and comparing the codes for segments in the second site with the codes for the corresponding segments at the first site to determine whether to copy the data from the segments at the second site to the first site as part of the synchronize operation. - View Dependent Claims (12)
-
-
13. A system for synchronizing data between a first site and a second site, comprising:
-
a first system managing access to the first site; a first copy manager program executed by the first system to perform operations comprising; copying updates to segments of storage at the first site to corresponding segments of storage at the second site; and providing codes generated from the segments of storage at the first site; a second system managing access to the second site; and a second copy manager program executed by the second system to perform operations comprising; providing codes generated from the segments at the second site and a valid flag for at least one code indicating whether the code for the segment of data is valid; initiating an operation to copy segments from the second site to the first site; determining, for segments at the second site, whether the valid flag for the code for the segment at the second site indicates that the code is valid in response to initiating the copy operation; and comparing the valid code for at least one of the segments in the second site with the code for the corresponding segment at the first site to determine whether to copy the data from the segment at the second site to the first site as part of the copy operation. - View Dependent Claims (14, 15, 16, 17, 18)
-
-
19. A system for synchronizing data between a first site and a second site, comprising:
-
a first system managing access to the first site; a second system managing access to the second site; a first copy manager executed by the first system and a second copy manager executed by the second system, wherein at least one of the first and second copy managers are executed to perform operations, the operations comprising; copying data from segments of storage at the first site to corresponding segments of storage at the second site; receiving updates at the second site in response to detecting a failure at the first site, wherein updates are not received at the first site while updates are being received at the second site; detecting an availability of the first site before the first site is ready to begin receiving updates and mirroring updates to the second site; initiating operations to calculate codes for the segments at the first and second sites in response to detecting the availability of the first site; initiating a synchronize operation to copy segments from the second site to the first site in response to determining that the first site is ready to begin receiving updates and mirror updates to the second site; and comparing the codes for segments in the second site with the codes for the corresponding segments at the first site to determine whether to copy the data from the segments at the second site to the first site as part of the synchronize operation. - View Dependent Claims (20)
-
-
21. An article of manufacture including program illogic implemented in a first and second copy managers for synchronizing data between a first site and a second site, wherein at least one of the first and second copy mangers are executed to perform operations, the operations comprising:
-
copying updates to segments of storage at the first site to corresponding segments of storage at the second site; providing codes generated from the segments at the second site and a valid flag for at least one code indicating whether the code for the segment of data is valid; providing codes generated from segments of storage at the first site; initiating an operation to copy segments from the second site to the first site; determining, for segments at the second site, whether the valid flag for the code for the segment at the second site indicates that the code is valid in response to initiating the copy operation; and comparing the valid code for at least one of the segments in the second site with the code for the corresponding segment at the first site to determine whether to copy the data from the segment at the second site to the first site as part of the copy operation. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30)
-
-
31. An article of manufacture including code implemented in a first and second copy managers for synchronizing data between a first site and a second site, wherein at least one of the first and second copy mangers are executed to perform operations, the operations comprising:
-
copying data segments of storage at the first site to corresponding segments of storage at the second site; receiving updates at the second site in response to detecting a failure at the first site, wherein updates are not received at the first site while updates are being received at the second site; detecting an availability of the first site before the first site is ready to begin receiving updates and mirroring updates to the second site; initiating operations to calculate codes for the segments at the first and second sites in response to detecting the availability of the first site; initiating a synchronize operation to copy segments from the second site to the first site in response to determining that the first site is ready to begin receiving updates and mirror updates to the second site; and comparing the codes for segments in the second site with the codes for the corresponding segments at the first site to determine whether to copy the data from the segments at the second site to the first site as part of the synchronize operation. - View Dependent Claims (32)
-
Specification