JP2000163277A - Method for data transfer between dasd controllers - Google Patents

Method for data transfer between dasd controllers

Info

Publication number
JP2000163277A
JP2000163277A JP10341196A JP34119698A JP2000163277A JP 2000163277 A JP2000163277 A JP 2000163277A JP 10341196 A JP10341196 A JP 10341196A JP 34119698 A JP34119698 A JP 34119698A JP 2000163277 A JP2000163277 A JP 2000163277A
Authority
JP
Japan
Prior art keywords
dasd
write
processing
data
primary
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.)
Withdrawn
Application number
JP10341196A
Other languages
Japanese (ja)
Inventor
Tetsuya Kinoshita
徹哉 木下
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP10341196A priority Critical patent/JP2000163277A/en
Publication of JP2000163277A publication Critical patent/JP2000163277A/en
Withdrawn legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To shorten the time needed for a copying processing by transferring write instructions to a recovery system and performing the copying processing to DASD of the recovery system after a writing process to the DASD was continuously performed. SOLUTION: Primary PRA22A issues a write instruction WD1 to secondary PRA22B through an interface and the secondary PRA22B when completing the writing processing to a secondary device as to the write instruction WD1, returns a write completion note to the primary PRA22A. Similarly, write instructions WD2 and WD3 and a writing end note are transferred between the primary PRA22A and secondary PRA22B. The primary PRA22A writes and updates the completion of all copies to the secondary device in a progress table and CA21A once deciding the completion issues a connection request to a channel 10A.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、通常運用システム
のDASD(Direct Access Storage Device)に保持され
るデータをリカバリシステムのDASDにて二重化すべ
く、これらのシステムにおけるDASDをそれぞれ制御
するDASD制御装置間を接続し、更新データ(書込デ
ータ)を通常運用システムからリカバリシステムへ転送
するデータ転送方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DASD controller for controlling a DASD (Direct Access Storage Device) of a normal operation system in order to duplicate the data held in the DASD of the recovery system in order to duplicate the data in the DASD of the recovery system. And a data transfer method for transferring update data (write data) from a normal operation system to a recovery system.

【0002】[0002]

【従来の技術】ユーザデータを扱う通常運用システム
が、万一、災害等により使用不能な状態に陥っても、ユ
ーザデータを失うことなく即座にそのユーザデータを用
いて運用を続行できるようにすべく、一般に、通常運用
システムにおけるユーザデータと全く同じものをリカバ
リシステムで保持し、ユーザデータを二重化することが
行なわれている。
2. Description of the Related Art Even if a normal operation system for handling user data falls into an unusable state due to a disaster or the like, operation can be immediately continued using the user data without losing the user data. Therefore, generally, the same data as the user data in the normal operation system is stored in the recovery system to duplicate the user data.

【0003】そこで、従来より、2つのシステムにおけ
るDASD(例えば磁気ディスク装置)をそれぞれ制御
するDASD制御装置間が接続され、通常運用システム
における更新データを通常運用システムからリカバリシ
ステムへ転送して2つのDASDにおけるデータの等価
性を確保する同期型のコピー機能(リモート転送機能)
がそなえられている。このコピー機能は、隔たった別シ
ステムへの全てのデータの同一性を保持する同期型のコ
ピー機能であり、通常運用システムで何らかの問題が発
生してもデータを失うことがない機能を提供する。な
お、上述した2つのシステムが、例えばMVS(Multip
le Virtual Space)等の大型汎用計算機用OS(Operati
ng System)の配下である場合、DASD制御装置間は、
例えば ESCONインタフェースにより接続される。
[0003] Conventionally, a DASD control device for controlling a DASD (for example, a magnetic disk device) in each of two systems is connected to each other, and update data in the normal operation system is transferred from the normal operation system to the recovery system. Synchronous copy function (remote transfer function) to ensure data equivalence in DASD
Is provided. This copy function is a synchronous copy function that maintains the identity of all data to separate systems separated from each other, and provides a function in which data is not lost even if some problem occurs in the normal operation system. The above two systems are, for example, MVS (Multip
OS for large general-purpose computers (Operati
ng System), the DASD controllers
For example, it is connected by ESCON interface.

【0004】図3は、上述のようなコピー機能(リモー
ト転送機能)をそなえたシステムの一般的な構成を示す
ブロック図であり、この図3において、アプリケーショ
ンサイトとは、通常運用システムを指し、リカバリサイ
トとは、アプリケーションサイトのプライマリデバイス
(DASD)の持つデータと等価のデータを保持するリ
カバリシステムを指す。なお、図3において、アプリケ
ーションサイトとリカバリサイトとで同じ機能を果たす
構成要素には同じ数字を符号として付与し、また、アプ
リケーションサイトに属する構成要素を示す符号には
“A”を付し、リカバリサイトに属する構成要素を示す
符号には“B”を付している。
FIG. 3 is a block diagram showing a general configuration of a system having a copy function (remote transfer function) as described above. In FIG. 3, an application site indicates a normal operation system, The recovery site refers to a recovery system that holds data equivalent to the data of the primary device (DASD) of the application site. In FIG. 3, the same numbers are assigned to components that perform the same function at the application site and the recovery site, and “A” is assigned to the symbols that indicate the components belonging to the application site. “B” is attached to the reference numeral indicating the component belonging to the site.

【0005】アプリケーションサイトは、通常運用に使
用されるホスト1A,プライマリコントロールユニット
(DASD制御装置)2Aおよびプライマリデバイス
(DASD)3Aから構成されている。プライマリコン
トロールユニット2Aは、ホスト1Aからの指示に従っ
て、プライマリデバイス3Aに対するアクセス制御を行
なうもので、ホスト1Aのチャネル10Aとのデータ転
送を司るCA(Channel Adapter)21Aと、 ESCONイン
タフェース等のインタフェース4を介してプライマリ/
セカンダリ間のデータ転送を司るPRA(Peer-to-peer
Remote Adapter)22Aとを有している。
[0005] The application site includes a host 1A, a primary control unit (DASD controller) 2A, and a primary device (DASD) 3A which are used for normal operation. The primary control unit 2A controls access to the primary device 3A in accordance with an instruction from the host 1A. The primary control unit 2A includes a CA (Channel Adapter) 21A that controls data transfer with the channel 10A of the host 1A and an interface 4 such as an ESCON interface. Via primary /
PRA (Peer-to-peer) that controls data transfer between secondary
Remote Adapter) 22A.

【0006】同様に、リカバリサイトは、等価データの
保持に使用されるホスト1B,セカンダリコントロール
ユニット(DASD制御装置)2Bおよびセカンダリデ
バイス(DASD)3Bから構成されている。セカンダ
リコントロールユニット2Bは、セカンダリデバイス3
Bに対するアクセス制御を行なうもので、CA21B
と、インタフェース4を介してプライマリ/セカンダリ
間のデータ転送を司るPRA22Bとを有している。
Similarly, the recovery site includes a host 1B used for holding equivalent data, a secondary control unit (DASD control device) 2B, and a secondary device (DASD) 3B. The secondary control unit 2B is a secondary device 3
B for controlling access to CA 21B
And a PRA 22B that controls data transfer between the primary and secondary via the interface 4.

【0007】次に、上述のごとく構成されたシステムに
おいて、アプリケーションサイトのホスト1Aが、プラ
イマリデバイス3Aのデータに対するライト命令を、プ
ライマリコントロールユニット2Aへ発行した場合の動
作(コピー機能/リモート転送機能)について、図4お
よび図5を参照しながら説明する。なお、図4は、ホス
ト1Aが発行するライト命令(CCW:Channel Command
Word)の一例を示すものであり、図5は、アプリケーシ
ョンサイトとリカバリサイトとの間におけるデータ送受
信(従来のコピー処理)の一連の流れを説明するための
オペレーションフローチャートである。
Next, in the system configured as described above, the operation when the host 1A of the application site issues a write command to the data of the primary device 3A to the primary control unit 2A (copy function / remote transfer function). Will be described with reference to FIG. 4 and FIG. FIG. 4 shows a write command (CCW: Channel Command) issued by the host 1A.
FIG. 5 is an operation flowchart for explaining a series of data transmission / reception (conventional copy processing) between an application site and a recovery site.

【0008】ホスト1からのライト命令は、例えば図4
に示すようなCCWと呼ばれるチャネルコマンド列で通
知される。つまり、DX(Define Extent)コマンドおよ
びLR(Locate Record)コマンドにより、以下に続くリ
ード/ライト動作の種別を指定する。ここでは、指定レ
コード3つ分のデータ部のライト処理(WD1〜WD
3)を想定する。
A write command from the host 1 is, for example, as shown in FIG.
Is notified by a channel command sequence called CCW as shown in FIG. That is, the type of the following read / write operation is specified by the DX (Define Extent) command and the LR (Locate Record) command. Here, the write process (WD1 to WD) of the data portion for three designated records is performed.
Assume 3).

【0009】図5に示すように、CA21Aは、ホスト
1Aのチャネル10AからDXコマンドおよびLRコマ
ンドを受け取り(ステップA11)、続いて最初のライ
ト命令WD1を受け取ると(ステップA12)、プライ
マリデバイス3Aへのデータ書込処理を行なう(ステッ
プA13)。そして、CA21Aは、進捗テーブル(図
示略;主記憶上に存在)にセカンダリデバイス3Bへの
コピー事象が発生した旨(コピー要因)を書込更新し、
プライマリPRA22Aは、進捗テーブルを参照してコ
ピー要因を読み取ると(ステップA14)、インタフェ
ース4を介しセカンダリPRA22Bに対してライト命
令WD1を発行する(ステップA15)。
As shown in FIG. 5, the CA 21A receives the DX command and the LR command from the channel 10A of the host 1A (step A11), and then receives the first write command WD1 (step A12). (Step A13). Then, the CA 21A writes and updates the fact that a copy event to the secondary device 3B has occurred (copy factor) in a progress table (not shown; present in the main memory),
When reading the copy factor with reference to the progress table (step A14), the primary PRA 22A issues a write command WD1 to the secondary PRA 22B via the interface 4 (step A15).

【0010】セカンダリPRA22Bは、リカバリサイ
トにおけるセカンダリデバイス3Bへのライト処理を完
了すると、プライマリPRA22Aに対して書込終了通
知を返す(ステップA16)。プライマリPRA22A
は、セカンダリデバイス3Bへのコピー終了の旨を進捗
テーブルに書込更新し、CA21Aは、進捗テーブルを
参照してライト命令WD1の処理の終了を判断し(ステ
ップA17,A18)、ホスト1Aのチャネル10Aに
対し終了を通知する(ステップA19)。
When completing the write processing to the secondary device 3B at the recovery site, the secondary PRA 22B returns a write completion notification to the primary PRA 22A (step A16). Primary PRA22A
Writes and updates the completion of copying to the secondary device 3B in the progress table, and the CA 21A refers to the progress table to determine the end of the processing of the write command WD1 (Steps A17 and A18), and the channel of the host 1A. The end is notified to 10A (step A19).

【0011】以下、ライト命令WD2に対してステップ
A21〜A28の処理を行ない、ライト命令WD3に対
してステップA31〜A38の処理を行なう。ここで、
ステップA21〜A28は前述したステップA12〜A
19の処理にそれぞれ対応するとともに、ステップA3
1〜A38は前述したステップA12〜A19の処理に
それぞれ対応するものである。即ち、チャネル10Aか
らDXコマンドおよびLRコマンドを受け取った後は、
指定レコード3つ分のデータ部をセカンダリデバイス3
Bにコピーするため、同様の処理が3回繰り返して行な
われている。
Hereinafter, the processing of steps A21 to A28 is performed for the write instruction WD2, and the processing of steps A31 to A38 is performed for the write instruction WD3. here,
Steps A21-A28 correspond to steps A12-A described above.
Step A3
1 to A38 correspond to the processing of steps A12 to A19, respectively. That is, after receiving the DX command and the LR command from the channel 10A,
The data part for three designated records is the secondary device 3
The same process is repeated three times for copying to B.

【0012】以上が、1組のCCWチェインについての
アプリケーションサイトからリカバリサイトへのコピー
処理の一連の流れであり、上述のようなコピー処理を行
なうことにより、アプリケーションサイト内でホスト1
Aによりプライマリデバイス3Aに対する書込等の変更
が行なわれても、常時、アプリケーションサイト内のプ
ライマリデバイス3Aとリカバリサイト内のセカンダリ
デバイス3Bとには等価なデータが保持されることにな
る。
The above is a series of flow of the copy process from the application site to the recovery site for one set of CCW chains. By performing the copy process as described above, the host 1
Even if A makes a change such as writing to the primary device 3A, equivalent data is always held in the primary device 3A in the application site and the secondary device 3B in the recovery site.

【0013】[0013]

【発明が解決しようとする課題】コントロールユニット
(DASD制御装置)2A,2B間のコピー機能は、通
常のライト処理に伴い動作する。アプリケーションサイ
トにおいてプライマリデバイス3Aのデータに対するラ
イト処理が発生すると、プライマリコントロールユニッ
ト2Aの内部処理によってセカンダリ側(リカバリサイ
ト側)へ等価データのコピーが行なわれるが、このと
き、アプリケーションサイトのホスト1Aは、上記コピ
ー機能の有無に無関係に動作する。コピー機能のライト
処理では、セカンダリ側へのコピーに要する時間だけ、
通常処理よりも処理時間がかかってしまい、通常処理と
の性能差が問われる。
The copy function between the control units (DASD control devices) 2A and 2B operates in conjunction with normal write processing. When a write process for the data of the primary device 3A occurs in the application site, the equivalent data is copied to the secondary side (recovery site side) by the internal processing of the primary control unit 2A. At this time, the host 1A of the application site It operates regardless of the presence or absence of the copy function. In the write process of the copy function, only the time required for copying to the secondary
The processing time is longer than the normal processing, and a performance difference from the normal processing is required.

【0014】つまり、従来技術では、一般通常運用処理
よりも、セカンダリへのコピー処理時間分が余計にかか
り、処理時間の増大が問題となるとともに、処理時間の
増大に伴い、接続しているチャネルの占有時間も増大
し、他のI/O処理の処理能力が劣化する要因にもなっ
ている。本発明は、このような課題に鑑み創案されたも
ので、リカバリシステムのDASDへのコピー処理に要
する時間の短縮をはかるとともに、そのコピー処理の実
行中はチャネルを解放して他のI/O処理に当てること
ができるようにして、総合的にDASD制御装置間のコ
ピー機能の性能を改善した、データ転送方法を提供する
ことを目的とする。
That is, in the prior art, the copy processing time to the secondary takes extra time than the general normal operation processing, so that the processing time increases, and the processing time increases. The occupation time of the I / O processing also increases, which is a factor of deteriorating the processing capacity of other I / O processing. The present invention has been made in view of such a problem, and aims to reduce the time required for a recovery system to perform a copy process to a DASD, and to release a channel during the copy process to release another I / O. It is an object of the present invention to provide a data transfer method in which the performance of a copy function between DASD controllers is improved in a comprehensive manner so that the data transfer method can be used for processing.

【0015】[0015]

【課題を解決するための手段】上記目的を達成するため
に、本発明のDASD制御装置間のデータ転送方法(請
求項1)は、通常運用システムのDASDに保持される
データをリカバリシステムのDASDにて二重化すべ
く、これらのシステムにおけるDASDをそれぞれ制御
するDASD制御装置間を接続し、該通常運用システム
のDASDに対する更新データを、該通常運用システム
から該リカバリシステムへ転送して該リカバリシステム
のDASDにコピーするための方法であって、該通常運
用システムにおいて該リカバリシステムのDASDに対
するコピー要因となる複数のライト命令が連続的に上位
装置から該DASD制御装置に対して発行された場合、
該複数のライト命令に応じて該通常運用システムのDA
SDに対するライト処理を連続的に行なった後、該複数
のライト命令を該リカバリシステムへ転送し該リカバリ
システムのDASDに対するコピー処理を行なうことを
特徴としている。
In order to achieve the above object, a method for transferring data between DASD controllers according to the present invention (claim 1) uses a DASD of a recovery system for transferring data held in a DASD of a normal operation system. In order to make the system redundant, the DASD controllers controlling the DASDs in these systems are connected to each other, and update data for the DASD of the normal operation system is transferred from the normal operation system to the recovery system, and A method for copying to a DASD, wherein in the normal operation system, when a plurality of write instructions that cause a copy to the DASD of the recovery system are successively issued from a higher-level device to the DASD controller,
DA of the normal operation system in response to the plurality of write instructions
After continuously performing write processing on SD, the plurality of write instructions are transferred to the recovery system, and copy processing on DASD of the recovery system is performed.

【0016】このとき、該複数のライト命令を一つのラ
イト命令にまとめて該リカバリシステムへ転送してもよ
いし(請求項2)、該リカバリシステムのDASDに対
するコピー処理の実行中は、該通常運用システムにおい
て該複数のライト命令を該上位装置から該DASD制御
装置へ送信するために使用していたチャネルを解放して
もよい(請求項3)。
At this time, the plurality of write instructions may be combined into one write instruction and transferred to the recovery system (claim 2). In the operation system, the channel used to transmit the plurality of write commands from the higher-level device to the DASD controller may be released (claim 3).

【0017】上述した本発明のDASD制御装置間のデ
ータ転送方法(請求項1)では、複数のライト命令が連
続的に発行された場合、通常運用システム内でその複数
のライト命令に応じたライト処理を行なってから、リカ
バリシステムへの転送(コピー処理)が行なわれるの
で、1つのライト命令についてライト処理を行なう度に
コピー処理を行なっていた従来技術に比べ重複処理を解
消することができる。
In the above-described data transfer method between DASD controllers according to the present invention (claim 1), when a plurality of write instructions are continuously issued, a write operation corresponding to the plurality of write instructions is performed in a normal operation system. Since the transfer (copy processing) to the recovery system is performed after the processing is performed, the overlapping processing can be eliminated as compared with the related art in which the copy processing is performed every time the write processing is performed for one write instruction.

【0018】このとき、複数のライト命令を一つのライ
ト命令にまとめて転送することにより(請求項2)、コ
ピー処理に要する時間を短縮できるほか、コピー処理中
は従来占有していたチャネルを解放することにより(請
求項3)、チャネルは他のI/O処理を実行することが
可能になる。
At this time, by transferring a plurality of write instructions collectively into one write instruction (claim 2), the time required for the copy processing can be shortened, and the channel occupied conventionally during the copy processing is released. By doing so (claim 3), the channel can execute other I / O processing.

【0019】[0019]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。本発明の一実施形態としてのDA
SD制御装置間のデータ転送方法が適用されるシステム
は、図3に示したものと同様に構成されるので、その詳
細な説明は省略する。なお、本実施形態のデータ転送方
法は、図5により前述した従来のデータ転送のためのフ
ァームウェア(プログラム)に、若干の変更を施すこと
によって容易に実現される。
Embodiments of the present invention will be described below with reference to the drawings. DA as an embodiment of the present invention
Since the system to which the data transfer method between the SD control devices is applied is configured in the same manner as that shown in FIG. 3, a detailed description thereof will be omitted. The data transfer method according to the present embodiment can be easily realized by slightly modifying the firmware (program) for the conventional data transfer described above with reference to FIG.

【0020】本発明の一実施形態において行なわれる、
アプリケーションサイトおよびリカバリサイト内のデー
タ等価性を確保するためのデータ転送手順(プライマリ
コントロールユニット2Aとセカンダリコントロールユ
ニット2Bとの間のデータ送受信の一例)について、図
1を参照しながら説明する。なお、図1は、アプリケー
ションサイト側のホスト1Aからの起動による、プライ
マリコントロールユニット2Aとセカンダリコントロー
ルユニット2Bとの間におけるデータ送受信(コピー処
理)の一連の流れを説明するためのオペレーションフロ
ーチャートである。
In one embodiment of the present invention,
A data transfer procedure (an example of data transmission / reception between the primary control unit 2A and the secondary control unit 2B) for ensuring data equivalence in the application site and the recovery site will be described with reference to FIG. FIG. 1 is an operation flowchart for explaining a series of flows of data transmission / reception (copy processing) between the primary control unit 2A and the secondary control unit 2B upon activation from the host 1A on the application site side.

【0021】また、本実施形態においても、アプリケー
ションサイトのホスト1Aが、プライマリデバイス3A
のデータに対するライト命令(図4に示すCCW列)
を、プライマリコントロールユニット2Aへ発行した場
合の動作(コピー機能/リモート転送機能)について説
明する。図1に示すように、CA21Aは、ホスト1A
のチャネル10AからDXコマンドおよびLRコマンド
を受け取ると(ステップS11)、そのLRコマンドの
コマンドパラメータにより、以下に続くリード/ライト
処理の種別,個数(レコード数)を認識することができ
る。例えば図4に示したCCWチェインの想定におい
て、LRコマンドの内容によって、CA21Aは、以下
にライトデータが3つ続けてチェインされることを事前
に知ることができる。それにより、CA21Aはセカン
ダリへのコピー処理も3レコード分だと認識でき、この
コピー処理をプライマリへのライト処理後に3レコード
分連続で行なう。
Also in this embodiment, the host 1A of the application site is connected to the primary device 3A.
Write instruction for the data in (CCW column shown in FIG. 4)
(Copy function / remote transfer function) when is issued to the primary control unit 2A. As shown in FIG. 1, the CA 21A is connected to the host 1A.
When the DX command and the LR command are received from the channel 10A (step S11), the type and number (record number) of the following read / write processing can be recognized by the command parameters of the LR command. For example, in the assumption of the CCW chain shown in FIG. 4, the content of the LR command allows the CA 21A to know in advance that three write data will be successively chained below. As a result, the CA 21A can recognize that the copy processing to the secondary is also for three records, and performs this copy processing for three records continuously after the write processing to the primary.

【0022】つまり、CA21Aは、続いて最初のライ
ト命令WD1を受け取り(ステップS12)、プライマ
リデバイス3Aへのデータ書込処理を行ない(ステップ
S13)、チャネル10Aに対し、プライマリ側でのラ
イト命令WD1による書込処理の終了を通知する(ステ
ップS14)。ライト命令WD1の書込終了通知を受け
たホスト1A側(チャネル10A)からは、次のライト
命令WD2が送られ(ステップS21)、このライト命
令WD2を受け取ったCA21Aは、プライマリデバイ
ス3Aへのデータ書込処理を行ない(ステップS2
2)、チャネル10Aに対し、プライマリ側でのライト
命令WD2による書込処理の終了を通知する(ステップ
S23)。そして、データWD2の書込終了通知を受け
たホスト1A側(チャネル10A)からは、最後のライ
ト命令WD3が送られてくる(ステップS31)。
That is, the CA 21A subsequently receives the first write command WD1 (step S12), performs data write processing to the primary device 3A (step S13), and sends the channel 10A a write command WD1 on the primary side. (Step S14). The next write command WD2 is sent from the host 1A (channel 10A) that has received the write completion notification of the write command WD1 (step S21), and the CA 21A that receives the write command WD2 sends the data to the primary device 3A. Write processing is performed (step S2
2) Notify the channel 10A of the end of the write processing by the write instruction WD2 on the primary side (step S23). Then, the last write command WD3 is sent from the host 1A (channel 10A) that has received the write completion notification of the data WD2 (step S31).

【0023】3つ目のライト命令WD3を受け取ったC
A21Aは、プライマリデバイス3Aへのデータ書込処
理を行なった後(ステップS32)、リカバリサイト側
のセカンダリデバイス3Bへのコピー処理を行なう必要
があることを認識し、そのコピー処理の間、チャネル1
0Aから切り離れるべくチャネル10Aに対して切断要
求を発行し(ステップS33)、この切断要求を受けた
ホスト1A側(チャネル10A)から切断通知を受け取
ることで(ステップS34)、ホスト1Aから切断され
る。
C receiving the third write instruction WD3
After performing the data write process on the primary device 3A (step S32), the A21A recognizes that it is necessary to perform the copy process on the secondary device 3B on the recovery site side, and during the copy process, the channel 1
A disconnection request is issued to the channel 10A to disconnect from the host 1A (step S33), and a disconnection notification is received from the host 1A (channel 10A) receiving the disconnection request (step S34), thereby disconnecting from the host 1A. You.

【0024】続いて、CA21Aは、セカンダリデバイ
ス3Bに3レコード分のコピー処理を行なう必要がある
旨(コピー要因)を進捗テーブルに書込更新し、プライ
マリPRA22Aは、進捗テーブルを参照してセカンダ
リ側へのコピー処理を行なう必要を認識すると(ステッ
プS41)、コピー処理を開始する。つまり、プライマ
リPRA22Aは、インタフェース4を介し、まず、ラ
イト命令WD1をセカンダリPRA22Bに対して発行
し(ステップS42)、セカンダリPRA22Bは、ラ
イト命令WD1についてのセカンダリデバイス3Bへの
ライト処理を完了すると、プライマリPRA22Aに対
して書込終了通知を返す(ステップS43)。以下同様
にして、プライマリPRA22AとセカンダリPRA2
2Bとの間で、ライト命令WD2,WD3および書込終
了通知のやり取りを行なう(ステップS44〜S4
7)。
Subsequently, the CA 21A writes and updates in the progress table that copy processing for three records needs to be performed on the secondary device 3B (copy factor), and the primary PRA 22A refers to the progress table to update the secondary device 3B. When the necessity of performing the copy process to the server is recognized (step S41), the copy process is started. That is, the primary PRA 22A first issues the write command WD1 to the secondary PRA 22B via the interface 4 (step S42). When the secondary PRA 22B completes the write processing for the write command WD1 to the secondary device 3B, the primary PRA 22A A write end notification is returned to the PRA 22A (step S43). Similarly, the primary PRA 22A and the secondary PRA 2
2B, write commands WD2 and WD3 and a write end notification are exchanged (steps S44 to S4).
7).

【0025】そして、3つ目のライト命令WD3につい
ての書込終了通知を受けたプライマリPRA22Aは、
セカンダリデバイス3Bへの全コピー処理を終了した旨
を進捗テーブルに書込更新し、CA21Aは、進捗テー
ブルを参照してライト命令WD1〜WD3についてのコ
ピー処理の終了を判断すると(ステップS48,S4
9)、チャネル10Aに接続要求を発行し(ステップS
50)、この接続要求を受けたホスト1A側(チャネル
10A)から接続通知を受け取ることで(ステップS5
1)、ホスト1Aと接続される。この状態で、CA21
Aは、チャネル10Aに対し終了を通知する(ステップ
S52)。
Then, the primary PRA 22A, which has received the write end notification for the third write instruction WD3,
The progress table is written and updated to the effect that all copy processing to the secondary device 3B has been completed, and the CA 21A determines that the copy processing for the write commands WD1 to WD3 has been completed with reference to the progress table (steps S48 and S4).
9), issue a connection request to channel 10A (step S)
50), by receiving a connection notification from the host 1A side (channel 10A) receiving the connection request (step S5).
1) Connected to host 1A. In this state, CA21
A notifies the end to the channel 10A (step S52).

【0026】以上のようにして、本実施形態のデータ転
送方法を用いた、1組のCCWチェインについてのアプ
リケーションサイトからリカバリサイトへのコピー処理
の一連の流れであり、上述のようなコピー処理を行なう
ことにより、アプリケーションサイト内でホスト1Aに
よりプライマリデバイス3Aに対する書込等の変更が行
なわれても、常時、アプリケーションサイト内のプライ
マリデバイス3Aとリカバリサイト内のセカンダリデバ
イス3Bとには等価なデータが保持されることになる。
As described above, this is a series of flow of the copy process from the application site to the recovery site for one set of CCW chains using the data transfer method of the present embodiment. By doing so, even if a change such as writing to the primary device 3A is made by the host 1A in the application site, equivalent data is always stored in the primary device 3A in the application site and the secondary device 3B in the recovery site. Will be retained.

【0027】上述のごとく、本実施形態のデータ転送方
法によれば、セカンダリへのコピー処理を連続して行な
うことにより(ステップS41〜S48参照)、従来、
単独でライト命令毎に行なっていた進捗テーブルの更新
/参照処理を一まとめにすることができ、重複処理を解
消し、処理速度を高速化することができる。また、コピ
ー処理を行なっている間、チャネル10AとCA22A
とを切り離し、チャネル10Aを解放することができる
ので、このチャネル10Aは他のI/O処理を受け付け
ることが可能となり、装置としての性能を向上させるこ
とができる。
As described above, according to the data transfer method of the present embodiment, the copy processing to the secondary is performed continuously (see steps S41 to S48), and
The update / reference processing of the progress table, which has been performed independently for each write instruction, can be integrated, thereby eliminating the duplication processing and increasing the processing speed. During the copy process, the channels 10A and CA22A are used.
Can be disconnected and the channel 10A can be released, so that this channel 10A can receive other I / O processing, and the performance as an apparatus can be improved.

【0028】このようにして、本発明によれば、総合的
にコントロールユニット2A,2B間のコピー機能の性
能を大幅に改善することができるのである。なお、本発
明は上述した実施形態に限定されるものではなく、本発
明の趣旨を逸脱しない範囲で種々変形して実施すること
ができる。例えば、上述した実施形態では図1のステッ
プS42〜S47で示したようにライト命令毎に行なっ
ていた処理を、図2にステップS400で示すように、
セカンダリ側へのコピー命令(ライト命令)WDを3つ
のライト命令WD1,WD2,WD3を一まとめにして
送信し、セカンダリ側との受渡しを1回に短縮すること
で、図1に示した実施形態よりも更に処理速度を高速化
することができる。図2において、図1にて説明した処
理と同じ処理を示すステップには、図1と同じステップ
番号が付されている。
As described above, according to the present invention, the performance of the copy function between the control units 2A and 2B can be greatly improved. It should be noted that the present invention is not limited to the above-described embodiment, and can be implemented with various modifications without departing from the spirit of the present invention. For example, in the above-described embodiment, the processing performed for each write instruction as shown in steps S42 to S47 of FIG. 1 is changed to that of step S400 in FIG.
The copy instruction (write instruction) WD to the secondary side is transmitted as a set of three write instructions WD1, WD2, and WD3, and the delivery to the secondary side is shortened to one time, whereby the embodiment shown in FIG. It is possible to further increase the processing speed. In FIG. 2, steps indicating the same processes as those described in FIG. 1 are denoted by the same step numbers as in FIG.

【0029】[0029]

【発明の効果】以上詳述したように、本発明のDASD
制御装置間のデータ転送方法(請求項1)によれば、1
つのライト命令についてライト処理を行なう度にコピー
処理を行なっていた従来技術に比べ重複処理を解消でき
るので、リカバリシステムのDASDへのコピー処理に
要する時間が大幅に短縮され、処理の高速化を実現でき
る。
As described in detail above, the DASD of the present invention
According to the data transfer method between control devices (claim 1), 1
Duplicate processing can be eliminated compared to the conventional technology, in which copy processing is performed every time write processing is performed for one write instruction. Therefore, the time required for the recovery system to copy data to DASD is greatly reduced, and processing speed is increased. it can.

【0030】また、複数のライト命令を一つのライト命
令にまとめて転送することにより、コピー処理に要する
時間をさらに短縮でき、処理をより高速化することがで
きる(請求項2)。さらに、コピー処理中は従来占有し
ていたチャネルを解放することにより、チャネルは他の
I/O処理を実行することが可能になるので、装置とし
ての性能を向上させることができる(請求項3)。
Further, by transferring a plurality of write instructions collectively into one write instruction, the time required for the copy processing can be further reduced, and the processing can be further speeded up. Furthermore, by releasing the channel that has been occupied conventionally during the copy processing, the channel can execute other I / O processing, so that the performance as an apparatus can be improved. ).

【0031】このように、本発明によれば、総合的にD
ASD制御装置間のコピー機能の性能を大幅に改善する
ことができるのである。
As described above, according to the present invention, D
The performance of the copy function between the ASD controllers can be greatly improved.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の一実施形態としてのDASD制御装置
間のデータ転送方法の手順(プライマリコントロールユ
ニットからセカンダリコントロールユニットへのデータ
転送手順)を説明するためのオペレーションフローチャ
ートである。
FIG. 1 is an operation flowchart illustrating a procedure of a data transfer method between DASD controllers (a procedure of data transfer from a primary control unit to a secondary control unit) as one embodiment of the present invention.

【図2】本発明の一実施形態としてのDASD制御装置
間のデータ転送方法の変形例の手順(プライマリコント
ロールユニットからセカンダリコントロールユニットへ
のデータ転送手順)を説明するためのオペレーションフ
ローチャートである。
FIG. 2 is an operation flowchart illustrating a procedure (a procedure for transferring data from a primary control unit to a secondary control unit) of a modification of the data transfer method between DASD controllers according to an embodiment of the present invention.

【図3】コピー機能(リモート転送機能)をそなえたシ
ステムの一般的な構成を示すブロック図である。
FIG. 3 is a block diagram showing a general configuration of a system having a copy function (remote transfer function).

【図4】ホストが発行するライト命令(CCW)の一例
を示す図である。
FIG. 4 is a diagram illustrating an example of a write instruction (CCW) issued by a host.

【図5】アプリケーションサイトとリカバリサイトとの
間におけるデータ送受信(従来のコピー処理)の一連の
流れを説明するためのオペレーションフローチャートで
ある。
FIG. 5 is an operation flowchart for describing a series of flows of data transmission / reception (conventional copy processing) between an application site and a recovery site.

【符号の説明】[Explanation of symbols]

1A,2A ホスト 2A プライマリコントロールユニット(DASD制御
装置) 2B セカンダリコントロールユニット(DASD制御
装置) 3A プライマリデバイス(DASD) 3B セカンダリデバイス(DASD) 4 インタフェース 10A,10B チャネル 21A,21B PRA 22A,22B CA
1A, 2A Host 2A Primary control unit (DASD controller) 2B Secondary control unit (DASD controller) 3A Primary device (DASD) 3B Secondary device (DASD) 4 Interface 10A, 10B Channels 21A, 21B PRA 22A, 22B CA

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 通常運用システムのDASDに保持され
るデータをリカバリシステムのDASDにて二重化すべ
く、これらのシステムにおけるDASDをそれぞれ制御
するDASD制御装置間を接続し、該通常運用システム
のDASDに対する更新データを、該通常運用システム
から該リカバリシステムへ転送して該リカバリシステム
のDASDにコピーするためのデータ転送方法であっ
て、 該通常運用システムにおいて該リカバリシステムのDA
SDに対するコピー要因となる複数のライト命令が連続
的に上位装置から該DASD制御装置に対して発行され
た場合、該複数のライト命令に応じて該通常運用システ
ムのDASDに対するライト処理を連続的に行なった
後、該複数のライト命令を該リカバリシステムへ転送し
該リカバリシステムのDASDに対するコピー処理を行
なうことを特徴とする、DASD制御装置間のデータ転
送方法。
In order to duplicate data held in a DASD of a normal operation system by a DASD of a recovery system, DASD controllers controlling the DASDs in these systems are connected to each other, A data transfer method for transferring update data from the normal operation system to the recovery system and copying the updated data to the DASD of the recovery system, the method comprising:
When a plurality of write instructions that cause a copy to the SD are successively issued from the higher-level device to the DASD control device, the write processing for the DASD of the normal operation system is continuously performed according to the plurality of write instructions. A method of transferring data between DASD controllers, comprising: transferring the plurality of write instructions to the recovery system after the execution, and performing a copy process on the DASD of the recovery system.
【請求項2】 該複数のライト命令を一つのライト命令
にまとめて該リカバリシステムへ転送することを特徴と
する、請求項1記載のDASD制御装置間のデータ転送
方法。
2. The data transfer method between DASD controllers according to claim 1, wherein said plurality of write instructions are combined into one write instruction and transferred to said recovery system.
【請求項3】 該リカバリシステムのDASDに対する
コピー処理の実行中は、該通常運用システムにおいて該
複数のライト命令を該上位装置から該DASD制御装置
へ送信するために使用していたチャネルを解放すること
を特徴とする、請求項1または請求項2に記載のDAS
D制御装置間のデータ転送方法。
3. During the execution of a copy process for DASD in the recovery system, a channel used for transmitting the plurality of write commands from the higher-level device to the DASD controller in the normal operation system is released. DAS according to claim 1 or 2, characterized in that:
Data transfer method between D control devices.
JP10341196A 1998-12-01 1998-12-01 Method for data transfer between dasd controllers Withdrawn JP2000163277A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10341196A JP2000163277A (en) 1998-12-01 1998-12-01 Method for data transfer between dasd controllers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10341196A JP2000163277A (en) 1998-12-01 1998-12-01 Method for data transfer between dasd controllers

Publications (1)

Publication Number Publication Date
JP2000163277A true JP2000163277A (en) 2000-06-16

Family

ID=18344120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10341196A Withdrawn JP2000163277A (en) 1998-12-01 1998-12-01 Method for data transfer between dasd controllers

Country Status (1)

Country Link
JP (1) JP2000163277A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002157092A (en) * 2000-11-17 2002-05-31 Hitachi Ltd Storage system, and method of transferring data between storage systems
US7716438B2 (en) 2004-03-31 2010-05-11 Hitachi, Ltd. Storage system and back-up method for storage system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002157092A (en) * 2000-11-17 2002-05-31 Hitachi Ltd Storage system, and method of transferring data between storage systems
US7716438B2 (en) 2004-03-31 2010-05-11 Hitachi, Ltd. Storage system and back-up method for storage system

Similar Documents

Publication Publication Date Title
US7971097B2 (en) Data restoring method and an apparatus using journal data and an identification information
US6598174B1 (en) Method and apparatus for storage unit replacement in non-redundant array
US8504765B2 (en) Method of improving efficiency of capacity of volume used for copy function and apparatus thereof
US7089386B2 (en) Method for controlling storage device controller, storage device controller, and program
JPH1063437A (en) Method for integrating storage array control function, and program storag device
US5247618A (en) Transferring data in a digital data processing system
JP2005309550A (en) Remote copying method and system
JPH07248988A (en) Memory controller and related method thereof
JP2003085018A (en) Online data changing method and system by remote copy
JP2006285919A (en) Computer system, computer and remote copy processing method
JP4783076B2 (en) Disk array device and control method thereof
US20090228672A1 (en) Remote copy system and check method
JP2000099359A (en) Restoration in multicomputer system
US7441052B2 (en) Methods and apparatuses for providing copies of stored data for disaster recovery and other uses
JP4305007B2 (en) System switching system, processing method therefor, and processing program therefor
JP2000163277A (en) Method for data transfer between dasd controllers
EP0405861B1 (en) Transferring data in a digital data processing system
JPH1185594A (en) Information processing system for remote copy
JP4294692B2 (en) Information processing system
JP2007128551A (en) Storage area network system
US7240131B1 (en) Method and apparatus for improving the process of making independent data copies in a data processing system
JPH04291618A (en) Duplexed disk control system
JP2001067188A (en) Data duplication system
JP2006085587A (en) Memory crossing control device and disc copying method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060207