JP5907103B2 - Storage device - Google Patents

Storage device Download PDF

Info

Publication number
JP5907103B2
JP5907103B2 JP2013061713A JP2013061713A JP5907103B2 JP 5907103 B2 JP5907103 B2 JP 5907103B2 JP 2013061713 A JP2013061713 A JP 2013061713A JP 2013061713 A JP2013061713 A JP 2013061713A JP 5907103 B2 JP5907103 B2 JP 5907103B2
Authority
JP
Japan
Prior art keywords
copy
task
controller
master
copy destination
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
JP2013061713A
Other languages
Japanese (ja)
Other versions
JP2014186599A (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 JP2013061713A priority Critical patent/JP5907103B2/en
Publication of JP2014186599A publication Critical patent/JP2014186599A/en
Application granted granted Critical
Publication of JP5907103B2 publication Critical patent/JP5907103B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ストレージ装置にかかり、特に、レプリケーション機能を有するストレージ装置に関する。   The present invention relates to a storage apparatus, and more particularly to a storage apparatus having a replication function.

データの読み書きを実施するホスト100からのデータを保存するストレージ装置は、冗長性を確保するために、複数の論理ディスクにレプリケーションする機能を備えている。このようなストレージ装置では、コピー元ボリューム(以降MVと記載)からコピー先ボリューム(以降RVと記載)へのデータコピー処理を行う場合、MVからRVへのデータコピーに加え、MV又はRVによる受信データを複数のコントローラで多重化し、データの冗長性を確保した後、ホストへ正常終了を通知することになる(例えば、特許文献1を参照)。   A storage apparatus that stores data from the host 100 that reads and writes data has a function of replicating to a plurality of logical disks in order to ensure redundancy. In such a storage apparatus, when data copy processing from a copy source volume (hereinafter referred to as MV) to a copy destination volume (hereinafter referred to as RV) is performed, in addition to data copy from MV to RV, reception by MV or RV After the data is multiplexed by a plurality of controllers and data redundancy is ensured, the normal end is notified to the host (see, for example, Patent Document 1).

具体的に、ストレージ装置は、図1に示すように、コピー元であるMVデータを保存する論理ディスクであるMV141及びコピー先であるRVデータを保存する論理ディスクであるRV142と、ストレージ装置の制御を行う2つのコントローラ120,130と、を備えている。そして、一方のコントローラ120は、MV141に対するMVデータの記憶制御を行うMVマスタタスク121と、MVキャッシュデータ領域122と、RVスレーブタスク123と、RVキャッシュデータ領域124と、を備えている。また、他方のコントローラ130は、RV142に対するRVデータの記憶制御を行うRVマスタタスク133と、RVキャッシュデータ領域134と、MVスレーブタスク131と、MVキャッシュデータ領域132と、を備えている。   Specifically, as shown in FIG. 1, the storage apparatus controls the storage apparatus, the MV 141 that is a logical disk that stores MV data as a copy source, the RV 142 that is a logical disk that stores RV data as a copy destination, and the storage apparatus. And two controllers 120 and 130 for performing the above. One controller 120 includes an MV master task 121 that performs storage control of MV data for the MV 141, an MV cache data area 122, an RV slave task 123, and an RV cache data area 124. The other controller 130 includes an RV master task 133 that performs storage control of RV data for the RV 142, an RV cache data area 134, an MV slave task 131, and an MV cache data area 132.

上記各コントローラ120,130では、論理ディスク(MV,RV)単位でマスタタスクとスレーブタスク(121と131、133と123)が動作し、論理ディスクの情報は、各マスタタスク121,133で管理される。そして、2つのコントローラでデータを冗長管理することで、障害発生時にもデータ保持可能な構成となっている。   In each of the controllers 120 and 130, master tasks and slave tasks (121 and 131, 133 and 123) operate in units of logical disks (MV and RV), and logical disk information is managed by the master tasks 121 and 133. The In addition, data is managed redundantly by two controllers, so that data can be retained even when a failure occurs.

上述したストレージ装置におけるレプリケーション動作を、図2乃至図4を参照して説明する。なお、レプリケーション機能とは、論理ディスクの複製を作成する機能である。同期転送機能利用時には、ホストに正常終了を通知した時点で、MVとRVのデータが同期していることを保障する。   A replication operation in the above-described storage apparatus will be described with reference to FIGS. The replication function is a function for creating a copy of a logical disk. When using the synchronous transfer function, it is guaranteed that the MV and RV data are synchronized when the normal end is notified to the host.

まず、ホスト100からストレージ装置110に対して、MV141へのデータライトが実施されると(図2のY101)、ホストからの書き込み要求データは、MVマスタタスク121のMVキャッシュ122に保存される。その後、データの冗長性を確保するために、MVマスタタスク121はMVスレーブタスク131に対してデータ二重化を実施する(図2のY102)。そして、MVキャッシュ132にデータがコピーされた後、MVスレーブタスク131は、MVマスタタスク121へデータ二重化完了を通知する(図2のY103)。   First, when data write to the MV 141 is performed from the host 100 to the storage apparatus 110 (Y101 in FIG. 2), the write request data from the host is stored in the MV cache 122 of the MV master task 121. Thereafter, in order to ensure data redundancy, the MV master task 121 performs data duplication on the MV slave task 131 (Y102 in FIG. 2). After the data is copied to the MV cache 132, the MV slave task 131 notifies the MV master task 121 of the completion of data duplication (Y103 in FIG. 2).

続いて、MVマスタタスク121は、データ二重化完了通知(図2のY103)を受けた後、RVマスタタスク133に対して書き込み要求データコピーを実施する(図3のY104)。これにより、書き込み要求データはRVキャッシュ134に保存され、その後、RVスレーブタスク123へデータの二重化を実施する(図3のY105)。RVスレーブタスク123は、書き込み要求データをRVキャッシュ124に格納し、RVマスタタスク133へデータ二重化完了を通知する(図3のY106)。   Subsequently, after receiving the data duplication completion notification (Y103 in FIG. 2), the MV master task 121 performs a write request data copy to the RV master task 133 (Y104 in FIG. 3). As a result, the write request data is stored in the RV cache 134, and then the data is duplicated to the RV slave task 123 (Y105 in FIG. 3). The RV slave task 123 stores the write request data in the RV cache 124 and notifies the RV master task 133 of data duplication completion (Y106 in FIG. 3).

続いて、RVマスタタスク133は、上記データ二重化完了通知(図3のY106)を受けた後、MVマスタタスク121へコピー完了を通知する(図4のY107)。MVマスタタスク121は、コピー完了通知(図4のY107)を受けた後、ホスト100にデータライトの正常終了を通知する(図4のY108)。   Subsequently, after receiving the data duplication completion notification (Y106 in FIG. 3), the RV master task 133 notifies the MV master task 121 of the completion of copying (Y107 in FIG. 4). After receiving the copy completion notification (Y107 in FIG. 4), the MV master task 121 notifies the host 100 of the normal end of the data write (Y108 in FIG. 4).

特開2008−47029号公報JP 2008-47029 A

上述したように、複数のコントローラを実装し、冗長性を確保するストレージ装置では、レプリケーション同期転送機能を利用する際には、複数のコントローラ間でMVとRVのデータ多重化を行いながら、MV−RV間のコピーを実行している。ところが、このようなストレージ装置では、MV−RV間のコピー処理完了後に、ホストへ正常終了を通知する必要があるため、ホストへの応答が遅くなってしまう、という課題があった。   As described above, in a storage apparatus in which a plurality of controllers are mounted to ensure redundancy, when using the replication synchronous transfer function, the MV-RV data is multiplexed while the MV-RV is multiplexed between the plurality of controllers. Copying between RVs is executed. However, in such a storage apparatus, there is a problem that the response to the host is delayed because it is necessary to notify the host of normal termination after the completion of the MV-RV copy processing.

このため、本発明の目的は、上述した課題である、複数のコントローラ間で多重化を行うレプリケーション機能を備えたストレージ装置において、ホストへの応答が遅くなる、ことを解決することにある。   For this reason, an object of the present invention is to solve the above-described problem that a response to a host is delayed in a storage apparatus having a replication function for multiplexing among a plurality of controllers.

本発明の一形態であるストレージ装置は、
コピー元データが記憶されるコピー元ディスクと、コピー先データが記憶されるコピー先ディスクと、各ディスクに対してデータを二重化して記憶する制御を行う各コントローラと、を備え、
一方の前記コントローラは、前記コピー元ディスクに対する記憶制御を行う主系となるコピー元マスタタスクと、当該コピー元マスタタスクにて記憶制御するデータを一時的に格納するコピー元マスタキャッシュと、を備えると共に、
他方の前記コントローラは、前記コピー先ディスクに対する記憶制御を行う主系となるコピー先マスタタスクと、当該コピー先マスタタスクにて記憶制御するデータを一時的に格納するコピー先マスタキャッシュと、を備え、
さらに、前記一方のコントローラは、前記他方のコントローラが備える前記コピー先マスタタスク及び前記コピー先マスタキャッシュの従系となるコピー先スレーブタスク及びコピー先スレーブキャッシュを備え、
前記他方のコントローラは、前記一方のコントローラが備える前記コピー元マスタタスク及び前記コピー元マスタキャッシュの従系となるコピー元スレーブタスク及びコピー元スレーブキャッシュを備え、
前記一方のコントローラが備える前記コピー元マスタタスクは、ホストから書き込み要求データを受けて前記コピー元マスタキャッシュに格納し、当該書き込み要求データを前記他方のコントローラが備える前記コピー元スレーブタスクに二重化する前に前記コピー先マスタタスクに対してコピーし、当該コピー先マスタタスクからコピー完了の通知を受けると前記ホストに対して書き込み終了を通知し、
前記他方のコントローラが備える前記コピー先マスタタスクは、前記一方のコントローラが備える前記コピー元マスタタスクから書き込み要求データを受けて前記コピー先マスタキャッシュに格納して、前記コピー元マスタタスクに対してコピー完了を通知する、
という構成を取る。
A storage apparatus according to an aspect of the present invention
A copy source disk in which copy source data is stored, a copy destination disk in which copy destination data is stored, and each controller that performs control to store data in duplicate for each disk,
One of the controllers includes a copy source master task that performs storage control on the copy source disk, and a copy source master cache that temporarily stores data to be controlled by the copy source master task. With
The other controller includes a copy destination master task that performs a storage control for the copy destination disk, and a copy destination master cache that temporarily stores data to be controlled by the copy destination master task. ,
Further, the one controller includes a copy destination slave task and a copy destination slave cache which are subordinates of the copy destination master task and the copy destination master cache provided in the other controller,
The other controller includes a copy source slave task and a copy source slave cache that are slaves of the copy source master task and the copy source master cache included in the one controller,
The copy source master task included in the one controller receives write request data from the host, stores the write request data in the copy source master cache, and duplexes the write request data to the copy source slave task included in the other controller. To the copy destination master task, and upon receiving a copy completion notification from the copy destination master task, notifies the host of the write end,
The copy destination master task provided in the other controller receives write request data from the copy source master task provided in the one controller, stores the write request data in the copy destination master cache, and copies to the copy source master task. Notify completion,
Take the configuration.

また、本発明の他の形態であるプログラムは、
コピー元データが記憶されるコピー元ディスクと、コピー先データが記憶されるコピー先ディスクと、各ディスクに対してデータを二重化して記憶する制御を行う各コントローラと、を備え、
一方の前記コントローラは、前記コピー元ディスクに対する記憶制御を行う主系となるコピー元マスタタスクと、当該コピー元マスタタスクにて記憶制御するデータを一時的に格納するコピー元マスタキャッシュと、を備えると共に、
他方の前記コントローラは、前記コピー先ディスクに対する記憶制御を行う主系となるコピー先マスタタスクと、当該コピー先マスタタスクにて記憶制御するデータを一時的に格納するコピー先マスタキャッシュと、を備え、
さらに、前記一方のコントローラは、前記他方のコントローラが備える前記コピー先マスタタスク及び前記コピー先マスタキャッシュの従系となるコピー先スレーブタスク及びコピー先スレーブキャッシュを備え、
前記他方のコントローラは、前記一方のコントローラが備える前記コピー元マスタタスク及び前記コピー元マスタキャッシュの従系となるコピー元スレーブタスク及びコピー元スレーブキャッシュを備えた、ストレージ装置の前記各コントローラに、
前記一方のコントローラが備える前記コピー元マスタタスクが、ホストから書き込み要求データを受けて前記コピー元マスタキャッシュに格納し、当該書き込み要求データを前記他方のコントローラが備える前記コピー元スレーブタスクに二重化する前に前記コピー先マスタタスクに対してコピーし、当該コピー先マスタタスクからコピー完了の通知を受けると前記ホストに対して書き込み終了を通知し、
前記他方のコントローラが備える前記コピー先マスタタスクが、前記一方のコントローラが備える前記コピー元マスタタスクから書き込み要求データを受けて前記コピー先マスタキャッシュに格納して、前記コピー元マスタタスクに対してコピー完了を通知する、
処理を実行させるためのプログラムである。
Moreover, the program which is the other form of this invention is:
A copy source disk in which copy source data is stored, a copy destination disk in which copy destination data is stored, and each controller that performs control to store data in duplicate for each disk,
One of the controllers includes a copy source master task that performs storage control on the copy source disk, and a copy source master cache that temporarily stores data to be controlled by the copy source master task. With
The other controller includes a copy destination master task that performs a storage control for the copy destination disk, and a copy destination master cache that temporarily stores data to be controlled by the copy destination master task. ,
Further, the one controller includes a copy destination slave task and a copy destination slave cache which are subordinates of the copy destination master task and the copy destination master cache provided in the other controller,
The other controller includes a copy source slave task and a copy source slave cache that are slaves of the copy source master task and the copy source master cache included in the one controller, and
Before the copy source master task included in the one controller receives write request data from the host, stores it in the copy source master cache, and duplexes the write request data to the copy source slave task included in the other controller To the copy destination master task, and upon receiving a copy completion notification from the copy destination master task, notifies the host of the write end,
The copy destination master task included in the other controller receives write request data from the copy source master task included in the one controller, stores the write request data in the copy destination master cache, and copies to the copy source master task. Notify completion,
This is a program for executing processing.

また、本発明の他の形態であるデータ書き込み方法は、
コピー元データが記憶されるコピー元ディスクと、コピー先データが記憶されるコピー先ディスクと、各ディスクに対してデータを二重化して記憶する制御を行う各コントローラと、を備え、
一方の前記コントローラは、前記コピー元ディスクに対する記憶制御を行う主系となるコピー元マスタタスクと、当該コピー元マスタタスクにて記憶制御するデータを一時的に格納するコピー元マスタキャッシュと、を備えると共に、
他方の前記コントローラは、前記コピー先ディスクに対する記憶制御を行う主系となるコピー先マスタタスクと、当該コピー先マスタタスクにて記憶制御するデータを一時的に格納するコピー先マスタキャッシュと、を備え、
さらに、前記一方のコントローラは、前記他方のコントローラが備える前記コピー先マスタタスク及び前記コピー先マスタキャッシュの従系となるコピー先スレーブタスク及びコピー先スレーブキャッシュを備え、
前記他方のコントローラは、前記一方のコントローラが備える前記コピー元マスタタスク及び前記コピー元マスタキャッシュの従系となるコピー元スレーブタスク及びコピー元スレーブキャッシュを備えた、ストレージ装置によるデータ書き込み方法であって、
前記一方のコントローラが備える前記コピー元マスタタスクが、ホストから書き込み要求データを受けて前記コピー元マスタキャッシュに格納し、当該書き込み要求データを前記他方のコントローラが備える前記コピー元スレーブタスクに二重化する前に前記コピー先マスタタスクに対してコピーし、
前記他方のコントローラが備える前記コピー先マスタタスクが、前記一方のコントローラが備える前記コピー元マスタタスクから書き込み要求データを受けて前記コピー先マスタキャッシュに格納して、前記コピー元マスタタスクに対してコピー完了を通知し、
前記一方のコントローラが備える前記コピー元マスタタスクが、前記コピー先マスタタスクからコピー完了の通知を受けると前記ホストに対して書き込み終了を通知する、
という構成を取る。
A data writing method according to another embodiment of the present invention includes:
A copy source disk in which copy source data is stored, a copy destination disk in which copy destination data is stored, and each controller that performs control to store data in duplicate for each disk,
One of the controllers includes a copy source master task that performs storage control on the copy source disk, and a copy source master cache that temporarily stores data to be controlled by the copy source master task. With
The other controller includes a copy destination master task that performs a storage control for the copy destination disk, and a copy destination master cache that temporarily stores data to be controlled by the copy destination master task. ,
Further, the one controller includes a copy destination slave task and a copy destination slave cache which are subordinates of the copy destination master task and the copy destination master cache provided in the other controller,
The other controller is a data writing method by a storage device, comprising a copy source slave task and a copy source slave cache that are slaves of the copy source master task and the copy source master cache provided in the one controller. ,
Before the copy source master task included in the one controller receives write request data from the host, stores it in the copy source master cache, and duplexes the write request data to the copy source slave task included in the other controller To the copy destination master task,
The copy destination master task included in the other controller receives write request data from the copy source master task included in the one controller, stores the write request data in the copy destination master cache, and copies to the copy source master task. Notify completion,
When the copy source master task of the one controller receives a copy completion notification from the copy destination master task, it notifies the host of the end of writing.
Take the configuration.

本発明は、以上のように構成されることにより、複数のコントローラ間で多重化を行うレプリケーション機能を備えたストレージ装置において、データの冗長性を確保しながら、ホストへの応答時間の短縮化を図ることができる。   With the configuration as described above, the present invention reduces the response time to the host while ensuring data redundancy in a storage apparatus having a replication function for multiplexing among a plurality of controllers. Can be planned.

本発明に関連する別の技術によるストレージ装置の構成を示すブロック図である。It is a block diagram which shows the structure of the storage apparatus by another technique relevant to this invention. 本発明に関連する別の技術によるストレージ装置の動作を説明する図である。It is a figure explaining operation | movement of the storage apparatus by another technique relevant to this invention. 本発明に関連する別の技術によるストレージ装置の動作を説明する図である。It is a figure explaining operation | movement of the storage apparatus by another technique relevant to this invention. 本発明に関連する別の技術によるストレージ装置の動作を説明する図である。It is a figure explaining operation | movement of the storage apparatus by another technique relevant to this invention. 本発明におけるストレージ装置の構成を示すブロックである。2 is a block diagram illustrating a configuration of a storage apparatus according to the present invention. 図5に開示したストレージ装置の動作を説明する図である。FIG. 6 is a diagram for explaining the operation of the storage apparatus disclosed in FIG. 5. 図5に開示したストレージ装置の動作を説明する図である。FIG. 6 is a diagram for explaining the operation of the storage apparatus disclosed in FIG. 5. 図5に開示したストレージ装置の動作を説明する図である。FIG. 6 is a diagram for explaining the operation of the storage apparatus disclosed in FIG. 5. 図5に開示したストレージ装置の動作を説明する図である。FIG. 6 is a diagram for explaining the operation of the storage apparatus disclosed in FIG. 5. 図5に開示したストレージ装置の動作を説明する図である。FIG. 6 is a diagram for explaining the operation of the storage apparatus disclosed in FIG. 5. 図5に開示したストレージ装置の動作を説明する図である。FIG. 6 is a diagram for explaining the operation of the storage apparatus disclosed in FIG. 5. 図5に開示したストレージ装置の動作を説明する図である。FIG. 6 is a diagram for explaining the operation of the storage apparatus disclosed in FIG. 5.

<実施形態1>
本発明の第1の実施形態を、図5乃至図12を参照して説明する。図5は、ストレージ装置の構成を示すブロックである。図6乃至図8は、ストレージ装置によるレプリケーションの動作を示す図であり、図9乃至図12は、コントローラに障害が生じたときの動作を示す図である。
<Embodiment 1>
A first embodiment of the present invention will be described with reference to FIGS. FIG. 5 is a block diagram showing the configuration of the storage apparatus. 6 to 8 are diagrams illustrating the replication operation by the storage apparatus, and FIGS. 9 to 12 are diagrams illustrating the operation when a failure occurs in the controller.

図5に示すように、ストレージ装置10は、ホスト1に接続されており、当該ホスト1からの書き込み要求データを受け付けて、冗長性を確保するために、複数の論理ディスクにレプリケーションする機能を備えている。例えば、ストレージ装置10は、複数の論理ディスクとして、コピー元ボリューム(以降「MV」と記載)(コピー元ディスク)41とコピー先ボリューム(以降「RV」と記載)(コピー先ディスク)42とを備えており、MV41にデータを書き込む際に、MV41からRV42へデータコピーを行ってレプリケーションする制御装置として、2つのコントローラ20,30を備えている。   As shown in FIG. 5, the storage apparatus 10 is connected to the host 1 and has a function of receiving write request data from the host 1 and replicating it to a plurality of logical disks in order to ensure redundancy. ing. For example, the storage apparatus 10 includes a copy source volume (hereinafter referred to as “MV”) (copy source disk) 41 and a copy destination volume (hereinafter referred to as “RV”) (copy destination disk) 42 as a plurality of logical disks. The controller includes two controllers 20 and 30 as a control device that performs replication by copying data from the MV 41 to the RV 42 when data is written to the MV 41.

そして、一方のコントローラ20は、MV41に対するMVデータの記憶制御を行うMVマスタタスク21と、MVキャッシュ22と、RVスレーブタスク23と、RVキャッシュ24と、を備えている。また、他方のコントローラ30は、RV42に対するRVデータの記憶制御を行うRVマスタタスク33と、RVキャッシュ34と、MVスレーブタスク31と、MVキャッシュ32と、を備えている。   One controller 20 includes an MV master task 21 that performs MV data storage control on the MV 41, an MV cache 22, an RV slave task 23, and an RV cache 24. The other controller 30 includes an RV master task 33 that performs storage control of RV data for the RV 42, an RV cache 34, an MV slave task 31, and an MV cache 32.

ここで、上記各コントローラ20,30は、論理ディスク(MV,RV)単位でマスタタスクとスレーブタスク(21と31、33と23)が動作し、論理ディスクの情報は、各マスタタスク21,33で管理される。このとき、各マスタタスク21,33は、それぞれ異なるコントローラ20,30で動作している。つまり、本実施形態では、MV41に対する記憶制御を行う主系となるMVマスタタスク21(コピー元マスタタスク)及びMVキャッシュ22(コピー元マスタキャッシュ)が一方のコントローラ20に設けられており、その従系となるMVスレーブタスク31(コピー元スレーブタスク)及びMVキャッシュ32(コピー元スレーブキャッシュ)が他方のコントローラ30に設けられている。また、RV42に対する記憶制御を行う主系となるRVマスタタスク33(コピー先マスタタスク)及びRVキャッシュ34(コピー先マスタキャッシュ)が他方のコントローラ30に設けられており、その従系となるRVスレーブタスク23(コピー先スレーブタスク)及びRVキャッシュ24(コピー先スレーブキャッシュ)が一方のコントローラ20に設けられている。   Here, in each of the controllers 20 and 30, master tasks and slave tasks (21 and 31, 33 and 23) operate in units of logical disks (MV, RV). Managed by. At this time, the respective master tasks 21 and 33 are operated by different controllers 20 and 30, respectively. That is, in this embodiment, the MV master task 21 (copy source master task) and the MV cache 22 (copy source master cache), which are the main systems that perform storage control for the MV 41, are provided in one controller 20, and the slave The other controller 30 is provided with an MV slave task 31 (copy source slave task) and an MV cache 32 (copy source slave cache). In addition, an RV master task 33 (copy destination master task) and RV cache 34 (copy destination master cache), which are main systems that perform storage control on the RV 42, are provided in the other controller 30, and the RV slaves that are subordinate systems thereof. A task 23 (copy destination slave task) and an RV cache 24 (copy destination slave cache) are provided in one controller 20.

次に、上述したストレージ装置におけるレプリケーション動作を、図6乃至図8を参照して説明する。まず、ホスト1からストレージ装置10に対して、MV41へのデータライトが実施される(図6のY1)。すると、ホスト1からの書き込み要求データは、一方のコントローラ20に設けられたMVマスタタスク21のMVキャッシュ22に保存される。その後、MVマスタタスク21は、他方のコントローラ30に設けられたRVマスタタスク33に対して、MVキャッシュ22に格納されている書き込み要求データのコピーを実施する(図6のY2)。   Next, a replication operation in the above-described storage apparatus will be described with reference to FIGS. First, data write to the MV 41 is performed from the host 1 to the storage apparatus 10 (Y1 in FIG. 6). Then, the write request data from the host 1 is stored in the MV cache 22 of the MV master task 21 provided in one controller 20. Thereafter, the MV master task 21 copies the write request data stored in the MV cache 22 to the RV master task 33 provided in the other controller 30 (Y2 in FIG. 6).

続いて、コントローラ30のRVマスタタスク33は、書き込み要求データをRVキャッシュ34に格納した後、コントローラ20のMVマスタタスク21へコピー完了を通知する(図6のY3)。MVマスタタスク20は、他方のコントローラ30から送信されたコピー完了通知(図6のY3)を受けた後、ホスト1にデータライトの正常終了を通知する(図6のY4)。   Subsequently, after storing the write request data in the RV cache 34, the RV master task 33 of the controller 30 notifies the MV master task 21 of the controller 20 of the completion of copying (Y3 in FIG. 6). After receiving the copy completion notification (Y3 in FIG. 6) transmitted from the other controller 30, the MV master task 20 notifies the host 1 of the normal end of data write (Y4 in FIG. 6).

続いて、MVマスタタスク21は、ホスト1へデータライトの正常終了を通知した後(図6のY4)、他方のコントローラ30に設けられたMVスレーブタスク31に対して書き込みデータの二重化を実施する(図7のY5)。つまり、MVマスタタスク21は、MVキャッシュ22に格納された書き込み要求データを、他方のコントローラ30に設けられたMVスレーブタスク31に送信する。これを受けたMVスレーブタスク31は、書き込み要求データをMVキャッシュ32に格納し、その後、MVマスタタスク21へデータ二重化完了を通知する(図7のY6)。   Subsequently, the MV master task 21 notifies the host 1 of the normal end of the data write (Y4 in FIG. 6), and then duplicates the write data for the MV slave task 31 provided in the other controller 30. (Y5 in FIG. 7). That is, the MV master task 21 transmits the write request data stored in the MV cache 22 to the MV slave task 31 provided in the other controller 30. Receiving this, the MV slave task 31 stores the write request data in the MV cache 32, and then notifies the MV master task 21 of the completion of data duplication (Y6 in FIG. 7).

また、他方のコントローラ30に設けられたRVマスタタスク33は、上述したようにMVマスタタスク21にコピー完了を通知した後(図6のY3)、一方のコントローラ20に設けられたRVスレーブタスク23に対して書き込み要求データの二重化を実施する(図7のY7)。RVスレーブタスク23は、書き込み要求データをRVキャッシュ24へ格納した後、他方のコントローラ30に設けられたRVマスタタスク33にデータ二重化完了を通知する(図7のY8)。   Further, the RV master task 33 provided in the other controller 30 notifies the MV master task 21 of the completion of copying as described above (Y3 in FIG. 6), and then the RV slave task 23 provided in the one controller 20 The write request data is duplicated for Y7 in FIG. After storing the write request data in the RV cache 24, the RV slave task 23 notifies the RV master task 33 provided in the other controller 30 of data duplication completion (Y8 in FIG. 7).

続いて、一方のコントローラ20のMVマスタタスク20は、データ二重化が完了した後(図7のY6)、他方のコントローラ30のRVマスタタスク33へMVデータ二重化完了を通知する(図8のY9)。同様に、他方のコントローラ30のRVマスタタスク33は、データ二重化が完了した後(図7のY8)、一方のコントローラ20のMVマスタタスク21へRVデータ二重化完了を通知する(図8のY10)。   Subsequently, after the data duplication is completed (Y6 in FIG. 7), the MV master task 20 of one controller 20 notifies the RV master task 33 of the other controller 30 of the completion of MV data duplication (Y9 in FIG. 8). . Similarly, after the data duplexing is completed (Y8 in FIG. 7), the RV master task 33 of the other controller 30 notifies the MV master task 21 of one controller 20 of the completion of the RV data duplexing (Y10 in FIG. 8). .

このように、本実施形態におけるストレージ装置10は、上記背景技術で説明した技術とは異なり、MV及びRVのデータをコントローラ間(20,30)で二重化する前に、異なるコントローラ20,30にそれぞれ設けられたMVマスタタスク21からRVマスタタスク33に書き込み要求データをコピーし、ホスト1への応答を返却している。これにより、ホストへの応答時間を短縮化することができる。   Thus, unlike the technology described in the background art, the storage apparatus 10 in the present embodiment has different controllers 20, 30 before duplicating MV and RV data between controllers (20, 30). Write request data is copied from the provided MV master task 21 to the RV master task 33, and a response to the host 1 is returned. Thereby, the response time to the host can be shortened.

一方で、本実施形態におけるストレージ装置10では、データ二重化を行なわずにホストへ正常終了を応答しているため、データ二重化完了前にいずれかのコントローラが縮退してしまった場合には、MVキャッシュ、もしくは、RVキャッシュ上の書き込み要求データが失われてしまう。このため、以下に説明するように、書き込み要求データを保持しているMV/RVキャッシュから、データを保持していないRV/MVキャッシュへのデータコピーが必要になる。これにより、データの冗長性も確保している。   On the other hand, since the storage apparatus 10 according to the present embodiment responds to the normal end to the host without performing data duplication, if any controller is degenerated before data duplication is completed, the MV cache Or, write request data on the RV cache is lost. Therefore, as described below, it is necessary to copy data from the MV / RV cache holding the write request data to the RV / MV cache holding no data. This also ensures data redundancy.

具体的に、データ二重化完了前に、他方のコントローラ30が縮退した場合の動作を、図9乃至図10を参照して説明する。まず、図6を参照して説明したように、ホスト1からの書き込み要求データをMVマスタタスク21のMVキャッシュ22に格納すると共に、RVマスタタスク33のRVキャッシュ34に格納し、MVマスタタスク21からホスト1にデータライトの正常終了を通知したこととする(図9のY11〜Y14)。   Specifically, the operation when the other controller 30 is degenerated before the completion of data duplication will be described with reference to FIGS. First, as described with reference to FIG. 6, the write request data from the host 1 is stored in the MV cache 22 of the MV master task 21, and is also stored in the RV cache 34 of the RV master task 33. That the host 1 has been notified of the normal end of data write (Y11 to Y14 in FIG. 9).

その後、一方のコントローラ20が他方のコントローラ30の縮退を検出すると(図9のY15)、一方のコントローラ20に設けられたMVマスタタスク21は、他方のコントローラ30が備えるRVマスタタスク33からRVデータ二重化完了通知(図8のY10)を受信していないことから、自コントローラ20内のRVキャッシュ24に書き込み要求データが格納されていないと判断する。   Thereafter, when one controller 20 detects the degeneration of the other controller 30 (Y15 in FIG. 9), the MV master task 21 provided in one controller 20 receives RV data from the RV master task 33 provided in the other controller 30. Since the duplication completion notification (Y10 in FIG. 8) has not been received, it is determined that the write request data is not stored in the RV cache 24 in the controller 20 itself.

すると、MVマスタタスク21は、自コントローラ20が備えるRVスレーブタスク23に対して、MVキャッシュ22に保持している書き込み要求データのコピーを実施する(図10のY16)。そして、コントローラ20が備えるRVスレーブタスク23は、RVキャッシュ24へ書き込み要求データを格納した後、MVマスタタスク21へコピー完了を通知する(図10のY17)。   Then, the MV master task 21 copies the write request data held in the MV cache 22 to the RV slave task 23 included in the controller 20 (Y16 in FIG. 10). The RV slave task 23 included in the controller 20 stores the write request data in the RV cache 24 and then notifies the MV master task 21 of the completion of copying (Y17 in FIG. 10).

以上により、MV41に対してはMVマスタタスク21から書き込み要求データを記憶することができると共に、RV42に対してはRVスレーブタスク23から書き込み要求データを記憶することができる。従って、冗長性を確保しつつ、上述したようにホスト1への応答時間を短縮化することができる。   As described above, the write request data can be stored from the MV master task 21 to the MV 41, and the write request data can be stored from the RV slave task 23 to the RV 42. Therefore, the response time to the host 1 can be shortened as described above while ensuring redundancy.

次に、データ二重化完了前に、一方のコントローラ20が縮退した場合の動作を、図11乃至図12を参照して説明する。まず、上述同様に、MVマスタタスク21からホスト1にデータライトの正常終了を通知したこととする(図11のY21〜Y24)。   Next, the operation when one controller 20 is degenerated before the completion of data duplication will be described with reference to FIGS. First, as described above, it is assumed that the MV master task 21 has notified the host 1 of the normal end of data write (Y21 to Y24 in FIG. 11).

その後、他方のコントローラ30が一方のコントローラ20の縮退を検出すると(図11のY25)、他方のコントローラ30が備えるRVマスタタスク33は、一方のコントローラ20が備えるMVマスタタスク21からMVデータ二重化完了通知(図8のY9)を受信していないことから、自コントローラ30内のMVキャッシュ32に書き込み要求データが格納されていないと判断する。   Thereafter, when the other controller 30 detects the degeneration of one controller 20 (Y25 in FIG. 11), the RV master task 33 provided in the other controller 30 completes the MV data duplexing from the MV master task 21 provided in the one controller 20. Since the notification (Y9 in FIG. 8) has not been received, it is determined that the write request data is not stored in the MV cache 32 in the controller 30 itself.

すると、RVマスタタスク33は、自コントローラ30が備えるMVスレーブタスク31に対して、RVキャッシュ34に保持している書き込み要求データのコピーを実施する(図12のY26)。そして、コントローラ30が備えるMVスレーブタスク31は、MVキャッシュ32へ書き込み要求データを格納した後、RVマスタタスク33へコピー完了を通知する(図12のY27)。   Then, the RV master task 33 copies the write request data held in the RV cache 34 to the MV slave task 31 provided in the controller 30 (Y26 in FIG. 12). Then, the MV slave task 31 provided in the controller 30 stores the write request data in the MV cache 32 and then notifies the RV master task 33 of the completion of copying (Y27 in FIG. 12).

以上により、MV41に対しては従系であるMVスレーブタスク31から書き込み要求データを記憶することができると共に、RV42に対してはRVマスタタスク33から書き込み要求データを記憶することができる。従って、冗長性を確保しつつ、上述したようにホストへの応答時間を短縮化することができる。   As described above, the write request data can be stored in the MV 41 from the slave MV slave task 31, and the write request data can be stored in the RV 42 from the RV master task 33. Therefore, the response time to the host can be shortened as described above while ensuring redundancy.

<付記>
上記実施形態の一部又は全部は、以下の付記のようにも記載されうる。以下、本発明におけるストレージ装置、プログラム、データ書き込み方法の構成の概略を説明する。但し、本発明は、以下の構成に限定されない。
<Appendix>
Part or all of the above-described embodiment can be described as in the following supplementary notes. The outline of the configuration of the storage apparatus, program, and data writing method in the present invention will be described below. However, the present invention is not limited to the following configuration.

(付記1)
コピー元データが記憶されるコピー元ディスクと、コピー先データが記憶されるコピー先ディスクと、各ディスクに対してデータを二重化して記憶する制御を行う各コントローラと、を備え、
一方の前記コントローラは、前記コピー元ディスクに対する記憶制御を行う主系となるコピー元マスタタスクと、当該コピー元マスタタスクにて記憶制御するデータを一時的に格納するコピー元マスタキャッシュと、を備えると共に、
他方の前記コントローラは、前記コピー先ディスクに対する記憶制御を行う主系となるコピー先マスタタスクと、当該コピー先マスタタスクにて記憶制御するデータを一時的に格納するコピー先マスタキャッシュと、を備え、
さらに、前記一方のコントローラは、前記他方のコントローラが備える前記コピー先マスタタスク及び前記コピー先マスタキャッシュの従系となるコピー先スレーブタスク及びコピー先スレーブキャッシュを備え、
前記他方のコントローラは、前記一方のコントローラが備える前記コピー元マスタタスク及び前記コピー元マスタキャッシュの従系となるコピー元スレーブタスク及びコピー元スレーブキャッシュを備え、
前記一方のコントローラが備える前記コピー元マスタタスクは、ホストから書き込み要求データを受けて前記コピー元マスタキャッシュに格納し、当該書き込み要求データを前記他方のコントローラが備える前記コピー元スレーブタスクに二重化する前に前記コピー先マスタタスクに対してコピーし、当該コピー先マスタタスクからコピー完了の通知を受けると前記ホストに対して書き込み終了を通知し、
前記他方のコントローラが備える前記コピー先マスタタスクは、前記一方のコントローラが備える前記コピー元マスタタスクから書き込み要求データを受けて前記コピー先マスタキャッシュに格納して、前記コピー元マスタタスクに対してコピー完了を通知する、
ストレージ装置。
(Appendix 1)
A copy source disk in which copy source data is stored, a copy destination disk in which copy destination data is stored, and each controller that performs control to store data in duplicate for each disk,
One of the controllers includes a copy source master task that performs storage control on the copy source disk, and a copy source master cache that temporarily stores data to be controlled by the copy source master task. With
The other controller includes a copy destination master task that performs a storage control for the copy destination disk, and a copy destination master cache that temporarily stores data to be controlled by the copy destination master task. ,
Further, the one controller includes a copy destination slave task and a copy destination slave cache which are subordinates of the copy destination master task and the copy destination master cache provided in the other controller,
The other controller includes a copy source slave task and a copy source slave cache that are slaves of the copy source master task and the copy source master cache included in the one controller,
The copy source master task included in the one controller receives write request data from the host, stores the write request data in the copy source master cache, and duplexes the write request data to the copy source slave task included in the other controller. To the copy destination master task, and upon receiving a copy completion notification from the copy destination master task, notifies the host of the write end,
The copy destination master task provided in the other controller receives write request data from the copy source master task provided in the one controller, stores the write request data in the copy destination master cache, and copies to the copy source master task. Notify completion,
Storage device.

(付記2)
付記1に記載のストレージ装置であって、
前記一方のコントローラが備える前記コピー元マスタタスクは、前記コピー先マスタタスクからコピー完了の通知を受けて前記ホストに対して書き込み終了を通知してから、前記コピー元マスタキャッシュに格納されている書き込み要求データを前記他方のコントローラが備える前記コピー元スレーブタスクに二重化し、
前記他方のコントローラが備える前記コピー元スレーブタスクは、前記コピー元スレーブキャッシュに書き込み要求データを格納してから前記一方のコントローラが備える前記コピー元マスタタスクに二重化完了を通知し、
前記一方のコントローラが備える前記コピー元マスタタスクは、前記コピー元スレーブタスクから二重化完了の通知を受けると、前記コピー先マスタタスクに対してコピー元側における書き込み要求データの二重化完了を通知する、
ストレージ装置。
(Appendix 2)
The storage device according to attachment 1, wherein
The copy source master task of the one controller receives a copy completion notification from the copy destination master task, notifies the host of the write end, and then stores the write stored in the copy source master cache. Duplicate request data to the copy source slave task of the other controller,
The copy source slave task provided in the other controller stores write request data in the copy source slave cache and then notifies the copy source master task provided in the one controller of completion of duplication,
The copy source master task included in the one controller notifies the copy destination master task of the completion of duplication of the write request data on the copy source side upon receiving notification of duplication completion from the copy source slave task.
Storage device.

(付記3)
付記1又は2に記載のストレージシステムであって、
前記他方のコントローラが備える前記コピー先マスタタスクは、前記コピー元マスタタスクにコピー完了を通知してから、前記コピー先マスタキャッシュに格納されている書き込み要求データを前記一方のコントローラが備える前記コピー先スレーブタスクに二重化し、
前記一方のコントローラが備える前記コピー先スレーブタスクは、前記コピー先スレーブキャッシュに書き込み要求データを格納してから前記他方のコントローラが備える前記コピー先マスタタスクに二重化完了を通知し、
前記他方のコントローラが備える前記コピー先マスタタスクは、前記コピー先スレーブタスクから二重化完了の通知を受けると、前記コピー元マスタタスクに対してコピー先側における書き込み要求データの二重化完了を通知する、
ストレージ装置。
(Appendix 3)
The storage system according to appendix 1 or 2,
The copy destination master task provided in the other controller notifies the copy source master task of the completion of copying, and then the copy destination provided in the one controller includes the write request data stored in the copy destination master cache. Duplicate to slave tasks,
The copy destination slave task provided in the one controller stores the write request data in the copy destination slave cache and then notifies the copy destination master task provided in the other controller of completion of duplication,
The copy destination master task provided in the other controller, upon receiving notification of duplication completion from the copy destination slave task, notifies the copy source master task of duplication completion of the write request data on the copy destination side,
Storage device.

(付記4)
付記3に記載のストレージ装置であって、
前記一方のコントローラが備える前記コピー元マスタタスクは、前記他方のコントローラが備える前記コピー先マスタタスクからコピー先側における書き込み要求データの二重化完了の通知を受ける前に前記他方のコントローラが縮退した場合に、前記コピー元マスタキャッシュに格納されている書き込み要求データを前記コピー先スレーブタスクにコピーし、当該コピー先スレーブタスクは書き込み要求データを前記コピー先スレーブキャッシュに格納する、
ストレージ装置。
(Appendix 4)
The storage device according to attachment 3, wherein
The copy source master task provided in the one controller is in a case where the other controller is degenerated before receiving a notification of duplication completion of write request data on the copy destination side from the copy destination master task provided in the other controller. The copy request data stored in the copy source master cache is copied to the copy destination slave task, and the copy destination slave task stores the write request data in the copy destination slave cache.
Storage device.

(付記5)
付記3又は4に記載のストレージ装置であって、
前記他方のコントローラが備える前記コピー先マスタタスクは、前記一方のコントローラが備える前記コピー元マスタタスクからコピー元側における書き込み要求データの二重化完了の通知を受ける前に前記一方のコントローラが縮退した場合に、前記コピー先マスタキャッシュに格納されている書き込み要求データを前記コピー元スレーブタスクにコピーし、当該コピー元スレーブタスクは書き込み要求データを前記コピー元スレーブキャッシュに格納する、
ストレージ装置。
(Appendix 5)
The storage device according to appendix 3 or 4,
The copy destination master task provided in the other controller is in a case where the one controller is degenerated before receiving a notification of completion of duplication of write request data on the copy source side from the copy source master task provided in the one controller. The copy request data stored in the copy destination master cache is copied to the copy source slave task, and the copy source slave task stores the write request data in the copy source slave cache.
Storage device.

(付記6)
コピー元データが記憶されるコピー元ディスクと、コピー先データが記憶されるコピー先ディスクと、各ディスクに対してデータを二重化して記憶する制御を行う各コントローラと、を備え、
一方の前記コントローラは、前記コピー元ディスクに対する記憶制御を行う主系となるコピー元マスタタスクと、当該コピー元マスタタスクにて記憶制御するデータを一時的に格納するコピー元マスタキャッシュと、を備えると共に、
他方の前記コントローラは、前記コピー先ディスクに対する記憶制御を行う主系となるコピー先マスタタスクと、当該コピー先マスタタスクにて記憶制御するデータを一時的に格納するコピー先マスタキャッシュと、を備え、
さらに、前記一方のコントローラは、前記他方のコントローラが備える前記コピー先マスタタスク及び前記コピー先マスタキャッシュの従系となるコピー先スレーブタスク及びコピー先スレーブキャッシュを備え、
前記他方のコントローラは、前記一方のコントローラが備える前記コピー元マスタタスク及び前記コピー元マスタキャッシュの従系となるコピー元スレーブタスク及びコピー元スレーブキャッシュを備えた、ストレージ装置の前記各コントローラに、
前記一方のコントローラが備える前記コピー元マスタタスクが、ホストから書き込み要求データを受けて前記コピー元マスタキャッシュに格納し、当該書き込み要求データを前記他方のコントローラが備える前記コピー元スレーブタスクに二重化する前に前記コピー先マスタタスクに対してコピーし、当該コピー先マスタタスクからコピー完了の通知を受けると前記ホストに対して書き込み終了を通知し、
前記他方のコントローラが備える前記コピー先マスタタスクが、前記一方のコントローラが備える前記コピー元マスタタスクから書き込み要求データを受けて前記コピー先マスタキャッシュに格納して、前記コピー元マスタタスクに対してコピー完了を通知する、
処理を実行させるためのプログラム。
(Appendix 6)
A copy source disk in which copy source data is stored, a copy destination disk in which copy destination data is stored, and each controller that performs control to store data in duplicate for each disk,
One of the controllers includes a copy source master task that performs storage control on the copy source disk, and a copy source master cache that temporarily stores data to be controlled by the copy source master task. With
The other controller includes a copy destination master task that performs a storage control for the copy destination disk, and a copy destination master cache that temporarily stores data to be controlled by the copy destination master task. ,
Further, the one controller includes a copy destination slave task and a copy destination slave cache which are subordinates of the copy destination master task and the copy destination master cache provided in the other controller,
The other controller includes a copy source slave task and a copy source slave cache that are slaves of the copy source master task and the copy source master cache included in the one controller, and
Before the copy source master task included in the one controller receives write request data from the host, stores it in the copy source master cache, and duplexes the write request data to the copy source slave task included in the other controller To the copy destination master task, and upon receiving a copy completion notification from the copy destination master task, notifies the host of the write end,
The copy destination master task included in the other controller receives write request data from the copy source master task included in the one controller, stores the write request data in the copy destination master cache, and copies to the copy source master task. Notify completion,
Program for executing processing.

(付記7)
付記6に記載のプログラムであって、
前記各コントローラに、さらに、
前記一方のコントローラが備える前記コピー元マスタタスクが、前記コピー先マスタタスクからコピー完了の通知を受けて前記ホストに対して書き込み終了を通知してから、前記コピー元マスタキャッシュに格納されている書き込み要求データを前記他方のコントローラが備える前記コピー元スレーブタスクに二重化し、
前記他方のコントローラが備える前記コピー元スレーブタスクが、前記コピー元スレーブキャッシュに書き込み要求データを格納してから前記一方のコントローラが備える前記コピー元マスタタスクに二重化完了を通知し、
前記一方のコントローラが備える前記コピー元マスタタスクが、前記コピー元スレーブタスクから二重化完了の通知を受けると、前記コピー先マスタタスクに対してコピー元側における書き込み要求データの二重化完了を通知すると共に、
前記他方のコントローラが備える前記コピー先マスタタスクが、前記コピー元マスタタスクにコピー完了を通知してから、前記コピー先マスタキャッシュに格納されている書き込み要求データを前記一方のコントローラが備える前記コピー先スレーブタスクに二重化し、
前記一方のコントローラが備える前記コピー先スレーブタスクが、前記コピー先スレーブキャッシュに書き込み要求データを格納してから前記他方のコントローラが備える前記コピー先マスタタスクに二重化完了を通知し、
前記他方のコントローラが備える前記コピー先マスタタスクが、前記コピー先スレーブタスクから二重化完了の通知を受けると、前記コピー元マスタタスクに対してコピー先側における書き込み要求データの二重化完了を通知する、
処理を実行させるためのプログラム。
(Appendix 7)
The program according to appendix 6,
Each controller further includes:
The copy source master task included in the one controller receives a copy completion notification from the copy destination master task and notifies the host of the write end, and then the write stored in the copy source master cache. Duplicate request data to the copy source slave task of the other controller,
The copy source slave task provided in the other controller stores write request data in the copy source slave cache, and then notifies the copy source master task provided in the one controller of completion of duplication,
When the copy source master task provided in the one controller receives a notification of duplication completion from the copy source slave task, the copy destination master task is notified of duplication completion of the write request data on the copy source side, and
After the copy destination master task provided in the other controller notifies the copy source master task of the copy completion, the copy destination provided in the one controller includes the write request data stored in the copy destination master cache. Duplicate to slave tasks,
The copy destination slave task provided in the one controller stores write request data in the copy destination slave cache, and then notifies the copy destination master task provided in the other controller of completion of duplication,
When the copy destination master task provided in the other controller receives a notification of completion of duplication from the copy destination slave task, it notifies the copy source master task of duplication completion of the write request data on the copy destination side.
Program for executing processing.

(付記8)
コピー元データが記憶されるコピー元ディスクと、コピー先データが記憶されるコピー先ディスクと、各ディスクに対してデータを二重化して記憶する制御を行う各コントローラと、を備え、
一方の前記コントローラは、前記コピー元ディスクに対する記憶制御を行う主系となるコピー元マスタタスクと、当該コピー元マスタタスクにて記憶制御するデータを一時的に格納するコピー元マスタキャッシュと、を備えると共に、
他方の前記コントローラは、前記コピー先ディスクに対する記憶制御を行う主系となるコピー先マスタタスクと、当該コピー先マスタタスクにて記憶制御するデータを一時的に格納するコピー先マスタキャッシュと、を備え、
さらに、前記一方のコントローラは、前記他方のコントローラが備える前記コピー先マスタタスク及び前記コピー先マスタキャッシュの従系となるコピー先スレーブタスク及びコピー先スレーブキャッシュを備え、
前記他方のコントローラは、前記一方のコントローラが備える前記コピー元マスタタスク及び前記コピー元マスタキャッシュの従系となるコピー元スレーブタスク及びコピー元スレーブキャッシュを備えた、ストレージ装置によるデータ書き込み方法であって、
前記一方のコントローラが備える前記コピー元マスタタスクが、ホストから書き込み要求データを受けて前記コピー元マスタキャッシュに格納し、当該書き込み要求データを前記他方のコントローラが備える前記コピー元スレーブタスクに二重化する前に前記コピー先マスタタスクに対してコピーし、
前記他方のコントローラが備える前記コピー先マスタタスクが、前記一方のコントローラが備える前記コピー元マスタタスクから書き込み要求データを受けて前記コピー先マスタキャッシュに格納して、前記コピー元マスタタスクに対してコピー完了を通知し、
前記一方のコントローラが備える前記コピー元マスタタスクが、前記コピー先マスタタスクからコピー完了の通知を受けると前記ホストに対して書き込み終了を通知する、
データ書き込み方法。
(Appendix 8)
A copy source disk in which copy source data is stored, a copy destination disk in which copy destination data is stored, and each controller that performs control to store data in duplicate for each disk,
One of the controllers includes a copy source master task that performs storage control on the copy source disk, and a copy source master cache that temporarily stores data to be controlled by the copy source master task. With
The other controller includes a copy destination master task that performs a storage control for the copy destination disk, and a copy destination master cache that temporarily stores data to be controlled by the copy destination master task. ,
Further, the one controller includes a copy destination slave task and a copy destination slave cache which are subordinates of the copy destination master task and the copy destination master cache provided in the other controller,
The other controller is a data writing method by a storage device, comprising a copy source slave task and a copy source slave cache that are slaves of the copy source master task and the copy source master cache provided in the one controller. ,
Before the copy source master task included in the one controller receives write request data from the host, stores it in the copy source master cache, and duplexes the write request data to the copy source slave task included in the other controller To the copy destination master task,
The copy destination master task included in the other controller receives write request data from the copy source master task included in the one controller, stores the write request data in the copy destination master cache, and copies to the copy source master task. Notify completion,
When the copy source master task of the one controller receives a copy completion notification from the copy destination master task, it notifies the host of the end of writing.
Data writing method.

(付記9)
付記8に記載のデータ書き込み方法であって、
前記一方のコントローラが備える前記コピー元マスタタスクが、前記コピー先マスタタスクからコピー完了の通知を受けて前記ホストに対して書き込み終了を通知してから、前記コピー元マスタキャッシュに格納されている書き込み要求データを前記他方のコントローラが備える前記コピー元スレーブタスクに二重化し、
前記他方のコントローラが備える前記コピー元スレーブタスクが、前記コピー元スレーブキャッシュに書き込み要求データを格納してから前記一方のコントローラが備える前記コピー元マスタタスクに二重化完了を通知し、
前記一方のコントローラが備える前記コピー元マスタタスクが、前記コピー元スレーブタスクから二重化完了の通知を受けると、前記コピー先マスタタスクに対してコピー元側における書き込み要求データの二重化完了を通知すると共に、
前記他方のコントローラが備える前記コピー先マスタタスクが、前記コピー元マスタタスクにコピー完了を通知してから、前記コピー先マスタキャッシュに格納されている書き込み要求データを前記一方のコントローラが備える前記コピー先スレーブタスクに二重化し、
前記一方のコントローラが備える前記コピー先スレーブタスクが、前記コピー先スレーブキャッシュに書き込み要求データを格納してから前記他方のコントローラが備える前記コピー先マスタタスクに二重化完了を通知し、
前記他方のコントローラが備える前記コピー先マスタタスクが、前記コピー先スレーブタスクから二重化完了の通知を受けると、前記コピー元マスタタスクに対してコピー先側の書き込み要求データの二重化完了を通知する、
書き込み方法。
(Appendix 9)
The data writing method according to attachment 8, wherein
The copy source master task included in the one controller receives a copy completion notification from the copy destination master task and notifies the host of the write end, and then the write stored in the copy source master cache. Duplicate request data to the copy source slave task of the other controller,
The copy source slave task provided in the other controller stores write request data in the copy source slave cache, and then notifies the copy source master task provided in the one controller of completion of duplication,
When the copy source master task provided in the one controller receives a notification of duplication completion from the copy source slave task, the copy destination master task is notified of duplication completion of the write request data on the copy source side, and
After the copy destination master task provided in the other controller notifies the copy source master task of the copy completion, the copy destination provided in the one controller includes the write request data stored in the copy destination master cache. Duplicate to slave tasks,
The copy destination slave task provided in the one controller stores write request data in the copy destination slave cache, and then notifies the copy destination master task provided in the other controller of completion of duplication,
When the copy destination master task provided in the other controller receives a notification of completion of duplication from the copy destination slave task, it notifies the copy source master task of duplication completion of the write request data on the copy destination side,
Writing method.

なお、上述したプログラムは、記憶装置に記憶されていたり、コンピュータが読み取り可能な記録媒体に記録されている。例えば、記録媒体は、フレキシブルディスク、光ディスク、光磁気ディスク、及び、半導体メモリ等の可搬性を有する媒体である。   Note that the above-described program is stored in a storage device or recorded on a computer-readable recording medium. For example, the recording medium is a portable medium such as a flexible disk, an optical disk, a magneto-optical disk, and a semiconductor memory.

以上、上記実施形態等を参照して本願発明を説明したが、本願発明は、上述した実施形態に限定されるものではない。本願発明の構成や詳細には、本願発明の範囲内で当業者が理解しうる様々な変更をすることができる。   Although the present invention has been described with reference to the above-described embodiment and the like, the present invention is not limited to the above-described embodiment. Various changes that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention.

1 ホスト
10 ストレージ装置
20 コントローラ
21 MVマスタタスク
22 MVキャッシュ
23 RVスレーブタスク
24 RVキャッシュ
30 コントローラ
31 MVスレーブタスク
32 MVキャッシュ
33 RVマスタタスク
34 RVキャッシュ
41 MV
42 RV
100 ホスト
110 ストレージ装置
120 コントローラ
121 MVマスタタスク
122 MVキャッシュ
123 RVスレーブタスク
124 RVキャッシュ
130 コントローラ
131 MVスレーブタスク
132 MVキャッシュ
133 RVマスタタスク
134 RVキャッシュ
141 MV
142 RV
1 Host 10 Storage Device 20 Controller 21 MV Master Task 22 MV Cache 23 RV Slave Task 24 RV Cache 30 Controller 31 MV Slave Task 32 MV Cache 33 RV Master Task 34 RV Cache 41 MV
42 RV
100 Host 110 Storage device 120 Controller 121 MV master task 122 MV cache 123 RV slave task 124 RV cache 130 Controller 131 MV slave task 132 MV cache 133 RV master task 134 RV cache 141 MV
142 RV

Claims (7)

コピー元データが記憶されるコピー元ディスクと、コピー先データが記憶されるコピー先ディスクと、各ディスクに対してデータを二重化して記憶する制御を行う各コントローラと、を備え、
一方の前記コントローラは、前記コピー元ディスクに対する記憶制御を行う主系となるコピー元マスタタスクと、当該コピー元マスタタスクにて記憶制御するデータを一時的に格納するコピー元マスタキャッシュと、を備えると共に、
他方の前記コントローラは、前記コピー先ディスクに対する記憶制御を行う主系となるコピー先マスタタスクと、当該コピー先マスタタスクにて記憶制御するデータを一時的に格納するコピー先マスタキャッシュと、を備え、
さらに、前記一方のコントローラは、前記他方のコントローラが備える前記コピー先マスタタスク及び前記コピー先マスタキャッシュの従系となるコピー先スレーブタスク及びコピー先スレーブキャッシュを備え、
前記他方のコントローラは、前記一方のコントローラが備える前記コピー元マスタタスク及び前記コピー元マスタキャッシュの従系となるコピー元スレーブタスク及びコピー元スレーブキャッシュを備え、
前記一方のコントローラが備える前記コピー元マスタタスクは、ホストから書き込み要求データを受けて前記コピー元マスタキャッシュに格納し、当該書き込み要求データを前記他方のコントローラが備える前記コピー元スレーブタスクに二重化する前に前記コピー先マスタタスクに対してコピーし、当該コピー先マスタタスクからコピー完了の通知を受けると前記ホストに対して書き込み終了を通知し、
前記他方のコントローラが備える前記コピー先マスタタスクは、前記一方のコントローラが備える前記コピー元マスタタスクから書き込み要求データを受けて前記コピー先マスタキャッシュに格納して、前記コピー元マスタタスクに対してコピー完了を通知し、
さらに、
前記一方のコントローラが備える前記コピー元マスタタスクは、前記コピー先マスタタスクからコピー完了の通知を受けて前記ホストに対して書き込み終了を通知してから、前記コピー元マスタキャッシュに格納されている書き込み要求データを前記他方のコントローラが備える前記コピー元スレーブタスクに二重化し、
前記他方のコントローラが備える前記コピー元スレーブタスクは、前記コピー元スレーブキャッシュに書き込み要求データを格納してから前記一方のコントローラが備える前記コピー元マスタタスクに二重化完了を通知し、
前記一方のコントローラが備える前記コピー元マスタタスクは、前記コピー元スレーブタスクから二重化完了の通知を受けると、前記コピー先マスタタスクに対してコピー元側における書き込み要求データの二重化完了を通知する、
ストレージ装置。
A copy source disk in which copy source data is stored, a copy destination disk in which copy destination data is stored, and each controller that performs control to store data in duplicate for each disk,
One of the controllers includes a copy source master task that performs storage control on the copy source disk, and a copy source master cache that temporarily stores data to be controlled by the copy source master task. With
The other controller includes a copy destination master task that performs a storage control for the copy destination disk, and a copy destination master cache that temporarily stores data to be controlled by the copy destination master task. ,
Further, the one controller includes a copy destination slave task and a copy destination slave cache which are subordinates of the copy destination master task and the copy destination master cache provided in the other controller,
The other controller includes a copy source slave task and a copy source slave cache that are slaves of the copy source master task and the copy source master cache included in the one controller,
The copy source master task included in the one controller receives write request data from the host, stores the write request data in the copy source master cache, and duplexes the write request data to the copy source slave task included in the other controller. To the copy destination master task, and upon receiving a copy completion notification from the copy destination master task, notifies the host of the write end,
The copy destination master task provided in the other controller receives write request data from the copy source master task provided in the one controller, stores the write request data in the copy destination master cache, and copies to the copy source master task. Notify completion ,
further,
The copy source master task of the one controller receives a copy completion notification from the copy destination master task, notifies the host of the write end, and then stores the write stored in the copy source master cache. Duplicate request data to the copy source slave task of the other controller,
The copy source slave task provided in the other controller stores write request data in the copy source slave cache and then notifies the copy source master task provided in the one controller of completion of duplication,
The copy source master task included in the one controller notifies the copy destination master task of the completion of duplication of the write request data on the copy source side upon receiving notification of duplication completion from the copy source slave task.
Storage device.
請求項1に記載のストレージシステムであって、
前記他方のコントローラが備える前記コピー先マスタタスクは、前記コピー元マスタタスクにコピー完了を通知してから、前記コピー先マスタキャッシュに格納されている書き込み要求データを前記一方のコントローラが備える前記コピー先スレーブタスクに二重化し、
前記一方のコントローラが備える前記コピー先スレーブタスクは、前記コピー先スレーブキャッシュに書き込み要求データを格納してから前記他方のコントローラが備える前記コピー先マスタタスクに二重化完了を通知し、
前記他方のコントローラが備える前記コピー先マスタタスクは、前記コピー先スレーブタスクから二重化完了の通知を受けると、前記コピー元マスタタスクに対してコピー先側における書き込み要求データの二重化完了を通知する、
ストレージ装置。
The storage system according to claim 1 ,
The copy destination master task provided in the other controller notifies the copy source master task of the completion of copying, and then the copy destination provided in the one controller includes the write request data stored in the copy destination master cache. Duplicate to slave tasks,
The copy destination slave task provided in the one controller stores the write request data in the copy destination slave cache and then notifies the copy destination master task provided in the other controller of completion of duplication,
The copy destination master task provided in the other controller, upon receiving notification of duplication completion from the copy destination slave task, notifies the copy source master task of duplication completion of the write request data on the copy destination side,
Storage device.
コピー元データが記憶されるコピー元ディスクと、コピー先データが記憶されるコピー先ディスクと、各ディスクに対してデータを二重化して記憶する制御を行う各コントローラと、を備え、
一方の前記コントローラは、前記コピー元ディスクに対する記憶制御を行う主系となるコピー元マスタタスクと、当該コピー元マスタタスクにて記憶制御するデータを一時的に格納するコピー元マスタキャッシュと、を備えると共に、
他方の前記コントローラは、前記コピー先ディスクに対する記憶制御を行う主系となるコピー先マスタタスクと、当該コピー先マスタタスクにて記憶制御するデータを一時的に格納するコピー先マスタキャッシュと、を備え、
さらに、前記一方のコントローラは、前記他方のコントローラが備える前記コピー先マスタタスク及び前記コピー先マスタキャッシュの従系となるコピー先スレーブタスク及びコピー先スレーブキャッシュを備え、
前記他方のコントローラは、前記一方のコントローラが備える前記コピー元マスタタスク及び前記コピー元マスタキャッシュの従系となるコピー元スレーブタスク及びコピー元スレーブキャッシュを備え、
前記一方のコントローラが備える前記コピー元マスタタスクは、ホストから書き込み要求データを受けて前記コピー元マスタキャッシュに格納し、当該書き込み要求データを前記他方のコントローラが備える前記コピー元スレーブタスクに二重化する前に前記コピー先マスタタスクに対してコピーし、当該コピー先マスタタスクからコピー完了の通知を受けると前記ホストに対して書き込み終了を通知し、
前記他方のコントローラが備える前記コピー先マスタタスクは、前記一方のコントローラが備える前記コピー元マスタタスクから書き込み要求データを受けて前記コピー先マスタキャッシュに格納して、前記コピー元マスタタスクに対してコピー完了を通知し、
さらに、
前記他方のコントローラが備える前記コピー先マスタタスクは、前記コピー元マスタタスクにコピー完了を通知してから、前記コピー先マスタキャッシュに格納されている書き込み要求データを前記一方のコントローラが備える前記コピー先スレーブタスクに二重化し、
前記一方のコントローラが備える前記コピー先スレーブタスクは、前記コピー先スレーブキャッシュに書き込み要求データを格納してから前記他方のコントローラが備える前記コピー先マスタタスクに二重化完了を通知し、
前記他方のコントローラが備える前記コピー先マスタタスクは、前記コピー先スレーブタスクから二重化完了の通知を受けると、前記コピー元マスタタスクに対してコピー先側における書き込み要求データの二重化完了を通知する、
ストレージ装置。
A copy source disk in which copy source data is stored, a copy destination disk in which copy destination data is stored, and each controller that performs control to store data in duplicate for each disk,
One of the controllers includes a copy source master task that performs storage control on the copy source disk, and a copy source master cache that temporarily stores data to be controlled by the copy source master task. With
The other controller includes a copy destination master task that performs a storage control for the copy destination disk, and a copy destination master cache that temporarily stores data to be controlled by the copy destination master task. ,
Further, the one controller includes a copy destination slave task and a copy destination slave cache which are subordinates of the copy destination master task and the copy destination master cache provided in the other controller,
The other controller includes a copy source slave task and a copy source slave cache that are slaves of the copy source master task and the copy source master cache included in the one controller,
The copy source master task included in the one controller receives write request data from the host, stores the write request data in the copy source master cache, and duplexes the write request data to the copy source slave task included in the other controller. To the copy destination master task, and upon receiving a copy completion notification from the copy destination master task, notifies the host of the write end,
The copy destination master task provided in the other controller receives write request data from the copy source master task provided in the one controller, stores the write request data in the copy destination master cache, and copies to the copy source master task. Notify completion,
further,
The copy destination master task provided in the other controller notifies the copy source master task of the completion of copying, and then the copy destination provided in the one controller includes the write request data stored in the copy destination master cache. Duplicate to slave tasks,
The copy destination slave task provided in the one controller stores the write request data in the copy destination slave cache and then notifies the copy destination master task provided in the other controller of completion of duplication,
The copy destination master task provided in the other controller, upon receiving notification of duplication completion from the copy destination slave task, notifies the copy source master task of duplication completion of the write request data on the copy destination side,
Storage device.
請求項2又は3に記載のストレージ装置であって、
前記一方のコントローラが備える前記コピー元マスタタスクは、前記他方のコントローラが備える前記コピー先マスタタスクからコピー先側における書き込み要求データの二重化完了の通知を受ける前に前記他方のコントローラが縮退した場合に、前記コピー元マスタキャッシュに格納されている書き込み要求データを前記コピー先スレーブタスクにコピーし、当該コピー先スレーブタスクは書き込み要求データを前記コピー先スレーブキャッシュに格納する、
ストレージ装置。
The storage device according to claim 2 or 3,
The copy source master task provided in the one controller is in a case where the other controller is degenerated before receiving a notification of duplication completion of write request data on the copy destination side from the copy destination master task provided in the other controller. The copy request data stored in the copy source master cache is copied to the copy destination slave task, and the copy destination slave task stores the write request data in the copy destination slave cache.
Storage device.
請求項2乃至4のいずれかに記載のストレージ装置であって、
前記他方のコントローラが備える前記コピー先マスタタスクは、前記一方のコントローラが備える前記コピー元マスタタスクからコピー元側における書き込み要求データの二重化完了の通知を受ける前に前記一方のコントローラが縮退した場合に、前記コピー先マスタキャッシュに格納されている書き込み要求データを前記コピー元スレーブタスクにコピーし、当該コピー元スレーブタスクは書き込み要求データを前記コピー元スレーブキャッシュに格納する、
ストレージ装置。
The storage apparatus according to any one of claims 2 to 4 ,
The copy destination master task provided in the other controller is in a case where the one controller is degenerated before receiving a notification of completion of duplication of write request data on the copy source side from the copy source master task provided in the one controller. The copy request data stored in the copy destination master cache is copied to the copy source slave task, and the copy source slave task stores the write request data in the copy source slave cache.
Storage device.
コピー元データが記憶されるコピー元ディスクと、コピー先データが記憶されるコピー先ディスクと、各ディスクに対してデータを二重化して記憶する制御を行う各コントローラと、を備え、
一方の前記コントローラは、前記コピー元ディスクに対する記憶制御を行う主系となるコピー元マスタタスクと、当該コピー元マスタタスクにて記憶制御するデータを一時的に格納するコピー元マスタキャッシュと、を備えると共に、
他方の前記コントローラは、前記コピー先ディスクに対する記憶制御を行う主系となるコピー先マスタタスクと、当該コピー先マスタタスクにて記憶制御するデータを一時的に格納するコピー先マスタキャッシュと、を備え、
さらに、前記一方のコントローラは、前記他方のコントローラが備える前記コピー先マスタタスク及び前記コピー先マスタキャッシュの従系となるコピー先スレーブタスク及びコピー先スレーブキャッシュを備え、
前記他方のコントローラは、前記一方のコントローラが備える前記コピー元マスタタスク及び前記コピー元マスタキャッシュの従系となるコピー元スレーブタスク及びコピー元スレーブキャッシュを備えた、ストレージ装置の前記各コントローラに、
前記一方のコントローラが備える前記コピー元マスタタスクが、ホストから書き込み要求データを受けて前記コピー元マスタキャッシュに格納し、当該書き込み要求データを前記他方のコントローラが備える前記コピー元スレーブタスクに二重化する前に前記コピー先マスタタスクに対してコピーし、当該コピー先マスタタスクからコピー完了の通知を受けると前記ホストに対して書き込み終了を通知し、
前記他方のコントローラが備える前記コピー先マスタタスクが、前記一方のコントローラが備える前記コピー元マスタタスクから書き込み要求データを受けて前記コピー先マスタキャッシュに格納して、前記コピー元マスタタスクに対してコピー完了を通知する、
処理を実行させ、
前記各コントローラに、さらに、
前記一方のコントローラが備える前記コピー元マスタタスクが、前記コピー先マスタタスクからコピー完了の通知を受けて前記ホストに対して書き込み終了を通知してから、前記コピー元マスタキャッシュに格納されている書き込み要求データを前記他方のコントローラが備える前記コピー元スレーブタスクに二重化し、
前記他方のコントローラが備える前記コピー元スレーブタスクが、前記コピー元スレーブキャッシュに書き込み要求データを格納してから前記一方のコントローラが備える前記コピー元マスタタスクに二重化完了を通知し、
前記一方のコントローラが備える前記コピー元マスタタスクが、前記コピー元スレーブタスクから二重化完了の通知を受けると、前記コピー先マスタタスクに対してコピー元側における書き込み要求データの二重化完了を通知すると共に、
前記他方のコントローラが備える前記コピー先マスタタスクが、前記コピー元マスタタスクにコピー完了を通知してから、前記コピー先マスタキャッシュに格納されている書き込み要求データを前記一方のコントローラが備える前記コピー先スレーブタスクに二重化し、
前記一方のコントローラが備える前記コピー先スレーブタスクが、前記コピー先スレーブキャッシュに書き込み要求データを格納してから前記他方のコントローラが備える前記コピー先マスタタスクに二重化完了を通知し、
前記他方のコントローラが備える前記コピー先マスタタスクが、前記コピー先スレーブタスクから二重化完了の通知を受けると、前記コピー元マスタタスクに対してコピー先側における書き込み要求データの二重化完了を通知する、
処理を実行させるためのプログラム。
A copy source disk in which copy source data is stored, a copy destination disk in which copy destination data is stored, and each controller that performs control to store data in duplicate for each disk,
One of the controllers includes a copy source master task that performs storage control on the copy source disk, and a copy source master cache that temporarily stores data to be controlled by the copy source master task. With
The other controller includes a copy destination master task that performs a storage control for the copy destination disk, and a copy destination master cache that temporarily stores data to be controlled by the copy destination master task. ,
Further, the one controller includes a copy destination slave task and a copy destination slave cache which are subordinates of the copy destination master task and the copy destination master cache provided in the other controller,
The other controller includes a copy source slave task and a copy source slave cache that are slaves of the copy source master task and the copy source master cache included in the one controller, and
Before the copy source master task included in the one controller receives write request data from the host, stores it in the copy source master cache, and duplexes the write request data to the copy source slave task included in the other controller To the copy destination master task, and upon receiving a copy completion notification from the copy destination master task, notifies the host of the write end,
The copy destination master task included in the other controller receives write request data from the copy source master task included in the one controller, stores the write request data in the copy destination master cache, and copies to the copy source master task. Notify completion,
Let the process run ,
Each controller further includes:
The copy source master task included in the one controller receives a copy completion notification from the copy destination master task and notifies the host of the write end, and then the write stored in the copy source master cache. Duplicate request data to the copy source slave task of the other controller,
The copy source slave task provided in the other controller stores write request data in the copy source slave cache, and then notifies the copy source master task provided in the one controller of completion of duplication,
When the copy source master task provided in the one controller receives a notification of duplication completion from the copy source slave task, the copy destination master task is notified of duplication completion of the write request data on the copy source side, and
After the copy destination master task provided in the other controller notifies the copy source master task of the copy completion, the copy destination provided in the one controller includes the write request data stored in the copy destination master cache. Duplicate to slave tasks,
The copy destination slave task provided in the one controller stores write request data in the copy destination slave cache, and then notifies the copy destination master task provided in the other controller of completion of duplication,
When the copy destination master task provided in the other controller receives a notification of completion of duplication from the copy destination slave task, it notifies the copy source master task of duplication completion of the write request data on the copy destination side.
Program for executing processing.
コピー元データが記憶されるコピー元ディスクと、コピー先データが記憶されるコピー先ディスクと、各ディスクに対してデータを二重化して記憶する制御を行う各コントローラと、を備え、
一方の前記コントローラは、前記コピー元ディスクに対する記憶制御を行う主系となるコピー元マスタタスクと、当該コピー元マスタタスクにて記憶制御するデータを一時的に格納するコピー元マスタキャッシュと、を備えると共に、
他方の前記コントローラは、前記コピー先ディスクに対する記憶制御を行う主系となるコピー先マスタタスクと、当該コピー先マスタタスクにて記憶制御するデータを一時的に格納するコピー先マスタキャッシュと、を備え、
さらに、前記一方のコントローラは、前記他方のコントローラが備える前記コピー先マスタタスク及び前記コピー先マスタキャッシュの従系となるコピー先スレーブタスク及びコピー先スレーブキャッシュを備え、
前記他方のコントローラは、前記一方のコントローラが備える前記コピー元マスタタスク及び前記コピー元マスタキャッシュの従系となるコピー元スレーブタスク及びコピー元スレーブキャッシュを備えた、ストレージ装置によるデータ書き込み方法であって、
前記一方のコントローラが備える前記コピー元マスタタスクが、ホストから書き込み要求データを受けて前記コピー元マスタキャッシュに格納し、当該書き込み要求データを前記他方のコントローラが備える前記コピー元スレーブタスクに二重化する前に前記コピー先マスタタスクに対してコピーし、
前記他方のコントローラが備える前記コピー先マスタタスクが、前記一方のコントローラが備える前記コピー元マスタタスクから書き込み要求データを受けて前記コピー先マスタキャッシュに格納して、前記コピー元マスタタスクに対してコピー完了を通知し、
前記一方のコントローラが備える前記コピー元マスタタスクが、前記コピー先マスタタスクからコピー完了の通知を受けると前記ホストに対して書き込み終了を通知し、
さらに、
前記一方のコントローラが備える前記コピー元マスタタスクが、前記コピー先マスタタスクからコピー完了の通知を受けて前記ホストに対して書き込み終了を通知してから、前記コピー元マスタキャッシュに格納されている書き込み要求データを前記他方のコントローラが備える前記コピー元スレーブタスクに二重化し、
前記他方のコントローラが備える前記コピー元スレーブタスクが、前記コピー元スレーブキャッシュに書き込み要求データを格納してから前記一方のコントローラが備える前記コピー元マスタタスクに二重化完了を通知し、
前記一方のコントローラが備える前記コピー元マスタタスクが、前記コピー元スレーブタスクから二重化完了の通知を受けると、前記コピー先マスタタスクに対してコピー元側における書き込み要求データの二重化完了を通知すると共に、
前記他方のコントローラが備える前記コピー先マスタタスクが、前記コピー元マスタタスクにコピー完了を通知してから、前記コピー先マスタキャッシュに格納されている書き込み要求データを前記一方のコントローラが備える前記コピー先スレーブタスクに二重化し、
前記一方のコントローラが備える前記コピー先スレーブタスクが、前記コピー先スレーブキャッシュに書き込み要求データを格納してから前記他方のコントローラが備える前記コピー先マスタタスクに二重化完了を通知し、
前記他方のコントローラが備える前記コピー先マスタタスクが、前記コピー先スレーブタスクから二重化完了の通知を受けると、前記コピー元マスタタスクに対してコピー先側の書き込み要求データの二重化完了を通知する、
書き込み方法。
A copy source disk in which copy source data is stored, a copy destination disk in which copy destination data is stored, and each controller that performs control to store data in duplicate for each disk,
One of the controllers includes a copy source master task that performs storage control on the copy source disk, and a copy source master cache that temporarily stores data to be controlled by the copy source master task. With
The other controller includes a copy destination master task that performs a storage control for the copy destination disk, and a copy destination master cache that temporarily stores data to be controlled by the copy destination master task. ,
Further, the one controller includes a copy destination slave task and a copy destination slave cache which are subordinates of the copy destination master task and the copy destination master cache provided in the other controller,
The other controller is a data writing method by a storage device, comprising a copy source slave task and a copy source slave cache that are slaves of the copy source master task and the copy source master cache provided in the one controller. ,
Before the copy source master task included in the one controller receives write request data from the host, stores it in the copy source master cache, and duplexes the write request data to the copy source slave task included in the other controller To the copy destination master task,
The copy destination master task included in the other controller receives write request data from the copy source master task included in the one controller, stores the write request data in the copy destination master cache, and copies to the copy source master task. Notify completion,
When the copy source master task included in the one controller receives a copy completion notification from the copy destination master task, it notifies the host of the write end ,
further,
The copy source master task included in the one controller receives a copy completion notification from the copy destination master task and notifies the host of the write end, and then the write stored in the copy source master cache. Duplicate request data to the copy source slave task of the other controller,
The copy source slave task provided in the other controller stores write request data in the copy source slave cache, and then notifies the copy source master task provided in the one controller of completion of duplication,
When the copy source master task provided in the one controller receives a notification of duplication completion from the copy source slave task, the copy destination master task is notified of duplication completion of the write request data on the copy source side, and
After the copy destination master task provided in the other controller notifies the copy source master task of the copy completion, the copy destination provided in the one controller includes the write request data stored in the copy destination master cache. Duplicate to slave tasks,
The copy destination slave task provided in the one controller stores write request data in the copy destination slave cache, and then notifies the copy destination master task provided in the other controller of completion of duplication,
When the copy destination master task provided in the other controller receives a notification of completion of duplication from the copy destination slave task, it notifies the copy source master task of duplication completion of the write request data on the copy destination side,
Writing method.
JP2013061713A 2013-03-25 2013-03-25 Storage device Expired - Fee Related JP5907103B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013061713A JP5907103B2 (en) 2013-03-25 2013-03-25 Storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013061713A JP5907103B2 (en) 2013-03-25 2013-03-25 Storage device

Publications (2)

Publication Number Publication Date
JP2014186599A JP2014186599A (en) 2014-10-02
JP5907103B2 true JP5907103B2 (en) 2016-04-20

Family

ID=51834093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013061713A Expired - Fee Related JP5907103B2 (en) 2013-03-25 2013-03-25 Storage device

Country Status (1)

Country Link
JP (1) JP5907103B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4272275B2 (en) * 1998-04-28 2009-06-03 株式会社日立製作所 Storage subsystem
JP3186725B2 (en) * 1998-12-25 2001-07-11 日本電気株式会社 Disk array control device, disk array control system, method thereof, and storage medium storing program
JP2003099208A (en) * 2001-09-25 2003-04-04 Toshiba Corp Method for data transfer between disk arrays and disk array system
JP4090400B2 (en) * 2003-07-24 2008-05-28 株式会社日立製作所 Storage system
JP4477906B2 (en) * 2004-03-12 2010-06-09 株式会社日立製作所 Storage system
JP2008047029A (en) * 2006-08-21 2008-02-28 Nec Corp Redundancy method and computer program for storage system and cache

Also Published As

Publication number Publication date
JP2014186599A (en) 2014-10-02

Similar Documents

Publication Publication Date Title
CN103124961B (en) Host Based write sequence for asynchronous replication
CN109074297A (en) Data integrity inspection and faster application recovery are enabled in the data set of synchronous duplication
US6073221A (en) Synchronization of shared data stores through use of non-empty track copy procedure
JP2012074039A (en) System and method for distributed processing of file on chunk unit basis
CN104937576B (en) Coordinate the duplication for the data being stored in the system based on nonvolatile memory
JP2006293910A (en) Safe and fast database replication technology
CN104484354B (en) Ensure the Snapshot Method and storage device of data consistency
JP2007265271A (en) Storage device, data arrangement method and program
JP5907103B2 (en) Storage device
CN103970620B (en) Quasi continuity data replication method and device
JP2005284980A (en) Initialization processing method for duplex system and remote disk mirroring
JP6708923B2 (en) Storage system
JP2009123175A (en) Storage system, storage device, and data update method
JP5644795B2 (en) Storage device, data recovery method and program
JP5297479B2 (en) Mirroring recovery device and mirroring recovery method
JP2004326357A (en) Storage system with redundant block, as well as control device, control method, program and recording medium for the storage system
WO2016063461A1 (en) Cluster system, cluster node, cluster control method and computer readable medium
JP2014089608A (en) Storage device and data backup method
JP2007328595A (en) Server system, and synchronization method for the system
JP2005196641A (en) Disk array device, backup system and backup method
JP2011170680A (en) Fault tolerant server
JP4822024B2 (en) Fault-tolerant server, full backup method, and full backup program
CN104360959A (en) Data storage method and controller
JP2010244130A (en) Disk array device and disk array control method
US20080072001A1 (en) System, Method and Computer Program Product for Copying Data

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140711

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150424

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150602

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150728

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: 20160223

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160307

R150 Certificate of patent or registration of utility model

Ref document number: 5907103

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees