JP2015153280A - Replication control system, replication control method, and replication control program - Google Patents

Replication control system, replication control method, and replication control program Download PDF

Info

Publication number
JP2015153280A
JP2015153280A JP2014028219A JP2014028219A JP2015153280A JP 2015153280 A JP2015153280 A JP 2015153280A JP 2014028219 A JP2014028219 A JP 2014028219A JP 2014028219 A JP2014028219 A JP 2014028219A JP 2015153280 A JP2015153280 A JP 2015153280A
Authority
JP
Japan
Prior art keywords
data
journal
update
restore
master
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.)
Granted
Application number
JP2014028219A
Other languages
Japanese (ja)
Other versions
JP6287308B2 (en
Inventor
寛之 大谷
Hiroyuki Otani
寛之 大谷
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP2014028219A priority Critical patent/JP6287308B2/en
Publication of JP2015153280A publication Critical patent/JP2015153280A/en
Application granted granted Critical
Publication of JP6287308B2 publication Critical patent/JP6287308B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To enable a process for backing up data to a remote site to be executed at low cost while avoiding loss of data and performance degradation in case of damage to a main site.SOLUTION: A replication control system 2 comprises: a master storage device 42 having an update data storage unit 42 for storing update data relating to master data 41 in such a way that its update order is distinguishable and a journal transfer unit 43 for storing, in an on-line storage device, journal data in which the update data is assigned an update order; and remote storage devices 50-60 having a journal acquisition unit 52 for acquiring unacquired journal data from the on-line storage device and journal reflection units 53-63 which, when all of update data whose update order is earlier than that of the acquired journal data has already been reflected in backup data 61, has update data for the journal data reflected in the backup data 61.

Description

本願発明は、メインサイトからリモートサイトへのデータのバックアップ処理を制御するレプリケーション制御システム等に関する。   The present invention relates to a replication control system for controlling backup processing of data from a main site to a remote site.

近年における高度情報化社会の進展に伴い、災害が発生した場合であっても、コンピュータシステムが提供するサービスを継続することが可能なディザスタリカバリシステムの重要性が、益々高まってきている。係るディザスタリカバリシステムでは、メインサイトと同様なシステム構成を有するリモートサイトを、メインサイトとは別の場所に設置する。そして、ディザスタリカバリシステムは、メインサイトにおけるストレージ装置が記憶する更新データを、通信ネットワーク(以降、単にネットワークと称する)を経由してリモートサイトに随時バックアップあるいはミラーリングを行う。   With the progress of an advanced information society in recent years, the importance of disaster recovery systems that can continue services provided by computer systems even when disasters occur has increased. In such a disaster recovery system, a remote site having a system configuration similar to that of the main site is installed at a location different from the main site. Then, the disaster recovery system backs up or mirrors update data stored in the storage device at the main site to a remote site as needed via a communication network (hereinafter simply referred to as a network).

このようなディザスタリカバリシステムでは、メインサイトが被災した場合のデータロスト(データ喪失)を最小限に抑えるために、マスタデータの更新に可能な限り同期して、係る更新データをリモートサイトにバックアップする必要がある。この場合、ネットワークにおける遅延が発生することにより、ホスト計算機の応答性能が低下する可能性があるため、更新データに関するリモートサイトへのバックアップを、完全には同期させない準同期バックアップ方法がある。係る準同期バックアップ方法では、更新順序通りに更新データを記録するジャーナル領域を設け、バックグランド処理により、順序通りにバックアップ処理を行う。これにより、ネットワークにおける遅延の影響を受けず、かつ、精度が高いバックアップ処理を行うことが可能となる。   In such a disaster recovery system, in order to minimize data loss (data loss) in the event of a disaster at the main site, it is necessary to back up the updated data to the remote site in synchronization with the master data update as much as possible. There is. In this case, there is a possibility that the response performance of the host computer may deteriorate due to the occurrence of a delay in the network. Therefore, there is a quasi-synchronous backup method that does not completely synchronize the backup of the update data to the remote site. In such a semi-synchronous backup method, a journal area for recording update data is provided in the update order, and backup processing is performed in the order by background processing. This makes it possible to perform backup processing with high accuracy without being affected by delays in the network.

このような順同期バックアップ方法を用いたバックアップ処理に関連する技術として、特許文献1には、メインサイトとリモートサイトとの間にジャーナルストレージを設置したシステムが開示されている。このシステムは、マスタデータに対する更新データを、係るジャーナルストレージに同期して格納し、さらにジャーナルストレージからリモートサイトに対して、更新データを順同期して転送する。したがって、係るシステムは、メインサイトとリモートサイト間におけるネットワーク障害が発生した場合であっても、ジャーナルストレージに直近の更新データを保持しているため、メインサイトが被災した場合のデータロストを回避する。   As a technique related to backup processing using such a forward synchronous backup method, Patent Document 1 discloses a system in which a journal storage is installed between a main site and a remote site. This system stores update data for master data in synchronization with the journal storage, and further forwards update data from the journal storage to the remote site in order. Therefore, even if a network failure occurs between the main site and the remote site, such a system holds the latest update data in the journal storage, and thus avoids data loss when the main site is damaged.

また、特許文献2には、メインサイトとリモートサイトとの間に中間サイトを設置し、バックアップ処理を制御するマネージャ、及び、更新データを記憶ずるメモリを備えたシステムが開示されている。このシステムは、マスタデータに対する更新データを、メインサイトから中間サイトへは同期コピーし、中間サイトからリモートサイトへは非同期コピーする。したがって、係るシステムは、ホスト計算機の応答性能が低下することを回避するとともに、メインサイトが被災した場合のデータロストを回避する。   Patent Document 2 discloses a system that includes an intermediate site between a main site and a remote site, a manager that controls backup processing, and a memory that stores update data. This system synchronously copies update data for master data from the main site to the intermediate site and asynchronously copies from the intermediate site to the remote site. Therefore, such a system avoids a loss of response performance of the host computer and avoids data loss when the main site is damaged.

特開2010-182154号公報JP 2010-182154 A 特許第4236049号公報Japanese Patent No. 4236049

特許文献1が開示した技術は、ジャーナルストレージとして、マスタデータと同期して更新データを記憶し、準同期してリモートサイトに更新データを転送する機能を有する専用のストレージを備えることを前提としている。また、特許文献2が開示した技術は、更新データを保持する専用のメモリと、リモートサイトにデータを転送する機能を有する中間サイトを備えることを前提としている。すなわち、特許文献1乃至2が開示した技術は、メインサイトが被災した場合におけるデータロストを回避したバックアップ処理を行ための専用のハードウェアを備えるため、コストが上昇するという問題がある。   The technology disclosed in Patent Document 1 is premised on providing a dedicated storage having a function of storing update data in synchronization with master data and transferring update data to a remote site in semi-synchronization as journal storage. . The technique disclosed in Patent Document 2 is premised on including a dedicated memory for holding update data and an intermediate site having a function of transferring data to a remote site. That is, the techniques disclosed in Patent Documents 1 and 2 have a problem that costs increase because dedicated hardware for performing backup processing that avoids data loss when the main site is damaged is provided.

本願発明の主たる目的は、この問題を解決した、レプリケーション制御システム、レプリケーション制御方法、及び、レプリケーションプログラムを提供することである。   The main object of the present invention is to provide a replication control system, a replication control method, and a replication program that solve this problem.

本願発明に係るレプリケーション制御システムは、マスタデータについて、特定のアドレスに位置するデータブロックに関する更新内容を示す更新データを、更新が発生した順番が識別可能に記憶する更新データ記憶手段と、前記更新データに対して前記順番を識別可能な第一の識別子を付与し、前記更新データと前記識別子とを関連付けし、関連付けたジャーナルデータを、1以上のオンラインストレージ装置の少なくとも何れかに格納するジャーナル転送手段と、を有するマスタストレージ装置と、前記1以上のオンラインストレージ装置の少なくとも何れかから、未取得である前記ジャーナルデータを取得するジャーナル取得手段と、前記ジャーナル取得手段が取得した前記ジャーナルデータが包含する前記第一の識別子が示す値よりも、前記順番が先であることを示す前記第一の識別子に関連付けられた第一の前記更新データが、既に前記マスタデータの複製であるバックアップデータに反映されている場合に、当該ジャーナルデータが包含する第二の前記更新データを、前記バックアップデータに反映するジャーナル反映手段と、を有する1以上のリモートストレージ装置と、を備えることを特徴とする。   The replication control system according to the present invention includes update data storage means for storing update data indicating update contents related to a data block located at a specific address with respect to master data so that the order in which updates are generated can be identified, and the update data A journal transfer unit that assigns a first identifier that can identify the order to each other, associates the update data with the identifier, and stores the associated journal data in at least one of the one or more online storage devices And a journal acquisition unit that acquires the journal data that has not been acquired from at least one of the one or more online storage devices, and the journal data acquired by the journal acquisition unit From the value indicated by the first identifier When the first update data associated with the first identifier indicating that the order is first is already reflected in backup data that is a copy of the master data, the journal data is included. And at least one remote storage device having journal reflecting means for reflecting the second update data to be reflected in the backup data.

上記目的を達成する他の見地において、本願発明のレプリケーション制御方法は、マスタストレージ装置によって、マスタデータについて、特定のアドレスに位置するデータブロックに関する更新内容を示す更新データを、更新が発生した順番が識別可能に更新データ記憶手段に記憶し、前記更新データに対して前記順番を識別可能な第一の識別子を付与し、前記更新データと前記識別子とを関連付けし、関連付けたジャーナルデータを、1以上のオンラインストレージ装置の少なくとも何れかに格納し、1以上のリモートストレージ装置によって、前記1以上のオンラインストレージ装置の少なくとも何れかから、未取得である前記ジャーナルデータを取得し、取得した前記ジャーナルデータが包含する前記第一の識別子が示す値よりも、前記順番が先であることを示す前記第一の識別子に関連付けられた第一の前記更新データが、既に前記マスタデータの複製であるバックアップデータに反映されている場合に、当該ジャーナルデータが包含する第二の前記更新データを、前記バックアップデータに反映することを特徴とする。   In another aspect of achieving the above object, according to the replication control method of the present invention, in the master storage device, the update data indicating the update contents related to the data block located at a specific address is updated with respect to the master data. The update data storage unit stores the update data in a identifiable manner, assigns a first identifier capable of identifying the order to the update data, associates the update data with the identifier, and sets one or more associated journal data. The journal data that is not acquired is acquired from at least one of the one or more online storage devices by one or more remote storage devices, and the acquired journal data is stored in at least one of the online storage devices Than the value indicated by the first identifier to contain, The journal data includes when the first update data associated with the first identifier indicating that the order is first is reflected in backup data that is a copy of the master data. The second update data is reflected in the backup data.

また、上記目的を達成する更なる見地において、本願発明に係るレプリケーション制御プログラムは、マスタデータについて、特定のアドレスに位置するデータブロックに関する更新内容を示す更新データを、更新が発生した順番が識別可能に更新データ記憶手段記憶する更新データ記憶処理と、前記更新データに対して前記順番を識別可能な第一の識別子を付与し、前記更新データと前記識別子とを関連付けし、関連付けたジャーナルデータを、1以上のオンラインストレージ装置の少なくとも何れかに格納するジャーナル転送処理と、をマスタストレージ装置に実行させ、前記1以上のオンラインストレージ装置の少なくとも何れかから、未取得である前記ジャーナルデータを取得するジャーナル取得処理と、前記ジャーナル取得処理が取得した前記ジャーナルデータが包含する前記第一の識別子が示す値よりも、前記順番が先であることを示す前記第一の識別子に関連付けられた第一の前記更新データが、既に前記マスタデータの複製であるバックアップデータに反映されている場合に、当該ジャーナルデータが包含する第二の前記更新データを、前記バックアップデータに反映するジャーナル反映処理と、を1以上のリモートストレージ装置に実行させることを特徴とする。   Further, in a further aspect to achieve the above object, the replication control program according to the present invention can identify the update data indicating the update contents related to the data block located at a specific address for the master data in the order in which the update occurred. Update data storage means for storing, a first identifier that can identify the order for the update data, the update data and the identifier are associated with each other, the associated journal data, A journal that causes the master storage device to execute journal transfer processing to be stored in at least one of the one or more online storage devices, and obtains the unacquired journal data from at least one of the one or more online storage devices The acquisition process and the journal acquisition process The first update data associated with the first identifier indicating that the order is ahead of the value indicated by the first identifier included in the obtained journal data has already been stored in the master data. Causing one or more remote storage devices to execute a journal reflection process of reflecting the second update data included in the journal data in the backup data when reflected in the backup data that is a copy. Features.

更に、本発明は、係るレプリケーション制御プログラム(コンピュータプログラム)が格納された、コンピュータ読み取り可能な、不揮発性の記憶媒体によっても実現可能である。   Furthermore, the present invention can also be realized by a computer-readable non-volatile storage medium storing such a replication control program (computer program).

本願発明は、メインサイトが被災した場合におけるデータロスト、及び、ホスト計算機に関する応答性能低下を回避したリモートサイトへのデータのバックアップ処理を、低コストで行うことを可能とする。   The present invention makes it possible to perform low-cost data backup processing to a remote site that avoids a loss of response performance related to host computers and data lost when the main site is damaged.

本願発明の第1の実施形態に係るレプリケーション制御システムの構成を示すブロック図である。It is a block diagram which shows the structure of the replication control system which concerns on 1st Embodiment of this invention. 本願発明の第1の実施形態に係るレプリケーション制御システムがマスタストレージ装置からオンラインストレージ装置へ、ジャーナルデータを格納する動作を示すフローチャートである。5 is a flowchart showing an operation of storing journal data from the master storage device to the online storage device by the replication control system according to the first embodiment of the present invention. 本願発明の第1の実施形態に係るレプリケーション制御システムがオンラインストレージ装置から取得したジャーナルデータをリモートストレージ装置におけるバックアップデータに反映する動作を示すフローチャート(1/2)である。It is a flowchart (1/2) which shows the operation | movement in which the replication control system which concerns on 1st Embodiment of this invention reflects the journal data acquired from the online storage apparatus in the backup data in a remote storage apparatus. 本願発明の第1の実施形態に係るレプリケーション制御システムがオンラインストレージ装置から取得したジャーナルデータをリモートストレージ装置におけるバックアップデータに反映する動作を示すフローチャート(2/2)である。It is a flowchart (2/2) which shows the operation | movement in which the replication control system which concerns on 1st Embodiment of this invention reflects the journal data acquired from the online storage apparatus in the backup data in a remote storage apparatus. 本願発明の第1の実施形態に係るレプリケーション制御システムがリモート ストレージ装置からマスタストレージ装置へ、リストアデータを格納する動作を示すフローチャートである。5 is a flowchart showing an operation of storing restore data from the remote storage apparatus to the master storage apparatus by the replication control system according to the first embodiment of the present invention. 本願発明の第1の実施形態に係るジャーナルデータの構成例を示す図である。It is a figure which shows the structural example of the journal data based on 1st Embodiment of this invention. 本願発明の第1の実施形態に係るリストアデータの構成例を示す図である。It is a figure which shows the structural example of the restore data which concerns on 1st Embodiment of this invention. 本願発明の第1の実施形態に係るジャーナルデータ取得状況情報の構成例を示す図である。It is a figure which shows the structural example of the journal data acquisition condition information which concerns on 1st Embodiment of this invention. 本願発明の第1の実施形態に係るマスタジャーナル管理テーブルの構成例を示す図である。It is a figure which shows the structural example of the master journal management table which concerns on 1st Embodiment of this invention. 本願発明の第1の実施形態に係るリモートジャーナル管理テーブルの構成例を示す図である。It is a figure which shows the structural example of the remote journal management table which concerns on 1st Embodiment of this invention. 本願発明の第1の実施形態に係るデータ管理情報の構成例を示す図である。It is a figure which shows the structural example of the data management information which concerns on 1st Embodiment of this invention. 本願発明の第2の実施形態に係るレプリケーション制御システムの構成を示すブロック図である。It is a block diagram which shows the structure of the replication control system which concerns on 2nd Embodiment of this invention. 本願発明の各実施形態のマスタストレージ装置及びリモートストレージ装置を実行可能な情報処理装置の構成を示すブロック図である。It is a block diagram which shows the structure of the information processing apparatus which can execute the master storage apparatus and remote storage apparatus of each embodiment of this invention.

以下、本願発明の実施の形態について図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

<第1の実施形態>
図1は、第1の実施形態に係るレプリケーション制御システム1の構成を概念的に示すブロック図である。本実施形態に係るレプリケーション制御システム1は、マスタストレージ装置10、リモートストレージ装置20、オンラインストレージ装置30乃至31、及び、ホスト計算機100乃至200を有する。
<First Embodiment>
FIG. 1 is a block diagram conceptually showing the structure of the replication control system 1 according to the first embodiment. The replication control system 1 according to the present embodiment includes a master storage device 10, a remote storage device 20, online storage devices 30 to 31, and host computers 100 to 200.

マスタストレージ装置10、及び、ホスト計算機100は、メインサイトに設置されている。リモートストレージ装置20、及び、ホスト計算機200は、メインサイトとは別の場所に存在する、災害発生時等にメインサイトをバックアップするリモートサイトに設置されている。すなわち、レプリケーション制御システム1は、ディザスタリカバリシステムを構築している。   The master storage device 10 and the host computer 100 are installed at the main site. The remote storage device 20 and the host computer 200 are installed at a remote site that is located at a location different from the main site and backs up the main site when a disaster occurs. That is, the replication control system 1 constructs a disaster recovery system.

マスタストレージ装置10は、ホスト計算機100が処理するデータを記憶可能である。リモートストレージ装置20は、ホスト計算機200が処理するデータを記憶可能である。   The master storage device 10 can store data processed by the host computer 100. The remote storage device 20 can store data processed by the host computer 200.

オンラインストレージ装置30乃至31は、例えば、クラウドコンピュータシステムにおけるクラウドストレージ等の、データを記憶する領域として一般ユーザに提供されるサービスを実現する汎用のストレージ装置である。したがって、レプリケーション制御システム1は、オンラインストレージ装置30乃至31を、他のシステムと共用する場合もある。オンラインストレージ装置30乃至31は、データを読み書きするための標準インタフェースを備えており、特殊なインタフェースは備えていないものとする。   The online storage devices 30 to 31 are general-purpose storage devices that implement services provided to general users as areas for storing data, such as cloud storage in a cloud computer system. Therefore, the replication control system 1 may share the online storage devices 30 to 31 with other systems. The online storage apparatuses 30 to 31 are provided with a standard interface for reading and writing data, and are not provided with a special interface.

尚、本実施形態に係るレプリケーション制御システム1は、説明の便宜上、リモートストレージ装置、及び、ホスト計算機200を1つ備えた、リモートサイトが1つという構成のディザスタリカバリシステムとしている。しかしながら、本実施形態を例に説明する本発明は係る構成には限定されない。例えば、リモートサイトは、を2つ以上備えられてもよい。また、レプリケーション制御システム1は、オンラインストレージ装置を1つのみ備えてもよいし、3つ以上備えてもよい。   Note that the replication control system 1 according to the present embodiment is a disaster recovery system having one remote site and one remote storage device and one host computer 200 for convenience of explanation. However, the present invention described using the present embodiment as an example is not limited to such a configuration. For example, two or more remote sites may be provided. In addition, the replication control system 1 may include only one online storage apparatus, or may include three or more online storage apparatuses.

マスタストレージ装置10は、更新データ記憶部12、ジャーナル転送部13、リストアデータ取得部14、リストアデータ反映部15、差分データ変換部16、及び、差分データ記憶部17を備えている。マスタストレージ装置10は、また、マスタデータ11、及び、マスタジャーナル管理テーブル18を、所定の記憶領域に記憶している。ジャーナル転送部13、リストアデータ取得部14、リストアデータ反映部15、及び、差分データ変換部16は、電子回路の場合もあれば、コンピュータプログラムとそのコンピュータプログラムに従って動作するプロセッサによって実現される場合もある。更新データ記憶部12、及び、差分データ記憶部17は、電子回路あるいはコンピュータプログラムとそのコンピュータプログラムに従って動作するプロセッサによってアクセス制御が行われる磁気ディスク等の記憶装置である。   The master storage device 10 includes an update data storage unit 12, a journal transfer unit 13, a restore data acquisition unit 14, a restore data reflection unit 15, a differential data conversion unit 16, and a differential data storage unit 17. The master storage apparatus 10 also stores master data 11 and a master journal management table 18 in a predetermined storage area. The journal transfer unit 13, the restore data acquisition unit 14, the restore data reflection unit 15, and the difference data conversion unit 16 may be electronic circuits or may be realized by a computer program and a processor that operates according to the computer program. is there. The update data storage unit 12 and the difference data storage unit 17 are storage devices such as a magnetic disk whose access is controlled by an electronic circuit or a computer program and a processor that operates according to the computer program.

マスタデータ11は、ホスト計算機100が処理するデータである。更新データ記憶部10は、例えばFIFO(First In First Out)等のバッファであり、マスタデータ11の内容を更新する更新データ120を、更新が発生した時系列を識別可能に記憶している。更新データ120は、マスタデータ11における更新部分を示すアドレス及びデータを包含している。マスタストレージ装置10は、更新データ120が示す更新内容をマスタデータ11に反映することにより、マスタデータ11を最新の状態に更新する。   Master data 11 is data processed by the host computer 100. The update data storage unit 10 is a buffer such as a first in first out (FIFO), for example, and stores update data 120 for updating the contents of the master data 11 so that the time series in which the update has occurred can be identified. The update data 120 includes an address and data indicating an update part in the master data 11. The master storage device 10 updates the master data 11 to the latest state by reflecting the update content indicated by the update data 120 in the master data 11.

ジャーナル転送部13は、更新データ記憶部12から、更新データ120を、更新が発生した時系列の順番に取得する。ジャーナル転送部13は、取得した更新データ120を基に、ジャーナルデータ300あるいは310を生成する。   The journal transfer unit 13 acquires the update data 120 from the update data storage unit 12 in the order of time series in which the update occurred. The journal transfer unit 13 generates journal data 300 or 310 based on the acquired update data 120.

ジャーナルデータ300の構成例を図5に示す。尚、ジャーナルデータ310の構成も、ジャーナルデータ300と同様である。図5に示す通り、ジャーナルデータ300は、マスタストレージ識別情報3000、更新順序情報3001、アドレス3002−1乃至m、及び、データ3003−1乃至mを包含している。ジャーナル転送部120は、更新データ120が示す更新内容を基に、アドレス3002−1乃至m及びデータ3003−1乃至mを1つのパッケージとしてまとめた後、当該パッケージに、マスタストレージ識別情報3000及び更新順序情報3001を付与する。マスタストレージ識別情報3000は、マスタストレージ装置10を識別可能な識別子である。更新順序情報3001は、ジャーナルデータ300に関する更新が発生した時系列を識別可能な情報である。ジャーナル転送部13は、更新順序情報3001を付与する際に、マスタジャーナル管理テーブル18を参照する。   A configuration example of the journal data 300 is shown in FIG. The configuration of the journal data 310 is the same as that of the journal data 300. As shown in FIG. 5, the journal data 300 includes master storage identification information 3000, update order information 3001, addresses 3002-1 to 300-m, and data 3003-1 to 300-m. The journal transfer unit 120 collects the addresses 3002-1 to 300m and the data 3003-1 to 300m as one package based on the update content indicated by the update data 120, and then adds the master storage identification information 3000 and the update to the package. Order information 3001 is assigned. The master storage identification information 3000 is an identifier that can identify the master storage device 10. The update order information 3001 is information that can identify a time series in which an update related to the journal data 300 has occurred. The journal transfer unit 13 refers to the master journal management table 18 when providing the update order information 3001.

マスタジャーナル管理テーブル18の構成例を図8に示す。マスタジャーナル管理テーブル18は、ジャーナル転送部13によって生成されたジャーナルデータ300及び310を管理する情報であり、更新順序情報180と、格納先オンラインストレージ識別情報181とを関連付けたレコードを包含している。格納先オンラインストレージ識別情報181は、オンラインストレージ装置30及び31を識別可能な識別子である。更新順序情報180は、ジャーナルデータ300における更新順序情報3001に対応する。図8に示すマスタジャーナル管理テーブル18は、更新順序情報が示す値が“1000”及び“1002”であるジャーナルデータ300がオンラインストレージ装置30に格納され、更新順序情報が示す値が“1001である” ジャーナルデータ310がオンラインストレージ装置31に格納されていることを示している。   A configuration example of the master journal management table 18 is shown in FIG. The master journal management table 18 is information for managing the journal data 300 and 310 generated by the journal transfer unit 13, and includes a record in which the update order information 180 and the storage destination online storage identification information 181 are associated with each other. . The storage destination online storage identification information 181 is an identifier that can identify the online storage apparatuses 30 and 31. The update order information 180 corresponds to the update order information 3001 in the journal data 300. In the master journal management table 18 shown in FIG. 8, journal data 300 whose values indicated by the update order information are “1000” and “1002” is stored in the online storage device 30, and the value indicated by the update order information is “1001”. The journal data 310 is stored in the online storage device 31.

ジャーナル転送部13は、マスタジャーナル管理テーブル18が図8に示す状態である場合、生成したジャーナルデータに対して、更新順序情報として“1003”を付与する。ジャーナル転送部13は、生成したジャーナルデータを、オンラインストレージ装置30乃至31の少なくとも何れかに格納する。ジャーナル転送部13が、係るジャーナルデータを格納するオンラインストレージを選択する基準としては、格納先が均等に分散されるように、例えばラウンドロビンにより選択してもよい。この場合、例えば、マスタジャーナル管理テーブル18が図8に示す状態では、ジャーナル転送部13は、更新順序情報が示す値が“1003”であるジャーナルデータを、ジャーナルデータ310として、オンラインストレージ装置31に格納する。   When the master journal management table 18 is in the state shown in FIG. 8, the journal transfer unit 13 assigns “1003” as update order information to the generated journal data. The journal transfer unit 13 stores the generated journal data in at least one of the online storage devices 30 to 31. As a reference for selecting the online storage in which the journal transfer unit 13 stores such journal data, the storage destination may be selected by, for example, round robin so that the storage destinations are evenly distributed. In this case, for example, when the master journal management table 18 is in the state shown in FIG. 8, the journal transfer unit 13 sets the journal data whose update order information value is “1003” as the journal data 310 to the online storage device 31. Store.

ジャーナル転送部13は、係るジャーナルデータを、オンラインストレージ装置30あるいは31に格納したことを、マスタジャーナル管理テーブル18に反映する。そして、ジャーナル転送部13は、係るジャーナルデータを格納したオンラインストレージ装置が記憶するデータ管理情報を更新する。   The journal transfer unit 13 reflects in the master journal management table 18 that the journal data has been stored in the online storage device 30 or 31. Then, the journal transfer unit 13 updates the data management information stored in the online storage device that stores the journal data.

オンラインストレージ装置30が記憶するデータ管理情報303の構成例を図10に示す。尚、オンラインストレージ装置31が記憶するデータ管理情報313も、データ管理情報303と同様である。データ管理情報303は、種別情報3030と、データ識別情報3031とを関連付けたレコードを包含している。データ識別情報3031は、オンラインストレージ装置30が記憶する個々のデータを識別可能な識別子であり、例えば、係るデータのファイル名等である。種別情報3030は、データ識別情報3031により識別されるデータに関する種別を示す情報である。図10に示す例の場合、オンラインストレージ装置30が記憶するデータは、“ジャーナルデータ”、リストアデータ“、及び、” ジャーナルデータ取得状況情報“等の種別に分類されることを示している。   A configuration example of the data management information 303 stored in the online storage device 30 is shown in FIG. The data management information 313 stored in the online storage device 31 is the same as the data management information 303. The data management information 303 includes a record in which the type information 3030 and the data identification information 3031 are associated with each other. The data identification information 3031 is an identifier that can identify individual data stored in the online storage device 30, and is, for example, a file name of the data. The type information 3030 is information indicating a type related to data identified by the data identification information 3031. In the case of the example shown in FIG. 10, the data stored in the online storage device 30 is classified into types such as “journal data”, restore data “, and“ journal data acquisition status information ”.

ジャーナル転送部13は、ジャーナルデータを、オンラインストレージ装置30あるいは31に格納した際に、係るジャーナルデータを識別可能な識別情報と、“ジャーナルデータ”であることを示す種別情報とを関連付けたレコードを、データ管理情報303あるいは313に追加する。   When the journal transfer unit 13 stores the journal data in the online storage device 30 or 31, the journal transfer unit 13 stores a record in which identification information that can identify the journal data is associated with type information that indicates “journal data”. , Added to the data management information 303 or 313.

ジャーナル転送部13は、更新データ120を包含するジャーナルデータをオンラインストレージ装置30あるいは31に格納したのち、更新データ記憶部12から更新データ120を削除する。   The journal transfer unit 13 deletes the update data 120 from the update data storage unit 12 after storing the journal data including the update data 120 in the online storage device 30 or 31.

リストアデータ取得部14は、ホスト計算機100がリモートストレージ装置20が記憶しているバックアップデータ21における少なくとも一部のデータについてマスタデータ11にリストアすることを指示した際に、オンラインストレージ装置30及び31の少なくとも何れかに格納されたリストアデータ301乃至311を取得する。リストアデータ301乃至311は、ホスト計算機100からの指示を受けて、リモートストレージ装置20により、オンラインストレージ装置30及び31に格納されている。   When the restore data acquisition unit 14 instructs the host computer 100 to restore at least a part of the backup data 21 stored in the remote storage device 20 to the master data 11, the online storage devices 30 and 31 Restore data 301 to 311 stored in at least one of them is acquired. The restore data 301 to 311 are stored in the online storage devices 30 and 31 by the remote storage device 20 in response to an instruction from the host computer 100.

リストアデータ301の構成例を図6に示す。尚、リストアデータ311の構成も、リストアデータ301と同様である。図6に示す通り、リストアデータ301は、マスタストレージ識別情報3010、アドレス3011、及び、データ3012−1乃至nを包含している。マスタストレージ識別情報3010は、マスタストレージ装置10を識別可能な識別子である。   A configuration example of the restore data 301 is shown in FIG. The configuration of the restore data 311 is the same as that of the restore data 301. As shown in FIG. 6, the restore data 301 includes master storage identification information 3010, an address 3011, and data 3012-1 to n. The master storage identification information 3010 is an identifier that can identify the master storage device 10.

リストアデータ取得部14は、リストアデータ301乃至311を取得するにあたり、オンラインストレージ装置30及び31が記憶しているデータ管理情報303及び313を参照する。リストアデータ取得部14は、データ管理情報303及び313における種別情報が示す値が“リストアデータ”であるレコードにおけるデータ識別情報により識別されるリストアデータを取得する。   The restore data acquisition unit 14 refers to the data management information 303 and 313 stored in the online storage devices 30 and 31 when acquiring the restore data 301 to 311. The restore data acquisition unit 14 acquires the restore data identified by the data identification information in the record whose value indicated by the type information in the data management information 303 and 313 is “restore data”.

リストアデータ取得部14は、リストアデータを取得したのち、係るリストアデータを、オンラインストレージ装置30及び31から削除する。リストアデータ取得部14は、係るリストアデータを、リストアデータ反映部15へ入力する。   After acquiring the restore data, the restore data acquisition unit 14 deletes the restore data from the online storage devices 30 and 31. The restore data acquisition unit 14 inputs the restore data to the restore data reflection unit 15.

リストアデータ反映部15は、マスタデータ11における係るリストアデータが示すアドレスに、係るリストアデータが包含するデータを書き込むことにより、当該リストアデータの内容を、マスタデータ11に反映する。   The restore data reflecting unit 15 reflects the contents of the restore data in the master data 11 by writing the data included in the restore data at the address indicated by the restore data in the master data 11.

差分データ変換部16は、更新データ記憶部12に記憶された更新データ120に関するデータ量を監視する。そして、差分データ変換部16は、係るデータ量が所定の閾値に達した場合に、更新データ120の少なくとも一部である所定のデータ量のデータを、更新データ記憶部12から、差分データ記憶部17へ移動する。この際、差分データ変換部16は、更新データ記憶部12から移動する更新データを、差分データ170に変換して、差分データ記憶部17に格納する。尚、差分データ変換部16は、係るデータ量が所定の閾値に達していなくとも、一定時間間隔で上述の処理を実行するようにしてもよい。   The difference data conversion unit 16 monitors the amount of data related to the update data 120 stored in the update data storage unit 12. Then, when the data amount reaches a predetermined threshold, the difference data conversion unit 16 transfers data of a predetermined data amount that is at least part of the update data 120 from the update data storage unit 12 to the difference data storage unit. Move to 17. At this time, the difference data conversion unit 16 converts the update data moved from the update data storage unit 12 into the difference data 170 and stores it in the difference data storage unit 17. Note that the difference data conversion unit 16 may execute the above-described processing at regular time intervals even when the data amount does not reach the predetermined threshold.

差分データ170は、アドレスごとに最新の更新データを示したデータである。すなわち、差分データ変換部16は、更新データ記憶部12から移動する更新データが、同一アドレスについて更新が発生した時間が異なる2以上のデータを包含している場合は、当該アドレスに関する最新の更新データを差分データ170として、差分データ記憶部17に格納する。差分データ170は、更新データ120と同様に、ジャーナル転送部13により、ジャーナルデータ300あるいは310として、オンラインストレージ装置30あるいは31に格納される。   The difference data 170 is data indicating the latest update data for each address. That is, if the update data moved from the update data storage unit 12 includes two or more pieces of data with different update times for the same address, the difference data conversion unit 16 updates the latest update data related to the address. Is stored in the difference data storage unit 17 as difference data 170. Similar to the update data 120, the difference data 170 is stored in the online storage device 30 or 31 as the journal data 300 or 310 by the journal transfer unit 13.

リモートストレージ装置20は、ジャーナル取得部22、ジャーナル反映部23、及び、リストアデータ転送部24を備えている。リモートストレージ装置20は、また、バックアップデータ21、及び、リモートジャーナル管理テーブル25を、所定の記憶領域に記憶している。ジャーナル取得部22、ジャーナル反映部23、及び、リストアデータ転送部24は、電子回路の場合もあれば、コンピュータプログラムとそのコンピュータプログラムに従って動作するプロセッサによって実現される場合もある。   The remote storage device 20 includes a journal acquisition unit 22, a journal reflection unit 23, and a restore data transfer unit 24. The remote storage device 20 also stores backup data 21 and a remote journal management table 25 in a predetermined storage area. The journal acquisition unit 22, the journal reflection unit 23, and the restore data transfer unit 24 may be electronic circuits or may be realized by a computer program and a processor that operates according to the computer program.

ジャーナル取得部22は、所定の時間に、オンラインストレージ装置30及び31が記憶しているデータ管理情報303及び313を参照する。ジャーナル取得部22は、係る参照動作を定期的に行ってもよいし、システム管理者からの指示を契機に行ってもよい。ジャーナル取得部22は、データ管理情報303及び313における種別情報が示す値が“ジャーナルデータ”であるレコードにおけるデータ識別情報により識別されるジャーナルデータを検出する。   The journal acquisition unit 22 refers to the data management information 303 and 313 stored in the online storage devices 30 and 31 at a predetermined time. The journal acquisition unit 22 may periodically perform the reference operation or may be triggered by an instruction from the system administrator. The journal acquisition unit 22 detects journal data identified by data identification information in a record whose value indicated by the type information in the data management information 303 and 313 is “journal data”.

ジャーナル取得部22は、検出されたジャーナルデータ300及び310が、未取得のジャーナルデータであるか否かを確認する。未取得であるか否かを判定する方法の一つとして、ジャーナル取得部22は、検出されたジャーナルデータ300及び310に関するデータ識別情報の一覧情報を、データ管理情報303及び313を参照するたびに記憶しておく。そして、ジャーナル取得部22は、前回の一覧情報にはないデータ識別情報により識別されるジャーナルデータ300及び310を、新たにオンラインストレージ装置30及び31に格納された未取得のジャーナルデータであると判定する。   The journal acquisition unit 22 confirms whether or not the detected journal data 300 and 310 is unacquired journal data. As one of the methods for determining whether or not it is unacquired, the journal acquisition unit 22 refers to the data management information 303 and 313 for list information of data identification information related to the detected journal data 300 and 310. Remember. Then, the journal acquisition unit 22 determines that the journal data 300 and 310 identified by the data identification information not included in the previous list information is unacquired journal data newly stored in the online storage devices 30 and 31. To do.

ジャーナル取得部22は、未取得であるジャーナルデータ300及び310を、オンラインストレージ装置30及び31から取得する。ジャーナル取得部22は、当該ジャーナルデータを取得したことを、当該ジャーナルデータに関する取得元であるオンラインストレージ装置におけるジャーナルデータ取得状況情報に反映する。   The journal acquisition unit 22 acquires unacquired journal data 300 and 310 from the online storage devices 30 and 31. The journal acquisition unit 22 reflects the acquisition of the journal data in the journal data acquisition status information in the online storage apparatus that is the acquisition source related to the journal data.

オンラインストレージ装置30が記憶するジャーナルデータ取得状況情報302の構成例を図7に示す。尚、オンラインストレージ装置31が記憶するジャーナルデータ取得状況情報312も、ジャーナルデータ取得状況情報302と同様である。ジャーナルデータ取得状況情報302は、マスタストレージ識別情報3020と、更新順序情報3021と、リモートストレージ識別情報3022と、を関連付けた情報である。   A configuration example of the journal data acquisition status information 302 stored in the online storage device 30 is shown in FIG. The journal data acquisition status information 312 stored in the online storage device 31 is the same as the journal data acquisition status information 302. The journal data acquisition status information 302 is information in which master storage identification information 3020, update order information 3021, and remote storage identification information 3022 are associated with each other.

マスタストレージ識別情報3020は、マスタストレージ装置10を識別可能な識別子である。更新順序情報3021は、ジャーナルデータ300における更新順序情報3001に対応する。リモートストレージ識別情報3022は、更新順序情報3021により識別されるジャーナルデータ300を取得したリモートストレージ装置を識別可能な識別子である。すなわち、ジャーナルデータ取得状況情報302は、特定のジャーナルデータ300について、いずれのリモートストレージ装置が取得済みであるかを管理する情報である。したがって、リモートストレージ装置が1つしかないレプリケーション制御システムについては、ジャーナルデータ取得状況情報302を必要としない。本実施形態に係るレプリケーション制御システム1について、図1において、1つのリモートストレージ装置20しか示していないが、ここでは、レプリケーション制御システム1が複数のリモートストレージ装置を有するものとする。   The master storage identification information 3020 is an identifier that can identify the master storage device 10. The update order information 3021 corresponds to the update order information 3001 in the journal data 300. The remote storage identification information 3022 is an identifier that can identify the remote storage device that has acquired the journal data 300 identified by the update order information 3021. That is, the journal data acquisition status information 302 is information for managing which remote storage device has been acquired for the specific journal data 300. Therefore, the journal data acquisition status information 302 is not required for a replication control system having only one remote storage device. Although only one remote storage device 20 is shown in FIG. 1 for the replication control system 1 according to the present embodiment, it is assumed here that the replication control system 1 has a plurality of remote storage devices.

ジャーナル取得部22は、例えば、オンラインストレージ装置30から未取得であるジャーナルデータ300を取得した場合、ジャーナルデータ取得状況情報302における、当該ジャーナルデータに関するリモートストレージ識別情報3022に、リモートストレージ装置20を識別可能な識別子を登録する。   For example, when the journal acquisition unit 22 acquires journal data 300 that has not been acquired from the online storage device 30, the journal acquisition unit 22 identifies the remote storage device 20 in the remote storage identification information 3022 related to the journal data in the journal data acquisition status information 302. Register possible identifiers.

そして、ジャーナル取得部22は、当該ジャーナルデータに関するリモートストレージ識別情報3022を参照し、当該ジャーナルデータが、全てのリモートストレージ装置において取得済みであるか否かを確認する。ジャーナル取得部22は、当該ジャーナルデータが、全てのリモートストレージ装置において取得済みである場合、当該ジャーナルデータを、オンラインストレージ装置から削除する。ジャーナル取得部22は、当該ジャーナルデータを、ジャーナル反映部23へ入力する。   Then, the journal acquisition unit 22 refers to the remote storage identification information 3022 related to the journal data, and confirms whether or not the journal data has been acquired in all remote storage apparatuses. If the journal data has been acquired in all remote storage devices, the journal acquisition unit 22 deletes the journal data from the online storage device. The journal acquisition unit 22 inputs the journal data to the journal reflection unit 23.

ジャーナル反映部23は、ジャーナル取得部22から当該ジャーナルデータを入手したのち、当該ジャーナルデータを入手したことを、リモートジャーナル管理テーブル25に反映する。リモートジャーナル管理テーブル25の構成例を図9に示す。   After acquiring the journal data from the journal acquisition unit 22, the journal reflection unit 23 reflects the acquisition of the journal data in the remote journal management table 25. A configuration example of the remote journal management table 25 is shown in FIG.

リモートジャーナル管理テーブル25は、ジャーナル取得部22によって取得したジャーナルデータ300及び310を管理する情報であり、更新順序情報250と、取得元オンラインストレージ識別情報251とを関連付けたレコードを包含している。取得元オンラインストレージ識別情報251は、オンラインストレージ装置30及び31を識別可能な識別子である。更新順序情報250は、ジャーナルデータ300における更新順序情報3001に対応する。図9に示すリモートジャーナル管理テーブル25は、リモートストレージ装置20が、更新順序情報が示す値が“1000”及び“1002”であるジャーナルデータ300を、オンラインストレージ装置30から取得済みであることを示している。また、この場合、リモートジャーナル管理テーブル25は、更新順序情報が示す値が“1001”であるジャーナルデータ310を取得できていないため、取得済みである、更新順序情報が示す値が“1002”であるジャーナルデータ300を、バックアップデータ21に反映させることができないことを示している。   The remote journal management table 25 is information for managing the journal data 300 and 310 acquired by the journal acquisition unit 22 and includes a record in which the update order information 250 and the acquisition source online storage identification information 251 are associated with each other. The acquisition source online storage identification information 251 is an identifier that can identify the online storage devices 30 and 31. The update order information 250 corresponds to the update order information 3001 in the journal data 300. The remote journal management table 25 shown in FIG. 9 indicates that the remote storage device 20 has already acquired the journal data 300 whose values indicated by the update order information are “1000” and “1002” from the online storage device 30. ing. In this case, since the remote journal management table 25 has not acquired the journal data 310 whose value indicated by the update order information is “1001”, the value indicated by the update order information that has been acquired is “1002”. This indicates that some journal data 300 cannot be reflected in the backup data 21.

ジャーナル反映部23は、リモートジャーナル管理テーブル25が示す情報を基に、ジャーナル取得部22から入手した当該ジャーナルデータが包含する更新順序情報が示す値よりも順番が先(前)であるジャーナルデータの内容が、全てバックアップデータ21に反映されているか否かを確認する。リモートジャーナル管理テーブル25において、当該ジャーナルデータが包含する更新順序情報が示す値よりも順番が先であるジャーナルデータが全て取得できている場合、ジャーナル反映部23は、当該ジャーナルデータの内容を、バックアップデータ21に反映する。リモートジャーナル管理テーブル25において、当該ジャーナルデータが包含する更新順序情報が示す値よりも順番が先であるジャーナルデータの少なくとも一部が取得できていない場合、ジャーナル反映部23は、当該ジャーナルデータの内容に関するバックアップデータ21への反映を保留する。   Based on the information indicated by the remote journal management table 25, the journal reflection unit 23 sets the journal data whose order is earlier (preceding) than the value indicated by the update order information included in the journal data acquired from the journal acquisition unit 22. It is confirmed whether or not all the contents are reflected in the backup data 21. In the remote journal management table 25, when all the journal data whose order is earlier than the value indicated by the update order information included in the journal data has been acquired, the journal reflection unit 23 backs up the contents of the journal data. This is reflected in the data 21. In the remote journal management table 25, when at least part of the journal data whose order is earlier than the value indicated by the update order information included in the journal data cannot be acquired, the journal reflection unit 23 describes the contents of the journal data. The reflection to the backup data 21 is suspended.

リストアデータ転送部24は、ホスト計算機100がバックアップデータ21における少なくとも一部のデータについてマスタデータ11にリストアすることを指示した際に、バックアップデータ21から、マスタデータ11に対してリストアする部分のデータを取得する。リストアデータ転送部24は、当該部分のアドレス及びデータに対してマスタストレージ識別情報を付与したリストアデータ301及び311を生成し、オンラインストレージ装置30乃至31の少なくとも何れかに格納する。   When the host computer 100 instructs the master data 11 to restore at least part of the data in the backup data 21, the restore data transfer unit 24 restores data from the backup data 21 to the master data 11. To get. The restore data transfer unit 24 generates restore data 301 and 311 in which master storage identification information is added to the address and data of the relevant part, and stores them in at least one of the online storage devices 30 to 31.

リストアデータ転送部24は、リストアデータを、オンラインストレージ装置30及び31に格納した際に、係るリストアデータを識別可能な識別情報と、“リストアデータ”であることを示す種別情報とを関連付けたレコードを、データ管理情報303及び313に追加する。   When the restore data transfer unit 24 stores the restore data in the online storage devices 30 and 31, the record in which the identification information that can identify the restore data is associated with the type information that indicates “restore data” Is added to the data management information 303 and 313.

次に図2のフローチャートを参照して、本実施形態に係るレプリケーション制御システム1がマスタストレージ装置10からオンラインストレージ装置30乃至31へ、ジャーナルデータを格納する動作(処理)について詳細に説明する。   Next, with reference to the flowchart of FIG. 2, an operation (process) in which the replication control system 1 according to the present embodiment stores journal data from the master storage device 10 to the online storage devices 30 to 31 will be described in detail.

ジャーナル転送部13は、更新データ記憶部12から、更新データ120を取得する(ステップS101)。ジャーナル転送部13は、更新データ120に対して、マスタストレージ情報及び更新順序情報を付与したジャーナルデータを生成し、当該ジャーナルデータを、オンラインストレージ装置30乃至31の少なくともいずれかに格納する(ステップS102)。   The journal transfer unit 13 acquires the update data 120 from the update data storage unit 12 (step S101). The journal transfer unit 13 generates journal data with master storage information and update order information added to the update data 120, and stores the journal data in at least one of the online storage devices 30 to 31 (step S102). ).

ジャーナル転送部13は、マスタジャーナル管理テーブル18を更新する(ステップS103)。ジャーナル転送部13は、ジャーナルデータを格納したオンラインストレージ装置におけるデータ管理情報を更新する(ステップS104)。ジャーナル転送部13は、更新データ記憶部12から、オンラインストレージ装置への格納が完了した更新データ120を削除し(ステップS105)、全体の処理は終了する。   The journal transfer unit 13 updates the master journal management table 18 (step S103). The journal transfer unit 13 updates the data management information in the online storage device that stores the journal data (step S104). The journal transfer unit 13 deletes the update data 120 that has been stored in the online storage device from the update data storage unit 12 (step S105), and the entire process ends.

次に図3A乃至3Bのフローチャートを参照して、本実施形態に係るレプリケーション制御システム1がオンラインストレージ装置30乃至31から取得したジャーナルデータをリモートストレージ装置20におけるバックアップデータ21に反映する動作(処理)について詳細に説明する。   Next, referring to the flowcharts of FIGS. 3A to 3B, the operation (process) in which the replication control system 1 according to the present embodiment reflects the journal data acquired from the online storage devices 30 to 31 to the backup data 21 in the remote storage device 20. Will be described in detail.

ジャーナル取得部22は、オンラインストレージ装置30乃至31の少なくともいずれかに格納されたジャーナルデータにおいて、未取得であるジャーナルデータがあるか否かを確認する(ステップS201)。未取得であるジャーナルデータが存在しない場合(ステップS202でNo)、全体の処理は終了する。未取得であるジャーナルデータが存在する場合(ステップS202でYes)、ジャーナル取得部22は、未取得であるジャーナルデータを、オンラインストレージ装置30乃至31の少なくともいずれかから取得する(ステップS203)。   The journal acquisition unit 22 checks whether there is unacquired journal data in the journal data stored in at least one of the online storage devices 30 to 31 (step S201). If there is no unacquired journal data (No in step S202), the entire process ends. If unacquired journal data exists (Yes in step S202), the journal acquisition unit 22 acquires unacquired journal data from at least one of the online storage devices 30 to 31 (step S203).

ジャーナル取得部22は、当該ジャーナルデータに関する取得元であるオンラインストレージ装置におけるジャーナルデータ取得状況情報を更新したのち、当該ジャーナルデータが、全てのリモートストレージ装置において取得済であるか否かを確認する(ステップS204)。全てのリモートストレージ装置が当該ジャーナルデータを取得済みである場合(ステップS205でYes)、ジャーナル取得部22は、当該ジャーナルデータを、オンラインストレージ装置から削除する(ステップS206)。全てのリモートストレージ装置が当該ジャーナルデータを取得済みではない場合(ステップS205でNo)、処理はステップS207へ進む。   The journal acquisition unit 22 updates the journal data acquisition status information in the online storage device that is the acquisition source for the journal data, and then confirms whether or not the journal data has been acquired in all remote storage devices ( Step S204). When all the remote storage devices have acquired the journal data (Yes in Step S205), the journal acquisition unit 22 deletes the journal data from the online storage device (Step S206). If all the remote storage devices have not acquired the journal data (No in step S205), the process proceeds to step S207.

ジャーナル取得部22は、当該ジャーナルデータをジャーナル反映部23へ入力する(ステップS207)。ジャーナル反映部23は、リモートジャーナル管理テーブル25を更新する(ステップS208)。ジャーナル反映部23は、リモートジャーナル管理テーブル25を参照し、当該ジャーナルデータが包含する更新順序情報が示す値よりも順番が先であるジャーナルデータの内容が、全てバックアップデータ21に反映されているか否かを確認する(ステップS209)。   The journal acquisition unit 22 inputs the journal data to the journal reflection unit 23 (step S207). The journal reflection unit 23 updates the remote journal management table 25 (step S208). The journal reflection unit 23 refers to the remote journal management table 25, and whether or not the contents of the journal data whose order is earlier than the value indicated by the update order information included in the journal data is reflected in the backup data 21. (Step S209).

全てバックアップデータ21に反映されている場合(ステップS210でYes)、ジャーナル反映部23は、当該ジャーナルデータの内容を、バックアップデータ21に反映し(ステップS211)、全体の処理は終了する。全てバックアップデータ21に反映されてはいない場合(ステップS210でNo)、全体の処理は終了する。   When all the data is reflected in the backup data 21 (Yes in Step S210), the journal reflection unit 23 reflects the contents of the journal data in the backup data 21 (Step S211), and the entire process ends. If not all is reflected in the backup data 21 (No in step S210), the entire process ends.

次に図4のフローチャートを参照して、本実施形態に係るレプリケーション制御システム1がリモートストレージ装置20からマスタストレージ装置10へ、リストアデータを格納する動作(処理)について詳細に説明する。   Next, with reference to a flowchart of FIG. 4, an operation (process) in which the replication control system 1 according to the present embodiment stores restore data from the remote storage apparatus 20 to the master storage apparatus 10 will be described in detail.

リストアデータ転送部24は、バックアップデータ21から、マスタデータ11に対してリストアする部分のデータを取得し、当該部分のアドレス及びデータに対してマスタストレージ識別情報を付与したリストアデータを生成し、オンラインストレージ装置30乃至31の少なくとも何れかに格納する(ステップS301)。リストアデータ転送部24は、リストアデータを格納したオンラインストレージ装置におけるデータ管理情報を更新する(ステップS302)。   The restore data transfer unit 24 acquires from the backup data 21 data to be restored to the master data 11, generates restore data in which master storage identification information is assigned to the address and data of the part, and restores the online data. The data is stored in at least one of the storage devices 30 to 31 (step S301). The restore data transfer unit 24 updates the data management information in the online storage device that stores the restore data (step S302).

リストアデータ取得部14は、データ管理情報303乃至313を参照したのち、オンラインストレージ装置30乃至31の少なくとも何れかに格納された当該リストアデータを取得する(ステップS303)。リストアデータ取得部14は、当該リストアデータを、オンラインストレージ装置から削除する(ステップS304)。リストアデータ取得部14は、当該リストアデータをリストアデータ反映部15へ入力する(ステップS305)。リストアデータ反映部15は、当該リストアデータの内容を、マスタデータ11に反映し(ステップS306)、全体の処理は終了する(ステップS307)。   The restore data acquisition unit 14 refers to the data management information 303 to 313, and then acquires the restore data stored in at least one of the online storage devices 30 to 31 (step S303). The restore data acquisition unit 14 deletes the restore data from the online storage device (step S304). The restore data acquisition unit 14 inputs the restore data to the restore data reflection unit 15 (step S305). The restore data reflecting unit 15 reflects the contents of the restore data in the master data 11 (step S306), and the entire process ends (step S307).

本実施形態に係るレプリケーション制御システム1は、メインサイトが被災した場合におけるデータロスト、及び、ホスト計算機に関する応答性能低下を回避したリモートサイトへのデータのバックアップ処理を、低コストで行うことができる。その理由は、マスタストレージ装置10が、マスタデータ11に関する更新データ120に更新順番を付与したジャーナルデータ300乃至310をオンラインストレージ装置30乃至31に格納し、リモートストレージ装置20が、オンラインストレージ装置30乃至31からジャーナルデータ300乃至310を取得して、係る更新順番にしたがって、更新データ120をバックアップデータ21に反映するからである。   The replication control system 1 according to the present embodiment can perform data loss processing when the main site is damaged and data backup processing to a remote site avoiding a decrease in response performance related to the host computer at a low cost. The reason is that the master storage device 10 stores the journal data 300 to 310 in which the update order is added to the update data 120 related to the master data 11 in the online storage devices 30 to 31, and the remote storage device 20 stores the online storage devices 30 to 30. This is because the journal data 300 to 310 are acquired from the data 31 and the update data 120 is reflected in the backup data 21 according to the update order.

ディザスタリカバリシステム等のシステムにおいては、マスタデータをバックアップデータにバックアップする処理を行う際に、データロスト、及び、ホスト計算機に関する応答性能低下が発生しないことが求められる。マスタサイトからリモートサイトに対して、マスタデータに関する更新データを、直接リモートサイトに送信した場合、ネットワークにおける遅延あるいは障害の発生により、データロスト、及び、ホスト計算機に関する応答性能低下が発生する虞がある。   In a system such as a disaster recovery system, when performing a process of backing up master data to backup data, it is required that the response performance regarding the data lost and the host computer does not deteriorate. When update data related to master data is directly sent from the master site to the remote site, there is a risk that the response performance of the data lost and the host computer may be degraded due to delay or failure in the network. .

このような問題を解決するための技術として、マスタサイトとリモートサイトとの間に、更新データを一時的に格納するための中間サイトを設置する技術がある。しかしながら、この技術において、特殊な機能を有する専用のストレージ装置等を中間サイトにおいて使用した場合、システム構築に必要なコストが増加することになる。   As a technique for solving such a problem, there is a technique for installing an intermediate site for temporarily storing update data between a master site and a remote site. However, in this technology, when a dedicated storage device or the like having a special function is used at an intermediate site, the cost required for system construction increases.

これに対して、本実施形態に係るレプリケーション制御システム1は、マスタストレージ装置10(マスタサイト側)からリモートストレージ装置20(リモートサイト側)へ更新データを送信する際の中間サイトとして、クラウドストレージのような汎用のオンラインストレージ装置30乃至31を使用する。そして、マスタストレージ装置10におけるジャーナル転送部13と、リモートストレージ装置20におけるジャーナル取得部22及びジャーナル反映部23とが、上述した処理を行うことにより、このようなオンラインストレージ装置30乃至31を介した、マスタデータに関するバックアップ処理を行うことができる。これにより、本実施形態に係るレプリケーション制御システム1は、上記問題を解決したバックアップ処理を、低コストで行うことができる。   On the other hand, the replication control system 1 according to the present embodiment uses a cloud storage as an intermediate site when transmitting update data from the master storage device 10 (master site side) to the remote storage device 20 (remote site side). Such general-purpose online storage devices 30 to 31 are used. Then, the journal transfer unit 13 in the master storage device 10 and the journal acquisition unit 22 and the journal reflection unit 23 in the remote storage device 20 perform the above-described processing, thereby passing through such online storage devices 30 to 31. Backup processing related to master data can be performed. As a result, the replication control system 1 according to the present embodiment can perform backup processing that solves the above problems at low cost.

また、本実施形態に係るマスタストレージ装置10は、リストアデータ取得部14及びリストアデータ反映部15を備え、リモートストレージ装置20は、リストアデータ転送部24を備えている。そして、レプリケーション制御システム1は、バックアップデータ21からマスタデータ11へリストア処理を行う際にも、バックアップ処理を行うときと同様に、オンラインストレージ装置を使用する。したがって、本実施形態に係るレプリケーション制御システム1は、上記問題を解決したリストア処理を、低コストで行うことができる。   In addition, the master storage device 10 according to the present embodiment includes a restore data acquisition unit 14 and a restore data reflection unit 15, and the remote storage device 20 includes a restore data transfer unit 24. The replication control system 1 uses the online storage device when performing the restore process from the backup data 21 to the master data 11 as in the case of performing the backup process. Therefore, the replication control system 1 according to the present embodiment can perform the restoration processing that solves the above problems at low cost.

また、本実施形態に係るジャーナル取得部22は、ジャーナルデータ取得状況情報302乃至312を生成して更新する。そして、ジャーナル取得部22は、オンラインストレージ装置30乃至31に格納されたジャーナルデータ300乃至310が、リモートストレージ装置20等の全てのリモートストレージ装置に取得されたことを確認したのちに、ジャーナルデータ300乃至310を、オンラインストレージ装置30乃至31から削除する。したがって、本実施形態に係るレプリケーション制御システム1は、不必要になったジャーナルデータをオンラインストレージ装置から速やかに削除することにより、オンラインストレージ装置を有効活用することができる。   Further, the journal acquisition unit 22 according to the present embodiment generates and updates the journal data acquisition status information 302 to 312. The journal acquisition unit 22 confirms that the journal data 300 to 310 stored in the online storage devices 30 to 31 has been acquired by all the remote storage devices such as the remote storage device 20, and then the journal data 300. To 310 are deleted from the online storage devices 30 to 31. Therefore, the replication control system 1 according to the present embodiment can effectively use the online storage apparatus by quickly deleting unnecessary journal data from the online storage apparatus.

また、本実施形態に係るマスタストレージ装置10は、差分データ変換部16、及び、差分データ記憶部17を備えている。そして、差分データ変換部16は、更新データ記憶部12に記憶された更新データ120のデータ量が所定の閾値に達した場合、更新データ120を差分データ170に変換して、差分データ記憶部17に移動する。尚、差分データ170は、同一アドレスに関する更新データについては、最新のデータに上書きしたデータであるため、更新データ120よりもデータサイズが小さくなる。したがって、本実施形態に係るレプリケーション制御システム1は、ネットワークにおける障害等により、更新データ120が更新データ記憶部12に滞留するようなことが発生した場合であっても、更新データ120が更新データ記憶部12から溢れることを回避することができる。   Further, the master storage device 10 according to the present embodiment includes a difference data conversion unit 16 and a difference data storage unit 17. Then, when the data amount of the update data 120 stored in the update data storage unit 12 reaches a predetermined threshold, the difference data conversion unit 16 converts the update data 120 into the difference data 170, and the difference data storage unit 17 Move to. Note that the difference data 170 has the data size smaller than that of the update data 120 because the update data related to the same address is data overwritten on the latest data. Therefore, the replication control system 1 according to the present embodiment stores the update data 120 in the update data storage even when the update data 120 stays in the update data storage unit 12 due to a network failure or the like. Overflow from the portion 12 can be avoided.

さらに、本実施形態に係るレプリケーション制御システム1は、オンラインストレージ装置30乃至31に格納する、ジャーナルデータ、及び、リストアデータ等を、データ管理情報303乃至313を使用して管理する。オンラインストレージ装置30乃至31は、汎用のストレージ装置であるため、レプリケーション制御システム1以外のシステムに使用される場合もあり、レプリケーション制御システム1には関係のない多くのデータを格納している場合もある。このような場合、ジャーナル取得部22がジャーナルデータ300乃至310をサーチすること、及び、リストアデータ取得部14がリストアデータ301乃至311をサーチすることに時間を要する虞がある。しかしながら、本実施形態に係るレプリケーション制御システム1においては、ジャーナル取得部22、及び、リストアデータ取得部14は、データをサーチする際にデータ管理情報303乃至313を参照するため、目的のデータを速やかにサーチすることができる。   Furthermore, the replication control system 1 according to the present embodiment manages journal data, restore data, and the like stored in the online storage devices 30 to 31 using the data management information 303 to 313. Since the online storage devices 30 to 31 are general-purpose storage devices, they may be used for systems other than the replication control system 1 and may store a lot of data that is not related to the replication control system 1. is there. In such a case, there is a possibility that it takes time for the journal acquisition unit 22 to search the journal data 300 to 310 and for the restore data acquisition unit 14 to search the restore data 301 to 311. However, in the replication control system 1 according to the present embodiment, since the journal acquisition unit 22 and the restore data acquisition unit 14 refer to the data management information 303 to 313 when searching for data, the target data is quickly retrieved. To search.

<第2の実施形態>
図11は第2の実施形態のレプリケーション制御システム2の構成を概念的に示すブロック図である。
<Second Embodiment>
FIG. 11 is a block diagram conceptually showing the structure of the replication control system 2 of the second embodiment.

本実施形態のレプリケーション制御システム2は、マスタストレージ装置40、及び、1以上、例えば2個のリモートストレージ装置50乃至60を備えている。オンラインストレージ装置70乃至71は、例えばクラウドサービス等により一般ユーザに提供される汎用のストレージ装置である。   The replication control system 2 of this embodiment includes a master storage device 40 and one or more, for example, two remote storage devices 50 to 60. The online storage devices 70 to 71 are general-purpose storage devices provided to general users by a cloud service, for example.

マスタストレージ装置40は、更新データ記憶部42、及び、ジャーナル転送部43を備えている。更新データ記憶部42は、マスタデータ41について、特定のアドレスに位置するデータブロックに関する更新内容を示す更新データ420を、更新が発生した順番が識別可能に記憶する。ジャーナル転送部43は、更新データ420に対して係る順番を識別可能な識別子を付与し、更新データ420と係る識別子とを関連付けし、関連付けたジャーナルデータ700及び710を、オンラインストレージ装置70及び71の少なくとも何れかに格納する。   The master storage device 40 includes an update data storage unit 42 and a journal transfer unit 43. The update data storage unit 42 stores, for the master data 41, update data 420 indicating the update contents related to the data block located at a specific address so that the order in which the updates occurred can be identified. The journal transfer unit 43 assigns an identifier capable of identifying the order to the update data 420, associates the update data 420 with the identifier, and associates the associated journal data 700 and 710 with the online storage devices 70 and 71. Store at least one of them.

リモートストレージ装置50乃至60は、それぞれ、ジャーナル取得部52乃至62、及び、ジャーナル反映部53乃至63を備えている。ジャーナル取得部52乃至62は、オンラインストレージ装置70及び71の少なくとも何れかから、未取得であるジャーナルデータ700及び710を取得する。ジャーナル反映部53乃至63は、それぞれ、ジャーナル取得部52乃至62が取得したジャーナルデータ70及び71が包含する係る識別子が示す値を確認する。そして、ジャーナル反映部53乃至63は、確認したその値よりも順番が先であることを示す識別子に関連付けられた第一の更新データが、既にマスタデータ41の複製であるバックアップデータ51乃至61に反映されている場合に、当該ジャーナルデータが包含する第二の更新データを、バックアップデータ51乃至61に反映する。   The remote storage devices 50 to 60 include journal acquisition units 52 to 62 and journal reflection units 53 to 63, respectively. The journal acquisition units 52 to 62 acquire unacquired journal data 700 and 710 from at least one of the online storage devices 70 and 71. The journal reflection units 53 to 63 check the values indicated by the identifiers included in the journal data 70 and 71 acquired by the journal acquisition units 52 to 62, respectively. Then, the journal reflection units 53 to 63 transfer the first update data associated with the identifier indicating that the order is ahead of the confirmed value to the backup data 51 to 61 that is already a copy of the master data 41. If it is reflected, the second update data included in the journal data is reflected in the backup data 51 to 61.

本実施形態に係るレプリケーション制御システム2は、メインサイトが被災した場合におけるデータロスト、及び、ホスト計算機に関する応答性能低下を回避したリモートサイトへのデータのバックアップ処理を、低コストで行うことができる。その理由は、マスタストレージ装置40が、マスタデータ41に関する更新データ420に更新順番を付与したジャーナルデータ700乃至710をオンラインストレージ装置70乃至71に格納し、リモートストレージ装置50乃至60が、オンラインストレージ装置70乃至71からジャーナルデータ700乃至710を取得して、係る更新順番にしたがって、更新データ420をバックアップデータ51乃至61に反映するからである。   The replication control system 2 according to the present embodiment can perform data loss processing when the main site is damaged and data backup processing to a remote site avoiding a decrease in response performance related to the host computer at a low cost. The reason is that the master storage device 40 stores the journal data 700 to 710 obtained by assigning the update order to the update data 420 related to the master data 41 in the online storage devices 70 to 71, and the remote storage devices 50 to 60 This is because the journal data 700 to 710 are acquired from 70 to 71 and the update data 420 is reflected in the backup data 51 to 61 according to the update order.

<ハードウェア構成例>
上述した各実施形態において図1、及び、図11に示した各部は、専用のHW(電子回路)によって実現することができる。また、少なくとも更新データ記憶部12及び42における記憶制御機能、ジャーナル転送部13及び43、ジャーナル取得部22、52及び62、及び、ジャーナル反映部23、53及び63は、ソフトウェアプログラムの機能(処理)単位(ソフトウェアモジュール)と捉えることができる。但し、これらの図面に示した各部の区分けは、説明の便宜上の構成であり、実装に際しては、様々な構成が想定され得る。この場合のハードウェア環境の一例を、図12を参照して説明する。
<Hardware configuration example>
In each embodiment described above, each unit shown in FIG. 1 and FIG. 11 can be realized by a dedicated HW (electronic circuit). Further, at least the storage control function in the update data storage units 12 and 42, the journal transfer units 13 and 43, the journal acquisition units 22, 52 and 62, and the journal reflection units 23, 53 and 63 are functions (processing) of the software program. It can be understood as a unit (software module). However, the division of each part shown in these drawings is a configuration for convenience of explanation, and various configurations can be assumed for mounting. An example of the hardware environment in this case will be described with reference to FIG.

図12は、本発明の模範的な実施形態に係るマスタストレージ装置及びリモートストレージ装置を実行可能な情報処理装置900(コンピュータ)の構成を例示的に説明する図である。即ち、図12は、図1、及び、図11に示したマスタストレージ装置及びリモートストレージ装置を実現可能なコンピュータ(情報処理装置)の構成であって、上述した実施形態における各機能を実現可能なハードウェア環境を表す。   FIG. 12 is a diagram illustrating an exemplary configuration of an information processing apparatus 900 (computer) that can execute a master storage apparatus and a remote storage apparatus according to an exemplary embodiment of the present invention. That is, FIG. 12 shows a configuration of a computer (information processing apparatus) that can realize the master storage apparatus and the remote storage apparatus shown in FIGS. 1 and 11, and each function in the above-described embodiment can be realized. Represents the hardware environment.

図12に示した情報処理装置900は、CPU(Central_Processing_Unit)901、ROM(Read_Only_Memory)902、RAM(Random_Access_Memory)903、ハードディスク904(記憶装置)、外部装置との通信インタフェース905(Interface:以降、「I/F」と称する)、CD−ROM(Compact_Disc_Read_Only_Memory)等の記憶媒体907に格納されたデータを読み書き可能なリーダライタ908、及び、入出力インタフェース909を備え、これらの構成がバス906(通信線)を介して接続された一般的なコンピュータである。   The information processing apparatus 900 illustrated in FIG. 12 includes a CPU (Central_Processing_Unit) 901, a ROM (Read_Only_Memory) 902, a RAM (Random_Access_Memory) 903, a hard disk 904 (storage device), and a communication interface 905 (Interface: hereinafter “I”). / F ”), a reader / writer 908 capable of reading and writing data stored in a storage medium 907 such as a CD-ROM (Compact_Disc_Read_Only_Memory), and an input / output interface 909, which are configured as a bus 906 (communication line). It is a general computer connected via

そして、上述した実施形態を例に説明した本発明は、図12に示した情報処理装置900に対して、その実施形態の説明において参照したブロック構成図(図1、及び、図11)における更新データ記憶部12及び42における記憶制御機能、ジャーナル転送部13及び43、ジャーナル取得部22、52及び62、及び、ジャーナル反映部23、53及び63、或いはフローチャート(図2、図3A乃至3B、及び、図4)の機能を実現可能なコンピュータプログラムを供給した後、そのコンピュータプログラムを、当該ハードウェアのCPU901に読み出して解釈し実行することによって達成される。また、当該装置内に供給されたコンピュータプログラムは、読み書き可能な揮発性の記憶メモリ(RAM903)またはハードディスク904等の不揮発性の記憶デバイスに格納すれば良い。   The present invention described using the above-described embodiment as an example updates the information processing apparatus 900 illustrated in FIG. 12 in the block configuration diagrams (FIG. 1 and FIG. 11) referred to in the description of the embodiment. Storage control function in the data storage units 12 and 42, journal transfer units 13 and 43, journal acquisition units 22, 52 and 62, and journal reflection units 23, 53 and 63, or flowcharts (FIGS. 2, 3A to 3B and 4), a computer program capable of realizing the functions shown in FIG. 4) is supplied, and then the computer program is read into the CPU 901 of the hardware, interpreted, and executed. The computer program supplied to the apparatus may be stored in a readable / writable volatile storage memory (RAM 903) or a nonvolatile storage device such as the hard disk 904.

また、前記の場合において、当該ハードウェア内へのコンピュータプログラムの供給方法は、CD−ROM等の各種記憶媒体907を介して当該装置内にインストールする方法や、インターネット等の通信回線を介して外部よりダウンロードする方法等のように、現在では一般的な手順を採用することができる。そして、このような場合において、本発明は、係るコンピュータプログラムを構成するコード或いは、そのコードが格納された記憶媒体907によって構成されると捉えることができる。   In the above-described case, the computer program can be supplied to the hardware by a method of installing in the apparatus via various storage media 907 such as a CD-ROM, or an external method via a communication line such as the Internet. A general procedure can be adopted at present, such as a method of downloading more. In such a case, it can be understood that the present invention is configured by a code constituting the computer program or a storage medium 907 in which the code is stored.

以上、上述した実施形態を模範的な例として本発明を説明した。しかしながら、本発明は、上述した実施形態には限定されない。即ち、本発明は、本発明のスコープ内において、当業者が理解し得る様々な態様を適用することができる。   The present invention has been described above using the above-described embodiment as an exemplary example. However, the present invention is not limited to the above-described embodiment. That is, the present invention can apply various modes that can be understood by those skilled in the art within the scope of the present invention.

1 レプリケーション制御システム
10 マスタストレージ装置
11 マスタデータ
12 更新データ記憶部
120 更新データ
13 ジャーナル転送部
14 リストアデータ取得部
15 リストアデータ反映部
16 差分データ変換部
17 差分データ記憶部
170 差分データ
18 マスタジャーナル管理テーブル
180 更新順序情報
181 格納先オンラインストレージ識別情報
20 リモートストレージ装置
21 バックアップデータ
22 ジャーナル取得部
23 ジャーナル反映部
24 リストアデータ転送部
25 リモートジャーナル管理テーブル
250 更新順序情報
251 取得元オンラインストレージ識別情報
30乃至31 オンラインストレージ装置
300乃至310 ジャーナルデータ
3000 マスタストレージ識別情報
3001 更新順序情報
3002−1乃至m アドレス
3003−1乃至m データ
301乃至311 リストアデータ
3010 マスタストレージ識別情報
3011 アドレス
3012−1乃至n データ
302乃至312 ジャーナルデータ取得状況情報
3020 マスタストレージ識別情報
3021 更新順序情報
3022 リモートストレージ識別情報
303乃至313 データ管理情報
3030 種別情報
3031 データ識別情報
100乃至200 ホスト計算機
2 レプリケーション制御システム
40 マスタストレージ装置
41 マスタデータ
42 更新データ記憶部
420 更新データ
43 ジャーナル転送部
50乃至60 リモートストレージ装置
51乃至61 バックアップデータ
52乃至62 ジャーナル取得部
53乃至63 ジャーナル反映部
70乃至71 オンラインストレージ装置
700乃至710 ジャーナルデータ
900 情報処理装置
901 CPU
902 ROM
903 RAM
904 ハードディスク
905 通信インタフェース
906 バス
907 記憶媒体
908 リーダライタ
909 入出力インタフェース
DESCRIPTION OF SYMBOLS 1 Replication control system 10 Master storage apparatus 11 Master data 12 Update data storage part 120 Update data 13 Journal transfer part 14 Restore data acquisition part 15 Restore data reflection part 16 Differential data conversion part 17 Differential data storage part 170 Differential data 18 Master journal management Table 180 Update order information 181 Storage destination online storage identification information 20 Remote storage device 21 Backup data 22 Journal acquisition unit 23 Journal reflection unit 24 Restore data transfer unit 25 Remote journal management table 250 Update order information 251 Acquisition source online storage identification information 30 to 31 Online storage device 300 to 310 Journal data 3000 Master storage identification information 3001 New order information 3002-1 to m Address 3003-1 to m Data 301 to 311 Restore data 3010 Master storage identification information 3011 Address 3012-1 to n Data 302 to 312 Journal data acquisition status information 3020 Master storage identification information 3021 Update order information 3022 Remote storage identification information 303 to 313 Data management information 3030 Type information 3031 Data identification information 100 to 200 Host computer 2 Replication control system 40 Master storage device 41 Master data 42 Update data storage unit 420 Update data 43 Journal transfer unit 50 to 60 Remote Storage device 51 to 61 Backup data 52 to 62 Journal acquisition unit 53 to 63 Journal reflection 70 to 71-line storage device 700 through 710 journal data 900 information processing device 901 CPU
902 ROM
903 RAM
904 Hard disk 905 Communication interface 906 Bus 907 Storage medium 908 Reader / writer 909 Input / output interface

Claims (10)

マスタデータについて、特定のアドレスに位置するデータブロックに関する更新内容を示す更新データを、更新が発生した順番が識別可能に記憶する更新データ記憶手段と、
前記更新データに対して前記順番を識別可能な第一の識別子を付与し、前記更新データと前記識別子とを関連付けし、関連付けたジャーナルデータを、1以上のオンラインストレージ装置の少なくとも何れかに格納するジャーナル転送手段と、
を有するマスタストレージ装置と、
前記1以上のオンラインストレージ装置の少なくとも何れかから、未取得である前記ジャーナルデータを取得するジャーナル取得手段と、
前記ジャーナル取得手段が取得した前記ジャーナルデータが包含する前記第一の識別子が示す値よりも、前記順番が先であることを示す前記第一の識別子に関連付けられた第一の前記更新データが、既に前記マスタデータの複製であるバックアップデータに反映されている場合に、当該ジャーナルデータが包含する第二の前記更新データを、前記バックアップデータに反映するジャーナル反映手段と、
を有する1以上のリモートストレージ装置と、
を備えるレプリケーション制御システム。
Update data storage means for storing update data indicating update contents regarding a data block located at a specific address with respect to the master data so that the order in which the updates are generated can be identified;
A first identifier that can identify the order is assigned to the update data, the update data is associated with the identifier, and the associated journal data is stored in at least one of the one or more online storage devices. Journal transfer means;
A master storage device having
Journal acquisition means for acquiring the unacquired journal data from at least one of the one or more online storage devices;
The first update data associated with the first identifier indicating that the order is ahead of the value indicated by the first identifier included in the journal data acquired by the journal acquisition unit, A journal reflecting means for reflecting, in the backup data, the second update data included in the journal data, when already reflected in the backup data that is a copy of the master data;
One or more remote storage devices having:
Replication control system with
前記リモートストレージ装置は、
前記バックアップデータにおける特定のアドレスに位置するデータブロックに関する前記マスタデータへのリストア内容を示すリストアデータを、1以上の前記オンラインストレージ装置の少なくとも何れかに格納するリストアデータ転送手段
をさらに備え、
前記マスタストレージ装置は、
前記1以上のオンラインストレージ装置の少なくとも何れかから、前記リストアデータを取得するリストアデータ取得手段と、
前記リストアデータ取得手段が取得した前記リストアデータを、前記マスタデータに反映するリストアデータ反映手段と、
をさらに備える、
請求項1に記載のレプリケーション制御システム。
The remote storage device is
A restore data transfer means for storing, in at least one of the one or more online storage devices, restore data indicating a restore content to the master data relating to a data block located at a specific address in the backup data;
The master storage device
Restore data acquisition means for acquiring the restore data from at least one of the one or more online storage devices;
A restore data reflecting means for reflecting the restore data acquired by the restore data acquiring means to the master data;
Further comprising
The replication control system according to claim 1.
前記ジャーナル取得手段は、前記第一の識別子と、前記第一の識別子により識別される前記ジャーナルデータを取得した前記リモートストレージ装置を識別可能な第二の識別子と、を関連付けたジャーナルデータ取得状況情報を生成し、
前記ジャーナルデータ取得状況情報が、前記ジャーナルデータのうち、特定のジャーナルデータについて、全ての前記リモートストレージ装置が取得済みであることを示している場合に、前記特定のジャーナルデータを、前記オンラインストレージ装置から削除する、
請求項1または2に記載のレプリケーション制御システム。
The journal acquisition unit associates the first identifier with a second identifier that can identify the remote storage device that has acquired the journal data identified by the first identifier. Produces
When the journal data acquisition status information indicates that all the remote storage devices have been acquired for specific journal data among the journal data, the specific journal data is stored in the online storage device. Remove from
The replication control system according to claim 1 or 2.
前記マスタストレージ装置は、
同一アドレスに関する前記更新データについては、最新の前記更新データのみを格納する差分データ記憶手段と、
前記更新データ記憶手段に記憶された前記更新データに関するデータ量が、所定の閾値に達した場合に、前記更新データの少なくとも一部である所定のデータ量のデータを、アドレスごとに最新の前記更新データが格納されるように、前記更新データ記憶手段から前記差分データ記憶手段に移動する差分データ変換手段と、
をさらに備える、
請求項1乃至3のいずれかに記載のレプリケーション制御システム。
The master storage device
For the update data related to the same address, differential data storage means for storing only the latest update data,
When the amount of data related to the update data stored in the update data storage means reaches a predetermined threshold, the update of the predetermined data amount that is at least part of the update data is updated for each address. Differential data conversion means for moving from the update data storage means to the difference data storage means so that data is stored;
Further comprising
The replication control system according to any one of claims 1 to 3.
前記ジャーナル転送手段は、1以上の前記オンラインストレージ装置の少なくとも何れかに前記ジャーナルデータを格納する際に、当該オンラインストレージ装置に、データ管理情報として、データの種別を識別可能な第三の識別子と、前記ジャーナルデータを識別可能な第四の識別子を関連付けて登録し、
前記ジャーナル取得手段は、前記データ管理情報において、前記第三の識別子がジャーナルデータであることを示しているレコードにおける前記第四の識別子により識別される前記ジャーナルデータを取得する、
請求項1乃至4のいずれかに記載のレプリケーション制御システム。
When the journal transfer means stores the journal data in at least one of the one or more online storage devices, the online storage device has a third identifier capable of identifying the type of data as data management information; , Register and associate a fourth identifier that can identify the journal data;
The journal acquisition means acquires the journal data identified by the fourth identifier in a record indicating that the third identifier is journal data in the data management information.
The replication control system according to any one of claims 1 to 4.
前記リストアデータ転送手段は、1以上の前記オンラインストレージ装置の少なくとも何れかに前記リストアデータを格納する際に、当該オンラインストレージ装置に、前記データ管理情報として、前記第三の識別子と、前記リストアデータを識別可能な第五の識別子を関連付けて登録し、
前記リストアデータ取得手段は、前記データ管理情報において、前記第三の識別子がリストアデータであることを示しているレコードにおける前記第五の識別子により識別される前記リストアデータを取得する、
請求項2乃至5のいずれかに記載のレプリケーション制御システム。
The restore data transfer means stores the third identifier and the restore data as the data management information in the online storage device when storing the restore data in at least one of the one or more online storage devices. Is registered in association with a fifth identifier that can be identified,
The restore data acquisition means acquires the restore data identified by the fifth identifier in a record indicating that the third identifier is restore data in the data management information.
The replication control system according to any one of claims 2 to 5.
マスタストレージ装置によって、
マスタデータについて、特定のアドレスに位置するデータブロックに関する更新内容を示す更新データを、更新が発生した順番が識別可能に更新データ記憶手段に記憶し、
前記更新データに対して前記順番を識別可能な第一の識別子を付与し、前記更新データと前記識別子とを関連付けし、関連付けたジャーナルデータを、1以上のオンラインストレージ装置の少なくとも何れかに格納し、
1以上のリモートストレージ装置によって、
前記1以上のオンラインストレージ装置の少なくとも何れかから、未取得である前記ジャーナルデータを取得し、
取得した前記ジャーナルデータが包含する前記第一の識別子が示す値よりも、前記順番が先であることを示す前記第一の識別子に関連付けられた第一の前記更新データが、既に前記マスタデータの複製であるバックアップデータに反映されている場合に、当該ジャーナルデータが包含する第二の前記更新データを、前記バックアップデータに反映する、
レプリケーション制御方法。
Depending on the master storage device
For the master data, update data indicating the update contents regarding the data block located at a specific address is stored in the update data storage means so that the order in which the updates occurred can be identified,
A first identifier that can identify the order is assigned to the update data, the update data is associated with the identifier, and the associated journal data is stored in at least one of one or more online storage devices. ,
With one or more remote storage devices
Obtaining the unacquired journal data from at least one of the one or more online storage devices;
The first update data associated with the first identifier indicating that the order is ahead of the value indicated by the first identifier included in the acquired journal data is already in the master data. When reflected in backup data that is a duplicate, the second update data included in the journal data is reflected in the backup data.
Replication control method.
前記リモートストレージ装置によって、
前記バックアップデータにおける特定のアドレスに位置するデータブロックに関する前記マスタデータへのリストア内容を示すリストアデータを、1以上の前記オンラインストレージ装置の少なくとも何れかに格納し、
前記マスタストレージ装置によって、
前記1以上のオンラインストレージ装置の少なくとも何れかから、前記リストアデータを取得し、
取得した前記リストアデータを、前記マスタデータに反映する、
請求項7に記載のレプリケーション制御方法。
By the remote storage device,
Storing the restore data indicating the restore contents to the master data regarding the data block located at a specific address in the backup data in at least one of the one or more online storage devices;
By the master storage device,
Obtaining the restore data from at least one of the one or more online storage devices;
Reflect the acquired restore data to the master data.
The replication control method according to claim 7.
マスタデータについて、特定のアドレスに位置するデータブロックに関する更新内容を示す更新データを、更新が発生した順番が識別可能に更新データ記憶手段記憶する更新データ記憶処理と、
前記更新データに対して前記順番を識別可能な第一の識別子を付与し、前記更新データと前記識別子とを関連付けし、関連付けたジャーナルデータを、1以上のオンラインストレージ装置の少なくとも何れかに格納するジャーナル転送処理と、
をマスタストレージ装置に実行させ、
前記1以上のオンラインストレージ装置の少なくとも何れかから、未取得である前記ジャーナルデータを取得するジャーナル取得処理と、
前記ジャーナル取得処理が取得した前記ジャーナルデータが包含する前記第一の識別子が示す値よりも、前記順番が先であることを示す前記第一の識別子に関連付けられた第一の前記更新データが、既に前記マスタデータの複製であるバックアップデータに反映されている場合に、当該ジャーナルデータが包含する第二の前記更新データを、前記バックアップデータに反映するジャーナル反映処理と、
を1以上のリモートストレージ装置に実行させる、
レプリケーション制御プログラム。
Update data storage processing for storing update data indicating update contents regarding a data block located at a specific address with respect to master data, in which update data storage means stores the update data in an identifiable manner,
A first identifier that can identify the order is assigned to the update data, the update data is associated with the identifier, and the associated journal data is stored in at least one of the one or more online storage devices. Journal transfer processing,
To the master storage device,
Journal acquisition processing for acquiring the unacquired journal data from at least one of the one or more online storage devices;
The first update data associated with the first identifier indicating that the order is ahead of the value indicated by the first identifier included in the journal data acquired by the journal acquisition process, A journal reflection process for reflecting, in the backup data, the second update data included in the journal data, when already reflected in the backup data that is a copy of the master data;
To execute one or more remote storage devices,
Replication control program.
前記バックアップデータにおける特定のアドレスに位置するデータブロックに関する前記マスタデータへのリストア内容を示すリストアデータを、1以上の前記オンラインストレージ装置の少なくとも何れかに格納するリストアデータ転送処理
を1以上の前記リモートストレージ装置に実行させ、
前記1以上のオンラインストレージ装置の少なくとも何れかから、前記リストアデータを取得するリストアデータ取得処理と、
前記リストアデータ取得処理が取得した前記リストアデータを、前記マスタデータに反映するリストアデータ反映処理と、
を前記マスタストレージ装置に実行させる、
請求項9に記載のレプリケーション制御プログラム。
A restore data transfer process for storing restore data indicating a restore content to the master data relating to a data block located at a specific address in the backup data in at least one of the one or more online storage devices; Let the storage device execute
A restore data acquisition process for acquiring the restore data from at least one of the one or more online storage devices;
A restore data reflection process in which the restore data acquired by the restore data acquisition process is reflected in the master data;
To cause the master storage device to execute
The replication control program according to claim 9.
JP2014028219A 2014-02-18 2014-02-18 Replication control system, replication control method, and replication control program Active JP6287308B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014028219A JP6287308B2 (en) 2014-02-18 2014-02-18 Replication control system, replication control method, and replication control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014028219A JP6287308B2 (en) 2014-02-18 2014-02-18 Replication control system, replication control method, and replication control program

Publications (2)

Publication Number Publication Date
JP2015153280A true JP2015153280A (en) 2015-08-24
JP6287308B2 JP6287308B2 (en) 2018-03-07

Family

ID=53895419

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014028219A Active JP6287308B2 (en) 2014-02-18 2014-02-18 Replication control system, replication control method, and replication control program

Country Status (1)

Country Link
JP (1) JP6287308B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018169772A (en) * 2017-03-29 2018-11-01 日本電気株式会社 Disaster recovery system, disaster recovery method and program
JP2019144858A (en) * 2018-02-21 2019-08-29 Necプラットフォームズ株式会社 Storage system
JP2020149573A (en) * 2019-03-15 2020-09-17 Necプラットフォームズ株式会社 Storage controller, storage system, storage control method, and storage control program

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003122509A (en) * 2001-08-08 2003-04-25 Hitachi Ltd Remote copy control method, storage sub-system using it, and wide area data storage system using them
JP2006113783A (en) * 2004-10-14 2006-04-27 Hitachi Ltd Computer system
JP2007122117A (en) * 2005-10-25 2007-05-17 Hitachi Ltd Storage system and storage control method
JP2008181288A (en) * 2007-01-24 2008-08-07 Hitachi Ltd Remote copy system
JP2010026939A (en) * 2008-07-23 2010-02-04 Hitachi Ltd Storage control device and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003122509A (en) * 2001-08-08 2003-04-25 Hitachi Ltd Remote copy control method, storage sub-system using it, and wide area data storage system using them
JP2006113783A (en) * 2004-10-14 2006-04-27 Hitachi Ltd Computer system
JP2007122117A (en) * 2005-10-25 2007-05-17 Hitachi Ltd Storage system and storage control method
JP2008181288A (en) * 2007-01-24 2008-08-07 Hitachi Ltd Remote copy system
JP2010026939A (en) * 2008-07-23 2010-02-04 Hitachi Ltd Storage control device and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018169772A (en) * 2017-03-29 2018-11-01 日本電気株式会社 Disaster recovery system, disaster recovery method and program
JP2019144858A (en) * 2018-02-21 2019-08-29 Necプラットフォームズ株式会社 Storage system
JP2020149573A (en) * 2019-03-15 2020-09-17 Necプラットフォームズ株式会社 Storage controller, storage system, storage control method, and storage control program
JP7050707B2 (en) 2019-03-15 2022-04-08 Necプラットフォームズ株式会社 Storage control device, storage system, storage control method, and storage control program

Also Published As

Publication number Publication date
JP6287308B2 (en) 2018-03-07

Similar Documents

Publication Publication Date Title
US9600553B1 (en) Distributed replication in cluster environments
US8090917B2 (en) Managing storage and migration of backup data
US9128948B1 (en) Integration of deduplicating backup server with cloud storage
US8230185B2 (en) Method for optimizing cleaning of maps in FlashCopy cascades containing incremental maps
US9996421B2 (en) Data storage method, data storage apparatus, and storage device
US9354907B1 (en) Optimized restore of virtual machine and virtual disk data
JP2009205201A (en) Data backup method using de-duplication technique, storage control communication device and program
CN105027070A (en) Safety for volume operations
KR20170133866A (en) Apparatus and method for data migration
JP5686034B2 (en) Cluster system, synchronization control method, server device, and synchronization control program
JP6136629B2 (en) Storage control device, storage system, and control program
JP5018403B2 (en) BACKUP SYSTEM, SERVER DEVICE, BACKUP METHOD USED FOR THEM, AND PROGRAM THEREOF
CN111125021B (en) Method and system for efficiently restoring consistent views of file system images from an asynchronous remote system
CN106528338B (en) Remote data copying method, storage device and storage system
WO2011121905A1 (en) File storage device, data store method and data store program
CN106873902B (en) File storage system, data scheduling method and data node
KR20210040864A (en) File directory traversal method, apparatus, device, and medium
JP6287308B2 (en) Replication control system, replication control method, and replication control program
CN108604201B (en) Snapshot rollback method, device, storage controller and system
US11055013B2 (en) Recovering from data loss using copy services relationships between volumes
JP2006323663A (en) Information processing system, replication method, and difference information holding device and program
US10169441B2 (en) Synchronous data replication in a content management system
US10649862B1 (en) Reducing failback performance duration in data replication systems
US8595454B1 (en) System and method for caching mapping information for off-host backups
JP6237925B2 (en) Cluster system and cluster control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170116

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171027

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171107

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20171221

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20180109

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180122

R150 Certificate of patent or registration of utility model

Ref document number: 6287308

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150