JP5907103B2 - Storage device - Google Patents
Storage device Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 claims description 14
- 238000010586 diagram Methods 0.000 description 12
- 230000010076 replication Effects 0.000 description 9
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000007850 degeneration Effects 0.000 description 2
- 230000003111 delayed effect Effects 0.000 description 2
- 230000003362 replicative effect Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
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
具体的に、ストレージ装置は、図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
上記各コントローラ120,130では、論理ディスク(MV,RV)単位でマスタタスクとスレーブタスク(121と131、133と123)が動作し、論理ディスクの情報は、各マスタタスク121,133で管理される。そして、2つのコントローラでデータを冗長管理することで、障害発生時にもデータ保持可能な構成となっている。
In each of the
上述したストレージ装置におけるレプリケーション動作を、図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マスタタスク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
続いて、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
上述したように、複数のコントローラを実装し、冗長性を確保するストレージ装置では、レプリケーション同期転送機能を利用する際には、複数のコントローラ間で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.
<実施形態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
そして、一方のコントローラ20は、MV41に対するMVデータの記憶制御を行うMVマスタタスク21と、MVキャッシュ22と、RVスレーブタスク23と、RVキャッシュ24と、を備えている。また、他方のコントローラ30は、RV42に対するRVデータの記憶制御を行うRVマスタタスク33と、RVキャッシュ34と、MVスレーブタスク31と、MVキャッシュ32と、を備えている。
One
ここで、上記各コントローラ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
次に、上述したストレージ装置におけるレプリケーション動作を、図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
続いて、コントローラ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
続いて、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
また、他方のコントローラ30に設けられたRVマスタタスク33は、上述したようにMVマスタタスク21にコピー完了を通知した後(図6のY3)、一方のコントローラ20に設けられたRVスレーブタスク23に対して書き込み要求データの二重化を実施する(図7のY7)。RVスレーブタスク23は、書き込み要求データをRVキャッシュ24へ格納した後、他方のコントローラ30に設けられたRVマスタタスク33にデータ二重化完了を通知する(図7のY8)。
Further, the
続いて、一方のコントローラ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
このように、本実施形態におけるストレージ装置10は、上記背景技術で説明した技術とは異なり、MV及びRVのデータをコントローラ間(20,30)で二重化する前に、異なるコントローラ20,30にそれぞれ設けられたMVマスタタスク21からRVマスタタスク33に書き込み要求データをコピーし、ホスト1への応答を返却している。これにより、ホストへの応答時間を短縮化することができる。
Thus, unlike the technology described in the background art, the
一方で、本実施形態におけるストレージ装置10では、データ二重化を行なわずにホストへ正常終了を応答しているため、データ二重化完了前にいずれかのコントローラが縮退してしまった場合には、MVキャッシュ、もしくは、RVキャッシュ上の書き込み要求データが失われてしまう。このため、以下に説明するように、書き込み要求データを保持しているMV/RVキャッシュから、データを保持していないRV/MVキャッシュへのデータコピーが必要になる。これにより、データの冗長性も確保している。
On the other hand, since the
具体的に、データ二重化完了前に、他方のコントローラ30が縮退した場合の動作を、図9乃至図10を参照して説明する。まず、図6を参照して説明したように、ホスト1からの書き込み要求データをMVマスタタスク21のMVキャッシュ22に格納すると共に、RVマスタタスク33のRVキャッシュ34に格納し、MVマスタタスク21からホスト1にデータライトの正常終了を通知したこととする(図9のY11〜Y14)。
Specifically, the operation when the
その後、一方のコントローラ20が他方のコントローラ30の縮退を検出すると(図9のY15)、一方のコントローラ20に設けられたMVマスタタスク21は、他方のコントローラ30が備えるRVマスタタスク33からRVデータ二重化完了通知(図8のY10)を受信していないことから、自コントローラ20内のRVキャッシュ24に書き込み要求データが格納されていないと判断する。
Thereafter, when one
すると、MVマスタタスク21は、自コントローラ20が備えるRVスレーブタスク23に対して、MVキャッシュ22に保持している書き込み要求データのコピーを実施する(図10のY16)。そして、コントローラ20が備えるRVスレーブタスク23は、RVキャッシュ24へ書き込み要求データを格納した後、MVマスタタスク21へコピー完了を通知する(図10のY17)。
Then, the
以上により、MV41に対してはMVマスタタスク21から書き込み要求データを記憶することができると共に、RV42に対してはRVスレーブタスク23から書き込み要求データを記憶することができる。従って、冗長性を確保しつつ、上述したようにホスト1への応答時間を短縮化することができる。
As described above, the write request data can be stored from the
次に、データ二重化完了前に、一方のコントローラ20が縮退した場合の動作を、図11乃至図12を参照して説明する。まず、上述同様に、MVマスタタスク21からホスト1にデータライトの正常終了を通知したこととする(図11のY21〜Y24)。
Next, the operation when one
その後、他方のコントローラ30が一方のコントローラ20の縮退を検出すると(図11のY25)、他方のコントローラ30が備えるRVマスタタスク33は、一方のコントローラ20が備えるMVマスタタスク21からMVデータ二重化完了通知(図8のY9)を受信していないことから、自コントローラ30内のMVキャッシュ32に書き込み要求データが格納されていないと判断する。
Thereafter, when the
すると、RVマスタタスク33は、自コントローラ30が備えるMVスレーブタスク31に対して、RVキャッシュ34に保持している書き込み要求データのコピーを実施する(図12のY26)。そして、コントローラ30が備えるMVスレーブタスク31は、MVキャッシュ32へ書き込み要求データを格納した後、RVマスタタスク33へコピー完了を通知する(図12のY27)。
Then, the
以上により、MV41に対しては従系であるMVスレーブタスク31から書き込み要求データを記憶することができると共に、RV42に対してはRVマスタタスク33から書き込み要求データを記憶することができる。従って、冗長性を確保しつつ、上述したようにホストへの応答時間を短縮化することができる。
As described above, the write request data can be stored in the
<付記>
上記実施形態の一部又は全部は、以下の付記のようにも記載されうる。以下、本発明におけるストレージ装置、プログラム、データ書き込み方法の構成の概略を説明する。但し、本発明は、以下の構成に限定されない。
<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
42 RV
100
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.
前記他方のコントローラが備える前記コピー先マスタタスクは、前記コピー元マスタタスクにコピー完了を通知してから、前記コピー先マスタキャッシュに格納されている書き込み要求データを前記一方のコントローラが備える前記コピー先スレーブタスクに二重化し、
前記一方のコントローラが備える前記コピー先スレーブタスクは、前記コピー先スレーブキャッシュに書き込み要求データを格納してから前記他方のコントローラが備える前記コピー先マスタタスクに二重化完了を通知し、
前記他方のコントローラが備える前記コピー先マスタタスクは、前記コピー先スレーブタスクから二重化完了の通知を受けると、前記コピー元マスタタスクに対してコピー先側における書き込み要求データの二重化完了を通知する、
ストレージ装置。 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.
前記一方のコントローラが備える前記コピー元マスタタスクは、前記他方のコントローラが備える前記コピー先マスタタスクからコピー先側における書き込み要求データの二重化完了の通知を受ける前に前記他方のコントローラが縮退した場合に、前記コピー元マスタキャッシュに格納されている書き込み要求データを前記コピー先スレーブタスクにコピーし、当該コピー先スレーブタスクは書き込み要求データを前記コピー先スレーブキャッシュに格納する、
ストレージ装置。 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.
前記他方のコントローラが備える前記コピー先マスタタスクは、前記一方のコントローラが備える前記コピー元マスタタスクからコピー元側における書き込み要求データの二重化完了の通知を受ける前に前記一方のコントローラが縮退した場合に、前記コピー先マスタキャッシュに格納されている書き込み要求データを前記コピー元スレーブタスクにコピーし、当該コピー元スレーブタスクは書き込み要求データを前記コピー元スレーブキャッシュに格納する、
ストレージ装置。 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.
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)
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 |
-
2013
- 2013-03-25 JP JP2013061713A patent/JP5907103B2/en not_active Expired - Fee Related
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 |