CN113656219A - Disaster recovery method, system and device for cloud computing center - Google Patents
Disaster recovery method, system and device for cloud computing center Download PDFInfo
- Publication number
- CN113656219A CN113656219A CN202110855160.4A CN202110855160A CN113656219A CN 113656219 A CN113656219 A CN 113656219A CN 202110855160 A CN202110855160 A CN 202110855160A CN 113656219 A CN113656219 A CN 113656219A
- Authority
- CN
- China
- Prior art keywords
- cloud
- disaster recovery
- center
- hard disk
- local
- 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.)
- Withdrawn
Links
- 238000011084 recovery Methods 0.000 title claims abstract description 160
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000001360 synchronised effect Effects 0.000 claims abstract description 6
- 230000000694 effects Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Data Mining & Analysis (AREA)
- Quality & Reliability (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention provides a disaster recovery method, a system and a device of a cloud computing center, wherein the method comprises the steps of respectively copying a basic mirror image to a local cloud center and a disaster recovery cloud center; writing incremental data based on the basic mirror image into a local cloud hard disk, wherein the local cloud hard disk is created on a local cloud center; synchronously writing the incremental data into the disaster recovery cloud hard disk; and when the backup is carried out for the first time, a disaster recovery cloud host is established in the disaster recovery cloud center based on the disaster recovery cloud hard disk and the basic mirror image. Before backup operation is carried out, the shared basic mirror image is respectively copied in the local cloud center and the disaster recovery cloud center in a full-scale mode, and a plurality of cloud hosts are respectively established in the local cloud center based on the basic mirror image. When the disaster recovery cloud center carries out first backup, the disaster recovery cloud host is established through the basic mirror image and the disaster recovery cloud hard disk, and in the whole disaster recovery processing process, the basic mirror image is only synchronized once, so that the data volume of the disaster recovery synchronization of a plurality of cloud hosts is greatly reduced, and the bandwidth pressure of a network is reduced.
Description
Technical Field
The invention relates to the technical field of data protection, in particular to a disaster recovery method, a system and a device for a cloud computing center.
Background
The disaster recovery technology is a technical means for data protection, and the disaster recovery technology in the current industry performs complete copying of data based on a remote copy or periodic copy mode of storage to realize disaster recovery, and the mode strongly depends on the capacity of bottom storage.
For disaster recovery in a cloud computing scene, the disaster recovery capability needs to be realized by copying all cloud disk contents used by a cloud host with full data. Under one cloud computing center, for different services, a plurality of cloud hosts often exist, most of the cloud hosts extend from the same mirror image, a large amount of repeated data needs to be copied for many times during disaster recovery, and if the basic mirror image is large, great pressure is caused on storage and a network.
As shown in fig. 1, the cloud hosts 1 to n in the cloud computing center a use the same mirror image a as a basic mirror image, and conventionally, data needs to be repeatedly written into the cloud hard disk 1 and the cloud hard disk n via the mirror image a, then corresponding cloud hosts are created based on the cloud hard disk, and also the same cloud host 1 'and cloud host n' need to be created in the cloud computing center B, and the mirror image a needs to be copied from the cloud computing center a to the corresponding two cloud hard disks 1 'and n' in the cloud computing center B. In the process, the same basic image is copied for multiple times, and no matter from the space of disaster storage or from the bandwidth of copied data, the same basic image causes little pressure and waste of resources.
Disclosure of Invention
The invention provides a disaster recovery method, a system and a device of a cloud computing center, which are used for solving the problem of resource waste caused by copying a large amount of repeated data in the disaster recovery process of the existing cloud computing center.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention provides a disaster recovery method of a cloud computing center in a first aspect, which comprises the following steps:
respectively copying the basic mirror images to a local cloud center and a disaster recovery cloud center;
writing incremental data based on the basic mirror image into a local cloud hard disk, wherein the local cloud hard disk is created on a local cloud center;
synchronously writing the incremental data into a disaster recovery cloud hard disk;
and when the backup is carried out for the first time, a disaster recovery cloud host is established in the disaster recovery cloud center based on the disaster recovery cloud hard disk and the basic mirror image.
Further, the method further comprises:
and after the disaster recovery cloud host is established, keeping a shutdown state.
Further, the method further comprises:
and when the local cloud center fails, the disaster recovery cloud host is started up to provide service.
Further, the method further comprises:
after the local cloud center is on line after fault recovery, incremental data on the disaster recovery cloud hard disk during the fault period are synchronized to the local cloud hard disk.
Further, the local cloud center includes a plurality of local cloud hosts, each local cloud host being created by the base image.
A second aspect of the present invention provides a disaster recovery system for a cloud computing center, where the system includes:
the mirror image copying unit is used for copying the basic mirror images to the local cloud center and the disaster recovery cloud center respectively;
a local data writing unit, configured to write incremental data based on the basic mirror image into a local cloud hard disk, where the local cloud hard disk is created on the local cloud center;
the data synchronization unit is used for synchronously writing the incremental data into the disaster recovery cloud hard disk;
and the cloud host establishing unit is used for establishing the disaster recovery cloud host in the disaster recovery cloud center based on the disaster recovery cloud hard disk and the basic mirror image when the first backup is carried out.
Further, the system further comprises a fault processing unit, and when the local cloud center fails, the fault processing unit starts the disaster recovery cloud host to enable the disaster recovery cloud host to provide service.
Further, the system further comprises a data reverse synchronization unit, and the data reverse synchronization unit synchronizes incremental data on the disaster recovery cloud hard disk to the local cloud hard disk during the fault period after the local cloud center is on line for fault recovery.
The third aspect of the present invention provides a disaster recovery device for a cloud computing center, including a local cloud center, a disaster recovery cloud center, a local cloud hard disk, and a disaster recovery cloud hard disk, where the device further includes a basic mirror image, and the basic mirror image is copied to the local cloud center and the disaster recovery cloud center, respectively;
creating a local cloud host based on the basic mirror image at the local cloud center, wherein the local cloud host writes incremental data based on the basic mirror image into the local cloud hard disk;
and at the disaster recovery cloud center, the disaster recovery cloud hard disk synchronizes the incremental data, and when the incremental data is backed up for the first time, a disaster recovery cloud host is established based on the basic mirror image and the disaster recovery cloud hard disk.
A fourth aspect of the present invention provides a computer storage medium, where computer instructions are stored, and when the computer instructions are executed on the disaster recovery system, the computer instructions cause the disaster recovery system to execute the steps of the disaster recovery method.
The disaster recovery system according to the second aspect and the disaster recovery device according to the third aspect of the present invention are both capable of implementing the methods according to the first aspect and the implementation manners of the first aspect, and achieve the same effects.
The effect provided in the summary of the invention is only the effect of the embodiment, not all the effects of the invention, and one of the above technical solutions has the following advantages or beneficial effects:
before backup operation is carried out, the shared basic mirror image is respectively copied in the local cloud center and the disaster recovery cloud center in a full-scale mode, and a plurality of cloud hosts are respectively established in the local cloud center based on the basic mirror image, so that the phenomenon that the same mirror image is copied for multiple times is avoided. In the disaster recovery cloud center, the disaster recovery cloud hard disk synchronizes incremental data based on the basic mirror image in real time, and when the incremental data is backed up for the first time, the disaster recovery cloud host is created through the basic mirror image which is copied in advance and the disaster recovery cloud hard disk, and in the whole disaster recovery processing process, the basic mirror image is synchronized only once, so that the data quantity of the disaster recovery synchronization of a plurality of cloud hosts is greatly reduced, resources are saved, and the bandwidth pressure of a network is reduced.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic diagram of a disaster recovery principle in the prior art;
FIG. 2 is a schematic flow chart of a disaster recovery method according to the present invention;
FIG. 3 is a schematic structural diagram of the disaster recovery system according to the present invention;
fig. 4 is a schematic structural diagram of the disaster recovery device according to the present invention.
Detailed Description
In order to clearly explain the technical features of the present invention, the following detailed description of the present invention is provided with reference to the accompanying drawings. The following disclosure provides many different embodiments, or examples, for implementing different features of the invention. To simplify the disclosure of the present invention, the components and arrangements of specific examples are described below. Furthermore, the present invention may repeat reference numerals and/or letters in the various examples. This repetition is for the purpose of simplicity and clarity and does not in itself dictate a relationship between the various embodiments and/or configurations discussed. It should be noted that the components illustrated in the figures are not necessarily drawn to scale. Descriptions of well-known components and processing techniques and procedures are omitted so as to not unnecessarily limit the invention.
As shown in fig. 2, the present invention provides a disaster recovery method for a cloud computing center, which includes the following steps:
s1, copying the basic mirror images to the local cloud center and the disaster recovery cloud center respectively;
s2, writing the incremental data based on the basic mirror image into a local cloud hard disk, wherein the local cloud hard disk is created on the local cloud center;
s3, synchronously writing the incremental data into the disaster recovery cloud hard disk;
and S4, creating a disaster recovery cloud host in the disaster recovery cloud center based on the disaster recovery cloud hard disk and the basic mirror image during first backup.
In step S1, the base image is a base image shared by multiple cloud hosts, that is, multiple cloud hosts with different business services can be created based on the base image. The cloud hosts (including local cloud hosts and disaster recovery cloud hosts) created in the following embodiments of the present invention are based on the base image.
In step S2, a local cloud hard disk 1 to a local cloud hard disk n are created in the local cloud center, a local cloud host 1 is created based on the local cloud hard disk 1 and the basic image copied in step S1, and a local cloud host n is created based on the local cloud hard disk n and the basic image copied in step S1, so that a plurality of cloud hosts are created based on the shared basic image and the corresponding cloud hard disks.
At the initial stage of creating the cloud center, when no specific business service is provided, no business data is stored in the local cloud hard disk, and actually, the creation of the local cloud host is based on the basic mirror image.
And creating a disaster recovery cloud hard disk with the same specification as the local cloud hard disk in the disaster recovery cloud center.
When the local cloud host performs specific business service, incremental data is generated relative to the basic mirror image and written into the local cloud hard disk.
In step S3, the incremental data in the previous step are synchronized to the disaster recovery cloud hard disk in real time, so as to ensure synchronization of the incremental data.
In step S4, in the disaster recovery cloud center, the disaster recovery cloud host is created by the disaster recovery cloud hard disk and the basic mirror image copied in step S1, and only incremental data is stored in the disaster recovery cloud hard disk.
In another embodiment of the disaster recovery method according to the present invention, the disaster recovery cloud host created in step S4 is maintained in the shutdown state after being created.
In another embodiment of the disaster recovery method, when the local cloud center fails, the data of the local cloud hard disk and the data of the disaster recovery cloud hard disk are synchronously disconnected, the disaster recovery cloud host is started, the same service as the local cloud hard disk and the local cloud hard disk are provided, and the continuity of the service is ensured.
In another embodiment of the disaster recovery method, after the local cloud center is on-line after the fault is repaired, incremental data on the disaster recovery cloud hard disk during the fault period are synchronized to the local cloud hard disk, so that data synchronization between the local cloud center and the disaster recovery cloud center is ensured.
As shown in fig. 3, the disaster recovery system of a cloud computing center provided by the present invention includes a mirror copy unit 1, a local data write unit 2, a data synchronization unit 3, and a cloud host creation unit 4.
The mirror image copying unit 1 is used for copying the basic mirror images to the local cloud center and the disaster recovery cloud center respectively; the local data writing unit 2 is used for writing incremental data based on the basic mirror image into a local cloud hard disk, and the local cloud hard disk is created on the local cloud center; the data synchronization unit 3 is used for synchronously writing the incremental data into the disaster recovery cloud hard disk; and when the cloud host creating unit 4 is used for first backup, a disaster recovery cloud host is created in the disaster recovery cloud center based on the disaster recovery cloud hard disk and the basic mirror image.
The base image copied by the image copying unit 1 is a base image shared by a plurality of cloud hosts, that is, a plurality of cloud hosts with different business services can be created based on the base image. The cloud hosts (including local cloud hosts and disaster recovery cloud hosts) created in the following embodiments of the present invention are based on the base image.
In the local cloud center, a local cloud hard disk 1 to a local cloud hard disk n are created, a local cloud host 1 is created based on the local cloud hard disk 1 and the basic mirror image copied in the step S1, and a local cloud host n is created based on the local cloud hard disk n and the basic mirror image copied in the step S1, so that a plurality of cloud hosts are created based on the shared basic mirror image and the corresponding cloud hard disks.
At the initial stage of creating the cloud center, when no specific business service is provided, no business data is stored in the local cloud hard disk, and actually, the creation of the local cloud host is based on the basic mirror image.
And creating a disaster recovery cloud hard disk with the same specification as the local cloud hard disk in the disaster recovery cloud center.
When the local cloud host performs specific business service, incremental data is generated relative to the basic mirror image, and the local data writing unit 2 writes the incremental data into the local cloud hard disk.
The data synchronization unit 3 synchronizes the incremental data to the disaster recovery cloud hard disk in real time, so as to ensure the synchronization of the incremental data.
In the disaster recovery cloud center, the cloud host creating unit 4 creates the disaster recovery cloud host through the disaster recovery cloud hard disk and the basic mirror image, the disaster recovery cloud hard disk only stores incremental data, and when the disaster recovery cloud host is created, the cloud host can be created based on the corresponding disaster recovery cloud hard disk and the shared basic mirror image without copying the basic mirror image for many times, so that resources and network bandwidth pressure are saved.
In another embodiment of the disaster recovery system of the present invention, the disaster recovery system further includes a fault processing unit, and when the local cloud center fails, the fault processing unit starts up the disaster recovery cloud host, so that the disaster recovery cloud host provides the service.
In another embodiment of the disaster recovery system of the present invention, the disaster recovery system further includes a data reverse synchronization unit, and the data reverse synchronization unit synchronizes incremental data on the disaster recovery cloud hard disk to the local cloud hard disk during the failure after the local cloud center goes online for the failure recovery.
As shown in fig. 4, the present invention further provides a disaster recovery device for a cloud computing center, which includes a local cloud center, a disaster recovery cloud center, a local cloud hard disk, a disaster recovery cloud hard disk, and a basic mirror image.
The basic mirror images are respectively copied to a local cloud center and a disaster recovery cloud center; creating a local cloud host based on the basic mirror image at the local cloud center, wherein the local cloud host writes incremental data based on the basic mirror image into the local cloud hard disk; and at the disaster recovery cloud center, the disaster recovery cloud hard disk synchronizes the incremental data, and when the incremental data is backed up for the first time, a disaster recovery cloud host is established based on the basic mirror image and the disaster recovery cloud hard disk.
The invention also provides a computer storage medium, wherein the computer storage medium stores computer instructions, and when the computer instructions are operated on the disaster recovery system, the computer instructions are used for executing the steps of the disaster recovery method.
Although the embodiments of the present invention have been described with reference to the accompanying drawings, it is not intended to limit the scope of the present invention, and it should be understood by those skilled in the art that various modifications and variations can be made without inventive efforts by those skilled in the art based on the technical solution of the present invention.
Claims (10)
1. A disaster recovery method of a cloud computing center is characterized by comprising the following steps:
respectively copying the basic mirror images to a local cloud center and a disaster recovery cloud center;
writing incremental data based on the basic mirror image into a local cloud hard disk, wherein the local cloud hard disk is created on a local cloud center;
synchronously writing the incremental data into a disaster recovery cloud hard disk;
and when the backup is carried out for the first time, a disaster recovery cloud host is established in the disaster recovery cloud center based on the disaster recovery cloud hard disk and the basic mirror image.
2. The cloud computing center disaster recovery method according to claim 1, wherein the method further comprises:
and after the disaster recovery cloud host is established, keeping a shutdown state.
3. The cloud computing center disaster recovery method according to claim 2, wherein the method further comprises:
and when the local cloud center fails, the disaster recovery cloud host is started up to provide service.
4. The disaster recovery method for the cloud computing center according to claim 3, wherein the method further comprises:
after the local cloud center is on line after fault recovery, incremental data on the disaster recovery cloud hard disk during the fault period are synchronized to the local cloud hard disk.
5. The disaster recovery method for the cloud computing center according to any one of claims 1 to 4, wherein the local cloud center includes a plurality of local cloud hosts, each of the local cloud hosts being created by the base image.
6. A disaster recovery system of a cloud computing center is characterized by comprising:
the mirror image copying unit is used for copying the basic mirror images to the local cloud center and the disaster recovery cloud center respectively;
a local data writing unit, configured to write incremental data based on the basic mirror image into a local cloud hard disk, where the local cloud hard disk is created on the local cloud center;
the data synchronization unit is used for synchronously writing the incremental data into the disaster recovery cloud hard disk;
and the cloud host establishing unit is used for establishing the disaster recovery cloud host in the disaster recovery cloud center based on the disaster recovery cloud hard disk and the basic mirror image when the first backup is carried out.
7. The disaster recovery system of the cloud computing center according to claim 6, wherein the system further comprises a fault processing unit, and when the local cloud center fails, the fault processing unit starts up the disaster recovery cloud host, so that the disaster recovery cloud host provides a service.
8. The disaster recovery system of the cloud computing center according to claim 7, wherein the system further comprises a data reverse synchronization unit, and the data reverse synchronization unit synchronizes incremental data on the disaster recovery cloud hard disk to the local cloud hard disk during the failure after the local cloud center goes online for the failure recovery.
9. A disaster recovery device of a cloud computing center comprises a local cloud center, a disaster recovery cloud center, a local cloud hard disk and a disaster recovery cloud hard disk, and is characterized by further comprising a basic mirror image, wherein the basic mirror image is respectively copied to the local cloud center and the disaster recovery cloud center;
creating a local cloud host based on the basic mirror image at the local cloud center, wherein the local cloud host writes incremental data based on the basic mirror image into the local cloud hard disk;
and at the disaster recovery cloud center, the disaster recovery cloud hard disk synchronizes the incremental data, and when the incremental data is backed up for the first time, a disaster recovery cloud host is established based on the basic mirror image and the disaster recovery cloud hard disk.
10. A computer storage medium having computer instructions stored thereon, which, when run on the disaster recovery system of any of claims 6-8, cause the disaster recovery system to perform the steps of the disaster recovery method of claim 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110855160.4A CN113656219A (en) | 2021-07-28 | 2021-07-28 | Disaster recovery method, system and device for cloud computing center |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110855160.4A CN113656219A (en) | 2021-07-28 | 2021-07-28 | Disaster recovery method, system and device for cloud computing center |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113656219A true CN113656219A (en) | 2021-11-16 |
Family
ID=78490729
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110855160.4A Withdrawn CN113656219A (en) | 2021-07-28 | 2021-07-28 | Disaster recovery method, system and device for cloud computing center |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113656219A (en) |
-
2021
- 2021-07-28 CN CN202110855160.4A patent/CN113656219A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103810058B (en) | Backup method, equipment and system for virtual machine | |
US7594138B2 (en) | System and method of error recovery for backup applications | |
CN110188000B (en) | Application disaster recovery method and system based on virtualization and iSCSI or FC | |
US20050050115A1 (en) | Method and system of providing cascaded replication | |
US10379964B2 (en) | Integrating resources at a backup site | |
US10565071B2 (en) | Smart data replication recoverer | |
CN106776130B (en) | Log recovery method, storage device and storage node | |
CN105550062B (en) | The data reflow method restored based on continuous data protection and time point browsing | |
CN101945131B (en) | Storage virtualization-based data migration method | |
CN115098299B (en) | Backup method, disaster recovery method, device and equipment of virtual machine | |
CN105302667A (en) | Cluster architecture based high-reliability data backup and recovery method | |
CN111274065B (en) | Disaster recovery method and device based on software | |
CN112711498A (en) | Virtual machine disaster recovery backup method, device, equipment and readable storage medium | |
CN103064759A (en) | Data recovery method and device | |
CN114328005B (en) | Method and system for incremental backup of container data | |
CN111770139A (en) | Method, device and system for remotely synchronizing data of distributed storage system | |
CN113051030A (en) | Virtual machine recovery system and method based on fusion computer virtualization platform | |
CN113656219A (en) | Disaster recovery method, system and device for cloud computing center | |
CN111966644A (en) | Supercomputer data storage method, device, system and storage medium | |
CN106933698B (en) | Method and device for storage system | |
CN111581015B (en) | Continuous data protection system and method for modern application | |
CN115827322A (en) | Cloud storage data full-scale disaster recovery method and system | |
CN115017131A (en) | Data migration method and system | |
CN116529714A (en) | Synchronous replication of high throughput streaming data | |
CN113032186A (en) | Data storage method and system based on raid and ceph |
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 | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20211116 |