JP7358809B2 - Storage control device, storage control program and storage system - Google Patents
Storage control device, storage control program and storage system Download PDFInfo
- Publication number
- JP7358809B2 JP7358809B2 JP2019128752A JP2019128752A JP7358809B2 JP 7358809 B2 JP7358809 B2 JP 7358809B2 JP 2019128752 A JP2019128752 A JP 2019128752A JP 2019128752 A JP2019128752 A JP 2019128752A JP 7358809 B2 JP7358809 B2 JP 7358809B2
- Authority
- JP
- Japan
- Prior art keywords
- volume
- snapshot
- data
- snap
- copy
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Retry When Errors Occur (AREA)
Description
本発明は、ストレージ制御装置、ストレージ制御プログラムおよびストレージシステムに関する。 The present invention relates to a storage control device, a storage control program, and a storage system.
従来、災害などによる業務ボリュームのデータの損失への対策として、ストレージ装置のコピー機能を利用したリモートサイトへのバックアップが行われている。業務ボリュームから直接リモートサイトのストレージ装置上のボリュームに対してコピーを行うと、業務ボリュームへのI/O(Input/Output)性能に影響を及ぼす場合がある。 BACKGROUND ART Conventionally, as a measure against loss of business volume data due to disasters, etc., backup to a remote site has been performed using the copy function of a storage device. If a copy is performed directly from a business volume to a volume on a storage device at a remote site, I/O (Input/Output) performance to the business volume may be affected.
このため、業務ボリュームと同一のストレージ装置内に、業務ボリュームのスナップショット、すなわち、一時点におけるデータのコピーを作成し、作成した複製ボリュームからリモートサイトへデータを転送する場合がある。 For this reason, there are cases where a snapshot of the business volume, that is, a copy of the data at a point in time, is created in the same storage device as the business volume, and the data is transferred from the created replicated volume to a remote site.
先行技術としては、例えば、システム障害時における記憶制御装置の正副切り替え処理を行うストレージシステムがある。また、スナップショット機能を利用して、リモートコピーの作成を行うストレージ装置がある。 As a prior art, for example, there is a storage system that performs a primary/secondary switching process of a storage control device in the event of a system failure. Furthermore, there is a storage device that uses a snapshot function to create a remote copy.
しかしながら、従来技術では、リモートサイトに格納されたバックアップデータを、冗長性を確保した状態でホストサーバなどから参照可能にすることができない。 However, with the conventional technology, backup data stored at a remote site cannot be made referenceable from a host server or the like while ensuring redundancy.
一つの側面では、本発明は、冗長性を確保した状態でバックアップデータを参照可能にすることを目的とする。 In one aspect, the present invention aims to enable backup data to be referenced while ensuring redundancy.
一つの実施態様では、プライマリボリュームと前記プライマリボリュームのスナップショットが作成される第1ボリュームとを有する第1のストレージ装置と、前記プライマリボリュームのスナップショットのデータがリモートコピーされるセカンダリボリュームと前記セカンダリボリュームのスナップショットが作成される第2ボリュームとを有する第2のストレージ装置とを含むストレージシステムのコピー制御を行うストレージ制御装置であって、バックアップデータの参照要求を受け付けたことに応じて、前記プライマリボリュームのスナップショットが作成される第3ボリュームと、前記セカンダリボリュームのスナップショットが作成される第4ボリュームとを作成し、前記プライマリボリュームから前記第1ボリュームへのスナップショット、前記第1ボリュームから前記セカンダリボリュームへのリモートコピー、および、前記セカンダリボリュームから前記第2ボリュームへのスナップショットを用いた、前記プライマリボリュームのバックアップ処理を停止し、前記プライマリボリュームから前記第3ボリュームへのスナップショット、前記第3ボリュームから前記セカンダリボリュームへのリモートコピー、および、前記セカンダリボリュームから前記第4ボリュームへのスナップショットを用いて、前記プライマリボリュームのバックアップ処理を開始する、制御部を有するストレージ制御装置が提供される。 In one embodiment, a first storage device includes a primary volume and a first volume to which a snapshot of the primary volume is created; a secondary volume to which data of the snapshot of the primary volume is remotely copied; A storage control device that performs copy control of a storage system including a second storage device having a second volume in which a snapshot of a volume is created, and in response to receiving a backup data reference request, Create a third volume in which a snapshot of the primary volume is created and a fourth volume in which a snapshot of the secondary volume is created, and create a snapshot from the primary volume to the first volume and from the first volume. Stop the backup process of the primary volume using the remote copy to the secondary volume and the snapshot from the secondary volume to the second volume, and perform the snapshot from the primary volume to the third volume. There is provided a storage control device having a control unit that starts backup processing of the primary volume using a remote copy from a third volume to the secondary volume and a snapshot from the secondary volume to the fourth volume. Ru.
本発明の一側面によれば、冗長性を確保した状態でバックアップデータを参照可能にすることができるという効果を奏する。 According to one aspect of the present invention, it is possible to make backup data referable while ensuring redundancy.
以下に図面を参照して、本発明にかかるストレージ制御装置、ストレージ制御プログラムおよびストレージシステムの実施の形態を詳細に説明する。 Embodiments of a storage control device, a storage control program, and a storage system according to the present invention will be described in detail below with reference to the drawings.
(実施の形態)
図1は、実施の形態にかかるストレージシステムのシステム構成例を示す説明図である。図1において、ストレージシステム100は、ストレージ装置101と、ストレージ装置102と、を含む。ストレージシステム100において、ストレージ装置101およびストレージ装置102は、有線または無線のネットワーク110を介して接続される。ネットワーク110は、例えば、LAN(Local Area Network)、WAN(Wide Area Network)、インターネットなどである。
(Embodiment)
FIG. 1 is an explanatory diagram showing an example of a system configuration of a storage system according to an embodiment. In FIG. 1, a
ストレージ装置101は、バックアップ対象のデータを記憶するコピー元のストレージ装置であり、いわゆる、プライマリストレージである。ストレージ装置102は、バックアップ対象のデータがコピーされるコピー先のストレージ装置であり、いわゆる、セカンダリストレージである。
The
ホスト装置103は、ストレージシステム100に接続される上位装置である。例えば、ホスト装置103は、ストレージ装置101上に作成されるボリュームを用いて業務処理を行う。ホスト装置103は、例えば、サーバ、PC(Personal Computer)などにより実現される。
The
各ストレージ装置101,102は、リモートコピー機能を有する。リモートコピーとは、遠隔地での筐体間コピーを実現する機能である。リモートコピーでは、例えば、コピー元(ボリューム)のデータを定期的にコピー先(ボリューム)に転送するにあたり、まず、開始時点のコピー元のデータをコピー先に転送し、コピー元へのデータ更新分を逐次コピー先に転送するという手順を踏む。
Each
ここで、ストレージ装置101,102は、1以上のノード120と、1以上のディスク130と、を有する。ノード120は、ディスク130、メモリ122等の資源管理や、コピー制御などを行うストレージ制御装置である。ノード120は、CPU(Central Processing Unit)121と、メモリ122と、通信I/F(Interface)123と、を有する。また、各構成部は、バス124によってそれぞれ接続される。
Here, the
CPU121は、ノード120の全体の制御を司る。CPU121は、複数のコアを有していてもよい。メモリ122は、例えば、DRAM(Dynamic Random Access Memory)やフラッシュROM(Read Only Memory)などを有する。具体的には、例えば、フラッシュROMは、各種プログラムを記憶する。DRAMは、CPU121のワークエリアとして使用される揮発メモリであり、例えば、処理中のユーザデータや制御情報を記憶する。メモリ122に記憶されるプログラムは、CPU121にロードされることで、コーディングされている処理をCPU121に実行させる。
The
通信I/F123は、ネットワーク110等に接続され、ネットワーク110等を介して他のコンピュータに接続される。そして、通信I/F123は、ネットワーク110等とノード内部とのインターフェースを司り、他のコンピュータからのデータの入出力を制御する。通信I/F123には、例えば、CA(Channel Adapter)やLANアダプタなどを採用することができる。
The communication I/
また、ストレージシステム100において、ホスト装置103は、ストレージ装置101,102のうちのストレージ装置101に接続される。例えば、ホスト装置103は、FC(Fibre Channel)やiSCSI(Internet Small Computer System Interface)でストレージ装置101と接続される。
Furthermore, in the
ディスク130は、データを記憶するストレージの一例であり、ユーザデータや制御情報を記憶する不揮発性の記憶装置である。ディスク130は、例えば、HDD(Hard Disk Drive)やSSD(Solid State Drive)である。ディスク130は、全てがHDDまたはSSDであってもよいし、HDDとSSDとが混在していてもよい。
The
ここで、セカンダリストレージのバックアップデータを、プライマリストレージに接続されたホストサーバ(例えば、ホスト装置103)から参照したい場合がある。この場合、バックアップデータを参照可能にするために、例えば、プライマリストレージからセカンダリストレージへのリモートコピーがサスペンド(停止)され、プライマリストレージ上に仮想ボリュームが作成される。 Here, there are cases where it is desired to refer to backup data in the secondary storage from a host server (for example, the host device 103) connected to the primary storage. In this case, in order to make the backup data referable, for example, remote copying from the primary storage to the secondary storage is suspended (stopped) and a virtual volume is created on the primary storage.
ユーザは、プライマリストレージ上の仮想ボリュームにアクセスすることで、バックアップデータを参照することができる。また、バックアップデータの参照が終了すると、プライマリストレージ上の仮想ボリュームが削除され、プライマリストレージからセカンダリストレージへのリモートコピーが再開される。 Users can refer to backup data by accessing the virtual volume on the primary storage. Furthermore, once the backup data has been referenced, the virtual volume on the primary storage is deleted, and remote copying from the primary storage to the secondary storage is restarted.
なお、プライマリストレージに接続されたホストサーバからバックアップデータを参照する理由としては、例えば、セキュリティ面を考慮してホストサーバからセカンダリストレージに直接アクセスできないようにしていることが挙げられる。また、セカンダリストレージが遠距離にあるため、コスト面を考慮してホストサーバからセカンダリストレージに直接アクセスしないようにしていることが挙げられる。 Note that the reason for referencing backup data from a host server connected to a primary storage is that, for security reasons, the host server is not allowed to directly access the secondary storage. Additionally, because the secondary storage is located far away, the host server does not directly access the secondary storage due to cost considerations.
しかしながら、バックアップデータを参照するにあたり、プライマリストレージからセカンダリストレージへのリモートコピーを停止すると、プライマリストレージのバックアップ処理が中断されるため、データの冗長性を確保することができない。 However, when referring to backup data, if remote copying from primary storage to secondary storage is stopped, backup processing of the primary storage is interrupted, making it impossible to ensure data redundancy.
例えば、プライマリストレージに格納されたデータがウィルス感染していることが発覚したため、バックアップデータのウィルス感染の有無を調べるために、セカンダリストレージに格納された全データにウィルススキャンをかける場合がある。バックアップデータのデータ量によっては、ウィルススキャンに数日かかることがある。 For example, when data stored in primary storage is found to be infected with a virus, all data stored in secondary storage may be scanned for viruses in order to check whether backup data is infected with a virus. Depending on the amount of backup data, virus scanning may take several days.
このような場合、バックアップデータを参照中にプライマリストレージがダウンすると、直前の定期バックアップのデータが確保できていないため、プライマリストレージのデータを適切に復元することができなくなる。すなわち、何世代も前のデータ(参照中のバックアップデータ)しか確保できないことになる。 In such a case, if the primary storage goes down while the backup data is being referenced, the data in the primary storage will not be able to be properly restored because the data from the previous regular backup cannot be secured. In other words, only data from many generations ago (backup data being referenced) can be secured.
そこで、本実施の形態では、ストレージ装置102(セカンダリストレージ)に格納されたバックアップデータを、ストレージ装置101(プライマリストレージ)に接続されたホスト装置103から、冗長性を確保した状態で参照可能にするストレージ制御装置(ノード120)について説明する。
Therefore, in this embodiment, backup data stored in the storage device 102 (secondary storage) can be referenced from the
(データのバックアップ例)
まず、ストレージシステム100におけるデータのバックアップ例について説明する。ここでは、ストレージ装置101のデータを、ストレージ装置102にリモートコピーすることにより、データのバックアップを行う。
(Data backup example)
First, an example of data backup in the
図2は、データのバックアップ例を示す説明図である。図2において、ボックスIDは、各ストレージ装置101,102を識別する識別子である。ここでは、ストレージ装置101のボックスIDは「A」である。また、ストレージ装置102のボックスIDは「B」である。
FIG. 2 is an explanatory diagram showing an example of data backup. In FIG. 2, the box ID is an identifier that identifies each
ボリューム(P-V)は、ストレージ装置101に作成されるプライマリボリューム(コピー元のボリューム)である。ボリュームとは、各ストレージ装置101,102の管理単位となる記憶領域である。ボリュームは、1または複数の物理的な記憶装置であってもよく、論理的な記憶装置であるLUN(Logical Unit Number)であってもよい。例えば、ボリューム(P-V)は、業務ボリュームである。
The volume (PV) is a primary volume (copy source volume) created in the
図2の例では、ボリューム(P-V)は、LUN#1である。LUN#(数字)の(数字)は、ボリュームIDである。ボリュームIDは、各ストレージ装置101,102においてボリュームを一意に識別する識別子である。ボリューム(S-V)は、ストレージ装置102に作成されるセカンダリボリューム(コピー先のボリューム)である。図2の例では、ボリューム(S-V)は、LUN#11である。
In the example of FIG. 2, the volume (PV) is
なお、P-Vは、Primary-Volumeの略である。S-Vは、Secondary-Volumeの略である。 Note that PV is an abbreviation for Primary-Volume. SV is an abbreviation for Secondary-Volume.
ここで、ボリューム(P-V)からボリューム(S-V)へのデータのバックアップを行うにあたり、ボリューム(P-V)からボリューム(S-V)に対して直接コピーを行うと、ボリューム(P-V)へのI/O性能に影響を及ぼすおそれがある。そこで、ストレージ装置101は、自装置内のボリューム(P-Snap)に、ボリューム(P-V)のスナップショットを作成し、作成したボリューム(P-Snap)からボリューム(S-V)へのリモートコピーを行う。
Here, when backing up data from volume (PV) to volume (SV), if you directly copy data from volume (PV) to volume (SV), volume (P -V) may be affected. Therefore, the
スナップショットとは、一時点におけるデータの論理的なコピーである。スナップショットは、例えば、データの更新時に、更新するデータ部の更新前の状態をコピーし、オリジナルの未更新部分とあわせて更新前の状態を保持する、いわゆる、コピー・オン・ライト方式により作成される。図2の例では、ボリューム(P-Snap)は、LUN#2である。
A snapshot is a logical copy of data at a point in time. For example, when updating data, a snapshot is created using the so-called copy-on-write method, in which the state before the update of the data part to be updated is copied and the state before the update is retained along with the original unupdated part. be done. In the example of FIG. 2, the volume (P-Snap) is
さらに、ボリューム(P-Snap)からボリューム(S-V)へのリモートコピー中に通信障害等が発生すると、ボリューム(S-V)がボリューム(P-Snap)と等価状態であることが保証されず、ボリューム(S-V)を使用できなくなるおそれがある。そこで、ストレージ装置102は、ボリューム(P-Snap)からボリューム(S-V)へのリモートコピー完了後に、自装置内のボリューム(S-Snap)に、ボリューム(S-V)のスナップショットを作成する。図2の例では、ボリューム(S-Snap)は、LUN#12である。
Furthermore, if a communication failure occurs during remote copying from a volume (P-Snap) to a volume (SV), the volume (SV) is guaranteed to be in the same state as the volume (P-Snap). However, there is a possibility that the volume (SV) may become unusable. Therefore, after completing the remote copy from the volume (P-Snap) to the volume (SV), the
これにより、ボリューム(P-V)へのI/O性能に与える影響を抑えつつ、ボリューム(P-V)のデータのバックアップをとることができる。さらに、リモートコピー中の通信障害等を考慮して、リモートサイト側でもボリューム(S-V)のデータのバックアップをとることができる。 Thereby, it is possible to back up the data of the volume (PV) while suppressing the influence on the I/O performance of the volume (PV). Furthermore, in consideration of communication failures during remote copying, data in volumes (SVs) can be backed up on the remote site side as well.
なお、図2中、セッションIDは、コピーセッションを識別する識別子である。コピーセッションは、コピーの実行単位である。また、RECは、リモートコピーをあらわす。 Note that in FIG. 2, the session ID is an identifier that identifies a copy session. A copy session is a copy execution unit. Further, REC represents remote copy.
(バックアップデータを参照時のコピー制御例)
つぎに、ストレージシステム100におけるバックアップデータを参照時のコピー制御例について説明する。
(Example of copy control when referencing backup data)
Next, an example of copy control when referring to backup data in the
以下の説明では、ストレージ装置101内にノード120のうち、ストレージシステム100のコピー制御を行うノード120を「マスタノードM」と表記する場合がある。
In the following description, among the
図3A、図3Bおよび図3Cは、バックアップデータを参照時のコピー制御例を示す説明図である。図3Aにおいて、まず、マスタノードMは、バックアップデータの参照要求を受け付けたことに応じて、ボリューム(P-Snap’)とボリューム(S-Snap’)とを作成する。 FIGS. 3A, 3B, and 3C are explanatory diagrams showing examples of copy control when referring to backup data. In FIG. 3A, first, the master node M creates a volume (P-Snap') and a volume (S-Snap') in response to receiving a backup data reference request.
ここで、ボリューム(P-Snap’)は、ボリューム(P-V)のスナップショットが作成されるボリュームであり、ボリューム(P-Snap)とは異なる。ボリューム(S-Snap’)は、ボリューム(S-V)のスナップショットが作成されるボリュームであり、ボリューム(S-Snap)とは異なる。ボリューム(P-Snap’)は、例えば、LUN#3である。ボリューム(S-Snap’)は、例えば、LUN#13である。
Here, the volume (P-Snap') is a volume in which a snapshot of the volume (PV) is created, and is different from the volume (P-Snap). A volume (S-Snap') is a volume in which a snapshot of a volume (SV) is created, and is different from a volume (S-Snap). The volume (P-Snap') is, for example,
具体的には、例えば、マスタノードMは、ストレージ装置101上にボリューム(P-Snap’)を作成する。また、マスタノードMは、ストレージ装置102にボリューム(S-Snap’)の作成指示を送信する。ストレージ装置102のノード120は、マスタノードMからボリューム(S-Snap’)の作成指示を受信すると、ストレージ装置102上にボリューム(S-Snap’)を作成する。
Specifically, for example, the master node M creates a volume (P-Snap') on the
つぎに、マスタノードMは、ボリューム(P-V)からボリューム(P-Snap)へのスナップショット、ボリューム(P-Snap)からボリューム(S-V)へのリモートコピー、および、ボリューム(S-V)からボリューム(S-Snap)へのスナップショットを用いた、ボリューム(P-V)のバックアップ処理を停止する。 Next, the master node M performs a snapshot from a volume (PV) to a volume (P-Snap), a remote copy from a volume (P-Snap) to a volume (SV), and a remote copy of a volume (S-V) to a volume (S-V). The backup process of the volume (PV) using the snapshot from V) to the volume (S-Snap) is stopped.
以下の説明では、ボリューム(P-V)からボリューム(P-Snap)へのスナップショットを、「スナップショット(P-V/P-Snap)」と表記する場合がある。また、ボリューム(S-V)からボリューム(S-Snap)へのスナップショットを、「スナップショット(S-V/S-Snap)」と表記する場合がある。また、ボリューム(P-Snap)からボリューム(S-V)へのリモートコピーを「リモートコピー(REC)」と表記する場合がある。 In the following description, a snapshot from a volume (PV) to a volume (P-Snap) may be referred to as a "snapshot (PV/P-Snap)." Further, a snapshot from a volume (SV) to a volume (S-Snap) is sometimes referred to as a "snapshot (SV/S-Snap)." Further, remote copying from a volume (P-Snap) to a volume (SV) may be referred to as a "remote copy (REC)."
図3Bにおいて、つぎに、マスタノードMは、ボリューム(P-V)からボリューム(P-Snap’)へのスナップショット、ボリューム(P-Snap’)からボリューム(S-V)へのリモートコピー、および、ボリューム(S-V)からボリューム(S-Snap’)へのスナップショットを用いて、ボリューム(P-V)のバックアップ処理を開始する。 In FIG. 3B, the master node M performs a snapshot from the volume (PV) to the volume (P-Snap'), a remote copy from the volume (P-Snap') to the volume (SV), Then, backup processing of the volume (PV) is started using the snapshot from the volume (SV) to the volume (S-Snap').
以下の説明では、ボリューム(P-V)からボリューム(P-Snap’)へのスナップショットを、「スナップショット(P-V/P-Snap’)」と表記する場合がある。また、ボリューム(S-V)からボリューム(S-Snap’)へのスナップショットを、「スナップショット(S-V/S-Snap’)」と表記する場合がある。また、ボリューム(P-Snap’)からボリューム(S-V)へのリモートコピーを「リモートコピー(REC’)」と表記する場合がある。 In the following description, a snapshot from a volume (PV) to a volume (P-Snap') may be referred to as a "snapshot (PV/P-Snap')." Further, a snapshot from a volume (SV) to a volume (S-Snap') is sometimes referred to as a "snapshot (SV/S-Snap')." Furthermore, remote copying from a volume (P-Snap') to a volume (SV) may be referred to as a "remote copy (REC')."
これにより、ストレージ装置101,102の両ストレージに新世代のスナップショット用ボリュームおよびスナップショットセッションを作成して、旧世代のスナップショット用ボリュームおよびスナップショットセッションから、ボリューム(P-V)のバックアップ処理を引き継ぐことができる。
As a result, a new generation snapshot volume and snapshot session are created in both the
図3Cにおいて、マスタノードMは、例えば、ボリューム(P-V)、ボリューム(P-Snap)およびボリューム(S-Snap)を用いて、バックアップデータの読み出しを行う。具体的には、例えば、マスタノードMは、ストレージ装置101上にボリューム(S-V’)を作成する。
In FIG. 3C, the master node M reads backup data using, for example, a volume (PV), a volume (P-Snap), and a volume (S-Snap). Specifically, for example, the master node M creates a volume (SV') on the
ボリューム(S-V’)は、ストレージ装置102(セカンダリストレージ)に格納されたバックアップデータを参照可能な仮想ボリュームである。マスタノードMは、例えば、図1に示したホスト装置103から、ボリューム(S-V’)内のデータの読み出し要求を受け付ける。
The volume (SV') is a virtual volume in which backup data stored in the storage device 102 (secondary storage) can be referenced. For example, the master node M receives a request to read data in the volume (SV') from the
そして、マスタノードMは、読み出し要求に応じて、ボリューム(P-V)、ボリューム(P-Snap)およびボリューム(S-Snap)のいずれかからデータを読み出して、ホスト装置103に応答する。これにより、ユーザは、ホスト装置103からボリューム(S-V’)にアクセスして、バックアップデータを参照することができる。
Then, in response to the read request, the master node M reads data from one of the volume (PV), volume (P-Snap), and volume (S-Snap), and responds to the
このように、マスタノードMによれば、ストレージ装置101(プライマリストレージ)に接続されたホスト装置103から、ストレージ装置102(セカンダリストレージ)に格納されているバックアップデータを、冗長性を確保した状態で参照可能にすることができる。
In this way, according to the master node M, the backup data stored in the storage device 102 (secondary storage) is transferred from the
図3Cの例では、(N-1)世代のバックアップデータを参照中に、定期バックアップが1回行われたとする。この場合、(N+1)世代のデータがボリューム(P-Snap’)からボリューム(S-V)にリモートコピーされ、ボリューム(S-Snap’)に(N)世代のデータがコピーされる。 In the example of FIG. 3C, it is assumed that a regular backup is performed once while referring to backup data of the (N-1) generation. In this case, data of the (N+1) generation is remotely copied from the volume (P-Snap') to the volume (SV), and data of the (N) generation is copied to the volume (S-Snap').
このため、(N-1)世代のバックアップデータを参照中に、ストレージ装置101(プライマリストレージ)がダウンしたとしても、(N)世代のデータを確保することができる。例えば、(N-1)世代のバックアップデータを参照中に、ストレージ装置101(プライマリストレージ)がダウンしたとする。 Therefore, even if the storage device 101 (primary storage) goes down while referring to the backup data of the (N-1) generation, the data of the (N) generation can be secured. For example, suppose that the storage device 101 (primary storage) goes down while referring to backup data of the (N-1) generation.
この場合、ストレージ装置102のノード120(図1参照)は、ボリューム(S-Snap’)をリストア元ボリュームに決定する。そして、ストレージ装置102のノード120は、プライマリストレージの復旧後、リストア元ボリュームのデータをプライマリストレージに転送する。これにより、(N)世代のデータを復元することができる。
In this case, the node 120 (see FIG. 1) of the
(コピーセッションテーブル400の記憶内容)
つぎに、各ストレージ装置101,102が有するコピーセッションテーブル400の記憶内容について説明する。コピーセッションテーブル400は、例えば、各ストレージ装置101,102内のノード120のメモリ122やディスク130に記憶される。
(Memory contents of copy session table 400)
Next, the storage contents of the copy session table 400 that each
以下の説明では、ストレージ装置101が有するコピーセッションテーブル400を「コピーセッションテーブル400(P)」と表記し、ストレージ装置102が有するコピーセッションテーブル400を「コピーセッションテーブル400(S)」と表記する場合がある。
In the following description, the copy session table 400 possessed by the
まず、ストレージ装置101が有するコピーセッションテーブル400(P)の記憶内容について説明する。
First, the storage contents of the copy session table 400(P) included in the
図4Aは、コピーセッションテーブル400(P)の記憶内容の一例を示す説明図である。図4Aにおいて、コピーセッションテーブル400(P)は、セッションID、コピー元ID、コピー先ID、ローカルボックスID、リモートボックスID、リモートセッションID、コピー種別、方向、ステータスおよびフェーズのフィールドを有する。各フィールドに情報を設定することで、コピーセッション情報410-1~410-4がレコードとして記憶される。 FIG. 4A is an explanatory diagram showing an example of the storage contents of the copy session table 400(P). In FIG. 4A, copy session table 400(P) has fields of session ID, copy source ID, copy destination ID, local box ID, remote box ID, remote session ID, copy type, direction, status, and phase. By setting information in each field, copy session information 410-1 to 410-4 is stored as a record.
ここで、セッションIDは、コピーセッションを識別する識別子である。コピー元IDは、コピー元ボリュームのボリュームIDである。コピー先IDは、コピー先ボリュームのボリュームIDである。ローカルボックスIDは、自装置のボックスIDである。リモートボックスIDは、他装置のボックスIDである。リモートセッションIDは、他装置で用いられるリモートコピーのセッションIDである。 Here, the session ID is an identifier that identifies a copy session. The copy source ID is the volume ID of the copy source volume. The copy destination ID is the volume ID of the copy destination volume. The local box ID is the box ID of the own device. The remote box ID is the box ID of another device. The remote session ID is a remote copy session ID used by another device.
コピー種別は、コピーの種別を示す。コピー種別には、「Snapshot」または「RemoteCopy」が設定される。コピー種別「Snapshot」は、スナップショットを示す。コピー種別「RemoteCopy」は、リモートコピーを示す。方向は、リモートコピーの方向である。方向「L to R」は、ローカルサイト(自装置)からリモートサイト(他装置)への方向を示す。方向「R to L」は、リモートサイト(他装置)からローカルサイト(自装置)への方向を示す。 The copy type indicates the type of copy. “Snapshot” or “RemoteCopy” is set as the copy type. The copy type “Snapshot” indicates a snapshot. The copy type "RemoteCopy" indicates remote copy. The direction is the remote copy direction. The direction "L to R" indicates the direction from the local site (self device) to the remote site (other device). The direction "R to L" indicates the direction from the remote site (other device) to the local site (own device).
ステータスは、コピーセッションの状態を示す。ステータスには、「Active」、「Suspend」および「Error」のいずれかが設定される。ステータス「Active」は、コピーセッションの状態が正常であることを示す。ステータス「Suspend」は、コピーセッションを停止中であることを示す。ステータス「Error」は、コピーセッションの状態が異常であることを示す。 The status indicates the state of the copy session. The status is set to one of "Active," "Suspend," and "Error." The status "Active" indicates that the state of the copy session is normal. The status "Suspend" indicates that the copy session is being stopped. The status "Error" indicates that the state of the copy session is abnormal.
フェーズは、コピー中またはコピー完了を示す。コピー種別「Snapshot」のコピーセッションの場合、フェーズには「Copying」が設定される。コピー種別「RemoteCopy」のコピーセッションの場合、フェーズには、「Copying」または「Equivalent」が設定される。フェーズ「Copying」は、コピー中であることを示す。フェーズ「Equivalent」は、コピーが完了して等価状態にあることを示す。なお、ローカルボックスID、リモートボックスIDおよびリモートセッションIDは、リモートコピーの場合にのみ設定される。 The phase indicates copying in progress or copy completion. In the case of a copy session of the copy type "Snapshot", "Copying" is set in the phase. In the case of a copy session of the copy type "RemoteCopy", "Copying" or "Equivalent" is set in the phase. The phase "Copying" indicates that copying is in progress. The phase "Equivalent" indicates that the copy has been completed and is in an equivalent state. Note that the local box ID, remote box ID, and remote session ID are set only in the case of remote copy.
つぎに、ストレージ装置102が有するコピーセッションテーブル400(S)の記憶内容について説明する。
Next, the storage contents of the copy session table 400(S) included in the
図4Bは、コピーセッションテーブル400(S)の記憶内容の一例を示す説明図である。図4Bにおいて、コピーセッションテーブル400(S)は、セッションID、コピー元ID、コピー先ID、ローカルボックスID、リモートボックスID、リモートセッションID、コピー種別、方向、ステータスおよびフェーズのフィールドを有する。各フィールドに情報を設定することで、コピーセッション情報420-1~420-4がレコードとして記憶される。 FIG. 4B is an explanatory diagram showing an example of the storage contents of the copy session table 400(S). In FIG. 4B, the copy session table 400(S) has fields of session ID, copy source ID, copy destination ID, local box ID, remote box ID, remote session ID, copy type, direction, status, and phase. By setting information in each field, copy session information 420-1 to 420-4 is stored as a record.
なお、コピーセッションテーブル400(S)についての詳細な説明は、図4Aに示したコピーセッションテーブル400(P)と同様のため省略する。 Note that a detailed description of the copy session table 400(S) will be omitted because it is similar to the copy session table 400(P) shown in FIG. 4A.
(セッション関係性テーブル500の記憶内容)
つぎに、各ストレージ装置101,102が有するセッション関係性テーブル500の記憶内容について説明する。セッション関係性テーブル500は、例えば、各ストレージ装置101,102内のノード120のメモリ122やディスク130に記憶される。
(Memorized contents of session relationship table 500)
Next, the stored contents of the session relationship table 500 that each
以下の説明では、ストレージ装置101が有するセッション関係性テーブル500を「セッション関係性テーブル500(P)」と表記し、ストレージ装置102が有するセッション関係性テーブル500を「セッション関係性テーブル500(S)」と表記する場合がある。
In the following description, the session relationship table 500 that the
まず、ストレージ装置101が有するセッション関係性テーブル500(P)の記憶内容について説明する。
First, the stored contents of the session relationship table 500(P) included in the
図5Aは、セッション関係性テーブル500(P)の記憶内容の一例を示す説明図である。図5Aにおいて、セッション関係性テーブル500(P)は、ストレージ装置101,102間で作成されるコピーセッション間の関係性を記憶する。
FIG. 5A is an explanatory diagram showing an example of the stored contents of the session relationship table 500(P). In FIG. 5A, a session relationship table 500(P) stores the relationship between copy sessions created between the
セッション関係性テーブル500(P)は、ローカルスナップショットセッションIDと、ローカルRECセッションIDと、リモートRECセッションIDと、ローカルスナップショットセッションID(#)と、ローカルRECセッションID(#)と、リモートRECセッションID(#)と、ローカルボリュームIDと、ローカルスナップボリュームIDと、ローカルスナップボリュームID(#)と、リモートボリュームIDと、リモートスナップボリュームIDと、リモートスナップボリュームID(#)と、プライマリーフラグと、ローカルボックスIDと、リモートボックスIDと、を対応付けて記憶する。 The session relationship table 500 (P) includes local snapshot session ID, local REC session ID, remote REC session ID, local snapshot session ID (#), local REC session ID (#), and remote REC session ID. session ID (#), local volume ID, local snap volume ID, local snap volume ID (#), remote volume ID, remote snap volume ID, remote snap volume ID (#), and primary flag. , the local box ID and the remote box ID are stored in association with each other.
ローカルスナップショットセッションIDは、ローカルサイト(自装置内)におけるコピー種別「Snapshot」のコピーセッションのセッションIDである。ローカルRECセッションIDは、ローカルサイト(自装置内)におけるコピー種別「RemoteCopy」のコピーセッションのセッションIDである。 The local snapshot session ID is the session ID of a copy session of the copy type "Snapshot" at the local site (within the own device). The local REC session ID is the session ID of a copy session of the copy type "RemoteCopy" at the local site (within the own device).
リモートRECセッションIDは、リモートサイト(他装置内)におけるコピー種別「RemoteCopy」のコピーセッションのセッションIDである。ローカルスナップショットセッションID(#)は、バックアップデータを参照するにあたり作成される、ローカルサイト(自装置内)におけるコピー種別「Snapshot」のコピーセッションのセッションIDである。 The remote REC session ID is the session ID of a copy session of the copy type "RemoteCopy" at the remote site (inside another device). The local snapshot session ID (#) is the session ID of a copy session of the copy type "Snapshot" at the local site (within the own device) that is created when referencing backup data.
ローカルRECセッションID(#)は、バックアップデータを参照するにあたり作成される、ローカルサイト(自装置内)におけるコピー種別「RemoteCopy」のコピーセッションのセッションIDである。リモートRECセッションID(#)は、バックアップデータを参照するにあたり作成される、リモートサイト(他装置内)におけるコピー種別「RemoteCopy」のコピーセッションのセッションIDである。 The local REC session ID (#) is the session ID of a copy session of the copy type "RemoteCopy" at the local site (within the own device) that is created when referencing backup data. The remote REC session ID (#) is the session ID of a copy session of copy type "RemoteCopy" at a remote site (in another device) that is created when referencing backup data.
ローカルボリュームIDは、ローカルサイト(自装置内)にあるコピー元ボリュームのボリュームIDである。ローカルスナップボリュームIDは、ローカルサイト(自装置内)にある、コピー元ボリュームのスナップショットを記憶するボリュームのボリュームIDである。ローカルスナップボリュームID(#)は、バックアップデータを参照するにあたりローカルサイト(自装置内)に作成される、コピー元ボリュームのスナップショットを記憶するボリュームのボリュームIDである。 The local volume ID is the volume ID of the copy source volume at the local site (within the own device). The local snap volume ID is the volume ID of a volume at the local site (within the own device) that stores a snapshot of the copy source volume. The local snap volume ID (#) is the volume ID of the volume that stores a snapshot of the copy source volume, which is created at the local site (within the own device) when referencing backup data.
リモートボリュームIDは、リモートサイト(他装置内)にあるコピー先ボリュームのボリュームIDである。リモートスナップボリュームIDは、リモートサイト(他装置内)にある、コピー先ボリュームのスナップショットを記憶するボリュームのボリュームIDである。リモートスナップボリュームID(#)は、バックアップデータを参照するにあたりリモートサイト(他装置内)に作成される、コピー先ボリュームのスナップショットを記憶するボリュームのボリュームIDである。 The remote volume ID is the volume ID of a copy destination volume located at a remote site (in another device). The remote snap volume ID is the volume ID of a volume located at a remote site (in another device) that stores a snapshot of a copy destination volume. The remote snap volume ID (#) is the volume ID of a volume that is created at a remote site (in another device) when referencing backup data and stores a snapshot of a copy destination volume.
プライマリーフラグは、自装置がリモートコピーのコピー元であるか否かを示すフラグである。プライマリーフラグ「TRUE」は、自装置がコピー元であることを示す。プライマリーフラグ「FALSE」は、自装置がコピー先であることを示す。ローカルボックスIDは、自装置を識別する識別子である。リモートボックスIDは、他装置を識別する識別子である。 The primary flag is a flag indicating whether or not the own device is a copy source for remote copying. The primary flag "TRUE" indicates that the own device is the copy source. The primary flag "FALSE" indicates that the own device is the copy destination. The local box ID is an identifier that identifies the own device. The remote box ID is an identifier that identifies another device.
つぎに、ストレージ装置102が有するセッション関係性テーブル500(S)の記憶内容について説明する。
Next, the stored contents of the session relationship table 500(S) included in the
図5Bは、セッション関係性テーブル500(S)の記憶内容の一例を示す説明図である。図5Bにおいて、セッション関係性テーブル500(S)は、ストレージ装置101,102間で作成されるコピーセッション間の関係性を記憶する。
FIG. 5B is an explanatory diagram showing an example of the stored contents of the session relationship table 500(S). In FIG. 5B, a session relationship table 500(S) stores the relationship between copy sessions created between the
なお、セッション関係性テーブル500(S)についての詳細な説明は、図5Aに示したセッション関係性テーブル500(P)と同様のため省略する。 Note that a detailed description of the session relationship table 500(S) will be omitted because it is similar to the session relationship table 500(P) shown in FIG. 5A.
(マスタノードMの機能的構成例)
図6は、マスタノードMの機能的構成例を示すブロック図である。図6において、マスタノードMは、受付部601と、バックアップ制御部602と、コピー制御部603と、を含む。具体的には、例えば、受付部601~コピー制御部603は、図1に示したマスタノードM(ノード120)のメモリ122に記憶されたプログラムをCPU121に実行させることにより、または、通信I/F123により、その機能を実現する。各機能部の処理結果は、例えば、メモリ122、ディスク130などの記憶装置に記憶される。
(Functional configuration example of master node M)
FIG. 6 is a block diagram showing an example of the functional configuration of the master node M. In FIG. 6, master node M includes a
受付部601は、プライマリボリュームに対するバックアップ指示を受け付ける。バックアップ指示は、プライマリボリュームのデータを、セカンダリボリュームへバックアップするよう指示するものである。プライマリボリュームは、例えば、図2に示したストレージ装置101のボリューム(P-V)である。また、セカンダリボリュームは、例えば、図2に示したストレージ装置102のボリューム(S-V)である。
The receiving
バックアップ指示には、例えば、プライマリストレージのボックスID、プライマリボリュームのボリュームID、セカンダリストレージのボックスID、セカンダリボリュームのボリュームIDが含まれる。具体的には、例えば、受付部601は、図1に示したホスト装置103から、プライマリボリュームに対するバックアップ指示を受け付ける。
The backup instruction includes, for example, the box ID of the primary storage, the volume ID of the primary volume, the box ID of the secondary storage, and the volume ID of the secondary volume. Specifically, for example, the receiving
以下の説明では、プライマリボリュームとして「ストレージ装置101のボリューム(P-V)」を、セカンダリボリュームとして「ストレージ装置102のボリューム(S-V)」を例に挙げて説明する。また、初期状態において、ボリューム(P-V)からボリューム(S-V)への初期コピーは、完了しているものとする。
In the following explanation, a "volume (PV) of the
バックアップ制御部602は、ボリューム(P-V)に対するバックアップ指示を受け付けると、ストレージ装置102(セカンダリストレージ)にボリューム(S-Snap)を作成する。また、バックアップ制御部602は、ストレージ装置101(プライマリストレージ)にボリューム(P-Snap)を作成する。そして、バックアップ制御部602は、ボリューム(P-Snap)からボリューム(S-V)へのリモートコピーを開始する。
When the
ここで、ボリューム(P-Snap)は、プライマリボリュームであるボリューム(P-V)のスナップショットが作成される第1ボリュームである。また、ボリューム(S-Snap)は、セカンダリボリュームであるボリューム(S-V)のスナップショットが作成される第2ボリュームである。 Here, the volume (P-Snap) is the first volume in which a snapshot of the volume (PV), which is the primary volume, is created. Further, the volume (S-Snap) is a second volume in which a snapshot of the volume (SV), which is a secondary volume, is created.
具体的には、例えば、バックアップ制御部602は、セカンダリストレージであるストレージ装置102に、ボリューム(S-Snap)の作成指示を送信する。ストレージ装置102は、ボリューム(S-Snap)の作成指示を受信すると、自装置内にボリューム(S-Snap)を作成する。
Specifically, for example, the
そして、ストレージ装置102は、ボリューム(S-V)からボリューム(S-Snap)へのスナップショットセッションを作成する。また、ストレージ装置102は、ボリューム(S-Snap)のボリュームID、およびスナップショットセッションのセッションIDをストレージ装置101に通知する。
Then, the
また、バックアップ制御部602は、自装置内にボリューム(P-Snap)を作成し、ボリューム(P-V)からボリューム(P-Snap)へのスナップショットを作成する。つぎに、バックアップ制御部602は、ボリューム(P-Snap)からボリューム(S-V)へのリモートコピーセッションを作成する。
The
そして、バックアップ制御部602は、スナップショット(P-V/P-Snap)、リモートコピー(REC)およびスナップショット(S-V/S-Snap)を用いて、ボリューム(P-V)のバックアップ処理を開始する。
Then, the
リモートコピー(REC)は、例えば、所定時間(数時間、1日など)ごとに定期的に行われる。具体的には、例えば、バックアップ制御部602は、リモートコピー(REC)の開始タイミングとなったら、ボリューム(P-Snap)とボリューム(S-V)との差分を求めて、差分データのコピーを開始する。
Remote copying (REC) is performed periodically, for example, at predetermined time intervals (several hours, one day, etc.). Specifically, for example, when the remote copy (REC) start timing arrives, the
これにより、ボリューム(P-V)へのI/O性能に与える影響を抑えつつ、ボリューム(P-V)のデータのバックアップをとることができる。また、リモートコピー中の通信障害等を考慮して、セカンダリストレージ側でもボリューム(S-V)のデータのバックアップをとることができる。 Thereby, it is possible to back up the data of the volume (PV) while suppressing the influence on the I/O performance of the volume (PV). Furthermore, in consideration of communication failures during remote copying, data in the volume (SV) can be backed up on the secondary storage side as well.
なお、ストレージ装置101において、ボリューム(P-V)からボリューム(P-Snap)へのスナップショットセッションが作成されると、例えば、コピーセッションテーブル400(P)にコピーセッション情報410-1が記憶される。また、ストレージ装置102において、ボリューム(S-V)からボリューム(S-Snap)へのスナップショットが作成されると、例えば、コピーセッションテーブル400(S)にコピーセッション情報420-2が記憶される。
Note that when a snapshot session from a volume (PV) to a volume (P-Snap) is created in the
また、ストレージ装置101において、ボリューム(P-Snap)からボリューム(S-V)へのリモートコピーセッションが作成されると、コピーセッションテーブル400(P)にコピーセッション情報410-2が記憶される。また、ストレージ装置102において、コピーセッションテーブル400(S)にコピーセッション情報420-1が記憶される。
Furthermore, when a remote copy session from a volume (P-Snap) to a volume (SV) is created in the
また、ボリューム(P-Snap)からボリューム(S-V)へのリモートコピーセッションが作成されると、各ストレージ装置101,102において、セッション関係性テーブル500(P),500(S)がそれぞれ作成される。各種テーブルに設定する情報は、例えば、ストレージ装置101,102間で通信することにより取得される。
Additionally, when a remote copy session from a volume (P-Snap) to a volume (SV) is created, session relationship tables 500 (P) and 500 (S) are created in each
なお、ボリューム(P-Snap)からボリューム(S-V)への差分データのコピーが完了すると、コピーセッションテーブル400(P)内のコピーセッション情報410-2のフェーズに「Equivalent」が設定される。また、コピーセッションテーブル400(S)内のコピーセッション情報420-1のフェーズに「Equivalent」が設定される。 Note that when the copying of the differential data from the volume (P-Snap) to the volume (SV) is completed, "Equivalent" is set in the phase of the copy session information 410-2 in the copy session table 400 (P). . Furthermore, “Equivalent” is set in the phase of the copy session information 420-1 in the copy session table 400(S).
また、受付部601は、バックアップデータの参照要求を受け付ける。ここで、バックアップデータの参照要求は、ストレージ装置102(セカンダリストレージ)に格納されたバックアップデータの参照を要求するものである。
Further, the receiving
バックアップデータの参照要求には、例えば、プライマリストレージのボックスID、プライマリボリュームのボリュームID、セカンダリストレージのボックスID、セカンダリボリュームのボリュームIDが含まれる。具体的には、例えば、受付部601は、ホスト装置103から、バックアップデータの参照要求を受け付ける。
The backup data reference request includes, for example, the box ID of the primary storage, the volume ID of the primary volume, the box ID of the secondary storage, and the volume ID of the secondary volume. Specifically, for example, the accepting
コピー制御部603は、バックアップデータの参照要求を受け付けると、ストレージ装置101(プライマリストレージ)にボリューム(P-Snap’)を作成する。また、コピー制御部603は、ストレージ装置102(セカンダリストレージ)にボリューム(S-Snap’)を作成する。
Upon receiving a backup data reference request, the
ここで、ボリューム(P-Snap’)は、プライマリボリュームであるボリューム(P-V)のスナップショットが作成される第3ボリュームである。また、ボリューム(S-Snap’)は、セカンダリボリュームであるボリューム(S-V)のスナップショットが作成される第4ボリュームである。 Here, the volume (P-Snap') is a third volume in which a snapshot of the volume (PV), which is the primary volume, is created. Further, the volume (S-Snap') is a fourth volume in which a snapshot of the volume (SV), which is a secondary volume, is created.
具体的には、例えば、コピー制御部603は、自装置内にボリューム(P-Snap’)を作成し、ボリューム(P-V)からボリューム(P-Snap’)へのスナップショットを作成する。また、コピー制御部603は、セカンダリストレージであるストレージ装置102に、ボリューム(S-Snap’)の作成指示を送信する。
Specifically, for example, the
ストレージ装置102は、ボリューム(S-Snap’)の作成指示を受信すると、自装置内にボリューム(S-Snap’)を作成する。また、ストレージ装置102は、ボリューム(S-V)からボリューム(S-Snap’)へのスナップショットセッションを作成する。また、ストレージ装置102は、ボリューム(S-Snap’)のボリュームID、およびスナップショットセッションのセッションIDをストレージ装置101に通知する。
When the
つぎに、コピー制御部603は、ボリューム(P-Snap’)からボリューム(S-V)へのリモートコピーセッションを作成する。
Next, the
なお、ストレージ装置101において、ボリューム(P-V)からボリューム(P-Snap’)へのスナップショットセッションが作成されると、例えば、コピーセッションテーブル400(P)にコピーセッション情報410-3が記憶される。また、ストレージ装置102において、ボリューム(S-V)からボリューム(S-Snap’)へのスナップショットが作成されると、例えば、コピーセッションテーブル400(S)にコピーセッション情報420-4が記憶される。
Note that when a snapshot session from a volume (PV) to a volume (P-Snap') is created in the
また、ストレージ装置101において、ボリューム(P-Snap’)からボリューム(S-V)へのリモートコピーセッションが作成されると、コピーセッションテーブル400(P)にコピーセッション情報410-4が記憶される。また、ストレージ装置102において、コピーセッションテーブル400(S)にコピーセッション情報420-3が記憶される。
Furthermore, when a remote copy session from a volume (P-Snap') to a volume (SV) is created in the
また、ボリューム(P-Snap’)からボリューム(S-V)へのリモートコピーセッションが作成されると、各ストレージ装置101,102において、セッション関係性テーブル500(P),500(S)がそれぞれ更新される。各種テーブルに設定する情報は、例えば、ストレージ装置101,102間で通信することにより取得される。
Furthermore, when a remote copy session from a volume (P-Snap') to a volume (SV) is created, session relationship tables 500 (P) and 500 (S) are created in each
なお、ボリューム(P-Snap’)からボリューム(S-V)への差分データのコピーが完了すると、コピーセッションテーブル400(P)内のコピーセッション情報410-4のフェーズに「Equivalent」が設定される。また、コピーセッションテーブル400(S)内のコピーセッション情報420-3のフェーズに「Equivalent」が設定される。 Note that when the copying of differential data from the volume (P-Snap') to the volume (SV) is completed, "Equivalent" is set in the phase of the copy session information 410-4 in the copy session table 400 (P). Ru. Furthermore, “Equivalent” is set in the phase of the copy session information 420-3 in the copy session table 400(S).
つぎに、コピー制御部603は、スナップショット(P-V/P-Snap)、リモートコピー(REC)およびスナップショット(S-V/S-Snap)を用いた、ボリューム(P-V)のバックアップ処理を停止する。
Next, the
具体的には、例えば、コピー制御部603は、リモートコピー(REC)を停止(サスペンド)する。また、コピー制御部603は、スナップショット(P-V/P-Snap)を停止する。また、コピー制御部603は、スナップショット(S-V/S-Snap)の停止指示を、ストレージ装置102に送信する。ストレージ装置102のノード120は、マスタノードMから当該停止指示を受信すると、スナップショット(S-V/S-Snap)を停止する。
Specifically, for example, the
つぎに、コピー制御部603は、スナップショット(P-V/P-Snap’)、リモートコピー(REC’)およびスナップショット(S-V/S-Snap’)を用いて、ボリューム(P-V)のバックアップ処理を開始する。
Next, the
具体的には、例えば、コピー制御部603は、スナップショット(P-V/P-Snap’)を開始する。また、コピー制御部603は、リモートコピー(REC’)を開始する。また、マスタノードMは、スナップショット(S-V/S-Snap’)の開始指示を、ストレージ装置102に送信する。ストレージ装置102のノード120は、マスタノードMから当該開始指示を受信すると、スナップショット(S-V/S-Snap’)を開始する。
Specifically, for example, the
これにより、ストレージ装置101,102の両ストレージに新世代のスナップショット用ボリュームおよびスナップショットセッションを作成して、ボリューム(P-V)のバックアップ処理を引き継ぐことができる。
As a result, a new generation snapshot volume and a snapshot session can be created in both the
コピー制御部603は、ボリューム(P-V)、ボリューム(P-Snap)およびボリューム(S-Snap)を用いて、バックアップデータの読み出しを行う。具体的には、例えば、コピー制御部603は、ストレージ装置101上にボリューム(S-V’)を作成する。ボリューム(S-V’)は、バックアップデータを参照するために作成される仮想ボリュームである。
The
受付部601は、バックアップデータのいずれかのデータの読み出し要求を受け付ける。具体的には、例えば、受付部601は、ホスト装置103から、ボリューム(S-V’)内のデータの読み出し要求を受け付ける。以下の説明では、読み出し要求されたデータを「対象データ」と表記する場合がある。
The accepting
読み出し要求は、例えば、ボリューム(S-V’)内の論理ブロックを指定する論理アドレスを含む。論理ブロックは、所定容量で規定された管理単位の領域である。論理アドレスは、例えば、LBA(Logical Block Address)によって指定される。1LBAは、例えば、512B(Byte)の記憶領域に相当する。 The read request includes, for example, a logical address that specifies a logical block within the volume (SV'). A logical block is a management unit area defined by a predetermined capacity. The logical address is specified by, for example, an LBA (Logical Block Address). For example, 1 LBA corresponds to a storage area of 512 B (Bytes).
コピー制御部603は、読み出し要求を受け付けた場合、ボリューム(S-V)とボリューム(S-Snap)との差分を示す差分情報に基づいて、対象データがボリューム(S-Snap)にあるか否かを判断する。差分情報は、例えば、所定のブロック単位の差分の有無を示す差分ビットマップである。所定のブロックは、例えば、16LBAである。
When the
なお、コピー制御部603は、ボリューム(S-V)とボリューム(S-Snap)との差分を示す差分情報を、ストレージ装置102から取得して、自ノードのメモリ122に記憶する。これにより、メモリ122に記憶した差分情報を参照して、ボリューム(S-Snap)に対象データがあるか否かを判断することができる。ただし、コピー制御部603は、ストレージ装置102に対して、ボリューム(S-Snap)に対象データがあるか否かを問い合わせることにしてもよい。
Note that the
ここで、ボリューム(S-Snap)に対象データがあると判断した場合、コピー制御部603は、ストレージ装置102内のボリューム(S-Snap)から対象データを読み出す。一方、ボリューム(S-Snap)に対象データがないと判断した場合には、コピー制御部603は、ボリューム(P-V)またはボリューム(P-Snap)から対象データを読み出す。そして、コピー制御部603は、読み出した対象データを、読み出し要求元に応答する。読み出し要求元は、例えば、ホスト装置103である。
Here, if it is determined that the target data exists in the volume (S-Snap), the
なお、ストレージシステム100におけるバックアップデータを参照時の動作例については、図7を用いて後述する。また、コピー制御部603は、対象データを読み出すにあたり、例えば、ボリューム(S-V)やボリューム(S-Snap’)から読み出すことにしてもよい。
Note that an example of the operation when referring to backup data in the
コピー制御部603は、バックアップデータの参照が終了した場合、リモートコピー(REC’)を停止する。また、コピー制御部603は、スナップショット(P-V/P-Snap)、リモートコピー(REC)およびスナップショット(S-V/S-Snap)を用いた、ボリューム(P-V)のバックアップ処理を再開する。
The
具体的には、例えば、コピー制御部603は、ホスト装置103からバックアップデータの参照終了要求を受け付けた場合、リモートコピー(REC’)を停止する。つぎに、コピー制御部603は、スナップショット(P-V/P-Snap)と、スナップショット(S-V/S-Snap)を再開する。また、コピー制御部603は、リモートコピー(REC)を再開する。これにより、ボリューム(P-V)のバックアップ処理を再開することができる。そして、コピー制御部603は、ボリューム(S-V’)を削除する。
Specifically, for example, when the
また、コピー制御部603は、ボリューム(P-Snap’)内の新データをボリューム(P-Snap)にコピーし、ボリューム(S-Snap’)内の新データをボリューム(S-Snap)にコピーする。そして、コピー制御部603は、ボリューム(P-Snap’)およびボリューム(S-Snap’)を削除する。
The
具体的には、例えば、コピー制御部603は、ボリューム(P-V)とボリューム(P-Snap’)との差分情報に基づいて、ボリューム(P-Snap’)内の新データをボリューム(P-Snap)にコピーする。また、コピー制御部603は、ボリューム(S-V)とボリューム(S-Snap’)との差分情報に基づいて、ボリューム(S-Snap’)内の新データをボリューム(S-Snap)にコピーする。ボリューム(S-V)とボリューム(S-Snap’)との差分を示す差分情報は、例えば、ストレージ装置102から取得される。
Specifically, for example, the
これにより、ユーザによるバックアップデータの参照が終了したことに応じて、ストレージシステム100内のコピーセッションの状態を、バックアップデータの参照前の状態に戻すことができる。
Thereby, in response to the end of the user's reference to the backup data, the state of the copy session in the
ボリューム(P-Snap’)およびボリューム(S-Snap’)が削除されると、ストレージ装置101において、例えば、コピーセッションテーブル400(P)内のコピーセッション情報410-3,410-4が削除される。また、ストレージ装置102において、例えば、コピーセッションテーブル400(S)内のコピーセッション情報420-3,420-4が削除される。また、各ストレージ装置101,102において、セッション関係性テーブル500(P),500(S)がそれぞれ更新される。
When the volume (P-Snap') and volume (S-Snap') are deleted, the copy session information 410-3 and 410-4 in the copy session table 400(P) is deleted in the
なお、ストレージシステム100におけるバックアップデータの参照終了時の動作例については、図8A、図8Bおよび図8Cを用いて後述する。
Note that an example of the operation at the end of referencing backup data in the
(バックアップデータを参照時の動作例)
つぎに、図7を用いて、ストレージシステム100におけるバックアップデータを参照時の動作例について説明する。
(Example of operation when referring to backup data)
Next, an example of the operation when referring to backup data in the
図7は、バックアップデータを参照時の動作例を示す説明図である。図7において、コピー制御部603は、ホスト装置103から、ボリューム(S-V’)内の対象データの読み出し要求を受け付けた場合、差分情報710に基づいて、ボリューム(S-Snap)に対象データがあるか否かを判断する。
FIG. 7 is an explanatory diagram showing an example of the operation when referring to backup data. In FIG. 7, when the
差分情報710は、ボリューム(S-V)とボリューム(S-Snap)との差分を示す差分ビットマップである。具体的には、例えば、コピー制御部603は、差分情報710を参照して、対象データが記憶された該当ブロックが差分ありの場合、ボリューム(S-Snap)に対象データがあると判断する。一方、該当ブロックが差分なしの場合、コピー制御部603は、ボリューム(S-Snap)に対象データがないと判断する。
The
ここで、ボリューム(S-Snap)に対象データがあると判断した場合、コピー制御部603は、ストレージ装置102内のボリューム(S-Snap)から対象データを読み出す。そして、コピー制御部603は、読み出した対象データをホスト装置103に送信する。
Here, if it is determined that the target data exists in the volume (S-Snap), the
一方、ボリューム(S-Snap)に対象データがないと判断した場合には、コピー制御部603は、差分情報720に基づいて、ボリューム(P-Snap)に対象データがあるか否かを判断する。差分情報720は、ボリューム(P-V)とボリューム(P-Snap)との差分を示す差分ビットマップである。
On the other hand, if it is determined that there is no target data in the volume (S-Snap), the
具体的には、例えば、コピー制御部603は、差分情報720を参照して、対象データが記憶された該当ブロックが差分ありの場合、ボリューム(P-Snap)に対象データがあると判断する。一方、該当ブロックが差分なしの場合、コピー制御部603は、ボリューム(P-Snap)に対象データがないと判断する。
Specifically, for example, the
ここで、ボリューム(P-Snap)に対象データがあると判断した場合、コピー制御部603は、自装置内のボリューム(P-Snap)から対象データを読み出す。一方、ボリューム(P-Snap)に対象データがないと判断した場合には、コピー制御部603は、自装置内のボリューム(P-V)から対象データを読み出す。そして、コピー制御部603は、読み出した対象データをホスト装置103に送信する。
Here, if it is determined that the target data exists in the volume (P-Snap), the
これにより、バックアップデータを読み出して応答することができる。また、ストレージ装置101,102の両ストレージにあるデータについては、ストレージ装置101(プライマリストレージ)から読み出すことで、データ読み出し時の転送コストを抑えることができる。
This makes it possible to read the backup data and respond. Further, by reading data stored in both the
(バックアップデータの参照終了時の動作例)
つぎに、図8A、図8Bおよび図8Cを用いて、ストレージシステム100におけるバックアップデータの参照終了時の動作例について説明する。
(Example of operation when reference of backup data is finished)
Next, an example of the operation at the end of referencing backup data in the
図8A、図8Bおよび図8Cは、バックアップデータの参照終了時の動作例を示す説明図である。図8Aにおいて、まず、コピー制御部603は、バックアップデータの参照終了要求を受け付けた場合、リモートコピー(REC’)を停止して、スナップショット(P-V/P-Snap)、スナップショット(S-V/S-Snap)およびリモートコピー(REC)を再開する。
FIG. 8A, FIG. 8B, and FIG. 8C are explanatory diagrams showing an example of the operation at the end of referencing backup data. In FIG. 8A, first, when the
これにより、コピー制御部603は、スナップショット(P-V/P-Snap)、スナップショット(S-V/S-Snap)およびリモートコピー(REC)を用いて、ボリューム(P-V)のバックアップ処理を再開する。そして、コピー制御部603は、ボリューム(S-V’)を削除する。
As a result, the
図8Bにおいて、つぎに、コピー制御部603は、差分情報810に基づいて、ボリューム(P-Snap’)内の新データをボリューム(P-Snap)にコピーする。差分情報810は、ボリューム(P-V)とボリューム(P-Snap’)との差分を示す差分ビットマップである。具体的には、例えば、コピー制御部603は、差分情報810を参照して、差分ありのブロックのデータ(新データ)を、ボリューム(P-Snap)にコピーする。
In FIG. 8B, the
また、コピー制御部603は、ボリューム(S-Snap’)内の新データのボリューム(S-Snap)へのコピー指示を、ストレージ装置102に送信する。ストレージ装置102のノード120は、マスタノードMから当該コピー指示を受信すると、差分情報820に基づいて、ボリューム(S-Snap’)内の新データをボリューム(S-Snap)にコピーする。
The
差分情報820は、ボリューム(S-V)とボリューム(S-Snap’)との差分を示す差分ビットマップである。具体的には、例えば、ストレージ装置102のノード120は、差分情報820を参照して、差分ありのブロックのデータ(新データ)を、ボリューム(S-Snap)にコピーする。
The
図8Cにおいて、コピー制御部603は、ボリューム(P-Snap’)を削除する。また、コピー制御部603は、ボリューム(S-Snap’)を削除する。具体的には、例えば、コピー制御部603は、ボリューム(S-Snap’)の削除指示を、ストレージ装置102に送信する。ストレージ装置102のノード120は、マスタノードMから当該削除指示を受信すると、ボリューム(S-Snap’)を削除する。
In FIG. 8C, the
これにより、ユーザによるバックアップデータの参照が終了したことに応じて、ストレージシステム100内のコピーセッションの状態を、バックアップデータの参照前の状態に戻すことができる。図8Cの例では、(N+1)世代のデータがボリューム(P-Snap)およびボリューム(S-V)に記憶され、(N)世代のデータがボリューム(S-Snap)に記憶されている。
Thereby, in response to the end of the user's reference to the backup data, the state of the copy session in the
(マスタノードMのバックアップ処理手順)
つぎに、ストレージ装置101内のマスタノードMのバックアップ処理手順について説明する。マスタノードMのバックアップ処理は、例えば、ボリューム(P-V)に対するバックアップ指示に応じて、または、指定時間間隔(例えば、1時間、1日など)で実行される。ここでは、初期状態において、ボリューム(P-V)からボリューム(S-V)への初期コピーは、完了しているものとする。
(Backup processing procedure for master node M)
Next, a backup processing procedure for the master node M in the
図9は、マスタノードMのバックアップ処理手順の一例を示すフローチャートである。図9のフローチャートにおいて、まず、マスタノードMは、ボリューム(S-Snap)が存在するか否かを判断する(ステップS901)。 FIG. 9 is a flowchart illustrating an example of the backup processing procedure of the master node M. In the flowchart of FIG. 9, first, the master node M determines whether a volume (S-Snap) exists (step S901).
具体的には、例えば、マスタノードMは、セッション関係性テーブル500(P)を参照して、リモートスナップボリュームIDにボリュームIDが設定されていれば、ボリューム(S-Snap)が存在すると判断する。一方、リモートスナップボリュームIDにボリュームIDが未設定であれば、ボリューム(S-Snap)が存在しないと判断する。また、マスタノードMは、ストレージ装置102に問い合わせることにより、ボリューム(S-Snap)が存在するか否かを判断することにしてもよい。
Specifically, for example, the master node M refers to the session relationship table 500(P) and determines that the volume (S-Snap) exists if a volume ID is set in the remote snap volume ID. . On the other hand, if no volume ID is set in the remote snap volume ID, it is determined that the volume (S-Snap) does not exist. Furthermore, the master node M may determine whether a volume (S-Snap) exists by inquiring the
ここで、ボリューム(S-Snap)が存在する場合(ステップS901:Yes)、マスタノードMは、ステップS903に移行する。一方、ボリューム(S-Snap)が存在しない場合(ステップS901:No)、マスタノードMは、ストレージ装置102に、ボリューム(S-Snap)の作成指示を送信する(ステップS902)。 Here, if the volume (S-Snap) exists (step S901: Yes), the master node M moves to step S903. On the other hand, if the volume (S-Snap) does not exist (step S901: No), the master node M transmits a volume (S-Snap) creation instruction to the storage device 102 (step S902).
なお、ストレージ装置102は、マスタノードMからボリューム(S-Snap)の作成指示を受信すると、ボリューム(S-Snap)を作成する。そして、ストレージ装置102は、ボリューム(S-V)からボリューム(S-Snap)へのスナップショットセッションを作成する。この結果、ストレージ装置102において、コピーセッションテーブル400(S)にコピーセッション情報420-2が記憶される。また、ストレージ装置102は、ボリューム(S-Snap)のボリュームID、およびスナップショット(S-V/S-Snap)のセッションIDをマスタノードMに通知する。
Note that when the
つぎに、マスタノードMは、自装置内にボリューム(P-Snap)が存在するか否かを判断する(ステップS903)。ここで、ボリューム(P-Snap)が存在する場合(ステップS903:Yes)、マスタノードMは、ステップS906に移行する。一方、ボリューム(P-Snap)が存在しない場合(ステップS903:No)、マスタノードMは、自装置内にボリューム(P-Snap)を作成する(ステップS904)。 Next, the master node M determines whether a volume (P-Snap) exists within its own device (step S903). Here, if the volume (P-Snap) exists (step S903: Yes), the master node M moves to step S906. On the other hand, if the volume (P-Snap) does not exist (step S903: No), the master node M creates a volume (P-Snap) within its own device (step S904).
そして、マスタノードMは、ボリューム(P-V)からボリューム(P-Snap)へのスナップショットセッションを作成する(ステップS905)。この結果、マスタノードMにおいて、コピーセッションテーブル400(P)にコピーセッション情報410-1が記憶される。 Then, the master node M creates a snapshot session from the volume (PV) to the volume (P-Snap) (step S905). As a result, in master node M, copy session information 410-1 is stored in copy session table 400(P).
つぎに、マスタノードMは、ボリューム(P-Snap)からボリューム(S-V)へのリモートコピーセッションを作成する(ステップS906)。この結果、マスタノードMにおいて、コピーセッションテーブル400(P)にコピーセッション情報410-2が記憶される。また、ストレージ装置102において、コピーセッションテーブル400(S)にコピーセッション情報420-1が記憶される。また、各ストレージ装置101,102において、セッション関係性テーブル500(P),500(S)がそれぞれ作成される。
Next, the master node M creates a remote copy session from the volume (P-Snap) to the volume (SV) (step S906). As a result, in master node M, copy session information 410-2 is stored in copy session table 400(P). Furthermore, in the
そして、マスタノードMは、スナップショット(P-V/P-Snap)、スナップショット(S-V/S-Snap)、および、リモートコピー(REC)を用いて、ボリューム(P-V)のバックアップ処理を開始して(ステップS907)、本フローチャートによる一連の処理を終了する。 Then, master node M backs up the volume (PV) using snapshot (PV/P-Snap), snapshot (SV/S-Snap), and remote copy (REC). The process starts (step S907), and the series of processes according to this flowchart ends.
これにより、ボリューム(P-V)へのI/O性能に与える影響を抑えつつ、ボリューム(P-V)のデータのバックアップをとることができる。さらに、リモートコピー中の通信障害等を考慮して、リモートサイト側でもボリューム(S-V)のデータのバックアップをとることができる。 Thereby, it is possible to back up the data of the volume (PV) while suppressing the influence on the I/O performance of the volume (PV). Furthermore, in consideration of communication failures during remote copying, data in volumes (SVs) can be backed up on the remote site side as well.
なお、リモートコピー(REC)では、ボリューム(P-Snap)とボリューム(S-V)との差分データのコピーが行われ、差分データのコピーが完了したら、コピーセッション情報410-2のフェーズに「Equivalent」が設定される。また、コピーセッション情報420-1のフェーズに「Equivalent」が設定される。 In addition, in remote copy (REC), the differential data between the volume (P-Snap) and the volume (SV) is copied, and when the differential data copy is completed, " "Equivalent" is set. Furthermore, "Equivalent" is set in the phase of the copy session information 420-1.
(マスタノードMの事前準備処理手順)
つぎに、ストレージ装置101内のマスタノードMの事前準備処理手順について説明する。マスタノードMの事前準備処理は、例えば、バックアップデータを参照する際に事前準備として実行される。
(Preparation processing procedure for master node M)
Next, the advance preparation processing procedure of the master node M in the
図10は、マスタノードMの事前準備処理手順の一例を示すフローチャートである。図10のフローチャートにおいて、まず、マスタノードMは、ホスト装置103からバックアップデータの参照要求を受け付けたか否かを判断する(ステップS1001)。 FIG. 10 is a flowchart illustrating an example of the advance preparation processing procedure of the master node M. In the flowchart of FIG. 10, first, the master node M determines whether or not it has received a backup data reference request from the host device 103 (step S1001).
ここで、マスタノードMは、バックアップデータの参照要求を受け付けるのを待つ(ステップS1001:No)。マスタノードMは、バックアップデータの参照要求を受け付けた場合(ステップS1001:Yes)、ボリューム(P-Snap)からボリューム(S-V)へのリモートコピー(REC)の完了を待つ(ステップS1002)。 Here, the master node M waits for receiving a backup data reference request (step S1001: No). When the master node M receives the backup data reference request (step S1001: Yes), it waits for the completion of remote copy (REC) from the volume (P-Snap) to the volume (SV) (step S1002).
つぎに、マスタノードMは、自装置内にボリューム(P-Snap’)を作成する(ステップS1003)。そして、マスタノードMは、ストレージ装置102に、ボリューム(S-Snap’)の作成指示を送信する(ステップS1004)。なお、ストレージ装置102は、マスタノードMからボリューム(S-Snap’)の作成指示を受信すると、ボリューム(S-Snap’)を作成する。
Next, master node M creates a volume (P-Snap') within its own device (step S1003). Then, the master node M transmits a volume (S-Snap') creation instruction to the storage device 102 (step S1004). Note that when the
つぎに、マスタノードMは、ボリューム(P-V)からボリューム(P-Snap’)へのスナップショットセッションを作成する(ステップS1005)。そして、マスタノードMは、ボリューム(P-Snap’)からボリューム(S-V)へのリモートコピーセッションを作成する(ステップS1006)。 Next, the master node M creates a snapshot session from the volume (PV) to the volume (P-Snap') (step S1005). Then, the master node M creates a remote copy session from the volume (P-Snap') to the volume (SV) (step S1006).
つぎに、マスタノードMは、ストレージ装置102に、ボリューム(S-V)からボリューム(S-Snap’)へのスナップショットセッションの作成指示を送信する(ステップS1007)。なお、ストレージ装置102は、マスタノードMからスナップショットセッションの作成指示を受信すると、ボリューム(S-V)からボリューム(S-Snap’)へのスナップショットセッションを作成する。
Next, the master node M sends an instruction to create a snapshot session from the volume (SV) to the volume (S-Snap') to the storage device 102 (step S1007). Note that when the
そして、マスタノードMは、リモートコピー(REC)をサスペンドする(ステップS1008)。つぎに、マスタノードMは、スナップショット(P-V/P-Snap)とスナップショット(S-V/S-Snap)をサスペンドする(ステップS1009)。 Then, master node M suspends remote copy (REC) (step S1008). Next, the master node M suspends the snapshot (PV/P-Snap) and the snapshot (SV/S-Snap) (step S1009).
なお、スナップショット(S-V/S-Snap)については、マスタノードMは、ストレージ装置102にスナップショット(S-V/S-Snap)の停止指示を送信する。ストレージ装置102のノード120は、マスタノードMから当該停止指示を受信すると、スナップショット(S-V/S-Snap)を停止する。
Note that regarding the snapshot (SV/S-Snap), the master node M sends an instruction to stop the snapshot (SV/S-Snap) to the
つぎに、マスタノードMは、スナップショット(P-V/P-Snap’)、スナップショット(S-V/S-Snap’)、および、リモートコピー(REC’)を用いて、ボリューム(P-V)のバックアップ処理を開始する(ステップS1010)。そして、マスタノードMは、自装置上にボリューム(S-V’)を作成して(ステップS1011)、本フローチャートによる一連の処理を終了する。 Next, master node M uses snapshot (PV/P-Snap'), snapshot (SV/S-Snap'), and remote copy (REC') to V) backup processing is started (step S1010). Then, the master node M creates a volume (SV') on its own device (step S1011), and ends the series of processes according to this flowchart.
これにより、ストレージ装置101,102の両ストレージに新世代のスナップショット用ボリュームおよびスナップショットセッションを作成して、ボリューム(P-V)のバックアップ処理を引き継ぐことができる。
As a result, a new generation snapshot volume and a snapshot session can be created in both the
(マスタノードMのバックアップデータ参照処理手順)
つぎに、ストレージ装置101内のマスタノードMのバックアップデータ参照処理手順について説明する。
(Procedure for referencing backup data of master node M)
Next, the backup data reference processing procedure of the master node M in the
図11は、マスタノードMのバックアップデータ参照処理手順の一例を示すフローチャートである。図11のフローチャートにおいて、まず、マスタノードMは、ホスト装置103から、ボリューム(S-V’)内のデータの読み出し要求を受け付けたか否かを判断する(ステップS1101)。 FIG. 11 is a flowchart illustrating an example of the backup data reference processing procedure of the master node M. In the flowchart of FIG. 11, first, the master node M determines whether a request to read data in the volume (SV') has been received from the host device 103 (step S1101).
ここで、マスタノードMは、データの読み出し要求を受け付けるのを待つ(ステップS1101:No)。マスタノードMは、データの読み出し要求を受け付けた場合(ステップS1101:Yes)、ボリューム(S-V)とボリューム(S-Snap)との差分を示す差分情報に基づいて、ボリューム(S-Snap)に対象データがあるか否かを判断する(ステップS1102)。 Here, the master node M waits for receiving a data read request (step S1101: No). When the master node M receives the data read request (step S1101: Yes), the master node M reads the volume (S-Snap) based on the difference information indicating the difference between the volume (SV) and the volume (S-Snap). It is determined whether there is target data in (step S1102).
ここで、ボリューム(S-Snap)にある場合(ステップS1102:Yes)、マスタノードMは、ボリューム(S-Snap)から対象データを読み出して(ステップS1103)、ステップS1107へ移行する。 Here, if the target data is in the volume (S-Snap) (step S1102: Yes), the master node M reads the target data from the volume (S-Snap) (step S1103), and moves to step S1107.
一方、ボリューム(S-Snap)にない場合(ステップS1102:No)、マスタノードMは、ボリューム(P-V)とボリューム(P-Snap)との差分を示す差分情報に基づいて、ボリューム(P-Snap)に対象データがあるか否かを判断する(ステップS1104)。 On the other hand, if the volume (S-Snap) does not exist (step S1102: No), the master node M determines the volume (P-Snap) based on the difference information indicating the difference between the volume (PV) and the volume (P-Snap). -Snap) includes target data (step S1104).
ここで、ボリューム(P-Snap)にある場合(ステップS1104:Yes)、マスタノードMは、ボリューム(P-Snap)から対象データを読み出して(ステップS1105)、ステップS1107へ移行する。 Here, if the target data is in the volume (P-Snap) (step S1104: Yes), the master node M reads the target data from the volume (P-Snap) (step S1105), and moves to step S1107.
一方、ボリューム(P-Snap)にない場合(ステップS1104:No)、マスタノードMは、ボリューム(P-V)から対象データを読み出す(ステップS1106)。そして、マスタノードMは、読み出したデータをホスト装置103に送信して(ステップS1107)、本フローチャートによる一連の処理を終了する。 On the other hand, if the target data is not in the volume (P-Snap) (step S1104: No), the master node M reads the target data from the volume (PV) (step S1106). Then, the master node M transmits the read data to the host device 103 (step S1107), and ends the series of processes according to this flowchart.
これにより、ホスト装置103からの読み出し要求に応じて、バックアップデータを読み出して応答することができる。また、ストレージ装置101,102の両ストレージにあるデータについては、ストレージ装置101(プライマリストレージ)から読み出すことで、データ読み出し時の転送コストを抑えることができる。
This allows the backup data to be read and responded to in response to a read request from the
(マスタノードMの事後処理手順)
つぎに、ストレージ装置101内のマスタノードMの事後処理手順について説明する。
(Post-processing procedure of master node M)
Next, the post-processing procedure of the master node M in the
図12は、マスタノードMの事後処理手順の一例を示すフローチャートである。図12のフローチャートにおいて、まず、マスタノードMは、ホスト装置103から、バックアップデータの参照終了要求を受け付けたか否かを判断する(ステップS1201)。 FIG. 12 is a flowchart illustrating an example of the post-processing procedure of the master node M. In the flowchart of FIG. 12, first, the master node M determines whether or not it has received a backup data reference termination request from the host device 103 (step S1201).
ここで、マスタノードMは、バックアップデータの参照終了要求を受け付けるのを待つ(ステップS1201:No)。そして、マスタノードMは、バックアップデータの参照終了要求を受け付けた場合(ステップS1201:Yes)、リモートコピー(REC’)をサスペンドする(ステップS1202)。 Here, the master node M waits to receive a request to end the reference of the backup data (step S1201: No). Then, when the master node M receives the request to end the reference of backup data (step S1201: Yes), it suspends the remote copy (REC') (step S1202).
つぎに、マスタノードMは、リモートコピー(REC)を再開し(ステップS1203)、スナップショット(P-V/P-Snap)とスナップショット(S-V/S-Snap)を再開する(ステップS1204)。そして、マスタノードMは、スナップショット(P-V/P-Snap)、スナップショット(S-V/S-Snap)およびリモートコピー(REC)を用いて、ボリューム(P-V)のバックアップ処理を再開する(ステップS1205)。 Next, the master node M restarts remote copy (REC) (step S1203), and restarts snapshots (PV/P-Snap) and snapshots (SV/S-Snap) (step S1204). ). Then, master node M performs backup processing of volume (PV) using snapshot (PV/P-Snap), snapshot (SV/S-Snap), and remote copy (REC). It restarts (step S1205).
つぎに、マスタノードMは、ボリューム(S-V’)を削除する(ステップS1206)。そして、マスタノードMは、ボリューム(P-V)とボリューム(P-Snap’)との差分を示す差分情報に基づいて、ボリューム(P-Snap’)内の新データをボリューム(P-Snap)にコピーする(ステップS1207)。 Next, the master node M deletes the volume (SV') (step S1206). Then, the master node M transfers the new data in the volume (P-Snap') to the volume (P-Snap') based on the difference information indicating the difference between the volume (PV) and the volume (P-Snap'). (Step S1207).
つぎに、マスタノードMは、ボリューム(S-Snap’)内の新データのボリューム(S-Snap)へのコピー指示を、ストレージ装置102に送信する(ステップS1208)。ストレージ装置102のノード120は、マスタノードMから当該コピー指示を受信すると、ボリューム(S-V)とボリューム(S-Snap’)との差分を示す差分情報に基づいて、ボリューム(S-Snap’)内の新データをボリューム(S-Snap)にコピーする。
Next, the master node M transmits an instruction to copy the new data in the volume (S-Snap') to the volume (S-Snap) to the storage device 102 (step S1208). Upon receiving the copy instruction from the master node M, the
つぎに、マスタノードMは、ボリューム(P-Snap’)を削除する(ステップS1209)。そして、マスタノードMは、ボリューム(S-Snap’)の削除指示を、ストレージ装置102に送信して(ステップS1210)、本フローチャートによる一連の処理を終了する。ストレージ装置102のノード120は、マスタノードMから当該削除指示を受信すると、ボリューム(S-Snap’)を削除する。
Next, master node M deletes the volume (P-Snap') (step S1209). Then, the master node M transmits an instruction to delete the volume (S-Snap') to the storage device 102 (step S1210), and ends the series of processes according to this flowchart. Upon receiving the deletion instruction from the master node M, the
これにより、ユーザによるバックアップデータの参照が終了したことに応じて、ストレージシステム100内のコピーセッションの状態を、バックアップデータの参照前の状態に戻すことができる。
Thereby, in response to the end of the user's reference to the backup data, the state of the copy session in the
なお、本フローチャートによる一連の処理を実行中に、ボリューム(P-Snap)またはボリューム(S-Snap)が参照されるとき、ボリューム(P-Snap’)またはボリューム(S-Snap’)に新データが存在する場合がある。この場合、マスタノードMは、ボリューム(P-Snap’)またはボリューム(S-Snap’)から新データを読み出して応答する。 Note that when a volume (P-Snap) or volume (S-Snap) is referenced while executing a series of processes according to this flowchart, new data is stored in the volume (P-Snap') or volume (S-Snap'). may exist. In this case, the master node M responds by reading new data from the volume (P-Snap') or volume (S-Snap').
以上説明したように、実施の形態にかかるマスタノードM(ストレージ制御装置)によれば、バックアップデータの参照要求を受け付けたことに応じて、ボリューム(P-V)のスナップショットが作成されるボリューム(P-Snap’)と、ボリューム(S-V)のスナップショットが作成されるボリューム(S-Snap’)とを作成することができる。また、マスタノードMによれば、スナップショット(P-V/P-Snap)、リモートコピー(REC)およびスナップショット(S-V/S-Snap)を用いた、ボリューム(P-V)のバックアップ処理を停止することができる。そして、マスタノードMによれば、スナップショット(P-V/P-Snap’)、リモートコピー(REC’)およびスナップショット(S-V/S-Snap’)を用いて、ボリューム(P-V)のバックアップ処理を開始することができる。 As explained above, according to the master node M (storage control device) according to the embodiment, a snapshot of a volume (PV) is created in response to a request to refer to backup data. (P-Snap') and a volume (S-Snap') in which a snapshot of the volume (SV) is created. Also, according to master node M, backup of volume (PV) using snapshot (PV/P-Snap), remote copy (REC), and snapshot (SV/S-Snap) Processing can be stopped. According to the master node M, the volume (P-V/S-Snap') is ) backup process can be started.
これにより、バックアップデータの参照時に、ストレージ装置101,102の両ストレージに新世代のスナップショット用ボリュームおよびスナップショットセッションを作成して、ボリューム(P-V)のバックアップ処理を引き継ぐことができる。このため、ストレージ装置102(セカンダリストレージ)に格納されているバックアップデータを、冗長性を確保した状態で参照可能にすることができる。
Thereby, when referencing backup data, a new generation snapshot volume and a snapshot session can be created in both the
また、マスタノードMによれば、ボリューム(P-V)、ボリューム(P-Snap)およびボリューム(S-Snap)を用いて、バックアップデータの読み出しを行うことができる。例えば、マスタノードMは、ホスト装置103からデータの読み出し要求を受け付けた場合、ボリューム(S-V)とボリューム(S-Snap)との差分を示す差分情報に基づいて、ボリューム(S-Snap)に対象データがあるか否かを判断する。ここで、ボリューム(S-Snap)に対象データがあると判断した場合、マスタノードMは、ボリューム(S-Snap)から対象データを読み出す。一方、ボリューム(S-Snap)に対象データがないと判断した場合には、マスタノードMは、ボリューム(P-V)またはボリューム(P-Snap)から対象データを読み出す。そして、マスタノードMは、読み出した対象データをホスト装置103に送信する。
Further, according to the master node M, backup data can be read using a volume (PV), a volume (P-Snap), and a volume (S-Snap). For example, when the master node M receives a data read request from the
これにより、ストレージ装置101(プライマリストレージ)に接続されたホスト装置103からの読み出し要求に応じて、バックアップデータを読み出して応答することができる。また、ストレージ装置101,102の両ストレージにあるデータについては、ストレージ装置101から読み出すことで、データ読み出し時の転送コストを抑えることができる。
Thereby, backup data can be read and responded to in response to a read request from the
また、マスタノードMによれば、バックアップデータの参照が終了した場合、リモートコピー(REC’)を停止して、スナップショット(P-V/P-Snap)、リモートコピー(REC)およびスナップショット(S-V/S-Snap)を用いた、ボリューム(P-V)のバックアップ処理を再開することができる。また、マスタノードMによれば、ボリューム(P-V)とボリューム(P-Snap’)との差分情報に基づいて、ボリューム(P-Snap’)内の新データをボリューム(P-Snap)にコピーし、ボリューム(S-V)とボリューム(S-Snap’)との差分情報に基づいて、ボリューム(S-Snap’)内の新データをボリューム(S-Snap)にコピーすることができる。そして、マスタノードMによれば、ボリューム(P-Snap’)およびボリューム(S-Snap’)を削除することができる。 Also, according to master node M, when reference of backup data is finished, remote copy (REC') is stopped and snapshot (PV/P-Snap), remote copy (REC) and snapshot ( Backup processing of the volume (PV) using SV/S-Snap can be restarted. Also, according to the master node M, new data in the volume (P-Snap') is transferred to the volume (P-Snap) based on the difference information between the volume (PV) and the volume (P-Snap'). New data in the volume (S-Snap') can be copied to the volume (S-Snap) based on the difference information between the volume (SV) and the volume (S-Snap'). According to the master node M, the volume (P-Snap') and the volume (S-Snap') can be deleted.
これにより、ユーザによるバックアップデータの参照が終了したことに応じて、ストレージシステム100内のコピーセッションの状態を、バックアップデータの参照前の状態に戻すことができる。
Thereby, in response to the end of the user's reference to the backup data, the state of the copy session in the
これらのことから、実施の形態にかかるマスタノードM(ストレージ制御装置)およびストレージシステム100によれば、ストレージ装置101(プライマリストレージ)に接続されたホスト装置103から、ストレージ装置102(セカンダリストレージ)に格納されているバックアップデータを、冗長性を確保した状態で参照可能にすることができる。
For these reasons, according to the master node M (storage control device) and
なお、本実施の形態で説明したストレージ制御方法は、予め用意されたプログラムをストレージ制御装置等のコンピュータで実行することにより実現することができる。本ストレージ制御プログラムは、ハードディスク、フレキシブルディスク、CD(Compact Disc)-ROM、DVD(Digital Versatile Disk)、USB(Universal Serial Bus)メモリ等のコンピュータで読み取り可能な記録媒体に記録され、コンピュータによって記録媒体から読み出されることによって実行される。また、本ストレージ制御プログラムは、インターネット等のネットワークを介して配布してもよい。 Note that the storage control method described in this embodiment can be realized by executing a program prepared in advance on a computer such as a storage control device. This storage control program is recorded on a computer-readable recording medium such as a hard disk, a flexible disk, a CD (Compact Disc)-ROM, a DVD (Digital Versatile Disk), and a USB (Universal Serial Bus) memory. It is executed by reading from. Further, this storage control program may be distributed via a network such as the Internet.
また、本実施の形態で説明したストレージ制御装置(マスタノードM)は、スタンダードセルやストラクチャードASIC(Application Specific Integrated Circuit)などの特定用途向けICやFPGAなどのPLD(Programmable Logic Device)によっても実現することができる。 Furthermore, the storage control device (master node M) described in this embodiment can also be realized by a specific application IC such as a standard cell or a structured ASIC (Application Specific Integrated Circuit), or a PLD (Programmable Logic Device) such as an FPGA. be able to.
上述した実施の形態に関し、さらに以下の付記を開示する。 Regarding the embodiments described above, the following additional notes are further disclosed.
(付記1)プライマリボリュームと前記プライマリボリュームのスナップショットが作成される第1ボリュームとを有する第1のストレージ装置と、前記プライマリボリュームのスナップショットのデータがリモートコピーされるセカンダリボリュームと前記セカンダリボリュームのスナップショットが作成される第2ボリュームとを有する第2のストレージ装置とを含むストレージシステムのストレージ制御装置であって、
バックアップデータの参照要求を受け付けたことに応じて、前記プライマリボリュームのスナップショットが作成される第3ボリュームと、前記セカンダリボリュームのスナップショットが作成される第4ボリュームとを作成し、
前記プライマリボリュームから前記第1ボリュームへのスナップショット、前記第1ボリュームから前記セカンダリボリュームへのリモートコピー、および、前記セカンダリボリュームから前記第2ボリュームへのスナップショットを用いた、前記プライマリボリュームのバックアップ処理を停止し、
前記プライマリボリュームから前記第3ボリュームへのスナップショット、前記第3ボリュームから前記セカンダリボリュームへのリモートコピー、および、前記セカンダリボリュームから前記第4ボリュームへのスナップショットを用いて、前記プライマリボリュームのバックアップ処理を開始する、
制御部を有することを特徴とするストレージ制御装置。
(Additional Note 1) A first storage device having a primary volume and a first volume in which a snapshot of the primary volume is created, a secondary volume to which data of the snapshot of the primary volume is remotely copied, and a first volume in which a snapshot of the primary volume is created; A storage control device of a storage system including a second storage device having a second volume on which a snapshot is created,
In response to receiving a backup data reference request, creating a third volume in which a snapshot of the primary volume is created and a fourth volume in which a snapshot of the secondary volume is created;
Backup processing of the primary volume using a snapshot from the primary volume to the first volume, a remote copy from the first volume to the secondary volume, and a snapshot from the secondary volume to the second volume. stop and
Backup processing of the primary volume using a snapshot from the primary volume to the third volume, a remote copy from the third volume to the secondary volume, and a snapshot from the secondary volume to the fourth volume. start,
A storage control device characterized by having a control section.
(付記2)前記制御部は、
前記プライマリボリューム、前記第1ボリュームおよび前記第2ボリュームを用いて、前記バックアップデータの読み出しを行う、ことを特徴とする付記1に記載のストレージ制御装置。
(Additional Note 2) The control section is
The storage control device according to
(付記3)前記制御部は、
前記バックアップデータのいずれかのデータの読み出し要求を受け付けた場合、前記セカンダリボリュームと前記第2ボリュームとの差分情報に基づいて、前記データが前記第2ボリュームにあるか否かを判断し、
前記第2ボリュームに前記データがあると判断した場合、前記第2ボリュームから前記データを読み出し、前記第2ボリュームに前記データがないと判断した場合には、前記プライマリボリュームまたは前記第1ボリュームから前記データを読み出す、
ことを特徴とする付記2に記載のストレージ制御装置。
(Additional Note 3) The control section is
When a read request for any of the backup data is received, determining whether the data is in the second volume based on difference information between the secondary volume and the second volume;
If it is determined that the data exists in the second volume, the data is read from the second volume, and if it is determined that the data does not exist in the second volume, the data is read from the primary volume or the first volume. read data,
The storage control device according to
(付記4)前記制御部は、
前記バックアップデータの参照が終了した場合、前記第3ボリュームから前記セカンダリボリュームへのリモートコピーを停止して、前記プライマリボリュームから前記第1ボリュームへのスナップショット、前記第1ボリュームから前記セカンダリボリュームへのリモートコピー、および、前記セカンダリボリュームから前記第2ボリュームへのスナップショットを用いた、前記プライマリボリュームのバックアップ処理を再開し、
前記プライマリボリュームと前記第3ボリュームとの差分情報に基づいて、前記第3ボリューム内の新データを前記第1ボリュームにコピーし、
前記セカンダリボリュームと前記第4ボリュームとの差分情報に基づいて、前記第4ボリューム内の新データを前記第2ボリュームにコピーし、
前記第3ボリュームおよび前記第4ボリュームを削除する、
ことを特徴とする付記1~3のいずれか一つに記載のストレージ制御装置。
(Additional Note 4) The control section is
When the reference to the backup data is finished, the remote copy from the third volume to the secondary volume is stopped, and the snapshot is taken from the primary volume to the first volume, and from the first volume to the secondary volume. restarting backup processing of the primary volume using remote copy and snapshot from the secondary volume to the second volume;
Copying new data in the third volume to the first volume based on differential information between the primary volume and the third volume;
Copying new data in the fourth volume to the second volume based on differential information between the secondary volume and the fourth volume;
deleting the third volume and the fourth volume;
The storage control device according to any one of
(付記5)前記ストレージ制御装置は、前記第1のストレージ装置に設けられ、
前記制御部は、前記第1のストレージ装置に接続されたホスト装置から、前記バックアップデータのいずれかのデータの読み出し要求を受け付ける、ことを特徴とする付記1~4のいずれか一つに記載のストレージ制御装置。
(Additional Note 5) The storage control device is provided in the first storage device,
The control unit according to any one of
(付記6)前記第3ボリュームは、前記第1のストレージ装置上に作成され、
前記第4ボリュームは、前記第2のストレージ装置上に作成される、
ことを特徴とする付記1~5のいずれか一つに記載のストレージ制御装置。
(Additional Note 6) The third volume is created on the first storage device,
the fourth volume is created on the second storage device;
6. The storage control device according to any one of
(付記7)プライマリボリュームと前記プライマリボリュームのスナップショットが作成される第1ボリュームとを有する第1のストレージ装置と、前記プライマリボリュームのスナップショットのデータがリモートコピーされるセカンダリボリュームと前記セカンダリボリュームのスナップショットが作成される第2ボリュームとを有する第2のストレージ装置とを含むストレージシステムのコンピュータに、
バックアップデータの参照要求を受け付けたことに応じて、前記プライマリボリュームのスナップショットが作成される第3ボリュームと、前記セカンダリボリュームのスナップショットが作成される第4ボリュームとを作成し、
前記プライマリボリュームから前記第1ボリュームへのスナップショット、前記第1ボリュームから前記セカンダリボリュームへのリモートコピー、および、前記セカンダリボリュームから前記第2ボリュームへのスナップショットを用いた、前記プライマリボリュームのバックアップ処理を停止し、
前記プライマリボリュームから前記第3ボリュームへのスナップショット、前記第3ボリュームから前記セカンダリボリュームへのリモートコピー、および、前記セカンダリボリュームから前記第4ボリュームへのスナップショットを用いて、前記プライマリボリュームのバックアップ処理を開始する、
処理を実行させることを特徴とするストレージ制御プログラム。
(Additional Note 7) A first storage device having a primary volume and a first volume in which a snapshot of the primary volume is created, a secondary volume to which data of the snapshot of the primary volume is remotely copied, and a first volume in which a snapshot of the primary volume is created; a second storage device having a second volume on which the snapshot is to be created;
In response to receiving a backup data reference request, creating a third volume in which a snapshot of the primary volume is created and a fourth volume in which a snapshot of the secondary volume is created;
Backup processing of the primary volume using a snapshot from the primary volume to the first volume, a remote copy from the first volume to the secondary volume, and a snapshot from the secondary volume to the second volume. stop and
Backup processing of the primary volume using a snapshot from the primary volume to the third volume, a remote copy from the third volume to the secondary volume, and a snapshot from the secondary volume to the fourth volume. start,
A storage control program that executes processing.
(付記8)プライマリボリュームと前記プライマリボリュームのスナップショットが作成される第1ボリュームとを有する第1のストレージ装置と、
前記プライマリボリュームのスナップショットのデータがリモートコピーされるセカンダリボリュームと前記セカンダリボリュームのスナップショットが作成される第2ボリュームとを有する第2のストレージ装置と、
バックアップデータの参照要求を受け付けたことに応じて、前記プライマリボリュームのスナップショットが作成される第3ボリュームと、前記セカンダリボリュームのスナップショットが作成される第4ボリュームとを作成し、前記プライマリボリュームから前記第1ボリュームへのスナップショット、前記第1ボリュームから前記セカンダリボリュームへのリモートコピー、および、前記セカンダリボリュームから前記第2ボリュームへのスナップショットを用いた、前記プライマリボリュームのバックアップ処理を停止し、前記プライマリボリュームから前記第3ボリュームへのスナップショット、前記第3ボリュームから前記セカンダリボリュームへのリモートコピー、および、前記セカンダリボリュームから前記第4ボリュームへのスナップショットを用いて、前記プライマリボリュームのバックアップ処理を開始するストレージ制御装置と、
を含むことを特徴とするストレージシステム。
(Additional Note 8) A first storage device having a primary volume and a first volume in which a snapshot of the primary volume is created;
a second storage device having a secondary volume to which snapshot data of the primary volume is remotely copied; and a second volume to which the snapshot of the secondary volume is created;
In response to receiving a backup data reference request, a third volume in which a snapshot of the primary volume is created and a fourth volume in which a snapshot of the secondary volume is created, and stopping backup processing of the primary volume using a snapshot to the first volume, a remote copy from the first volume to the secondary volume, and a snapshot from the secondary volume to the second volume; Backup processing of the primary volume using a snapshot from the primary volume to the third volume, a remote copy from the third volume to the secondary volume, and a snapshot from the secondary volume to the fourth volume. a storage controller that initiates the
A storage system comprising:
100 ストレージシステム
101,102 ストレージ装置
103 ホスト装置
110 ネットワーク
120 ノード
121 CPU
122 メモリ
123 通信I/F
124 バス
130 ディスク
400,400(P),400(S) コピーセッションテーブル
500,500(P),500(S) セッション関係性テーブル
601 受付部
602 バックアップ制御部
603 コピー制御部
710,720,810,820 差分情報
M マスタノード
100 storage system 101,102
122
124
Claims (4)
バックアップデータの参照要求を受け付けたことに応じて、前記プライマリボリュームのスナップショットが作成される第3ボリュームと、前記セカンダリボリュームのスナップショットが作成される第4ボリュームとを作成し、
前記プライマリボリュームから前記第1ボリュームへのスナップショット、前記第1ボリュームから前記セカンダリボリュームへのリモートコピー、および、前記セカンダリボリュームから前記第2ボリュームへのスナップショットを用いた、前記プライマリボリュームのバックアップ処理を停止し、
前記プライマリボリュームから前記第3ボリュームへのスナップショット、前記第3ボリュームから前記セカンダリボリュームへのリモートコピー、および、前記セカンダリボリュームから前記第4ボリュームへのスナップショットを用いて、前記プライマリボリュームのバックアップ処理を開始し、
前記バックアップデータのいずれかのデータの読み出し要求を受け付けた場合、前記セカンダリボリュームと前記第2ボリュームとの差分情報に基づいて、前記データが前記第2ボリュームにあるか否かを判断し、
前記第2ボリュームに前記データがあると判断した場合、前記第2ボリュームから前記データを読み出し、前記第2ボリュームに前記データがないと判断した場合には、前記プライマリボリュームまたは前記第1ボリュームから前記データを読み出し、
読み出した前記データを読み出し要求元に応答する、
制御部を有することを特徴とするストレージ制御装置。 A first storage device having a primary volume and a first volume in which a snapshot of the primary volume is created, a secondary volume to which data of the snapshot of the primary volume is remotely copied, and a snapshot of the secondary volume is created. A storage control device for a storage system, comprising: a second storage device having a second volume;
In response to receiving a backup data reference request, creating a third volume in which a snapshot of the primary volume is created and a fourth volume in which a snapshot of the secondary volume is created;
Backup processing of the primary volume using a snapshot from the primary volume to the first volume, a remote copy from the first volume to the secondary volume, and a snapshot from the secondary volume to the second volume. stop and
Backup processing of the primary volume using a snapshot from the primary volume to the third volume, a remote copy from the third volume to the secondary volume, and a snapshot from the secondary volume to the fourth volume. start ,
When a read request for any of the backup data is received, determining whether the data is in the second volume based on difference information between the secondary volume and the second volume;
If it is determined that the data exists in the second volume, the data is read from the second volume, and if it is determined that the data does not exist in the second volume, the data is read from the primary volume or the first volume. read the data,
responding to the read request source with the read data;
A storage control device characterized by having a control section.
前記バックアップデータの参照が終了した場合、前記第3ボリュームから前記セカンダリボリュームへのリモートコピーを停止して、前記プライマリボリュームから前記第1ボリュームへのスナップショット、前記第1ボリュームから前記セカンダリボリュームへのリモートコピー、および、前記セカンダリボリュームから前記第2ボリュームへのスナップショットを用いた、前記プライマリボリュームのバックアップ処理を再開し、 When the reference to the backup data is finished, the remote copy from the third volume to the secondary volume is stopped, and the snapshot is taken from the primary volume to the first volume, and from the first volume to the secondary volume. restarting backup processing of the primary volume using remote copy and snapshot from the secondary volume to the second volume;
前記プライマリボリュームと前記第3ボリュームとの差分情報に基づいて、前記第3ボリューム内の新データを前記第1ボリュームにコピーし、 Copying new data in the third volume to the first volume based on differential information between the primary volume and the third volume;
前記セカンダリボリュームと前記第4ボリュームとの差分情報に基づいて、前記第4ボリューム内の新データを前記第2ボリュームにコピーし、 Copying new data in the fourth volume to the second volume based on differential information between the secondary volume and the fourth volume;
前記第3ボリュームおよび前記第4ボリュームを削除する、 deleting the third volume and the fourth volume;
ことを特徴とする請求項1に記載のストレージ制御装置。 The storage control device according to claim 1, characterized in that:
バックアップデータの参照要求を受け付けたことに応じて、前記プライマリボリュームのスナップショットが作成される第3ボリュームと、前記セカンダリボリュームのスナップショットが作成される第4ボリュームとを作成し、 In response to receiving a backup data reference request, creating a third volume in which a snapshot of the primary volume is created and a fourth volume in which a snapshot of the secondary volume is created;
前記プライマリボリュームから前記第1ボリュームへのスナップショット、前記第1ボリュームから前記セカンダリボリュームへのリモートコピー、および、前記セカンダリボリュームから前記第2ボリュームへのスナップショットを用いた、前記プライマリボリュームのバックアップ処理を停止し、 Backup processing of the primary volume using a snapshot from the primary volume to the first volume, a remote copy from the first volume to the secondary volume, and a snapshot from the secondary volume to the second volume. stop and
前記プライマリボリュームから前記第3ボリュームへのスナップショット、前記第3ボリュームから前記セカンダリボリュームへのリモートコピー、および、前記セカンダリボリュームから前記第4ボリュームへのスナップショットを用いて、前記プライマリボリュームのバックアップ処理を開始し、 Backup processing of the primary volume using a snapshot from the primary volume to the third volume, a remote copy from the third volume to the secondary volume, and a snapshot from the secondary volume to the fourth volume. start,
前記バックアップデータのいずれかのデータの読み出し要求を受け付けた場合、前記セカンダリボリュームと前記第2ボリュームとの差分情報に基づいて、前記データが前記第2ボリュームにあるか否かを判断し、 When a read request for any of the backup data is received, determining whether the data is in the second volume based on difference information between the secondary volume and the second volume;
前記第2ボリュームに前記データがあると判断した場合、前記第2ボリュームから前記データを読み出し、前記第2ボリュームに前記データがないと判断した場合には、前記プライマリボリュームまたは前記第1ボリュームから前記データを読み出し、 If it is determined that the data exists in the second volume, the data is read from the second volume, and if it is determined that the data does not exist in the second volume, the data is read from the primary volume or the first volume. read the data,
読み出した前記データを読み出し要求元に応答する、 responding to the read request source with the read data;
処理を実行させることを特徴とするストレージ制御プログラム。 A storage control program that executes processing.
前記プライマリボリュームのスナップショットのデータがリモートコピーされるセカンダリボリュームと前記セカンダリボリュームのスナップショットが作成される第2ボリュームとを有する第2のストレージ装置と、 a second storage device having a secondary volume to which snapshot data of the primary volume is remotely copied; and a second volume to which the snapshot of the secondary volume is created;
バックアップデータの参照要求を受け付けたことに応じて、前記プライマリボリュームのスナップショットが作成される第3ボリュームと、前記セカンダリボリュームのスナップショットが作成される第4ボリュームとを作成し、前記プライマリボリュームから前記第1ボリュームへのスナップショット、前記第1ボリュームから前記セカンダリボリュームへのリモートコピー、および、前記セカンダリボリュームから前記第2ボリュームへのスナップショットを用いた、前記プライマリボリュームのバックアップ処理を停止し、前記プライマリボリュームから前記第3ボリュームへのスナップショット、前記第3ボリュームから前記セカンダリボリュームへのリモートコピー、および、前記セカンダリボリュームから前記第4ボリュームへのスナップショットを用いて、前記プライマリボリュームのバックアップ処理を開始し、前記バックアップデータのいずれかのデータの読み出し要求を受け付けた場合、前記セカンダリボリュームと前記第2ボリュームとの差分情報に基づいて、前記データが前記第2ボリュームにあるか否かを判断し、前記第2ボリュームに前記データがあると判断した場合、前記第2ボリュームから前記データを読み出し、前記第2ボリュームに前記データがないと判断した場合には、前記プライマリボリュームまたは前記第1ボリュームから前記データを読み出し、読み出した前記データを読み出し要求元に応答するストレージ制御装置と、 In response to receiving a backup data reference request, a third volume in which a snapshot of the primary volume is created and a fourth volume in which a snapshot of the secondary volume is created, and stopping backup processing of the primary volume using a snapshot to the first volume, a remote copy from the first volume to the secondary volume, and a snapshot from the secondary volume to the second volume; Backup processing of the primary volume using a snapshot from the primary volume to the third volume, a remote copy from the third volume to the secondary volume, and a snapshot from the secondary volume to the fourth volume. and when a read request for any of the backup data is received, it is determined whether the data is in the second volume based on the difference information between the secondary volume and the second volume. If it is determined that the data exists in the second volume, the data is read from the second volume, and if it is determined that the data does not exist in the second volume, the data is read from the primary volume or the first volume. a storage control device that reads the data from and responds to a read request source with the read data;
を含むことを特徴とするストレージシステム。 A storage system comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019128752A JP7358809B2 (en) | 2019-07-10 | 2019-07-10 | Storage control device, storage control program and storage system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019128752A JP7358809B2 (en) | 2019-07-10 | 2019-07-10 | Storage control device, storage control program and storage system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021015377A JP2021015377A (en) | 2021-02-12 |
JP7358809B2 true JP7358809B2 (en) | 2023-10-11 |
Family
ID=74531456
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019128752A Active JP7358809B2 (en) | 2019-07-10 | 2019-07-10 | Storage control device, storage control program and storage system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7358809B2 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004070456A (en) | 2002-08-02 | 2004-03-04 | Nec Corp | Data backup method, data backup device, and information processing unit |
JP2005293469A (en) | 2004-04-05 | 2005-10-20 | Nippon Telegr & Teleph Corp <Ntt> | System and method for data copy |
JP2011248668A (en) | 2010-05-27 | 2011-12-08 | Hitachi Ltd | Computer system and restoration method |
JP2013539094A (en) | 2010-07-15 | 2013-10-17 | シマンテック コーポレーション | Replication method and system conscious of virtual machine |
-
2019
- 2019-07-10 JP JP2019128752A patent/JP7358809B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004070456A (en) | 2002-08-02 | 2004-03-04 | Nec Corp | Data backup method, data backup device, and information processing unit |
JP2005293469A (en) | 2004-04-05 | 2005-10-20 | Nippon Telegr & Teleph Corp <Ntt> | System and method for data copy |
JP2011248668A (en) | 2010-05-27 | 2011-12-08 | Hitachi Ltd | Computer system and restoration method |
JP2013539094A (en) | 2010-07-15 | 2013-10-17 | シマンテック コーポレーション | Replication method and system conscious of virtual machine |
Also Published As
Publication number | Publication date |
---|---|
JP2021015377A (en) | 2021-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6708929B2 (en) | Storage control device, storage system, and storage control program | |
JP4800031B2 (en) | Storage system and snapshot management method | |
US8473462B1 (en) | Change tracking for shared disks | |
US7194487B1 (en) | System and method for recording the order of a change caused by restoring a primary volume during ongoing replication of the primary volume | |
US7120768B2 (en) | Snapshot acquisition method, storage system and disk apparatus | |
US7634594B1 (en) | System and method for identifying block-level write operations to be transferred to a secondary site during replication | |
JP4550541B2 (en) | Storage system | |
JP4489455B2 (en) | Disk control device and control method of disk control device | |
JP4741371B2 (en) | System, server apparatus, and snapshot format conversion method | |
JP6064608B2 (en) | Storage device, backup program, and backup method | |
JP4419884B2 (en) | Data replication apparatus, method, program, and storage system | |
JP2005031716A (en) | Method and device for data backup | |
JP2006146904A (en) | System and method for creating object-level snapshot in storage system | |
JP2005292952A (en) | Storage system, storage device and remote copy method | |
JP2005301497A (en) | Storage management system, restoration method and its program | |
JP2007334709A (en) | Storage control device, storage control program, and storage control method | |
JP2008225616A (en) | Storage system, remote copy system and data restoration method | |
WO2018076633A1 (en) | Remote data replication method, storage device and storage system | |
JP2006164162A (en) | Copy control device and method | |
JP4937863B2 (en) | Computer system, management computer, and data management method | |
JP3904894B2 (en) | Backup management method and storage control device used in this method | |
JP6561765B2 (en) | Storage control device and storage control program | |
JP2004272854A (en) | Storage system and snapshot management method therein | |
JP2006011811A (en) | Storage control system and storage control method | |
JP2007141183A (en) | Storage controller and storage control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220407 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230313 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20230411 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20230522 |
|
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: 20230829 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230911 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 7358809 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |