JP4636008B2 - Data replication system, data replication method, data replication program - Google Patents
Data replication system, data replication method, data replication program Download PDFInfo
- Publication number
- JP4636008B2 JP4636008B2 JP2006311978A JP2006311978A JP4636008B2 JP 4636008 B2 JP4636008 B2 JP 4636008B2 JP 2006311978 A JP2006311978 A JP 2006311978A JP 2006311978 A JP2006311978 A JP 2006311978A JP 4636008 B2 JP4636008 B2 JP 4636008B2
- Authority
- JP
- Japan
- Prior art keywords
- volume
- replication
- master
- information
- master volume
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
本発明は、マスタボリュームと複製ボリュームの同期機能および分離機能を備えたデータレプリケーション技術に関し、特に同一のボリュームに由来する退避記憶媒体からマスタボリュームと複製ボリュームが復元されたときの同期化を即時に行うことができるレプリケーションシステム等に関する。 The present invention relates to a data replication technology having a synchronization function and a separation function of a master volume and a replication volume, and in particular, immediately synchronizes when a master volume and a replication volume are restored from a saved storage medium derived from the same volume. The present invention relates to a replication system that can be performed.
近年、インターネットを介した情報サービスの提供が日常化しており、企業では、オンライン業務の長時間連続運転と、夜間のバッチ処理やバックアップ処理とを両立させるニーズが高まってきている。これらのニーズに応える機能として、業務ボリュームの複製を作成し、複製したボリュームをバックアップなどの二次業務に利用可能とするデータレプリケーション機能がある。
データレプリケーション機能は、ストレージ装置に搭載され、あらかじめ設定されている複製元論理ディスク(マスタボリューム)と複製先論理ディスク(複製ボリューム)とのペア間でデータを複製する機能である。
In recent years, the provision of information services via the Internet has become commonplace, and there is an increasing need for businesses to achieve both long-term continuous operation of online operations and nighttime batch processing and backup processing. As a function that meets these needs, there is a data replication function that creates a copy of a transaction volume and makes the copied volume available for secondary operations such as backup.
The data replication function is a function that is installed in a storage device and replicates data between a pair of a replication source logical disk (master volume) and a replication destination logical disk (replication volume) that are set in advance.
データレプリケーション機能は、複製開始の指示(同期化指示)によってマスタボリュームと複製ボリュームを接続後、ペア間の複製処理を開始し、以降のマスタボリュームの更新内容を複製ボリュームに反映する。このマスタボリュームの更新が、自動的に複製ボリュームに反映されている状態を同期状態と呼ぶ。
また、複製停止の指示(分離指示)によって、マスタボリュームと複製ボリュームを分離し、同期状態にあるペアの複製処理を中断する。分離した複製ボリュームは、指示を受けた時点のマスタボリュームと同一内容となり、複製ボリュームは別目的で利用可能となる。
一度分離した後でも、再度、同期化を指示することにより(再同期化指示により)、同期化状態とすることが可能である。なお、再同期化の際は、高速かつ効率的に同期化状態とするため、分離したマスタボリュームと複製ボリュームの更新箇所をストレージ装置で管理し、更新差分のみを反映する方式が一般的である。
The data replication function starts the replication process between the pair after connecting the master volume and the replication volume according to the replication start instruction (synchronization instruction), and reflects the update contents of the subsequent master volume to the replication volume. A state in which this master volume update is automatically reflected in the replication volume is called a synchronization state.
Further, the master volume and the replication volume are separated by a replication stop instruction (separation instruction), and the replication processing of the pair in the synchronized state is interrupted. The separated replica volume has the same contents as the master volume at the time of receiving the instruction, and the replica volume can be used for another purpose.
Even after separation, it is possible to enter a synchronization state by instructing synchronization again (by a resynchronization instruction). When resynchronizing, in order to achieve a synchronized state quickly and efficiently, it is common to manage the update location of the separated master volume and replica volume with the storage device and reflect only the update difference. .
分離後の再同期化時に更新差分のみを反映する技術の一例が、特許文献1に記載されている。この文献に記載されたディスクアレイ装置は、分離中の業務ボリュームとコピーボリュームの更新を管理する更新履歴テーブルを設け、分離後の再同期化の際は両ボリュームの更新履歴テーブルの更新フラグの論理和を取ることによって更新差分を更新履歴テーブルに記載し、その後、この更新履歴テーブルを参照して更新差分のみを業務ボリュームからコピーボリュームへバックグラウンドでコピーを実施する。
An example of a technique that reflects only an update difference at the time of resynchronization after separation is described in
しかし、この従来技術には、次のような問題点があった。
第1の問題点としては、同一の退避媒体からマスタボリュームと複製ボリュームへ復元した場合などのように、明らかにマスタボリュームと複製ボリュームの内容が同一であっても、再同期化を実施すると、マスタボリュームから複製ボリュームへ全データがコピーされる点である。
その理由は、退避媒体から復元する際、すべてのデータ領域に対して書き込み処理が実施されるため、マスタボリュームと複製ボリュームは全領域が一致していないとみなされるためである。
However, this conventional technique has the following problems.
The first problem is that when resynchronization is performed even if the contents of the master volume and replica volume are clearly the same, such as when the master volume and replica volume are restored from the same save medium, All data is copied from the master volume to the replica volume.
The reason is that, when restoring from the save medium, write processing is performed on all data areas, so that the master volume and the replicated volume are regarded as not having the same area.
また、第2の問題点として、同一の退避媒体からマスタボリュームと複製ボリュームへ復元した場合などのように、明らかにマスタボリュームと複製ボリュームの内容が同一であっても、マスタボリュームと複製ボリュームが同期状態となるまでに多くの時間を要する点である。
その理由は、マスタボリュームから複製ボリュームへ全領域のデータがコピーされるためである。
In addition, as a second problem, even when the contents of the master volume and the replication volume are clearly the same as when the master volume and the replication volume are restored from the same save medium, the master volume and the replication volume are not It is a point that takes a lot of time to reach the synchronization state.
The reason is that data of the entire area is copied from the master volume to the replica volume.
本発明は、データレプリケーションシステムにおいて、マスタボリュームと複製ボリュームが明らかに同一内容であることが判明している場合の同期化処理を、高速かつ効率的に実施する方法等を提供することをその目的とする。 An object of the present invention is to provide a method for performing a synchronization process in a data replication system in a case where the master volume and the replicated volume are clearly identical in content, at high speed and efficiently. And
本発明の、データレプリケーションシステムは、マスタボリュームと複製ボリュームの記憶内容の同一性の判断の基礎となりかつマスタボリュームと複製ボリュームに記録されているファイルの更新時刻を示す更新タイムスタンプおよびマスタボリュームと複製ボリュームの分離が行われた時刻を示す分離タイムスタンプを含む同一性判断情報をマスタボリュームと複製ボリュームに書き込むボリュームアクセス手段と、同一性判断情報が記憶されている位置を含む比較範囲情報と共に同期化指示をボリューム同期化手段に通知するレプリケーション制御手段とを備えると共に、ボリュームアクセス手段は、ファイルの更新要求があったときにこの更新要求の対象のファイルの更新タイムスタンプを現在時刻で更新し、ボリューム同期化手段は、同期化指示を受信したときに比較範囲情報に示される範囲の記憶領域についてマスタボリュームと複製ボリュームに記憶されている更新タイムスタンプを含む情報を比較し、これらの情報が一致する場合にはマスタボリュームと複製ボリュームとの間の情報の複製を行うことなくマスタボリュームと複製ボリュームの同期化を完了する(請求項1ないし請求項5)。
The data replication system of the present invention is a basis for determining the identity of the storage contents of a master volume and a replica volume, and an update time stamp indicating the update time of a file recorded in the master volume and the replica volume, and the master volume, Synchronization with volume access means for writing identity determination information including separation time stamp indicating the time when the replication volume separation was performed to the master volume and the replication volume, and comparison range information including the position where the identity determination information is stored with obtaining Bei a replication control means for notifying of instruction to the volume synchronization means, volume access means, an update timestamp of the target file in the update request to update the current time when an update request for the file , volume synchronization means Compares the information including the range update timestamps for storage area and master volume stored in the copy volume as indicated in the comparison range information when receiving the synchronization instruction, when these information matches the master The synchronization of the master volume and the replica volume is completed without duplicating information between the volume and the replica volume (
上記データレプリケーションシステムによれば、マスタボリュームと複製ボリュームにはそれぞれ同一性判断情報がボリュームアクセス手段により書き込まれている。レプリケーション制御手段は、同一性判断情報が書き込まれている位置を含む比較範囲情報を同期化指示と共にボリューム同期化手段に通知する。ボリューム同期化手段は、比較範囲情報に示される範囲について二つのボリュームの記憶内容を比較し、これらが一致する場合、すなわち二つのボリュームの同一性判断情報が一致する場合には、ボリューム間のデータ複製を行うことなく同期化処理を終了する。
そのため、マスタボリュームと複製ボリュームの内容が同一である場合には、同期化処理を高速かつ効率的に行うことができる。また、ボリュームに記憶されているファイルの更新時刻を基準としてマスタボリュームと複製ボリュームの同一性を判断することができる。
According to the data replication system described above, identity determination information is written to the master volume and the replication volume by the volume access means. The replication control unit notifies the volume synchronization unit of the comparison range information including the position where the identity determination information is written together with the synchronization instruction. The volume synchronization means compares the storage contents of the two volumes for the range indicated by the comparison range information, and if they match, that is, if the identity determination information of the two volumes matches, the data between the volumes The synchronization process is terminated without duplication.
Therefore, when the contents of the master volume and the replication volume are the same, the synchronization process can be performed quickly and efficiently. Further, it is possible to determine the identity of the master volume and the replica volume based on the update time of the file stored in the volume.
上記データレプリケーションシステムにおいて、更新タイムスタンプは、マスタボリュームと複製ボリュームのVTOC(VolumeTable Of Contents)に書き込まれ、比較範囲情報は、VTOCの開始アドレスとVTOCの領域長を含むようにしてもよい(請求項2)。
このようにすれば、マスタボリュームと複製ボリュームのVTOC領域を比較するだけで、両ボリュームの同一性を判断することができる。
In the data replication system, modified timestamp is written to the master volume replication volume of VTOC (VolumeTable Of Contents), comparison range information may also include a region length of the start address and VTOC of VTOC (claim 2 ).
In this way, it is possible to determine the identity of both volumes only by comparing the VTOC areas of the master volume and replica volume.
上記データレプリケーションシステムにおいて、レプリケーション制御手段は、ボリュームアクセス手段を介して分離タイムスタンプを現在時刻で更新した後にボリューム分離手段に分離指示を通知するようにしてもよい(請求項3)。
このようにすれば、マスタボリュームと複製ボリュームの分離タイムスタンプが一致する場合は、両ボリュームの記憶内容が同一であるとみなすことができ、同一性の判定を迅速に行うことができる。
In the data replication system, replication control means may be configured to report the isolation instruction to the volume separating means after updating the separated time stamp with the current time through the volume access means (claim 3).
In this way, if the separation time stamps of the master volume and replica volume match, it can be assumed that the storage contents of both volumes are the same, and the identity can be quickly determined.
上記データレプリケーションシステムにおいて、分離タイムスタンプは、マスタボリュームと複製ボリュームのボリュームラベルに書き込まれ、比較範囲情報は、ボリュームラベルの開始アドレスとボリュームラベルの領域長を含むようにしてもよい(請求項4)。
このようにすれば、マスタボリュームと複製ボリュームのボリュームラベル領域を比較するだけで、両ボリュームの同一性を判断することができる。
In the data replication system, separation timestamp is written to the volume label of the copy volume to the master volume, the comparison range information may also include a region length of the start address and volume label of the volume label (claim 4).
In this way, it is possible to determine the identity of both volumes only by comparing the volume label areas of the master volume and replica volume.
上記データレプリケーションシステムにおいて、マスタボリュームまたは複製ボリュームに記憶された情報を退避記憶媒体に退避するボリューム退避手段と退避記憶媒体に記録された情報をマスタボリュームと複製ボリュームに復元するボリューム復元手段とを備え、ボリューム退避手段は、退避を行った時刻を示す退避時刻情報を退避記憶媒体に記録し、ボリューム復元手段は、退避記憶媒体に分離タイムスタンプが記憶されていない場合には、退避時刻情報を復元したマスタボリュームと復元した複製ボリュームの分離タイムスタンプとして書き込むようにしてもよい(請求項5)。
このようにすれば、マスタボリュームと複製ボリュームを退避記憶媒体から復元した場合の同期化処理を迅速に行うことができる。
The data replication system includes volume saving means for saving information stored in the master volume or replica volume to a save storage medium, and volume restoring means for restoring information recorded in the save storage medium to the master volume and replica volume. The volume saver records save time information indicating the save time on the save storage medium, and the volume restorer restores the save time information when no separation time stamp is stored in the save storage medium. It may be written as a separation time stamp between the master volume and the restored replica volume (claim 5 ).
In this way, the synchronization process when the master volume and the replicated volume are restored from the save storage medium can be quickly performed.
本発明の、データレプリケーション方法は、マスタボリュームと複製ボリュームの記憶内容の同一性の判断の基礎となりかつマスタボリュームと複製ボリュームに記録されているファイルの更新時刻を示す更新タイムスタンプおよびマスタボリュームと複製ボリュームの分離が行われた時刻を示す分離タイムスタンプを含む同一性判断情報をマスタボリュームと複製ボリュームに書き込む同一性判断情報書き込み工程と、同一性判断情報が記憶されている位置を含む比較範囲情報と共に同期化指示をマスタボリュームと複製ボリュームの同期させるボリューム同期化手段に通知する比較範囲情報通知工程と、同期化指示を受信したボリューム同期化手段が比較範囲情報に示される範囲の記憶領域についてマスタボリュームと複製ボリュームに記憶されている更新タイムスタンプを含む情報を比較し、これらの情報が一致する場合にはマスタボリュームと複製ボリュームとの間の情報の複製を行うことなくマスタボリュームと複製ボリュームの同期化を完了する同期化工程とによりデータレプリケーションを行う。そして同一性判断情報書き込み工程は、ファイルの更新要求があったときにこの更新要求の対象のファイルの更新タイムスタンプを現在時刻で更新することにより実行される(請求項6ないし請求項10)。 According to the data replication method of the present invention, an update time stamp indicating the update time of a file recorded on the master volume and the replica volume, which is a basis for determining the identity of the storage contents of the master volume and the replica volume, and the master volume, Identity determination information writing step for writing identity determination information including a separation time stamp indicating the time when the replication volume separation was performed to the master volume and the replication volume, and a comparison range including a position where the identity determination information is stored A comparison range information notification step of notifying the volume synchronization means for synchronizing the master volume and the replica volume together with the information, and a storage area in the range indicated by the comparison range information by the volume synchronization means that received the synchronization instruction Master volume and replica volume Comparing the information including the update time stamp that is憶to complete the synchronization of the master volume and copy volume without duplication of information between the master volume and the replication volume in the case where these information matches Data replication is performed by the synchronization process. The identity determination information writing step is executed by updating the update time stamp of the file subject to the update request with the current time when there is a file update request (claims 6 to 10 ).
上記データレプリケーション方法によれば、マスタボリュームと複製ボリュームにはそれぞれ同一性判断情報が書き込まれている。比較範囲情報通知工程では、同一性判断情報が書き込まれている位置を含む比較範囲情報を同期化指示と共にボリューム同期化手段に通知する。同期化工程では、ボリューム同期化手段が、比較範囲情報に示される範囲について二つのボリュームの記憶内容を比較し、これらが一致する場合、すなわち二つのボリュームの同一性判断情報が一致する場合には、ボリューム間のデータ複製を行うことなく同期化処理を終了する。
そのため、マスタボリュームと複製ボリュームの内容が同一である場合には、同期化処理を高速かつ効率的に行うことができる。また、ボリュームに記憶されているファイルの更新時刻を基準としてマスタボリュームと複製ボリュームの同一性を判断することができる。
According to the data replication method, identity determination information is written in the master volume and the replication volume. In the comparison range information notification step, comparison range information including the position where the identity determination information is written is notified to the volume synchronization means together with the synchronization instruction. In the synchronization step, the volume synchronization means compares the storage contents of the two volumes for the range indicated in the comparison range information, and if they match, that is, if the identity determination information of the two volumes matches. Then, the synchronization process is terminated without performing data replication between the volumes.
Therefore, when the contents of the master volume and the replication volume are the same, the synchronization process can be performed quickly and efficiently. Further, it is possible to determine the identity of the master volume and the replica volume based on the update time of the file stored in the volume.
上記データレプリケーション方法において、更新タイムスタンプは、マスタボリュームと複製ボリュームのVTOCに書き込まれ、比較範囲情報は、VTOCの開始アドレスとVTOCの領域長を含むようにしてもよい(請求項7)。
このようにすれば、マスタボリュームと複製ボリュームのVTOC領域を比較するだけで、両ボリュームの同一性を判断することができる。
In the data replication process, updates the time stamp is written in the VTOC of the replication volume and the master volume, the comparison range information may also include a region length of the start address and VTOC of VTOC (claim 7).
In this way, it is possible to determine the identity of both volumes only by comparing the VTOC areas of the master volume and replica volume.
上記データレプリケーション方法において、同一性判断情報書き込み工程は、マスタボリュームと複製ボリュームの同期状態を解除するボリューム分離手段に分離指示を通知する前に、分離タイムスタンプを現在時刻で更新することにより実行するようにしてもよい(請求項8)。
このようにすれば、マスタボリュームと複製ボリュームの分離タイムスタンプが一致する場合は、両ボリュームの記憶内容が同一であるとみなすことができ、同一性の判定を迅速に行うことができる。
In the above data replication method, the identity determination information writing step is executed by updating the separation time stamp with the current time before notifying the volume separation means for releasing the synchronization state between the master volume and the replication volume. You may make it (Claim 8 ).
In this way, if the separation time stamps of the master volume and replica volume match, it can be assumed that the storage contents of both volumes are the same, and the identity can be quickly determined.
上記データレプリケーション方法において、分離タイムスタンプは、マスタボリュームと複製ボリュームのボリュームラベルに書き込まれ、比較範囲情報は、ボリュームラベルの開始アドレスとボリュームラベルの領域長を含むようにしてもよい(請求項9)。
このようにすれば、マスタボリュームと複製ボリュームのボリュームラベル領域を比較するだけで、両ボリュームの同一性を判断することができる。
In the data replication process, separation timestamp is written to the volume label of the copy volume to the master volume, the comparison range information may also include a region length of the start address and volume label of the volume label (claim 9).
In this way, it is possible to determine the identity of both volumes only by comparing the volume label areas of the master volume and replica volume.
上記データレプリケーション方法において、マスタボリュームまたは複製ボリュームに記憶された情報を退避記憶媒体に退避し、この退避を行った時刻を示す退避時刻情報を退避記憶媒体に記録するボリューム退避工程と、退避記憶媒体に記録された情報をマスタボリュームと複製ボリュームに復元し、退避記憶媒体に分離タイムスタンプが記憶されていない場合には、退避時刻情報を復元したマスタボリュームと復元した複製ボリュームの分離タイムスタンプとして書き込むボリューム復元工程とを備えるようにしてもよい(請求項10)。
このようにすれば、マスタボリュームと複製ボリュームを退避記憶媒体から復元した場合の同期化処理を迅速に行うことができる。
In the data replication method, a volume saving step for saving information stored in the master volume or the replication volume to a save storage medium, and recording save time information indicating the time when the save was performed on the save storage medium, and a save storage medium Information recorded in the master volume and the replica volume, and if the separation time stamp is not stored in the save storage medium, the save time information is written as the separation time stamp of the restored master volume and the restored replica volume And a volume restoration step (claim 10 ).
In this way, the synchronization process when the master volume and the replicated volume are restored from the save storage medium can be quickly performed.
本発明の、データレプリケーションプログラムは、コンピュータに、マスタボリュームと複製ボリュームの記憶内容の同一性の判断の基礎となる同一性判断情報をマスタボリュームと複製ボリュームに書き込む同一性判断情報書き込み処理と、同一性判断情報が記憶されている位置を含む比較範囲情報と共に同期化指示をマスタボリュームと複製ボリュームの同期させるボリューム同期化手段に通知する比較範囲情報通知処理と、同期化指示を受信したボリューム同期化手段が比較範囲情報に示される範囲の記憶領域についてマスタボリュームと複製ボリュームに記憶されている情報を比較し、これらの情報が一致する場合にはマスタボリュームと複製ボリュームとの間の情報の複製を行うことなくマスタボリュームと複製ボリュームの同期化を完了する同期化処理とを実行させてデータレプリケーションを行う(請求項11ないし請求項15)。
The data replication program of the present invention is the same as the identity determination information writing process in which the identity determination information, which is the basis for determining the identity of the storage contents of the master volume and the replication volume, is written to the master volume and the replication volume. Comparison range information notification processing for notifying the volume synchronization means for synchronizing the master volume and the replica volume together with the comparison range information including the position where the sex determination information is stored, and the volume synchronization upon receiving the synchronization instruction The means compares the information stored in the master volume and replica volume for the storage area in the range indicated by the comparison range information, and if these information match, the information is replicated between the master volume and replica volume. Synchronize master and replica volumes without having to To execute a synchronization process to complete the perform data replication (
上記データレプリケーションプログラムによれば、マスタボリュームと複製ボリュームにはそれぞれ同一性判断情報が書き込まれている。比較範囲情報通知処理では、同一性判断情報が書き込まれている位置を含む比較範囲情報を同期化指示と共にボリューム同期化手段に通知する。同期化処理では、ボリューム同期化手段が、比較範囲情報に示される範囲について二つのボリュームの記憶内容を比較し、これらが一致する場合、すなわち二つのボリュームの同一性判断情報が一致する場合には、ボリューム間のデータ複製を行うことなく同期化処理を終了する。
そのため、マスタボリュームと複製ボリュームの内容が同一である場合には、同期化処理を高速かつ効率的に行うことができる。また、ボリュームに記憶されているファイルの更新時刻を基準としてマスタボリュームと複製ボリュームの同一性を判断することができる。
According to the data replication program, identity determination information is written in the master volume and the replication volume. In the comparison range information notification process, the comparison range information including the position where the identity determination information is written is notified to the volume synchronization means together with the synchronization instruction. In the synchronization process, the volume synchronization means compares the storage contents of the two volumes for the range indicated in the comparison range information, and if they match, that is, if the identity determination information of the two volumes matches. Then, the synchronization process is terminated without performing data replication between the volumes.
Therefore, when the contents of the master volume and the replication volume are the same, the synchronization process can be performed quickly and efficiently. Further, it is possible to determine the identity of the master volume and the replica volume based on the update time of the file stored in the volume.
上記データレプリケーションプログラムにおいて、更新タイムスタンプは、マスタボリュームと複製ボリュームのVTOCに書きこまれ、比較範囲情報は、VTOCの開始アドレスとVTOCの領域長を含むようにしてもよい(請求項12)。
このようにすれば、マスタボリュームと複製ボリュームのVTOC領域を比較するだけで、両ボリュームの同一性を判断することができる。
In the data replication program, updates the time stamp is written in the VTOC of the replication volume and the master volume, the comparison range information may (claim 12) also include a region length of the start address and VTOC the VTOC.
In this way, it is possible to determine the identity of both volumes only by comparing the VTOC areas of the master volume and replica volume.
上記データレプリケーションプログラムにおいて、同一性判断情報は、同一性判断情報書き込み処理は、マスタボリュームと複製ボリュームの同期状態を解除するボリューム分離手段に分離指示を通知する前に、分離タイムスタンプを現在時刻で更新するものとしてもよい(請求項13)。
このようにすれば、マスタボリュームと複製ボリュームの分離タイムスタンプが一致する場合は、両ボリュームの記憶内容が同一であるとみなすことができ、同一性の判定を迅速に行うことができる。
In the above data replication program, the identity judgment information is written in the identity judgment information before the separation instruction is sent to the volume separation means for releasing the synchronization state between the master volume and the replication volume. It may be updated (claim 13 ).
In this way, if the separation time stamps of the master volume and replica volume match, it can be assumed that the storage contents of both volumes are the same, and the identity can be quickly determined.
上記データレプリケーションプログラムにおいて、分離タイムスタンプは、マスタボリュームと複製ボリュームのボリュームラベルに書き込まれ、比較範囲情報は、ボリュームラベルの開始アドレスとボリュームラベルの領域長を含むようにしてもよい(請求項14)。
このようにすれば、マスタボリュームと複製ボリュームのボリュームラベル領域を比較するだけで、両ボリュームの同一性を判断することができる。
In the data replication program, separate timestamp is written to the volume label of the copy volume to the master volume, the comparison range information may also include a region length of the start address and volume label of the volume label (claim 14).
In this way, it is possible to determine the identity of both volumes only by comparing the volume label areas of the master volume and replica volume.
上記データレプリケーションプログラムにおいて、コンピュータに、マスタボリュームまたは複製ボリュームに記憶された情報を退避記憶媒体に退避し、この退避を行った時刻を示す退避時刻情報を退避記憶媒体に記録するボリューム退避処理と、退避記憶媒体に記録された情報をマスタボリュームと複製ボリュームに復元し、退避記憶媒体に分離タイムスタンプが記憶されていない場合には、退避時刻情報を復元したマスタボリュームと復元した複製ボリュームの分離タイムスタンプとして書き込むボリューム復元処理とを実行させるようにしてもよい(請求項15)。
このようにすれば、マスタボリュームと複製ボリュームを退避記憶媒体から復元した場合の同期化処理を迅速に行うことができる。
In the data replication program, a volume saving process for saving information stored in a master volume or a replication volume to a saving storage medium in a computer and recording saving time information indicating a time when the saving is performed on the saving storage medium; When the information recorded in the save storage medium is restored to the master volume and the replica volume, and the separation time stamp is not stored in the save storage medium, the separation time between the master volume from which the save time information is restored and the restored replica volume is restored. A volume restoration process to be written as a stamp may be executed (claim 15 ).
In this way, the synchronization process when the master volume and the replicated volume are restored from the save storage medium can be quickly performed.
本発明によれば、マスタボリュームと複製ボリュームにはそれぞれ同一性判断情報が書き込まれている。そして、同一性判断情報が書き込まれている位置を含む比較範囲情報が作動指示と共にボリューム同期化手段に通知される。ボリューム同期化手段は、比較範囲情報に示される範囲について二つのボリュームの記憶内容を比較し、これらが一致する場合、すなわち二つのボリュームの同一性判断情報が一致する場合には、ボリューム間のデータ複製を行うことなく同期化処理を終了する。
そのため、マスタボリュームと複製ボリュームの内容が同一である場合には、同期化処理を高速かつ効率的に行うことができる。
According to the present invention, identity determination information is written in each of the master volume and the replication volume. Then, comparison range information including the position where the identity determination information is written is notified to the volume synchronization means together with the operation instruction. The volume synchronization means compares the storage contents of the two volumes for the range indicated by the comparison range information, and if they match, that is, if the identity determination information of the two volumes matches, the data between the volumes The synchronization process is terminated without duplication.
Therefore, when the contents of the master volume and the replication volume are the same, the synchronization process can be performed quickly and efficiently.
以下、図を参照しながら本発明の一実施形態であるデータレプリケーションシステム1の構成と動作について説明する。
図1は、データレプリケーションシステム1の機能ブロック図である。
データレプリケーションシステム1は、プログラム制御により動作するサーバコンピュータ100と、ストレージ装置200から構成されている。サーバコンピュータ100とストレージ装置200は、例えばファイバーチャネルにより接続されており、相互に通信を行うことができる。
サーバコンピュータ100は、ボリューム退避手段101と、ボリューム復元手段102と、ファイルアクセスプログラム103と、ボリュームアクセス手段104と、レプリケーション制御手段105を備えている。
Hereinafter, the configuration and operation of the
FIG. 1 is a functional block diagram of the
The
The
ストレージ装置200は、ボリューム同期化手段201、ボリューム分離手段202、ボリューム比較手段203、ボリューム管理情報204から成る制御部205と、複製作成のためあらかじめペア設定されている複製元ボリュームであるマスタボリューム210と、複製先ボリュームである複製ボリューム220を備えている。図1に示した実施例では、マスタボリューム210と複製ボリューム220は、同一のストレージ装置200内に存在するが、これらが別々のストレージ装置に存在する遠隔データレプリケーションの構成でもよい。また、マスタボリュームと複製ボリュームのペアは複数でもよい。
The
マスタボリューム210には、ボリューム内容の同一性判断情報として分離タイムスタンプ211と、更新タイムスタンプ212が記憶されている。本実施例では、分離タイムスタンプ211はボリュームラベル内に存在し、更新タイムスタンプ212はVTOC(VolumeTable Of Contents)内にファイル単位に存在することを想定している。
複製ボリューム220にも、同様に分離タイムスタンプ221と、更新タイムスタンプ222が記憶されている。
The
Similarly, the
図7(a)に分離タイムスタンプ211、222の一例を示す。分離タイムスタンプには、マスタボリューム210と複製ボリューム220が同期状態にある場合は”未設定状態”が、分離状態にある場合は分離が行われた時刻が記憶されている。
図7(b)に更新タイムスタンプ212、222の一例を示す。更新タイムスタンプには、マスタボリューム210または複製ボリューム220に記憶されているファイルを特定する情報、例えばファイル名と、そのファイルの更新時刻が対応付けて記憶されている。更新時刻として、どの時点の時刻を用いるかは後述する。
FIG. 7A shows an example of the
FIG. 7B shows an example of the
ボリューム退避手段101は、任意のボリューム内容を磁気テープなどの退避記憶媒体へ退避する。ボリューム退避手段101は、ボリュームを退避する際、ボリュームアクセス手段104を使用して退避対象のボリュームのボリューム内容を取得し、ボリューム内容とともに退避日時を退避先記憶媒体へ記録する。
The volume saving unit 101 saves the contents of an arbitrary volume to a save storage medium such as a magnetic tape. When evacuating a volume, the volume evacuation unit 101 uses the
ボリューム復元手段102は、ボリューム退避手段101で退避記憶媒体へ退避されたデータを任意のボリュームへ復元する。ボリューム復元手段102は、退避記憶媒体(復元元記憶媒体)に記録してあるボリューム内容を、ボリュームアクセス手段104を使用して復元先ボリュームへ復元する際、退避記憶媒体の分離タイムスタンプ211または分離タイムスタンプ221が未設定の場合は、退避先記憶媒体(復元元記憶媒体)に記録してある退避日時で復元したボリュームの分離タイムスタンプ211または分離タイムスタンプ221を更新する。
The
ファイルアクセスプログラム103は、マスタボリューム210または複製ボリューム220に記憶されているファイルに対して参照、更新等のアクセスを行うプログラムである。ファイルアクセスプログラム103は、ボリュームアクセス手段104を介して上記のファイルアクセルを行う。
The
ボリュームアクセス手段104は、ストレージ装置200に存在するマスタボリューム210と複製ボリューム220に対する参照、更新などのアクセス要求をストレージ装置200に発行する。また、ファイルアクセス手段103より、ファイルの更新要求があった場合は、更新対象ファイルの更新タイムスタンプ212または更新タイムスタンプ222を現在の時刻で更新する。なお、更新タイムスタンプの更新タイミングに関しては、本発明では特に限定しないが、要件に応じて、ストレージ装置200に対する更新要求ごととする場合や、ファイルの処理モードが入力処理モード以外のオープン時とする場合などが考えられる。本実施例では、ファイルの処理モードが入力処理モード以外のオープン時に更新タイムスタンプを更新する。
また、ボリュームアクセス手段は、ボリュームの分離処理が行われる際に、レプリケーション制御手段105の指示により、マスタボリューム210の分離タイムスタンプ211を更新する。
The
Further, the volume access unit updates the
レプリケーション制御手段105は、ストレージ装置200に対して、同期化要求と分離要求を発行する。
同期化要求を行う際は、即時同期化可否を判断するための比較範囲情報(比較開始アドレスと長さ)をストレージ装置200のボリューム同期化手段202に通知する。本実施例では、比較範囲情報としてボリュームラベルとVTOC領域の開始アドレスと領域の長さを通知する。また、同期化通知の後で、マスタボリューム210の分離タイムスタンプ211を未設定状態に更新する。
分離要求を行う際は、ボリュームアクセス手段104を介して、マスタボリューム210の分離タイムスタンプ211を現在の日時で更新後、ボリューム分離手段202に分離要求を行う。
The
When making a synchronization request, the
When making a separation request, after the
ボリューム管理情報204は、ボリュームごとに設けられ、不揮発性のメモリに記憶されており、ペア対象となるボリュームを特定する情報、例えばボリューム名とボリュームの状態(同期状態、分離状態)を対応付けて記憶する。
図7(c)に、ボリューム管理情報204の一例を示す。例えば、この図の1行目は、ボリューム名が「ボリューム1」であるボリュームとボリューム名が「ボリューム2」であるボリュームがペアとなっていて、現在は同期状態にあることを示している。
The
FIG. 7C shows an example of the
ボリューム同期化手段201は、サーバコンピュータ100から同期化の要求を受けると、マスタボリューム210と、複製ボリューム220に関して、ボリューム比較手段203を使用して、通知された比較範囲情報で指示された領域の比較を実施する。マスタボリューム210と複製ボリューム220を比較し一致していた場合は、マスタボリューム210と複製ボリューム220の内容は同一であると判断し、マスタボリューム210と複製ボリューム220のボリューム管理情報204を同期状態へ変更する。一致していない場合は、マスタボリューム210と複製ボリューム220には差分があると判断し、差分に関して、マスタボリューム210から複製ボリューム220へ反映後、マスタボリューム210と複製ボリューム220のボリューム管理情報204を同期状態へ変更する。
なお、双方のボリューム内の比較範囲内のデータが一致していなかった際の差分反映を実施するタイミングとボリューム管理情報204を同期状態とするタイミングに関しては、本発明では特に限定しない。
When the
In the present invention, the timing for performing the difference reflection when the data in the comparison range in both volumes do not match and the timing for bringing the
ボリューム分離手段202は、マスタボリューム210と複製ボリューム220の差分を反映後、マスタボリューム220と複製ボリューム221のボリューム管理情報204を分離状態へ変更する。
After reflecting the difference between the
上記の各手段は、サーバコンピュータ100とストレージ装置200がそれぞれ備えるCPUが、データレプリケーションプログラムを実行して、サーバコンピュータ100とストレージ装置200のハードウェアを制御することにより実現される。
Each of the above means is realized by the CPUs included in the
次に、図1ないし図3を参照してデータレプリケーションシステム1の動作について詳細に説明する。
まず、図1及び図2を参照して、マスタボリューム210と複製ボリューム220の同期化の動作を説明する。
サーバコンピュータ100のレプリケーション制御手段105は、ストレージ装置200上のボリューム同期化手段201に対して同期化要求を行う際、同期化対象とするマスタボリューム210と複製ボリューム220を特定する情報と、即時同期化可否判断用の比較範囲情報として、ボリュームラベルの開始アドレス(図8のA)とボリュームラベルとVTOC領域の合計領域長(図8のL)を通知する(ステップA1)。
Next, the operation of the
First, the operation of synchronizing the
When the
ボリューム同期化手段201は、通知された同期化対象とするマスタボリューム210と複製ボリューム220の情報と比較範囲を、ボリューム比較手段203へ通知する(ステップA2)。ボリューム比較手段203は、マスタボリューム210と複製ボリューム220の指定アドレスから指定範囲のデータの比較を実施し(ステップA3)、比較結果として、「全て一致」または「不一致あり」をボリューム同期化手段201へ返却する(ステップA4)。
The
ボリューム同期化手段201は、比較結果が「全て一致」であった場合、マスタボリューム210と複製ボリューム220のボリューム管理情報204を“同期状態”へ変更する(ステップA5の判定がイエス、ステップA7)。比較結果が「不一致あり」であった場合、マスタボリューム210と複製ボリューム220の差分箇所に関して、マスタボリューム210の内容を複製ボリューム220へ反映し(ステップA5の判定がノー、ステップA6)、マスタボリューム210と複製ボリューム220のボリューム管理情報204を“同期状態”へ変更する(ステップA7)。
When the comparison result is “all match”, the
サーバコンピュータ100上のレプリケーション制御手段105は、ストレージ装置200上のボリューム同期化手段201に対して同期化要求を行った後で、マスタボリューム210の分離タイムスタンプ211を“未設定状態”に更新する(ステップA8)。マスタボリューム210と複製ボリューム220は、同期状態であるため、マスタボリューム210上の分離タイムスタンプ211のデータが複製ボリューム220上の分離タイムスタンプ221へ反映され、分離タイムスタンプ211と分離タイムスタンプ221ともに“未設定状態”となる(ステップA9)。
The
次に、図1及び図3を参照して、同期状態にあるマスタボリューム210と複製ボリューム220の分離の動作を説明する。
サーバコンピュータ100上のレプリケーション制御手段105は、ボリュームアクセス手段104を使用して、マスタボリューム210の分離タイムスタンプ211を現在の日時で更新後(ステップB1)、ストレージ装置200上のボリューム分離手段202に対して分離対象とするマスタボリューム210を指定して分離要求を行う(ステップB3)。マスタボリューム210と複製ボリューム220は、同期状態であるため、マスタボリューム210上の分離タイムスタンプ211のデータが複製ボリューム220上の分離タイムスタンプ221へ反映される(ステップB2)。
ボリューム分離手段202は、指定されたマスタボリューム210とペアとなる複製ボリューム220を分離した後(ステップB4)、マスタボリューム210と複製ボリューム220のボリューム管理情報204を“分離状態”へ変更する(ステップB5)。
Next, with reference to FIG. 1 and FIG. 3, the operation of separating the
The
After separating the
次に、具体例を用いてデータレプリケーションシステム1の動作を説明する。
図1のデータレプリケーションシステム1(以下、「旧システム」という)のストレージ装置200を更新し、図4に示すデータレプリケーションシステム2(以下、「新システム」という)とする場合について説明する。データレプリケーションシステム2は、図1に示したものと同一構成のサーバコンピュータ100と、2台のストレージ装置301、302から構成されるストレージシステム300を備えている。ストレージ装置301は、図1に示したものと同一構成の制御部205とマスタボリューム310を備え、ストレージ装置302は、複製ボリューム320を備えている。マスタボリューム310には分離タイムスタンプ311と更新タイムスタンプ312が、複製リューム320には分離タイムスタンプ321と更新タイムスタンプ322がそれぞれ記録されている。ストレージ装置302はストレージ装置301から遠隔の位置に設置されているが、回線303を介してストレージ装置301との間で通信を行うことができる。
Next, the operation of the
A case will be described in which the
システムの更新にあたり、図5に示すように、ストレージ装置200のマスタボリューム210からストレージシステム300のマスタボリューム310と複製ボリューム320へ業務データを移行する際の動作を説明する。図6は、この移行時の動作を示すフローチャートである。
In the system update, as shown in FIG. 5, the operation when migrating business data from the
まず、同期状態である旧システムのマスタボリューム210と複製ボリューム220を分離状態にする(ステップC1)。このステップの詳細は次のようになる。
レプリケーション制御手段105は、ボリュームアクセス手段104を使用して、マスタボリューム210の分離タイムスタンプ211を現在の日時で更新後(図3のステップB1)、旧システムのボリューム分離手段202に対して分離要求を行う(ステップB3)。ボリューム分離手段202は、指定されたマスタボリューム210とペアとなる複製ボリューム220を分離した後(ステップB4)、マスタボリューム210と複製ボリューム220のボリューム管理情報204を“分離状態”へ変更する(ステップB5)。
First, the
The
次に、ボリューム退避手段101は、分離状態となったマスタボリューム210からボリュームの内容を2本の退避媒体10、11へ退避する(ステップC2)。
ボリューム退避手段101は、マスタボリューム210のボリューム内容を取得し、得られたボリューム内容とともに退避日時として現在の時刻を退避先媒体10、11へそれぞれ記録する(ステップC3)。ここまでは、旧システムで行う。
Next, the volume saving unit 101 saves the contents of the volume from the
The volume saving unit 101 acquires the volume contents of the
以下のステップは、新システムで行う。
次に、ボリューム復元手段102は、同時に作成された退避媒体10、11から、新システムのマスタボリューム310と複製ボリュームボリューム320の内容をそれぞれ復元する(ステップC4)。
ボリューム復元手段102は、退避媒体10、11に記録してあるボリューム内容を、ボリュームアクセス手段104を使用してマスタボリューム310と複製ボリューム320へそれぞれ復元する。復元したボリュームの分離タイムスタンプ311または分離タイムスタンプ321にはステップB1で分離日時が設定されているため、分離タイムスタンプの更新は行わない。
The following steps are performed on the new system.
Next, the
The
次に、新システムのマスタボリューム310と複製ボリューム320を同期化する(ステップC5)。このステップの詳細は、次のようになる。
レプリケーション制御手段105は、即時同期化可否判断用の比較範囲として、ボリュームラベルの開始アドレスとボリュームラベルとVTOC領域の合計領域長を同期化要求で通知する(図2のステップA1)。新システムのボリューム同期化手段201は、比較範囲を新システムのボリューム比較手段203へ通知する(ステップA2)。ボリューム比較手段203は、指定範囲のデータの比較を実施する(ステップA3)。この具体例では、マスタボリューム310と複製ボリューム320のボリュームラベルとVTOC領域は全領域が一致するため、比較結果として「全て一致」をボリューム同期化手段201へ返却する(ステップA4)。
ボリューム同期化手段201は、比較結果が「全て一致」であったため、マスタボリューム310と複製ボリューム320のボリューム管理情報204を“同期状態”へ変更するため(ステップA7)、データ転送が発生せずに新システムのマスタボリューム310と複製ボリューム320は即時同期状態となる。
レプリケーション制御手段105は、同期化要求を行った後で、マスタボリューム310の分離タイムスタンプ311を“未設定状態”に更新する(ステップA8)。マスタボリューム310と複製ボリューム320は、同期状態であるため、マスタボリューム310上の分離タイムスタンプ311のデータが複製ボリューム320上の分離タイムスタンプ321へ反映され、二つのボリュームの分離タイムスタンプはともに“未設定状態”となる(ステップA9)。
Next, the
The replication control means 105 notifies the start address of the volume label, the volume label, and the total area length of the VTOC area as a comparison range for determining whether immediate synchronization is possible or not (step A1 in FIG. 2). The
Since the
After making the synchronization request, the
同時に作成された退避媒体10、11から新システムのマスタボリューム310と複製ボリューム320へ業務データを復元後、同期化を実施する前(ステップC4とステップC5の間)に、ファイルアクセス手段103がマスタボリューム310上のファイルを更新した場合を考える。
ファイルアクセス手段103が出力処理モードで新システム上のマスタボリューム310のファイルをオープンすると、ボリュームアクセス手段104がマスタボリューム310の更新タイムスタンプ312を現在の時刻で更新する。その後、ファイルアクセス手段103がファイルアクセスを完了する。
After restoring the business data from the simultaneously created save
When the
この状態で新システムのマスタボリューム310と複製ボリューム320を同期化する(ステップC5)。
レプリケーション制御手段105は、即時同期化可否判断用の比較範囲として、ボリュームラベルの開始アドレスとボリュームラベルとVTOC領域の合計領域長を同期化要求で通知する(ステップA1)。新システムのボリューム同期化手段201は、比較範囲をボリューム比較手段203へ通知する(ステップA2)。ボリューム比較手段203は、指定範囲のデータの比較を実施する(ステップA3)。マスタボリューム310と複製ボリューム320のVTOC上の一部のファイルの更新タイムスタンプ312、322が異なるため、比較結果として「不一致あり」をボリューム同期化手段201へ返却する(ステップA4)。
ボリューム同期化手段201は、比較結果が「不一致あり」であったため、マスタボリューム310と複製ボリューム320の差分箇所に関して、マスタボリューム310の内容を複製ボリューム320へ反映し(ステップA6)、マスタボリューム310と複製ボリューム320のボリューム管理情報204を“同期状態”へ変更する(ステップA7)。
In this state, the
The replication control means 105 notifies the start address of the volume label, the volume label, and the total area length of the VTOC area as a comparison range for determining whether immediate synchronization is possible (step A1). The
The volume synchronization means 201 reflects the content of the
レプリケーション制御手段105は、同期化要求を行った後で、マスタボリューム310の分離タイムスタンプ311を“未設定状態”に更新する(ステップA8)。マスタボリューム310と複製ボリューム320は、同期状態であるため、マスタボリューム310上の分離タイムスタンプ311のデータが複製ボリューム320上の分離タイムスタンプ321へ反映され、分離タイムスタンプ311と分離タイムスタンプ321はともに“未設定状態”となる(ステップA9)。
After making the synchronization request, the
次に、レプリケーションシステム1の効果について説明する。
第1の効果は、同一の退避媒体からマスタボリューム210と複製ボリューム220へ復元後の同期化、または、再同期化の際、同期状態への高速遷移が可能なことである。
その理由は、同期化処理において、マスタボリューム210と複製ボリューム220の一部の比較でボリューム内容の同一性が判断可能となり、ボリューム全体のコピーを実施することなく同期状態とすることが可能なためである。
Next, the effect of the
The first effect is that a high-speed transition to a synchronized state is possible at the time of synchronization or resynchronization after restoration from the same save medium to the
The reason is that in the synchronization process, it is possible to determine the identity of the volume contents by comparing a part of the
第2の効果は、同期化、または再同期化処理時のサーバコンピュータ100からのボリュームアクセスに対する応答性能が向上することである。
その理由は、第1の効果の理由と同じである。
The second effect is that the response performance to the volume access from the
The reason is the same as the reason for the first effect.
第3の効果は、図4に示すようなマスタボリューム310と複製ボリューム320が別ストレージ装置301、302に存在する遠隔データレプリケーション構成時に、ストレージ装置間の回線コストを抑えることが可能なことである。
その理由は、同期化処理において、マスタボリューム310と複製ボリューム320の一部の比較でボリューム内容の同一性が判断可能となり、ボリューム全体のコピーを実施する必要がないため、回線303を流れるデータ量を削減することが可能なためである。
The third effect is that the line cost between the storage apparatuses can be suppressed in the remote data replication configuration where the
The reason is that in synchronization processing, it is possible to determine the identity of the volume contents by comparing a part of the
1 データレプリケーションシステム
100 サーバコンピュータ
101 ボリューム退避手段
102 ボリューム復元手段
103 ファイルアクセスプログラム
104 ボリュームアクセス手段
105 レプリケーション制御手段
200 ストレージ装置
201 ボリューム同期化手段
202 ボリューム分離手段
203 ボリューム比較手段
204 ボリューム管理情報
210 マスタボリューム
211 分離タイムスタンプ
212 更新タイムスタンプ
220 複製ボリューム
221 分離タイムスタンプ
222 更新タイムスタンプ
1
Claims (15)
前記マスタボリュームと前記複製ボリュームの記憶内容の同一性の判断の基礎となりかつ前記マスタボリュームと前記複製ボリュームに記録されているファイルの更新時刻を示す更新タイムスタンプおよび前記マスタボリュームと前記複製ボリュームの分離が行われた時刻を示す分離タイムスタンプを含む同一性判断情報を前記マスタボリュームと前記複製ボリュームに書き込むボリュームアクセス手段と、
前記同一性判断情報が記憶されている位置を含む比較範囲情報と共に同期化指示を前記ボリューム同期化手段に通知するレプリケーション制御手段とを備えると共に、
前記ボリュームアクセス手段は、前記ファイルの更新要求があったときにこの更新要求の対象の前記ファイルの前記更新タイムスタンプを現在時刻で更新し、
前記ボリューム同期化手段は、前記同期化指示を受信したときに前記比較範囲情報に示される範囲の記憶領域について前記マスタボリュームと前記複製ボリュームに記憶されている前記更新タイムスタンプを含む情報を比較し、これらの情報が一致する場合には前記マスタボリュームと前記複製ボリュームとの間の情報の複製を行うことなく前記マスタボリュームと前記複製ボリュームの同期化を完了することを特徴としたデータレプリケーションシステム。 A storage device comprising a replication volume is the master volume and the replication of the master volume, and volume synchronization means for synchronizing the replication volume and the master volume, the volume separated to release the synchronization status of the copy volume and the master volume In a data replication system comprising means,
An update time stamp indicating the update time of a file recorded in the master volume and the replication volume, which is a basis for determining the identity of the storage contents of the master volume and the replication volume, and the master volume and the replication volume Volume access means for writing identity determination information including a separation time stamp indicating a time when separation is performed to the master volume and the replication volume;
Rutotomoni a replication control means for notifying the volume synchronization means to synchronize instruction with comparison range information including the position where the identity determination information is stored,
The volume access means updates the update timestamp of the file that is the target of the update request with the current time when there is an update request for the file,
The volume synchronization means compares the information including the update time stamp stored in the master volume and the replication volume for the storage area in the range indicated in the comparison range information when the synchronization instruction is received. In the data replication system, the synchronization between the master volume and the replica volume is completed without duplicating the information between the master volume and the replica volume when the information matches.
前記ボリューム退避手段は、前記退避を行った時刻を示す退避時刻情報を前記退避記憶媒体に記録し、前記ボリューム復元手段は、前記退避記憶媒体に前記分離タイムスタンプが記憶されていない場合には、前記退避時刻情報を復元したマスタボリュームと復元した複製ボリュームの分離タイムスタンプとして書き込むことを特徴とした請求項3または請求項4に記載のデータレプリケーションシステム。 Volume evacuation means for evacuating information stored in the master volume or the replication volume to an evacuation storage medium, and volume restoration means for restoring information recorded in the evacuation storage medium to the master volume and the replication volume,
The volume evacuation unit records evacuation time information indicating a time when the evacuation was performed on the evacuation storage medium, and the volume restoration unit stores the separation time stamp when the evacuation storage medium is not stored. data replication system according to claim 3 or claim 4 characterized in that writing a separate time stamp of replication volume and the restored master volume restoring the saving-time information.
前記マスタボリュームと前記複製ボリュームの記憶内容の同一性の判断の基礎となりかつ前記マスタボリュームと前記複製ボリュームに記録されているファイルの更新時刻を示す更新タイムスタンプおよび前記マスタボリュームと前記複製ボリュームの分離が行われた時刻を示す分離タイムスタンプを含む同一性判断情報を前記マスタボリュームと前記複製ボリュームに書き込む同一性判断情報書き込み工程と、
前記同一性判断情報が記憶されている位置を含む比較範囲情報と共に同期化指示を前記マスタボリュームと前記複製ボリュームの同期させるボリューム同期化手段に通知する比較範囲情報通知工程と、
前記同期化指示を受信した前記ボリューム同期化手段が前記比較範囲情報に示される範囲の記憶領域について前記マスタボリュームと前記複製ボリュームに記憶されている前記更新タイムスタンプを含む情報を比較し、これらの情報が一致する場合には前記マスタボリュームと前記複製ボリュームとの間の情報の複製を行うことなく前記マスタボリュームと前記複製ボリュームの同期化を完了する同期化工程とを備えると共に、
前記同一性判断情報書き込み工程は、前記ファイルの更新要求があったときにこの更新要求の対象の前記ファイルの前記更新タイムスタンプを現在時刻で更新することにより実行されることを特徴としたデータレプリケーション方法。 In a data replication method for synchronizing a master volume stored in a storage device and a replica volume that is a replica of this master volume,
An update time stamp indicating the update time of a file recorded in the master volume and the replication volume, which is a basis for determining the identity of the storage contents of the master volume and the replication volume, and the master volume and the replication volume Identity determination information writing step of writing identity determination information including a separation time stamp indicating a time when separation is performed to the master volume and the replication volume;
A comparison range information notification step of notifying volume synchronization means for synchronizing the master volume and the replication volume together with comparison range information including a position where the identity determination information is stored;
The volume synchronization means that has received the synchronization instruction compares the information including the update timestamp stored in the master volume and the replication volume for the storage area in the range indicated by the comparison range information, and Rutotomoni a synchronization procedure to complete the synchronization of the master volume and the replication volume without the replication of information between the copy volume and the master volume if information matches,
The identity determination information writing step is performed by updating the update timestamp of the file that is the target of the update request with the current time when the file is requested to be updated. Method.
前記退避記憶媒体に記録された情報を前記マスタボリュームと前記複製ボリュームに復元し、前記退避記憶媒体に前記分離タイムスタンプが記憶されていない場合には、前記退避時刻情報を復元したマスタボリュームと復元した複製ボリュームの分離タイムスタンプとして書き込むボリューム復元工程とを備えたことを特徴とした請求項8または請求項9に記載のデータレプリケーション方法。 A volume evacuation step for evacuating information stored in the master volume or the replication volume to a evacuation storage medium and recording evacuation time information indicating the time when the evacuation was performed on the evacuation storage medium;
The information recorded in the save storage medium is restored to the master volume and the duplicate volume. If the separation time stamp is not stored in the save storage medium, the master volume and the restore that restored the save time information are restored. data replication method according to claim 8 or claim 9 and a volume restoration step of writing a separate time stamp of replication volumes, comprising the.
コンピュータに、
前記マスタボリュームと前記複製ボリュームの記憶内容の同一性の判断の基礎となりかつ前記マスタボリュームと前記複製ボリュームに記録されているファイルの更新時刻を示す更新タイムスタンプおよび前記マスタボリュームと前記複製ボリュームの分離が行われた時刻を示す分離タイムスタンプを含む同一性判断情報を前記マスタボリュームと前記複製ボリュームに書き込む同一性判断情報書き込み処理と、
前記同一性判断情報が記憶されている位置を含む比較範囲情報と共に同期化指示を前記マスタボリュームと前記複製ボリュームの同期させるボリューム同期化手段に通知する比較範囲情報通知処理と、
前記同期化指示を受信した前記ボリューム同期化手段が前記比較範囲情報に示される範囲の記憶領域について前記マスタボリュームと前記複製ボリュームに記憶されている前記更新タイムスタンプを含む情報を比較し、これらの情報が一致する場合には前記マスタボリュームと前記複製ボリュームとの間の情報の複製を行うことなく前記マスタボリュームと前記複製ボリュームの同期化を完了する同期化処理とを実行させると共に、
前記同一性判断情報書き込み工程は、前記ファイルの更新要求があったときにこの更新要求の対象の前記ファイルの前記更新タイムスタンプを現在時刻で更新することにより実行されることを特徴としたデータレプリケーションプログラム。 In the data replication program that synchronizes the master volume stored in the storage device and the replica volume that is a replica of this master volume,
On the computer,
An update time stamp indicating the update time of a file recorded in the master volume and the replication volume, which is a basis for determining the identity of the storage contents of the master volume and the replication volume, and the master volume and the replication volume Identity determination information write processing for writing identity determination information including a separation time stamp indicating a time when separation is performed to the master volume and the replication volume;
Comparison range information notification processing for notifying volume synchronization means for synchronizing the master volume and the replica volume together with comparison range information including the position where the identity determination information is stored;
The volume synchronization means that has received the synchronization instruction compares the information including the update timestamp stored in the master volume and the replication volume for the storage area in the range indicated by the comparison range information, and Rutotomoni said to perform a synchronization process to complete the synchronization of the master volume and the replication volume without duplication of information between the master volume and the replication volume in the case of information matches,
The identity determination information writing step is performed by updating the update timestamp of the file that is the target of the update request with the current time when the file is requested to be updated. program.
前記マスタボリュームまたは前記複製ボリュームに記憶された情報を退避記憶媒体に退避し、この退避を行った時刻を示す退避時刻情報を前記退避記憶媒体に記録するボリューム退避処理と、
前記退避記憶媒体に記録された情報を前記マスタボリュームと前記複製ボリュームに復元し、前記退避記憶媒体に前記分離タイムスタンプが記憶されていない場合には、前記退避時刻情報を復元したマスタボリュームと復元した複製ボリュームの分離タイムスタンプとして書き込むボリューム復元処理とを実行させることを特徴とした請求項13または請求項14に記載のデータレプリケーションプログラム。 In the computer,
A volume evacuation process for evacuating information stored in the master volume or the replication volume to a evacuation storage medium and recording evacuation time information indicating the time when the evacuation was performed on the evacuation storage medium;
The information recorded in the save storage medium is restored to the master volume and the duplicate volume. If the separation time stamp is not stored in the save storage medium, the master volume and the restore that restored the save time information are restored. data replication program according to claim 13 or claim 14 characterized in that to execute a volume restoration process of writing a separate time stamp of replication volumes.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006311978A JP4636008B2 (en) | 2006-11-17 | 2006-11-17 | Data replication system, data replication method, data replication program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2006311978A JP4636008B2 (en) | 2006-11-17 | 2006-11-17 | Data replication system, data replication method, data replication program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2008129723A JP2008129723A (en) | 2008-06-05 |
| JP4636008B2 true JP4636008B2 (en) | 2011-02-23 |
Family
ID=39555491
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006311978A Expired - Fee Related JP4636008B2 (en) | 2006-11-17 | 2006-11-17 | Data replication system, data replication method, data replication program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4636008B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8219768B2 (en) | 2010-01-05 | 2012-07-10 | Hitachi, Ltd. | System and method for establishing a copy pair relationship between source and destination volumes |
Family Cites Families (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS61220021A (en) * | 1985-03-25 | 1986-09-30 | Alps Electric Co Ltd | Set recognition method for floppy disk |
| JPS63184960A (en) * | 1987-01-27 | 1988-07-30 | Nec Corp | Data control system |
| JPH031227A (en) * | 1989-05-29 | 1991-01-07 | Nippon Telegr & Teleph Corp <Ntt> | Sort processor |
| JP2817705B2 (en) * | 1996-04-08 | 1998-10-30 | 日本電気株式会社 | Post-update journal collection method |
| CN1144212C (en) * | 1998-12-25 | 2004-03-31 | 索尼株式会社 | Information processing apparatus and method |
| JP2002163154A (en) * | 2000-11-27 | 2002-06-07 | Matsushita Electric Ind Co Ltd | Duplex disk controller |
| JP4105398B2 (en) * | 2001-02-28 | 2008-06-25 | 株式会社日立製作所 | Information processing system |
| JP4489455B2 (en) * | 2004-02-16 | 2010-06-23 | 株式会社日立製作所 | Disk control device and control method of disk control device |
| JP4296120B2 (en) * | 2004-04-09 | 2009-07-15 | 富士通株式会社 | Redundant configuration restoration method, data management system, and redundant configuration restoration program |
| JP4575119B2 (en) * | 2004-11-25 | 2010-11-04 | 株式会社日立製作所 | Storage system |
| JP4843976B2 (en) * | 2005-03-25 | 2011-12-21 | 日本電気株式会社 | Replication systems and methods |
-
2006
- 2006-11-17 JP JP2006311978A patent/JP4636008B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2008129723A (en) | 2008-06-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109032507B (en) | Method, system and related assembly for generating source volume storage snapshot | |
| US8209498B2 (en) | Method and system for transferring duplicate files in hierarchical storage management system | |
| US8250033B1 (en) | Replication of a data set using differential snapshots | |
| CN101582920B (en) | Method and device for verifying and synchronizing data blocks in distributed file system | |
| US8806274B1 (en) | Snapshot assisted synchronous replication | |
| US7480654B2 (en) | Achieving cache consistency while allowing concurrent changes to metadata | |
| US7191299B1 (en) | Method and system of providing periodic replication | |
| CN101739313B (en) | Method for protecting and restoring continuous data | |
| US9672117B1 (en) | Method and system for star replication using multiple replication technologies | |
| CN100454265C (en) | Image recovery method, storage device and network system | |
| CN102483711B (en) | Synchronization of replicated sequential access storage components | |
| JP4715774B2 (en) | Replication method, replication system, storage device, program | |
| US20170235652A1 (en) | Method and system for star replication using multiple replication technologies | |
| CN105843702A (en) | Method and device for data backup | |
| US11372727B2 (en) | Method, device, and computer-readable storage medium for managing storage system | |
| WO2020024772A1 (en) | Method and apparatus for querying data | |
| JP2006268829A (en) | Method and apparatus for mirroring objects between storage systems | |
| CN106844597A (en) | The method and its device of a kind of quick deletion dependent snapshot target volume | |
| CN106325768B (en) | A dual-machine storage system and method | |
| CN113377763A (en) | Database table switching method and device, electronic equipment and computer storage medium | |
| US8818943B1 (en) | Mirror resynchronization of fixed page length tables for better repair time to high availability in databases | |
| CN108664353A (en) | The method, apparatus and replica management server that data are restored | |
| JP4636008B2 (en) | Data replication system, data replication method, data replication program | |
| US8918364B1 (en) | Online mirror state transitioning in databases | |
| JP2007065873A (en) | Storage control device, storage control system, and storage control method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100727 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100927 |
|
| 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: 20101026 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101108 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131203 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| LAPS | Cancellation because of no payment of annual fees |