[go: up one dir, main page]

JP4721057B2 - Data management system, data management method, and data management program - Google Patents

Data management system, data management method, and data management program Download PDF

Info

Publication number
JP4721057B2
JP4721057B2 JP2006178813A JP2006178813A JP4721057B2 JP 4721057 B2 JP4721057 B2 JP 4721057B2 JP 2006178813 A JP2006178813 A JP 2006178813A JP 2006178813 A JP2006178813 A JP 2006178813A JP 4721057 B2 JP4721057 B2 JP 4721057B2
Authority
JP
Japan
Prior art keywords
data
volume
spare
storage subsystem
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006178813A
Other languages
Japanese (ja)
Other versions
JP2008009660A (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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2006178813A priority Critical patent/JP4721057B2/en
Publication of JP2008009660A publication Critical patent/JP2008009660A/en
Application granted granted Critical
Publication of JP4721057B2 publication Critical patent/JP4721057B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ネットワーク上に設置したストレージサブシステムを用いたデータ管理システム,データ管理方法及びデータ管理用プログラムに関し、特に、ストレージサブシステムの障害時に業務継続を得るため、複数のストレージサブシステム間でデータの多重化を実現すると共に、データ消失時にデータを修復するためストレージサブシステム内でデータをバックアップするデータ管理システム,データ管理方法及びデータ管理用プログラムに関する。   The present invention relates to a data management system, a data management method, and a data management program using a storage subsystem installed on a network, and in particular, between a plurality of storage subsystems in order to obtain business continuity when a storage subsystem fails. The present invention relates to a data management system, a data management method, and a data management program for backing up data in a storage subsystem to realize data multiplexing and to restore data when data is lost.

近年、企業の業務運用を管理する企業情報システムは、大型コンピュータにより一括管理するコンピュータシステムからクライアントサーバシステム等の分散型コンピュータシステムに移行している。また、企業情報システムは、休みなく稼動することが求められており、高い稼働率すなわち高い可用性(High Availability)が必要とされている。このため、分散型コンピュータシステムで用いられるストレージサブシステムは、プライマリユニットに障害が生じた場合の緊急回復データを保存するバックアップユニットを装備することが普通である。   In recent years, enterprise information systems that manage business operations of enterprises have shifted from computer systems that are collectively managed by large computers to distributed computer systems such as client server systems. Further, the enterprise information system is required to operate without a break, and a high operation rate, that is, high availability is required. For this reason, a storage subsystem used in a distributed computer system is usually equipped with a backup unit that stores emergency recovery data when a failure occurs in the primary unit.

しかし、障害はユニット自身の問題によるものだけではなく、ストレージサブシステムの設置場所における地震や火事等の自然災害で発生するものもあり、プライマリユニットとバックアップユニットとが近隣に設置されている場合には、両ユニットとも自然災害で損傷を受ける事になる。これに備えるための方法として、あるサイトに設置されたストレージサブシステムのボリュームに格納されるデータをその遠隔地に設置された他のストレージサブシステムへ送りボリュームのリモートコピーを実行する方法、すなわち、ホスト装置からの書込みデータをストレージサブシステム間で転送する方法が採用されている。   However, failures are not only due to problems of the unit itself, but may also occur due to natural disasters such as earthquakes or fires at the storage subsystem installation location, when the primary unit and backup unit are installed in the vicinity. Both units will be damaged by natural disasters. As a method for preparing for this, a method of performing remote copy of a volume by sending data stored in a volume of a storage subsystem installed at a certain site to another storage subsystem installed at a remote location, that is, A method of transferring write data from a host device between storage subsystems is adopted.

ストレージサブシステム間でリモートコピーを実行するためのデータ転送方法としては、同期モードとセミ同期順序保証モードと非同期モードとの3種類がある。   There are three types of data transfer methods for executing remote copy between storage subsystems: synchronous mode, semi-synchronous order guarantee mode, and asynchronous mode.

同期モードは、ローカルサイトのマスタボリュームに書き込む情報を、同期して遠隔地にあるリモートサイトの複製ボリュームへ送り、両ボリュームの同一性を保証する方式である。この方式は、上位ホスト装置からのIO(IN,OUT)命令に対応して、ローカルサイトのマスタボリュームにデータを書き込むと共に、リモートサイトの複製ボリュームにデータを書き込み、双方の書込み処理の命令完了報告が揃った時点で、上位ホスト装置に終了報告(命令完了報告)を返す仕組みとなっている。そのため、遠隔地にあるリモートサイトからの命令完了報告を毎回確認することとなり、回線距離による遅延、データを転送すべき回線の容量による遅延が在り、ストレージサブシステムのレスポンスを劣化させることが問題となる。   In the synchronous mode, information written to the master volume at the local site is synchronously sent to the replica volume at the remote site at a remote location, thereby ensuring the identity of both volumes. In this method, in response to an IO (IN, OUT) command from the host device, data is written to the master volume at the local site and data is written to the replication volume at the remote site, and the command completion report for both write processes is issued. When all of the above are completed, a completion report (command completion report) is returned to the host device. As a result, the command completion report from the remote site at a remote location will be confirmed each time, and there will be a delay due to the line distance and a delay due to the capacity of the line to which the data is to be transferred, degrading the response of the storage subsystem. Become.

このような同期モードにおける問題を改善する方式としてセミ同期順序保証モードがある。この方式は、上位ホスト装置からのIO命令に対応して、ローカルサイトのマスタボリュームにデータを書き込むのは、同期モードと同様であるが、上位ホスト装置からのIO命令をリモートサイトの複製ボリュームに送る前に、ローカルサイト内のセミ同期順序保証バッファ(以下単にバッファと称す。)に書き込み、この時点で正常終了とし、上位装置に終了報告(命令完了報告)を返す仕組みとなっている。   There is a semi-synchronous order guarantee mode as a method for improving the problem in the synchronous mode. This method is similar to the synchronous mode in that data is written to the master volume at the local site in response to an IO command from the host device, but the IO command from the host device is sent to the replication volume at the remote site. Before sending, the data is written in a semi-synchronous order guarantee buffer (hereinafter simply referred to as a buffer) in the local site. At this point, the process ends normally and an end report (command completion report) is returned to the host device.

また、このバッファは、IO命令のいくつかを、その順序を保障してまとめて1つのBOXにいれて(パッケージ化して)リモートサイトに転送する。リモートサイトでは、これらのパッケージ化されたIO命令が大量に届くことになるが、BOXに記された情報に基づいて順番に処理することで、順序性を保証する。   This buffer also transfers some of the IO instructions together in a single BOX (packaged) to the remote site, ensuring their order. At the remote site, a large amount of these packaged IO instructions arrives, but the order is guaranteed by processing in order based on the information written in the BOX.

しかし、ローカルサイトに重大な問題(ディザスタ)が発生した場合、最大でバッファの容量分だけ消失した状態となり、RPO(リカバリポイント)は若干悪くなる。さらに、別の問題として、用意されたバッファが溢れてしまうと、バッファの空き待ちが発生する。バッファ内のデータは同期モードと同じように回線の距離の遅延、データを転送すべき回線の容量による遅延に支配されているので、バッファが空くのを待つ動きは同期型と同じようになってしまう。   However, when a serious problem (disaster) occurs at the local site, the buffer capacity is lost up to the maximum, and the RPO (recovery point) becomes slightly worse. Further, as another problem, when the prepared buffer overflows, waiting for a buffer to occur is generated. Since the data in the buffer is governed by the delay of the line distance and the delay due to the capacity of the line to which the data is transferred, as in the synchronous mode, the movement to wait for the buffer to become free is the same as the synchronous type. End up.

これに対し、非同期モードは、上位ホスト装置からのIO命令に対応してローカルサイトのマスタボリュームにデータを書き込んだ時点で上位ホスト装置に終了報告(命令完了報告)を返す方式であり、このため、余計なレスポンスの遅延が無い。この方式は、データをマスタボリューム上のどこのアドレスに書き込んだかを管理する差分データテーブルにて差分情報を管理し、この差分データテーブルに基づいた差分データをリモートサイトへ転送するものである。差分データは回線の容量に応じた速度で順次送られる。   On the other hand, the asynchronous mode is a method of returning an end report (command completion report) to the host system when data is written to the master volume at the local site in response to an IO command from the host system. There is no extra response delay. In this method, difference information is managed by a difference data table that manages where the data is written on the master volume, and difference data based on the difference data table is transferred to the remote site. The difference data is sequentially sent at a speed corresponding to the capacity of the line.

しかし、非同期モードでは、データテーブル上に示される差分情報にIO命令の順番は記されていないので、差分情報が在る状態でローカルサイトに重大な問題(ディザスタ)が発生した場合、リモートサイトにある複製ボリュームのデータを用いたリカバリは保証できなくなる。   However, in the asynchronous mode, the order of the IO instructions is not written in the difference information shown on the data table, so if a serious problem (disaster) occurs in the local site in the presence of the difference information, the remote site Recovery using data from a certain replication volume cannot be guaranteed.

これを鑑みて、ローカルサイトとしての正側システムにおいて、マスタボリュームにデータが書き込まれる毎に生成される差分データの量を管理し、システムの稼働状況に応じてリモートサイトとしての副側システムへの差分データ転送頻度を制御すると共に、副側システムにて、正側システムからの更新データの最終受領時刻を記録しておくような非同期モードを用いたデータ多重化システムが、特許文献1で開示されている   In view of this, in the primary system as the local site, the amount of differential data generated each time data is written to the master volume is managed, and the secondary system as the remote site is managed according to the operating status of the system. Patent Document 1 discloses a data multiplexing system using an asynchronous mode that controls the difference data transfer frequency and records the last reception time of update data from the primary system in the secondary system. ing

特開平10‐198607号公報Japanese Patent Laid-Open No. 10-198607

しかしながら、特許文献1に示すシステムでは、問題(ディザスタ)発生に際して、正側及び副側システムの間におけるデータの一致状態を把握できるだけで、差分情報がある状態のローカルサイトに重大な問題(ディザスタ)が発生した場合、リモートサイトにある複製ボリュームのデータを用いたリカバリは保証できない。つまり、同期モード及びセミ同期順序保証モードは、ローカルサイトに重大な問題(ディザスタ)が発生した場合、リモートサイトにある複製ボリュームを用いて、直近の時点の状態までデータ復旧できるのに対して、非同期モードは、記録した時刻に遡った状態までしかデータ復旧することができないという不都合がある。   However, in the system shown in Patent Document 1, when a problem (disaster) occurs, it is possible to grasp the data matching state between the primary system and the secondary system, and a serious problem (disaster) in the local site where there is difference information. If this happens, recovery using the data of the replication volume at the remote site cannot be guaranteed. In other words, in the synchronous mode and the semi-synchronous order guarantee mode, when a serious problem (disaster) occurs at the local site, data can be recovered to the state at the most recent time using a replication volume at the remote site. Asynchronous mode has the inconvenience that data can be recovered only to a state that goes back to the recorded time.

しかし、ここで、回線の容量と言う観点で見た場合、ストレージサブシステムのデータ書き込みを統計的に見ると、ピークの値は、平均値の10倍以上である。これらの書き込みデータを通信回線を用いて転送するのに、同期モード及びセミ同期順序保証モードでは、ストレージサブシステムに要求される瞬間の速度を損なわないようにするため、ディスク性能と同等の回線設計をする必要があり、非同期モードに比べると多大な回線容量を要求することとなる。つまり、同期モード及びセミ同期順序保証モードは、非同期モードに比べて最大1桁くらい大きな容量の回線を用いた運用が必要となる。   However, when viewed from the viewpoint of the capacity of the line, when the data writing of the storage subsystem is viewed statistically, the peak value is 10 times or more of the average value. To transfer these write data using a communication line, in synchronous mode and semi-synchronous order guarantee mode, in order not to impair the instantaneous speed required for the storage subsystem, a line design equivalent to the disk performance Therefore, a large amount of line capacity is required as compared with the asynchronous mode. That is, the synchronous mode and the semi-synchronous order guarantee mode require an operation using a line having a capacity that is about one digit larger than that of the asynchronous mode.

そこで、本発明は、低容量の回線を用いた運用が可能で、かつ、従来の同期系データ転送方式を用いて複数のストレージサブシステム間でデータの多重化を実現するデータ管理システム,データ管理方法及びデータ管理用プログラムを提供することを、その目的とする。   Therefore, the present invention provides a data management system and data management that can be operated using a low-capacity line and that can multiplex data among a plurality of storage subsystems using a conventional synchronous data transfer method. It is an object of the present invention to provide a method and a data management program.

上記目的を達成するため、本発明のデータ管理システムは、上位装置からのデータ書込み命令に係るデータを書き込むためのマスタボリュームを有するメインストレージサブシステムと、このマスタボリュームの複製として予備ボリュームを有する予備ストレージサブシステムとが通信ネットワークを介して接続して成るデータ管理システムであって、
前記メインストレージサブシステムが、前記マスタボリュームに書き込むデータを前記予備ボリュームに複製するためのデータ転送処理をセミ同期順序保証モードと非同期モードで相互切り替え可能に実行する機能を備え、前記予備ストレージサブシステムが、
前記予備ボリュームの複製としての複製ボリュームと、前記メインストレージサブシステムから送り込まれるデータの転送方式を前記セミ同期順序保証モードまたは前記非同期モードのいずれか判断する書込モード制御手段と、この書込モード制御手段により前記セミ同期順序保証モードで転送されてきたと判断されデータを前記予備ボリュームへの書き込みと同期して前記複製ボリュームに書き込む同期書込制御手段と、前記書込モード制御手段により前記非同期モードで転送されてきたと判断されデータを前記予備ボリュームへの書き込みと非同期で前記複製ボリュームに書き込む更新データ書込手段とを備え、前記書込モード制御手段は、前記メインストレージサブシステムから非同期モードで転送されてきたデータが書き込まれる予備ボリューム内のアドレスを予め装備された更新データテーブルに記録する機能を備え、前記更新データ書込手段は、前記更新データテーブルに記録されたアドレスに基づいて前記予備ボリュームから更新データを読み出して前記複製ボリュームに書き込むことを特徴とする。
In order to achieve the above object, a data management system of the present invention includes a main storage subsystem having a master volume for writing data related to a data write command from a host device, and a spare having a spare volume as a copy of the master volume. A data management system comprising a storage subsystem connected via a communication network,
The main storage subsystem has a function of executing data transfer processing for copying data to be written to the master volume to the spare volume so as to be interchangeable between a semi-synchronous order guarantee mode and an asynchronous mode, and the spare storage subsystem But,
A copy volume as a copy of the spare volume, a write mode control means for determining a transfer method of data sent from the main storage subsystem, either the semi-synchronous order guarantee mode or the asynchronous mode, and the write mode Synchronous write control means for writing the data determined to have been transferred in the semi-synchronous order guarantee mode by the control means to the duplicate volume in synchronization with the write to the spare volume, and the asynchronous by the write mode control means Update data writing means for asynchronously writing the data determined to have been transferred in the mode to the spare volume and writing to the replica volume, and the write mode control means receives the asynchronous mode from the main storage subsystem. The data transferred in is written A function of recording an address in the spare volume in a pre-installed update data table, and the update data writing means reads the update data from the spare volume based on the address recorded in the update data table, and It is characterized by writing in a replica volume .

このようなデータ管理システムによれば、上位装置からのデータ書込み命令によって書き込まれるデータを多重化する際のメインストレージサブシステムと予備ストレージサブシステム間の情報転送を、セミ同期順序保証モードと非同期モードとで切り換えて実行することができる。   According to such a data management system, information transfer between the main storage subsystem and the spare storage subsystem when multiplexing data written by a data write command from the host device is performed in a semi-synchronous order guarantee mode and an asynchronous mode. And can be executed by switching.

のようにすると、予備ボリュームを複製ボリュームにバックアップすることができる。 If you like this, it is possible to back up a spare volume in the replication volume.

このようにすると、予備ボリュームを同期して複製ボリュームにバックアップすることができ、予備ボリュームに問題が発生した場合でも、複製ボリュームを用いて復旧することができる。   In this way, the backup volume can be synchronized and backed up to the replication volume, and even if a problem occurs in the backup volume, it can be recovered using the replication volume.

このようにすると、予備ボリュームと複製ボリュームとの間で非同期にデータ複製を行うことができ、マスタボリュームと予備ボリューム間が非同期モードでの転送である状態で、マスタボリュームに障害が発生した場合に、予備ボリュームを用いたリカバリは保証できないが、予備ボリュームと切り離されている複製ボリュームがリカバリを保証することができる。 In this way, it is possible to perform data replication asynchronously between the preliminary volume and copy volume, while a transfer between the master volume and the backup volume in asynchronous mode, if a failure occurs in the master volume Although recovery using a spare volume cannot be guaranteed, a duplicate volume separated from the spare volume can guarantee recovery.

このようにすると、メインストレージサブシステと予備ストレージサブシステム間のデータ転送方式が非同期モードに移行したことを契機に、予備ボリュームと複製ボリュームとの間の同期書込みを中止することができる。   In this way, synchronous writing between the spare volume and the replica volume can be stopped when the data transfer method between the main storage subsystem and the spare storage subsystem has shifted to the asynchronous mode.

次に、本発明のデータ管理方法は、上位装置からのデータ書込み命令に係るデータを書き込むためのマスタボリュームを有するメインストレージサブシステムと、このマスタボリュームの複製として予備ボリュームを有する予備ストレージサブシステムとが通信ネットワークを介して接続し、前記メインストレージサブシステムが、前記マスタボリュームに書き込むデータを前記予備ボリュームに複製するためのデータ転送処理をセミ同期順序保証モードと非同期モードで相互切り替え可能に実行する機能を備えたデータ管理システムにあって、前記メインストレージサブシステムから転送されたデータを受信した前記予備ストレージサブシステムがそのデータの転送方式を前記セミ同期順序保証モードまたは前記非同期モードのいずれか判断し、前記セミ同期順序保証モードと判断した場合、その転送されたデータを前記予備ボリュームへの書き込みに同期して予め装備された複製ボリュームに書き込み、前記非同期モードと判断した場合、その転送されたデータを前記予備ボリュームに書き込み、当該データが書き込まれる当該予備ボリューム内のアドレスを更新データテーブルに記録し、この更新データテーブルに記されたアドレスに基づいて前記予備ボリュームから更新データを読み出して前記複製ボリュームに書き込むことを特徴とする。 Next, the data management method of the present invention includes a main storage subsystem having a master volume for writing data related to a data write command from a host device, and a spare storage subsystem having a spare volume as a copy of the master volume. Are connected via a communication network, and the main storage subsystem executes data transfer processing for replicating data to be written to the master volume to the spare volume in a semi-synchronous order guarantee mode and an asynchronous mode so that they can be switched to each other In the data management system having a function, the spare storage subsystem that has received the data transferred from the main storage subsystem determines whether the data transfer method is the semi-synchronous order guarantee mode or the asynchronous mode. And, wherein when it is determined that the semi-synchronous order assurance mode, included can write to the transfer duplication volume data equipped in advance in synchronism with the writing to the pre volume, when it is determined that the asynchronous mode, the transfer The recorded data is written into the spare volume, the address in the spare volume to which the data is written is recorded in the update data table, and the update data is read from the spare volume based on the address written in the update data table. It writes to the said replication volume, It is characterized by the above-mentioned .

このようなデータ管理方法によれば、メインストレージサブシステムと予備ストレージサブシステム間で、上位装置のデータ書込み命令の発行密度の増減に応じてセミ同期順序保証モードによる情報転送と低容量回線向きの非同期モードによる情報転送とを切り替えて実行しデータの多重化を実現することができる。   According to such a data management method, the information transfer in the semi-synchronous order guarantee mode and the low-capacity line direction are performed between the main storage subsystem and the spare storage subsystem according to the increase / decrease in the data write command issue density of the host device. Multiplexing of data can be realized by switching and executing information transfer in the asynchronous mode.

のようにすると、予備ボリュームに書き込まれるデータを同期して複製ボリュームにバックアップすることができる。 If you like this, it is possible to back up the copy volume to synchronize the data to be written to the spare volume.

このようにすると、予備ボリュームに書き込まれるデータを非同期で複製ボリュームにバックアップすることができ、マスタボリュームと予備ボリューム間が非同期モードでの転送である状態で、マスタボリュームに障害が発生した場合に、予備ボリュームを用いたリカバリは保証できないが、予備ボリュームと切り離されている複製ボリュームがリカバリを保証することができる。 In this way, it is possible to back up the copy volume of data to be written to a spare volume asynchronously, while a transfer between the master volume and the backup volume in asynchronous mode, if a failure occurs in the master volume, Although recovery using a spare volume cannot be guaranteed, a duplicate volume separated from the spare volume can guarantee recovery.

次に、本発明のデータ管理用プログラムは、 上位装置からのデータ書込み命令に係るデータを書き込むためのマスタボリュームを有するメインストレージサブシステムと、このマスタボリュームの複製として予備ボリュームを有する予備ストレージサブシステムとが通信ネットワークを介して接続し、前記メインストレージサブシステムが、前記マスタボリュームに書き込むデータを前記予備ボリュームに複製するためのデータ転送処理をセミ同期順序保証モードと非同期モードで相互切り替え可能に実行する機能を備えたデータ管理システムにおける前記予備ストレージサブシステムにあって、前記メインストレージサブシステムから転送されたデータの転送方式を前記セミ同期順序保証モード又は前記非同期モードのいずれか判断する処理,前記セミ同期順序保証モードで転送されてきたデータを前記予備ボリュームへの書き込に同期して当該予備ボリュームの複製としての複製ボリュームに書き込む同期書込処理,前記非同期モードで転送されてきたデータが書き込まれる当該予備ボリューム内のアドレスを更新データテーブルに記録する処理,及び、前記更新データテーブルに記されたアドレスに基づいて前記予備ボリュームから更新データを読み出して前記複製ボリュームに書き込む非同期書込処理,をコンピュータに実行させることを特徴とする。 Next, the data management program of the present invention includes a main storage subsystem having a master volume for writing data related to a data write command from a host device, and a spare storage subsystem having a spare volume as a copy of the master volume. Are connected via a communication network, and the main storage subsystem executes data transfer processing for replicating data to be written to the master volume to the spare volume in a semi-synchronous order guarantee mode and an asynchronous mode. In the spare storage subsystem in the data management system having the function to perform the processing, the process for determining the transfer method of the data transferred from the main storage subsystem, either the semi-synchronous order guarantee mode or the asynchronous mode Sense, the semi-synchronous synchronization writing process to write the copy volume of the write synchronization with write only as a replication of the preliminary volume of data transferred by the order assurance mode to the emergency volume, have been transferred in the asynchronous mode A process of recording the address in the spare volume to which the written data is written in the update data table, and an asynchronous write that reads the update data from the spare volume and writes it in the replica volume based on the address recorded in the update data table It is characterized by causing a computer to execute a loading process.

このようなデータ管理用プログラムによれば、上記のデータ管理システム及びデータ管理方法と同様に、予備ボリュームに書き込まれるデータを同期して複製ボリュームにバックアップし、メインストレージサブシステと予備ストレージサブシステム間のデータ転送方式が非同期モードに移行したことを契機に、予備ボリュームと複製ボリューム間の同期書き込みを中止することができる。   According to such a data management program, similarly to the data management system and the data management method described above, the data written to the spare volume is synchronized and backed up to the duplicate volume, and the main storage subsystem and the spare storage subsystem are When the data transfer method shifts to the asynchronous mode, synchronous writing between the spare volume and the replica volume can be stopped.

本発明は以上のように構成され機能するため、これにより、マスターボリュームと予備ボリューム間のリモートコピーを非同期モードで実行中にマスタボリュームで障害が発生しても、予備ボリュームと切り離されている複製ボリュームがリカバリを保証することができる。 Since the present invention is configured and functions as described above, even if a failure occurs in the master volume during the remote copy between the master volume and the spare volume in the asynchronous mode, the replication separated from the spare volume is possible. The volume can guarantee recovery.

以下、本発明における一実施形態を、図面を参照して説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

図1は、本実施形態のデータ管理システムにおけるメインストレージサブシステムの構成を示すブロック図である。この図1に示すように、本実施形態のデータ管理システムは、メインストレージサブシステム2と予備ストレージサブシステム3とが通信ネットワークを介して接続するように構成されている。   FIG. 1 is a block diagram showing the configuration of the main storage subsystem in the data management system of this embodiment. As shown in FIG. 1, the data management system according to this embodiment is configured such that a main storage subsystem 2 and a backup storage subsystem 3 are connected via a communication network.

メインストレージサブシステム2は、上位装置1からのデータ書き込みを示すwriteIO(IN,OUT)命令に基づいてデータを書き込むためのマスタボリューム21と、上位装置1からのwriteIO命令を格納するバッファ22と、上位装置1からのwriteIO命令に付随するデータの書き込みによってマスタボリューム21のどの部分のアドレスが更新されたかを示すデータテーブル23と、writeIO命令に示される通りにデータテーブル23を更新するデータテーブル更新手段24と、データテーブル23に基づいてマスタボリューム21から差分データを読み出す差分データ読出手段25とを備えて構成されている。   The main storage subsystem 2 includes a master volume 21 for writing data based on a writeIO (IN, OUT) command indicating data write from the host device 1, a buffer 22 for storing a writeIO command from the host device 1, A data table 23 indicating which part of the address of the master volume 21 has been updated by writing data accompanying the writeIO command from the host device 1, and data table updating means for updating the data table 23 as indicated by the writeIO command 24 and difference data reading means 25 for reading difference data from the master volume 21 based on the data table 23.

そして、更に、メインストレージサブシステム2は、バッファ22に格納されたwriteIO命令をこの順序を保障して予備ストレージサブシステム3へ転送する機能と差分データ読出手段25が読み出した差分データを予備ストレージサブシステム3へ転送する機能とを有する送出部26と、writeIO命令の発行密度を監視してこの発行密度に応じて送出部26の機能を制御する転送モード制御手段27とを備えると共に、上位装置1に対してデータの書き込みが正常に終了したことを示す命令完了報告を送信する完了報告手段28を備えて構成されている。   Further, the main storage subsystem 2 further ensures that the write IO instruction stored in the buffer 22 is transferred to the spare storage subsystem 3 while ensuring this order, and the difference data read by the difference data reading means 25 is stored in the spare storage subsystem. A sending unit 26 having a function of transferring to the system 3 and a transfer mode control means 27 for monitoring the issue density of the writeIO command and controlling the function of the sending unit 26 according to the issue density, and the host device 1 Is provided with completion report means 28 for transmitting a command completion report indicating that data writing has been normally completed.

バッファ22は、図2に示すように、上位装置1が発行したwriteIO命令を複数格納し、このIO命令の順序を保証してパッケージ化しており、このパッケージ化されたIO命令を予備ストレージサブシステム3に転送するために送出部26に出力する機能を有している。データテーブル更新手段24は、上位装置1からのwriteIO命令に示されている情報に従ってデータテーブル23を更新する機能を有している。   As shown in FIG. 2, the buffer 22 stores a plurality of write IO instructions issued by the host device 1, packages the IO instructions in a guaranteed order, and the packaged IO instructions are stored in the spare storage subsystem. 3 has a function of outputting to the sending unit 26 for transfer. The data table update unit 24 has a function of updating the data table 23 in accordance with information indicated in the write IO command from the higher-level device 1.

また、複数のwriteIO命令をこの順序を保証して格納するバッファ22と、バッファ22に格納されたwriteIO命令をこの順序を保証して予備ストレージサブシステムへ転送する送出部26と、マスタボリュームに対するデータ書き込みの完了とバッファへのデータ書込み命令格納の完了をもって命令完了報告を上位装置へ送信する機能を有した完了報告手段28とによりセミ同期順序保証モードでの情報転送を実行するセミ同期モード実行部2aが構成されている。   Also, a buffer 22 that stores a plurality of writeIO instructions with this order guaranteed, a sending unit 26 that transfers the writeIO instructions stored in the buffer 22 to the spare storage subsystem with this order guaranteed, and data for the master volume Semi-synchronous mode execution unit for executing information transfer in the semi-synchronous order guarantee mode by means of completion report means 28 having a function of transmitting an instruction completion report to the host device upon completion of writing and storing of data writing instruction to the buffer 2a is configured.

また更に、writeIO命令に付随するデータの書き込みによってマスタボリューム21のどの部分のアドレスが更新されたかを示すデータテーブル23と、writeIO命令に示されている通りにデータテーブル23を更新するデータテーブル更新手段24と、データテーブル23に示されているアドレスに格納されている差分データをマスタボリューム21から読み出す差分データ読出手段25と、マスタボリューム21に対するデータの書き込み完了をもって命令完了報告を上位装置へ送信する機能を有した完了報告手段28と、差分データを予備ストレージサブシステム3へ転送する送出部26とにより非同期モードでの情報転送を実行する非同期モード実行部2bが構成されている。   Still further, a data table 23 indicating which part of the address of the master volume 21 has been updated by writing data accompanying the writeIO command, and data table updating means for updating the data table 23 as indicated by the writeIO command. 24, the differential data reading means 25 for reading the differential data stored in the address shown in the data table 23 from the master volume 21, and the completion of writing the data to the master volume 21 are transmitted to the host device. The completion report means 28 having a function and the sending unit 26 for transferring the difference data to the backup storage subsystem 3 constitute an asynchronous mode execution unit 2b for executing information transfer in the asynchronous mode.

転送モード制御手段27は、セミ同期モード実行部2aと非同期モード実行部2bとを切り替えて動作させるように制御する機能を有しており、この機能は、上位装置1によるIO命令の発行密度が一定値を超えて増大するタイミングで、非同期モード実行部2bを動作させる。具体的には、バッファ22へのwriteIO命令の格納を中止させ、バッファ22へのwriteIO命令の格納が中止されている間に受信したwriteIO命令に示されている通りにデータテーブル23を更新させるようにデータテーブル更新手段24を制御し、更新されたデータテーブル23に示されているアドレスに格納されている差分データをマスタボリューム21から読み出し差分データ読出手段25を制御し、この差分データを予備ストレージサブシステム3へ転送させるように送出部26を制御する。   The transfer mode control means 27 has a function of controlling the semi-synchronous mode execution unit 2a and the asynchronous mode execution unit 2b to operate by switching, and this function is based on the issue density of IO instructions by the host device 1 The asynchronous mode execution unit 2b is operated at a timing that increases beyond a certain value. Specifically, the storage of the writeIO instruction in the buffer 22 is stopped, and the data table 23 is updated as indicated by the writeIO instruction received while the storage of the writeIO instruction in the buffer 22 is stopped. The data table updating unit 24 is controlled, the difference data stored at the address shown in the updated data table 23 is read from the master volume 21, the difference data reading unit 25 is controlled, and the difference data is stored in the spare storage. The sending unit 26 is controlled so as to be transferred to the subsystem 3.

更に、上位装置1によるIO命令の発行密度が一定値より低下するタイミングで、セミ同期モード実行部2aを動作させる。具体的には、バッファ22へのwriteIO命令の格納を開始させ、バッファ22に格納されたwriteIO命令をこの順序を保証して予備ストレージサブシステム3へ転送するように送出部26を制御し、マスタボリュームに対するデータ書き込みの完了とバッファへのデータ書込み命令格納の完了をもって命令完了報告を上位装置へ送信するように完了報告手段28を制御する。   Furthermore, the semi-synchronous mode execution unit 2a is operated at a timing when the issuance density of the IO commands by the higher-level device 1 falls below a certain value. Specifically, storage of the write IO instruction in the buffer 22 is started, and the sending unit 26 is controlled so as to transfer the write IO instruction stored in the buffer 22 to the spare storage subsystem 3 while guaranteeing this order. The completion report means 28 is controlled to transmit an instruction completion report to the host device upon completion of data writing to the volume and completion of data write instruction storage in the buffer.

すなわち、転送モード制御手段27は、writeIO命令をバッファ22に格納しこの格納されたwriteIO命令をこの順序を保障して予備ストレージサブシステム3へ転送するセミ同期順序保証モードでシステムを運用するか、マスタボリューム21のどの部分のアドレスが更新されたかを示すデータテーブル23を、マスタボリュームへのデータ書き込みに応じて更新しこのデータテーブル23に基づいてマスタボリューム21から読み出される差分データを予備ストレージサブシステム3へ転送する非同期モードで運用するかを管理する機能を有している。   That is, the transfer mode control means 27 stores the writeIO instruction in the buffer 22 and operates the system in the semi-synchronous order guarantee mode in which the stored writeIO instruction is transferred to the spare storage subsystem 3 while ensuring the order. The data table 23 indicating which part of the address of the master volume 21 has been updated is updated in accordance with the data writing to the master volume, and the differential data read from the master volume 21 based on this data table 23 is stored in the spare storage subsystem. 3 has a function of managing whether to operate in an asynchronous mode.

また、転送モード制御手段27は、上位装置1によるIO命令の発行密度が一定値より低下するタイミングで、セミ同期順序保証モードでのシステム運用に切り替えるが、その後においても、切り替え前に特定した差分データを転送することで、非同期モードとセミ同期順序保証モードとを共存させる機能を有している。さらに、この差分データが「0」になると、非同期モードを終了させ、セミ同期順序保証モードのみの運用に移行する機能を有している。   Also, the transfer mode control means 27 switches to the system operation in the semi-synchronous order guarantee mode at the timing when the IO command issue density by the host device 1 falls below a certain value. By transferring data, it has a function of allowing the asynchronous mode and the semi-synchronous order guarantee mode to coexist. Furthermore, when the difference data becomes “0”, the asynchronous mode is terminated and the operation is shifted to the operation only in the semi-synchronous order guarantee mode.

ここで、転送モード制御手段27がセミ同期順序保証モードか非同期モードかを決定する基準であるIO命令の発行密度の一定値とは、予め設定した閾値や、バッファ22に格納されるIO命令がバッファ22の記憶容量を超えるような値などが考えられる。   Here, the fixed value of the IO instruction issue density, which is a reference for determining whether the transfer mode control means 27 is in the semi-synchronous order guarantee mode or the asynchronous mode, is a preset threshold value or an IO instruction stored in the buffer 22. A value that exceeds the storage capacity of the buffer 22 can be considered.

完了報告手段28は、転送モード制御手段27によってセミ同期順序保証モードでのシステム運用を行っている場合に、マスタボリューム21に対するデータの書き込み完了と、バッファ22へのIO命令格納完了をもって、命令完了報告を上位装置1へ送信する機能と、非同期モードでのシステム運用を行っている場合に、マスタボリューム21に対するデータの書き込み完了で命令完了報告を送信する機能とを有している。   Completion reporting means 28 completes the instruction upon completion of data writing to the master volume 21 and completion of storing the IO instruction in the buffer 22 when the transfer mode control means 27 is operating in the semi-synchronous order guarantee mode. It has a function of transmitting a report to the host device 1 and a function of transmitting an instruction completion report upon completion of data writing to the master volume 21 when system operation is performed in the asynchronous mode.

図3は、図1に示す実施形態のデータ管理システムにおける予備ストレージサブシステムの構成を示すブロック図である。   FIG. 3 is a block diagram showing the configuration of the spare storage subsystem in the data management system of the embodiment shown in FIG.

図3に示すように、予備ストレージサブシステム3は、メインストレージサブシステム2におけるマスタボリューム21の複製として予備ボリューム31と、この予備ボリューム31の複製である複製ボリューム32とを備え、メインストレージサブシステム2から転送されるwriteIO命令に基づいて予備ボリューム31に書き込まれるデータを同期して複製ボリューム32に書き込む同期書込制御手段33を備えて構成されている。   As shown in FIG. 3, the backup storage subsystem 3 includes a backup volume 31 as a copy of the master volume 21 in the main storage subsystem 2 and a copy volume 32 that is a copy of the backup volume 31, and the main storage subsystem. 2 is provided with synchronous write control means 33 for synchronously writing the data written in the spare volume 31 to the duplicate volume 32 based on the writeIO command transferred from the second.

さらに、予備ストレージサブシステム3は、メインストレージサブシステム2からの差分データを受信すると同期書込制御手段33を停止させて、予備ボリューム31のみに差分データを書き込み、writeIO命令を受信すると同期書込制御手段33を作動させる書込モード制御手段34と、差分データ書き込みにより予備ボリューム31のどの部分のアドレスが更新されたかを示す更新データテーブル35と、この更新データテーブル35に基づいて複製ボリューム32に未反映の更新データを予備ボリューム31から読み出し複製ボリューム32に書き込む更新データ書込手段36とを備えて構成されている。   Further, the spare storage subsystem 3 stops the synchronous write control means 33 when receiving the differential data from the main storage subsystem 2, writes the differential data only to the spare volume 31, and synchronously writes when the write IO command is received. Write mode control means 34 for operating the control means 33, an update data table 35 indicating which part of the spare volume 31 has been updated by differential data writing, and a copy volume 32 based on the update data table 35 Update data writing means 36 for reading unreflected update data from the backup volume 31 and writing it in the duplicate volume 32 is provided.

予備ボリューム31は、セミ同期順序保証モードによって転送されるパッケージ化されたIO命令に従って順にデータを書き込むためのボリュームか、または、非同期モードによって転送される差分データを書き込むためのボリュームである。   The spare volume 31 is a volume for sequentially writing data in accordance with a packaged IO command transferred in the semi-synchronous order guarantee mode, or a volume for writing differential data transferred in the asynchronous mode.

書込モード制御手段34は、メインストレージサブシステム2と予備ストレージサブシステム3間の転送方式を監視しており、この転送方式が非同期モードに移行することを契機に、予備ボリューム31と複製ボリューム32間で行われていた同期書き込みを停止させる機能と、それ以降に転送されるwriteIO命令を更新データテーブル35に反映させる機能と、この更新データテーブル35に基づいて更新データ書込手段36を作動させる機能とを有している。また、セミ同期順序保証モードに移行することを契機に、予備ボリューム31と複製ボリューム32間で同期書き込みを開始させる機能を有している。   The write mode control means 34 monitors the transfer method between the main storage subsystem 2 and the spare storage subsystem 3, and the spare volume 31 and the duplicate volume 32 are triggered when this transfer method shifts to the asynchronous mode. A function of stopping synchronous writing performed between the update data table 35, a function of reflecting a writeIO instruction transferred thereafter in the update data table 35, and operating the update data writing means 36 based on the update data table 35. It has a function. In addition, it has a function of starting synchronous writing between the spare volume 31 and the replica volume 32 in response to the transition to the semi-synchronous order guarantee mode.

すなわち、書込モード制御手段34は、メインストレージサブシステム2と予備ストレージサブシステム3間の転送方式が非同期モードに移行すると、予備ボリューム31と複製ボリューム32間のコピーを非同期に実行させ、セミ同期順序保証モードに移行すると、同期のコピーを実行させるように制御する機能を有している。   That is, when the transfer method between the main storage subsystem 2 and the spare storage subsystem 3 shifts to the asynchronous mode, the write mode control means 34 executes the copy between the spare volume 31 and the duplicate volume 32 asynchronously, and performs semi-synchronization. When the mode is shifted to the order guarantee mode, it has a function of controlling to execute synchronous copying.

また、書込モード制御手段34は、メインストレージサブシステム2と予備ストレージサブシステム3間の転送方式がセミ同期順序保証モードに切り替わった後においても、切り替え前に特定した更新データを複製ボリューム32に書き込むことで、非同期と同期とのコピーを共存させる機能を有している。更に、更新データ書込手段36が更新データを複製ボリューム32に書き込むことによって更新データが「0」になると、非同期のコピーを終了させ、同期のみのコピーに移行する機能を有している。   The write mode control means 34 also transfers the update data specified before the switching to the replication volume 32 even after the transfer method between the main storage subsystem 2 and the spare storage subsystem 3 is switched to the semi-synchronous order guarantee mode. By writing, it has a function of coexisting asynchronous and synchronous copies. Furthermore, when the update data writing means 36 writes the update data to the replication volume 32 and the update data becomes “0”, the asynchronous data copy is terminated and a function of shifting to a synchronous only copy is provided.

次に、本実施形態のデータ管理システムにおける全体の動作を説明する。ここで、本発明にかかるデータ管理方法についても、同時に説明する。   Next, the overall operation in the data management system of this embodiment will be described. Here, the data management method according to the present invention will also be described.

図4は、図1及び図3に示す実施形態のデータ管理システムにおける動作の概略を示す図である。   FIG. 4 is a diagram showing an outline of operations in the data management system of the embodiment shown in FIGS. 1 and 3.

メインストレージサブシステム2と予備ストレージサブシステム3間において、セミ同期順序保証モードでの情報転送が実行されており、マスタボリューム21と予備ボリューム31は若干のずれを伴っているがメインストレージサブシステム2に重大な問題(ディザスタ)が発生した場合でも、予備ストレージサブシステム3の予備ボリューム31に復旧可能なデータが格納されている。このとき、予備ボリューム31と複製ボリューム32との間では、同期書き込みが運用されており、複製ボリューム32にも同様に復旧可能なデータが格納されている。   Information transfer in the semi-synchronous order guarantee mode is executed between the main storage subsystem 2 and the spare storage subsystem 3, and the master volume 21 and the spare volume 31 are slightly shifted, but the main storage subsystem 2 Even when a serious problem (disaster) occurs, recoverable data is stored in the spare volume 31 of the spare storage subsystem 3. At this time, synchronous writing is operated between the spare volume 31 and the replica volume 32, and similarly recoverable data is stored in the replica volume 32.

この状態で、上位装置からのwriteIO命令の発行密度が大きくなり一定値を超えた場合、メインストレージサブシステム2と予備ストレージサブシステム3間での転送方式は非同期モードに切り替えられる。この切り替えを契機に、予備ストレージサブシステム3の予備ボリューム31と複製ボリューム32との間における同期書き込みが停止される。これ以降は、非同期モードでの転送であるため、予備ボリューム31は、マスタボリューム21を復旧することはできないが、直前に切り離された複製ボリューム32が復旧可能なボリュームとして確保されている。   In this state, when the issue density of writeIO instructions from the host device increases and exceeds a certain value, the transfer method between the main storage subsystem 2 and the spare storage subsystem 3 is switched to the asynchronous mode. In response to this switching, synchronous writing between the spare volume 31 and the replica volume 32 of the spare storage subsystem 3 is stopped. Thereafter, since the transfer is performed in the asynchronous mode, the spare volume 31 cannot recover the master volume 21, but the replication volume 32 separated immediately before is secured as a recoverable volume.

次に、上位装置からのwriteIO命令の発行密度が小さくなり一定値より下がると、メインストレージサブシステム2と予備ストレージサブシステム3間での転送方式はセミ同期順序保証モードに切り替えられる。このときは、非同期モードとセミ同期順序保証モードが共存している状態である。   Next, when the issue density of the write IO command from the host device decreases and falls below a certain value, the transfer method between the main storage subsystem 2 and the spare storage subsystem 3 is switched to the semi-synchronous order guarantee mode. At this time, the asynchronous mode and the semi-synchronous order guarantee mode coexist.

また、これ以降は、差分データが増えることは無く、一定時間後すべての差分データが転送されることで、非同期モードでの転送は終了する。   After that, the difference data does not increase, and all the difference data is transferred after a certain time, whereby the transfer in the asynchronous mode is completed.

この時点で、マスタボリューム21と予備ボリューム31は、通常と同じように若干のずれを伴っているがメインストレージサブシステム2に重大な問題(ディザスタ)が発生した場合でも、予備ボリューム31に復旧可能なデータが格納されている。   At this point, the master volume 21 and the spare volume 31 are slightly different as usual, but can be restored to the spare volume 31 even if a serious problem (disaster) occurs in the main storage subsystem 2. Data is stored.

次に、予備ボリューム31と複製ボリューム32間では、非同期状態から同期の状態に戻るため、まずメインストレージサブシステム2からのwriteIO命令に従ってデータを同期で書き込むと共に、非同期状態の間に転送された差分データは、更新データテーブル35にしたがって非同期で書き込まれる。   Next, in order to return from the asynchronous state to the synchronous state between the spare volume 31 and the replica volume 32, first, the data is written synchronously according to the writeIO command from the main storage subsystem 2, and the difference transferred during the asynchronous state Data is written asynchronously according to the update data table 35.

予備ボリューム31と複製ボリューム32の差分がある間は、複製ボリューム32はマスタボリューム21を復旧できないボリュームであるが、予備ボリューム31が復旧可能なボリュームとなるため問題はない。   While there is a difference between the spare volume 31 and the duplicate volume 32, the duplicate volume 32 is a volume that cannot recover the master volume 21, but there is no problem because the spare volume 31 becomes a recoverable volume.

図5は、図1及び図3に示す実施形態のデータ管理システムにおける全体動作を示すシーケンス図である。   FIG. 5 is a sequence diagram showing an overall operation in the data management system of the embodiment shown in FIGS. 1 and 3.

まず、上位装置1からメインストレージサブシステム2へwriteIO命令が送信される(図5:ステップs100)。   First, a write IO command is transmitted from the host device 1 to the main storage subsystem 2 (FIG. 5: step s100).

続いて、メインストレージサブシステム2では、上位装置1からのwriteIO命令に基づいてこの命令に付随するデータがマスタボリューム21に格納される(図5:ステップs101,データ書込工程)。そして、転送モード制御手段27によって、writeIO命令の発行密度が一定値を超えていたか否かが判定される(図5:ステップs102,判定工程)。writeIO命令の発行密度が一定値を超えていないと判定された場合、writeIO命令がバッファ22に格納され、完了報告手段28によって、マスタボリューム21に対するデータの書き込み完了とバッファ22へのIO命令格納完了とをもって命令完了報告を上位装置1へ送信し、バッファ22に格納されたwriteIO命令がこの順序を保障された状態で予備ストレージサブシステム3へ転送される(図5:ステップs103,ステップs104,ステップs105,セミ同期転送工程)。   Subsequently, in the main storage subsystem 2, the data accompanying this command is stored in the master volume 21 based on the write IO command from the host device 1 (FIG. 5: step s101, data writing step). Then, it is determined by the transfer mode control means 27 whether or not the write density of writeIO instructions has exceeded a certain value (FIG. 5: step s102, determination step). When it is determined that the issue density of the writeIO instruction does not exceed a certain value, the writeIO instruction is stored in the buffer 22, and the completion report means 28 completes the writing of data to the master volume 21 and the completion of storing the IO instruction in the buffer 22. The command completion report is transmitted to the upper level device 1 and the writeIO command stored in the buffer 22 is transferred to the spare storage subsystem 3 in a state in which this order is guaranteed (FIG. 5: Step s103, Step s104, Step s105, semi-synchronous transfer step).

この後、上位装置1から送信されるIO命令の発行密度が一定値を超えたと判定された場合は、バッファ22へのwriteIO命令の格納が中止され、この時点でバッファ22に格納されているwriteIO命令が予備ストレージサブシステム3へ転送されることとなる。   Thereafter, when it is determined that the issue density of the IO instructions transmitted from the host device 1 exceeds a certain value, the storage of the write IO instructions in the buffer 22 is stopped, and the write IO stored in the buffer 22 at this time is stopped. The instruction is transferred to the spare storage subsystem 3.

ここで、上述したデータ書込工程についてはその内容をプログラム化しコンピュータにデータ書込処理として実行させるように構成してもよい。また、上述したセミ同期転送工程についてもその内容をプログラム化しコンピュータにセミ同期転送処理として実行させるように構成してもよい。   Here, the contents of the above-described data writing process may be programmed and executed by the computer as a data writing process. Further, the content of the above-described semi-synchronous transfer process may be programmed and executed by the computer as a semi-synchronous transfer process.

一方で、上位装置1によるIO命令の発行密度が一定値を超えたと判定された場合は、完了報告手段28によって、マスタボリューム21に対するデータの書き込み完了で命令完了報告を送信し、マスタボリューム21のどの部分のアドレスが更新されたかを示すデータテーブル23が、バッファ22へのwriteIO命令の格納が中止されている間のwriteIO命令に従って更新され、このデータテーブル23に基づいてマスタボリューム21から差分データが読み出され、この差分データが予備ストレージサブシステム3へ転送される(図5:ステップs106,ステップs107,ステップs108,ステップs109,非同期転送工程)。   On the other hand, if it is determined that the IO command issue density by the host device 1 has exceeded a certain value, the completion report means 28 sends a command completion report upon completion of data writing to the master volume 21, and The data table 23 indicating which part of the address has been updated is updated according to the write IO instruction while the write IO instruction is being stored in the buffer 22, and the difference data is transferred from the master volume 21 based on the data table 23. The difference data is read out and transferred to the spare storage subsystem 3 (FIG. 5: step s106, step s107, step s108, step s109, asynchronous transfer step).

この後、上位装置からのwriteIO命令の発行密度が一定値を下回るようになり、メインストレージサブシステム2のデータテーブル23で示される差分データが一定値より下がった場合は、差分データの読出しが中止され、この時点で特定されている差分データが予備ストレージサブシステム3へ転送されることとなる。これ以降は、差分データが増えることは無く、一定時間後すべての差分データが転送される。   Thereafter, when the write density of writeIO instructions from the host device falls below a certain value, and the difference data shown in the data table 23 of the main storage subsystem 2 falls below the certain value, reading of the difference data is stopped. Thus, the differential data specified at this point is transferred to the spare storage subsystem 3. Thereafter, the difference data does not increase, and all the difference data is transferred after a certain time.

ここで、上述した非同期転送工程についてはその内容をプログラム化しコンピュータに非同期転送処理として実行させるように構成してもよい。また、上述のような動作を実現するために、セミ同期転送処理と非同期転送処理とを上位装置1によるIO命令の発行密度に応じて切り換えて実行する切り換え実行処理をコンピュータに実行させるように構成してもよい。   Here, the contents of the above-described asynchronous transfer process may be programmed and executed by the computer as an asynchronous transfer process. Further, in order to realize the operation as described above, the computer is configured to execute a switching execution process for switching between the semi-synchronous transfer process and the asynchronous transfer process according to the IO command issue density by the host device 1 and executing it. May be.

そして、予備ストレージサブシステム3では、メインストレージサブシステム2からwriteIO命令が転送された場合は、このwriteIO命令に基づいて予備ボリューム31にデータが書き込まれ、これに同期して複製ボリューム32にもwriteIO命令に基づいたデータが書き込まれる(図5:ステップs111,データ複製工程)。   In the spare storage subsystem 3, when a writeIO command is transferred from the main storage subsystem 2, data is written to the spare volume 31 based on this writeIO command, and in synchronization with this, the write volume 32 is also written to the duplicate volume 32. Data based on the command is written (FIG. 5: step s111, data replication step).

ここで、上述したデータ複製工程についてはその内容をプログラム化しコンピュータに同期書込処理として実行させるように構成してもよい。   Here, the contents of the data replication process described above may be programmed and executed by the computer as a synchronous writing process.

メインストレージサブシステム2から差分データが転送された場合は、予備ボリューム31に差分データが書き込まれ(図5:ステップs112,差分データ複製工程)、予備ボリューム31のどの部分のアドレスが更新されたかを示す更新データテーブル35が予備ボリューム31の更新に応じて更新され(図5:ステップs113)、この更新データテーブルに基づいて予備ボリューム31から読み出されたデータが複製ボリューム32に書き込まれる(図5:ステップs114,非同期書込工程)。   When the difference data is transferred from the main storage subsystem 2, the difference data is written in the spare volume 31 (FIG. 5: step s112, difference data duplication process), and which part of the address of the spare volume 31 is updated. The update data table 35 shown is updated in accordance with the update of the spare volume 31 (FIG. 5: step s113), and the data read from the spare volume 31 based on this update data table is written to the replication volume 32 (FIG. 5). : Step s114, asynchronous writing process).

ここで、上述した差分データ複製工程及び非同期書込工程についてはその内容をプログラム化しコンピュータに差分データ書込処理及び非同期書込処理として実行させるように構成してもよい。   Here, the contents of the above-described differential data copying process and asynchronous writing process may be programmed to be executed as a differential data writing process and an asynchronous writing process by a computer.

以上のように、本実施形態によれば、メインストレージサブシステム2では、上位装置1からのwriteIO命令(データ書込み命令)を一時的にバッファ22に格納していき幾つかのwriteIO命令をまとめて転送するセミ同期順序保証モードと、データテーブル23にて差分情報を管理し、このデータテーブル23に基づいた差分データを転送する非同期モードとを回線状況に応じて利用することができる。これにより、メインストレージサブシステム2と予備ストレージサブシステム3間でデータをリモートコピーする際に、低容量の回線においてもセミ同期順序保証モードを採用することができる。   As described above, according to the present embodiment, the main storage subsystem 2 temporarily stores the write IO command (data write command) from the host device 1 in the buffer 22 and collects several write IO commands together. The semi-synchronous order guarantee mode for transferring and the asynchronous mode for managing the difference information in the data table 23 and transferring the difference data based on the data table 23 can be used according to the line status. As a result, when data is remotely copied between the main storage subsystem 2 and the spare storage subsystem 3, the semi-synchronous order guarantee mode can be adopted even in a low-capacity line.

また、予備ストレージサブシステム3では、セミ同期順序保証モードと非同期モードとに応じて、予備ボリューム31を複製ボリューム32にコピーする方法を同期または非同期を選択して実行することができる。   Further, the spare storage subsystem 3 can execute a method of copying the spare volume 31 to the replica volume 32 by selecting synchronous or asynchronous according to the semi-synchronous order guarantee mode and the asynchronous mode.

本発明における一実施形態のデータ管理システムにおけるメインストレージサブシステムの構成を示すブロック図である。It is a block diagram which shows the structure of the main storage subsystem in the data management system of one Embodiment in this invention. 図1に示す実施形態におけるメインストレージサブシステムのバッファの構成を示す図である。It is a figure which shows the structure of the buffer of the main storage subsystem in embodiment shown in FIG. 図1に示す実施形態のデータ管理システムにおける予備ストレージサブシステムの構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a spare storage subsystem in the data management system of the embodiment shown in FIG. 1. 図1に示す実施形態のデータ管理システムにおける動作の概略を示す図である。It is a figure which shows the outline of operation | movement in the data management system of embodiment shown in FIG. 図1に示す実施形態のデータ管理システムにおける全体の動作を示すシーケンス図である。It is a sequence diagram which shows the whole operation | movement in the data management system of embodiment shown in FIG.

符号の説明Explanation of symbols

1 上位装置
2 メインストレージサブシステム
3 予備ストレージサブシステム
2a セミ同期モード実行部
2b 非同期モード実行部
21 マスタボリューム
22 バッファ
23 データテーブル
24 データテーブル更新手段
25 差分データ読出手段
26 送出部
27 転送モード制御手段
28 完了報告手段
31 予備ボリューム
32 複製ボリューム
33 同期書込制御手段
34 書込モード制御手段
35 更新データテーブル
36 更新データ書込手段
DESCRIPTION OF SYMBOLS 1 Host apparatus 2 Main storage subsystem 3 Spare storage subsystem 2a Semi synchronous mode execution part 2b Asynchronous mode execution part 21 Master volume 22 Buffer 23 Data table 24 Data table update means 25 Differential data reading means 26 Sending part 27 Transfer mode control means 28 Completion report means 31 Spare volume 32 Replica volume 33 Synchronous write control means 34 Write mode control means 35 Update data table 36 Update data write means

Claims (3)

上位装置からのデータ書込み命令に係るデータを書き込むためのマスタボリュームを有するメインストレージサブシステムと、このマスタボリュームの複製として予備ボリュームを有する予備ストレージサブシステムとが通信ネットワークを介して接続して成るデータ管理システムであって、
前記メインストレージサブシステムが、前記マスタボリュームに書き込むデータを前記予備ボリュームに複製するためのデータ転送処理をセミ同期順序保証モードと非同期モードで相互切り替え可能に実行する機能を備え、
前記予備ストレージサブシステムが、
前記予備ボリュームの複製としての複製ボリュームと、
前記メインストレージサブシステムから送り込まれるデータの転送方式を前記セミ同期順序保証モードまたは前記非同期モードのいずれか判断する書込モード制御手段と、
この書込モード制御手段により前記セミ同期順序保証モードで転送されてきたと判断されデータを前記予備ボリュームへの書き込みと同期して前記複製ボリュームに書き込む同期書込制御手段と、
前記書込モード制御手段により前記非同期モードで転送されてきたと判断されデータを前記予備ボリュームへの書き込みと非同期で前記複製ボリュームに書き込む更新データ書込手段とを備え、
前記書込モード制御手段は、前記メインストレージサブシステムから非同期モードで転送されてきたデータが書き込まれる予備ボリューム内のアドレスを予め装備された更新データテーブルに記録する機能を備え、
前記更新データ書込手段は、前記更新データテーブルに記録されたアドレスに基づいて前記予備ボリュームから更新データを読み出して前記複製ボリュームに書き込むことを特徴とするデータ管理システム。
Data obtained by connecting, via a communication network, a main storage subsystem having a master volume for writing data related to a data write command from a host device and a spare storage subsystem having a spare volume as a copy of the master volume A management system,
The main storage subsystem has a function of executing data transfer processing for replicating data to be written to the master volume to the spare volume so as to be switchable between the semi-synchronous order guarantee mode and the asynchronous mode,
The spare storage subsystem is
A replica volume as a replica of the spare volume;
Write mode control means for determining a transfer method of data sent from the main storage subsystem, either the semi-synchronous order guarantee mode or the asynchronous mode;
Synchronous write control means for writing data determined to have been transferred in the semi-synchronous order guarantee mode by the write mode control means to the replicated volume in synchronization with writing to the spare volume ;
Update data writing means for writing data determined to have been transferred in the asynchronous mode by the write mode control means to the replica volume asynchronously with writing to the spare volume ;
The write mode control means has a function of recording an address in a spare volume to which data transferred in an asynchronous mode from the main storage subsystem is written in an update data table provided in advance,
The data management system, wherein the update data writing means reads update data from the spare volume based on an address recorded in the update data table and writes it to the duplicate volume .
上位装置からのデータ書込み命令に係るデータを書き込むためのマスタボリュームを有するメインストレージサブシステムと、このマスタボリュームの複製として予備ボリュームを有する予備ストレージサブシステムとが通信ネットワークを介して接続し、前記メインストレージサブシステムが、前記マスタボリュームに書き込むデータを前記予備ボリュームに複製するためのデータ転送処理をセミ同期順序保証モードと非同期モードで相互切り替え可能に実行する機能を備えたデータ管理システムにあって、
前記メインストレージサブシステムから転送されたデータを受信した前記予備ストレージサブシステムがそのデータの転送方式を前記セミ同期順序保証モードまたは前記非同期モードのいずれか判断し、
前記セミ同期順序保証モードと判断した場合、その転送されたデータを前記予備ボリュームへの書き込みに同期して予め装備された複製ボリュームに書き込み、
前記非同期モードと判断した場合、その転送されたデータを前記予備ボリュームに書き込み、当該データが書き込まれる当該予備ボリューム内のアドレスを更新データテーブルに記録し、
この更新データテーブルに記されたアドレスに基づいて前記予備ボリュームから更新データを読み出して前記複製ボリュームに書き込むことを特徴とするデータ管理方法。
A main storage subsystem having a master volume for writing data related to a data write command from a host device and a spare storage subsystem having a spare volume as a copy of the master volume are connected via a communication network, and the main storage subsystem The storage subsystem is a data management system having a function of executing data transfer processing for copying data to be written to the master volume to the spare volume so as to be interchangeable between the semi-synchronous order guarantee mode and the asynchronous mode,
The spare storage subsystem that has received the data transferred from the main storage subsystem determines whether the data transfer method is the semi-synchronous order guarantee mode or the asynchronous mode;
Wherein when it is determined that the semi-synchronous order assurance mode, included can write to the transfer duplication volume data equipped in advance in synchronism with the writing to the pre volume,
If the asynchronous mode is determined , the transferred data is written to the spare volume, the address in the spare volume to which the data is written is recorded in the update data table,
A data management method, comprising: reading update data from the spare volume based on an address written in the update data table and writing the update data to the duplicate volume .
上位装置からのデータ書込み命令に係るデータを書き込むためのマスタボリュームを有するメインストレージサブシステムと、このマスタボリュームの複製として予備ボリュームを有する予備ストレージサブシステムとが通信ネットワークを介して接続し、前記メインストレージサブシステムが、前記マスタボリュームに書き込むデータを前記予備ボリュームに複製するためのデータ転送処理をセミ同期順序保証モードと非同期モードで相互切り替え可能に実行する機能を備えたデータ管理システムにおける前記予備ストレージサブシステムにあって、
前記メインストレージサブシステムから転送されたデータの転送方式を前記セミ同期順序保証モード又は前記非同期モードのいずれか判断する処理,
前記セミ同期順序保証モードで転送されてきたデータを前記予備ボリュームへの書き込に同期して当該予備ボリュームの複製としての複製ボリュームに書き込む同期書込処理,
前記非同期モードで転送されてきたデータが書き込まれる当該予備ボリューム内のアドレスを更新データテーブルに記録する処理,
及び、前記更新データテーブルに記されたアドレスに基づいて前記予備ボリュームから更新データを読み出して前記複製ボリュームに書き込む非同期書込処理,
をコンピュータに実行させることを特徴とするデータ管理用プログラム。
A main storage subsystem having a master volume for writing data related to a data write command from a host device and a spare storage subsystem having a spare volume as a copy of the master volume are connected via a communication network, and the main storage subsystem The spare storage in the data management system having a function in which a storage subsystem executes data transfer processing for copying data to be written to the master volume to the spare volume in a semi-synchronous order guarantee mode and an asynchronous mode. In the subsystem,
A process of determining a transfer method of data transferred from the main storage subsystem, either the semi-synchronous order guarantee mode or the asynchronous mode;
The semi synchronous order guarantee mode data transferred in synchronization with the write to the preliminary volume writes the replication volume as a replication of the preliminary volume synchronization writing process,
A process for recording an address in the spare volume to which data transferred in the asynchronous mode is written in an update data table;
And asynchronous write processing for reading the update data from the spare volume based on the address recorded in the update data table and writing it to the replica volume ,
A data management program for causing a computer to execute.
JP2006178813A 2006-06-28 2006-06-28 Data management system, data management method, and data management program Expired - Fee Related JP4721057B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006178813A JP4721057B2 (en) 2006-06-28 2006-06-28 Data management system, data management method, and data management program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006178813A JP4721057B2 (en) 2006-06-28 2006-06-28 Data management system, data management method, and data management program

Publications (2)

Publication Number Publication Date
JP2008009660A JP2008009660A (en) 2008-01-17
JP4721057B2 true JP4721057B2 (en) 2011-07-13

Family

ID=39067828

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006178813A Expired - Fee Related JP4721057B2 (en) 2006-06-28 2006-06-28 Data management system, data management method, and data management program

Country Status (1)

Country Link
JP (1) JP4721057B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5251690B2 (en) * 2009-04-02 2013-07-31 日本電気株式会社 Remote copy system and remote copy method
JP7050707B2 (en) * 2019-03-15 2022-04-08 Necプラットフォームズ株式会社 Storage control device, storage system, storage control method, and storage control program

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09325863A (en) * 1996-06-04 1997-12-16 Hitachi Ltd Data transfer control method between external storage controllers
JP3193880B2 (en) * 1996-12-11 2001-07-30 株式会社日立製作所 Data migration method
JP3428842B2 (en) * 1997-01-08 2003-07-22 株式会社日立製作所 Information processing system and data multiplexing system
JPH11338647A (en) * 1998-05-25 1999-12-10 Hitachi Ltd Method of forming duplicate data
JP4689137B2 (en) * 2001-08-08 2011-05-25 株式会社日立製作所 Remote copy control method and storage system
JP2000276304A (en) * 1999-03-26 2000-10-06 Nec Corp Data shifting method and information processing system
JP3580355B2 (en) * 1999-07-29 2004-10-20 日本電気株式会社 Information processing system and data copy method
US7152078B2 (en) * 2001-12-27 2006-12-19 Hitachi, Ltd. Systems, methods and computer program products for backup and restoring storage volumes in a storage area network
US7134044B2 (en) * 2002-08-16 2006-11-07 International Business Machines Corporation Method, system, and program for providing a mirror copy of data
JP4376750B2 (en) * 2004-10-14 2009-12-02 株式会社日立製作所 Computer system

Also Published As

Publication number Publication date
JP2008009660A (en) 2008-01-17

Similar Documents

Publication Publication Date Title
US6978347B2 (en) Method and apparatus for re-synchronizing paired volumes via communication line
US7793060B2 (en) System method and circuit for differential mirroring of data
US7562103B2 (en) Disaster recovery processing method and apparatus and storage unit for the same
JP4355674B2 (en) Remote copy method and storage system
US6282610B1 (en) Storage controller providing store-and-forward mechanism in distributed data storage system
EP2078254B1 (en) Apparatus, system, and method for an improved synchronous data mirror swap
US7694177B2 (en) Method and system for resynchronizing data between a primary and mirror data storage system
JP3968207B2 (en) Data multiplexing method and data multiplexing system
US6981008B2 (en) Method for duplicating data of storage subsystem and data duplicating system
JP4074072B2 (en) Remote copy system with data integrity
JP4843687B2 (en) Backup control device, storage system, backup control program, and backup control method
JP2004303122A (en) Data transfer control system
JP2008140142A (en) Information processing system
US7260739B2 (en) Method, apparatus and program storage device for allowing continuous availability of data during volume set failures in a mirrored environment
US9342418B2 (en) Storage system, storage control device and data transfer method
JP2003330781A (en) Data multiple security method
JP4721057B2 (en) Data management system, data management method, and data management program
JP2005293469A (en) Data copy system and data copy method
JP3937878B2 (en) Magnetic tape device, control method thereof, and program for controlling magnetic tape device
JP2006285336A (en) Storage, storage system, and control method thereof
JP2004272318A (en) System switching system, its processing method, and its processing program
JP4452494B2 (en) Data synchronization method after stopping remote copy on multiple remote storages
JP2004272884A5 (en)
JP5251690B2 (en) Remote copy system and remote copy method
JP6802304B2 (en) Storage control device, storage control system, storage control method, and storage control program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100302

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100506

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100824

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101022

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20110310

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110323

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140415

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees