CN113905056B - Novel bitmap management method, system, equipment and medium of annular 3DC - Google Patents
Novel bitmap management method, system, equipment and medium of annular 3DC Download PDFInfo
- Publication number
- CN113905056B CN113905056B CN202111081459.5A CN202111081459A CN113905056B CN 113905056 B CN113905056 B CN 113905056B CN 202111081459 A CN202111081459 A CN 202111081459A CN 113905056 B CN113905056 B CN 113905056B
- Authority
- CN
- China
- Prior art keywords
- data
- data center
- volume
- remote copy
- asynchronous remote
- 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.)
- Active
Links
- 238000007726 management method Methods 0.000 title claims abstract description 31
- 230000000737 periodic effect Effects 0.000 claims abstract description 83
- 230000004044 response Effects 0.000 claims abstract description 35
- 230000001360 synchronised effect Effects 0.000 claims abstract description 35
- 230000010076 replication Effects 0.000 claims abstract description 6
- 238000000034 method Methods 0.000 claims description 26
- 238000011084 recovery Methods 0.000 claims description 10
- 238000004590 computer program Methods 0.000 claims description 5
- 230000002159 abnormal effect Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 19
- 230000008859 change Effects 0.000 description 17
- 230000005856 abnormality Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000005540 biological transmission Effects 0.000 description 3
- 230000014509 gene expression Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0668—Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
A novel bitmap management method of a ring 3DC, comprising: in response to the primary volume of the first data center receiving data, synchronizing the data to the primary volume of the second data center by means of periodic synchronous remote replication; performing a first periodic asynchronous remote copy to synchronize data into a primary volume of a third data center in response to the primary volume of the second data center receiving the data; the data bitmap state of the first data center is copied asynchronously and remotely from the volume synchronization first cycle in response to the second data center performing the first cycle asynchronous remote copy. By periodically and asynchronously and remotely copying data to a master volume of a third center through a slave volume of a second data center, and in a bitmap state when the first data center synchronizes the periodic asynchronous and remote copy of the slave volume of the second data center, when the second data center is abnormal, the slave volume of the first data center can immediately replace the asynchronous and remote synchronous work of the second data center to realize seamless connected periodic asynchronous and remote copy switching work.
Description
Technical Field
The invention belongs to the field of internet cloud storage, and particularly relates to a novel bitmap management method, system, equipment and medium of annular 3 DC.
Background
The existing ring 3DC (two-place three-center) data distributed redundancy storage scheme mainly manages bitmaps in the following two modes: firstly, complex processing of bitmaps is avoided in a snapshot mode, and only the existing bitmap management method needs to be kept snapshot and copied remotely; and secondly, the additional bitmap is added to save the data difference between the two stations. The snapshot is added in the scheme one, so that the defect of occupying extra volumes exists; in the second scheme, an additional bitmap is added, and the disadvantage of multiple bitmaps is existed. The bitmap is used and the related calculation consumes more resources when the data volume is larger.
Therefore, there is a need for a data management scheme that can effectively improve ring 3 DC.
Disclosure of Invention
In order to solve the above problems, the present invention provides a novel bitmap management method, system, device and storage medium for annular 3DC, wherein the method includes:
in response to receiving data by a primary volume of a first data center, synchronizing the data to a primary volume of a second data center by means of periodic synchronous remote replication;
performing a first periodic asynchronous remote copy of the data to synchronize the data into a primary volume of a third data center in response to the primary volume of the second data center receiving the data; and
and responding to the second data center to execute first periodic asynchronous remote copy, wherein the slave volume of the first data center synchronizes the data bitmap state of the first periodic asynchronous remote copy.
In some embodiments of the invention, the method further comprises:
and stopping the asynchronous remote copy of the first cycle in response to the occurrence of an abnormality in the second data center, and synchronizing the data to a slave volume of a third data center through a slave volume of the first data center in a second cycle asynchronous remote copy manner.
In some embodiments of the invention, synchronizing the data to a slave volume of a third data center by a slave volume of the first data center in a second cycle asynchronous remote copy, comprises:
and according to the data bitmap of the first periodic asynchronous remote copy synchronized by the slave volume of the first data center, acquiring the data from the slave volume of the first data center, and synchronizing the data into the slave volume of a third data center.
In some embodiments of the invention, the method further comprises:
stopping the data receiving service of the first data center in response to the second data center exception recovery, and waiting for the slave volume of the first data center to execute the second periodic asynchronous remote copy to complete;
responsive to the secondary volumes of the first data center performing the second periodic asynchronous remote copy being completed, turning on the data receiving service of the first data center and turning off the second periodic asynchronous remote copy performed by the secondary volumes of the first data center.
Another aspect of the present invention also provides a novel bitmap management system for ring 3DC, including:
the first execution module is used for responding to the received data of the main volume of the first data center and synchronizing the data into the main volume of the second data center in a periodical synchronous remote copy mode; and
a second execution module configured to perform a first periodic asynchronous remote copy to synchronize the data into a primary volume of a third data center in response to the primary volume of the second data center receiving the data; and
and a third execution module configured to perform a first periodic asynchronous remote copy in response to the second data center, the secondary volumes of the first data center synchronizing data bitmap states of the first periodic asynchronous remote copy.
In some embodiments of the invention, a fourth execution module is further included, the fourth execution module configured to:
and stopping the asynchronous remote copy of the first cycle in response to the occurrence of an abnormality in the second data center, and synchronizing the data to a slave volume of a third data center through a slave volume of the first data center in a second cycle asynchronous remote copy manner.
In some embodiments of the invention, the fourth execution module is further configured to:
and according to the data bitmap of the first periodic asynchronous remote copy synchronized by the slave volume of the first data center, acquiring the data from the slave volume of the first data center, and synchronizing the data into the slave volume of a third data center.
In some embodiments of the present invention, a fifth execution module is further included, the fifth execution module configured to:
stopping the data receiving service of the first data center in response to the second data center exception recovery, and waiting for the slave volume of the first data center to execute the second periodic asynchronous remote copy to complete;
responsive to the secondary volumes of the first data center performing the second periodic asynchronous remote copy being completed, turning on the data receiving service of the first data center and turning off the second periodic asynchronous remote copy performed by the secondary volumes of the first data center.
Yet another aspect of the present invention provides a computer apparatus, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method of any of the above embodiments.
Yet another aspect of the present invention proposes a computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any of the above embodiments.
According to the bitmap management method of the novel annular 3DC, data is periodically and asynchronously copied to the main volume of the third center through the secondary volume of the second data center, the bitmap state is synchronized by the first data center when the secondary volume of the second data center is periodically and asynchronously copied, and when the second data center is abnormal, the secondary volume of the first data center can immediately replace asynchronous remote synchronous work of the second data center to realize seamless connection periodic asynchronous remote copy switching work.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a method flow chart of an embodiment of a bitmap management method for a novel ring 3DC provided by the present invention;
FIG. 2 is a diagram of data transmission relation of a data center of an embodiment of a bitmap management method of a novel ring 3DC according to the present invention;
FIG. 3 is a state diagram of data change of an embodiment of a bitmap management method of a novel ring 3DC according to the present invention;
FIG. 4 is a state diagram of data change of an embodiment of a bitmap management method of a novel ring 3DC according to the present invention;
FIG. 5 is a state diagram of data change of an embodiment of a bitmap management method of a novel ring 3DC according to the present invention;
FIG. 6 is a state diagram of data change of an embodiment of a bitmap management method of a novel ring 3DC according to the present invention;
FIG. 7 is a state diagram of data change of an embodiment of a bitmap management method of a novel ring 3DC according to the present invention;
FIG. 8 is a state diagram of data change of an embodiment of a bitmap management method of a novel ring 3DC according to the present invention;
FIG. 9 is a state diagram of data change of an embodiment of a bitmap management method of a novel ring 3DC according to the present invention;
FIG. 10 is a state diagram of data change of an embodiment of a bitmap management method of a novel ring 3DC according to the present invention;
FIG. 11 is a state diagram of data change of an embodiment of a bitmap management method of a novel ring 3DC according to the present invention;
FIG. 12 is a state diagram of data change of an embodiment of a bitmap management method of a novel ring 3DC according to the present invention;
FIG. 13 is a state diagram of data change of an embodiment of a bitmap management method of a novel ring 3DC according to the present invention;
FIG. 14 is a state diagram of data change of an embodiment of a bitmap management method of a novel ring 3DC according to the present invention;
FIG. 15 is a state diagram of data change of an embodiment of a bitmap management method of a novel ring 3DC according to the present invention;
FIG. 16 is a schematic diagram of a bitmap management system of a novel ring 3DC according to the present invention;
FIG. 17 is a block diagram of a computer device according to the present invention;
FIG. 18 is a schematic diagram of a computer readable storage medium according to the present invention;
fig. 19 is a schematic diagram of a disaster recovery scheme with two places and three centers according to the prior art.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention will be described in further detail with reference to the accompanying drawings.
It should be noted that, in the embodiments of the present invention, all the expressions "first" and "second" are used to distinguish two entities with the same name but different entities or different parameters, and it is noted that the "first" and "second" are only used for convenience of expression, and should not be construed as limiting the embodiments of the present invention, and the following embodiments are not described one by one.
As shown in fig. 1, in a first aspect of the embodiment of the present invention, the first aspect of the present invention proposes a novel bitmap management method for ring 3DC, where the method includes:
step S1, responding to the received data of a main volume of a first data center, and synchronizing the data into the main volume of a second data center in a periodical synchronous remote copying mode; and
step S2, responding to the main volume of the second data center to receive the data, and executing first periodic asynchronous remote copy to synchronize the data into the main volume of a third data center; and
and step S3, responding to the second data center to execute first-cycle asynchronous remote copy, wherein the slave volume of the first data center synchronizes the data bitmap state of the first-cycle asynchronous remote copy.
In the embodiment of the present invention, as shown in fig. 2, the scheme of the present invention is designed such that six volumes are corresponding to each of A, B, C, A ', B ', and C ', a and a ', B and B ', C and C ' are belonging to three data centers, a and a ' correspond to the master volume and the slave volume of the first data center, B and B ' correspond to the master volume and the slave volume of the second data center, and C ' correspond to the master volume and the slave volume of the third data center. A ', B ', C ' respectively share the same block of data storage memory as A, B, C. Accordingly, volumes a ', B ', C ' have the same data content as A, B, C, respectively.
A > B is synchronous remote copy (MM), corresponding to RCx copy relationship;
b' - > C is a periodic asynchronous remote copy (GMCV), corresponding to a RCy copy relationship;
a '— > C' is a periodic asynchronous remote copy (GMCV), corresponding to RCz copy relationship.
The B ' end in RCy has change volume snapshots B ' - > B ' _change (lcy 1) and B ' _change- > B ' (lcy 2),
the A ' end in RCz has change volume snapshots A ' - > A ' _change (lcz 1) and A ' _change- > A ' (lcz 2).
The a RC bitmap is the RC bitmap corresponding to the a-side of the RCx relationship,
b '_ rc_ bitmap is the RC bitmap corresponding to the B' end of the RCy relationship,
the A '_rc_bitmap is an RC bitmap corresponding to the A' end of the RCz relationship.
RCx is a synchronous remote copy relationship, where all volumes a and B are always in a synchronous state, without data differences; RCy is a periodic asynchronous remote copy relationship, and includes two processes of periodic synchronization and periodic waiting, in which the write IO data difference to the B ' end is recorded on the bitmap corresponding to the change volume lcy1, and the write IO data difference to the B ' end is recorded on the RC bitmap corresponding to the B ' _rc_bitmap.
In this embodiment, in step S1, three data centers are disposed in two different regions respectively, where the first data center and the second data center are disposed in the same region, so that the first data center and the second data center can implement extremely low-delay data transmission. Thus, in step S1, the primary volume A of the first data center and the primary volume B of the second data center may periodically synchronize remote replication data in real time.
In step S2, the third data center and the second data center are not in the same area, so that data transmission between the second data center and the third data center can only achieve synchronization of data by means of periodic asynchronous remote copy, specifically, data is synchronized by means of periodic asynchronous remote copy from the secondary volume B' of the second data center to the primary volume C of the third data center.
In step S3, during synchronization of data from the secondary volume B 'of the second data center to the primary volume C of the third data center in a periodically asynchronous remote copy manner, the operational state of the secondary volume a' of the first data center is almost identical to that of the secondary volume B 'of the second data center, with the difference that data is not transmitted to the third data center only at the secondary volume a' of the first data center.
In some embodiments of the invention, the method further comprises:
and stopping the asynchronous remote copy of the first cycle in response to the occurrence of an abnormality in the second data center, and synchronizing the data to a slave volume of a third data center through a slave volume of the first data center in a second cycle asynchronous remote copy manner.
In this embodiment, when the primary volume B of the second data center fails or the periodic synchronous remote copy (RCx) link in which the primary volume a of the first data center transmits data to the primary volume B of the second data center has a problem for a long time, the primary volume a of the first data center stops transmitting data to the primary volume B of the second data center by the periodic synchronous remote copy (RCx) method. And after RCx execution, synchronizing data to the slave volumes of the third data center directly through slave volume a' of the first data center by way of a second periodic asynchronous remote copy (RCz).
In some embodiments of the invention, synchronizing the data to a slave volume of a third data center by a slave volume of the first data center in a second cycle asynchronous remote copy includes:
and according to the data bitmap of the first periodic asynchronous remote copy synchronized by the slave volume of the first data center, acquiring the data from the slave volume of the first data center, and synchronizing the data into the slave volume of a third data center.
In this embodiment, when an abnormality occurs in data transfer RCx between the primary volume a of the first data center and the primary volume B of the second data center, data consistency between the primary volume a of the first data center and the primary volume B of the second data center and data consistency from the volume B' of the second data center to the primary volume C of the third data center cannot be ensured at this time. At this time, since the bitmap data a '_rc_bitmap of the slave volume of the first data center always remains constant with the bitmap data B' _rc_bitmap of the slave volume B 'of the second data center, data can be synchronized from the slave volume B' of the second data center to the slave volume C 'of the third data center by the slave volume a' of the first data center instead. I.e. to initiate the RCz data transfer process shown in fig. 2.
In some embodiments of the invention, the method further comprises:
stopping the data receiving service of the first data center in response to the second data center exception recovery, and waiting for the slave volume of the first data center to execute the second periodic asynchronous remote copy to complete;
responsive to the secondary volumes of the first data center performing the second periodic asynchronous remote copy being completed, turning on the data receiving service of the first data center and turning off the second periodic asynchronous remote copy performed by the secondary volumes of the first data center.
In this embodiment, when the anomaly of the second data center is recovered, the data synchronization from the slave volume a ' of the first data center to the slave volume C ' of the third data center needs to be switched back to the slave volume B ' of the second data center to the master volume C of the third data center in the default state. And also to keep the data of the second data center consistent with the data of the first data center. At this point, the received data traffic of the first data center will be turned off, i.e., the primary volume a of the first data center is not receiving data, but rather data is synchronized into the second data center B, and waiting for the slave volume C ' synchronization data RCz of the first data center from volume a ' to the third data center to complete, then the data is turned off RCz, instead of being transferred by default from the slave volume B ' of the second data center to the primary volume C synchronization data (RCy) of the third data center.
In the embodiment of the invention, the specific implementation manner is as follows:
as shown in fig. 3, when the ring 3DC is created, RCx, rcy, and Rcy are all in inconsistent stopped states, RCz is in idle states, and lcy1 and lcz are in idle states, and RCx, RCy, RCz represents a cycle synchronous remote copy process from the primary volume a of the first data center to the primary volume B of the second data center, a cycle asynchronous remote copy process from the volume B ' of the second data center to the primary volume C of the third data center, and a cycle asynchronous remote copy process from the volume a ' of the first data center to the secondary volume C ' of the third data center, respectively. lcy1 and lcz1 represent a snapshot of the first data center and a snapshot of the second data center, respectively.
As shown in fig. 3 to 4, at the time of initialization, volume a of the first data center receives data a_data (regarded as 8 a in the present embodiment), and synchronizes the data 8 a to volume B through RCx. After synchronization is complete, execution of the cycle RCx is complete, RCx cycles wait, and RCx is set to silence.
Further, as shown in fig. 5-6, asynchronous periodic remote copy RCy would be performed, i.e., sending data to volume C through volume B'. lcy1_bitmap is merged to B' rc_bitmap, all 0.lcy1_bitmap is set to 0, and lcy1 is started; lcz1_bitmap is merged to a' _rc_bitmap, lcz1_bitmap is set to 0, and lcz1 is started. The bitmap data a 'rc_bitmap of the slave volume of the final first data center and the bitmap data B' rc_bitmap of the second data center remain the same, i.e., all 1. And performs RCy process to synchronize data to the third data center, as shown in figure 6,
further, informing the primary volume B of the second data center of the completion of the above RCy synchronization to silence RCx, stopping lcy1, stopping lcz1, clearing the a' _rc_bitmap, RCx canceling the silence may perform a-to-B data synchronization. And finishing the synchronization of the three-center data at a time. RCy enters a periodic wait state.
7-8, writing data b and c into the volume A in the waiting process of the Rcy period; at the same time, the data is synchronized to the second data center through RCx, and the B '_rc_bitmap and the a' _rc_bitmap are used for recording data differences, the bitmap data is changed from 11111111 to 00111111, namely, the first two a are replaced by B and c.
Further, RCx after B and c are transmitted, RCy cycles of time arrives, start RCy, notify B to silence RCx, merge lcy1_bitmap into B' _rc_bitmap, lcy1_bitmap is set to 0, start lcy1; lcz1_bitmap is merged to A' rc_bitmap, lcz1_bitmap is set to 0, and lcz1 is started. I.e. data b and c are synchronized to a third data center.
At this time, as shown in fig. 9 to 10, during the RCy cycle synchronization, new data d is written into the volume a of the first data center, but since it is in RCy cycles, the data difference needs to be recorded using lcy1_bitmap and lcz1_bitmap, and it is not possible to merge with the a ' rc_bitmap and the B ' rc_bitmap (the data bitmaps a ' rc_bitmap and B ' rc_bitmap have been locked, and data is being synchronized to the third data center according to the difference in the data bitmaps B ' rc_bitmap). And RCy is normally executed, and B and c are synchronized to a third data center according to bitmap change data in the B' _rc_bitmap. The results are shown in FIG. 10.
Further, in fig. 11-14, d is not synchronized to the third data center after the RCy synchronization of fig. 9-10 is completed. At this point, the next cycle RCy has not yet begun, i.e., RCy is waiting for a cycle, when the primary volume a of the first data center has again received new data e. At this time, RCy is not performed, and the difference is recorded without using lcy1_bitmap and lcz1_bitmap, and the difference can be recorded directly by using B '_rc_bitmap and a' _rc_bitmap, i.e. the result of recording B '_rc_bitmap and a' _rc_bitmap is 11101111. As shown in fig. 12, i.e., the 4 th data is changed; at this time, when the data d is written into the first data center and the second data center, the B '_rc_bitmap and the a' _rc_bitmap are locked in RCy cycles and are not updated in time, so as shown in fig. 13, lcy1_bitmap is merged into the B '_rc_bitmap, lcy1_bitmap is set to 0, lcy1, lcz1_bitmap is started to merge into the a' _rc_bitmap, lcz1_bitmap is set to 0, and lcz1 is started.
Further, as shown in fig. 13-14, execution RCy synchronizes data d, e to a third data center.
In addition, in the above procedure, in fig. 3 to 14, the RC procedure from volume a 'to volume C' of the first data center is also shown, specifically as in RCy described above, except that data is transmitted to the third data center at RCz in the first data center through the a '_rc_bitmap without passing through the B' _rc_bitmap.
FIG. 19 is a diagram of a two-place three-center data disaster recovery scheme of the prior art, which can only asynchronously and remotely replicate through one cycle, and the system crashes once the intermediate node is damaged. Compared with the method, the novel bitmap management method of the annular 3DC provided by the invention can be used for periodically and remotely copying data to the main volume of the third data center through the secondary volume of the second data center, and the bitmap state is obtained when the first data center synchronizes the periodic asynchronous remote copy of the secondary volume of the second data center, and when the second data center is abnormal, the secondary volume of the first data center can immediately replace the asynchronous remote synchronous work of the second data center to realize the seamless connected periodic asynchronous remote copy switching work.
As shown in fig. 16, another aspect of the present invention further proposes a bitmap management system of a novel ring 3DC, including:
a first execution module 1, where the first execution module 1 is configured to synchronize data to a primary volume of a second data center in a periodically synchronized remote copy manner in response to the primary volume of the first data center receiving the data;
a second execution module 2, the second execution module 2 configured to perform a first periodic asynchronous remote copy of the data into a primary volume of a third data center in response to the primary volume of the second data center receiving the data; and
a third execution module 3, the third execution module 3 configured to execute a first periodic asynchronous remote copy in response to the second data center, the slave volume of the first data center synchronizing a data bitmap state of the first periodic asynchronous remote copy.
In some embodiments of the present invention, a fourth execution module 4 is further included, the fourth execution module 4 being configured to:
and stopping the asynchronous remote copy of the first cycle in response to the occurrence of an abnormality in the second data center, and synchronizing the data to a slave volume of a third data center through a slave volume of the first data center in a second cycle asynchronous remote copy manner.
In some embodiments of the invention, the fourth execution module 4 is further configured to:
and according to the data bitmap of the first periodic asynchronous remote copy synchronized by the slave volume of the first data center, acquiring the data from the slave volume of the first data center, and synchronizing the data into the slave volume of a third data center.
In some embodiments of the present invention, a fifth execution module 5 is further included, the fifth execution module 5 being configured to:
stopping the data receiving service of the first data center in response to the second data center exception recovery, and waiting for the slave volume of the first data center to execute the second periodic asynchronous remote copy to complete;
responsive to the secondary volumes of the first data center performing the second periodic asynchronous remote copy being completed, turning on the data receiving service of the first data center and turning off the second periodic asynchronous remote copy performed by the secondary volumes of the first data center.
As shown in fig. 17, a further aspect of the present invention also proposes a computer device, including:
at least one processor 21; and
a memory 22, said memory 22 storing computer instructions 23 executable on said processor, said instructions when executed by said processor implementing the steps of a novel ring 3DC bitmap management method comprising:
in response to receiving data by a primary volume of a first data center, synchronizing the data to a primary volume of a second data center by means of periodic synchronous remote replication;
performing a first periodic asynchronous remote copy of the data to synchronize the data into a primary volume of a third data center in response to the primary volume of the second data center receiving the data; and
and responding to the second data center to execute first periodic asynchronous remote copy, wherein the slave volume of the first data center synchronizes the data bitmap state of the first periodic asynchronous remote copy.
In some embodiments of the invention, the steps further comprise:
and stopping the asynchronous remote copy of the first cycle in response to the occurrence of an abnormality in the second data center, and synchronizing the data to a slave volume of a third data center through a slave volume of the first data center in a second cycle asynchronous remote copy manner.
In some embodiments of the invention, synchronizing the data to a slave volume of a third data center by a slave volume of the first data center in a second cycle asynchronous remote copy includes:
and according to the data bitmap of the first periodic asynchronous remote copy synchronized by the slave volume of the first data center, acquiring the data from the slave volume of the first data center, and synchronizing the data into the slave volume of a third data center.
In some embodiments of the invention, the steps further comprise:
stopping the data receiving service of the first data center in response to the second data center exception recovery, and waiting for the slave volume of the first data center to execute the second periodic asynchronous remote copy to complete;
responsive to the secondary volumes of the first data center performing the second periodic asynchronous remote copy being completed, turning on the data receiving service of the first data center and turning off the second periodic asynchronous remote copy performed by the secondary volumes of the first data center.
As shown in fig. 18, still another aspect of the present invention further proposes a computer readable storage medium 401, which stores a computer program 402, which when executed by a processor, implements a bitmap management method step of a novel ring 3 DC:
in response to receiving data by a primary volume of a first data center, synchronizing the data to a primary volume of a second data center by means of periodic synchronous remote replication; and
performing a first periodic asynchronous remote copy of the data to synchronize the data into a primary volume of a third data center in response to the primary volume of the second data center receiving the data; and
and responding to the second data center to execute first periodic asynchronous remote copy, wherein the slave volume of the first data center synchronizes the data bitmap state of the first periodic asynchronous remote copy.
In some embodiments of the invention, the method steps further comprise:
and stopping the asynchronous remote copy of the first cycle in response to the occurrence of an abnormality in the second data center, and synchronizing the data to a slave volume of a third data center through a slave volume of the first data center in a second cycle asynchronous remote copy manner.
In some embodiments of the invention, synchronizing the data to a slave volume of a third data center by a slave volume of the first data center in a second cycle asynchronous remote copy includes:
and according to the data bitmap of the first periodic asynchronous remote copy synchronized by the slave volume of the first data center, acquiring the data from the slave volume of the first data center, and synchronizing the data into the slave volume of a third data center.
In some embodiments of the invention, the method steps further comprise:
stopping the data receiving service of the first data center in response to the second data center exception recovery, and waiting for the slave volume of the first data center to execute the second periodic asynchronous remote copy to complete;
responsive to the secondary volumes of the first data center performing the second periodic asynchronous remote copy being completed, turning on the data receiving service of the first data center and turning off the second periodic asynchronous remote copy performed by the secondary volumes of the first data center.
It should be noted that, each component or step in each embodiment may be intersected, replaced, added, and deleted, and therefore, the combination formed by these reasonable permutation and combination transformations shall also belong to the protection scope of the present invention, and shall not limit the protection scope of the present invention to the embodiments.
The foregoing is an exemplary embodiment of the present disclosure, and the order in which the embodiments of the present disclosure are disclosed is merely for the purpose of description and does not represent the advantages or disadvantages of the embodiments. It should be noted that the above discussion of any of the embodiments is merely exemplary and is not intended to suggest that the scope of the disclosure of embodiments of the invention (including the claims) is limited to these examples and that various changes and modifications may be made without departing from the scope of the invention as defined in the claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
Those of ordinary skill in the art will appreciate that: the above discussion of any embodiment is merely exemplary and is not intended to imply that the scope of the disclosure of embodiments of the invention, including the claims, is limited to such examples; combinations of features of the above embodiments or in different embodiments are also possible within the idea of an embodiment of the invention, and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, equivalent substitutions, improvements, and the like, which are made within the spirit and principles of the embodiments of the invention, are included within the scope of the embodiments of the invention.
Claims (6)
1. A novel bitmap management method for a ring 3DC, comprising:
in response to receiving data by a primary volume of a first data center, synchronizing the data to a primary volume of a second data center by means of periodic synchronous remote replication;
performing a first periodic asynchronous remote copy of the data to synchronize the data into a primary volume of a third data center in response to the primary volume of the second data center receiving the data; and
responsive to the second data center performing the first periodic asynchronous remote copy, the secondary volumes of the first data center synchronize data bitmap states of the first periodic asynchronous remote copy;
stopping the first periodic asynchronous remote copy in response to the occurrence of an anomaly in the second data center, synchronizing the data to a slave volume of a third data center by means of a slave volume of the first data center in a second periodic asynchronous remote copy;
the synchronizing the data to a slave volume of a third data center by a slave volume of the first data center in a second periodic asynchronous remote copy includes:
and according to the data bitmap of the first periodic asynchronous remote copy synchronized by the slave volume of the first data center, acquiring the data from the slave volume of the first data center, and synchronizing the data into the slave volume of a third data center.
2. The method as recited in claim 1, further comprising:
stopping the data receiving service of the first data center in response to the second data center exception recovery, and waiting for the slave volume of the first data center to execute the second periodic asynchronous remote copy to complete;
responsive to the secondary volumes of the first data center performing the second periodic asynchronous remote copy being completed, turning on the data receiving service of the first data center and turning off the second periodic asynchronous remote copy performed by the secondary volumes of the first data center.
3. A novel ring 3DC bitmap management system, comprising:
the first execution module is configured to synchronize the data to the main volume of the second data center in a periodic synchronous remote copy mode in response to the main volume of the first data center receiving the data;
a second execution module configured to perform a first periodic asynchronous remote copy to synchronize the data into a primary volume of a third data center in response to the primary volume of the second data center receiving the data; and
a third execution module configured to execute the first periodic asynchronous remote copy in response to the second data center synchronizing a data bitmap state of the first periodic asynchronous remote copy from a volume of the first data center;
a fourth execution module configured to:
stopping the first periodic asynchronous remote copy in response to the occurrence of an anomaly in the second data center, synchronizing the data to a slave volume of a third data center by means of a slave volume of the first data center in a second periodic asynchronous remote copy;
the fourth execution module is further configured to:
and according to the data bitmap of the first periodic asynchronous remote copy synchronized by the slave volume of the first data center, acquiring the data from the slave volume of the first data center, and synchronizing the data into the slave volume of a third data center.
4. The system of claim 3, further comprising a fifth execution module configured to:
stopping the data receiving service of the first data center in response to the second data center exception recovery, and waiting for the slave volume of the first data center to execute the second periodic asynchronous remote copy to complete;
responsive to the secondary volumes of the first data center performing the second periodic asynchronous remote copy being completed, turning on the data receiving service of the first data center and turning off the second periodic asynchronous remote copy performed by the secondary volumes of the first data center.
5. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, which when executed by the processor, perform the steps of the method of any one of claims 1-2.
6. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method of any one of claims 1-2.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111081459.5A CN113905056B (en) | 2021-09-15 | 2021-09-15 | Novel bitmap management method, system, equipment and medium of annular 3DC |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111081459.5A CN113905056B (en) | 2021-09-15 | 2021-09-15 | Novel bitmap management method, system, equipment and medium of annular 3DC |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113905056A CN113905056A (en) | 2022-01-07 |
CN113905056B true CN113905056B (en) | 2023-07-14 |
Family
ID=79028435
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111081459.5A Active CN113905056B (en) | 2021-09-15 | 2021-09-15 | Novel bitmap management method, system, equipment and medium of annular 3DC |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113905056B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108874593A (en) * | 2018-06-21 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of three center disaster recovery method, apparatus of two places, equipment and system |
CN112363868A (en) * | 2020-11-13 | 2021-02-12 | 苏州浪潮智能科技有限公司 | Method, system, equipment and medium for incremental synchronization of annular two places and three centers |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7194590B2 (en) * | 2001-02-28 | 2007-03-20 | Hitachi, Ltd. | Three data center adaptive remote copy |
-
2021
- 2021-09-15 CN CN202111081459.5A patent/CN113905056B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108874593A (en) * | 2018-06-21 | 2018-11-23 | 郑州云海信息技术有限公司 | A kind of three center disaster recovery method, apparatus of two places, equipment and system |
CN112363868A (en) * | 2020-11-13 | 2021-02-12 | 苏州浪潮智能科技有限公司 | Method, system, equipment and medium for incremental synchronization of annular two places and three centers |
Also Published As
Publication number | Publication date |
---|---|
CN113905056A (en) | 2022-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4668763B2 (en) | Storage device restore method and storage device | |
CN105069160A (en) | Autonomous controllable database based high-availability method and architecture | |
JP2001337939A (en) | Data multiplexing method and its system | |
JP2009266015A (en) | Storage system, and method of changing monitoring condition thereof | |
JP2009093315A (en) | Capacity expansion control method for storage system | |
CN111078667A (en) | Data migration method and related device | |
CN112363868B (en) | Method, system, equipment and medium for incremental synchronization of annular two places and three centers | |
CN115576655B (en) | Container data protection system, method, device, equipment and readable storage medium | |
CN114610532A (en) | Database processing method and device | |
CN115658390A (en) | Container disaster tolerance method, system, device, equipment and computer readable storage medium | |
CN102045187A (en) | Method and equipment for realizing HA (high-availability) system with checkpoints | |
KR101605455B1 (en) | Method for Replicationing of Redo Log without Data Loss and System Thereof | |
JP2006285336A (en) | Storage, storage system, and control method thereof | |
CN113905056B (en) | Novel bitmap management method, system, equipment and medium of annular 3DC | |
CN111858143A (en) | Method, apparatus, and computer-readable storage medium for managing storage system | |
CN112052127B (en) | Data synchronization method and device for dual-computer hot standby environment | |
CN113438111A (en) | Method for restoring RabbitMQ network partition based on Raft distribution and application | |
CN110716828B (en) | Database real-time backup method | |
US11327679B2 (en) | Method and system for bitmap-based synchronous replication | |
CN108984346B (en) | Method, system and storage medium for producing data disaster tolerance | |
WO2015196692A1 (en) | Cloud computing system and processing method and apparatus for cloud computing system | |
CN111984474A (en) | Method, system and equipment for recovering double-control cluster fault | |
TWI669605B (en) | Fault tolerance method and system for virtual machine group | |
JP2010231257A (en) | High availability system and method for handling failure of high availability system | |
CN113297134B (en) | Data processing system, data processing method and device, and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |