A cloud platform-based cross-data center intra-city disaster recovery method, device and equipment

By creating disaster recovery parameter configuration and protection group on the cloud platform, the same-city disaster recovery across data centers is realized, solving the problem of data loss in a single data center when suffering from disasters, and enhancing the data center's disaster tolerance and recovery efficiency.

CN113821384BActive Publication Date: 2025-02-14JINAN INSPUR DATA TECH CO LTD

Patent Information

Application Number
CN202110961070.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-20
Publication Date
2025-02-14
Estimated Expiration
2041-08-20

AI Technical Summary

Technical Problem

When a single data center is invaded by viruses or natural disasters, it leads to data loss and long-term recovery, and lacks effective data disaster recovery solutions.

Method used

Adopt a cross-data center city disaster recovery method based on cloud platform, create disaster recovery parameter configuration on the cloud platform, specify the main virtual control center, backup virtual control center, main storage pool and backup storage pool, and create protection on the cloud platform Group to achieve real-time synchronization of underlying storage.

Benefits of technology

Real-time data synchronization of the same-city disaster recovery has been realized, which has enhanced the user's data center's disaster-bearing capabilities, avoided data loss, and improved the efficiency of data recovery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113821384B_ABST
    Figure CN113821384B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device and equipment for disaster recovery in the same city across data centers based on a cloud platform. The method comprises: firstly, creating a disaster recovery parameter configuration on the cloud platform, and specifying a primary virtual control center, a backup virtual control center, a primary storage pool, and a backup storage pool; then, creating a protection group on the cloud platform, and adding a cloud host to the protection group; then, starting the protection function of the protection group to achieve real-time synchronization of the underlying storage, and then stopping the protection function of the protection group to stop the real-time synchronization of the underlying storage; then, switching the synchronization direction of the underlying storage through the primary-backup switching function; at the same time, when a disaster occurs in the primary virtual control center, performing a fault switching to switch the backup virtual control center to the primary virtual control center; and then, after the primary virtual control center returns to normal, re-enabling the data synchronization of the primary and backup storage through re-protection. Thus, disaster recovery in the same city with real-time synchronization of data is achieved, and the problem of data loss is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a cloud platform-based cross-data center same-city disaster recovery method, device and equipment. Background Art

[0002] With the rapid development of computer technology, the amount of network data processing has also increased dramatically. The need to process massive amounts of data has put forward higher requirements on the performance of data centers.

[0003] At present, the problem with a single data center is that if the data center is invaded by a virus or the computer room is destroyed due to a natural disaster, all applications that rely on the data center will not be able to operate normally, and it will take a long time for the data center to recover from this damage. Therefore, in order to achieve the ideal disaster prevention effect and enhance the disaster bearing capacity of the user's data center, how to achieve data disaster recovery to avoid data loss is an urgent problem to be solved. Summary of the invention

[0004] The main purpose of the embodiments of the present application is to provide a cloud platform-based cross-data center same-city disaster recovery method, device and equipment, which can realize same-city disaster recovery with real-time data synchronization, enhance the disaster-bearing capacity of the user data center, and thus avoid the problem of data loss.

[0005] In a first aspect, an embodiment of the present application provides a cross-data center same-city disaster recovery method based on a cloud platform, including:

[0006] Creating a disaster recovery parameter configuration on the cloud platform, and specifying a primary virtual control center, a backup virtual control center, a primary storage pool, and a backup storage pool through the disaster recovery parameter configuration;

[0007] Creating a protection group on the cloud platform and adding a cloud host to the protection group; the cloud host is created based on the primary storage pool;

[0008] Enable the protection function of the protection group to achieve real-time synchronization of the underlying storage;

[0009] Stopping the protection function of the protection group to stop the real-time synchronization of the underlying storage;

[0010] Performing a switching function between the primary virtual control center and the backup virtual control center on the cloud platform to switch the underlying storage synchronization direction;

[0011] When a disaster occurs in the primary virtual control center, a failover is performed to switch the backup virtual control center to the primary virtual control center;

[0012] After the primary virtual control center returns to normal, data synchronization between the primary and backup storages is restarted through re-protection.

[0013] Optionally, a remote replication relationship is established between the primary storage pool and the backup storage pool.

[0014] Optionally, the primary storage pool is created on the primary virtual control center; and the backup storage pool is created on the backup virtual control center.

[0015] Optionally, the main virtual control center and the storage pool are in a one-to-many relationship.

[0016] In a second aspect, the embodiment of the present application further provides a cross-data center same-city disaster recovery device based on a cloud platform, including:

[0017] A first creation unit is used to create a disaster recovery parameter configuration on the cloud platform, and specify a primary virtual control center, a backup virtual control center, a primary storage pool, and a backup storage pool through the disaster recovery parameter configuration;

[0018] A second creation unit is used to create a protection group on the cloud platform and add a cloud host to the protection group; the cloud host is created according to the primary storage pool;

[0019] An enabling unit, used to enable the protection function of the protection group to achieve real-time synchronization of the underlying storage;

[0020] A stopping unit, used to stop the protection function of the protection group to stop the real-time synchronization of the underlying storage;

[0021] A first switching unit, configured to perform a switching function between a primary virtual control center and a backup virtual control center on the cloud platform to switch a synchronization direction of underlying storage;

[0022] A second switching unit, configured to perform a failover when a disaster occurs in the primary virtual control center, so as to switch the backup virtual control center to the primary virtual control center;

[0023] The re-protection unit is used to restart the data synchronization between the primary and standby storages through re-protection after the primary virtual control center returns to normal.

[0024] Optionally, a remote replication relationship is established between the primary storage pool and the backup storage pool.

[0025] Optionally, the primary storage pool is created on the primary virtual control center; and the backup storage pool is created on the backup virtual control center.

[0026] Optionally, the main virtual control center and the storage pool are in a one-to-many relationship.

[0027] The embodiment of the present application also provides a cross-data center same-city disaster recovery device based on a cloud platform, including: a processor, a memory, and a system bus;

[0028] The processor and the memory are connected via the system bus;

[0029] The memory is used to store one or more programs, and the one or more programs include instructions. When the instructions are executed by the processor, the processor executes any one of the implementation methods of the above-mentioned cloud platform-based cross-data center same-city disaster recovery method.

[0030] An embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a terminal device, the terminal device executes any one of the implementation methods of the above-mentioned cloud platform-based cross-data center same-city disaster recovery method.

[0031] The embodiment of the present application provides a method, device and equipment for disaster recovery in the same city across data centers based on a cloud platform. First, a disaster recovery parameter configuration is created on the cloud platform, and the primary virtual control center, the backup virtual control center, the primary storage pool, and the backup storage pool are specified through the disaster recovery parameter configuration. Then, a protection group is created on the cloud platform, and the cloud host is added to the protection group; wherein the cloud host is created according to the primary storage pool, then, the protection function of the protection group is enabled to achieve real-time synchronization of the underlying storage, and then the protection function of the protection group is stopped to stop the real-time synchronization of the underlying storage; the switching function of the primary virtual control center and the backup virtual control center is performed on the cloud platform to switch the synchronization direction of the underlying storage; at the same time, when a disaster occurs in the primary virtual control center, a fault switching is performed to switch the backup virtual control center to the primary virtual control center; and then after the primary virtual control center returns to normal, the data synchronization of the primary and backup storage is reopened through re-protection. Thus, disaster recovery in the same city with real-time synchronization of data is achieved, the disaster bearing capacity of the user data center is enhanced, and the problem of data loss is avoided. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0033] Figure 1 A schematic diagram of a process flow of a cross-data center same-city disaster recovery method based on a cloud platform provided in an embodiment of the present application;

[0034] Figure 2 A schematic diagram of a page for creating disaster recovery parameter configuration provided in an embodiment of the present application;

[0035] Figure 3A schematic diagram of a page for creating a protection group provided in an embodiment of the present application;

[0036] Figure 4 A schematic diagram of switching between functions and protection group status provided in an embodiment of the present application;

[0037] Figure 5 A schematic diagram of the composition of a cross-data center same-city disaster recovery device based on a cloud platform provided in an embodiment of the present application. DETAILED DESCRIPTION

[0038] With the widespread use of information technology, more and more important data are stored and processed in electronic form. Although this data storage and processing method can improve convenience, it can easily lead to data loss. In particular, with the continuous operation of information systems, the amount of data generated by the system is increasing, so the requirements for business data security and data access performance are becoming higher and higher.

[0039] However, the current problem with a single data center is that if the data center is invaded by a virus or the computer room is destroyed due to a natural disaster, all applications that rely on the data center will not be able to operate normally, and it will take a long time for the data center to recover from this damage. Therefore, in order to achieve the ideal disaster prevention effect and enhance the disaster bearing capacity of the user's data center, how to achieve data disaster recovery to avoid data loss is an urgent problem to be solved.

[0040] To solve the above defects, the embodiment of the present application provides a cross-data center same-city disaster recovery method based on a cloud platform. First, a disaster recovery parameter configuration is created on the cloud platform, and the main virtual control center, the backup virtual control center, the main storage pool, and the backup storage pool are specified through the disaster recovery parameter configuration. Then, a protection group is created on the cloud platform, and the cloud host is added to the protection group; wherein the cloud host is created according to the main storage pool, then, the protection function of the protection group is enabled to achieve real-time synchronization of the underlying storage, and then the protection function of the protection group is stopped to stop the real-time synchronization of the underlying storage; the switching function of the main virtual control center and the backup virtual control center is performed on the cloud platform to switch the synchronization direction of the underlying storage; at the same time, when a disaster occurs in the main virtual control center, a fault switching is performed to switch the backup virtual control center to the main virtual control center; and then after the main virtual control center returns to normal, the data synchronization of the main and backup storage is reopened through re-protection. Thus, disaster recovery in the same city with real-time synchronization of data is achieved, the disaster bearing capacity of the user data center is enhanced, and the problem of data loss is avoided.

[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0042] First embodiment

[0043] See also Figure 1 , is a flow chart of a cross-data center same-city disaster recovery method based on a cloud platform provided in this embodiment, the method comprising the following steps:

[0044] S101: Create a disaster recovery parameter configuration on the cloud platform, and specify a primary virtual control center, a backup virtual control center, a primary storage pool, and a backup storage pool through the disaster recovery parameter configuration.

[0045] In this embodiment, in order to enhance the disaster tolerance of the user data center and avoid the problem of data loss, in this embodiment, first, a partnership is established for two storage systems (such as G2 storage) at the storage layer. After the partnership is established, the two storage systems (such as G2 storage) can synchronize data. Then, storage pools are created on the two storage systems (such as G2 storage). Next, a remote replication relationship is created on the primary storage system (such as the primary G2 storage), and the remote system selects the backup storage system (such as the backup G2 storage) and adds a pair of storage pools on both sides to the remote replication relationship. After the remote replication relationship is created, the two storage pools have the ability to remotely replicate with each other. One of the storage pools is used as the primary storage pool, which contains the production data written by the main center virtual machine and bears normal business application data. The other storage pool is used as the backup storage pool, which contains the backup data of the primary storage pool and keeps the synchronization update with the data of the primary storage pool. Further, a consistency group is created on the primary storage system (such as the primary G2 storage), and the remote backup storage system (such as the backup G2 storage) is used. Add the previously created remote replication relationship to the consistency group. The remote replication relationship with consistency can be managed in a unified manner, such as switching the synchronization direction.

[0046] Among them, for the storage layer, intelligent remote replication is used for data center-level data protection or disaster recovery. Its main operation method is to copy the same data in different systems. Usually, considering the balance between system reliability and performance, two copies are used in actual application scenarios. For example, in the implementation of G2 storage, two volumes (such as disks) can be located in the same system (within a single I / O Group or cluster) or in different systems (between different cluster I / O Groups). Among them, the capacity of the two volumes is the same, the production center is the primary volume, and the backup center is the secondary volume. The primary volume contains the production data written by the host and bears normal business application data; the secondary volume contains the backup data of the primary volume, and keeps synchronized updates with the primary volume data for data recovery after a disaster.

[0047] It should be noted that this embodiment uses virtualization technology, based on physical servers, and virtualizes computing, storage, and network resources to make resource allocation more flexible and server utilization higher. Take the enterprise-level server virtualization solution ICOS as an example, assuming that it has three computing nodes, that is, three physical servers. ICOS can virtualize these three physical servers into 30 virtual machines, each of which has its own independent operating system. Between virtual machines, IP address distribution machines communicate through virtual network devices such as virtual switches, routers, and networks. In addition, the system disk and data disk of each virtual machine can eventually be selected to fall on G2 storage. The disaster recovery method in the embodiment of the present application is to use the remote replication of the main and backup volumes of the storage layer to perform disaster recovery on the virtual machine.

[0048] Specifically, in order to enhance the disaster tolerance of the user data center and achieve disaster recovery in the same city, first, create a disaster recovery parameter configuration on the cloud platform (the specific configuration page is as follows Figure 2 As shown), and through the disaster recovery parameter configuration, specify the main virtual control center (such as the main cloud management platform ICOS system), the backup virtual control center (such as the backup ICOS system), the main storage pool, and the backup storage pool to continue to execute the subsequent step S102.

[0049] Among them, an optional implementation method is that a remote replication relationship is established between the primary storage pool and the backup storage pool, and the primary storage pool is created on the primary virtual control center; the backup storage pool is created on the backup virtual control center, and the primary virtual control center and the storage pool are in a one-to-many relationship.

[0050] S102: Create a protection group on the cloud platform and add a cloud host to the protection group; wherein the cloud host is created based on the primary storage pool.

[0051] In this embodiment, after creating a disaster recovery parameter configuration on the cloud platform in step S101, and specifying the primary virtual control center, the backup virtual control center, the primary storage pool, and the backup storage pool through the disaster recovery parameter configuration, further, a protection group can be created on the cloud platform (a specific page for creating a protection group is shown in FIG. Figure 3 As shown), and the cloud host is added to the protection group to perform subsequent step S103, wherein the cloud host is created based on the primary storage pool.

[0052] Specifically, after creating a disaster recovery parameter configuration on the cloud platform through step S101 and selecting the disaster recovery parameter configuration, the primary and backup resource pools and the remote replication relationship can be determined, and then the consistency group is determined. It should be noted that a protection group on the cloud platform corresponds to a consistency group on the storage. When creating a protection group, you can add cloud hosts to the protection group, and the protection group will provide disaster recovery protection for them. You can also create an empty protection group and then add cloud hosts to the protection group later. Among them, the cloud host is created based on the primary storage pool in the disaster recovery parameter configuration. After the protection group is created, an identical cloud host will be built in the backup virtual control center, as well as the network and storage resources that these cloud hosts rely on. Therefore, when the main center fails, the backup center can continue to provide normal services.

[0053] Among them, it should be noted that the cloud platform can manage multiple virtualization systems, can create and manage tenant systems, and can also perform resource monitoring, metering and billing. The same-city disaster recovery solution provided in the embodiment of the present application is implemented based on the cloud platform. Taking the cloud management platform ICM as an example, by managing ICOS, users can create networks, cloud hard disks, and virtual machines on ICM. The core of the same-city disaster recovery solution provided in the embodiment of the present application is to perform disaster recovery on the cloud host, but the network, storage and other resources that the cloud host relies on need to be copied in the backup center in an identical manner, so that when the main center fails, the virtual machine pulled up by the backup center can provide services like the main center. And these copying tasks are initiated and completed by the platform layer.

[0054] S103: Enable the protection function of the protection group to achieve real-time synchronization of the underlying storage.

[0055] In this embodiment, after the protection group is created on the cloud platform in step S102, only a set of computing network storage resources that are completely consistent with the main virtual control center is created in the backup virtual control center, but the real-time synchronization of the underlying storage is not enabled. At this time, the protection function of the protection group can be enabled to achieve real-time synchronization of the underlying storage.

[0056] S104: Stop the protection function of the protection group to stop the real-time synchronization of the underlying storage.

[0057] In this embodiment, after the protection function of the protection group is enabled in step S103, the protection function can be further disabled to stop the real-time synchronization of the underlying storage. It can be understood that only the protection group after enabling protection can disable protection.

[0058] S105: Perform a switching function between the primary virtual control center and the backup virtual control center on the cloud platform to switch the underlying storage synchronization direction.

[0059] In this embodiment, in order to achieve cross-data center disaster recovery in the same city, the switching function of the main virtual control center and the backup virtual control center can be performed on the cloud platform to switch the underlying storage synchronization direction. That is, originally the data was synchronized from the main virtual control center to the backup virtual control center, and after the main-backup switching, it will become the data synchronization from the backup virtual control center to the main virtual control center. In this way, the original main virtual control center becomes the backup virtual control center, and the original backup virtual control center becomes the main virtual control center. Among them, it can be understood that the premise of the main-backup switching is that the two virtual control centers and the two storage pools are in normal status.

[0060] S106: When a disaster occurs in the primary virtual control center, a failover is performed to switch the backup virtual control center to the primary virtual control center.

[0061] In this embodiment, in order to achieve cross-data center intra-city disaster recovery, a failover can also be performed when a disaster occurs in the primary virtual control center, so as to switch the backup virtual control center to the primary virtual control center. Specifically, when a disaster occurs in the primary virtual control center, through failover, data synchronization from the primary virtual control center to the backup virtual control center is stopped, and the virtual machine of the backup virtual control center is pulled up to provide services, that is, the backup virtual control center is switched to the primary virtual control center.

[0062] S107: After the primary virtual control center returns to normal, data synchronization between the primary and backup storages is restarted through re-protection.

[0063] In this embodiment, after the failover is performed in step S106, further, for the protection group after the failover, when the primary virtual control center returns to normal, data synchronization between the primary and backup storages can be restarted through re-protection.

[0064] Among them, the switching between functions and the protection group status are as follows: Figure 4 shown.

[0065] In this way, this embodiment establishes a partnership through the two underlying storage systems (such as G2 storage) by executing the above steps S101-S107, creates a resource pool, creates a remote replication relationship, creates a consistency group, and adds the remote replication relationship to the consistency group. And on the cloud platform, by creating a preservation group, moving in and removing cloud hosts, turning on protection, stopping protection, primary-backup switching, fault switching, and re-protection, dual-center disaster recovery in the same city is achieved. In addition, since the primary and backup centers in the same-city disaster recovery are close to each other, the network bandwidth is high, the latency is low, and the communication quality is good, making it easier to achieve real-time data synchronization, thereby enhancing the disaster-bearing capacity of the user data center and avoiding the problem of data loss.

[0066] In summary, the present embodiment provides a method for disaster recovery in the same city across data centers based on a cloud platform. First, a disaster recovery parameter configuration is created on the cloud platform, and the primary virtual control center, the backup virtual control center, the primary storage pool, and the backup storage pool are specified through the disaster recovery parameter configuration. Then, a protection group is created on the cloud platform, and the cloud host is added to the protection group; wherein the cloud host is created according to the primary storage pool, then, the protection function of the protection group is enabled to achieve real-time synchronization of the underlying storage, and then the protection function of the protection group is stopped to stop the real-time synchronization of the underlying storage; the switching function of the primary virtual control center and the backup virtual control center is performed on the cloud platform to switch the synchronization direction of the underlying storage; at the same time, when a disaster occurs in the primary virtual control center, a fault switching is performed to switch the backup virtual control center to the primary virtual control center; and then after the primary virtual control center returns to normal, the data synchronization of the primary and backup storage is reopened through re-protection. Thus, disaster recovery in the same city with real-time synchronization of data is achieved, the disaster bearing capacity of the user data center is enhanced, and the problem of data loss is avoided.

[0067] Second embodiment

[0068] This embodiment will introduce a cross-data center same-city disaster recovery device based on a cloud platform. For related content, please refer to the above method embodiment.

[0069] See also Figure 5 , is a schematic diagram of the composition of a cloud platform-based cross-data center intra-city disaster recovery device provided in this embodiment, the device includes:

[0070] The first creation unit 501 is used to create a disaster recovery parameter configuration on the cloud platform, and specify a primary virtual control center, a backup virtual control center, a primary storage pool, and a backup storage pool through the disaster recovery parameter configuration;

[0071] A second creation unit 502 is used to create a protection group on the cloud platform and add a cloud host to the protection group; the cloud host is created according to the primary storage pool;

[0072] An enabling unit 503, used to enable the protection function of the protection group to achieve real-time synchronization of the underlying storage;

[0073] A stopping unit 504, used to stop the protection function of the protection group to stop the real-time synchronization of the underlying storage;

[0074] A first switching unit 505 is used to perform a switching function between the primary virtual control center and the backup virtual control center on the cloud platform to switch the underlying storage synchronization direction;

[0075] A second switching unit 506 is used to perform a failover when a disaster occurs in the primary virtual control center, so as to switch the backup virtual control center to the primary virtual control center;

[0076] The re-protection unit 507 is used to restart the data synchronization between the primary and standby storages through re-protection after the primary virtual control center returns to normal.

[0077] In an implementation of this embodiment, a remote replication relationship is established between the primary storage pool and the backup storage pool.

[0078] In an implementation of this embodiment, the primary storage pool is created on the primary virtual control center; and the backup storage pool is created on the backup virtual control center.

[0079] In an implementation of this embodiment, the primary virtual control center and the storage pool are in a one-to-many relationship.

[0080] In summary, the present embodiment provides a cross-data center same-city disaster recovery device based on a cloud platform. First, a disaster recovery parameter configuration is created on the cloud platform, and the primary virtual control center, the backup virtual control center, the primary storage pool, and the backup storage pool are specified through the disaster recovery parameter configuration. Then, a protection group is created on the cloud platform, and the cloud host is added to the protection group; wherein the cloud host is created according to the primary storage pool, then, the protection function of the protection group is enabled to achieve real-time synchronization of the underlying storage, and then the protection function of the protection group is stopped to stop the real-time synchronization of the underlying storage; the switching function of the primary virtual control center and the backup virtual control center is performed on the cloud platform to switch the synchronization direction of the underlying storage; at the same time, when a disaster occurs in the primary virtual control center, a fault switching is performed to switch the backup virtual control center to the primary virtual control center; and then after the primary virtual control center returns to normal, the data synchronization of the primary and backup storage is reopened through re-protection. Thus, disaster recovery in the same city with real-time synchronization of data is achieved, the disaster bearing capacity of the user data center is enhanced, and the problem of data loss is avoided.

[0081] Furthermore, the embodiment of the present application also provides a cross-data center same-city disaster recovery device based on a cloud platform, including: a processor, a memory, and a system bus;

[0082] The processor and the memory are connected via the system bus;

[0083] The memory is used to store one or more programs, and the one or more programs include instructions. When the instructions are executed by the processor, the processor executes any one of the implementation methods of the above-mentioned cloud platform-based cross-data center same-city disaster recovery method.

[0084] Furthermore, an embodiment of the present application also provides a computer-readable storage medium, which stores instructions. When the instructions are executed on a terminal device, the terminal device executes any one of the implementation methods of the above-mentioned cloud platform-based cross-data center same-city disaster recovery method.

[0085] It can be known from the description of the above implementation mode that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., including several instructions for enabling a computer device (which can be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.

[0086] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0087] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0088] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A cross-data center same-city disaster recovery method based on a cloud platform, characterized in that: include: A disaster recovery parameter configuration is created on the cloud platform, and a primary virtual control center, a backup virtual control center, a primary storage pool, and a backup storage pool are specified through the disaster recovery parameter configuration; a remote replication relationship is established between the primary storage pool and the backup storage pool, the primary storage pool protects production data written by the primary center virtual machine and bears normal business application data, the backup storage pool contains backup data of the primary storage pool, and maintains synchronization updates with the primary storage pool; Creating a protection group for disaster recovery protection on the cloud platform, and adding the cloud host to the protection group; The cloud host is created according to the primary storage pool; Enable the protection function of the protection group to achieve real-time synchronization of the underlying storage; Stopping the protection function of the protection group to stop the real-time synchronization of the underlying storage; Performing a switching function between the primary virtual control center and the backup virtual control center on the cloud platform to switch the underlying storage synchronization direction; When a disaster occurs in the primary virtual control center, a failover is performed to switch the backup virtual control center to the primary virtual control center; After the primary virtual control center returns to normal, data synchronization of primary and backup storages is restarted through re-protection; Wherein, the method further comprises: After the protection group is created, an identical cloud host is created in the virtual control center.

2. The method according to claim 1, characterized in that The primary storage pool is created on the primary virtual control center; the backup storage pool is created on the backup virtual control center.

3. The method according to claim 1, characterized in that The main virtual control center and the storage pool have a one-to-many relationship.

4. A cross-data center same-city disaster recovery device based on a cloud platform, characterized in that: include: The first creation unit is used to create a disaster recovery parameter configuration on the cloud platform, and specify a primary virtual control center, a backup virtual control center, a primary storage pool, and a backup storage pool through the disaster recovery parameter configuration; a remote replication relationship is established between the primary storage pool and the backup storage pool, the primary storage pool protects production data written by the primary center virtual machine and bears normal business application data, the backup storage pool contains backup data of the primary storage pool, and maintains synchronization update with the primary storage pool; A second creation unit is used to create a protection group for disaster recovery protection on the cloud platform, and add the cloud host to the protection group; The cloud host is created according to the primary storage pool; An enabling unit, used to enable the protection function of the protection group to achieve real-time synchronization of the underlying storage; A stopping unit, used to stop the protection function of the protection group to stop the real-time synchronization of the underlying storage; A first switching unit, configured to perform a switching function between a primary virtual control center and a backup virtual control center on the cloud platform to switch a synchronization direction of underlying storage; A second switching unit, configured to perform a failover when a disaster occurs in the primary virtual control center, so as to switch the backup virtual control center to the primary virtual control center; A re-protection unit, used to restart data synchronization of primary and backup storages through re-protection after the primary virtual control center returns to normal; The device is also used to create an identical cloud host in the virtual control center after the protection group is created.

5. The device according to claim 4, characterized in that The primary storage pool is created on the primary virtual control center; the backup storage pool is created on the backup virtual control center.

6. The device according to claim 4, characterized in that The main virtual control center and the storage pool have a one-to-many relationship.

7. A cross-data center disaster recovery device based on a cloud platform, characterized in that: include: Processor, memory, system bus; The processor and the memory are connected via the system bus; The memory is used to store one or more programs, wherein the one or more programs include instructions, and when the instructions are executed by the processor, the processor executes the method according to any one of claims 1 to 3.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device executes the method according to any one of claims 1 to 3.

Citation Information

Patent Citations

  • Cross-data-center cloud host disaster recovery method and system

    CN109828867A

Cited By

  • Scalable leadership election in a multi-processing computing environment

    US12568160B2

  • Managing high-availability file servers

    US12641166B2