US7529964B2

Data duplication method in a disaster recovery system

Summary by NHIP

Remote disaster recovery system

The system executes database recovery on a remote site using logs containing update differences and commands. It generates snapshots by instructing a storage unit to switch a mirror set from a pair state to a split state after synchronizing data across multiple volumes.

Claim Score by NHIP

Read claim 7, the broadest

Abstract

A recovery of a secondary DB is executed by a log including a update difference of a primary DB, and a command is executed by adding the command to the log and analyzing the log by a secondary site. An operation command execution in the secondary site is applied to the DB having the consistency in the transaction at the same timing as a primary site or an intended timing, by transferring and executing the operation command via the log. In the case that the command is constituted by a snap shot generating instruction, a plurality of volumes of a mirror set forming a secondary storage apparatus are set to a pair state and the secondary DB is written in each of the volumes and synchronized, and the mirror set is set to a split state after the synchronization is finished, whereby a secondary DB is stored.

US7529964B2, drawing sheet 1
Sheet 1 of 12

Term

Term ended

Expired 11 August 2026, 0.1 years ago.

  1. Priority
  2. Filed
  3. Granted
  4. Expired
  5. Today

14 claims: 3 independent, 11 dependent

  1. 1
    The disaster recovery system executing a backup operation while arranging a first system and a second system in remote locations, wherein the first system comprises:a first calculating machine executing a first DBMS providing the first database;a first storage for storing a log to which an update difference of the first database is output at each of transactions, and the first database;a command adding unit for adding a command to the log;and a remote copy unit transferring the log to the second system, wherein the second system comprises: a second storage for storing a log received from the first system and a second database;and a database recovering unit for recovering the second database on the basis of the log received from the first system, and wherein the database recovering unit comprises: a command extracting section for extracting the command included in the log;and a command executing section for executing the extracted command, wherein the command adding unit adds to the log a snapshot generating command for instructing a snapshot generation as an instruction output to the second system, wherein the second storage has a mirror set capable of changing a plurality of volumes between a pair state and a split state, wherein the command executing section instructs the second storage to generate the snapshot in the case that the extracted command is constituted by a snapshot generating command, and wherein the second storage stores the mirror set in the second database under a split state after writing the second database in a plurality of volumes so as to synchronize by setting the mirror set to a pair state, on the basis of the snapshot generating instruction.
  2. 6
    The disaster recovery system executing a backup operation while arranging a first system and a second system in remote locations, wherein the first system comprises:a first calculating machine executing a first DBMS providing the first database;a first storage for storing a log to which an update difference of the first database is output at each of transactions, and the first database;a command adding unit for adding a command to the log;and a remote copy unit transferring the log to the second system, wherein the second system comprises: a second storage for storing a log received from the first system and a second database;and a database recovering unit for recovering the second database on the basis of the log received from the first system, and wherein the database recovering unit comprises: a command extracting section for extracting the command included in the log;and a command executing section for executing the extracted command, wherein the command adding unit adds to the log a snapshot generating command instructing a snapshot generation as an instruction output to the second system, wherein the second storage has a mirror set capable of changing a plurality of volumes between a pair state and a split state, wherein the database recovering unit has a transaction control unit which reads the log from the second storage to determine a non-determined transaction of the second database, wherein the command executing section instructs the second storage to generate the snapshot in the case that the extracted command is constituted by a snapshot generating command, and wherein the second storage switches the mirror set from a pair state to a split state on the basis of the snapshot generating instruction to store the second database obtained by determining the transaction.
  3. 7
    Broadest claimClaim Score 39, average(NHIP)The remote command execution method of duplicating the data from a first database executed by a first system to a second database duplicated in a second storage provided in a second system, comprising:a process of recording a log of a update difference of the first database in a first storage;a process of writing the update difference of the first database in the first storage;a process of combining a command applied to the first or second system with the log;a process of transferring the log including the update difference and the command to the second system;a process of storing the transferred log in the second storage;a process of reading the log of the second storage and recovering the second database on the basis of the log of the update difference;a process of extracting the command from the log of the second storage;and a process of executing the extracted command, wherein the process of combining the command with the log includes a process of combining with the log a snapshot preparing command for instructing a preparation of a snapshot by the second system, and wherein the process of executing the extracted command includes: a process of setting a plurality of volumes of a mirror set constituting the second storage to a pair state so as to write the second database in each of the volumes to synchronize to each other in the case that the extracted command is a snapshot preparing command;and a process of setting the mirror set to a split state so as to store the second database after the synchronization is finished.