JP7358809B2 - Storage control device, storage control program and storage system - Google Patents

Storage control device, storage control program and storage system Download PDF

Info

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
Application number
JP2019128752A
Other languages
Japanese (ja)
Other versions
JP2021015377A (en
Inventor
光一 林
秀憲 山田
昌徳 古屋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2019128752A priority Critical patent/JP7358809B2/en
Publication of JP2021015377A publication Critical patent/JP2021015377A/en
Application granted granted Critical
Publication of JP7358809B2 publication Critical patent/JP7358809B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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.

特開2007-213345号公報Japanese Patent Application Publication No. 2007-213345 特開2005-267569号公報Japanese Patent Application Publication No. 2005-267569

しかしながら、従来技術では、リモートサイトに格納されたバックアップデータを、冗長性を確保した状態でホストサーバなどから参照可能にすることができない。 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.

図1は、実施の形態にかかるストレージシステムのシステム構成例を示す説明図である。FIG. 1 is an explanatory diagram showing an example of a system configuration of a storage system according to an embodiment. 図2は、データのバックアップ例を示す説明図である。FIG. 2 is an explanatory diagram showing an example of data backup. 図3Aは、バックアップデータを参照時のコピー制御例を示す説明図(その1)である。FIG. 3A is an explanatory diagram (Part 1) showing an example of copy control when referring to backup data. 図3Bは、バックアップデータを参照時のコピー制御例を示す説明図(その2)である。FIG. 3B is an explanatory diagram (part 2) showing an example of copy control when referring to backup data. 図3Cは、バックアップデータを参照時のコピー制御例を示す説明図(その3)である。FIG. 3C is an explanatory diagram (part 3) showing an example of copy control when referring to backup data. 図4Aは、コピーセッションテーブル400(P)の記憶内容の一例を示す説明図である。FIG. 4A is an explanatory diagram showing an example of the storage contents of the copy session table 400(P). 図4Bは、コピーセッションテーブル400(S)の記憶内容の一例を示す説明図である。FIG. 4B is an explanatory diagram showing an example of the storage contents of the copy session table 400(S). 図5Aは、セッション関係性テーブル500(P)の記憶内容の一例を示す説明図である。FIG. 5A is an explanatory diagram showing an example of the stored contents of the session relationship table 500(P). 図5Bは、セッション関係性テーブル500(S)の記憶内容の一例を示す説明図である。FIG. 5B is an explanatory diagram showing an example of the stored contents of the session relationship table 500(S). 図6は、マスタノードMの機能的構成例を示すブロック図である。FIG. 6 is a block diagram showing an example of the functional configuration of the master node M. 図7は、バックアップデータを参照時の動作例を示す説明図である。FIG. 7 is an explanatory diagram showing an example of the operation when referring to backup data. 図8Aは、バックアップデータの参照終了時の動作例を示す説明図(その1)である。FIG. 8A is an explanatory diagram (part 1) illustrating an example of the operation at the end of referencing backup data. 図8Bは、バックアップデータの参照終了時の動作例を示す説明図(その2)である。FIG. 8B is an explanatory diagram (Part 2) illustrating an example of the operation at the end of referencing backup data. 図8Cは、バックアップデータの参照終了時の動作例を示す説明図(その3)である。FIG. 8C is an explanatory diagram (part 3) illustrating an example of the operation at the end of referencing backup data. 図9は、マスタノードMのバックアップ処理手順の一例を示すフローチャートである。FIG. 9 is a flowchart illustrating an example of the backup processing procedure of the master node M. 図10は、マスタノードMの事前準備処理手順の一例を示すフローチャートである。FIG. 10 is a flowchart illustrating an example of the advance preparation processing procedure of the master node M. 図11は、マスタノードMのバックアップデータ参照処理手順の一例を示すフローチャートである。FIG. 11 is a flowchart illustrating an example of the backup data reference processing procedure of the master node M. 図12は、マスタノードMの事後処理手順の一例を示すフローチャートである。FIG. 12 is a flowchart illustrating an example of the post-processing procedure of the master node M.

以下に図面を参照して、本発明にかかるストレージ制御装置、ストレージ制御プログラムおよびストレージシステムの実施の形態を詳細に説明する。 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 storage system 100 includes a storage device 101 and a storage device 102. In the storage system 100, a storage device 101 and a storage device 102 are connected via a wired or wireless network 110. The network 110 is, for example, a LAN (Local Area Network), a WAN (Wide Area Network), the Internet, or the like.

ストレージ装置101は、バックアップ対象のデータを記憶するコピー元のストレージ装置であり、いわゆる、プライマリストレージである。ストレージ装置102は、バックアップ対象のデータがコピーされるコピー先のストレージ装置であり、いわゆる、セカンダリストレージである。 The storage device 101 is a copy source storage device that stores data to be backed up, and is a so-called primary storage. The storage device 102 is a copy destination storage device to which data to be backed up is copied, and is a so-called secondary storage.

ホスト装置103は、ストレージシステム100に接続される上位装置である。例えば、ホスト装置103は、ストレージ装置101上に作成されるボリュームを用いて業務処理を行う。ホスト装置103は、例えば、サーバ、PC(Personal Computer)などにより実現される。 The host device 103 is a higher-level device connected to the storage system 100. For example, the host device 103 performs business processing using volumes created on the storage device 101. The host device 103 is realized by, for example, a server, a PC (Personal Computer), or the like.

各ストレージ装置101,102は、リモートコピー機能を有する。リモートコピーとは、遠隔地での筐体間コピーを実現する機能である。リモートコピーでは、例えば、コピー元(ボリューム)のデータを定期的にコピー先(ボリューム)に転送するにあたり、まず、開始時点のコピー元のデータをコピー先に転送し、コピー元へのデータ更新分を逐次コピー先に転送するという手順を踏む。 Each storage device 101, 102 has a remote copy function. Remote copy is a function that realizes inter-box copy at a remote location. In remote copying, for example, when periodically transferring data from a copy source (volume) to a copy destination (volume), first transfer the data from the copy source at the start point to the copy destination, and then transfer the updated data to the copy source. The procedure is to sequentially transfer the files to the copy destination.

ここで、ストレージ装置101,102は、1以上のノード120と、1以上のディスク130と、を有する。ノード120は、ディスク130、メモリ122等の資源管理や、コピー制御などを行うストレージ制御装置である。ノード120は、CPU(Central Processing Unit)121と、メモリ122と、通信I/F(Interface)123と、を有する。また、各構成部は、バス124によってそれぞれ接続される。 Here, the storage devices 101 and 102 include one or more nodes 120 and one or more disks 130. The node 120 is a storage control device that manages resources such as the disk 130 and memory 122, and performs copy control. The node 120 includes a CPU (Central Processing Unit) 121, a memory 122, and a communication I/F (Interface) 123. Further, each component is connected to each other by a bus 124.

CPU121は、ノード120の全体の制御を司る。CPU121は、複数のコアを有していてもよい。メモリ122は、例えば、DRAM(Dynamic Random Access Memory)やフラッシュROM(Read Only Memory)などを有する。具体的には、例えば、フラッシュROMは、各種プログラムを記憶する。DRAMは、CPU121のワークエリアとして使用される揮発メモリであり、例えば、処理中のユーザデータや制御情報を記憶する。メモリ122に記憶されるプログラムは、CPU121にロードされることで、コーディングされている処理をCPU121に実行させる。 The CPU 121 is in charge of overall control of the node 120. CPU 121 may have multiple cores. The memory 122 includes, for example, DRAM (Dynamic Random Access Memory) and flash ROM (Read Only Memory). Specifically, for example, a flash ROM stores various programs. The DRAM is a volatile memory used as a work area for the CPU 121, and stores, for example, user data being processed and control information. The program stored in the memory 122 is loaded into the CPU 121 and causes the CPU 121 to execute the coded processing.

通信I/F123は、ネットワーク110等に接続され、ネットワーク110等を介して他のコンピュータに接続される。そして、通信I/F123は、ネットワーク110等とノード内部とのインターフェースを司り、他のコンピュータからのデータの入出力を制御する。通信I/F123には、例えば、CA(Channel Adapter)やLANアダプタなどを採用することができる。 The communication I/F 123 is connected to the network 110 and the like, and is connected to other computers via the network 110 and the like. The communication I/F 123 serves as an interface between the network 110 and the like and the inside of the node, and controls input/output of data from other computers. For the communication I/F 123, for example, a CA (Channel Adapter) or a LAN adapter can be used.

また、ストレージシステム100において、ホスト装置103は、ストレージ装置101,102のうちのストレージ装置101に接続される。例えば、ホスト装置103は、FC(Fibre Channel)やiSCSI(Internet Small Computer System Interface)でストレージ装置101と接続される。 Furthermore, in the storage system 100, the host device 103 is connected to the storage device 101 of the storage devices 101 and 102. For example, the host device 103 is connected to the storage device 101 using FC (Fibre Channel) or iSCSI (Internet Small Computer System Interface).

ディスク130は、データを記憶するストレージの一例であり、ユーザデータや制御情報を記憶する不揮発性の記憶装置である。ディスク130は、例えば、HDD(Hard Disk Drive)やSSD(Solid State Drive)である。ディスク130は、全てがHDDまたはSSDであってもよいし、HDDとSSDとが混在していてもよい。 The disk 130 is an example of a storage that stores data, and is a nonvolatile storage device that stores user data and control information. The disk 130 is, for example, an HDD (Hard Disk Drive) or an SSD (Solid State Drive). The disks 130 may all be HDDs or SSDs, or may include a mixture of HDDs and SSDs.

ここで、セカンダリストレージのバックアップデータを、プライマリストレージに接続されたホストサーバ(例えば、ホスト装置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 host device 103 connected to the storage device 101 (primary storage) while ensuring redundancy. The storage control device (node 120) will be explained.

(データのバックアップ例)
まず、ストレージシステム100におけるデータのバックアップ例について説明する。ここでは、ストレージ装置101のデータを、ストレージ装置102にリモートコピーすることにより、データのバックアップを行う。
(Data backup example)
First, an example of data backup in the storage system 100 will be described. Here, the data in the storage device 101 is remotely copied to the storage device 102 to back up the data.

図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 storage device 101, 102. Here, the box ID of the storage device 101 is "A". Furthermore, the box ID of the storage device 102 is "B".

ボリューム(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 storage device 101. A volume is a storage area that is a management unit of each storage device 101, 102. A volume may be one or more physical storage devices, or may be a LUN (Logical Unit Number) that is a logical storage device. For example, the volume (PV) is a business volume.

図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 LUN #1. The (number) in LUN# (number) is the volume ID. The volume ID is an identifier that uniquely identifies a volume in each storage device 101, 102. The volume (SV) is a secondary volume (copy destination volume) created in the storage device 102. In the example of FIG. 2, the volume (SV) is LUN #11.

なお、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 storage device 101 creates a snapshot of the volume (PV) in the volume (P-Snap) within its own device, and creates a remote snapshot from the created volume (P-Snap) to the volume (SV). Make a copy.

スナップショットとは、一時点におけるデータの論理的なコピーである。スナップショットは、例えば、データの更新時に、更新するデータ部の更新前の状態をコピーし、オリジナルの未更新部分とあわせて更新前の状態を保持する、いわゆる、コピー・オン・ライト方式により作成される。図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 LUN #2.

さらに、ボリューム(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 storage device 102 creates a snapshot of the volume (SV) in the volume (S-Snap) within its own device. do. In the example of FIG. 2, the volume (S-Snap) is LUN #12.

これにより、ボリューム(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 storage system 100 will be described.

以下の説明では、ストレージ装置101内にノード120のうち、ストレージシステム100のコピー制御を行うノード120を「マスタノードM」と表記する場合がある。 In the following description, among the nodes 120 within the storage apparatus 101, the node 120 that performs copy control of the storage system 100 may be referred to as a "master node M."

図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, LUN #3. The volume (S-Snap') is, for example, LUN #13.

具体的には、例えば、マスタノード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 storage device 101. The master node M also sends a volume (S-Snap') creation instruction to the storage device 102. When the node 120 of the storage device 102 receives the volume (S-Snap') creation instruction from the master node M, it creates the volume (S-Snap') on the storage device 102.

つぎに、マスタノード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 storage devices 101 and 102, and backup processing of the volume (PV) is performed from the old generation snapshot volume and snapshot session. can be taken over.

図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 storage device 101.

ボリューム(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 host device 103 shown in FIG.

そして、マスタノード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 host device 103. This allows the user to access the volume (SV') from the host device 103 and refer to the backup data.

このように、マスタノード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 host device 103 connected to the storage device 101 (primary storage) while ensuring redundancy. It can be made referenceable.

図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 storage device 102 determines the volume (S-Snap') as the restore source volume. After the primary storage is restored, the node 120 of the storage device 102 transfers the data of the restore source volume to the primary storage. This makes it possible to restore (N) generation data.

(コピーセッションテーブル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 storage device 101, 102 has will be explained. The copy session table 400 is stored, for example, in the memory 122 or disk 130 of the node 120 in each storage device 101, 102.

以下の説明では、ストレージ装置101が有するコピーセッションテーブル400を「コピーセッションテーブル400(P)」と表記し、ストレージ装置102が有するコピーセッションテーブル400を「コピーセッションテーブル400(S)」と表記する場合がある。 In the following description, the copy session table 400 possessed by the storage apparatus 101 will be referred to as "copy session table 400(P)," and the copy session table 400 possessed by the storage apparatus 102 will be referred to as "copy session table 400(S)." There are cases.

まず、ストレージ装置101が有するコピーセッションテーブル400(P)の記憶内容について説明する。 First, the storage contents of the copy session table 400(P) included in the storage device 101 will be explained.

図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 storage device 102 will be explained.

図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 storage device 101, 102 has will be explained. The session relationship table 500 is stored, for example, in the memory 122 or disk 130 of the node 120 in each storage device 101, 102.

以下の説明では、ストレージ装置101が有するセッション関係性テーブル500を「セッション関係性テーブル500(P)」と表記し、ストレージ装置102が有するセッション関係性テーブル500を「セッション関係性テーブル500(S)」と表記する場合がある。 In the following description, the session relationship table 500 that the storage device 101 has is referred to as a "session relationship table 500 (P)," and the session relationship table 500 that the storage device 102 has is referred to as a "session relationship table 500 (S)." ” may be written.

まず、ストレージ装置101が有するセッション関係性テーブル500(P)の記憶内容について説明する。 First, the stored contents of the session relationship table 500(P) included in the storage device 101 will be explained.

図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 storage apparatuses 101 and 102.

セッション関係性テーブル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 storage device 102 will be explained.

図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 storage apparatuses 101 and 102.

なお、セッション関係性テーブル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 reception unit 601, a backup control unit 602, and a copy control unit 603. Specifically, for example, the reception unit 601 to the copy control unit 603 cause the CPU 121 to execute a program stored in the memory 122 of the master node M (node 120) shown in FIG. F123 realizes this function. The processing results of each functional unit are stored in a storage device such as the memory 122 or the disk 130, for example.

受付部601は、プライマリボリュームに対するバックアップ指示を受け付ける。バックアップ指示は、プライマリボリュームのデータを、セカンダリボリュームへバックアップするよう指示するものである。プライマリボリュームは、例えば、図2に示したストレージ装置101のボリューム(P-V)である。また、セカンダリボリュームは、例えば、図2に示したストレージ装置102のボリューム(S-V)である。 The receiving unit 601 receives backup instructions for the primary volume. The backup instruction is an instruction to back up the data of the primary volume to the secondary volume. The primary volume is, for example, the volume (PV) of the storage device 101 shown in FIG. 2. Further, the secondary volume is, for example, the volume (SV) of the storage device 102 shown in FIG. 2.

バックアップ指示には、例えば、プライマリストレージのボックス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 unit 601 receives a backup instruction for the primary volume from the host device 103 shown in FIG.

以下の説明では、プライマリボリュームとして「ストレージ装置101のボリューム(P-V)」を、セカンダリボリュームとして「ストレージ装置102のボリューム(S-V)」を例に挙げて説明する。また、初期状態において、ボリューム(P-V)からボリューム(S-V)への初期コピーは、完了しているものとする。 In the following explanation, a "volume (PV) of the storage device 101" is used as a primary volume, and a "volume (SV) of the storage device 102" is used as an example of a secondary volume. Further, in the initial state, it is assumed that the initial copy from the volume (PV) to the volume (SV) has been completed.

バックアップ制御部602は、ボリューム(P-V)に対するバックアップ指示を受け付けると、ストレージ装置102(セカンダリストレージ)にボリューム(S-Snap)を作成する。また、バックアップ制御部602は、ストレージ装置101(プライマリストレージ)にボリューム(P-Snap)を作成する。そして、バックアップ制御部602は、ボリューム(P-Snap)からボリューム(S-V)へのリモートコピーを開始する。 When the backup control unit 602 receives a backup instruction for a volume (PV), it creates a volume (S-Snap) in the storage device 102 (secondary storage). The backup control unit 602 also creates a volume (P-Snap) in the storage device 101 (primary storage). Then, the backup control unit 602 starts remote copying from the volume (P-Snap) to the volume (SV).

ここで、ボリューム(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 backup control unit 602 sends a volume (S-Snap) creation instruction to the storage device 102, which is secondary storage. When the storage device 102 receives the volume (S-Snap) creation instruction, it creates the volume (S-Snap) within its own device.

そして、ストレージ装置102は、ボリューム(S-V)からボリューム(S-Snap)へのスナップショットセッションを作成する。また、ストレージ装置102は、ボリューム(S-Snap)のボリュームID、およびスナップショットセッションのセッションIDをストレージ装置101に通知する。 Then, the storage device 102 creates a snapshot session from the volume (SV) to the volume (S-Snap). Furthermore, the storage device 102 notifies the storage device 101 of the volume ID of the volume (S-Snap) and the session ID of the snapshot session.

また、バックアップ制御部602は、自装置内にボリューム(P-Snap)を作成し、ボリューム(P-V)からボリューム(P-Snap)へのスナップショットを作成する。つぎに、バックアップ制御部602は、ボリューム(P-Snap)からボリューム(S-V)へのリモートコピーセッションを作成する。 The backup control unit 602 also creates a volume (P-Snap) within its own device, and creates a snapshot from the volume (PV) to the volume (P-Snap). Next, the backup control unit 602 creates a remote copy session from the volume (P-Snap) to the volume (SV).

そして、バックアップ制御部602は、スナップショット(P-V/P-Snap)、リモートコピー(REC)およびスナップショット(S-V/S-Snap)を用いて、ボリューム(P-V)のバックアップ処理を開始する。 Then, the backup control unit 602 performs backup processing of the volume (PV) using the snapshot (PV/P-Snap), remote copy (REC), and snapshot (SV/S-Snap). Start.

リモートコピー(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 backup control unit 602 calculates the difference between the volume (P-Snap) and the volume (SV) and copies the difference data. Start.

これにより、ボリューム(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 storage device 101, for example, copy session information 410-1 is stored in the copy session table 400(P). Ru. Furthermore, when a snapshot is created from a volume (SV) to a volume (S-Snap) in the storage device 102, copy session information 420-2 is stored in the copy session table 400(S), for example. .

また、ストレージ装置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 storage apparatus 101, copy session information 410-2 is stored in the copy session table 400(P). Furthermore, in the storage device 102, copy session information 420-1 is stored in the copy session table 400(S).

また、ボリューム(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 storage device 101 and 102, respectively. be done. Information set in various tables is obtained, for example, by communication between the storage devices 101 and 102.

なお、ボリューム(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 unit 601 receives a request to refer to backup data. Here, the backup data reference request is a request to reference backup data stored in the storage device 102 (secondary storage).

バックアップデータの参照要求には、例えば、プライマリストレージのボックス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 unit 601 accepts a backup data reference request from the host device 103.

コピー制御部603は、バックアップデータの参照要求を受け付けると、ストレージ装置101(プライマリストレージ)にボリューム(P-Snap’)を作成する。また、コピー制御部603は、ストレージ装置102(セカンダリストレージ)にボリューム(S-Snap’)を作成する。 Upon receiving a backup data reference request, the copy control unit 603 creates a volume (P-Snap') in the storage device 101 (primary storage). The copy control unit 603 also creates a volume (S-Snap') in the storage device 102 (secondary storage).

ここで、ボリューム(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 copy control unit 603 creates a volume (P-Snap') within its own device, and creates a snapshot from the volume (PV) to the volume (P-Snap'). The copy control unit 603 also sends a volume (S-Snap') creation instruction to the storage device 102, which is secondary storage.

ストレージ装置102は、ボリューム(S-Snap’)の作成指示を受信すると、自装置内にボリューム(S-Snap’)を作成する。また、ストレージ装置102は、ボリューム(S-V)からボリューム(S-Snap’)へのスナップショットセッションを作成する。また、ストレージ装置102は、ボリューム(S-Snap’)のボリュームID、およびスナップショットセッションのセッションIDをストレージ装置101に通知する。 When the storage device 102 receives the volume (S-Snap') creation instruction, it creates the volume (S-Snap') within its own device. The storage device 102 also creates a snapshot session from the volume (SV) to the volume (S-Snap'). Furthermore, the storage device 102 notifies the storage device 101 of the volume ID of the volume (S-Snap') and the session ID of the snapshot session.

つぎに、コピー制御部603は、ボリューム(P-Snap’)からボリューム(S-V)へのリモートコピーセッションを作成する。 Next, the copy control unit 603 creates a remote copy session from the volume (P-Snap') to the volume (SV).

なお、ストレージ装置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 storage device 101, for example, copy session information 410-3 is stored in the copy session table 400 (P). be done. Furthermore, when a snapshot is created from a volume (SV) to a volume (S-Snap') in the storage device 102, for example, copy session information 420-4 is stored in the copy session table 400(S). Ru.

また、ストレージ装置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 storage device 101, copy session information 410-4 is stored in the copy session table 400 (P). . Furthermore, in the storage device 102, copy session information 420-3 is stored in the copy session table 400(S).

また、ボリューム(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 storage device 101 and 102, respectively. Updated. Information set in various tables is obtained, for example, by communication between the storage devices 101 and 102.

なお、ボリューム(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 copy control unit 603 backs up the volume (PV) using snapshot (PV/P-Snap), remote copy (REC), and snapshot (SV/S-Snap). Stop processing.

具体的には、例えば、コピー制御部603は、リモートコピー(REC)を停止(サスペンド)する。また、コピー制御部603は、スナップショット(P-V/P-Snap)を停止する。また、コピー制御部603は、スナップショット(S-V/S-Snap)の停止指示を、ストレージ装置102に送信する。ストレージ装置102のノード120は、マスタノードMから当該停止指示を受信すると、スナップショット(S-V/S-Snap)を停止する。 Specifically, for example, the copy control unit 603 stops (suspends) remote copy (REC). The copy control unit 603 also stops snapshots (PV/P-Snap). The copy control unit 603 also sends a snapshot (SV/S-Snap) stop instruction to the storage device 102. When the node 120 of the storage device 102 receives the stop instruction from the master node M, it stops the snapshot (SV/S-Snap).

つぎに、コピー制御部603は、スナップショット(P-V/P-Snap’)、リモートコピー(REC’)およびスナップショット(S-V/S-Snap’)を用いて、ボリューム(P-V)のバックアップ処理を開始する。 Next, the copy control unit 603 uses the snapshot (PV/P-Snap'), remote copy (REC'), and snapshot (SV/S-Snap') to ) starts the backup process.

具体的には、例えば、コピー制御部603は、スナップショット(P-V/P-Snap’)を開始する。また、コピー制御部603は、リモートコピー(REC’)を開始する。また、マスタノードMは、スナップショット(S-V/S-Snap’)の開始指示を、ストレージ装置102に送信する。ストレージ装置102のノード120は、マスタノードMから当該開始指示を受信すると、スナップショット(S-V/S-Snap’)を開始する。 Specifically, for example, the copy control unit 603 starts a snapshot (PV/P-Snap'). Additionally, the copy control unit 603 starts remote copying (REC'). The master node M also sends a snapshot (SV/S-Snap') start instruction to the storage device 102. When the node 120 of the storage device 102 receives the start instruction from the master node M, it starts snapshotting (SV/S-Snap').

これにより、ストレージ装置101,102の両ストレージに新世代のスナップショット用ボリュームおよびスナップショットセッションを作成して、ボリューム(P-V)のバックアップ処理を引き継ぐことができる。 As a result, a new generation snapshot volume and a snapshot session can be created in both the storage devices 101 and 102, and backup processing of the volume (PV) can be taken over.

コピー制御部603は、ボリューム(P-V)、ボリューム(P-Snap)およびボリューム(S-Snap)を用いて、バックアップデータの読み出しを行う。具体的には、例えば、コピー制御部603は、ストレージ装置101上にボリューム(S-V’)を作成する。ボリューム(S-V’)は、バックアップデータを参照するために作成される仮想ボリュームである。 The copy control unit 603 reads backup data using a volume (PV), a volume (P-Snap), and a volume (S-Snap). Specifically, for example, the copy control unit 603 creates a volume (SV') on the storage device 101. The volume (SV') is a virtual volume created to refer to backup data.

受付部601は、バックアップデータのいずれかのデータの読み出し要求を受け付ける。具体的には、例えば、受付部601は、ホスト装置103から、ボリューム(S-V’)内のデータの読み出し要求を受け付ける。以下の説明では、読み出し要求されたデータを「対象データ」と表記する場合がある。 The accepting unit 601 accepts a request to read any of the backup data. Specifically, for example, the receiving unit 601 receives a request from the host device 103 to read data in the volume (SV'). In the following description, the data requested to be read may be referred to as "target data."

読み出し要求は、例えば、ボリューム(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 copy control unit 603 receives a read request, it determines whether the target data exists in the volume (S-Snap) based on difference information indicating the difference between the volume (SV) and the volume (S-Snap). to judge. The difference information is, for example, a difference bitmap indicating the presence or absence of a difference in a predetermined block unit. The predetermined block is, for example, 16LBA.

なお、コピー制御部603は、ボリューム(S-V)とボリューム(S-Snap)との差分を示す差分情報を、ストレージ装置102から取得して、自ノードのメモリ122に記憶する。これにより、メモリ122に記憶した差分情報を参照して、ボリューム(S-Snap)に対象データがあるか否かを判断することができる。ただし、コピー制御部603は、ストレージ装置102に対して、ボリューム(S-Snap)に対象データがあるか否かを問い合わせることにしてもよい。 Note that the copy control unit 603 obtains difference information indicating the difference between the volume (SV) and the volume (S-Snap) from the storage device 102 and stores it in the memory 122 of its own node. This makes it possible to refer to the difference information stored in the memory 122 and determine whether or not the volume (S-Snap) contains target data. However, the copy control unit 603 may inquire of the storage device 102 whether or not there is target data in the volume (S-Snap).

ここで、ボリューム(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 copy control unit 603 reads the target data from the volume (S-Snap) in the storage device 102. On the other hand, if it is determined that there is no target data in the volume (S-Snap), the copy control unit 603 reads the target data from the volume (PV) or the volume (P-Snap). The copy control unit 603 then responds with the read target data to the read request source. The read request source is, for example, the host device 103.

なお、ストレージシステム100におけるバックアップデータを参照時の動作例については、図7を用いて後述する。また、コピー制御部603は、対象データを読み出すにあたり、例えば、ボリューム(S-V)やボリューム(S-Snap’)から読み出すことにしてもよい。 Note that an example of the operation when referring to backup data in the storage system 100 will be described later using FIG. 7. Further, when reading the target data, the copy control unit 603 may read the target data from, for example, a volume (SV) or a volume (S-Snap').

コピー制御部603は、バックアップデータの参照が終了した場合、リモートコピー(REC’)を停止する。また、コピー制御部603は、スナップショット(P-V/P-Snap)、リモートコピー(REC)およびスナップショット(S-V/S-Snap)を用いた、ボリューム(P-V)のバックアップ処理を再開する。 The copy control unit 603 stops the remote copy (REC') when the reference to the backup data is finished. The copy control unit 603 also performs volume (PV) backup processing using snapshots (PV/P-Snap), remote copies (REC), and snapshots (SV/S-Snap). resume.

具体的には、例えば、コピー制御部603は、ホスト装置103からバックアップデータの参照終了要求を受け付けた場合、リモートコピー(REC’)を停止する。つぎに、コピー制御部603は、スナップショット(P-V/P-Snap)と、スナップショット(S-V/S-Snap)を再開する。また、コピー制御部603は、リモートコピー(REC)を再開する。これにより、ボリューム(P-V)のバックアップ処理を再開することができる。そして、コピー制御部603は、ボリューム(S-V’)を削除する。 Specifically, for example, when the copy control unit 603 receives a backup data reference termination request from the host device 103, it stops remote copying (REC'). Next, the copy control unit 603 restarts the snapshot (PV/P-Snap) and the snapshot (SV/S-Snap). Further, the copy control unit 603 restarts remote copy (REC). This allows the volume (PV) backup process to be restarted. The copy control unit 603 then deletes the volume (SV').

また、コピー制御部603は、ボリューム(P-Snap’)内の新データをボリューム(P-Snap)にコピーし、ボリューム(S-Snap’)内の新データをボリューム(S-Snap)にコピーする。そして、コピー制御部603は、ボリューム(P-Snap’)およびボリューム(S-Snap’)を削除する。 The copy control unit 603 also copies new data in the volume (P-Snap') to the volume (P-Snap), and copies new data in the volume (S-Snap') to the volume (S-Snap). do. Then, the copy control unit 603 deletes the volume (P-Snap') and the volume (S-Snap').

具体的には、例えば、コピー制御部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 copy control unit 603 transfers new data in the volume (P-Snap') to the volume (P-Snap') based on the difference information between the volume (PV) and the volume (P-Snap'). -Snap). The copy control unit 603 also copies new data in the volume (S-Snap') to the volume (S-Snap) based on the difference information between the volume (SV) and the volume (S-Snap'). do. Difference information indicating the difference between the volume (SV) and the volume (S-Snap') is acquired from the storage device 102, for example.

これにより、ユーザによるバックアップデータの参照が終了したことに応じて、ストレージシステム100内のコピーセッションの状態を、バックアップデータの参照前の状態に戻すことができる。 Thereby, in response to the end of the user's reference to the backup data, the state of the copy session in the storage system 100 can be returned to the state before the reference to the backup data.

ボリューム(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 storage device 101, for example. Ru. Furthermore, in the storage device 102, for example, the copy session information 420-3 and 420-4 in the copy session table 400(S) is deleted. Furthermore, session relationship tables 500(P) and 500(S) are updated in each storage device 101 and 102, respectively.

なお、ストレージシステム100におけるバックアップデータの参照終了時の動作例については、図8A、図8Bおよび図8Cを用いて後述する。 Note that an example of the operation at the end of referencing backup data in the storage system 100 will be described later using FIGS. 8A, 8B, and 8C.

(バックアップデータを参照時の動作例)
つぎに、図7を用いて、ストレージシステム100におけるバックアップデータを参照時の動作例について説明する。
(Example of operation when referring to backup data)
Next, an example of the operation when referring to backup data in the storage system 100 will be described using FIG. 7.

図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 copy control unit 603 receives a read request for target data in the volume (S-V') from the host device 103, the copy control unit 603 stores the target data in the volume (S-Snap) based on the difference information 710. Determine whether or not there is.

差分情報710は、ボリューム(S-V)とボリューム(S-Snap)との差分を示す差分ビットマップである。具体的には、例えば、コピー制御部603は、差分情報710を参照して、対象データが記憶された該当ブロックが差分ありの場合、ボリューム(S-Snap)に対象データがあると判断する。一方、該当ブロックが差分なしの場合、コピー制御部603は、ボリューム(S-Snap)に対象データがないと判断する。 The difference information 710 is a difference bitmap indicating the difference between the volume (SV) and the volume (S-Snap). Specifically, for example, the copy control unit 603 refers to the difference information 710 and determines that the volume (S-Snap) contains the target data if the corresponding block in which the target data is stored has a difference. On the other hand, if the corresponding block has no difference, the copy control unit 603 determines that there is no target data in the volume (S-Snap).

ここで、ボリューム(S-Snap)に対象データがあると判断した場合、コピー制御部603は、ストレージ装置102内のボリューム(S-Snap)から対象データを読み出す。そして、コピー制御部603は、読み出した対象データをホスト装置103に送信する。 Here, if it is determined that the target data exists in the volume (S-Snap), the copy control unit 603 reads the target data from the volume (S-Snap) in the storage device 102. The copy control unit 603 then transmits the read target data to the host device 103.

一方、ボリューム(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 copy control unit 603 determines whether or not there is target data in the volume (P-Snap) based on the difference information 720. . The difference information 720 is a difference bitmap indicating the difference between the volume (PV) and the volume (P-Snap).

具体的には、例えば、コピー制御部603は、差分情報720を参照して、対象データが記憶された該当ブロックが差分ありの場合、ボリューム(P-Snap)に対象データがあると判断する。一方、該当ブロックが差分なしの場合、コピー制御部603は、ボリューム(P-Snap)に対象データがないと判断する。 Specifically, for example, the copy control unit 603 refers to the difference information 720 and determines that the volume (P-Snap) contains the target data if the corresponding block in which the target data is stored has a difference. On the other hand, if the corresponding block has no difference, the copy control unit 603 determines that there is no target data in the volume (P-Snap).

ここで、ボリューム(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 copy control unit 603 reads the target data from the volume (P-Snap) within the own device. On the other hand, if it is determined that there is no target data in the volume (P-Snap), the copy control unit 603 reads the target data from the volume (PV) within the own device. The copy control unit 603 then transmits the read target data to the host device 103.

これにより、バックアップデータを読み出して応答することができる。また、ストレージ装置101,102の両ストレージにあるデータについては、ストレージ装置101(プライマリストレージ)から読み出すことで、データ読み出し時の転送コストを抑えることができる。 This makes it possible to read the backup data and respond. Further, by reading data stored in both the storage devices 101 and 102 from the storage device 101 (primary storage), it is possible to suppress the transfer cost when reading data.

(バックアップデータの参照終了時の動作例)
つぎに、図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 storage system 100 will be described using FIGS. 8A, 8B, and 8C.

図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 copy control unit 603 receives a backup data reference termination request, it stops the remote copy (REC'), performs a snapshot (PV/P-Snap), and a snapshot (Snap). - V/S-Snap) and remote copy (REC).

これにより、コピー制御部603は、スナップショット(P-V/P-Snap)、スナップショット(S-V/S-Snap)およびリモートコピー(REC)を用いて、ボリューム(P-V)のバックアップ処理を再開する。そして、コピー制御部603は、ボリューム(S-V’)を削除する。 As a result, the copy control unit 603 uses snapshot (PV/P-Snap), snapshot (SV/S-Snap), and remote copy (REC) to back up the volume (PV). Resume processing. The copy control unit 603 then deletes the volume (SV').

図8Bにおいて、つぎに、コピー制御部603は、差分情報810に基づいて、ボリューム(P-Snap’)内の新データをボリューム(P-Snap)にコピーする。差分情報810は、ボリューム(P-V)とボリューム(P-Snap’)との差分を示す差分ビットマップである。具体的には、例えば、コピー制御部603は、差分情報810を参照して、差分ありのブロックのデータ(新データ)を、ボリューム(P-Snap)にコピーする。 In FIG. 8B, the copy control unit 603 then copies the new data in the volume (P-Snap') to the volume (P-Snap) based on the difference information 810. The difference information 810 is a difference bitmap indicating the difference between the volume (PV) and the volume (P-Snap'). Specifically, for example, the copy control unit 603 refers to the difference information 810 and copies the data of the block with the difference (new data) to the volume (P-Snap).

また、コピー制御部603は、ボリューム(S-Snap’)内の新データのボリューム(S-Snap)へのコピー指示を、ストレージ装置102に送信する。ストレージ装置102のノード120は、マスタノードMから当該コピー指示を受信すると、差分情報820に基づいて、ボリューム(S-Snap’)内の新データをボリューム(S-Snap)にコピーする。 The copy control unit 603 also sends an instruction to copy new data in the volume (S-Snap') to the volume (S-Snap) to the storage device 102. Upon receiving the copy instruction from the master node M, the node 120 of the storage device 102 copies the new data in the volume (S-Snap') to the volume (S-Snap) based on the difference information 820.

差分情報820は、ボリューム(S-V)とボリューム(S-Snap’)との差分を示す差分ビットマップである。具体的には、例えば、ストレージ装置102のノード120は、差分情報820を参照して、差分ありのブロックのデータ(新データ)を、ボリューム(S-Snap)にコピーする。 The difference information 820 is a difference bitmap indicating the difference between the volume (SV) and the volume (S-Snap'). Specifically, for example, the node 120 of the storage device 102 refers to the difference information 820 and copies the data of the block with the difference (new data) to the volume (S-Snap).

図8Cにおいて、コピー制御部603は、ボリューム(P-Snap’)を削除する。また、コピー制御部603は、ボリューム(S-Snap’)を削除する。具体的には、例えば、コピー制御部603は、ボリューム(S-Snap’)の削除指示を、ストレージ装置102に送信する。ストレージ装置102のノード120は、マスタノードMから当該削除指示を受信すると、ボリューム(S-Snap’)を削除する。 In FIG. 8C, the copy control unit 603 deletes the volume (P-Snap'). The copy control unit 603 also deletes the volume (S-Snap'). Specifically, for example, the copy control unit 603 transmits an instruction to delete the volume (S-Snap') to the storage device 102. Upon receiving the deletion instruction from the master node M, the node 120 of the storage device 102 deletes the volume (S-Snap').

これにより、ユーザによるバックアップデータの参照が終了したことに応じて、ストレージシステム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 storage system 100 can be returned to the state before the reference to the backup data. In the example of FIG. 8C, data of the (N+1) generation is stored in the volume (P-Snap) and volume (SV), and data of the (N) generation is stored in the volume (S-Snap).

(マスタノード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 storage device 101 will be explained. The backup process of the master node M is executed, for example, in response to a backup instruction for a volume (PV) or at specified time intervals (eg, one hour, one day, etc.). Here, it is assumed that the initial copy from the volume (PV) to the volume (SV) has been completed in the initial state.

図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 storage device 102.

ここで、ボリューム(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 storage device 102 receives a volume (S-Snap) creation instruction from the master node M, it creates the volume (S-Snap). Then, the storage device 102 creates a snapshot session from the volume (SV) to the volume (S-Snap). As a result, the copy session information 420-2 is stored in the copy session table 400(S) in the storage device 102. Furthermore, the storage device 102 notifies the master node M of the volume ID of the volume (S-Snap) and the session ID of the snapshot (SV/S-Snap).

つぎに、マスタノード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 storage device 102, copy session information 420-1 is stored in the copy session table 400(S). Furthermore, session relationship tables 500(P) and 500(S) are created in each storage device 101 and 102, respectively.

そして、マスタノード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 storage device 101 will be explained. The advance preparation process of the master node M is executed as advance preparation, for example, when referring to backup data.

図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 storage device 102 receives a volume (S-Snap') creation instruction from the master node M, it creates the volume (S-Snap').

つぎに、マスタノード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 storage device 102 receives a snapshot session creation instruction from the master node M, it creates a snapshot session from the volume (SV) to the volume (S-Snap').

そして、マスタノード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 storage device 102. When the node 120 of the storage device 102 receives the stop instruction from the master node M, it stops the snapshot (SV/S-Snap).

つぎに、マスタノード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 storage devices 101 and 102, and backup processing of the volume (PV) can be taken over.

(マスタノード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 storage device 101 will be explained.

図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 host device 103. Further, by reading data stored in both the storage devices 101 and 102 from the storage device 101 (primary storage), it is possible to suppress the transfer cost when reading data.

(マスタノードMの事後処理手順)
つぎに、ストレージ装置101内のマスタノードMの事後処理手順について説明する。
(Post-processing procedure of master node M)
Next, the post-processing procedure of the master node M in the storage device 101 will be explained.

図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 node 120 of the storage device 102 copies the volume (S-Snap') based on the difference information indicating the difference between the volume (SV) and the volume (S-Snap'). ) is copied to the volume (S-Snap).

つぎに、マスタノード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 node 120 of the storage device 102 deletes the volume (S-Snap').

これにより、ユーザによるバックアップデータの参照が終了したことに応じて、ストレージシステム100内のコピーセッションの状態を、バックアップデータの参照前の状態に戻すことができる。 Thereby, in response to the end of the user's reference to the backup data, the state of the copy session in the storage system 100 can be returned to the state before the reference to the backup data.

なお、本フローチャートによる一連の処理を実行中に、ボリューム(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 storage devices 101 and 102, and backup processing of the volume (PV) can be taken over. Therefore, the backup data stored in the storage device 102 (secondary storage) can be referenced while ensuring redundancy.

また、マスタノード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 host device 103, 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). Determine whether or not there is target data. Here, if it is determined that the target data exists in the volume (S-Snap), the master node M reads the target data from the volume (S-Snap). On the other hand, if it is determined that there is no target data in the volume (S-Snap), the master node M reads the target data from the volume (PV) or the volume (P-Snap). The master node M then transmits the read target data to the host device 103.

これにより、ストレージ装置101(プライマリストレージ)に接続されたホスト装置103からの読み出し要求に応じて、バックアップデータを読み出して応答することができる。また、ストレージ装置101,102の両ストレージにあるデータについては、ストレージ装置101から読み出すことで、データ読み出し時の転送コストを抑えることができる。 Thereby, backup data can be read and responded to in response to a read request from the host device 103 connected to the storage device 101 (primary storage). Further, by reading data stored in both the storage devices 101 and 102 from the storage device 101, it is possible to reduce the transfer cost when reading the data.

また、マスタノード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 storage system 100 can be returned to the state before the reference to the backup data.

これらのことから、実施の形態にかかるマスタノードM(ストレージ制御装置)およびストレージシステム100によれば、ストレージ装置101(プライマリストレージ)に接続されたホスト装置103から、ストレージ装置102(セカンダリストレージ)に格納されているバックアップデータを、冗長性を確保した状態で参照可能にすることができる。 For these reasons, according to the master node M (storage control device) and storage system 100 according to the embodiment, from the host device 103 connected to the storage device 101 (primary storage) to the storage device 102 (secondary storage) Stored backup data can be referenced while ensuring redundancy.

なお、本実施の形態で説明したストレージ制御方法は、予め用意されたプログラムをストレージ制御装置等のコンピュータで実行することにより実現することができる。本ストレージ制御プログラムは、ハードディスク、フレキシブルディスク、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 appendix 1, wherein the backup data is read using the primary volume, the first volume, and the second volume.

(付記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 appendix 2, characterized in that:

(付記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 Supplementary Notes 1 to 3, characterized in that:

(付記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 appendices 1 to 4, wherein the control unit receives a read request for any of the backup data from a host device connected to the first storage device. Storage controller.

(付記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 appendices 1 to 5, characterized in that:

(付記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 storage device 103 host device 110 network 120 node 121 CPU
122 Memory 123 Communication I/F
124 Bus 130 Disk 400, 400 (P), 400 (S) Copy session table 500, 500 (P), 500 (S) Session relationship table 601 Reception section 602 Backup control section 603 Copy control section 710, 720, 810, 820 Difference information M Master node

Claims (4)

プライマリボリュームと前記プライマリボリュームのスナップショットが作成される第1ボリュームとを有する第1のストレージ装置と、前記プライマリボリュームのスナップショットのデータがリモートコピーされるセカンダリボリュームと前記セカンダリボリュームのスナップショットが作成される第2ボリュームとを有する第2のストレージ装置とを含むストレージシステムのストレージ制御装置であって、
バックアップデータの参照要求を受け付けたことに応じて、前記プライマリボリュームのスナップショットが作成される第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.
前記制御部は、 The control unit includes:
前記バックアップデータの参照が終了した場合、前記第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:
プライマリボリュームと前記プライマリボリュームのスナップショットが作成される第1ボリュームとを有する第1のストレージ装置と、前記プライマリボリュームのスナップショットのデータがリモートコピーされるセカンダリボリュームと前記セカンダリボリュームのスナップショットが作成される第2ボリュームとを有する第2のストレージ装置とを含むストレージシステムのコンピュータに、 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 second storage device having a second volume;
バックアップデータの参照要求を受け付けたことに応じて、前記プライマリボリュームのスナップショットが作成される第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.
プライマリボリュームと前記プライマリボリュームのスナップショットが作成される第1ボリュームとを有する第1のストレージ装置と、 a first storage device having a primary volume and a first volume in which a snapshot of the primary volume is created;
前記プライマリボリュームのスナップショットのデータがリモートコピーされるセカンダリボリュームと前記セカンダリボリュームのスナップショットが作成される第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:
JP2019128752A 2019-07-10 2019-07-10 Storage control device, storage control program and storage system Active JP7358809B2 (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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