JP4888347B2 - Storage apparatus and time stamp assigning method - Google Patents
Storage apparatus and time stamp assigning method Download PDFInfo
- Publication number
- JP4888347B2 JP4888347B2 JP2007290624A JP2007290624A JP4888347B2 JP 4888347 B2 JP4888347 B2 JP 4888347B2 JP 2007290624 A JP2007290624 A JP 2007290624A JP 2007290624 A JP2007290624 A JP 2007290624A JP 4888347 B2 JP4888347 B2 JP 4888347B2
- Authority
- JP
- Japan
- Prior art keywords
- volume
- master
- time stamp
- replica
- synchronization
- 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
Description
本発明は、マスタボリュームと複製ボリュームとを備えたストレージ装置に関する。特に、マスタボリュームと複製ボリュームとの同期化に利用する。 The present invention relates to a storage apparatus including a master volume and a replication volume. In particular, it is used to synchronize the master volume and replica volume.
顧客情報等の重要な情報を安全確実に保管して管理するために、複数のストレージ装置を分散配置し、これら複数のストレージ装置に同期化された情報を蓄積することが広く行われている。 In order to securely store and manage important information such as customer information, a plurality of storage apparatuses are distributed and stored in a plurality of storage apparatuses.
これら複数のストレージ装置の同期化を行うことにより、いずれかのストレージ装置に蓄積されている情報に障害が発生した場合でも他のストレージ装置に蓄積された情報により処理の実行が支障なく完了する。 By synchronizing the plurality of storage devices, even if a failure occurs in the information stored in any one of the storage devices, the execution of the process is completed without any trouble by the information stored in the other storage devices.
例えば、特許文献1により提案されているような同期化を高速化する技術は、マスタボリュームと複製ボリュームとを分離後、マスタボリュームの更新された箇所をビットマップで記録する方法や、ログやジャーナルで更新内容を記録する方法により、再同期化の際に、マスタボリュームから複製ボリュームへ差分のみを反映することで、ディスク全体をマスタボリュームから複製ボリュームへコピーする場合よりも高速化できるものである。
For example, the technique for speeding up the synchronization as proposed in
しかし、次のように、明らかにマスタボリュームと複製ボリュームとが同一であるとシステムのオペレータが分かっている場合であっても、これまでは高速化ができなかった。 However, as described below, even when the system operator clearly knows that the master volume and the replication volume are the same, it has not been possible to increase the speed.
例えば、同じバックアップ媒体から、マスタボリュームと複製ボリュームとにリストアした場合には、明らかに内容は同一である。しかし、先行技術では高速化できない。 For example, when restoring from the same backup medium to the master volume and the replica volume, the contents are clearly the same. However, the prior art cannot increase the speed.
この例では、リストア時にマスタボリューム全体が更新されているため、ビットマップやログに全体が更新された情報が記録されてしまい、この状態で同期化を実施すると、マスタボリュームから複製ボリュームへボリューム全体がコピーされてしまうためである。 In this example, the entire master volume is updated at the time of restoration, so the updated information is recorded in the bitmap and log. If synchronization is performed in this state, the entire volume is transferred from the master volume to the replica volume. Is copied.
別の例として、既に同期化されているシステムにおいて、いったん同期状態を解除し、本番データを使用する評価を、片方のボリュームだけで行うことをあげることができる。マスタボリュームと複製ボリュームとを分離するときにボリューム内容を磁気テープ等に退避し、分離後、マスタボリューム更新を伴う評価を行い、評価後、退避した媒体からマスタボリュームを復元したとしても高速化できない。 As another example, in a system that has already been synchronized, it is possible to release the synchronization state and perform evaluation using the production data only on one volume. Even when the master volume and replica volume are separated, the volume contents are saved to magnetic tape, etc., and after the separation, evaluation with master volume update is performed. .
この例では、復元時にマスタボリューム全体が更新されているため、ビットマップやログに全体が更新された情報が記録されてしまい、この状態で同期化を実施すると、マスタボリュームから複製ボリュームへボリューム全体がコピーされてしまうためである。 In this example, the entire master volume is updated at the time of restoration, so the updated information is recorded in the bitmap and log. If synchronization is performed in this state, the entire volume is transferred from the master volume to the replica volume. Is copied.
このようにしてマスタボリュームから複製ボリュームへボリューム全体がコピーされると、コピーに要する時間と、マスタボリュームと複製ボリュームとの間のネットワーク通信において、多大なコストが発生してしまう。 When the entire volume is copied from the master volume to the replica volume in this way, a great amount of cost is required in the time required for the copy and in the network communication between the master volume and the replica volume.
本発明は、このような課題を解決するために行われたものであって、マスタボリュームと複製ボリュームとの同期化を高速化することができるストレージ装置およびタイムスタンプの付与方法を提供することを目的とする。 The present invention has been made to solve such problems, and provides a storage apparatus and a time stamp assigning method capable of speeding up synchronization between a master volume and a replica volume. Objective.
本発明は、マスタボリュームと複製ボリュームとを備え、このマスタボリュームおよび複製ボリュームは、それぞれタイムスタンプを含むボリュームラベルを備えたストレージ装置において、前記タイムスタンプを、前記マスタボリュームまたは前記複製ボリュームの更新を禁止する際に付与するボリューム更新禁止手段と、前記タイムスタンプを比較し、その値が一致したときには前記マスタボリュームと前記複製ボリュームとが同期化していると判断するボリューム同期化手段とを備えたことを特徴とする。 The present invention includes a master volume and a replica volume, and the master volume and replica volume each update the master volume or the replica volume in a storage apparatus having a volume label including a time stamp. Volume update prohibiting means to be provided when prohibiting, and volume synchronization means for comparing the time stamp and determining that the master volume and the replica volume are synchronized when the values match are provided. It is characterized by.
また、本発明をタイムスタンプの付与方法としての観点から観ると、本発明は、ストレージ装置に設けられたマスタボリュームまたは複製ボリュームに対するタイムスタンプの付与方法において、ボリューム更新禁止手段が、タイムスタンプを、前記マスタボリュームまたは前記複製ボリュームの更新を禁止する際に付与し、ボリューム同期化手段が、前記タイムスタンプを比較し、その値が一致したときには前記マスタボリュームと前記複製ボリュームとが同期化していると判断することを特徴とする。 Further, when the present invention is viewed from the viewpoint as a time stamp assigning method, the present invention relates to a time stamp assigning method for a master volume or a replicated volume provided in a storage apparatus, wherein the volume update prohibiting means includes a time stamp, When the update of the master volume or the replication volume is prohibited, the volume synchronization means compares the time stamps, and when the values match, the master volume and the replication volume are synchronized It is characterized by judging.
また、本発明をプログラムとしての観点から観ると、本発明は、汎用の情報処理装置にインストールすることにより、その汎用の情報処理装置に、マスタボリュームと複製ボリュームとを備え、このマスタボリュームおよび複製ボリュームは、それぞれタイムスタンプを含むボリュームラベルを備えたストレージ装置に相応する機能を実現させるプログラムにおいて、前記タイムスタンプを、前記マスタボリュームまたは前記複製ボリュームの更新を禁止する際に付与するボリューム更新禁止機能と、前記タイムスタンプを比較し、その値が一致したときには前記マスタボリュームと前記複製ボリュームとが同期化していると判断するボリューム同期化機能とを実現させることを特徴とする。 Further, when the present invention is viewed from the viewpoint of a program, the present invention is installed in a general-purpose information processing apparatus so that the general-purpose information processing apparatus includes a master volume and a replication volume. Volume update prohibiting function for assigning the time stamp when the master volume or the replica volume is prohibited in a program that realizes a function corresponding to a storage apparatus having a volume label including a time stamp. And a volume synchronization function for comparing the time stamps and determining that the master volume and the replica volume are synchronized when the values match.
本発明によれば、マスタボリュームと複製ボリュームとの同期化を高速化することができる。 According to the present invention, the synchronization between the master volume and the replication volume can be speeded up.
(発明の概要)
本発明は、ボリュームの複製を高速に生成するボリューム作成機能(データレプリケーション機能)において、マスタボリュームと複製ボリュームとの同期化の際、タイムスタンプを含むボリュームラベルと、ボリュームの更新を禁止するボリューム更新禁止手段とを組合せて、ボリュームラベルを比較することにより、マスタボリュームと複製ボリュームの内容が同一であることを保証でき、ならびに、同期化処理を高速かつ効率的に実施する方法を提供するものである。すなわち、本発明では、タイムスタンプを含む2つのボリュームラベルの内容が同一であるか否かを判定し、同一の場合は即座に同期化する方法を提供する。
(Summary of Invention)
The present invention provides a volume creation function (data replication function) that generates a replica of a volume at high speed, and a volume label that includes a time stamp and a volume update that prohibits the update of the volume when the master volume and the replica volume are synchronized. By comparing volume labels in combination with prohibition means, it is possible to guarantee that the contents of the master volume and replica volume are the same, and to provide a method for performing synchronization processing quickly and efficiently. is there. That is, the present invention provides a method for determining whether or not the contents of two volume labels including a time stamp are the same, and in the case of being the same, immediately synchronize.
例えば、ストレージ装置に、ボリュームが更新されないようにするボリューム更新禁止手段を設ける。ボリューム更新の禁止は、当該ボリュームへの書き込みを行えなくし、ファイルの追加や削除、データ変更などを禁止する。 For example, the storage apparatus is provided with volume update prohibiting means for preventing the volume from being updated. Prohibition of volume update disables writing to the volume, and prohibits addition or deletion of files, data change, and the like.
さらに、媒体名やファイル名等のボリュームの情報が記録されているボリュームラベル内に、タイムスタンプを設ける。タイムスタンプは、ボリューム更新が禁止された状態でのみ設定され、ボリューム更新が可能になる前にクリアされる。 Further, a time stamp is provided in a volume label in which volume information such as a medium name and a file name is recorded. The time stamp is set only when the volume update is prohibited, and is cleared before the volume can be updated.
マスタボリュームと複製ボリュームとが同一であることは、タイムスタンプが設定されている、かつ、タイムスタンプを含めたボリュームラベルの比較結果が一致していることで確認する。タイムスタンプが設定され、かつ、ボリュームラベルの比較結果が一致している場合は、マスタボリュームと複製ボリュームとが同一であると判断し、即座に同期状態とする。 It is confirmed that the master volume and the replica volume are identical by setting a time stamp and by comparing the comparison results of the volume labels including the time stamp. If the time stamp is set and the comparison results of the volume labels match, it is determined that the master volume and the replication volume are the same, and the synchronization state is immediately established.
このように、本発明では、対象ボリューム全体に対して書き込みを禁止するので、これにより、ボリューム中に存在するボリュームラベル、ファイルも更新不可となる。したがって、ボリュームラベル中に存在するタイムスタンプについても更新不可となるところが本発明の最も主要な特徴である。 As described above, in the present invention, writing to the entire target volume is prohibited, so that volume labels and files existing in the volume cannot be updated. Therefore, the most important feature of the present invention is that the time stamp existing in the volume label cannot be updated.
すなわち、先行技術では、タイムスタンプは、タイムスタンプを理解したOSや、ミドルウェア、アプリケーションが、データ更新時にタイムスタンプを更新することにより成り立つものであり、もし、タイムスタンプを理解していないOSがボリュームをアクセスした場合には、そのタイムスタンプは意味を持たなくなり、データの整合性が失われてしまう。 That is, in the prior art, a time stamp is established by an OS that understands the time stamp, middleware, or an application updating the time stamp when updating data, and an OS that does not understand the time stamp is a volume. , The time stamp becomes meaningless and data integrity is lost.
これに対し、本発明では、タイムスタンプを保証するために、ボリューム更新禁止手段を使用し、このボリューム更新禁止手段を理解しているOSがボリューム更新を禁止した後に、タイムスタンプを理解していないOSやその他のアプリケーションがデータを書き込もうとしてもストレージ装置自体がデータ書き込みを受け付けないため、ボリュームの内容は変更不可である。 On the other hand, in the present invention, the volume update prohibition unit is used to guarantee the time stamp, and the OS that understands the volume update prohibition unit does not understand the time stamp after prohibiting the volume update. Even if the OS or other application attempts to write data, the storage device itself does not accept data writing, so the contents of the volume cannot be changed.
バックアップ装置からボリュームを復旧させた場合もマスタボリュームおよび複製ボリュームはボリューム更新禁止状態なので、タイムスタンプの内容は保証される。 Even when the volume is restored from the backup device, the master volume and the replica volume are in a volume update prohibited state, so the contents of the time stamp are guaranteed.
このように、本発明では、タイムスタンプの内容が保証されるところに特徴があり、その結果、タイムスタンプの比較によって直ちにマスタボリュームと複製ボリュームとの整合性チェックが完了し、マスタボリュームと複製ボリュームとの同期化が即時に完了する。 As described above, the present invention is characterized in that the contents of the time stamp are guaranteed, and as a result, the consistency check between the master volume and the replica volume is immediately completed by comparing the time stamps. Synchronization with is completed immediately.
これらのボリューム更新禁止手段、タイムスタンプ、ボリュームの退避、および、ボリュームの復元を、以下で説明する実施例のアルゴリズムのように組合せることにより、従来の課題を解決する。 By combining these volume update prohibition means, time stamp, volume evacuation, and volume restoration as in the algorithm of the embodiment described below, the conventional problem is solved.
(第一の実施形態)
本発明の第一の実施形態の構成について図面を参照して詳細に説明する。第一の実施形態は、図1を参照すると、ホストコンピュータ100と、ホストコンピュータ100と接続されたストレージ装置110とバックアップ装置105からなるシステムと、図2を参照すると、ホストコンピュータ200と、ホストコンピュータ200と接続されたストレージ装置210と、バックアップ装置206、および、ホストコンピュータ220と、ホストコンピュータ220と接続されたストレージ装置230と、バックアップ装置226とから構成される。
(First embodiment)
The configuration of the first embodiment of the present invention will be described in detail with reference to the drawings. In the first embodiment, referring to FIG. 1, a system comprising a
ホストコンピュータ100は、ボリューム更新禁止制御手段101と、ボリューム退避ツール102と、ボリューム復元ツール103と、アクセス手段104とを含む。ストレージ装置110は、ボリューム更新禁止手段113と、ボリューム114と、タイムスタンプ116を含むボリュームラベル115と、ファイル117とを含む。
The
ホストコンピュータ200は、レプリケーション制御手段201と、ボリューム退避ツール202と、ボリューム復元ツール203と、アクセス手段204と、ボリューム更新禁止制御手段205とを含む。
The
ストレージ装置210は、ボリューム同期化手段211と、ボリューム分離手段212と、ボリューム更新禁止手段213と、マスタボリューム214と、タイムスタンプ216を含むボリュームラベル215と、ファイル217とを含む。
The
ホストコンピュータ220は、レプリケーション制御手段221と、ボリューム退避ツール222と、ボリューム復元ツール223と、アクセス手段224と、ボリューム更新禁止制御手段225とを含む。ストレージ装置230は、ボリューム同期化手段231と、ボリューム分離手段232と、ボリューム更新禁止手段233と、マスタボリューム214と、タイムスタンプ236を含むボリュームラベルと、ファイル237とを含む。
The
ストレージ装置210とストレージ装置230とは、ネットワーク240により接続されている。ストレージ装置210とストレージ装置230とは同期化機能を有し、マスタボリューム214への書き込みは、ネットワーク240を通じて複製ボリューム234にも反映される。
The
(第一の実施形態の動作の説明)
第一の実施形態の動作について図1から図6を参照して詳細に説明する。
(Description of operation of the first embodiment)
The operation of the first embodiment will be described in detail with reference to FIGS.
第一の実施形態は、旧システム(図1)から新システム(図2)への移行を考えた例である。図1に示す旧システムからボリューム114をバックアップし、図2に示すマスタボリューム214と複製ボリューム234とを同期化する新システムへリストアする。
The first embodiment is an example in which a transition from an old system (FIG. 1) to a new system (FIG. 2) is considered. The volume 114 is backed up from the old system shown in FIG. 1, and restored to the new system that synchronizes the
まず、コピー元の旧システムにおいて、ボリューム更新禁止制御手段101により、そのときの時刻をタイムスタンプ116として設定し、同時にボリューム更新を禁止する(ステップA1)。ボリューム退避ツール102を使用し、ボリュームをバックアップ装置105によりバックアップ媒体を用いてバックアップする(ステップA2)。ボリューム更新禁止制御手段101により、タイムスタンプ116をクリアし、ボリューム更新を可能にする(ステップA3)。
First, in the old system of the copy source, the volume update
このときの様子を図4に示す。図4においてステップA1およびA2ではボリューム更新が禁止されている。 The state at this time is shown in FIG. In FIG. 4, volume updating is prohibited in steps A1 and A2.
次に、図1に示すバックアップ装置105によりボリューム114をバックアップしたバックアップ媒体を、図2に示すバックアップ装置206および226に装着して新システムにボリューム114の情報をリストアし、マスタボリューム214と複製ボリューム234との同期化を行う。
Next, the backup medium backed up by the backup device 105 shown in FIG. 1 is mounted on the
まず、ボリューム更新禁止制御手段205がボリューム更新禁止手段213を使用し、マスタボリューム214のボリューム更新を禁止する。同様に、複製ボリューム234についても、ボリューム更新禁止制御手段225がボリューム更新禁止手段233を使用し、複製ボリューム234のボリューム更新を禁止する(ステップB1)。
First, the volume update
さらに、ボリューム復元ツール203からアクセス手段204を使用し、バックアップ装置206からマスタボリューム214にリストアする。このとき、アクセス手段204はボリューム更新が禁止されていてもディスクに書き込めるような、ストレージ装置210の特権命令を使用する。
Further, the
同様に、複製ボリューム234についても、ボリューム復元ツール223からアクセス手段224を使用し、バックアップ装置226から複製ボリューム234にリストアする。
Similarly, the
ストレージ装置210とストレージ装置230とが地理的に離れて設置されている場合は、バックアップ媒体は複数にコピーされ、それぞれの場所に運搬される(ステップB2)。
When the
レプリケーション制御手段201は、タイムスタンプ216、236を含むボリュームラベル215、235を比較し、マスタボリューム214と複製ボリューム234とが同一か否かを検証する(ステップB3)。
The
同一であれば(ステップB4のYes)、ボリューム同期化手段211を使用しマスタボリューム214と複製ボリューム234とを同期状態にする。ボリューム同期化手段211は、ネットワークを通じボリューム同期化手段231と連携し、マスタボリューム214と複製ボリューム234とを正しく同期化する(ステップB5)。
If they are the same (Yes in step B4), the volume synchronization means 211 is used to bring the
そして、ボリューム更新禁止制御手段205は、マスタボリューム214と複製ボリューム234とのタイムスタンプ216、236をクリアし、ボリューム更新禁止手段213とボリューム更新禁止手段233とを使用し、ボリューム更新を可能にする(ステップB6)。
Then, the volume update
もし、マスタボリューム214と複製ボリューム234とが不一致だった場合は、タイムスタンプ216、236を含むボリュームラベル比較にて不一致を検出する(ステップB3)。この場合には(ステップB4のNo)、ボリューム更新禁止制御手段205が、マスタボリューム214と複製ボリューム234とのタイムスタンプ216、236をクリアし、ボリューム更新禁止手段213、233を使用して両ボリュームのボリューム更新を可能にする(ステップB7)。そして、ボリューム同期化手段211とボリューム同期化手段231とにより、マスタボリューム214の内容がネットワーク240を通じて複製ボリューム234へ複写され、複写完了後に同期状態にする(ステップB8)。
If the
このときの様子を図6に示す。図6ではステップB1、ステップB2、ステップB5においてボリューム更新が禁止されている。なお、図中のMVはマスタボリュームであり、RVは複製ボリュームである。 The state at this time is shown in FIG. In FIG. 6, volume updating is prohibited in Step B1, Step B2, and Step B5. In the figure, MV is a master volume and RV is a replication volume.
(第一の実施形態の効果の説明)
本発明の第一の実施形態の効果について説明する。
(Description of effects of the first embodiment)
The effect of the first embodiment of the present invention will be described.
第一の実施形態では、タイムスタンプ216、236を付与したボリュームへの書き込みを禁止することで、同期化処理において、マスタボリューム214から複製ボリューム234へのボリューム全体のコピーや、ボリューム全体の比較を行うことなく、ボリュームラベルの比較のみで即時同期化状態とすることができる。
In the first embodiment, writing to the volume to which the time stamps 216 and 236 are assigned is prohibited, so that the entire volume can be copied from the
(第二の実施形態)
本発明の第二の実施形態の構成について図面を参照して詳細に説明する。
(Second embodiment)
The configuration of the second embodiment of the present invention will be described in detail with reference to the drawings.
本発明の第二の実施形態は、図7を参照すると、ホストコンピュータ300と、ホストコンピュータ300と接続されたストレージ装置310と、バックアップ装置306と、ストレージ装置310とネットワーク340で接続されたストレージ装置330とから構成される。
In the second embodiment of the present invention, referring to FIG. 7, a
ホストコンピュータ300は、レプリケーション制御手段301と、ボリューム退避ツール302と、ボリューム復元ツール303と、アクセス手段304と、ボリューム更新禁止制御手段305とを含む。
The
ストレージ装置310は、ボリューム同期化手段311と、ボリューム分離手段312と、ボリューム更新禁止手段313と、マスタボリューム314と、タイムスタンプ316とを含むボリュームラベル315と、ファイル317とを含む。
The storage apparatus 310 includes a volume synchronization unit 311, a volume separation unit 312, a volume update prohibition unit 313, a
ストレージ装置330は、ボリューム同期化手段331と、ボリューム分離手段332と、ボリューム更新禁止手段333と、複製ボリューム334と、タイムスタンプ336とを含むボリュームラベル335と、ファイル337とを含む。
The
ストレージ装置310とストレージ装置330とはネットワーク340にて接続されている。ストレージ装置310とストレージ装置330とは同期化機能を有し、マスタボリューム314への書き込みは、ネットワーク340を通じて複製ボリューム334にも反映される。
The storage device 310 and the
(第二の実施形態の動作の説明)
第二の実施形態の動作について図7から図11を参照して詳細に説明する。第二の実施形態は、同期化されているマスタボリューム314と複製ボリューム334とについて、バックアップを採取後、いったん同期状態を解除し、マスタボリューム314の内容変更を伴うプログラムの実行を行い、その後、マスタボリューム314の内容をリストアし、再度、同期状態とする例である。
(Description of operation of the second embodiment)
The operation of the second embodiment will be described in detail with reference to FIGS. In the second embodiment, for the
まず、ボリューム更新禁止制御手段305からタイムスタンプ316を設定し、ボリューム更新禁止手段313を使用しマスタボリューム314と複製ボリューム334の更新を禁止する。ボリューム更新禁止手段313は、ネットワーク340を通じてボリューム更新禁止手段333を使用して複製ボリューム334の更新を禁止する(ステップC1)。
First, the time stamp 316 is set from the volume update prohibition control unit 305, and the update of the
レプリケーション制御手段301がボリューム分離手段312を使用し、同期化されたマスタボリューム314と複製ボリューム334とを分離して非同期化する。ボリューム分離手段312は、ネットワーク340を通じてボリューム分離手段332を使用し、ストレージ装置330においても複製ボリューム334とマスタボリューム314とを非同期化させる(ステップC2)。
The
ボリューム退避ツール302は、アクセス手段304とバックアップ装置306とを使用し、マスタボリューム314をバックアップする(ステップC3)。
The
ボリューム更新禁止制御手段305は、マスタボリューム314のボリューム更新を可能にし、タイムスタンプ316をクリアする。複製ボリューム334はボリューム更新が禁止されたままとする(ステップC4)。
The volume update prohibition control unit 305 enables the volume update of the
複製ボリューム334は、非同期状態、かつ、更新が禁止されているため、マスタボリューム314を更新しても更新されない。この状態で、更新を伴うプログラムの実行を、マスタボリューム314を使用して行う。
Since the replication volume 334 is in an asynchronous state and update is prohibited, it is not updated even if the
このときの様子を図9に示す。図9ではステップC1、ステップC2、ステップC3においてボリュームの更新が禁止されている。 The state at this time is shown in FIG. In FIG. 9, volume updating is prohibited in Step C1, Step C2, and Step C3.
次に、マスタボリューム314と複製ボリューム334との再同期化処理を説明する。ボリューム更新禁止制御手段305からボリューム更新禁止手段313を使用し、マスタボリューム314の更新を禁止する(ステップD1)。
Next, resynchronization processing between the
ボリューム復元ツール303が、アクセス手段304を使用しバックアップ装置306からマスタボリューム314にリストアする。アクセス手段304は、ストレージ装置330の特権命令を使用し、更新禁止状態であっても書き込めるものとする(ステップD2)。
The volume restoration tool 303 restores from the backup device 306 to the
マスタボリューム314と複製ボリューム334とが同一か否かを、タイムスタンプ316、336を含むボリュームラベル315、335を比較することで判断(検証)する(ステップD3)。
Whether or not the
同一の場合は(ステップD4のYes)、レプリケーション制御手段301からボリューム同期化手段311を使用することにより、即時同期化状態にする(ステップD5)。
If they are the same (Yes in step D4), the volume synchronization unit 311 is used from the
ボリューム更新禁止制御手段305が、マスタボリューム314および複製ボリューム334のタイムスタンプ316、336をクリアし、マスタボリューム314および複製ボリューム334のボリューム更新を可能にする(ステップD6)。
The volume update prohibition control unit 305 clears the time stamps 316 and 336 of the
マスタボリューム314と複製ボリューム334とが不一致だった場合は、タイムスタンプ316、336を含むボリュームラベル315、335の比較にて不一致を検出する(ステップD3)。この場合には(ステップD4のNo)、ボリューム更新禁止制御手段305が、マスタボリューム314および複製ボリューム334のタイムスタンプ316、336をクリアし、ボリューム更新禁止手段313、333を使用して両ボリュームのボリューム更新を可能にする(ステップD7)。そして、ボリューム同期化手段311とボリューム同期化手段331とにより、マスタボリューム314の内容がネットワーク340を通じて複製ボリューム334へ複写され、複写完了後に同期状態にする(ステップD8)。
If the
このときの様子を図11に示す。図11ではステップD1、ステップD2、ステップD5、ステップD6でボリュームの更新が禁止されている。 The state at this time is shown in FIG. In FIG. 11, volume updating is prohibited in step D1, step D2, step D5, and step D6.
(第二の実施形態の効果の説明)
本発明の第二の実施形態の効果について説明する。
(Description of effects of the second embodiment)
The effect of the second embodiment of the present invention will be described.
第二の実施形態では、複製ボリューム334への書き込みを禁止することで、マスタボリューム314を更新し、復元後の再同期化処理において、マスタボリューム314から複製ボリューム334への全面コピーを行うことなく、即時同期化状態とすることができる。
In the second embodiment, by prohibiting writing to the replication volume 334, the
第二の実施形態では、マスタボリューム314を更新する評価の例をあげたが、もちろん、複製ボリューム334を更新する評価についても、同様に本発明により高速化できる。
(本発明の効果の説明)
第一の効果は、同一の退避媒体からマスタボリュームと複製ボリュームへの復元後の同期化の際、同期状態への高速遷移が可能なことである。
In the second embodiment, an example of evaluation for updating the
(Description of the effect of the present invention)
The first effect is that a high-speed transition to a synchronized state is possible at the time of synchronization after restoration from the same save medium to the master volume and the replica volume.
その理由は、同期化処理において、マスタボリュームと複製ボリュームとの一部の比較でボリューム内容の同一性が判断可能となり、ボリューム全体のコピーを実施することなく同期状態とすることが可能なためである。 The reason is that in synchronization processing, it is possible to determine the identity of the volume contents by comparing a part of the master volume and the replica volume, and it is possible to achieve a synchronized state without copying the entire volume. is there.
第二の効果は、同期化処理時のサーバコンピュータからのボリュームアクセスに対する応答性能が向上することである。 The second effect is that the response performance to the volume access from the server computer during the synchronization process is improved.
その理由は、ボリューム全体のコピーを実施しないことにより、ストレージ装置の負荷が低減するためである。 This is because the load on the storage device is reduced by not copying the entire volume.
第三の効果は、マスタボリュームと複製ボリュームとが別ストレージ装置に存在する遠隔データレプリケーション構成時に、ストレージ装置間の回線コストを抑えることが可能なことである。 The third effect is that the line cost between the storage apparatuses can be suppressed in the remote data replication configuration in which the master volume and the replication volume exist in different storage apparatuses.
その理由は、同期化処理において、マスタボリュームと複製ボリュームの一部の比較でボリューム内容の同一性が判断可能となり、ボリューム全体のコピーを実施する必要がないため、回線を流れるデータ量を削減することが可能なためである。 The reason is that in synchronization processing, it is possible to determine the identity of the volume contents by comparing a part of the master volume and replica volume, and it is not necessary to copy the entire volume, so the amount of data flowing through the line is reduced. Because it is possible.
本発明は、信頼性や、災害に対する業務継続性が求められる、ディスクの複製ボリュームが遠隔地に置いてあるようなシステムに適用できる。特に、マスタボリュームと複製ボリュームの各ディスク装置間が、高価なネットワークにより接続されている場合に有効である。 The present invention can be applied to a system in which a replica volume of a disk is placed in a remote place where reliability and business continuity against disaster are required. In particular, this is effective when the disk devices of the master volume and the replication volume are connected by an expensive network.
100、200、220、300 ホストコンピュータ
101、205、225、305 ボリューム更新禁止制御手段
102、202、222、302 ボリューム退避ツール
103、203、223、303 ボリューム復元ツール
104、204、224、304 アクセス手段
105、206、226、306 バックアップ装置
110、210、230、310、330 ストレージ装置
113、213、233、313、333 ボリューム更新禁止手段
114 ボリューム
115、215、235、315、335 ボリュームラベル
116、216、236、316、336 タイムスタンプ
117、217、237、317、337 ファイル
201、221、301 レプリケーション制御手段
211、231、311、331 ボリューム同期化手段
212、232、312、332 ボリューム分離手段
214、314 マスタボリューム
234、334 複製ボリューム
240、340 ネットワーク
100, 200, 220, 300
Claims (3)
このマスタボリュームおよび複製ボリュームは、それぞれタイムスタンプを含むボリュームラベルを備えたストレージ装置において、
前記タイムスタンプを、前記マスタボリュームまたは前記複製ボリュームの更新を禁止する際に付与するボリューム更新禁止手段と、
前記マスタボリュームと前記複製ボリュームとの同期状態を解除して非同期化するボリューム分離手段と、
前記マスタボリュームと前記複製ボリュームとが非同期で更新が禁止された状態で、前記マスタボリュームに対するバックアップまたはリストアを特権命令が伴う場合に限定して実行するボリュームリストア手段と、
前記マスタボリュームと前記複製ボリュームとが同一であるか否かを前記各ボリュームのタイムスタンプを比較して同期化を行うボリューム同期化手段と
を備え、
前記ボリューム同期化手段は、
前記マスタボリュームと前記複製ボリュームとが更新が禁止された状態で前記タイムスタンプを比較し、その値が一致したときには前記マスタボリュームと前記複製ボリュームとが同期化していると判断して前記マスタボリュームと前記複製ボリュームとを同期化状態にし、前記タイムスタンプをクリアして更新禁止状態を解除する手段と、
前記タイムスタンプの値が不一致を検出した場合には、前記タイムスタンプをクリアして両者のボリューム更新禁止を解除し、前記マスタボリュームの内容を前記複製ボリュームに複写して同期化を行う手段と
を含む
を備えたことを特徴とするストレージ装置。 It has a master volume and a replication volume,
The master volume and replica volume are each a storage device with a volume label including a time stamp.
Volume update prohibiting means for giving the time stamp when the master volume or the replication volume is prohibited from being updated;
Volume separation means for releasing the synchronization between the master volume and the replication volume to make it asynchronous;
Volume restore means for executing backup or restore for the master volume only when a privileged instruction is accompanied with the master volume and the replica volume being asynchronously updated.
Volume synchronization means for performing synchronization by comparing the time stamp of each volume to determine whether the master volume and the replication volume are the same, or
The volume synchronization means includes
The master volume and the replica volume are compared with the time stamp when update is prohibited, and when the values match, it is determined that the master volume and the replica volume are synchronized with the master volume. Means for bringing the replica volume into a synchronized state, clearing the time stamp, and releasing the update prohibition state;
Means for clearing the time stamp, canceling the volume update prohibition between both, and copying the contents of the master volume to the duplicate volume for synchronization when the time stamp value is detected to be inconsistent;
Including a storage device.
ボリューム更新禁止手段が、タイムスタンプを、前記マスタボリュームまたは前記複製ボリュームの更新を禁止する際に付与するステップと、
ボリューム分離手段が、前記マスタボリュームと前記複製ボリュームとの同期状態を解除して非同期化するステップと、
ボリュームリストア手段が、前記マスタボリュームと前記複製ボリュームとが非同期で更新が禁止された状態で、前記マスタボリュームに対するバックアップまたはリストアを特権命令が伴う場合に限定して実行するステップと、
ボリューム同期化手段が、前記マスタボリュームと前記複製ボリュームとが同一であるか否かを前記各ボリュームのタイムスタンプを比較して同期化を行うステップと
を備え、
前記ボリューム同期化を行うステップは、
前記マスタボリュームと前記複製ボリュームとが更新が禁止された状態で前記タイムスタンプを比較し、その値が一致したときには前記マスタボリュームと前記複製ボリュームとが同期化していると判断して前記マスタボリュームと前記複製ボリュームとを同期化状態にし、前記タイムスタンプをクリアして更新禁止状態を解除するステップと、
前記タイムスタンプの値が不一致を検出した場合には、前記タイムスタンプをクリアして両者のボリューム更新禁止を解除し、前記マスタボリュームの内容を前記複製ボリュームに複写して同期化を行うステップと
を含む
ことを特徴とするタイムスタンプの付与方法。 In the method for assigning a time stamp to a master volume or replica volume provided in a storage device,
Volume update inhibiting means comprises the steps of applying a time stamp, when prohibiting updates of the master volume or the copy volume,
A volume separating means for releasing the synchronization state of the master volume and the replication volume to make it asynchronous;
A step of performing volume backup means only when a backup or restore is accompanied by a privileged instruction in a state where the master volume and the replication volume are asynchronously prohibited from being updated; and
Volume synchronization means, and a step for comparing to synchronize the master volume and the replication volume and whether the time stamp of the respective volumes of the same,
The step of performing the volume synchronization includes:
The master volume and the replica volume are compared with the time stamp when update is prohibited, and when the values match, it is determined that the master volume and the replica volume are synchronized with the master volume. Bringing the replica volume into a synchronized state, clearing the time stamp, and releasing the update prohibition state;
When the time stamp value is detected to be inconsistent, the time stamp is cleared to cancel the volume update prohibition between the two, and the contents of the master volume are copied to the replica volume for synchronization.
A method for providing a time stamp, comprising:
前記タイムスタンプを、前記マスタボリュームまたは前記複製ボリュームの更新を禁止する際に付与するボリューム更新禁止手段と、
前記マスタボリュームと前記複製ボリュームとの同期状態を解除して非同期化するボリューム分離手段と、
前記マスタボリュームと前記複製ボリュームとが非同期で更新が禁止された状態で、前記マスタボリュームに対するバックアップまたはリストアを特権命令が伴う場合に限定して実行するボリュームリストア手段と、
前記マスタボリュームと前記複製ボリュームとが同一であるか否かを前記各ボリュームのタイムスタンプを比較して同期化を行うボリューム同期化手段と
を備え、
前記ボリューム同期化手段は、
前記マスタボリュームと前記複製ボリュームとが更新が禁止された状態で前記タイムスタンプを比較し、その値が一致したときには前記マスタボリュームと前記複製ボリュームとが同期化していると判断して前記マスタボリュームと前記複製ボリュームとを同期化状態にし、前記タイムスタンプをクリアして更新禁止状態を解除する手段と、
前記タイムスタンプの値が不一致を検出した場合には、前記タイムスタンプをクリアして両者のボリューム更新禁止を解除し、前記マスタボリュームの内容を前記複製ボリュームに複写して同期化を行う手段と
を含む
ストレージ装置に相応する手段を実現させることを特徴とするプログラム。 When installed in a general-purpose information processing device, the general-purpose information processing device is provided with a master volume and a replica volume, and the master volume and the replica volume correspond to storage devices each having a volume label including a time stamp. In the program that realizes the function to
Volume update prohibiting means for giving the time stamp when the master volume or the replication volume is prohibited from being updated;
Volume separation means for releasing the synchronization between the master volume and the replication volume to make it asynchronous;
Volume restore means for executing backup or restore for the master volume only when a privileged instruction is accompanied with the master volume and the replica volume being asynchronously updated.
Volume synchronization means for performing synchronization by comparing the time stamp of each volume to determine whether the master volume and the replication volume are the same, or
The volume synchronization means includes
The master volume and the replica volume are compared with the time stamp when update is prohibited, and when the values match, it is determined that the master volume and the replica volume are synchronized with the master volume. Means for bringing the replica volume into a synchronized state, clearing the time stamp, and releasing the update prohibition state;
Means for clearing the time stamp, canceling the volume update prohibition between both, and copying the contents of the master volume to the duplicate volume for synchronization when the time stamp value is detected to be inconsistent;
including
A program characterized by realizing means corresponding to a storage device .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007290624A JP4888347B2 (en) | 2007-11-08 | 2007-11-08 | Storage apparatus and time stamp assigning method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2007290624A JP4888347B2 (en) | 2007-11-08 | 2007-11-08 | Storage apparatus and time stamp assigning method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009116722A JP2009116722A (en) | 2009-05-28 |
| JP4888347B2 true JP4888347B2 (en) | 2012-02-29 |
Family
ID=40783784
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2007290624A Expired - Fee Related JP4888347B2 (en) | 2007-11-08 | 2007-11-08 | Storage apparatus and time stamp assigning method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4888347B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2016122690A1 (en) * | 2015-01-29 | 2016-08-04 | Hewlett Packard Enterprise Development Lp | File system replication |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE3689287T2 (en) * | 1985-02-18 | 1994-05-26 | Nippon Electric Co | Data processing equipment. |
| JP2665199B2 (en) * | 1995-05-30 | 1997-10-22 | 日本電気ソフトウェア株式会社 | Mirrored disk management method |
| JPH11167510A (en) * | 1997-12-04 | 1999-06-22 | Hitachi Ltd | Replication method, replication tool, and replication server |
| JP3763142B2 (en) * | 2002-01-30 | 2006-04-05 | ソニー株式会社 | Privileged instruction execution control device, privileged instruction execution control method, and privileged instruction execution control program |
| JP4425728B2 (en) * | 2003-12-03 | 2010-03-03 | 株式会社日立製作所 | Remote copy system |
-
2007
- 2007-11-08 JP JP2007290624A patent/JP4888347B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2009116722A (en) | 2009-05-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8346726B2 (en) | System and method for virtualizing backup images | |
| US9563517B1 (en) | Cloud snapshots | |
| US8099391B1 (en) | Incremental and differential backups of virtual machine files | |
| US7509544B2 (en) | Data repair and synchronization method of dual flash read only memory | |
| US20140089266A1 (en) | Information processing system | |
| US8578203B2 (en) | Providing a backup service from a remote backup data center to a computer through a network | |
| US8600937B1 (en) | System and method for fast volume cloning | |
| JP4715774B2 (en) | Replication method, replication system, storage device, program | |
| US9710338B1 (en) | Virtual machine data recovery | |
| EP1565824A2 (en) | Improved remote copy synchronization in disaster recovery computer systems | |
| US10372554B1 (en) | Verification and restore of replicated data using a cloud storing chunks of data and a plurality of hashes | |
| CN112711498A (en) | Virtual machine disaster recovery backup method, device, equipment and readable storage medium | |
| CN106776130A (en) | A kind of journal recovery method, storage device and memory node | |
| US20200218711A1 (en) | Method and system for secure data replication data integrity verification | |
| US7725428B1 (en) | System and method for restoring a database in a distributed database system | |
| US20210049072A1 (en) | Environment independent data protection in a highly available data system | |
| JP4888347B2 (en) | Storage apparatus and time stamp assigning method | |
| JP2007065873A (en) | Storage control device, storage control system, and storage control method | |
| CN101196839A (en) | Data repair and synchronization method for dual flash read-only memory | |
| CN113127151A (en) | Real-time copying method, system and medium for data in virtualization environment | |
| US10884874B1 (en) | Federated restore of availability group database replicas | |
| JP2011209834A (en) | Redundant system | |
| CN115098300A (en) | A database backup method, disaster recovery method, device and equipment | |
| CN121764732B (en) | Database backup method, device, electronic equipment and storage medium | |
| JP4636008B2 (en) | Data replication system, data replication method, data replication program |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110714 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110726 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20110922 |
|
| 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: 20111115 |
|
| 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: 20111128 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4888347 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141222 Year of fee payment: 3 |
|
| LAPS | Cancellation because of no payment of annual fees |