JPH11249820A - Disk control system and storage medium - Google Patents

Disk control system and storage medium

Info

Publication number
JPH11249820A
JPH11249820A JP10050270A JP5027098A JPH11249820A JP H11249820 A JPH11249820 A JP H11249820A JP 10050270 A JP10050270 A JP 10050270A JP 5027098 A JP5027098 A JP 5027098A JP H11249820 A JPH11249820 A JP H11249820A
Authority
JP
Japan
Prior art keywords
center
sub
packets
tracks
track
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.)
Pending
Application number
JP10050270A
Other languages
Japanese (ja)
Inventor
Hideki Yamanaka
秀樹 山中
Hideo Takahashi
秀夫 高橋
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 JP10050270A priority Critical patent/JPH11249820A/en
Publication of JPH11249820A publication Critical patent/JPH11249820A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To shorten a processing time and to reduce a re-transmission processing time when a fault occurs to min. by continuously transmitting plural tracks, recognizing the responses when data is backed-up to a sub-center from the side of the main center with a line and reproducing only data of the track whose response is not recognized when the fault occurs. SOLUTION: FCU at the side of the main center 1 corresponds to the data updating requests of the plural tracks from HOST, divides the plural tracks into packets and continuously transmits them to the sub-center 2 with the line. FCU at the side of the sub-center 2 repeats receiving the transmitted packets, assembling them into the original tracks and transmitting the responses to the main center 1 whenever assembling is completed. In this case, the track whose response is not received even after a prescribed time elapses among the plural tracks which are transmitted at the side of the main center 1 is detected, the detected track is divided into the packets and they are continuously transmitted to the sub-center 2 again with the line.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、正センタのデータ
を回線を介して副センタに転送するディスク制御システ
ムおよび記録媒体に関するものである。
[0001] 1. Field of the Invention [0002] The present invention relates to a disk control system and a recording medium for transferring data of a primary center to a secondary center via a line.

【0002】[0002]

【従来の技術】従来、企業の計算機センタ(正センタと
いう)が震災等で被災した場合に、遠隔地に設けた別の
センタ(副センタという)で、計算機業務を可能にする
ため、正センタで磁気ディスク装置(DASDという)
に書き込むファイルを、回線を介して副センタのDAS
Dにバックアップすることが行われている。これによ
り、正センタのホストコンピュータ(ホストという)よ
り、副センタへのバックアップの必要なファイルの更新
が正センタの磁気ディスク制御装置(FCUという)に
よりDASDに書き込むことが行われる時に、回線を介
して副センタのFCUに送信して当該副センタのDAS
Dに対しても同じ更新を行い、常に正センタのDASD
の内容と、副センタのDASDの内容とを一致させてお
くことが行われている。
2. Description of the Related Art Conventionally, when a computer center of a company (referred to as a main center) is damaged by an earthquake or the like, another computer center (referred to as a sub-center) provided in a remote place is required to perform computer operations. Magnetic disk unit (DASD) at the center
The file to be written to the sub-center DAS via the line
D is backing up. Thus, when a file required to be backed up to the sub-center is updated from the host computer of the main center (referred to as host) to the DASD by the magnetic disk controller (referred to as FCU) of the main center, the update is performed via the line. To the FCU of the sub-center to send the DAS of the sub-center.
The same update is performed for D, and the DASD of the main center is always
And the contents of the DASD of the sub-center are matched.

【0003】[0003]

【発明が解決しようとする課題】この際、従来は、図1
3に示すような手順によって正センタから副センタにD
ASDに書き込むデータの送信および応答を行ってい
た。以下構成および動作を詳細に説明する。
At this time, conventionally, FIG.
From the main center to the sub-center by the procedure shown in 3
The transmission and response of data to be written to the ASD have been performed. Hereinafter, the configuration and operation will be described in detail.

【0004】図13は、従来技術の説明図を示す。図1
3において、正センタおよび副センタは、図示のよう
に、CHおよびFCUなどから構成されるものである。
FIG. 13 shows an explanatory diagram of the prior art. FIG.
In 3, the main center and the sub-center are configured by a CH and an FCU, as shown in the figure.

【0005】CHは、チャネル装置であって、ホストと
FCUとの間でデータの送受信を行うものである。FC
Uは、磁気ディスク制御装置であって、磁気ディスク装
置をアクセス制御したり、回線を介して相手のセンタと
の間でデータの送受信を行うものであり、CA、SS、
RAなどから構成されるものである。
[0005] The CH is a channel device for transmitting and receiving data between the host and the FCU. FC
U is a magnetic disk control device for controlling access to the magnetic disk device and transmitting / receiving data to / from a partner center via a line.
It is composed of RA and the like.

【0006】CAは、チャネルアダプタであって、CH
から受け取ったデータをSSに書き込んだり、SSのデ
ータをCHに渡したりなどするものである。SSは、不
揮発性メモリであって、データを一次的に保持するもの
である。
[0006] CA is a channel adapter, CH
Write the data received from the SS to the SS, or pass the data of the SS to the CH. The SS is a non-volatile memory that temporarily holds data.

【0007】RAは、リモートアダプタであって、回線
を介して相手のRAとの間でデータの送受信を行うもの
である。次に、正センタから副センタにデータをバック
アップするときの手順を図13を用いて説明する。
[0007] RA is a remote adapter for transmitting and receiving data to and from a partner RA via a line. Next, a procedure for backing up data from the primary center to the secondary center will be described with reference to FIG.

【0008】(1) 正センタ側のホストがCCW D
X、CCW LRにより、更新処理、更新トラックの位
置情報、更新するトラック数などをFCUに通知する。
ここでは、3トラック(TRK0、1、2)の更新が発
生したとする。
(1) The host on the main center side is CCW D
The X, CCW LR notifies the FCU of the update process, the location information of the updated track, the number of tracks to be updated, and the like.
Here, it is assumed that three tracks (TRK0, 1, 2) have been updated.

【0009】(2) CCW WUDにより、CAはC
Hから更新データを受け取り、SSへ書き込む。 (3) トラック毎にSSに格納が済んだ後、RAによ
り、更新データをパケットに分割(例えば1トラックを
4パケットに分割)して副センタのRAに送信する。
(2) According to CCW WUD, CA becomes C
Update data is received from H and written to SS. (3) After storing in the SS for each track, the update data is divided into packets (for example, one track is divided into four packets) by the RA and transmitted to the RA of the sub-center.

【0010】(4) 副センタのRAは(3)で送信さ
れたパケットを受信して元のトラックとして組立てSS
に書き込む。この際、1トラックを分割したここでは4
個のパケットP0〜P3を連続して副センタのRAに向
けて送信開始してから、副センタのRAがパケットの受
信を開始するまでに図示の回線ディレイ時間がある。実
機上で測定すると約10msの回線ディレイ時間があ
る。
(4) The RA of the sub center receives the packet transmitted in (3) and assembles it as the original track.
Write to. In this case, one track is divided into four
There is a line delay time from the start of transmission of the packets P0 to P3 to the RA of the sub-center continuously until the RA of the sub-center starts receiving packets. When measured on an actual device, there is a line delay time of about 10 ms.

【0011】(5) 副センタのRAは、(4)で全て
のパケットを受信(ここでは4個)を完了すると、応答
パケットを正センタに送信する。 (6) 正センタは(5)で送信された応答パケットを
受信し、トラック0の転送処理が正常終了したことを認
識する。この応答パケットの受信するまでに同様に、図
示の回線ディレイ時間(実機上では約10ms)が発生
する。
(5) When the RA of the sub-center completes receiving all packets (4 in this case) in (4), it transmits a response packet to the main center. (6) The main center receives the response packet transmitted in (5) and recognizes that the transfer processing of the track 0 has been completed normally. Similarly, a line delay time (approximately 10 ms on an actual device) is generated until the response packet is received.

【0012】(7) 以下同様に、トラック1、2につ
いて繰り返す。 以上の手順を示すと、図13のようになり、3トラック
(TRK0、1、2)のデータを正センタから回線を介
して副センタに転送してその応答確認をすると、右側に
記載したように、回線ディレイ時間が6回分、約10m
s×6=60msの処理時間の遅延が生じてしまうとい
う問題があった。
(7) Hereinafter, the same is repeated for tracks 1 and 2. The above procedure is shown in FIG. 13, and the data of three tracks (TRK0, 1, 2) is transferred from the main center to the subcenter via the line and the response is confirmed. In addition, line delay time for 6 times, about 10m
There is a problem that a processing time delay of s × 6 = 60 ms occurs.

【0013】特に、上述したように、3トラック転送し
たことによる回線ディレイ時間が約60msも遅延によ
り生じると、正センタから回線を介して副センタに転送
する全処理時間中の約40%も占めてしまい、処理効率
が極めて悪いという問題がある。
In particular, as described above, if the line delay time caused by the three-track transfer is about 60 ms due to the delay, about 40% of the total processing time for transferring data from the main center to the sub-center via the line is occupied. As a result, there is a problem that the processing efficiency is extremely poor.

【0014】本発明は、これらの問題を解決するため、
正センタ側から回線を介して副センタにデータをバック
アップする際に、複数トラック数分を連続送信してその
応答を確認し、障害発生時に応答確認できないトラック
のデータのみ再送し、回線ディレイ時間による処理効率
の低下を改善して処理時間の短縮化を図ると共に障害発
生時の再送処理時間を最小限に削減することを目的とし
ている。
[0014] The present invention solves these problems.
When data is backed up from the main center to the sub-center via the line, the number of tracks is continuously transmitted and the response is checked, and only the data of the track whose response cannot be confirmed when a failure occurs is retransmitted. It is an object of the present invention to reduce the processing time by improving the processing efficiency and to minimize the retransmission processing time when a failure occurs.

【0015】[0015]

【課題を解決するための手段】図1を参照して課題を解
決するための手段を説明する。図1において、正センタ
1は、各種業務処理を行うセンタであって、ここでは、
データを副センタ2に退避して震災などに備える対象の
センタであり、図示のように、HOST(ホストコンピ
ュータ)、FCU(磁気ディスク制御装置)、LR(接
続装置)、およびDASD(磁気ディスク記憶装置)か
ら構成されるものである。
Means for solving the problem will be described with reference to FIG. In FIG. 1, a main center 1 is a center that performs various business processes.
This is a center where data is evacuated to the sub-center 2 and prepared for an earthquake or the like. As shown in the figure, HOST (host computer), FCU (magnetic disk controller), LR (connection device), and DASD (magnetic disk) Storage device).

【0016】副センタ2は、各種業務処理を行う正セン
タ1から遠隔地に設置されたセンタであって、ここで
は、正センタ1から転送されてきたデータを当該正セン
タ1と同一に保存するものであり、図示のように、HO
ST(ホストコンピュータ)、FCU(磁気ディスク制
御装置)、LR(接続装置)、およびDASD(磁気デ
ィスク記憶装置)から構成されるものである。
The sub-center 2 is a center installed at a remote location from the main center 1 that performs various business processes. Here, the data transferred from the main center 1 is stored in the same manner as the main center 1. And, as shown, HO
It comprises an ST (host computer), an FCU (magnetic disk control device), an LR (connection device), and a DASD (magnetic disk storage device).

【0017】次に、動作を説明する。正センタ1側のF
CUがHOSTからの複数トラックのデータ更新依頼に
対応して、複数トラックをパケットに分割して連続して
回線を介して副センタ2に送信し、副センタ2側のFC
Uが送信されたパケットを受信して元のトラックに組立
て、当該組立が完了する毎に応答を正センタ1に送信す
ることを繰り返し、正センタ1側のFCUが複数トラッ
クの全てについて応答を受信したときに送信完了と確認
するようにしている。
Next, the operation will be described. F on the center 1 side
The CU divides a plurality of tracks into packets in response to a request for updating data of a plurality of tracks from the HOST and continuously transmits the packets to the sub-center 2 via a line.
U receives the transmitted packet, assembles it into the original track, and repeatedly sends a response to the main center 1 each time the assembly is completed, and the FCU on the main center 1 receives responses for all of the multiple tracks. When it is done, it is confirmed that transmission is completed.

【0018】この際、正センタ1側で送信した複数トラ
ックのうちの所定時間経過しても応答が受信されないト
ラックを検出し、検出されたトラックをパケットに分割
して連続して回線を介して副センタ1に再度、送信する
ようにしている。
At this time, a track for which no response is received even after a predetermined time has elapsed among a plurality of tracks transmitted by the main center 1 is detected, and the detected track is divided into packets and continuously transmitted via a line. The data is transmitted to the sub center 1 again.

【0019】また、正センタ1側のFCUがHOSTか
らの複数トラックのデータ更新依頼に対応して、複数ト
ラックをパケットに分割して連続して回線を介して副セ
ンタ2に送信し、副センタ2側のFCUが送信されたパ
ケットを受信して元のトラックに組立て、全てのトラッ
クの組立が完了したときに応答を正センタ1に送信し、
正センタ1側で応答が受信されたときに送信完了と確認
するようにしている。
Further, in response to the request for updating the data of a plurality of tracks from the HOST, the FCU on the main center 1 divides the plurality of tracks into packets and continuously transmits them to the sub-center 2 via a line. The FCU of the second side receives the transmitted packet and assembles it into the original track, and sends a response to the main center 1 when all the trucks have been assembled,
When the response is received by the main center 1, it is confirmed that the transmission is completed.

【0020】この際、正センタ1側で応答が受信された
ときに応答情報をもとに未応答のトラックを検出し、検
出されたトラックをパケットに分割して連続して回線を
介して副センタ2に再度、送信するようにしている。
At this time, when a response is received by the main center 1, a non-responding track is detected based on the response information, the detected track is divided into packets, and the detected track is successively transmitted via the line. The data is transmitted to the center 2 again.

【0021】また、正センタ1側で送信した複数トラッ
クのうちの所定時間経過しても応答が受信されないトラ
ックを検出し、あるいは正センタ1側で応答が受信され
たときに当該応答情報をもとに未応答のトラックを検出
し、検出されたトラックをパケットに分割して連続して
他の回線を介して副センタに再度、送信するようにして
いる。
[0021] Also, of the plurality of tracks transmitted on the main center 1 side, a track for which a response is not received even after a lapse of a predetermined time is detected, or when the main center 1 side receives a response, the response information is also transmitted. Then, the unresponsive track is detected, the detected track is divided into packets, and the packets are continuously transmitted to the sub-center again via another line.

【0022】また、正センタ1から副センタ2に複数ト
ラックをまとめてあるいは1トラック毎にパケットに分
割して連続して回線を介して送信する旨を表す切換フラ
グを設定するCCW(チャネルコマンド語)を設け、正
センタ1のFCUがCCWの切換フラグに従い複数トラ
ックをまとめてあるいは1トラック毎にパケットに分割
して連続して回線を介して副センタ2に送信するように
している。
A CCW (channel command word) for setting a switching flag indicating that a plurality of tracks are collected from the primary center 1 to the secondary center 2 or divided into packets for each track and transmitted continuously via a line. ) Is provided so that the FCU of the primary center 1 collectively divides a plurality of tracks according to the switching flag of the CCW or divides it into packets for each track and continuously transmits the packets to the secondary center 2 via a line.

【0023】従って、正センタ1側から回線を介して副
センタ2にデータをバックアップする際に、複数トラッ
ク数分を連続送信してその応答を確認し、障害発生時に
応答確認できないトラックのデータのみ再送することに
より、回線ディレイ時間による処理効率の低下を改善し
て処理時間の短縮化を図ると共に障害発生時の再送処理
時間を最小限に削減することが可能となる。
Therefore, when data is backed up from the main center 1 to the sub-center 2 via the line, the data is continuously transmitted for a plurality of tracks and the response is confirmed. By performing retransmission, it is possible to improve the reduction in processing efficiency due to the line delay time, to shorten the processing time, and to minimize the retransmission processing time when a failure occurs.

【0024】[0024]

【発明の実施の形態】次に、図1から図12を用いて本
発明の実施の形態および動作を順次詳細に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments and operations of the present invention will be sequentially described in detail with reference to FIGS.

【0025】図1は、本発明のシステム構成図を示す。
図1の(a)は、全体のシステム構成図を示す。図1の
(a)において、正センタ1は、HOST、FCU、L
R、およびDASDなどから構成されるものである。
FIG. 1 shows a system configuration diagram of the present invention.
FIG. 1A shows an overall system configuration diagram. In FIG. 1A, the main center 1 includes HOST, FCU, L
R and DASD.

【0026】HOSTは、ホストコンピュータであっ
て、各種業務処理を行うものである。FCUは、磁気デ
ィスク制御装置であって、HOSTからのCCWによる
アクセス依頼に対応して、DASDをアクセス制御する
と共に、副センタ2に退避するデータを転送するもので
あり、後述する図1の(b)のように構成されるもので
ある。
The HOST is a host computer for performing various business processes. The FCU is a magnetic disk controller that controls access to the DASD and transfers data to be evacuated to the sub-center 2 in response to an access request by the CCW from the HOST. It is configured as shown in b).

【0027】LRは、接続装置であって、回線を介して
副センタ2のLRとの間でデータの送受信を行うもので
ある。DASDは、磁気ディスク記憶装置であって、デ
ータをトラックに記憶するものである。
The LR is a connection device for transmitting and receiving data to and from the LR of the sub center 2 via a line. DASD is a magnetic disk storage device that stores data in tracks.

【0028】通信回線は、正センタ1と遠隔値の副セン
タ2との間でデータの送受信を行うための回線である。
副センタ2は、正センタ1からデータの転送を受けて正
センタ1と同一の内容をDASDに格納し、正センタ1
に障害発生時に業務処理を代行実行するものであって、
正センタ1と同一の構成を持つものであり、LR、FC
U、HOST、DASDから構成されるものである。
The communication line is a line for transmitting and receiving data between the main center 1 and the remote center 2.
The sub center 2 receives the data transfer from the main center 1 and stores the same contents as the main center 1 in DASD,
In the event of a failure, the business process is executed on behalf of
It has the same configuration as the main center 1, LR, FC
U, HOST, and DASD.

【0029】図1の(b)は、図1のFCUの詳細シス
テム構成図を示す。図1の(b)において、CAは、チ
ャネルアダプタであって、上位装置(HOST)と接続
する機能単位である。
FIG. 1B shows a detailed system configuration diagram of the FCU of FIG. In FIG. 1B, CA is a channel adapter and is a functional unit connected to a higher-level device (HOST).

【0030】RMは、リソースマネージャであって、F
CU内部資源を統括する機能単位である。CFEは、キ
ャッシュファンクションエンジンであって、キャッシュ
制御する機能単位である。
RM is a resource manager, F
It is a functional unit that controls the CU internal resources. The CFE is a cache function engine, and is a functional unit for performing cache control.

【0031】SSは、キャッシュメモリであって、一時
的にデータを記憶する不揮発性のメモリである。TS
は、テーブルストレージであって、制御テーブルを形成
するメモリである。
SS is a cache memory, which is a nonvolatile memory for temporarily storing data. TS
Is a table storage, which is a memory for forming a control table.

【0032】RAは、リモートアダプタであって、回線
と接続する機能単位である。DAは、デバイスアダプタ
であって、磁気ディスク記憶装置と接続する機能単位で
ある。
RA is a remote adapter, and is a functional unit connected to a line. DA is a device adapter, and is a functional unit connected to a magnetic disk storage device.

【0033】C−BUSは、内部バスである。図1の
(c)は、。DRA(回線と接続する機能単位)内部の
データバッファ(Buffer 0)を模式的に示す。
本発明では、DRA内部には、Track 0ないしn
に対して、1つのBuffer 0のみを持ち、これに
複数のトラックのデータを格納し、出力時に複数のトラ
ックに出力するようにしている。
C-BUS is an internal bus. (C) of FIG. 1 schematically shows a data buffer (Buffer 0) inside a DRA (functional unit connected to a line).
In the present invention, tracks 0 to n are stored in the DRA.
In contrast, only one Buffer 0 is provided, data of a plurality of tracks is stored in this buffer 0, and output to a plurality of tracks at the time of output.

【0034】次に、図2のフローチャートの順序に従
い、図1の構成の動作を詳細に説明する。図2は、本発
明の動作説明フローチャートを示す。
Next, the operation of the configuration of FIG. 1 will be described in detail according to the order of the flowchart of FIG. FIG. 2 is a flowchart illustrating the operation of the present invention.

【0035】図2において、S1は、ファイル更新要求
が発生する。S2は、複数トラック更新か判別する。Y
ESの場合には、本発明に係るS3以降に進む。NOの
場合には、1トラック更新であり、本発明の対象とする
処理でないため、終了する(従来の1トラック更新の処
理を行う)。
In FIG. 2, in S1, a file update request is generated. In S2, it is determined whether or not a plurality of tracks are updated. Y
In the case of ES, the process proceeds to S3 and subsequent steps according to the present invention. In the case of NO, it is a one-track update, which is not the processing targeted by the present invention, and thus ends (the conventional one-track update processing is performed).

【0036】S3は、HOSTがCCW DXを発行す
る。S4は、FCUがCCW DXを受信する。S5
は、HOSTがCCW LRを発行する。
At S3, the HOST issues a CCW DX. At S4, the FCU receives the CCW DX. S5
HOST issues CCW LR.

【0037】S6は、FCUがCCW LRを受信す
る。これらS3、S4、S5、S6は、S2のYESで
複数トラック更新であって本発明の対象の処理と判明し
たので、HOSTが例えば後述する図3の(a)のCC
W DXにバックアップフラグを「ON」に設定、図3
の(b)のCCW LRに動作コードを「WRIT
E」、更新位置を「Track 0」、更新Track
数/Record数を「Track 0から2に含まれ
るRecord数」をそれぞれ設定し、これらをFCU
が受け取り、バックアップ(DASDに書き込むと同時
に副センタ2に転送してバックアップする旨)および複
数トラック(Track 0ないし2)の更新を確認す
る。
At S6, the FCU receives the CCW LR. Since these S3, S4, S5, and S6 are a multi-track update at YES in S2 and are determined to be the target processing of the present invention, the HOST is, for example, a CC shown in FIG.
Set the backup flag to “ON” in WDX, FIG.
(B) of the operation code to the CCW LR "WRIT
E ", update position is" Track 0 ", update track
Number / Record Number is set to “Number of Records included in Tracks 0 to 2”, respectively, and these are set to FCU.
And confirms the backup (writing to DASD and transferring it to subcenter 2 for backup at the same time) and updating of a plurality of tracks (Tracks 0 to 2).

【0038】S7は、HOSTがCCW WUDを発行
する。S8は、SSに格納する。これは、S7でHOS
Tから発行されたCCW WUDでFCUを構成するC
Aが受信し、SSに格納する。
In S7, the HOST issues a CCW WUD. S8 is stored in SS. This is HOS in S7
C that configures the FCU with CCW WUD issued by T
A receives it and stores it in SS.

【0039】S9は、副センタ2へ送信する。S10
は、トラック0〜2まで連続送信が終了か判別する。Y
ESの場合には、S11でトラック0〜2の応答受信の
確認ができたときに、S12でホストへ応答を通知す
る。一方、S10のNOの場合には、S7に戻り繰り返
す。これらS7ないしS10を繰り返すことにより、こ
こでは、トラック0〜2について例えば各トラックを4
個のパケットに分割して副センタ2に連続してまとめて
送信(3トラック分の合計12個のパケットを連続して
まとめて送信)することが可能となる。
At S9, the data is transmitted to the sub center 2. S10
Determines whether the continuous transmission is completed for tracks 0 to 2. Y
In the case of the ES, when the response reception of the tracks 0 to 2 is confirmed in S11, a response is notified to the host in S12. On the other hand, if NO in S10, the process returns to S7 and repeats. By repeating S7 to S10, here, for example, each track of tracks 0 to 2
This makes it possible to divide the packet into a plurality of packets and continuously transmit them to the sub center 2 collectively (total 12 packets for three tracks are transmitted continuously and collectively).

【0040】S13は、S9で正センタ1から送信され
たパケットを、副センタ2が順次連続して受信する。S
14は、副センタ2のFCUのCAがSSに受信したパ
ケットを再組立してトラックにしSSに格納する。
In S13, the sub center 2 sequentially and sequentially receives the packets transmitted from the main center 1 in S9. S
Reference numeral 14 reassembles a packet received by the FCU CA of the sub-center 2 at the SS, stores the packet in a track, and stores the track in the SS.

【0041】S15は、応答送信する。S14でトラッ
クの組立が完了してSSに格納する毎にトラック0〜2
についてそれぞれ確認応答を正センタ1に送信する(こ
の確認応答は、既述したS11でトラック毎の確認応答
として主センタ1が受信し、確認する)。そして、S1
3に戻り繰り返す。
In step S15, a response is transmitted. Each time truck assembly is completed in S14 and stored in SS, tracks 0 to 2
Is transmitted to the main center 1 (this confirmation response is received and confirmed by the main center 1 as a confirmation response for each track in S11 described above). And S1
Return to 3 and repeat.

【0042】以上によって、主センタ1は複数トラック
(ここではトラック0〜2)をまとめてパケット12個
に分割して連続して副センタ2に送信し、副センタ2で
はパケットを順次受信してトラックに組立てSSに格納
すると共にトラック0〜2について受信したトラック毎
に確認応答を正センタ1に送信し、正センタ1で確認応
答を全トラックについて受信したときに一連のバックア
ップのための転送を完了したと認識し、終了する。この
ように複数トラックをパケットに分割して連続して副セ
ンタ2に送信することにより、後述する図4の説明図に
示すように、主センタ1から副センタ2に複数トラック
をまとめて連続して送信したときの回線ディレイ時間が
最初のと、最後の確認応答の回線ディレイ時間とな
り、その間に挟まれる回線ディレイ時間、は転送時
間中に含まれてしまい、結果として、処理時間の遅延は
回線ディレイ時間とで2倍、即ち回線ディレイ時間
を実機上で測定される10msとすれば、遅延時間は1
0ms×2=20msとなり、従来の既述した図13の
場合の10ms×6=60msに比して約1/3に削減
することが可能となった。
As described above, the main center 1 collectively divides a plurality of tracks (here, tracks 0 to 2) into 12 packets and successively transmits the packets to the sub-center 2, and the sub-center 2 sequentially receives the packets. When the acknowledgment is sent to the main center 1 for each of the tracks received for the tracks 0 to 2 and stored in the SS, the transfer for a series of backups is performed when the acknowledgment is received for all the tracks at the main center 1. Recognizes completion, and ends. By dividing a plurality of tracks into packets and transmitting them continuously to the sub-center 2 in this manner, as shown in an explanatory diagram of FIG. The transmission line delay time is the first and last acknowledgment line delay time, and the intervening line delay time is included in the transfer time. As a result, the processing time delay is If the delay time is doubled, that is, if the line delay time is 10 ms measured on a real machine, the delay time is 1
0 ms × 2 = 20 ms, which can be reduced to about 3 as compared with the conventional 10 ms × 6 = 60 ms in the case of FIG.

【0043】図3は、本発明のCCW例を示す。図3の
(a)は、CCW DX例を示す。このCCW DX
は、既述した図2のS3でHOSTがFCUに発行する
CCWの例であって、図示の下記の項目を設定して通知
するものである。
FIG. 3 shows a CCW example of the present invention. FIG. 3A shows an example of CCW DX. This CCW DX
Is an example of the CCW issued by the HOST to the FCU in S3 of FIG. 2 described above, and is for setting and notifying the following items shown in the figure.

【0044】 バックアップフラグ 切換フラグ ON/OFF ON/OFF ここで、バックアップフラグは、主センタ1から副セン
タ2にバックアップする必要のある更新データであるか
否かを表すフラグである。切換フラグは、後述する図1
2のフローチャートで使用するように、バックアップす
る場合に、本発明に係る複数トラックをパケットに分割
して連続して副センタ2に送信するモード(切換フラグ
がONの場合)と、トラック毎にパケットに分割して副
センタ2に送信する場合(切換フラグがOFFの従来の
場合)とを設定するフラグである。
Backup Flag Switching Flag ON / OFF ON / OFF Here, the backup flag is a flag indicating whether or not the update data needs to be backed up from the main center 1 to the sub center 2. The switching flag is shown in FIG.
As used in the flowchart of FIG. 2, when backing up, a mode in which a plurality of tracks according to the present invention are divided into packets and transmitted to the sub center 2 continuously (when the switching flag is ON), To be transmitted to the sub-center 2 (the conventional case in which the switching flag is OFF).

【0045】図3の(b)は、CCW LR例を示す。
このCCW LRは、既述した図2のS5でHOSTが
FCUに発行するCCWの例であって、図示の下記の項
目を設定して通知するものである。
FIG. 3B shows an example of CCW LR.
The CCW LR is an example of the CCW issued by the HOST to the FCU in S5 of FIG. 2 described above, and is set and notified as follows.

【0046】 動作コード 更新位置 更新Record数 WRITE/READ Track 0 Track0〜2に含まれる Record数 ここで、動作モードは、DASDにWRITE/REA
Dの区別である。更新位置は、WRITEのときの更新
開始する位置(Track)である。更新Record
数(更新Track数)は、更新対象のRecord
(Track)数である。
Operation code Update position Update record number WRITE / READ Track 0 Record number included in Tracks 0 to 2 Here, the operation mode is WRITE / REA for DASD.
D. The update position is a position (Track) where the update is started at the time of WRITE. Update Record
The number (the number of updated Tracks) is the Record to be updated.
(Track) number.

【0047】以上のCCW DX、CCW LRをHO
STからFCUが受信し、FCUはバックアップフラグ
により副センタ2にバップアップするか否か、切換フラ
グにより複数トラックをまとめてあるいは従来のトラッ
ク毎にパケットに分割して送信するか否か、更新位置、
更新レコード/トラック数を認識することが可能とな
る。
The above CCW DX and CCW LR are replaced by HO
The FCU receives the ST from the ST. The FCU determines whether or not to backup to the sub-center 2 based on the backup flag, whether or not to transmit a plurality of tracks collectively or conventionally divided into packets for each track according to the switching flag, and the update position. ,
It is possible to recognize the number of update records / tracks.

【0048】図4は、本発明の説明図(トラック毎に応
答)を示す。これは、複数トラック(この例ではTRK
0〜2)をそれぞれ4個のパケットP0〜P4に分割し
て連続して送信し、受信側の副センタ2ではトラックの
組み立てができた毎に確認応答PR0〜PR2を順次主
センタ1に送信する場合の例である。ここで、記号は下
記をそれぞれ表す。
FIG. 4 is an explanatory diagram (response for each track) of the present invention. This is a multitrack (TRK in this example)
0 to 2) are respectively divided into four packets P0 to P4 and transmitted continuously, and the sub-center 2 on the receiving side sequentially transmits acknowledgments PR0 to PR2 to the main center 1 every time the truck is assembled. This is an example of the case. Here, the symbols represent the following, respectively.

【0049】DXは、図2のS3のCCW DX(図3
の(a))を表す。LRは、図2のS5のCCW LR
(図3の(b))を表す。WUDは、図2のS7のCC
W WUDを表す。
DX is the CCW DX of S3 in FIG.
(A)). LR is the CCW LR of S5 in FIG.
((B) of FIG. 3). WUD is the CC of S7 in FIG.
Represents W WUD.

【0050】TRK0〜TRK2は、トラック0〜トラ
ック2を表す。P0〜P3は、TRK0〜TRK2をそ
れぞれ4つに分割したパケットを表す。
TRK0-TRK2 represent tracks 0-2. P0 to P3 represent packets obtained by dividing TRK0 to TRK2 into four, respectively.

【0051】PR0〜PR2は、TRK0〜TRK2を
副センタ2で受信確認した応答を表す。回線ディレイ時
間はパケットを主センタ1から送信して副センタ2に
到達するまでのディレイ時間であり、回線ディレイ時間
は副センタ2から正センタ1に到達するまでのディレ
イ時間であり、例えば実機上で実際に測定すると約10
ms位のディレイ時間である。ここでは、回線ディレイ
時間、はパケットの送信中に含まれ、全体の処理時
間の遅延にならなく、全体の処理時間の遅延となるの
は、回線ディレイ時間と回線ディレイ時間の2個で
あって、10ms×2=20msの遅延時間が生じる
(従来の図4の場合の10ms×6=60msに比して
40msのディレイ時間の短縮となっている)。
PR0 to PR2 indicate responses in which confirmation of reception of TRK0 to TRK2 by the sub center 2 has been made. The line delay time is a delay time from when the packet is transmitted from the main center 1 to reach the sub center 2, and the line delay time is a delay time from when the packet reaches the sub center 2 to the main center 1. Actually measured at about 10
This is a delay time on the order of ms. Here, the line delay time is included during transmission of a packet, and does not cause a delay in the entire processing time, but delays the entire processing time only in the line delay time and the line delay time. A delay time of 10 ms × 2 = 20 ms occurs (a delay time of 40 ms is shorter than that of 10 ms × 6 = 60 ms in the conventional case of FIG. 4).

【0052】以上の図4に示すように、TRK0〜2を
パケットP0〜P3にそれぞれ分割して正センタ1から
副センタ2に送信し、副センタ2ではパケットP0〜P
3によって1つのトラックを組み上げる毎に応答PR0
〜PR2を順次返答することにより、正センタ1は副セ
ンタ2へのデータの完了したことを認識できると共に、
このときの総遅延時間を20msと、従来の図13の場
合に比して60−20=40msだけ短縮することが可
能となる。
As shown in FIG. 4, TRK0 to TRK2 are divided into packets P0 to P3, respectively, and transmitted from the primary center 1 to the secondary center 2.
3 each time one track is assembled
By sequentially replying to PR2, the primary center 1 can recognize that the data to the secondary center 2 has been completed, and
At this time, the total delay time can be reduced to 20 ms, that is, 60-20 = 40 ms as compared with the conventional case of FIG.

【0053】図5は、本発明の他の動作説明フローチャ
ートを示す。図5において、S21は、図2のB(S1
0のYESの場合(トラック0〜2まで副センタ2にパ
ケットに分割して連続して送信した場合))に、副セン
タ2からの応答を受信(全て受信)する。これは、S2
6で副センタから全トラック(ここでは、トラック0〜
2)を受信したことに対応して、応答を主センタ1が受
信する。
FIG. 5 is a flowchart illustrating another operation of the present invention. 5, S21 corresponds to B (S1 in FIG. 2).
In the case of YES of 0 (in the case where the data is divided into packets and continuously transmitted to the sub-centers 2 from the tracks 0 to 2), the response from the sub-center 2 is received (all received). This is S2
In step 6, all tracks from the sub center (here, tracks 0 to
In response to receiving 2), the main center 1 receives a response.

【0054】S22は、主センタ1のホストへ応答す
る。S23は、図2のAの場合(図2のS9で主センタ
1がトラック0〜2を分割したパケットを連続して副セ
ンタ2に送信した場合)に、副センタ2が受信する。
In step S22, a response is sent to the host of the main center 1. In S23, in the case of A in FIG. 2 (when the main center 1 continuously transmits the packets obtained by dividing the tracks 0 to 2 to the sub-center 2 in S9 in FIG. 2), the sub-center 2 receives the packet.

【0055】S24は、SSに格納する。S25は、ト
ラック2まで終了したか判別する。YESの場合には、
全てのトラックを受信したので、S26で応答を正セン
タ1に送信し、終了する。一方、NOの場合には、S2
3に戻り繰り返す。
In step S24, the data is stored in the SS. In step S25, it is determined whether the process has been completed up to the track 2. If yes,
Since all the tracks have been received, a response is transmitted to the main center 1 in S26, and the process ends. On the other hand, in the case of NO, S2
Return to 3 and repeat.

【0056】以上によって、主センタ1は複数トラック
(ここではトラック0〜2)をまとめてパケット12個
に分割して連続して副センタ2に送信し、副センタ2で
はパケットを順次受信してトラックに組立てSSに格納
すると共にトラック0〜2の全てを受信したときに確認
応答を正センタ1に送信し、正センタ1で確認応答を受
信したときに一連のバックアップのために転送を完了し
たと認識し、ホストに通知して終了する。このように複
数トラックをパケットに分割して連続して副センタ2に
送信することにより、後述する図6の説明図に示すよう
に、主センタ1から副センタ2に最初に送信したときの
回線ディレイ時間と、PR(確認応答)を主センタ1
に送信したときの回線ディレイ時間となり、処理時間
の遅延は回線ディレイ時間の2倍、即ち回線ディレイ時
間を実機上で測定される10msとすれば、遅延時間は
10ms×2=20msとなり、従来の既述した図13
の場合の10ms×6=60msに比して約1/3に削
減することが可能となった。
As described above, the main center 1 collectively divides a plurality of tracks (here, tracks 0 to 2) into twelve packets and successively transmits them to the sub center 2, and the sub center 2 receives the packets sequentially. When assembled in a truck and stored in the SS, an acknowledgment was transmitted to the main center 1 when all of the tracks 0 to 2 were received, and when the acknowledgment was received by the main center 1, the transfer was completed for a series of backups And notifies the host and terminates. As described above, by dividing a plurality of tracks into packets and continuously transmitting them to the sub-center 2, as shown in an explanatory diagram of FIG. Main center 1 delay time and PR (acknowledge)
When the line delay time is twice as long as the line delay time, that is, when the line delay time is 10 ms measured on a real machine, the delay time is 10 ms × 2 = 20 ms, which is a conventional delay time. FIG. 13 already described
In this case, it is possible to reduce the time to about 1/3 of 10 ms × 6 = 60 ms.

【0057】図6は、本発明の説明図(全トラックをま
とめて応答)を示す。これは、全トラック(この例では
TRK0〜2)をそれぞれ4個のパケットP0〜P4に
分割して連続して送信し、受信側の副センタ2では全て
のトラックの組み立てができたときに確認応答PRを主
センタ1に送信する場合の例である。ここで、記号は下
記をそれぞれ表す。
FIG. 6 is an explanatory diagram (response of all tracks collectively) according to the present invention. This is done by dividing all the tracks (TRK0 to TRK2 in this example) into four packets P0 to P4 and transmitting them continuously, and confirms when the sub-center 2 on the receiving side has assembled all the tracks. This is an example of a case where a response PR is transmitted to the main center 1. Here, the symbols represent the following, respectively.

【0058】DXは、図2のS3のCCW DX(図3
の(a))を表す。LRは、図2のS5のCCW LR
(図3の(b))を表す。WUDは、図2のS7のCC
W WUDを表す。
DX is the CCW DX of S3 in FIG. 2 (FIG. 3).
(A)). LR is the CCW LR of S5 in FIG.
((B) of FIG. 3). WUD is the CC of S7 in FIG.
Represents W WUD.

【0059】TRK0〜TRK2は、トラック0〜トラ
ック2を表す。P0〜P3は、TRK0〜TRK2をそ
れぞれ4つに分割したパケットを表す。
TRK0-TRK2 represent tracks 0-2. P0 to P3 represent packets obtained by dividing TRK0 to TRK2 into four, respectively.

【0060】PRは、TRK0〜TRK2を副センタ2
で全部を受信確認した応答を表す。回線ディレイ時間
はパケットを主センタ1から送信して副センタ2に到達
するまでのディレイ時間であり、回線ディレイ時間は
応答を副センタ2から正センタ1に到達するまでのディ
レイ時間であり、例えば実機上で実際に測定すると約1
0ms位のディレイ時間である。ここでは、全体の処理
時間の遅延となるのは、回線ディレイ時間と回線ディ
レイ時間の2個であって、10ms×2=20msの
遅延時間が生じる(従来の図4の場合の10ms×6=
60msに比して40msのディレイ時間の短縮となっ
ている)。
The PR sets TRK0 to TRK2 to the sub-center 2
Indicates a response for which all the data has been confirmed. The line delay time is a delay time from when a packet is transmitted from the main center 1 to reach the sub-center 2, and the line delay time is a delay time from when a response arrives from the sub-center 2 to the main center 1. About 1 when actually measured on actual machine
This is a delay time of about 0 ms. Here, there are two delays of the entire processing time, the line delay time and the line delay time, and a delay time of 10 ms × 2 = 20 ms occurs (10 ms × 6 = the conventional case of FIG. 4 in FIG. 4).
The delay time is reduced by 40 ms compared to 60 ms).

【0061】以上の図6に示すように、TRK0〜2を
パケットP0〜P3にそれぞれ分割して正センタ1から
副センタ2に送信し、副センタ2ではパケットP0〜P
3によって全トラックを組み上げる後に応答PRを返答
することにより、正センタ1は副センタ2へのデータの
完了したことを認識できると共に、このときの総遅延時
間を20msと、従来の図13の場合に比して60−2
0=40msだけ短縮することが可能となる。
As shown in FIG. 6, TRK0 to TRK2 are divided into packets P0 to P3, respectively, and transmitted from the primary center 1 to the secondary center 2.
13 by assembling all the tracks and returning a response PR, the primary center 1 can recognize that the data to the secondary center 2 has been completed, and the total delay time at this time is 20 ms, which is the case of FIG. 60-2 compared to
0 = 40 ms can be shortened.

【0062】図7は、本発明の他の動作説明フローチャ
ート(障害発生時の再送、その1)を示す。S31は、
障害発生する。これは、既述した図2のS15で副セン
タ2が送信した確認応答を、S11で正センタ1が受信
できなく何らかの障害が回線に発生する。
FIG. 7 is a flowchart illustrating another operation of the present invention (retransmission when a failure occurs, part 1). S31 is
Failure occurs. This is because the acknowledgment transmitted by the sub center 2 in S15 of FIG. 2 described above cannot be received by the main center 1 in S11, and some trouble occurs on the line.

【0063】S32は、タイムアウトする。これは、既
述した図2のS11で正センタ1がいずれかのトラック
の確認応答を受信できず、タイムアウトする。S33
は、未送信トラックを抽出する。
In S32, a timeout occurs. This is because the main center 1 cannot receive the acknowledgment of any of the tracks in S11 of FIG. S33
Extracts untransmitted tracks.

【0064】S34は、再送する。これは、S32でタ
イムアウトした、確認応答を未受信のトラックを抽出
し、当該トラックについてのみ、正センタ1から副セン
タ2にトラックをパケットに分割して連続して送信し、
その確認応答を正センタ1が受信して送信完了したこと
を確認する。
At S34, retransmission is performed. This is because a track which has timed out in S32 and for which an acknowledgment has not been received is extracted, and the track is divided into packets from the main center 1 to the sub-center 2 only for the relevant track and transmitted continuously,
The main center 1 receives the confirmation response and confirms that the transmission has been completed.

【0065】以上のように、図2のフローチャートに従
い、複数トラックをパケットに分割して正センタ1から
副センタ2に送信し、副センタ2がトラック毎の確認応
答を主センタ1が規定時間内に受信できず、タイムオー
バしたときに確認応答の未受信のトラックについてのみ
正センタ1から副センタ2に再送して確認応答を受信し
て一連のバックアップ処理を終了することにより、未送
信のトラックのみ効率的に再送してバックアップ処理の
完全性を保証することが可能となる。
As described above, according to the flowchart of FIG. 2, a plurality of tracks are divided into packets and transmitted from the primary center 1 to the secondary center 2, and the secondary center 2 sends an acknowledgment for each track within the specified time. When a time-out occurs, only the unacknowledged tracks are retransmitted from the main center 1 to the sub-center 2 and the acknowledgments are received and a series of backup processing is completed. Only the efficient retransmission can guarantee the integrity of the backup processing.

【0066】図8は、本発明の説明図(障害発生時の再
送、その1)を示す。これは、既述した図7のフローチ
ャートに従い、トラックを複数のパケットP0〜P3に
分割して連続して正センタ1から副センタ2に送信し、
副センタ2でトラックが組立できた毎に確認応答PR0
〜PR2を順次正センタ1に送信し、正センタ1側では
PR0のみ受信でき、PR1、2を受信できずタイムオ
ーバとなり、PR1、2に対応するTRK1、2を再送
してPR1、2を正センタ1で受信して確認し、一連の
再送処理を完了するときの手順を示したものである。
FIG. 8 is an explanatory diagram of the present invention (retransmission when a failure occurs, part 1). According to this, according to the flowchart of FIG. 7 described above, the track is divided into a plurality of packets P0 to P3 and transmitted continuously from the primary center 1 to the secondary center 2,
An acknowledgment PR0 every time a truck can be assembled at the sub center 2.
To PR2 are sequentially transmitted to the main center 1. The main center 1 can receive only PR0, cannot receive PR1 and PR2, and time-out occurs. TRK1 and TRK2 corresponding to PR1 and PR2 are retransmitted to correct PR1 and PR2. This shows a procedure when the center 1 receives and confirms the data and completes a series of retransmission processing.

【0067】図9は、本発明の他の動作説明フローチャ
ート(障害発生時の再送、その2)を示す。S41は、
障害発生する。
FIG. 9 is a flow chart for explaining another operation of the present invention (retransmission when a failure occurs, part 2). S41 is
Failure occurs.

【0068】S42は、応答を受信する。S43は、応
答抜け有りか判別する。これは、TRK0〜2をパケッ
トに分割して連続して正センタ1から副センタ2に送信
し、副センタ2ではトラックに組立で全トラック(TR
K0〜2)を受信したときに確認応答PRを正センタ1
に送信するので、当該正センタ1で確認応答中に送信し
たトラックのうちの抜けのトラックがあるか判別する。
In step S42, a response is received. A step S43 decides whether or not there is a missing response. This is because the TRKs 0 to 2 are divided into packets and transmitted continuously from the main center 1 to the sub center 2, and the sub center 2 assembles all the tracks (TR
When K0-2) is received, the acknowledgment PR is sent to the main center 1
Therefore, it is determined whether there is a missing track among the tracks transmitted during the acknowledgment in the main center 1.

【0069】S44は、未送信トラックを抽出する。S
45は、再送する。以上のように、図5のフローチャー
トに従い、複数トラックをパケットに分割して正センタ
1から副センタ2に送信し、副センタ2が全トラックの
確認応答を主センタ1が受信したときに応答の抜けのト
ラックを抽出して再送して確認応答を受信して一連のバ
ックアップ処理を終了することにより、未送信のトラッ
クのみ効率的に再送してバックアップ処理の完全性を保
証することが可能となる。
A step S44 extracts untransmitted tracks. S
45 resends. As described above, in accordance with the flowchart of FIG. 5, a plurality of tracks are divided into packets and transmitted from the primary center 1 to the secondary center 2. When the secondary center 2 receives acknowledgments of all the tracks, the primary center 1 By extracting missing tracks, retransmitting them, receiving an acknowledgment, and ending a series of backup processing, it is possible to efficiently retransmit only untransmitted tracks and to guarantee the integrity of the backup processing. .

【0070】図14は、本発明の説明図を示す。これ
は、図9の障害発生時に消失した例えばPR1を正セン
タが認識しこれのパケットを再送する様子を示す。図1
0は、本発明の他の動作説明フローチャート(HOT/
STBYの再送)を示す。これは、後述する図11の
(a)の構成図に示すように、HOT(現用系)として
RA0を用いて正センタ1から副センタ2に再送し、障
害発生時にSTBY(スタンバイ系)としてRA1を用
いて正センタ1から副センタ2に再送するときのフロー
チャートである。この場合には、HOTからSTBYに
図11の(b)の“STATUS”(障害発生時に応答
確認できないトラックの情報)が通知され、当該STA
TUSをもとに応答確認できないトラックのみを再送す
る点に特徴がある。
FIG. 14 shows an explanatory diagram of the present invention. This shows a situation where the main center recognizes, for example, PR1 which has disappeared at the time of occurrence of the failure in FIG. 9 and retransmits the packet. FIG.
0 is another operation explanation flowchart of the present invention (HOT /
STBY retransmission). As shown in the configuration diagram of FIG. 11A, which is described later, the primary center 1 uses the RA0 as the HOT (working system) and retransmits it to the subcenter 2, and when a failure occurs, the RA1 is used as the STBY (standby system). 5 is a flowchart when retransmission is performed from the main center 1 to the sub center 2 by using. In this case, the HOT notifies STBY of “STATUS” (information of a track for which a response cannot be confirmed at the time of failure occurrence) to the STBY.
It is characterized in that only tracks whose response cannot be confirmed based on TUS are retransmitted.

【0071】図10において、S51は、HOT(現用
系)で再送する。これは、後述する図11の(a)のH
OT(現用系)のRA0を用いてトラックを複数のパケ
ットに分割し、正センタ1から副センタ2に再送する。
In FIG. 10, in S51, retransmission is performed by HOT (working system). This corresponds to H of FIG.
The track is divided into a plurality of packets using RA0 of the OT (working system) and retransmitted from the primary center 1 to the secondary center 2.

【0072】S52は、回数オーバーか判別する。これ
は、S51のHOTのRA0を用いてトラックを複数の
パケットに分割し、正センタ1から副センタ2に再送し
たタイムオーバーとなる回数が規定回数をオーバーした
か判別する。YESの場合には、S53に進む。NOの
場合には、S51、S52を繰り返す。
A step S52 decides whether or not the number is exceeded. This is done by dividing the track into a plurality of packets by using the RA0 of the HOT in S51, and determining whether the number of times that the time has been retransmitted from the primary center 1 to the secondary center 2 exceeds the specified number. In the case of YES, the process proceeds to S53. If NO, S51 and S52 are repeated.

【0073】S53は、S52のYESでHOTでは再
送不可と判明したので、STBY(スタンバイ系)で再
送する。これは、STBYのRA1を用いてトラックを
複数のパケットに分割し、正センタ1から副センタ2に
再送する。
In S53, the retransmission is not possible in the HOT by the YES in S52, so that retransmission is performed by STBY (standby system). In this method, a track is divided into a plurality of packets by using the STBY RA1, and the packet is retransmitted from the primary center 1 to the secondary center 2.

【0074】S54は、回数オーバーか判別する。YE
Sの場合には、STBY系も障害発生として終了する。
NOの場合には、S53、S54を繰り返す。以上によ
って、HOT(現用系)のRA0を使って正センタ1か
ら副センタ2に再送を行い、再送不可のときに更にST
BY(スタンバイ系)のRA1を使って正センタ1から
副センタ2に再送を行うことにより、RA0とRA1、
更に回線を異ならして再送を実行し、回線障害の発生に
よる再送の成功率を向上させ、信頼性を高めることが可
能となる。
A step S54 decides whether or not the number of times is exceeded. YE
In the case of S, the STBY system also ends as a failure occurrence.
In the case of NO, S53 and S54 are repeated. As described above, retransmission is performed from the main center 1 to the sub center 2 using RA0 of the HOT (working system).
By performing retransmission from the primary center 1 to the secondary center 2 using RA1 of the BY (standby system), RA0 and RA1,
Furthermore, it is possible to perform retransmission by changing the line, improve the success rate of retransmission due to the occurrence of a line failure, and improve reliability.

【0075】図11は、本発明の説明図(HOT/ST
BYの再送)を示す。図11の(a)は、構成図を示
す。図示の構成は、既述した図1の(b)のFCUに、
RA1を付加したものであって、RA0をHOT(現用
系)で使い、RA1をSTBY(スタンバイ系)で使
い、いわゆる二重化を図ったものである。
FIG. 11 is an explanatory diagram (HOT / ST) of the present invention.
BY retransmission). FIG. 11A shows a configuration diagram. The configuration shown in the figure is equivalent to the FCU shown in FIG.
RA1 is added, and RA0 is used in the HOT (active system) and RA1 is used in the STBY (standby system), so-called duplication is achieved.

【0076】図11の(b)は、HOTのRA0からS
TBYのRA1に切り替え、正センタ1から副センタ2
に再送するときに様子を示す。上段のの部分は、正セ
ンタ1のHOTのRA0を使ってトラックTR0〜2を
パケットに分割して連続して副センタ2に送信し、その
応答PR0〜2をトラック毎に正センタ1に送信する様
子を示す。この際、PR1、PR2を回転障害等で消失
してしまったので、下段のの部分で、正センタ1のS
TBYのRA1を使ってトラックTR1〜2をパケット
に分割して連続して副センタ2に再送し、その応答PR
1〜2をトラック毎に正センタ1に送信する様子を示す
(図中ではTRK1のP0〜P3を送信するまでを示
し、後は省略してある)。
FIG. 11 (b) is a diagram showing the case where H0 RA0 to SOT
Switch to TBY RA1 and switch from primary center 1 to secondary center 2.
Shows the situation when resending to. The upper part divides the tracks TR0 to TR2 into packets using the RAOT of the HOT of the main center 1 and continuously transmits the packets to the subcenter 2, and transmits the responses PR0 to PR2 to the main center 1 for each track. It shows how to do. At this time, PR1 and PR2 have been lost due to a rotation failure or the like.
Tracks TR1 and TR2 are divided into packets using RA1 of TBY, and are continuously retransmitted to sub-center 2.
1 and 2 are transmitted to the main center 1 on a track-by-track basis (in the figure, the process up to transmission of P0 to P3 of TRK1 is shown, and the rest is omitted).

【0077】以上のように、正センタ1のHOTのRA
0を使って再送を行い、回線障害等で再送不可のときに
STBYのRA1を使って再送を行うことにより、HO
T/STBYといういわゆる二重化して信頼性をより高
めることが可能となる。
As described above, the RA of the HOT of the primary center 1
0, and when retransmission is not possible due to a line failure or the like, retransmission is performed using RA1 of STBY, so that HO
It is possible to enhance reliability by so-called duplication of T / STBY.

【0078】図12は、本発明の他の動作説明フローチ
ャート(切換フラグ)を示す。これは、既述した図3の
(a)のCCW DX中で切換フラグをON/OFFに
したときに動作を説明するものである。
FIG. 12 is a flowchart (switching flag) for explaining another operation of the present invention. This explains the operation when the switching flag is turned ON / OFF in the CCW DX of FIG. 3A described above.

【0079】図12において、S61は、ファイル更新
が発生する。S62は、切換フラグがONか判別する。
これは、ホストからCCW DXを受信したFCUが当
該CCW DX中の切換フラグがONか判別する。YE
Sの場合には、既述した図1のFのS2以降を実行し、
複数トラックをパケットに分割して連続送信し、受信し
た副センタ2で確認応答を正センタ1に送信して一連の
バックアップ処理の完了を認識する。一方、NOの場合
には、S63で従来のトラック毎に応答確認する(既述
した図13および従来技術のその説明を参照)。
In FIG. 12, in S61, a file update occurs. A step S62 decides whether or not the switching flag is ON.
That is, the FCU that has received the CCW DX from the host determines whether the switching flag in the CCW DX is ON. YE
In the case of S, S2 and subsequent steps of F of FIG.
A plurality of tracks are divided into packets and transmitted continuously, and the received sub-center 2 transmits an acknowledgment to the main center 1 to recognize completion of a series of backup processing. On the other hand, in the case of NO, the response is confirmed for each conventional track in S63 (see FIG. 13 and the description of the conventional technique described above).

【0080】以上によって、ホストは、CCW DX中
の切換フラグをON/OFFに設定すのみで、既述した
図2のS2以降の本発明に係る処理を実行させたり、既
述した従来の図13に示すトラック毎に送信してその確
認応答を受信する処理を実行させたりでき、任意に簡易
に指定することが可能となる。
As described above, the host can execute the processing according to the present invention after S2 in FIG. 2 described above, or can execute the processing in the related art described above only by setting the switching flag in the CCW DX to ON / OFF. For example, it is possible to execute a process of transmitting each track shown in FIG.

【0081】[0081]

【発明の効果】以上説明したように、本発明によれば、
正センタ1側から回線を介して副センタ2にデータをバ
ックアップする際に、複数トラック数分を連続送信して
その応答を確認し、障害発生時に応答確認できないトラ
ックのデータのみ再送する構成を採用しているため、回
線ディレイ時間による処理効率の低下を改善して処理時
間の短縮化を図ると共に障害発生時の再送処理時間を最
小限に削減できる。
As described above, according to the present invention,
When backing up data from the main center 1 to the sub-center 2 via a line, a configuration is adopted in which multiple tracks are continuously transmitted and the response is confirmed, and only data on the track for which a response cannot be confirmed when a failure occurs is retransmitted. As a result, it is possible to reduce the processing time by reducing the processing efficiency due to the line delay time, and to minimize the retransmission processing time when a failure occurs.

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

【図1】本発明のシステム構成図である。FIG. 1 is a system configuration diagram of the present invention.

【図2】本発明の動作説明フローチャートである。FIG. 2 is a flowchart illustrating the operation of the present invention.

【図3】本発明のCCW例である。FIG. 3 is a CCW example of the present invention.

【図4】本発明の説明図(トラック毎の応答)である。FIG. 4 is an explanatory diagram (response for each track) of the present invention.

【図5】本発明の他の動作説明フローチャートである。FIG. 5 is a flowchart illustrating another operation of the present invention.

【図6】本発明の説明図(全複数トラックをまとめて応
答)である。
FIG. 6 is an explanatory diagram of the present invention (responses collectively for a plurality of tracks).

【図7】本発明の他の動作説明フローチャート(障害発
生時の再送、その1)である。
FIG. 7 is a flowchart illustrating another operation of the present invention (retransmission when a failure occurs, part 1).

【図8】本発明の説明図(障害発生時の再送、その1)
である。
FIG. 8 is an explanatory diagram of the present invention (retransmission when a failure occurs, part 1)
It is.

【図9】本発明の他の動作説明フローチャート(障害発
生時の再送、その2)である。
FIG. 9 is a flowchart illustrating another operation of the present invention (retransmission when a failure occurs, part 2).

【図10】本発明の他の動作説明フローチャート(HO
T/STBYの再送)である。
FIG. 10 is a flowchart (HO) for explaining another operation of the present invention.
T / STBY retransmission).

【図11】本発明の説明図(HOT/STBYの再送)
である。
FIG. 11 is an explanatory diagram of the present invention (retransmission of HOT / STBY).
It is.

【図12】本発明の他の動作説明フローチャート(切換
フラグ)である。
FIG. 12 is a flowchart (switching flag) for explaining another operation of the present invention.

【図13】従来技術の説明図である。FIG. 13 is an explanatory diagram of a conventional technique.

【図14】本発明の説明図である。FIG. 14 is an explanatory diagram of the present invention.

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

1:正センタ 2:副センタ HOST:ホスト(ホスト計算機) FCU:磁気ディスク制御装置 LR:接続装置 DASD:磁気ディスク装置 CA:チャネルアダプタ RM:リソースマネージャ SS:チャッシュメモリ RA:リモートアダプタ RA0:HOT(現用系)のRA RA1:STBY(スタンバイ系)のRA DA:ディバイスアダプタ 1: Primary center 2: Secondary center HOST: Host (host computer) FCU: Magnetic disk controller LR: Connection device DASD: Magnetic disk device CA: Channel adapter RM: Resource manager SS: Cash memory RA: Remote adapter RA0: HOT ( Active RA) RA1: STBY (Standby) RA DA: Device Adapter

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】正センタのデータを回線を介して副センタ
に転送するディスク制御システムにおいて、 正センタの複数トラックをパケットに分割して連続して
回線を介して副センタに送信する手段と、 上記送信されたパケットを副センタで受信して元のトラ
ックに組立て、当該組立が完了する毎に応答を正センタ
に送信する手段と、 正センタ側で上記応答が上記送信した複数トラックの全
てについて受信されたときに送信完了と確認する手段と
を備えたことを特徴とするディスク制御システム。
1. A disk control system for transferring data of a main center to a sub-center via a line, means for dividing a plurality of tracks of the main center into packets, and successively transmitting the packets to the sub-center via a line, Means for receiving the transmitted packet at the sub-center, assembling it into the original track, and transmitting a response to the main center each time the assembling is completed; A disk control system comprising: means for confirming transmission completion when received.
【請求項2】上記正センタ側で上記応答が上記送信した
複数トラックのうちの所定時間経過しても受信されない
トラックを検出し、当該検出されたトラックをパケット
に分割して連続して回線を介して副センタに再度、送信
する手段を備えたことを特徴とする請求項1記載のディ
スク制御システム。
2. The main center detects a track of which the response has not been received within a predetermined period of time among the plurality of transmitted tracks, and divides the detected track into packets to continuously connect the line. 2. The disk control system according to claim 1, further comprising means for transmitting data to the sub-center again via the sub-center.
【請求項3】正センタのデータを回線を介して副センタ
に転送するディスク制御システムにおいて、 正センタの複数トラックをパケットに分割して連続して
回線を介して副センタに送信する手段と、 上記送信されたパケットを副センタで受信して元のトラ
ックに組立て、全てのトラックの組立が完了したときに
応答を正センタに送信する手段と正センタ側で上記応答
が受信されたときに送信完了と確認する手段とを備えた
ことを特徴とするディスク制御システム。
3. A disk control system for transferring data of a main center to a sub-center via a line, means for dividing a plurality of tracks of the main center into packets and transmitting the packets to the sub-center via the line continuously, Means for receiving the transmitted packet at the sub-center and assembling it into the original track, transmitting a response to the main center when all the trucks have been assembled, and transmitting when the response is received at the main center A disk control system comprising: means for confirming completion.
【請求項4】上記正センタ側で上記応答が受信されたと
きに当該応答情報をもとに未応答のトラックを検出し、
当該検出されたトラックをパケットに分割して連続して
回線を介して副センタに再度、送信する手段を備えたこ
とを特徴とする請求項1ないし請求項3のいずれかに記
載のディスク制御システム。
4. When the response is received by the main center, an unresponsive track is detected based on the response information,
4. The disk control system according to claim 1, further comprising means for dividing the detected track into packets and continuously transmitting the divided packets to the sub-center again via a line. .
【請求項5】上記正センタ側で上記応答が上記送信した
複数トラックのうちの所定時間経過しても受信されない
トラックを検出し、あるいは正センタ側で上記応答が受
信されたときに当該応答情報をもとに未応答のトラック
を検出し、当該検出されたトラックをパケットに分割し
て連続して他の回線を介して副センタに再度、送信する
手段を備えたことを特徴とする請求項1あるいは請求項
3記載のディスク制御システム。
5. The main center side detects a track of which the response is not received within a predetermined time out of the plurality of transmitted tracks, or the main center side receives the response information when the main center side receives the response. A means for detecting a non-responding track based on the received data, dividing the detected track into packets, and continuously transmitting the divided packets to the sub-center again via another line. The disk control system according to claim 1 or 3.
【請求項6】正センタから副センタに上記複数トラック
をまとめてあるいは1トラック毎にパケットに分割して
連続して回線を介して送信する旨を表す切換フラグを設
定するCCW(チャネルコマンド語)を備え、 当該CCWの切換フラグに従い複数トラックをまとめて
あるいは1トラック毎にパケットに分割して連続して回
線を介して副センタに送信することを特徴とする請求項
1ないし請求項5のいずれかに記載のディスク制御シス
テム。
6. A CCW (channel command word) for setting a switching flag indicating that the plurality of tracks are collectively transferred from the main center to the sub-center or divided into packets for each track and transmitted continuously via a line. 6. The method according to claim 1, wherein a plurality of tracks are combined according to the CCW switching flag or divided into packets for each track, and transmitted to the sub-center via a line continuously. A disk control system according to
【請求項7】正センタの複数トラックをパケットに分割
して連続して回線を介して副センタに送信する手段と、 上記送信されたパケットを副センタで受信して元のトラ
ックに組立て、当該組立が完了する毎に応答を正センタ
に送信する手段と、 正センタ側で上記応答が上記送信した複数トラックの全
てについて受信されたときに送信完了と確認する手段と
して機能させるプログラムを記録したコンピュータ読取
可能な記録媒体。
7. A means for dividing a plurality of tracks of the main center into packets and transmitting the packets to the sub-center continuously via a line, receiving the transmitted packets at the sub-center and assembling them into the original track, A computer that records a program for functioning as a means for transmitting a response to the main center every time assembly is completed, and a means for confirming that transmission has been completed when the response is received for all of the plurality of tracks transmitted on the main center side A readable recording medium.
【請求項8】正センタの複数トラックをパケットに分割
して連続して回線を介して副センタに送信する手段と、 上記送信されたパケットを副センタで受信して元のトラ
ックに組立て、全てのトラックの組立が完了したときに
応答を正センタに送信する手段と正センタ側で上記応答
が受信されたときに送信完了と確認する手段として機能
させるプログラムを記録したコンピュータ読取可能な記
録媒体。
8. A means for dividing a plurality of tracks at the main center into packets and transmitting the packets to the sub-center continuously via a line, receiving the transmitted packets at the sub-center and assembling them into the original track, A computer-readable recording medium storing a program functioning as a means for transmitting a response to the main center when the truck assembly is completed and a means for confirming the completion of transmission when the main center receives the response.
JP10050270A 1998-03-03 1998-03-03 Disk control system and storage medium Pending JPH11249820A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10050270A JPH11249820A (en) 1998-03-03 1998-03-03 Disk control system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10050270A JPH11249820A (en) 1998-03-03 1998-03-03 Disk control system and storage medium

Publications (1)

Publication Number Publication Date
JPH11249820A true JPH11249820A (en) 1999-09-17

Family

ID=12854273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10050270A Pending JPH11249820A (en) 1998-03-03 1998-03-03 Disk control system and storage medium

Country Status (1)

Country Link
JP (1) JPH11249820A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003515841A (en) * 1999-12-06 2003-05-07 レガート・システムズ・インコーポレーテッド Crash recovery without complete remirror
JP2012133456A (en) * 2010-12-20 2012-07-12 Fujitsu Ltd Storage device and control method of storage device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05100795A (en) * 1991-10-04 1993-04-23 Nec Corp Data backup system for direct arrangement file
JPH05145595A (en) * 1991-11-19 1993-06-11 Matsushita Electric Ind Co Ltd Data communication equipment
JPH0730543A (en) * 1993-06-24 1995-01-31 Nec Corp Frame re-transmission method
JPH07244597A (en) * 1994-02-22 1995-09-19 Internatl Business Mach Corp <Ibm> Method and related system for forming consistent group for providing disaster restoration function

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05100795A (en) * 1991-10-04 1993-04-23 Nec Corp Data backup system for direct arrangement file
JPH05145595A (en) * 1991-11-19 1993-06-11 Matsushita Electric Ind Co Ltd Data communication equipment
JPH0730543A (en) * 1993-06-24 1995-01-31 Nec Corp Frame re-transmission method
JPH07244597A (en) * 1994-02-22 1995-09-19 Internatl Business Mach Corp <Ibm> Method and related system for forming consistent group for providing disaster restoration function

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003515841A (en) * 1999-12-06 2003-05-07 レガート・システムズ・インコーポレーテッド Crash recovery without complete remirror
JP2012133456A (en) * 2010-12-20 2012-07-12 Fujitsu Ltd Storage device and control method of storage device

Similar Documents

Publication Publication Date Title
JP4236049B2 (en) Method, system, and program for providing a mirror copy of data
US7472173B2 (en) Remote data copying among storage systems
US7562103B2 (en) Disaster recovery processing method and apparatus and storage unit for the same
JP4074072B2 (en) Remote copy system with data integrity
KR100314418B1 (en) Snapshot copy of a secondary volume of a pprc pair
US7024591B2 (en) Mechanism for enabling enhanced fibre channel error recovery across redundant paths using SCSI level commands
US6535967B1 (en) Method and apparatus for transferring data between a primary storage system and a secondary storage system using a bridge volume
US20030177321A1 (en) Data synchronization of multiple remote storage after remote copy suspension
JP2006309447A (en) Storage system and backup method
JPH10198607A (en) Data multiplexing system
US7426609B2 (en) Disk control apparatus, disk control method, remote disk control apparatus, and remote disk control method
JP4412722B2 (en) Remote copy system
US7260739B2 (en) Method, apparatus and program storage device for allowing continuous availability of data during volume set failures in a mirrored environment
JP4214832B2 (en) Storage system
JPH11249820A (en) Disk control system and storage medium
US7010650B2 (en) Multiple data management method, computer and storage device therefor
US6182166B1 (en) Method/apparatus for interfacing two remotely disposed devices coupled via transmission medium with first and second commands transmitted without first checking receiving device for readiness
US6940666B2 (en) Magnetic tape apparatus that duplicates data and stores the duplicated data in plural magnetic tape drives
US6687801B1 (en) Adaptive copy pending off mode
JPS61278958A (en) Data transfer device
JP4721057B2 (en) Data management system, data management method, and data management program
JP2003050675A (en) Data multiplexing system
JP2004272884A (en) Data synchronization system after remote copy suspension in multiple remote storage
JP2004272884A5 (en)
JP6912105B2 (en) Disk array system, control method of disk array system, and disk array device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041102