CN-122019265-A - Dual-site disaster recovery system, method, electronic equipment and readable storage medium
Abstract
The application discloses a double-station disaster recovery system, a method, electronic equipment and a readable storage medium, which relate to the technical field of station disaster recovery and comprise a production station and a disaster recovery station, wherein the production station comprises a target storage pool and a plurality of hosts, each host comprises a virtual machine, each disaster recovery station comprises a space occupying virtual machine, the production station is used for monitoring incremental data generated by the virtual machines in the hosts and storing the incremental data into the target storage pool, and the production station also takes the incremental data out of the target storage pool and sends the incremental data into the space occupying virtual machines corresponding to the virtual machines in the disaster recovery station, so that the problems of long recovery time and high storage cost of a disaster recovery scheme in the related technology are solved, and the quick recovery of the data is realized so as to ensure continuous service and remarkably reduce the consumption and cost of storage resources.
Inventors
- ZHUANG HUAN
Assignees
- 济南浪潮数据技术有限公司
Dates
- Publication Date
- 20260512
- Application Date
- 20260113
Claims (10)
- 1. The double-station disaster recovery system is characterized by comprising a production station and a disaster recovery station, wherein the production station comprises a target storage pool and a plurality of hosts, each host comprises a virtual machine, and the disaster recovery station comprises a space occupying virtual machine; The production site is configured to monitor incremental data generated by the virtual machine within the host and store the incremental data to the target storage pool; and the production site is used for taking out the incremental data from the target storage pool and sending the incremental data to the occupying virtual machine corresponding to the virtual machine in the disaster recovery site.
- 2. The system of claim 1, wherein the production site further comprises a monitoring module; The monitoring module is used for acquiring the resource utilization rate of each host in the production site and determining the performance of each host based on the resource utilization rate.
- 3. The system of claim 2, wherein the production site further comprises a data transmission scheduling module; The data transmission scheduling module is connected with the monitoring module, and is used for receiving the resource utilization rate of each host computer sent by the monitoring module, determining a target host computer according to the resource utilization rate, and obtaining incremental data of a virtual machine in the target host computer, wherein the target host computer is a host computer with the resource utilization rate meeting a performance threshold value in a plurality of host computers.
- 4. The system of claim 3, wherein the production site further comprises a data transmission module; The data transmission module is connected with the data transmission scheduling module, and is used for receiving the identification information which is sent by the data transmission scheduling module and used for representing the target host, selecting the increment data corresponding to the target host from the target storage pool based on the identification information, and transmitting the increment data to the occupied virtual machine which corresponds to the virtual machine of the target host in the disaster recovery site.
- 5. The system of claim 1, wherein the target storage pool comprises a backup storage pool that exists independent of the host; And the backup storage pool is used for storing the incremental data under the condition that the utilization rate of storage resources is smaller than a preset threshold, wherein the preset threshold is used for judging whether the incremental data is written into the backup storage pool.
- 6. The system of claim 5, wherein the target storage pool comprises a shared memory, the shared memory stored in the host; And the shared memory is used for storing the address information of the incremental data under the condition that the utilization rate of the storage resources of the backup storage pool is greater than the preset threshold value.
- 7. A double-site disaster recovery method, characterized in that the method is applied to the double-site disaster recovery system of claim 1 to complete double-site disaster recovery, and the method comprises the following steps: Monitoring incremental data generated by a virtual machine within a host and storing the incremental data to a target storage pool; and taking out the incremental data from the target storage pool, and sending the incremental data to a occupying virtual machine in a disaster recovery site, which corresponds to the virtual machine.
- 8. The method of claim 7, wherein the target storage pool comprises a backup storage pool, a shared memory, and wherein the fetching the delta data from the target storage pool comprises: If the address information of the incremental data does not exist in the shared memory, extracting the incremental data from the backup storage pool; if the address information of the incremental data exists in the shared memory, extracting first incremental data corresponding to the address information based on the address information, and extracting second incremental data from the backup storage pool, wherein the incremental data comprises the first incremental data and the second incremental data; And under the condition that the backup storage pool fails or the storage space in the backup storage pool exceeds a preset threshold, if the address information of the incremental data is already stored in the shared memory and the backup storage pool stores new incremental data, extracting the incremental data corresponding to the address information first, and then acquiring the new incremental data from the backup storage pool, wherein the new incremental data is new incremental data generated by the virtual machine when the backup storage pool fails or the storage space does not exceed the preset threshold.
- 9. An electronic device, comprising: A memory for storing a computer program; a processor for implementing the steps of the double site disaster recovery method according to any one of claims 7 to 8 when executing said computer program.
- 10. A computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, wherein the computer program, when executed by a processor, implements the steps of the double site disaster recovery method according to any one of claims 7 to 8.
Description
Dual-site disaster recovery system, method, electronic equipment and readable storage medium Technical Field The present application relates to the field of data transmission technologies, and in particular, to a dual-site disaster recovery system, a method, an electronic device, and a readable storage medium. Background With the rapid development of information technology and the increasing amount of data, conventional single-site storage schemes have a risk of data loss. The double-site disaster recovery scheme realizes real-time backup and recovery of data by establishing two sites at two different geographic positions. Related art disaster recovery schemes of the current mainstream include tape backup, disk backup, cloud backup, and the like. However, the disaster recovery scheme in the related art has problems of long recovery time and high storage cost. Disclosure of Invention The application provides a double-site disaster recovery system, a method, electronic equipment and a readable storage medium, which at least solve the problems of long data recovery time and high storage cost of a main-stream disaster recovery scheme in the related technology. The application provides a double-site disaster recovery system, which comprises: The system comprises a production site and a disaster recovery site, wherein the production site comprises a target storage pool and a plurality of hosts, each host comprises a virtual machine, and the disaster recovery site comprises a occupying virtual machine; A production site for monitoring incremental data generated by virtual machines within the host and storing the incremental data to a target storage pool; And the production site is used for taking the incremental data out of the target storage pool and sending the incremental data to the occupying virtual machine corresponding to the virtual machine in the disaster recovery site. The application provides a double-site disaster recovery method, which is applied to a double-site disaster recovery system and comprises the following steps: Monitoring incremental data generated by a virtual machine within a host and storing the incremental data to a target storage pool; And taking out the incremental data from the target storage pool, and sending the incremental data to the occupying virtual machine corresponding to the virtual machine in the disaster recovery site. The application also provides electronic equipment, which comprises a memory and a processor, wherein the memory is used for storing a computer program, and the processor is used for realizing the steps of any one of the double-site disaster recovery methods when executing the computer program. The application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the steps of any one of the two-site disaster recovery methods when being executed by a processor. In the embodiment of the application, since the incremental data generated by the virtual machine in the host is monitored through the production site and stored in the target storage pool, the production site can take the incremental data out of the target storage pool and send the incremental data to the occupied virtual machine corresponding to the virtual machine in the disaster recovery site. Therefore, the incremental data generated by the virtual machine in the host is monitored by the production site and stored in the target storage pool, the incremental data is taken out from the storage pool and sent to the occupied virtual machine corresponding to the disaster recovery site, and when the host of the production site fails, the occupied virtual machine can use the stored incremental data for the failure recovery of the host of the production site, so that the technical problems of long data recovery time and high storage cost in the related technology are solved, the quick recovery of the data is realized, the service continuity is ensured, and the consumption and cost of storage resources are obviously reduced. Drawings For a clearer description of embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to the drawings without inventive effort for those skilled in the art. Fig. 1 is a schematic diagram of a structure of a dual-site disaster recovery system according to an embodiment of the present application; FIG. 2 is a schematic diagram of a structure of another dual-site disaster recovery system according to an embodiment of the present application; FIG. 3 is a schematic diagram of a flow of a dual-site disaster recovery method according to an embodiment of the present application; FIG. 4 is a schematic diagram illustrating a flow of another dual-site disas