[go: up one dir, main page]

CN108874593B - Disaster recovery method, device, equipment and system for two locations and three centers - Google Patents

Disaster recovery method, device, equipment and system for two locations and three centers Download PDF

Info

Publication number
CN108874593B
CN108874593B CN201810643573.4A CN201810643573A CN108874593B CN 108874593 B CN108874593 B CN 108874593B CN 201810643573 A CN201810643573 A CN 201810643573A CN 108874593 B CN108874593 B CN 108874593B
Authority
CN
China
Prior art keywords
disaster recovery
volume
snapshot
relationship
centers
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
Application number
CN201810643573.4A
Other languages
Chinese (zh)
Other versions
CN108874593A (en
Inventor
张振广
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201810643573.4A priority Critical patent/CN108874593B/en
Publication of CN108874593A publication Critical patent/CN108874593A/en
Application granted granted Critical
Publication of CN108874593B publication Critical patent/CN108874593B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Retry When Errors Occur (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本申请公开了一种两地三中心容灾系统,包括位于生产站点的生产卷和第一快照卷、位于同城容灾站点的第一容灾卷、以及位于异地容灾站点的第二容灾卷;生产卷到第一快照卷建立有第一快照关系;生产卷与第一容灾卷建立并启动有双活关系,以便在生产卷故障时启用第一容灾卷;第一快照卷与第二容灾卷之间建立并启动有同步远程复制关系;第一快照关系定期进行启动,以便在生产卷和第一容灾卷均故障时启用第二容灾卷。本申请可有效提高数据的即时同步性,并提高数据容灾的安全性和可靠性。本申请还公开了一种两地三中心容灾方法、装置、设备及计算机可读存储介质,同样具有上述有益效果。

Figure 201810643573

The present application discloses a two-site three-center disaster recovery system, including a production volume and a first snapshot volume located at a production site, a first disaster recovery volume located at a disaster recovery site in the same city, and a second disaster recovery volume located at a different disaster recovery site volume; the production volume has a first snapshot relationship with the first snapshot volume; the production volume has an active-active relationship established and started with the first disaster recovery volume, so that the first disaster recovery volume can be enabled when the production volume fails; the first snapshot volume is A synchronous remote replication relationship is established and started between the second disaster recovery volumes; the first snapshot relationship is started periodically, so that the second disaster recovery volume is enabled when both the production volume and the first disaster recovery volume fail. The present application can effectively improve the real-time synchronization of data, and improve the security and reliability of data disaster recovery. The present application also discloses a disaster recovery method, device, device and computer-readable storage medium for two locations and three centers, which also have the above beneficial effects.

Figure 201810643573

Description

一种两地三中心容灾方法、装置、设备及系统Disaster recovery method, device, equipment and system for two centers and three centers

技术领域technical field

本申请涉及存储技术领域,特别涉及一种两地三中心容灾方法、装置、设备、系统及计算机可读存储介质。The present application relates to the field of storage technologies, and in particular, to a method, apparatus, device, system, and computer-readable storage medium for disaster recovery in two places and three centers.

背景技术Background technique

在当今的信息时代,数据容灾已经成为各类IT系统的必然选择。In today's information age, data disaster recovery has become an inevitable choice for various IT systems.

传统的主备容灾解决方案以及同城双活数据中心解决方案虽然能应对大部分灾难,但是一旦发生地域性灾难如战争、洪水、地震等,这两个方案中的数据中心都可能同时被毁,造成业务中断。例如,2008年的汶川大地震波及大半个中国及亚洲多个国家和地区,在重灾区域内的通信完全中断、所有的IT系统全部瘫痪,社会对公服务平台完全停止运转。Although the traditional active-standby disaster recovery solution and the same-city active-active data center solution can cope with most disasters, in the event of a regional disaster such as war, flood, earthquake, etc., the data centers in these two solutions may be destroyed at the same time. , causing business interruption. For example, the Wenchuan Earthquake in 2008 affected most of China and many countries and regions in Asia. In the hardest-hit areas, communications were completely interrupted, all IT systems were paralyzed, and the social and public service platform was completely stopped.

为了应对这类地域性的灾难,两地三中心容灾方案应运而生。它增加了一个在异地的数据中心,使得业务数据从生产中心被复制到同城灾备中心和异地灾备中心而形成多重容灾保护,使得异地灾备中心在地域性灾难中幸免。但是,现有技术中的异地灾备中心与生产中心之间的复制是异步进行的,即生产中心处无需得到异地数据中心的响应即可进行数据修改,而异地同步复制则需要在生产中心每次修改完数据后都进行一次启动,容易因频繁启动出现误操作而提高失误率。In order to cope with such regional disasters, the disaster recovery plan of two centers and three centers came into being. It adds a data center in a different place, so that business data is copied from the production center to the same-city disaster recovery center and the remote disaster recovery center to form multiple disaster recovery protection, so that the remote disaster recovery center is spared from regional disasters. However, the replication between the off-site disaster recovery center and the production center in the prior art is performed asynchronously, that is, the production center can perform data modification without receiving a response from the off-site data center, while the off-site synchronous replication needs to be performed every time in the production center. It is easy to increase the error rate due to frequent misoperations due to frequent start-up.

因此,采用何种两地三中心容灾技术,以便进一步有效提高容灾方案的安全性和可靠性,是本领域技术人员所亟待解决的技术问题。Therefore, it is a technical problem to be solved urgently by those skilled in the art to adopt what kind of disaster recovery technology in two places and three centers to further effectively improve the security and reliability of the disaster recovery solution.

发明内容SUMMARY OF THE INVENTION

本申请的目的在于提供一种两地三中心容灾方法、装置、设备、系统及计算机可读存储介质,以便进一步地有效提高容灾方案的安全性和可靠性。The purpose of this application is to provide a disaster recovery method, apparatus, device, system and computer-readable storage medium for two locations and three centers, so as to further effectively improve the security and reliability of the disaster recovery solution.

为解决上述技术问题,本申请提供一种两地三中心容灾系统,包括:In order to solve the above-mentioned technical problems, the present application provides a disaster recovery system with three centers in two places, including:

位于生产站点的生产卷和第一快照卷;所述生产卷到所述第一快照卷建立有第一快照关系;A production volume and a first snapshot volume located at the production site; a first snapshot relationship is established between the production volume and the first snapshot volume;

以及位于同城容灾站点的第一容灾卷;所述生产卷与所述第一容灾卷建立并启动有双活关系;以便在所述生产卷故障时启用所述第一容灾卷;and a first disaster recovery volume located at a disaster recovery site in the same city; the production volume and the first disaster recovery volume are established and activated to have an active-active relationship; in order to enable the first disaster recovery volume when the production volume fails;

以及位于异地容灾站点的第二容灾卷;所述第一快照卷与所述第二容灾卷之间建立并启动有同步远程复制关系;所述第一快照关系定期进行启动,以便在所述生产卷和所述第一容灾卷均故障时启用所述第二容灾卷。and a second disaster recovery volume located at a remote disaster recovery site; a synchronous remote replication relationship is established and activated between the first snapshot volume and the second disaster recovery volume; the first snapshot relationship When both the production volume and the first disaster recovery volume fail, the second disaster recovery volume is enabled.

可选地,还包括:Optionally, also include:

位于所述异地容灾站点的第二快照卷;所述第二容灾卷到所述第二快照卷建立有第二快照关系;所述第二快照卷到所述第二容灾卷建立有第三快照关系;其中,A second snapshot volume located at the remote disaster recovery site; a second snapshot relationship is established between the second disaster recovery volume and the second snapshot volume; a second snapshot relationship is established between the second snapshot volume and the second disaster recovery volume A third snapshot relationship; where,

所述第二快照关系定期进行启动;The second snapshot relationship is periodically activated;

所述第三快照关系在所述生产卷和所述第一容灾卷均故障、且所述第一快照卷与所述第二容灾卷的同步远程复制故障时进行启动,以便在所述第三快照关系启动完成后启用所述第二容灾卷。The third snapshot relationship is started when both the production volume and the first disaster recovery volume fail, and the synchronous remote replication between the first snapshot volume and the second disaster recovery volume fails, so that when the first snapshot volume and the second disaster recovery volume fail After the start of the third snapshot relationship is completed, the second disaster recovery volume is enabled.

可选地,所述第二快照关系在所述第一快照关系定期启动后进行启动。Optionally, the second snapshot relationship is activated after the first snapshot relationship is periodically activated.

本申请还提供了一种两地三中心容灾方法,应用于如上所述的两地三中心容灾系统,包括:The present application also provides a disaster recovery method for two locations and three centers, which is applied to the above two locations and three centers disaster recovery system, including:

响应于定期输入的针对于所述第一快照关系的第一启动指令而启动所述第一快照关系;initiating the first snapshot relationship in response to a periodically input first activation instruction for the first snapshot relationship;

在检测到所述生产卷故障后,判断所述第一容灾卷是否故障;After detecting the failure of the production volume, determine whether the first disaster recovery volume is faulty;

若否,则向用户推送启用所述第一容灾卷的提示信息。If not, the prompt information for enabling the first disaster recovery volume is pushed to the user.

可选地,在所述判断所述第一容灾卷是否故障之后,还包括:Optionally, after the judging whether the first disaster recovery volume is faulty, the method further includes:

若是,则判断所述第一快照卷与所述第二容灾卷的同步远程复制是否故障;If so, determine whether the synchronous remote replication of the first snapshot volume and the second disaster recovery volume is faulty;

若所述第一快照卷与所述第二容灾卷的同步远程复制没有故障,则向所述用户推送启用所述第二容灾卷的提示信息。If the synchronous remote replication of the first snapshot volume and the second disaster recovery volume is not faulty, the prompt information for enabling the second disaster recovery volume is pushed to the user.

可选地,所述两地三中心容灾系统还包括:Optionally, the three-center disaster recovery system in two places further includes:

位于所述异地容灾站点的第二快照卷;所述第二容灾卷到所述第二快照卷建立有第二快照关系;所述第二快照卷到所述第二容灾卷建立有第三快照关系;A second snapshot volume located at the remote disaster recovery site; a second snapshot relationship is established between the second disaster recovery volume and the second snapshot volume; a second snapshot relationship is established between the second snapshot volume and the second disaster recovery volume The third snapshot relationship;

所述两地三中心容灾方法还包括:The disaster recovery method for three centers in two places further includes:

响应于定期输入的针对于所述第二快照关系的第二启动指令而启动所述第二快照关系;initiating the second snapshot relationship in response to periodically input second activation instructions for the second snapshot relationship;

在所述判断所述第一快照卷与所述第二容灾卷的同步远程复制是否故障之后,还包括:After the judging whether the synchronous remote replication of the first snapshot volume and the second disaster recovery volume is faulty, the method further includes:

若是,则向所述用户推送启动所述第三快照关系的提示信息;并响应于输入的针对于所述第三快照关系的第三启动指令而启动所述第三快照关系;If so, push the prompt information for starting the third snapshot relationship to the user; and start the third snapshot relationship in response to the inputted third start instruction for the third snapshot relationship;

在所述第三快照关系启动完成后向所述用户推送启用所述第二容灾卷的提示信息。After the start of the third snapshot relationship is completed, prompt information for enabling the second disaster recovery volume is pushed to the user.

可选地,所述响应于定期输入的针对于所述第二快照关系的第二启动指令而启动所述第二快照关系包括:Optionally, the starting the second snapshot relationship in response to a regularly input second start instruction for the second snapshot relationship includes:

响应于在定期输入所述第一启动指令之后所输入的所述第二启动指令而启动所述第二快照关系。The second snapshot relationship is initiated in response to the second initiation instruction entered after the periodic input of the first initiation instruction.

本申请还提供了一种两地三中心容灾装置,应用于如上所述的两地三中心容灾系统,包括:The present application also provides a disaster recovery device with three centers in two places, which is applied to the disaster recovery system with three centers in two places as above, including:

响应模块:用于响应于定期输入的针对于所述第一快照关系的第一启动指令而启动所述第一快照关系;Response module: used to start the first snapshot relationship in response to a regularly input first start instruction for the first snapshot relationship;

判断模块:用于在检测到所述生产卷故障后,判断所述第一容灾卷是否故障;Judging module: for judging whether the first disaster recovery volume is faulty after detecting the failure of the production volume;

推送模块:用于当所述判断模块判定所述第一容灾卷没有故障之后,向用户推送启用所述第一容灾卷的提示信息。Pushing module: configured to push the prompt information of enabling the first disaster recovery volume to the user after the judgment module determines that the first disaster recovery volume is not faulty.

本申请还提供了一种两地三中心容灾设备,包括:The application also provides a disaster recovery device with three centers in two places, including:

存储器:用于存储计算机程序;Memory: used to store computer programs;

处理器:用于执行所述计算机程序以实现如上所述的任一种两地三中心容灾方法的步骤。Processor: a step for executing the computer program to implement any of the above-mentioned methods for disaster recovery in two locations and three centers.

本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,所述计算机程序被处理器执行时用以实现如上所述的任一种两地三中心容灾方法的步骤。The present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, is used to implement any of the above-mentioned two-site, three-center content The steps of the disaster method.

本申请所提供的两地三中心容灾系统包括:位于生产站点的生产卷和第一快照卷、位于同城容灾站点的第一容灾卷、以及位于异地容灾站点的第二容灾卷;所述生产卷到所述第一快照卷建立有第一快照关系;所述生产卷与所述第一容灾卷建立并启动有双活关系,以便在所述生产卷故障时启用所述第一容灾卷;所述第一快照卷与所述第二容灾卷之间建立并启动有同步远程复制关系;所述第一快照关系定期进行启动,以便在所述生产卷和所述第一容灾卷均故障时启用所述第二容灾卷。The disaster recovery system in two places and three centers provided by this application includes: a production volume and a first snapshot volume located at a production site, a first disaster recovery volume located at a disaster recovery site in the same city, and a second disaster recovery volume located at a different disaster recovery site ; The production volume establishes a first snapshot relationship with the first snapshot volume; the production volume and the first disaster recovery volume establish and start a dual-active relationship, so as to enable the production volume when the production volume fails A first disaster recovery volume; a synchronous remote replication relationship is established and started between the first snapshot volume and the second disaster recovery volume; the first snapshot relationship is periodically started, so that between the production volume and the second disaster recovery volume The second disaster recovery volume is enabled when all the first disaster recovery volumes fail.

可见,相比于现有技术,本申请利用同城容灾站点中的第一容灾卷以及异地容灾站点中的第二容灾卷,够成了对生产卷的双重容灾保护。由于第二容灾卷与生产站点中的数据是同步复制关系,因此可有效提高数据的即时同步性,并避免多次重复执行启动操作,有效降低操作失误率,进而提高数据容灾的安全性和可靠性。本申请所提供的两地三中心容灾方法、装置、设备及计算机可读存储介质同样具有上述有益效果。It can be seen that, compared with the prior art, the present application utilizes the first disaster recovery volume in the same-city disaster recovery site and the second disaster recovery volume in the different-site disaster recovery site, which can achieve double disaster recovery protection for the production volume. Since the second disaster recovery volume is in a synchronous replication relationship with the data in the production site, it can effectively improve the real-time synchronization of data, avoid repeated startup operations, effectively reduce the operation error rate, and improve the security of data disaster recovery. and reliability. The disaster recovery method, device, device and computer-readable storage medium in two places and three centers provided by the present application also have the above beneficial effects.

附图说明Description of drawings

为了更清楚地说明现有技术和本申请实施例中的技术方案,下面将对现有技术和本申请实施例描述中需要使用的附图作简要的介绍。当然,下面有关本申请实施例的附图描述的仅仅是本申请中的一部分实施例,对于本领域普通技术人员来说,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图,所获得的其他附图也属于本申请的保护范围。In order to more clearly illustrate the prior art and the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings to be used in the description of the prior art and the embodiments of the present application. Of course, the following drawings related to the embodiments of the present application describe only a part of the embodiments of the present application. For those of ordinary skill in the art, without any creative effort, they can also obtain other embodiments according to the provided drawings. The accompanying drawings and other drawings obtained also belong to the protection scope of the present application.

图1为本申请所提供的一种两地三中心容灾系统的结构示意图;1 is a schematic structural diagram of a disaster recovery system with three centers in two places provided by the application;

图2为本申请所提供的另一种两地三中心容灾系统的结构示意图;FIG. 2 is a schematic structural diagram of another two-place three-center disaster recovery system provided by this application;

图3为本申请所提供的一种两地三中心容灾方法的流程图;FIG. 3 is a flowchart of a disaster recovery method for three centers in two places provided by the present application;

图4为本申请所提供的另一种两地三中心容灾方法的流程图;FIG. 4 is a flowchart of another method for disaster recovery in two places and three centers provided by the present application;

图5为本申请所提供的一种两地三中心容灾装置的结构框图。FIG. 5 is a structural block diagram of a disaster recovery device in two places and three centers provided by the present application.

具体实施方式Detailed ways

本申请的核心在于提供一种两地三中心容灾方法、装置、设备、系统及计算机可读存储介质,以便进一步地有效提高容灾方案的安全性和可靠性。The core of the present application is to provide a disaster recovery method, apparatus, device, system and computer-readable storage medium in two places and three centers, so as to further effectively improve the security and reliability of the disaster recovery solution.

为了对本申请实施例中的技术方案进行更加清楚、完整地描述,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行介绍。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to describe the technical solutions in the embodiments of the present application more clearly and completely, the technical solutions in the embodiments of the present application will be introduced below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

请参阅图1,图1为本申请所提供的一种两地三中心容灾系统的结构示意图;包括:Please refer to FIG. 1. FIG. 1 is a schematic structural diagram of a disaster recovery system in two places and three centers provided by this application; including:

位于生产站点的生产卷11和第一快照卷12;生产卷11到第一快照卷12建立有第一快照关系;The production volume 11 and the first snapshot volume 12 located at the production site; the first snapshot relationship is established between the production volume 11 and the first snapshot volume 12;

以及位于同城容灾站点的第一容灾卷21;生产卷11与第一容灾卷21建立并启动有双活关系;以便在生产卷11故障时启用第一容灾卷21;And the first disaster recovery volume 21 located at the disaster recovery site in the same city; the production volume 11 and the first disaster recovery volume 21 are established and activated to have an active-active relationship; in order to enable the first disaster recovery volume 21 when the production volume 11 fails;

以及位于异地容灾站点的第二容灾卷31;第一快照卷12与第二容灾卷31之间建立并启动有同步远程复制关系;第一快照关系定期进行启动,以便在生产卷11和第一容灾卷21均故障时启用第二容灾卷31。And the second disaster recovery volume 31 located at the remote disaster recovery site; a synchronous remote replication relationship is established and started between the first snapshot volume 12 and the second disaster recovery volume 31; the first snapshot relationship is regularly started, so that the production volume 11 When both the first disaster recovery volume and the first disaster recovery volume 21 fail, the second disaster recovery volume 31 is enabled.

具体地,本申请所提供的两地三中心容灾系统中,建立有两个容灾站点,分别是与生产站点位于同一地区的同城容灾站点和与生产站点分属不同区域的异地容灾站点。其中,同城容灾站点的第一容灾卷21与生产卷11建立并启动有双活关系,可实现同城双活容灾方案。由于同一个磁盘卷只能进行一项复制关系(包括双活关系),因此异地容灾站点的第二容灾卷31可与生产卷11的第一快照卷12建立复制关系,以便在需要的时候实现异地容灾。Specifically, in the disaster recovery system of two places and three centers provided by this application, two disaster recovery sites are established, which are the same-city disaster recovery site located in the same region as the production site and the remote disaster recovery site that belongs to different regions from the production site. site. Among them, the first disaster recovery volume 21 of the same-city disaster recovery site and the production volume 11 are established and activated to have an active-active relationship, which can realize the same-city active-active disaster recovery solution. Since only one replication relationship (including the active-active relationship) can be performed on the same disk volume, the second disaster recovery volume 31 of the remote disaster recovery site can establish a replication relationship with the first snapshot volume 12 of the production volume 11, so that when necessary Time to achieve remote disaster recovery.

所说的第一快照卷12是通过快照技术获取到的生产卷11的复制本,而至于采用何种快照技术,可由本领域技术人员自行选择并设置实现。需要补充说明的是,快照是针对某一时刻的数据进行快照复制的,因此,快照的时间点即快照的启动时间是十分关键的。当快照关系建立好之后,用户便可以通过启动快照关系来获取在启动时刻的复制本。而在本申请中,第二容灾卷31是通过复制第一快照卷12得到的,因此,为了令第二容灾卷31可在生产卷11故障时的替代生产卷11,需要保持第一快照卷12的更新,以便尽量令第一快照卷12接近最新时刻的生产卷11。具体地,在本申请中可定期启动第一快照关系,即定期更新生产卷11的第一快照卷12。至于更新周期,具体可由本领域技术人员自行选择并设置。The first snapshot volume 12 is a copy of the production volume 11 obtained through the snapshot technology, and the snapshot technology to be used can be selected and implemented by those skilled in the art. It should be added that a snapshot is a snapshot copy of the data at a certain moment. Therefore, the time point of the snapshot, that is, the start time of the snapshot is very critical. After the snapshot relationship is established, the user can obtain the replica at the startup time by starting the snapshot relationship. In this application, the second DR volume 31 is obtained by duplicating the first snapshot volume 12. Therefore, in order to enable the second DR volume 31 to replace the production volume 11 when the production volume 11 fails, it is necessary to maintain the first snapshot volume 12. The snapshot volume 12 is updated so that the first snapshot volume 12 is as close to the production volume 11 at the latest moment as possible. Specifically, in the present application, the first snapshot relationship can be started periodically, that is, the first snapshot volume 12 of the production volume 11 can be updated regularly. As for the update period, those skilled in the art can specifically select and set it.

如上所述,当生产站点发生故障,导致生产卷11无法使用时,位于同城容灾站点的第一容灾卷21可以在此时发挥用处,接替生产卷11进行启用以便维持业务的正常运转。而若同城容灾站点也发生故障使得第一容灾卷21也同样无法使用时,可启用异地容灾站点的第二容灾卷31以接替生产卷11维持业务正常运转。As described above, when the production site fails and the production volume 11 becomes unavailable, the first disaster recovery volume 21 located at the same-city disaster recovery site can be used at this time and be activated instead of the production volume 11 to maintain the normal operation of the business. If the same-city DR site also fails and the first DR volume 21 is also unavailable, the second DR volume 31 at the remote DR site can be activated to replace the production volume 11 to maintain normal business operations.

不同于现有技术,本申请所提供的两地三中心容灾系统中,第二容灾卷31与第一快照卷12之间具体采用同步复制而非异步复制。相比于异步复制,同步复制的数据同步性更强,生产站点中生产卷11及其第一快照卷12在每次进行修改时,都需要先得到异地容灾站点的响应后才可完成数据修改,以便异地容灾站点的第二容灾卷31与第一快照卷12保持数据的即时一致性,极大地缩小了第二容灾卷31与第一快照卷12之间存在数据差异的时间段。并且,同步复制关系在建立成功之后,只需要在系统运转初始时完成一次启动即可,而异步复制关系则需要完成多次的异步启动,其频繁的启动操作无疑会导致失误率的上升。Different from the prior art, in the disaster recovery system of two locations and three centers provided by the present application, synchronous replication rather than asynchronous replication is specifically adopted between the second disaster recovery volume 31 and the first snapshot volume 12 . Compared with asynchronous replication, synchronous replication has stronger data synchronization. Every time the production volume 11 and its first snapshot volume 12 in the production site are modified, they need to obtain a response from the remote disaster recovery site before completing the data. Modified so that the second disaster recovery volume 31 of the remote disaster recovery site and the first snapshot volume 12 maintain instant data consistency, which greatly reduces the time for data differences between the second disaster recovery volume 31 and the first snapshot volume 12 part. In addition, after a synchronous replication relationship is successfully established, only one startup needs to be completed at the beginning of the system operation, while an asynchronous replication relationship needs to complete multiple asynchronous startups, and its frequent startup operations will undoubtedly lead to an increase in the error rate.

可见,本申请所提供的两地三中心容灾系统,利用同城容灾站点中的第一容灾卷21以及异地容灾站点中的第二容灾卷31,够成了对生产卷11的双重容灾保护。由于第二容灾卷31与生产站点中的数据是同步复制关系,因此可有效提高数据的即时同步性,并避免多次重复执行启动操作,有效降低操作失误率,进而提高数据容灾的安全性和可靠性。It can be seen that the disaster recovery system in two places and three centers provided by this application uses the first disaster recovery volume 21 in the disaster recovery site in the same city and the second disaster recovery volume 31 in the disaster recovery site in a different place, which can be used as a backup for the production volume 11. Double disaster recovery protection. Since the second disaster recovery volume 31 is in a synchronous replication relationship with the data in the production site, the real-time synchronization of the data can be effectively improved, and repeated startup operations can be avoided, effectively reducing the operation error rate, thereby improving the safety of data disaster recovery. sturdiness and reliability.

请参阅图2,图2为本申请所提供的另一种两地三中心容灾系统的结构示意图;Please refer to FIG. 2, FIG. 2 is a schematic structural diagram of another two-site three-center disaster recovery system provided by this application;

本申请所提供的两地三中心系统,在上述实施例的基础上:The two-place three-center system provided by this application is based on the above-mentioned embodiment:

作为一种优选实施例,还包括:As a preferred embodiment, it also includes:

位于异地容灾站点的第二快照卷32;第二容灾卷31到第二快照卷32建立有第二快照关系;第二快照卷32到第二容灾卷31建立有第三快照关系;其中,A second snapshot volume 32 located at a remote disaster recovery site; a second snapshot relationship is established between the second disaster recovery volume 31 and the second snapshot volume 32; a third snapshot relationship is established between the second snapshot volume 32 and the second disaster recovery volume 31; in,

第二快照关系定期进行启动;The second snapshot relationship is started periodically;

第三快照关系在生产卷11和第一容灾卷21均故障、且第一快照卷12与第二容灾卷31的同步远程复制故障时进行启动,以便在第三快照关系启动完成后启用第二容灾卷31。The third snapshot relationship is started when both the production volume 11 and the first disaster recovery volume 21 fail, and the synchronous remote replication between the first snapshot volume 12 and the second disaster recovery volume 31 fails, so as to be enabled after the third snapshot relationship is started. The second disaster recovery volume 31.

具体地,由于第二容灾站点与生产站点分属两地,两者之间具有较长的通讯线路,因此也会因为各处通讯设备问题而无法正常进行数据复制。为了进一步提高数据容灾的安全性,本申请所提供的两地三中心容灾系统还可以在第二容灾站点中为第二容灾卷31设置第二快照卷32,以便为第二容灾卷31进行备份。当第二容灾卷31与第一快照卷12的同步复制发生故障时,可根据第二快照卷32对第二容灾卷31进行复原,具体是将其复原到建立第二快照卷32的时刻,然后再启用第二容灾卷31,以尽最大限度地降低数据损失。Specifically, since the second disaster recovery site and the production site belong to two places, and there is a long communication line between the two, data replication cannot be performed normally due to problems with communication equipment in various places. In order to further improve the security of data disaster recovery, the disaster recovery system for two locations and three centers provided by the present application may also set a second snapshot volume 32 for the second disaster recovery volume 31 in the second disaster recovery site, so as to provide a second snapshot volume 32 for the second disaster recovery volume 31. The disaster volume 31 is backed up. When the synchronous replication between the second disaster recovery volume 31 and the first snapshot volume 12 fails, the second disaster recovery volume 31 can be restored according to the second snapshot volume 32, specifically, it is restored to the point where the second snapshot volume 32 was established. time, and then enable the second disaster recovery volume 31 to minimize data loss.

因此,这里的第二快照卷32与第二容灾卷31间需要建立双向的快照关系;其中,由第二容灾卷31到第二快照卷32的为第二快照关系,由第二快照卷32到第二容灾卷31的为第三快照关系。当然,与第一快照关系类似,所说的第二快照关系也同样需要定期启动。Therefore, a bidirectional snapshot relationship needs to be established between the second snapshot volume 32 and the second disaster recovery volume 31 here; the second snapshot relationship from the second disaster recovery volume 31 to the second snapshot volume 32 is the second snapshot relationship, and the second snapshot The relationship between the volume 32 and the second disaster recovery volume 31 is the third snapshot relationship. Of course, similar to the first snapshot relationship, the second snapshot relationship also needs to be started periodically.

作为一种优选实施例,第二快照关系在第一快照关系定期启动后进行启动。即,可对第一快照卷12和第二快照卷32采用同一定时周期进行更新,在启动第一快照关系之后立刻启动第二快照关系。As a preferred embodiment, the second snapshot relationship is activated after the first snapshot relationship is periodically activated. That is, the first snapshot volume 12 and the second snapshot volume 32 can be updated using the same timing cycle, and the second snapshot relationship is started immediately after the first snapshot relationship is started.

而对于第三快照关系,则具体可在需要启用第二容灾卷31且第二容灾卷31与第一快照卷12的同步复制出现问题时进行启动,将第二容灾卷31还原为此时第二快照卷32中的内容。As for the third snapshot relationship, specifically when the second disaster recovery volume 31 needs to be enabled and there is a problem with the synchronous replication between the second disaster recovery volume 31 and the first snapshot volume 12, the startup can be performed, and the second disaster recovery volume 31 can be restored as The contents of the second snapshot volume 32 at this time.

由于第二快照关系和第三快照关系是两地三中心容灾系统在搭建时就建立好的,因此,当要启用的第二容灾卷31与第一快照卷12的同步复制出现故障时,用户无需再次建立第三快照关系,而是直接启动第三快照关系即可,由此可极大地提高数据恢复效率,并提高数据容灾的可靠性。Since the second snapshot relationship and the third snapshot relationship are established when the two-site three-center disaster recovery system is built, when the synchronous replication between the second disaster recovery volume 31 to be activated and the first snapshot volume 12 fails , the user does not need to establish the third snapshot relationship again, but can directly start the third snapshot relationship, which can greatly improve the data recovery efficiency and improve the reliability of data disaster recovery.

下面对本申请实施例所提供的两地三中心容灾方法进行介绍。The following describes the disaster recovery method for two locations and three centers provided by the embodiments of the present application.

请参考图3,图3为本申请所提供的一种两地三中心容灾方法的流程图,应用于如上所述的任一种两地三中心容灾系统,主要包括以下步骤:Please refer to FIG. 3. FIG. 3 is a flowchart of a disaster recovery method for two locations and three centers provided by the present application, which is applied to any of the above-mentioned disaster recovery systems for two locations and three centers, and mainly includes the following steps:

步骤1:响应于定期输入的针对于第一快照关系的第一启动指令而启动第一快照关系。Step 1: Initiate the first snapshot relationship in response to the regularly input first activation instruction for the first snapshot relationship.

步骤2:在检测到生产卷11故障后,判断第一容灾卷21是否故障;若否,则进入步骤3。Step 2: After detecting the failure of the production volume 11, determine whether the first disaster recovery volume 21 is faulty; if not, go to Step 3.

步骤3:向用户推送启用第一容灾卷21的提示信息。Step 3: Push the prompt information of enabling the first disaster recovery volume 21 to the user.

具体地,如前文所述,用户需要定期对生产卷11进行快照复制,当系统检测到用户输入了相应的第一启动指令之后,即可启动第一快照关系,完成对生产卷11的一次快照复制。Specifically, as mentioned above, the user needs to perform snapshot copying of the production volume 11 on a regular basis. When the system detects that the user has input the corresponding first activation instruction, the first snapshot relationship can be activated to complete a snapshot of the production volume 11. copy.

而当检测到生产卷11故障后,系统可对第一容灾卷21是否故障进行判断。若第一容灾卷21保持正常,则可通知用户启用与生产卷11保持双活关系的第一容灾卷21。After detecting that the production volume 11 is faulty, the system can judge whether the first disaster recovery volume 21 is faulty. If the first disaster recovery volume 21 remains normal, the user may be notified to enable the first disaster recovery volume 21 that maintains an active-active relationship with the production volume 11 .

当然,如前所述,第二容灾卷31是生产卷11的又一复制本,并设置在异地容灾中心。而且,第二容灾卷31与第一快照卷12之间是同步复制关系,以便增强第二容灾卷31与生产卷11间的及时同步性,并减少启动次数,提高可靠性。Of course, as mentioned above, the second disaster recovery volume 31 is another copy of the production volume 11, and is set in a remote disaster recovery center. Moreover, the second disaster recovery volume 31 and the first snapshot volume 12 are in a synchronous replication relationship, so as to enhance the timely synchronization between the second disaster recovery volume 31 and the production volume 11, reduce the number of startups, and improve reliability.

可见,本申请实施例所提供的两地三中心容灾方法中,利用同城容灾站点中的第一容灾卷21以及异地容灾站点中的第二容灾卷31,够成了对生产卷11的双重容灾保护。由于第二容灾卷31与生产站点中的数据是同步复制关系,因此可有效提高数据的即时同步性,并避免多次重复执行启动操作,有效降低操作失误率,进而提高数据容灾的安全性和可靠性。It can be seen that, in the disaster recovery method for two locations and three centers provided by the embodiments of the present application, the first disaster recovery volume 21 in the same-city disaster recovery site and the second disaster recovery volume 31 in the different-site disaster recovery site are used, which is sufficient for production Double disaster recovery protection for Volume 11. Since the second disaster recovery volume 31 is in a synchronous replication relationship with the data in the production site, the real-time synchronization of the data can be effectively improved, and repeated startup operations can be avoided, effectively reducing the operation error rate, thereby improving the safety of data disaster recovery. sturdiness and reliability.

请参考图4,图4为本申请所提供的又一种两地三中心容灾方法的流程图。本申请所提供的两地三中心容灾方法,在上述实施例的基础上:Please refer to FIG. 4 , which is a flowchart of yet another method for disaster recovery in two places and three centers provided by the present application. The disaster recovery method for two locations and three centers provided by this application is based on the above-mentioned embodiment:

作为一种优选实施例,在判断第一容灾卷21是否故障之后,还包括:As a preferred embodiment, after judging whether the first disaster recovery volume 21 is faulty, the method further includes:

若是,则进入步骤4:判断第一快照卷12与第二容灾卷31的同步远程复制是否故障;If yes, then enter step 4: determine whether the synchronous remote replication of the first snapshot volume 12 and the second disaster recovery volume 31 is faulty;

若第一快照卷12与第二容灾卷31的同步远程复制没有故障,则进入步骤5:向用户推送启用第二容灾卷31的提示信息。If the synchronous remote replication between the first snapshot volume 12 and the second disaster recovery volume 31 is not faulty, then proceed to step 5: push a prompt message for enabling the second disaster recovery volume 31 to the user.

具体地,在启用第一容灾卷21时,通常可对第一容灾卷21进行故障诊断,以便在第一容灾卷21也同样故障时启用第二容灾卷31。Specifically, when the first disaster recovery volume 21 is enabled, the first disaster recovery volume 21 can usually be fault-diagnosed, so as to enable the second disaster recovery volume 31 when the first disaster recovery volume 21 also fails.

作为一种优选实施例,两地三中心容灾系统还包括:As a preferred embodiment, the disaster recovery system with three centers in two places further includes:

位于异地容灾站点的第二快照卷32;第二容灾卷31到第二快照卷32建立有第二快照关系;第二快照卷32到第二容灾卷31建立有第三快照关系;A second snapshot volume 32 located at a remote disaster recovery site; a second snapshot relationship is established between the second disaster recovery volume 31 and the second snapshot volume 32; a third snapshot relationship is established between the second snapshot volume 32 and the second disaster recovery volume 31;

两地三中心容灾方法还包括:The disaster recovery method of the two centers and three centers also includes:

响应于定期输入的针对于第二快照关系的第二启动指令而启动第二快照关系;Initiating the second snapshot relationship in response to periodically input second activation instructions for the second snapshot relationship;

在判断第一快照卷12与第二容灾卷31的同步远程复制是否故障之后,还包括:After judging whether the synchronous remote replication of the first snapshot volume 12 and the second disaster recovery volume 31 is faulty, the method further includes:

若是,则进入步骤6:向用户推送启动第三快照关系的提示信息;并进入步骤7:响应于输入的针对于第三快照关系的第三启动指令而启动第三快照关系;并进入步骤8:在第三快照关系启动完成后向用户推送启用第二容灾卷31的提示信息。If yes, then go to step 6: push the prompt information for starting the third snapshot relationship to the user; and go to step 7: start the third snapshot relationship in response to the inputted third start instruction for the third snapshot relationship; and go to step 8 : After the start of the third snapshot relationship is completed, a prompt message for enabling the second disaster recovery volume 31 is pushed to the user.

具体地,如前所述,为了应对第二容灾卷31与第一快照卷12的同步复制也出现问题,可在异地容灾站点设置第二快照卷32,并与第二容灾卷31建立双向快照关系,并针对于定期输入的第二启动指令启动第二快照关系。由此,当检测到第二容灾卷31与第一快照卷12的同步远程复制故障后,可提示用户启动第三快照关系对第二容灾卷31进行一定程度的复原,以便在对第二容灾卷31复原之后再启用第二容灾卷31。Specifically, as mentioned above, in order to cope with the problem of synchronous replication between the second disaster recovery volume 31 and the first snapshot volume 12, the second snapshot volume 32 can be set up at the remote disaster recovery site, and the second snapshot volume 31 can be set up at the remote disaster recovery site. A bidirectional snapshot relationship is established, and a second snapshot relationship is activated in response to a second activation command input periodically. Therefore, when the synchronous remote replication failure between the second disaster recovery volume 31 and the first snapshot volume 12 is detected, the user can be prompted to start the third snapshot relationship to restore the second disaster recovery volume 31 to a certain extent, so as to restore the second disaster recovery volume 31 to a certain extent. After the second disaster recovery volume 31 is restored, the second disaster recovery volume 31 is activated.

作为一种优选实施例,响应于定期输入的针对于第二快照关系的第二启动指令而启动第二快照关系包括:As a preferred embodiment, starting the second snapshot relationship in response to a second start instruction for the second snapshot relationship that is periodically input includes:

响应于在定期输入第一启动指令之后所输入的第二启动指令而启动第二快照关系。A second snapshot relationship is initiated in response to a second initiation instruction entered after the periodic input of the first initiation instruction.

请参考图5,图5为本申请所提供的一种两地三中心容灾装置的结构框图,应用于如上所述的两地三中心容灾系统,包括响应模块1、判断模块2和推送模块3:Please refer to FIG. 5. FIG. 5 is a structural block diagram of a disaster recovery device with three centers in two places and three centers provided by the present application, which is applied to the disaster recovery system in two places and three centers as described above, and includes a response module 1, a judgment module 2, and a push button. Module 3:

响应模块1用于响应于定期输入的针对于第一快照关系的第一启动指令而启动第一快照关系;The response module 1 is configured to start the first snapshot relationship in response to the regularly input first start instruction for the first snapshot relationship;

判断模块2用于在检测到生产卷11故障后,判断第一容灾卷21是否故障;The judgment module 2 is used to judge whether the first disaster recovery volume 21 is faulty after detecting the failure of the production volume 11;

推送模块3用于当判断模块2判定第一容灾卷21没有故障之后,向用户推送启用第一容灾卷21的提示信息。The push module 3 is configured to push the prompt information of enabling the first disaster recovery volume 21 to the user after the judgment module 2 determines that the first disaster recovery volume 21 is not faulty.

本申请还提供了一种两地三中心容灾设备,包括:The application also provides a disaster recovery device with three centers in two places, including:

存储器:用于存储计算机程序;Memory: used to store computer programs;

处理器:用于执行所述计算机程序以实现如上所述的任一种两地三中心容灾方法的步骤。Processor: a step for executing the computer program to implement any of the above-mentioned methods for disaster recovery in two locations and three centers.

本申请还提供了一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序,计算机程序被处理器执行时用以实现如上所述的任一种两地三中心容灾方法的步骤。The present application also provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, it is used to implement the steps of any of the above-mentioned methods for disaster recovery in two locations and three centers .

本申请所提供的两地三中心容灾方法、装置、设备及计算机可读存储介质的具体实施方式与上文所描述的两地三中心容灾系统可相互对应参照,这里就不再赘述。The specific implementations of the disaster recovery method, device, device and computer-readable storage medium in two places and three centers provided by the present application and the two places and three centers disaster recovery system described above can be referred to each other correspondingly, and will not be repeated here.

本申请中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的方法而言,由于其与实施例公开的系统相对应,所以描述的比较简单,相关之处参见方法部分说明即可。The various embodiments in this application are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same and similar parts between the various embodiments may be referred to each other. For the method disclosed in the embodiment, since it corresponds to the system disclosed in the embodiment, the description is relatively simple, and the relevant part can be referred to the description of the method.

还需说明的是,在本申请文件中,诸如“第一”和“第二”之类的关系术语,仅仅用来将一个实体或者操作与另一个实体或者操作区分开来,而不一定要求或者暗示这些实体或者操作之间存在任何这种实际的关系或者顺序。此外,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that, in this application document, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require Or imply that there is any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.

以上对本申请所提供的技术方案进行了详细介绍。本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。The technical solutions provided by the present application have been introduced in detail above. Specific examples are used herein to illustrate the principles and implementations of the present application, and the descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application. It should be pointed out that for those of ordinary skill in the art, without departing from the principles of the present application, several improvements and modifications can also be made to the present application, and these improvements and modifications also fall within the protection scope of the claims of the present application.

Claims (9)

1.一种两地三中心容灾系统,其特征在于,包括:1. A disaster recovery system with three centers in two places, characterized in that, comprising: 位于生产站点的生产卷和第一快照卷;所述生产卷到所述第一快照卷建立有第一快照关系;A production volume and a first snapshot volume located at the production site; a first snapshot relationship is established between the production volume and the first snapshot volume; 以及位于同城容灾站点的第一容灾卷;所述生产卷与所述第一容灾卷建立并启动有双活关系;以便在所述生产卷故障时启用所述第一容灾卷;and a first disaster recovery volume located at a disaster recovery site in the same city; the production volume and the first disaster recovery volume are established and activated to have an active-active relationship; in order to enable the first disaster recovery volume when the production volume fails; 以及位于异地容灾站点的第二容灾卷;所述第一快照卷与所述第二容灾卷之间建立并启动有同步远程复制关系;所述第一快照关系定期进行启动,以便在所述生产卷和所述第一容灾卷均故障时启用所述第二容灾卷;and a second disaster recovery volume located at a remote disaster recovery site; a synchronous remote replication relationship is established and activated between the first snapshot volume and the second disaster recovery volume; the first snapshot relationship When both the production volume and the first disaster recovery volume are faulty, the second disaster recovery volume is enabled; 以及位于所述异地容灾站点的第二快照卷;所述第二容灾卷到所述第二快照卷建立有第二快照关系;所述第二快照卷到所述第二容灾卷建立有第三快照关系;其中,and a second snapshot volume located at the remote disaster recovery site; a second snapshot relationship is established between the second disaster recovery volume and the second snapshot volume; the second snapshot volume is established with the second disaster recovery volume There is a third snapshot relationship; where, 所述第二快照关系定期进行启动;The second snapshot relationship is periodically activated; 所述第三快照关系在所述生产卷和所述第一容灾卷均故障、且所述第一快照卷与所述第二容灾卷的同步远程复制故障时进行启动,以便在所述第三快照关系启动完成后启用所述第二容灾卷。The third snapshot relationship is started when both the production volume and the first disaster recovery volume fail, and the synchronous remote replication between the first snapshot volume and the second disaster recovery volume fails, so that when the first snapshot volume and the second disaster recovery volume fail After the start of the third snapshot relationship is completed, the second disaster recovery volume is enabled. 2.根据权利要求1所述的两地三中心容灾系统,其特征在于,所述第二快照关系在所述第一快照关系定期启动后进行启动。2 . The disaster recovery system of two places and three centers according to claim 1 , wherein the second snapshot relationship is activated after the first snapshot relationship is activated regularly. 3 . 3.一种两地三中心容灾方法,应用于如权利要求1所述的两地三中心容灾系统,其特征在于,包括:3. A method for disaster recovery of three centers in two places, applied to the disaster recovery system of three centers in two places as claimed in claim 1, characterized in that, comprising: 响应于定期输入的针对于所述第一快照关系的第一启动指令而启动所述第一快照关系;响应于定期输入的针对于所述第二快照关系的第二启动指令而启动所述第二快照关系;The first snapshot relationship is activated in response to a periodically inputted first activation instruction for the first snapshot relationship; the first snapshot relationship is activated in response to a periodically inputted second activation instruction for the second snapshot relationship Two snapshot relationships; 在检测到所述生产卷故障后,判断所述第一容灾卷是否故障;After detecting the failure of the production volume, determine whether the first disaster recovery volume is faulty; 若否,则向用户推送启用所述第一容灾卷的提示信息。If not, the prompt information for enabling the first disaster recovery volume is pushed to the user. 4.根据权利要求3所述的两地三中心容灾方法,其特征在于,在所述判断所述第一容灾卷是否故障之后,还包括:4. The disaster recovery method for two locations and three centers according to claim 3, characterized in that, after judging whether the first disaster recovery volume is faulty, the method further comprises: 若是,则判断所述第一快照卷与所述第二容灾卷的同步远程复制是否故障;If so, determine whether the synchronous remote replication of the first snapshot volume and the second disaster recovery volume is faulty; 若所述第一快照卷与所述第二容灾卷的同步远程复制没有故障,则向所述用户推送启用所述第二容灾卷的提示信息。If the synchronous remote replication of the first snapshot volume and the second disaster recovery volume is not faulty, the prompt information for enabling the second disaster recovery volume is pushed to the user. 5.根据权利要求4所述的两地三中心容灾方法,其特征在于,在所述判断所述第一快照卷与所述第二容灾卷的同步远程复制是否故障之后,还包括:5 . The disaster recovery method for two locations and three centers according to claim 4 , wherein after judging whether the synchronous remote replication of the first snapshot volume and the second disaster recovery volume is faulty, the method further comprises: 6 . 若是,则向所述用户推送启动所述第三快照关系的提示信息;并响应于输入的针对于所述第三快照关系的第三启动指令而启动所述第三快照关系;If so, push the prompt information for starting the third snapshot relationship to the user; and start the third snapshot relationship in response to the inputted third start instruction for the third snapshot relationship; 在所述第三快照关系启动完成后向所述用户推送启用所述第二容灾卷的提示信息。After the start of the third snapshot relationship is completed, prompt information for enabling the second disaster recovery volume is pushed to the user. 6.根据权利要求5所述的两地三中心容灾方法,其特征在于,所述响应于定期输入的针对于所述第二快照关系的第二启动指令而启动所述第二快照关系包括:6 . The disaster recovery method for two locations and three centers according to claim 5 , wherein the starting the second snapshot relationship in response to a second startup instruction for the second snapshot relationship that is periodically input comprises the following steps: 6 . : 响应于在定期输入所述第一启动指令之后所输入的所述第二启动指令而启动所述第二快照关系。The second snapshot relationship is initiated in response to the second initiation instruction entered after the periodic input of the first initiation instruction. 7.一种两地三中心容灾装置,应用于如权利要求1所述的两地三中心容灾系统,其特征在于,包括:7. A disaster recovery device of two places and three centers, applied to the disaster recovery system of two places and three centers as claimed in claim 1, characterized in that, comprising: 响应模块:用于响应于定期输入的针对于所述第一快照关系的第一启动指令而启动所述第一快照关系;响应于定期输入的针对于所述第二快照关系的第二启动指令而启动所述第二快照关系;Response module: used to start the first snapshot relationship in response to a regularly input first start instruction for the first snapshot relationship; in response to a regularly input second start instruction for the second snapshot relationship and start the second snapshot relationship; 判断模块:用于在检测到所述生产卷故障后,判断所述第一容灾卷是否故障;Judging module: for judging whether the first disaster recovery volume is faulty after detecting the failure of the production volume; 推送模块:用于当所述判断模块判定所述第一容灾卷没有故障之后,向用户推送启用所述第一容灾卷的提示信息。Pushing module: configured to push the prompt information of enabling the first disaster recovery volume to the user after the judgment module determines that the first disaster recovery volume is not faulty. 8.一种两地三中心容灾设备,其特征在于,包括:8. A disaster recovery device with three centers in two places, characterized in that, comprising: 存储器:用于存储计算机程序;Memory: used to store computer programs; 处理器:用于执行所述计算机程序以实现如权利要求3至6任一项所述的两地三中心容灾方法的步骤。Processor: a step for executing the computer program to implement the method for disaster recovery in two places and three centers according to any one of claims 3 to 6. 9.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,所述计算机程序被处理器执行时用以实现如权利要求3至6任一项所述的两地三中心容灾方法的步骤。9. A computer-readable storage medium, characterized in that, a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the computer program is used to realize any one of claims 3 to 6. The steps of the disaster recovery method of the three centers in two places.
CN201810643573.4A 2018-06-21 2018-06-21 Disaster recovery method, device, equipment and system for two locations and three centers Active CN108874593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810643573.4A CN108874593B (en) 2018-06-21 2018-06-21 Disaster recovery method, device, equipment and system for two locations and three centers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810643573.4A CN108874593B (en) 2018-06-21 2018-06-21 Disaster recovery method, device, equipment and system for two locations and three centers

Publications (2)

Publication Number Publication Date
CN108874593A CN108874593A (en) 2018-11-23
CN108874593B true CN108874593B (en) 2021-08-31

Family

ID=64340016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810643573.4A Active CN108874593B (en) 2018-06-21 2018-06-21 Disaster recovery method, device, equipment and system for two locations and three centers

Country Status (1)

Country Link
CN (1) CN108874593B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361769A (en) * 2018-12-10 2019-02-19 浪潮(北京)电子信息产业有限公司 Disaster recovery system and disaster recovery method
CN109905290B (en) * 2019-02-21 2020-12-11 国网山东省电力公司临沂供电公司 An automatic alarm system, method and computer-readable storage medium for off-site shift preparation
CN109819048B (en) * 2019-02-27 2022-03-15 北京字节跳动网络技术有限公司 Data synchronization method, device, terminal and storage medium
CN109976952A (en) * 2019-04-09 2019-07-05 苏州浪潮智能科技有限公司 The method and apparatus of cross-domain backup in cloud computing system
CN110336855B (en) * 2019-05-09 2020-05-05 广州市番禺区中心医院 A medical cloud data system
CN110188142A (en) * 2019-06-04 2019-08-30 成都鼎桥通信技术有限公司 Long-distance disaster method of data synchronization, device, server and storage medium
CN110445663B (en) * 2019-08-30 2022-12-30 苏州浪潮智能科技有限公司 Data monitoring method, device, equipment and storage medium
CN111858170B (en) * 2020-07-10 2023-07-25 苏州浪潮智能科技有限公司 Configuration management method, system and readable storage medium
CN112363868B (en) * 2020-11-13 2022-07-26 苏州浪潮智能科技有限公司 A method, system, device and medium for incremental synchronization of annular two places and three centers
CN113905056B (en) * 2021-09-15 2023-07-14 苏州浪潮智能科技有限公司 A Novel Ring 3DC Bitmap Management Method, System, Device and Medium
CN114338369B (en) * 2021-12-30 2023-08-08 苏州浪潮智能科技有限公司 A fault diagnosis method, system and device for ring-shaped two places and three centers
CN114880152B (en) * 2022-04-30 2025-07-11 苏州浪潮智能科技有限公司 Data three-party disaster recovery abnormal monitoring and processing method, system, terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955836A (en) * 2016-05-09 2016-09-21 深圳市前海云端容灾信息技术有限公司 Cold-hot backup automatic walkthrough multifunction system
CN106776126A (en) * 2016-11-30 2017-05-31 郑州云海信息技术有限公司 A kind of disaster tolerance system and method
CN107391294A (en) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 A kind of method for building up and device of IPSAN disaster tolerance systems

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110087792A2 (en) * 2006-02-07 2011-04-14 Dot Hill Systems Corporation Data replication method and apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105955836A (en) * 2016-05-09 2016-09-21 深圳市前海云端容灾信息技术有限公司 Cold-hot backup automatic walkthrough multifunction system
CN106776126A (en) * 2016-11-30 2017-05-31 郑州云海信息技术有限公司 A kind of disaster tolerance system and method
CN107391294A (en) * 2017-07-28 2017-11-24 郑州云海信息技术有限公司 A kind of method for building up and device of IPSAN disaster tolerance systems

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SAN环境下数据备份和远程容灾技术研究;田涛;《信息与电脑》;20120531;全文 *

Also Published As

Publication number Publication date
CN108874593A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
CN108874593B (en) Disaster recovery method, device, equipment and system for two locations and three centers
CN105677516B (en) A kind of back-up restoring method calculating the high efficient and reliable in storage cloud platform
CN109062735B (en) Disaster recovery method for storage system, storage system and related device
CN102891849B (en) Service data synchronization method, data recovery method, data recovery device and network device
CN108415793B (en) Modifying membership of a replica group via a log operation
CN105069160A (en) Autonomous controllable database based high-availability method and architecture
WO2017071274A1 (en) Disaster tolerance method and apparatus in active-active cluster system
CN111984474B (en) Method, system and equipment for recovering double-control cluster fault
CN109597718A (en) A kind of disaster recovery platform and a kind of disaster recovery method
CN105574187A (en) Duplication transaction consistency guaranteeing method and system for heterogeneous databases
CN114610532A (en) Database processing method and device
CN113626517B (en) PostgreSQL database stream replication exception handling method and device
CN104993940A (en) Method and device for reducing data loss in main/standby node fault switching process
CN109361769A (en) Disaster recovery system and disaster recovery method
CN118132004A (en) Double active volume state synchronization method, device, equipment and medium
CN112153134A (en) Disaster tolerance drilling method, device, equipment and storage medium of disaster tolerance cloud host
CN104615511A (en) Host batch recovery processing method and device based on double centers
CN106383756A (en) Method for realizing disaster recovery switching of storage without interrupting Linux system service
CN112711596B (en) Multi-copy database system, data processing method, electronic device, and computer-readable storage medium
CN108733808B (en) Big data software system switching method, system, terminal equipment and storage medium
CN113849350B (en) Ring two-site three-center topology switching method, device, system and medium
CN104850628A (en) Data synchronization method and apparatus in database
CN109376037A (en) A data backup method and related device
CN111917576A (en) Control method and device for storage cluster
CN115344424A (en) Method, device and equipment for recovering synchronous state and storage medium

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