JPH10269030A - Remote file sharing system, and control method therefor - Google Patents

Remote file sharing system, and control method therefor

Info

Publication number
JPH10269030A
JPH10269030A JP9071308A JP7130897A JPH10269030A JP H10269030 A JPH10269030 A JP H10269030A JP 9071308 A JP9071308 A JP 9071308A JP 7130897 A JP7130897 A JP 7130897A JP H10269030 A JPH10269030 A JP H10269030A
Authority
JP
Japan
Prior art keywords
data
control device
storage
primary
write request
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
JP9071308A
Other languages
Japanese (ja)
Inventor
Kenichi Wada
賢一 和田
Shigeru Kijiro
茂 木城
Yoshihiro Azumi
義弘 安積
Hiroaki Nakanishi
弘晃 中西
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP9071308A priority Critical patent/JPH10269030A/en
Publication of JPH10269030A publication Critical patent/JPH10269030A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a remote file sharing system capable of sharing files from respective host devices between storage controllers performing remote double write. SOLUTION: To the write request of data from the host device 3, the storage controller 5 sets information to the shared file control information table 97 of a remote storage controller 6 so as to exclude the input/output instruction of the data from the host device 4. Thus, by excluding input and output from the host device 4 until the write of the data to both storage controllers is ended, this remote file sharing system is realized between the storage controllers.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ストレージシステ
ムに関し、特に、上位装置を介さずに、遠隔記憶制御装
置間で記憶媒体上のデータを、二重書きするストレージ
システムにおいて、それぞれの記憶制御装置に接続する
上位装置から二重書きされたデータを読み出し/書き込
み処理可能な遠隔ファイル共用システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage system, and more particularly, to a storage system in which data on a storage medium is double-written between remote storage controllers without the intervention of a host device. The present invention relates to a remote file sharing system capable of reading / writing double-written data from a higher-level device connected to a remote device.

【0002】[0002]

【従来の技術】上位装置を介することなしに記憶制御装
置間でデータ転送をおこない、遠隔の記憶制御装置間で
データの二重書きを実現する技術、すなわち遠隔二重書
きは、United States Patent 5155845に記載されてい
る。本従来技術では、上位装置から記憶制御装置配下の
記憶媒体の正副を指定するコマンドを正記憶制御装置が
受領すると、正記憶制御装置の記憶媒体の格納するデー
タを副記憶制御装置の記憶媒体へデータをコピーする。
それと同時に、上位装置から正記憶制御装置に対して書
き込み要求が発行された場合、正記憶制御装置は、当該
書き込みデータを正記憶制御装置に格納するとともに、
副記憶制御装置に対して書き込み要求を発行する。
2. Description of the Related Art A technique for transferring data between storage controllers without the intervention of a host device and realizing double writing of data between remote storage controllers, that is, remote double writing, is disclosed in United States Patent 5,155,845. It is described in. According to this conventional technique, when the primary storage control device receives a command designating the primary and secondary storage media under the storage control device from the host device, the data stored in the storage medium of the primary storage control device is transferred to the storage medium of the secondary storage control device. Copy the data.
At the same time, when the host device issues a write request to the primary storage control device, the primary storage control device stores the write data in the primary storage control device,
Issues a write request to the secondary storage controller.

【0003】以上の動作により、遠隔二重書きが実現さ
れる。遠隔二重書きをおこなうことによって、災害や障
害等によって、正記憶制御装置のデータが入出力不能に
なった場合に、副記憶制御装置とそれに接続する副上位
装置からなる副システムにより業務を引き継ぐことが可
能になる。
[0005] Remote duplication is realized by the above operation. By performing remote dual writing, if the data in the primary storage controller becomes incapable of input / output due to a disaster or failure, the business is taken over by the secondary system consisting of the secondary storage controller and the secondary higher-level device connected to it. It becomes possible.

【0004】一方、複数の上位装置から記憶制御装置配
下の記憶媒体に格納されたデータを共用する技術、ファ
イル共用システムがある。本従来技術では、上位装置か
ら記憶制御装置にデータの書き込み要求を発行した場
合、記憶制御装置は、配下の記憶媒体に上位装置から転
送されたデータを格納する。前記書き込み処理中に、他
の上位装置から当該データの読み出し/書き込み要求が
発行されると、記憶制御装置の当該データが書き込み処
理中であり、当該データを操作できないことを要求を発
行した上位装置に報告する。上記の処理により、上位装
置から記憶制御装置へデータを書き込み要求処理中、他
の上位装置から当該データの読み出し要求が発行された
場合、書き込み前のデータが読み出されることがなく、
他の上位装置から当該データの書き込み要求が発行され
た場合についても、書き込み前に後者の書き込み処理を
おこなうことはない。
On the other hand, there is a technology and a file sharing system for sharing data stored in a storage medium under a storage control device from a plurality of higher-level devices. According to this conventional technique, when a higher-level device issues a data write request to the storage controller, the storage controller stores the data transferred from the higher-level device in a subordinate storage medium. During the writing process, when a read / write request for the data is issued from another higher-level device, the higher-level device that has issued a request that the data in the storage control device is being written and that the data cannot be operated. Report to According to the above processing, during a data write request process from the higher-level device to the storage control device, when a read request for the data is issued from another higher-level device, the data before writing is not read out,
Even when a write request for the data is issued from another higher-level device, the latter write process is not performed before writing.

【0005】以上の動作により、複数上位装置から記憶
制御装置配下のデータを共用できる。複数の上位装置で
ファイル共用することで、個々の上位装置の実務処理負
担を軽減する分散処理が可能になる。
[0005] By the above operation, data under the storage controller can be shared by a plurality of higher-level devices. By sharing a file with a plurality of higher-level devices, distributed processing that reduces the load on practical processing of each higher-level device becomes possible.

【0006】[0006]

【発明が解決しようとする課題】上記従来技術におい
て、災害や障害等によって、正上位装置と正記憶制御装
置からなるシステムが使用不能になった場合にのみ、副
上位装置から正副記憶制御装置間で二重書きしたデータ
を用いて実務プログラムを引き継ぐため、災害や障害等
が発生していない際の副上位装置は、有効利用されてい
ない。この解決策として、もう一つの従来技術で複数の
上位装置から記憶制御装置のデータを共用していたよう
に、正副記憶制御装置間で二重書きしたデータを正副上
位装置から遠隔共用し、災害や障害等が発生していない
場合は、実務処理を分散させることが考えられる。
In the above prior art, only when a system consisting of a primary host and a primary storage controller becomes unusable due to a disaster or a failure, etc. Since the business program is succeeded by using the data duplicated in the above, the secondary host device when no disaster or failure occurs has not been effectively used. As a solution to this, as in another conventional technique, data of a storage controller is shared from a plurality of higher-level devices. If no trouble or failure occurs, it is conceivable to disperse the practical processing.

【0007】遠隔ファイル共用する場合には、副上位装
置から副記憶制御装置へのデータの書き込み要求を処理
するため、従来の遠隔二重書き技術である正上位装置か
ら正記憶制御装置への書き込み要求に加えて、副上位装
置から副記憶制御装置への書き込み要求を受領し、副記
憶制御装置から正記憶制御装置へ書き込みデータを転送
することにより、双方向にデータを遠隔二重書きするこ
とが必要となる。したがって、本発明が解決すべき第一
の課題は、正副記憶制御装置間で双方向にデータの書き
込み要求を発行し、遠隔二重書きを可能にするシステム
構成にある。
In the case of remote file sharing, in order to process a data write request from the secondary host to the secondary storage controller, data is written from the primary host to the primary storage controller, which is a conventional remote dual writing technique. In addition to the request, receiving a write request from the secondary host device to the secondary storage control device and transferring the write data from the secondary storage control device to the primary storage control device, thereby performing remote duplex writing of data in two directions. Is required. Therefore, the first problem to be solved by the present invention is a system configuration that issues a data write request bidirectionally between the primary and secondary storage controllers and enables remote dual writing.

【0008】一方、正副記憶制御装置が上位装置からの
データの読み出し/書き込み要求を受領時、当該データ
は正副記憶制御装置で一致している必要がある。しか
し、従来の遠隔二重書きでは、正上位装置から正記憶制
御装置へデータの書き込み要求を発行した場合、正記憶
制御装置は、配下の記憶媒体にデータを格納し、副記憶
制御装置に当該データの書き込み要求を発行するため、
配下の記憶媒体にデータを格納してから副記憶制御装置
に当該データを書き込むまでの間、正副記憶制御装置間
で当該データが一致していない状態が生じる。特に、正
記憶制御装置配下の記憶媒体にデータを格納後、副記憶
制御装置がデータの書き込み要求を受領するまでの間、
副記憶制御装置では、正記憶制御装置が当該データの書
き込み要求処理中であることが判断できないため、正副
記憶制御装置間でデータの不一致が発生しているにも関
わらず、副上位装置から副記憶制御装置に当該データの
読み出し/書き込み要求が発行された場合、この要求を
処理不可能と判断する手段がない。したがって、本発明
が解決しようとする第二の課題は、記憶制御装置が上位
装置からの読み出し/書き込み要求を受領可能か判断す
ること、すなわち、記憶制御装置が上位装置からの読み
だし/書き込み要求を受領するべきでない場合は、上位
装置からの入出力要求を排他制御する手段にある。
On the other hand, when the primary / secondary storage controller receives a data read / write request from a higher-level device, the data must be identical in the primary / secondary storage controller. However, in the conventional remote dual writing, when a primary host issues a data write request to the primary storage controller, the primary storage controller stores the data in a subordinate storage medium and the secondary storage controller To issue a data write request,
Between the time when data is stored in the subordinate storage medium and the time when the data is written to the secondary storage control device, a state where the data does not match between the primary and secondary storage control devices occurs. In particular, after data is stored in the storage medium under the primary storage control device, until the secondary storage control device receives a data write request,
The secondary storage control device cannot determine that the primary storage control device is in the process of requesting the writing of the data. Therefore, despite the data mismatch between the primary and secondary storage control devices, the secondary storage control device When a data read / write request is issued to the storage controller, there is no means for determining that the request cannot be processed. Therefore, a second problem to be solved by the present invention is to determine whether the storage control device can receive a read / write request from a higher-level device, that is, the storage controller has a read / write request from a higher-level device. Is not to be received, there is a means for exclusively controlling an input / output request from a higher-level device.

【0009】[0009]

【課題を解決するための手段】上記第一の課題を解決す
るために、正記憶制御装置は、正記憶制御装置から副記
憶制御装置へ入出力要求を送信可能な送信制御回路とと
もに、副記憶制御装置から正記憶制御装置への入出力命
令を受信するための受信制御回路とを備え、副記憶制御
装置についても、副記憶制御装置から正記憶制御装置へ
入出力要求を送信可能な送信制御回路と、正記憶制御装
置から副記憶制御装置への入出力命令を受信するための
受信制御回路とを備え、正副記憶制御装置配下の送信制
御回路と受信制御回路を接続し、入出力命令とデータを
転送するパスを備える。
In order to solve the first problem, the primary storage control device includes a transmission control circuit capable of transmitting an input / output request from the primary storage control device to the secondary storage control device, and a primary storage control device. A reception control circuit for receiving an input / output command from the control device to the primary storage control device; and a transmission control capable of transmitting an input / output request from the secondary storage control device to the primary storage control device also for the secondary storage control device. Circuit, and a reception control circuit for receiving an input / output command from the primary storage control device to the secondary storage control device.The transmission control circuit and the reception control circuit under the primary / secondary storage control device are connected, and the input / output instruction and It has a path for transferring data.

【0010】本発明によれば、正記憶制御装置から副記
憶制御装置へのデータの読み出し/書き込み要求と、副
記憶制御装置から正記憶制御装置へのデータの読み出し
/書き込み要求を処理する機能をもつことにより、正副
上位装置から正副記憶制御装置へのデータの書き込み要
求をそれぞれ遠隔の記憶制御装置に二重書きするため
に、書き込み要求を発行することが可能となり、双方向
の遠隔二重書きが可能となる。
According to the present invention, a data read / write request from the primary storage control device to the secondary storage control device and a data read / write request from the secondary storage control device to the primary storage control device are provided.
/ With the function to process write requests, it is possible to issue write requests to duplicate data write requests from the primary / secondary upper-level devices to the primary / secondary storage controllers to the remote storage controllers. , Two-way remote duplex writing becomes possible.

【0011】一方、上記第二の課題を解決するために、
正副記憶制御装置は、それぞれ上位装置からの入出力要
求を排他する情報を格納するためのテーブルを備え、正
副記憶制御装置からそれぞれの遠隔の記憶制御装置が制
御する前記テーブルに入出力を排他するデータの位置情
報を書き込む命令を発行する機能を持つ。
On the other hand, in order to solve the second problem,
Each of the primary and secondary storage controllers has a table for storing information for exclusion of an input / output request from a higher-level device, and the primary and secondary storage controllers exclude input and output from the table controlled by each remote storage controller. It has a function to issue an instruction to write data position information.

【0012】本発明によれば、上位装置から記憶制御装
置にデータの書き込み要求が発行された場合、記憶制御
装置は、配下の記憶媒体に当該データを格納する以前
に、遠隔の記憶制御装置に遠隔の上位装置から当該デー
タの入出力要求を排他する命令を発行し、遠隔の記憶制
御装置が前記テーブルに排他情報を書き込み後、配下の
記憶媒体に当該データを書き込むとともに、遠隔の記憶
制御装置に当該データの書き込み要求を発行し、遠隔の
記憶制御装置に当該データ格納後、遠隔の記憶制御装置
に前記排他情報をテーブルから解除するための命令を発
行する。
According to the present invention, when a data write request is issued from a higher-level device to a storage controller, the storage controller transmits the data write request to a remote storage controller before storing the data in a subordinate storage medium. The remote host issues an instruction to exclude the input / output request of the data, the remote storage controller writes the exclusion information in the table, and then writes the data to a subordinate storage medium. Issue a request to write the data, and after storing the data in the remote storage controller, issue a command to release the exclusive information from the table to the remote storage controller.

【0013】以上の動作により、配下の記憶媒体にデー
タを格納後、当該データの書き込み要求を遠隔の記憶制
御装置に発行するまでの間に、遠隔の上位装置から遠隔
の記憶制御装置に当該データの読み出し/書き込み要求
が発行された場合についても、遠隔の記憶制御装置に排
他情報を格納するテーブルに当該データの上位装置から
の入出力を排他する情報が格納されているため、遠隔の
記憶制御装置は、遠隔の上位装置から入出力要求を排他
するため、遠隔の上位装置に処理できないことを報告す
ることができる。
According to the above operation, after the data is stored in the subordinate storage medium and before the data write request is issued to the remote storage control device, the remote host device transmits the data to the remote storage control device. Also, when a read / write request is issued, the table for storing exclusive information in the remote storage control device stores information for exclusion of input / output of the data from the higher-level device. Since the device excludes the input / output request from the remote host device, the device can report to the remote host device that the request cannot be processed.

【0014】また、上記第一の課題の他の解決手段とし
て、正副記憶制御装置に、遠隔の記憶制御装置への読み
出し/書き込み要求の発行と、遠隔の記憶制御装置から
のデータの読み出し/書き込み要求を受領する機能をも
つ送受信制御回路と、送受信回路間を接続するパスを備
える。本発明によれば、正記憶制御装置の制御回路を送
信に用いる場合、副記憶制御装置の制御回路を受信用
に、副記憶制御装置の制御回路を送信に用いる場合、正
記憶制御装置の制御回路を受信用に動作を切り替えるこ
とによって、一本のパスで双方向に入出力要求の発行と
データの転送が可能となり、記憶制御装置間で双方向に
データの二重書きが可能となる。以上により課題を解決
できる。
As another means for solving the above first problem, a read / write request is issued to the primary and secondary storage controllers to a remote storage controller, and data is read / written from the remote storage controller. A transmission / reception control circuit having a function of receiving a request and a path connecting the transmission / reception circuits are provided. According to the present invention, when the control circuit of the primary storage control device is used for transmission, when the control circuit of the secondary storage control device is used for reception, and when the control circuit of the secondary storage control device is used for transmission, control of the primary storage control device is performed. By switching the operation of the circuit for reception, it is possible to issue an I / O request and transfer data bidirectionally with a single path, and to duplicately write data bidirectionally between storage control devices. Thus, the problem can be solved.

【0015】[0015]

【発明の実施の形態】図1に本発明の実施例の遠隔ファ
イル共用システムの一構成例を示す。本構成例では、コ
ンピュータシステム1とコンピュータシステム2の二つ
のコンピュータシステムから構成され、各々内部に上位
装置3、記憶制御装置、構成例では、磁気ディスク制御
装置5をもつ。
FIG. 1 shows a configuration example of a remote file sharing system according to an embodiment of the present invention. In this configuration example, the system is composed of two computer systems, a computer system 1 and a computer system 2. Each has a host device 3, a storage control device, and in the configuration example, a magnetic disk control device 5.

【0016】従来の遠隔二重書きシステムにおいて、平
常時運用するコンピュータシステム、上位装置、磁気デ
ィスク制御装置を正と呼び、正のコンピュータシステム
が災害や障害等によって運用不可能の時、実務を引き継
ぐコンピュータシステム、上位装置、および磁気ディス
ク制御装置を副と呼ぶ。本発明においては、遠隔ファイ
ル共用により、平常時から両コンピュータシステムが運
用可能となり、また、両コンピュータシステムは、同じ
構成、および同じ制御を必要とするため、両コンピュー
タシステムの構成および制御に差はない。しかし、便宜
上または論理上、コンピュータシステム1、上位装置3
および磁気ディスク制御装置5を中心として構成および
動作の説明をおこない、必要な場合は、コンピュータシ
ステム2、上位装置4および磁気ディスク制御装置6を
遠隔と呼び、動作の説明をおこなう。
In the conventional remote double-writing system, a computer system, a higher-level device, and a magnetic disk control device that are operated in normal times are called positive, and when the positive computer system becomes inoperable due to a disaster or failure, it takes over the business. The computer system, the host device, and the magnetic disk control device are called sub-devices. In the present invention, the remote file sharing allows both computer systems to operate from normal times, and since both computer systems require the same configuration and the same control, there is no difference in the configuration and control of both computer systems. Absent. However, for convenience or logic, the computer system 1 and the host device 3
The configuration and operation will be described with a focus on the magnetic disk controller 5 and, if necessary, the computer system 2, the host device 4 and the magnetic disk controller 6 will be referred to as remote, and the operation will be described.

【0017】磁気ディスク制御装置5は、上位装置3お
よび遠隔の磁気ディスク制御装置6と入出力命令とデー
タを転送可能なパス70、72、73で接続される。
The magnetic disk control device 5 is connected to the host device 3 and a remote magnetic disk control device 6 by paths 70, 72 and 73 capable of transferring input / output commands and data.

【0018】磁気ディスク制御装置5の内部構成は、デ
ータを格納する磁気ディスク10と、上位装置3と遠隔
の磁気ディスク制御装置6からの入出力命令の制御と、
遠隔の磁気ディスク制御装置6への入出力命令の制御、
および磁気ディスクへのデータの取り出し/格納を制御
するディスクI/O制御部8で構成される。
The internal structure of the magnetic disk control device 5 includes a magnetic disk 10 for storing data, control of input / output commands from a magnetic disk control device 6 remote from the host device 3, and
Control of input / output commands to the remote magnetic disk controller 6;
And a disk I / O control unit 8 for controlling the retrieval / storage of data to / from the magnetic disk.

【0019】磁気ディスク10は、図2に示すように、
データを記録する複数個のディスク100とディスク上
のデータの読み出し/書き込みするためのヘッド101
と、ディスクI/O制御部8とデータの受け渡しをおこ
なうインターフェース制御回路104から構成される。
ディスクが一回転する間にヘッドがアクセス可能な円上
の記録単位をトラック102と呼ぶ。トラックはヘッド
101の位置を移動することでディスク100上に複数
個存在する。あるトラック102からデータの入出力を
おこなう場合、ヘッド101をこのトラック102に位
置付けて、データの入出力をおこなう。磁気ディスク1
0には、複数個のディスクとそれに対応する複数個のヘ
ッドを備えているため、上記位置付け動作により、ヘッ
ド101以外のヘッドも同時に移動する。あるトラック
102にヘッド101を位置付けた際に他のヘッドが位
置付けられるトラックの集まりをシリンダ103と呼
ぶ。シリンダには、ディスクの内側から昇順に、また、
ヘッドには上から昇順に番号付けされていて、それぞれ
シリンダ番号、ヘッド番号と呼ぶ。
The magnetic disk 10, as shown in FIG.
A plurality of disks 100 for recording data and a head 101 for reading / writing data on the disks
And an interface control circuit 104 that exchanges data with the disk I / O control unit 8.
A recording unit on a circle that can be accessed by the head during one rotation of the disk is called a track 102. A plurality of tracks exist on the disk 100 by moving the position of the head 101. When data is input / output from / to a certain track 102, the head 101 is positioned at this track 102 and data is input / output. Magnetic disk 1
0 has a plurality of disks and a plurality of heads corresponding to the disks, so that the heads other than the head 101 are simultaneously moved by the positioning operation. A group of tracks on which another head is positioned when the head 101 is positioned on a certain track 102 is called a cylinder 103. Cylinders are arranged in ascending order from the inside of the disk,
The heads are numbered in ascending order from the top, and are called a cylinder number and a head number, respectively.

【0020】ディスクI/O制御部8の内部構成を説明
すると、図3に示すように、上位装置3から入出力命令
を受信し、データの受け渡しをおこなうコマンド受信制
御回路81と、遠隔の磁気ディスク制御装置6から入出
力命令を受信し、データの受け渡しをおこなうコマンド
受信制御回路82と、遠隔の磁気ディスク制御装置6へ
入出力命令を送信し、データの受け渡しをおこなうコマ
ンド送信制御回路83と、磁気ディスク10からそれぞ
れのコマンド送・受信制御回路へのデータの受け渡しを
おこなうデータ転送制御回路84と、制御線89をもち
いて上記の制御回路を制御するプロセッサ85と、プロ
セッサ85上で動作する磁気ディスク制御プログラムを
格納するメモリ86と遠隔の磁気ディスク制御装置6と
ファイル共用するための排他制御情報を格納する、共用
ファイル制御情報テーブル87で構成される。
The internal configuration of the disk I / O control unit 8 will be described. As shown in FIG. 3, a command reception control circuit 81 for receiving an input / output command from the host device 3 and transferring data, and a remote magnetic A command reception control circuit 82 for receiving an input / output command from the disk control device 6 and transferring data; a command transmission control circuit 83 for transmitting an input / output command to the remote magnetic disk control device 6 and transferring data; A data transfer control circuit 84 for transferring data from the magnetic disk 10 to the respective command transmission / reception control circuits, a processor 85 for controlling the above-described control circuits using a control line 89, and operating on the processor 85. A file is shared between the memory 86 storing the magnetic disk control program and the remote magnetic disk controller 6. And a shared file control information table 87 for storing exclusive control information.

【0021】図4に共用ファイル制御情報テーブル87
の構成例を示す。一般に、磁気ディスク制御装置は、複
数の磁気ディスクを制御しているため、本構成例では、
図4のように縦軸にシリンダ、横軸を磁気ディスクによ
って分割し、各磁気ディスクのシリンダ単位に排他制御
する情報を持ち、上位装置からの入出力を排他する場
合、排他するシリンダ番号に対応するテーブルの値を1
とし、排他を必要としない場合、0を設定する。したが
って、磁気ディスク制御装置5が遠隔の磁気ディスク制
御装置6から上位装置3の入出力を排他する命令と排他
するシリンダ番号を受領すると、当該シリンダ番号にあ
たるテーブル上のデータを1に設定し、入出力の排他を
解除する命令とシリンダ番具を受領すると、当該シリン
ダ番号にあたるテーブル上のデータを1に設定すること
で、上位装置からの入出力を排他するシリンダの位置情
報を作成する。
FIG. 4 shows the shared file control information table 87.
An example of the configuration will be described. In general, the magnetic disk control device controls a plurality of magnetic disks.
As shown in FIG. 4, the vertical axis is divided into cylinders and the horizontal axis is divided by magnetic disks, and information for exclusive control is provided for each magnetic disk in units of cylinders. Table value to be set to 1
If no exclusion is required, 0 is set. Therefore, when the magnetic disk controller 5 receives a command for exclusion of input / output from the remote magnetic disk controller 6 and a cylinder number for exclusion, the data on the table corresponding to the cylinder number is set to 1, and When receiving the command to release the exclusion of the output and the cylinder number, the data in the table corresponding to the cylinder number is set to 1 to create the position information of the cylinder for which the input / output from the host device is excluded.

【0022】本実施例の遠隔ファイル共用システムにお
いて、上位装置3から磁気ディスク制御装置5に対して
リード・ライトコマンドが発行された時、磁気ディスク
制御装置5の動作についてディスクI/O制御部8のプ
ロセッサ85の図5のディスク制御プログラムの流れを
用いて説明する。
In the remote file sharing system according to the present embodiment, when a read / write command is issued from the higher-level device 3 to the magnetic disk controller 5, the operation of the magnetic disk controller 5 is controlled by the disk I / O controller 8 Will be described with reference to the flow of the disk control program of FIG.

【0023】初期状態として、ディスクI/O制御部は
上位装置3と遠隔の磁気ディスク制御装置6からコマン
ド受信制御回路81・82でコマンドを受け取るまで、
ステップ200でコマンド受信待ち状態を維持する。
In an initial state, the disk I / O control unit operates until the command reception control circuits 81 and 82 receive commands from the host device 3 and the remote magnetic disk control device 6 until the command is received.
In step 200, the command reception waiting state is maintained.

【0024】上位装置3からライトコマンドを受信した
場合、ステップ202に進み、共用ファイル制御情報テ
ーブルに当該ライトデータを含むシリンダが磁気ディス
ク制御装置6によって排他状態にされているか確認し、
排他されている場合は、上位装置3にライト処理ができ
ないことを報告し、ステップ200に戻り、排他されて
いない場合は、ステップ206でコマンド送信制御回路
から遠隔の磁気ディスク制御装置6に遠隔の上位装置4
からの当該シリンダへのアクセスの排他を要求するコマ
ンド、以下、排他要求コマンドを発行する。排他要求コ
マンドを受け取った遠隔の磁気ディスク制御装置6も図
5のディスク制御プログラムによって動作しているた
め、ステップ200のコマンド受信待ちで、この排他要
求コマンドを受信し、現在、ステップ211で上位装置
4からのアクセスを排他する当該シリンダを上位装置4
がアクセスしていないか確認し、アクセスしている場合
は、排他未完了を磁気ディスク制御装置5に報告し、ア
クセスされていない場合は、ステップ212で共用ファ
イル制御情報テーブル97に当該シリンダのアクセスの
排他を設定し、磁気ディスク制御装置5に排他完了を報
告する。排他要求コマンドの処理結果を受け取るとステ
ップ207で、排他処理が未完了の場合は、上位装置3
にライト処理ができないことを報告し、排他処理が完了
した場合は、ステップ208で磁気ディスク10に当該
ライトデータを格納し、ステップ209で遠隔の磁気デ
ィスク制御装置6に当該データのライトコマンドを発行
する。遠隔の磁気ディスク制御装置6への当該データの
ライトが完了すると、ステップ210にて、遠隔の磁気
ディスク制御装置6に設定した当該シリンダの排他要求
を解除するコマンド、以下、排他解除コマンドを発行
し、遠隔磁気ディスク制御装置間でデータ二重書きをお
こなう。
If a write command has been received from the higher-level device 3, the process proceeds to step 202, where it is confirmed whether or not the cylinder containing the write data is in the exclusive state by the magnetic disk controller 6 in the shared file control information table.
If exclusive, the host device 3 is notified that the write process cannot be performed, and the process returns to step 200. If exclusive, the command transmission control circuit in step 206 sends the remote magnetic disk controller 6 to the remote magnetic disk controller 6 in step 206. Host device 4
Issue a command requesting exclusion of the access to the relevant cylinder from the server, hereinafter an exclusion request command. Since the remote magnetic disk control device 6 that has received the exclusion request command is also operating according to the disk control program of FIG. 5, the exclusion request command is received in step 200 while waiting for the command reception. The relevant cylinder that excludes access from the host 4
Is not accessed, and if so, exclusion incomplete is reported to the magnetic disk controller 5. If not, the access of the cylinder to the shared file control information table 97 is performed in step 212. And reports the completion of the exclusion to the magnetic disk controller 5. Upon receiving the processing result of the exclusion request command, in step 207, if the exclusion processing has not been completed,
When the exclusive processing is completed, the write data is stored in the magnetic disk 10 in step 208, and a write command of the data is issued to the remote magnetic disk controller 6 in step 209. I do. When the writing of the data to the remote magnetic disk control device 6 is completed, in step 210, a command for releasing the exclusion request of the cylinder set in the remote magnetic disk control device 6 is issued. Data is duplicated between remote magnetic disk controllers.

【0025】また、上位装置3からリードコマンドが発
行された場合は、ステップ202でリードするデータを
含むシリンダが共用ファイル制御テーブルに排他されて
いるか確認し、排他されている場合、上位装置3に当該
データをリードできないことを報告し、排他されていな
い場合、ステップ204で磁気ディスク10から当該デ
ータを取り出し、ステップ205で当該リードデータを
上位装置4へ転送する。リードコマンド処理時は、磁気
ディスク10のデータは変更されないため、遠隔磁気デ
ィスク制御装置間で二重書きするデータは一致状態を維
持する。したがって、ライトコマンド時のように遠隔の
磁気ディスク制御装置6に排他要求コマンドを発行し、
上位装置4の当該データに対するアクセスを排他する必
要はない。
When a read command is issued from the higher-level device 3, it is checked in step 202 whether the cylinder containing the data to be read is exclusive in the shared file control table. It reports that the data cannot be read, and if it is not exclusive, retrieves the data from the magnetic disk 10 in step 204 and transfers the read data to the host device 4 in step 205. At the time of the read command processing, the data on the magnetic disk 10 is not changed, so that the data to be double-written between the remote magnetic disk controllers maintains the matching state. Therefore, an exclusion request command is issued to the remote magnetic disk controller 6 as in the case of a write command,
It is not necessary to exclude the host device 4 from accessing the data.

【0026】以上の動作により、上位装置のライトコマ
ンドにより、遠隔磁気ディスク制御装置間でデータの不
一致が発生する場合のみ、ライトコマンドを発行した上
位装置以外の遠隔の上位装置から遠隔の磁気ディスク制
御装置への当該データのアクセスを排他できるため、磁
気ディスク制御装置間で二重書きしたデータを遠隔磁気
ディスク制御装置に接続する、それぞれの遠隔上位装置
間でファイル共用可能となる。
With the above operation, only when a data mismatch occurs between remote magnetic disk controllers due to a write command from a higher-level device, remote magnetic disk control from a remote higher-level device other than the higher-level device that issued the write command. Since the access of the data to the device can be excluded, the double-written data between the magnetic disk controllers can be shared by the remote higher-level devices connected to the remote magnetic disk controller.

【0027】また、遠隔ファイル共用システム構成の他
の実施例として、図6に示す構成例が考えられる。
As another embodiment of the remote file sharing system configuration, a configuration example shown in FIG. 6 can be considered.

【0028】図6においては、磁気ディスク制御装置5
と磁気ディスク制御装置6間のコマンドやデータを転送
するのは、パス74のみで構成できる。すなわち、パス
74は、双方向にコマンドとデータを転送する。図7に
パス74で双方向にコマンドおよびデータの転送を可能
にするディスクI/O制御部8の内部構成を示す。
In FIG. 6, the magnetic disk controller 5
The transfer of commands and data between the controller and the magnetic disk controller 6 can be configured only by the path 74. That is, the path 74 transfers commands and data bidirectionally. FIG. 7 shows the internal configuration of the disk I / O control unit 8 which enables bidirectional transfer of commands and data via the path 74.

【0029】遠隔の磁気ディスク制御装置6との間でコ
マンドとデータの送受信をおこなうのは、コマンド送受
信制御回路80であり、コマンド受信時には、コマンド
受信制御回路82の動作をおこない、コマンド送信時に
は、コマンド送信制御回路83の動作をおこなうように
動作を切り替える機能をもつ。
It is the command transmission / reception control circuit 80 that transmits / receives commands and data to / from the remote magnetic disk controller 6. The command reception control circuit 82 operates when a command is received. It has a function of switching the operation so that the command transmission control circuit 83 operates.

【0030】送受信制御回路は、通常、コマンド受信待
ち状態、すなわちコマンド受信制御をおこなっており、
動作の切り替えは、遠隔の磁気ディスク制御装置にコマ
ンドを送信する要求が発生した時に、プロセッサ85に
より動作をコマンド送信制御に切り替えられる。また、
送信したコマンドの処理終了後、コマンド受信制御に切
り替えられる。
The transmission / reception control circuit normally performs a command reception waiting state, that is, a command reception control.
When the operation is switched, the processor 85 switches the operation to the command transmission control when a request to transmit a command to a remote magnetic disk control device occurs. Also,
After the processing of the transmitted command is completed, the mode is switched to the command reception control.

【0031】上記のような動的切り替え処理をおこなう
ことにより、本発明では、一本のパスから遠隔ファイル
共用システムを構成可能である。
By performing the above-described dynamic switching processing, in the present invention, a remote file sharing system can be configured from a single path.

【0032】[0032]

【発明の効果】本発明によれば、記憶制御装置に排他情
報を設定するテーブルを設け、これを制御し、異なる記
憶制御装置間で二重書きされたデータを異なる上位装置
から共用することが可能な遠隔ファイル共用システムを
構築できる。
According to the present invention, a table for setting exclusive information is provided in a storage controller, which is controlled, so that differently written data can be shared between different storage controllers from different upper-level devices. A possible remote file sharing system can be constructed.

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

【図1】本発明の実施例のコンピュータシステムの概略
構成を示すブロック線図
FIG. 1 is a block diagram showing a schematic configuration of a computer system according to an embodiment of the present invention.

【図2】本発明の実施例の磁気ディスクのハード構成例FIG. 2 shows an example of a hardware configuration of a magnetic disk according to an embodiment of the present invention.

【図3】本発明の実施例のディスクI/O制御部のハー
ド構成例を示すブロック線図
FIG. 3 is a block diagram showing a hardware configuration example of a disk I / O control unit according to the embodiment of the present invention;

【図4】本発明の実施例の共用ファイル制御情報テーブ
ルの構成例
FIG. 4 is a configuration example of a shared file control information table according to the embodiment of this invention.

【図5】本発明の実施例のメインプログラムの流れ図FIG. 5 is a flowchart of a main program according to the embodiment of the present invention.

【図6】本発明の実施例のコンピュータシステムの概略
構成を示すブロック線図
FIG. 6 is a block diagram showing a schematic configuration of a computer system according to an embodiment of the present invention.

【図7】本発明の実施例のディスクI/O制御部のハー
ド構成を示すブロック線図
FIG. 7 is a block diagram showing a hardware configuration of a disk I / O control unit according to the embodiment of the present invention.

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

1…コンピュータシステム、3…上位装置、5…磁気デ
ィスク制御装置、8…ディスクI/O制御部、10…磁
気ディスク、70…パス、72…パス、73…パス、8
1…コマンド受信制御回路、82…コマンド受信制御回
路、83…コマンド送信制御回路、84…データ転送制
御回路、85…プロセッサ、87…共用ファイル制御情
報テーブル、97…共用ファイル制御情報テーブル
DESCRIPTION OF SYMBOLS 1 ... Computer system, 3 ... Host apparatus, 5 ... Magnetic disk controller, 8 ... Disk I / O control part, 10 ... Magnetic disk, 70 ... Path, 72 ... Path, 73 ... Path, 8
DESCRIPTION OF SYMBOLS 1 ... Command reception control circuit, 82 ... Command reception control circuit, 83 ... Command transmission control circuit, 84 ... Data transfer control circuit, 85 ... Processor, 87 ... Shared file control information table, 97 ... Shared file control information table

───────────────────────────────────────────────────── フロントページの続き (72)発明者 中西 弘晃 神奈川県小田原市国府津2880番地株式会社 日立製作所ストレージシステム事業部内 ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Hiroaki Nakanishi 2880 Kozu, Odawara-shi, Kanagawa Storage Systems Division, Hitachi, Ltd.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】正上位装置に接続する正記憶制御装置と、
前記正記憶制御装置から遠隔にあり、正上位装置とは異
なる副上位装置と正記憶制御装置に接続する副記憶制御
装置から構成され、正副上位装置から正副記憶制御装置
へのデータの書き込み要求を、正記憶制御装置の制御す
る記憶媒体と副記憶制御装置の制御する記憶媒体間で上
位装置を介さず遠隔二重書きするコンピュータシステム
において、正副記憶制御装置間で二重書きされたデータ
を正副上位装置から共用可能なデータとして、上位装置
からの読み出し/書き込み要求を記憶制御装置で制御す
る方法であり、上位装置から記憶制御装置へデータの書
き込み要求を発行した際に、記憶制御装置は、遠隔の記
憶制御装置へ上位装置からの当該データの読み出し/書
き込み要求を排他させる要求を発行し、遠隔の記憶制御
装置が当該データに対する上位装置からの読み出し/書
き込み要求を排他する間に、配下の記憶媒体に当該デー
タを格納するとともに、遠隔の記憶制御装置に当該デー
タの書き込み要求を発行し、遠隔の記憶制御装置配下の
記憶媒体に当該データを格納後、遠隔の記憶制御装置に
上位装置から当該データの読み出し/書き込みの排他を
解除する要求を発行することにより、正副上位装置から
共用データの読み出し/書き込み時に、正副記憶制御装
置でデータの一致を保証し、正副記憶制御装置間で遠隔
二重書きされたデータを正副上位装置から共用可能とす
ることを特徴とする遠隔ファイル共用システム。
A primary storage control device connected to a primary host device;
The secondary storage device is remote from the primary storage control device, and is composed of a secondary storage device different from the primary storage device and a secondary storage control device connected to the primary storage control device, and sends a data write request from the primary storage secondary device to the primary storage control device. In a computer system in which a storage medium controlled by a primary storage control device and a storage medium controlled by a secondary storage control device are remotely duplicated without passing through a higher-level device, data duplicated between the primary and secondary storage control devices This is a method of controlling a read / write request from the higher-level device by the storage controller as data that can be shared by the higher-level device.When a higher-level device issues a data write request to the storage controller, the storage controller: Issue a request to the remote storage controller to exclude the read / write request for the data from the higher-level device, and the remote storage controller While excluding the read / write request from the host device, the data is stored in the subordinate storage medium, and the data write request is issued to the remote storage control device, and the storage under the remote storage control device is performed. After storing the data in the medium, the upper-level device issues a request to release the exclusion of the read / write of the data from the higher-level device to the remote storage controller. A remote file sharing system wherein data consistency is assured by a device, and data which is remotely double-written between the primary and secondary storage controllers can be shared from the primary and secondary host devices.
【請求項2】前記第1の請求項において、正副記憶制御
装置は、共用するデータに対する上位装置からの読み出
し/書き込みを排他するための情報を格納するテーブル
を備え、記憶制御装置から遠隔の記憶制御装置に上位装
置からの読み出し/書き込み要求の排他要求が発行され
た際に、遠隔の記憶制御装置は、配下の排他情報を格納
するテーブルに上位装置からの読み出し/書き込み要求
を排他するデータの位置情報を格納し、上位装置からの
データの読み出し/書き込み要求は、前記テーブルに当
該データの位置情報が格納されている場合、上位装置か
らのデータの読み出し/書き込み要求を排他するため、
要求を発行した上位装置に処理できないことを報告し、
前記テーブルに当該データの位置情報が格納されていな
い場合、上位装置からのデータの読み出し/書き込み要
求を受領することにより、正副記憶制御装置間で遠隔二
重書きされたデータを正副上位装置から共用可能とする
ことを特徴とする遠隔ファイル共用システム。
2. The primary and secondary storage control device according to claim 1, wherein the primary and secondary storage control devices include a table for storing information for exclusion of reading / writing of shared data from a higher-level device, and a storage remote from the storage control device. When an exclusive request for a read / write request from the higher-level device is issued to the control device, the remote storage control device stores the data that excludes the read / write request from the higher-level device in a table storing the subordinate exclusive information. The position information is stored, and the data read / write request from the higher-level device is used to exclude the data read / write request from the higher-level device when the position information of the data is stored in the table.
Report to the higher-level device that issued the request that processing cannot be performed,
When the position information of the data is not stored in the table, by receiving a data read / write request from the higher-level device, the data that has been remotely double-written between the primary and secondary storage controllers is shared from the primary and secondary higher-level devices. A remote file sharing system characterized in that it can be used.
【請求項3】前記請求項2の遠隔ファイル共用システム
において、正記憶制御装置は、副記憶制御装置へデータ
の読み出し/書き込み要求を発行するための送信制御回
路と、副記憶制御装置から正記憶制御装置へのデータの
読み出し/書き込み要求を受領するための受信制御回路
を備え、副記憶制御装置についても、正記憶制御装置へ
データの読み出し/書き込み要求を発行するための送信
制御回路と正記憶制御装置から副記憶制御装置へのデー
タの読み出し/書き込み要求を受領するための受信制御
回路を備え、それぞれの送信制御回路と受信制御回路を
接続し、前記要求とデータの転送をおこなうパスにより
構成することを特徴とする遠隔ファイル共用システムお
よび記憶制御装置。
3. The remote file sharing system according to claim 2, wherein the primary storage control device includes: a transmission control circuit for issuing a data read / write request to the secondary storage control device; The secondary storage controller includes a reception control circuit for receiving a data read / write request to the control device.The secondary storage control device also includes a transmission control circuit for issuing a data read / write request to the primary storage control device. A reception control circuit for receiving a data read / write request from the control device to the secondary storage control device is provided.The transmission control circuit and the reception control circuit are connected to each other, and the path is configured to transfer the request and the data. A remote file sharing system and a storage controller.
【請求項4】前記請求項2の遠隔ファイル共用システム
において、正記憶制御装置に、副記憶制御装置へ読み出
し/書き込み要求を発行する制御と、副記憶制御装置か
ら発行された読み出し/書き込み要求を受領するための
制御をおこなう送受信制御回路を備え、副記憶制御装置
についても、正記憶制御装置へ読み出し/書き込み要求
を発行する制御と、正記憶制御装置から発行された読み
出し/書き込み要求を受領するための制御をおこなう送
受信制御回路を備え、正副記憶制御装置配下の送受信回
路間を接続し、前記要求とデータの転送を双方向におこ
なうパスにより構成することを特徴とする遠隔ファイル
共用システムおよび記憶制御装置。
4. The remote file sharing system according to claim 2, wherein the primary storage controller issues a read / write request to the secondary storage controller and the read / write request issued from the secondary storage controller. It has a transmission / reception control circuit for performing control for receiving, and also for the secondary storage control device, a control for issuing a read / write request to the primary storage control device, and for receiving a read / write request issued from the primary storage control device. A remote file sharing system and a storage, comprising: a transmission / reception control circuit for performing control for connecting the transmission / reception circuits under the primary and secondary storage control devices, and comprising a path for bidirectionally transferring the request and data. Control device.
JP9071308A 1997-03-25 1997-03-25 Remote file sharing system, and control method therefor Pending JPH10269030A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9071308A JPH10269030A (en) 1997-03-25 1997-03-25 Remote file sharing system, and control method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9071308A JPH10269030A (en) 1997-03-25 1997-03-25 Remote file sharing system, and control method therefor

Publications (1)

Publication Number Publication Date
JPH10269030A true JPH10269030A (en) 1998-10-09

Family

ID=13456877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9071308A Pending JPH10269030A (en) 1997-03-25 1997-03-25 Remote file sharing system, and control method therefor

Country Status (1)

Country Link
JP (1) JPH10269030A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003084917A (en) * 2001-09-07 2003-03-20 Hitachi Ltd Remote file sharing method, and its device and system
US6549920B1 (en) 1999-06-03 2003-04-15 Hitachi, Ltd. Data base duplication method of using remote copy and database duplication storage subsystem thereof
JP2007286946A (en) * 2006-04-18 2007-11-01 Hitachi Ltd Computer system, access control method and management computer
JP2015207269A (en) * 2014-09-17 2015-11-19 株式会社日立製作所 storage system
US9632701B2 (en) 2014-04-21 2017-04-25 Hitachi, Ltd. Storage system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6549920B1 (en) 1999-06-03 2003-04-15 Hitachi, Ltd. Data base duplication method of using remote copy and database duplication storage subsystem thereof
US6895417B2 (en) 1999-06-03 2005-05-17 Hitachi, Ltd. Database duplication method of using remote copy and database duplication storage subsystem thereof
JP2003084917A (en) * 2001-09-07 2003-03-20 Hitachi Ltd Remote file sharing method, and its device and system
US6892203B2 (en) 2001-09-07 2005-05-10 Hitachi, Ltd. Method, apparatus and system for remote file sharing
JP4672931B2 (en) * 2001-09-07 2011-04-20 株式会社日立製作所 Remote file sharing method, apparatus and system thereof
JP2007286946A (en) * 2006-04-18 2007-11-01 Hitachi Ltd Computer system, access control method and management computer
US8127097B2 (en) 2006-04-18 2012-02-28 Hitachi, Ltd. Dual writing device and its control method
US8332603B2 (en) 2006-04-18 2012-12-11 Hitachi, Ltd. Dual writing device and its control method
US9632701B2 (en) 2014-04-21 2017-04-25 Hitachi, Ltd. Storage system
JP2015207269A (en) * 2014-09-17 2015-11-19 株式会社日立製作所 storage system

Similar Documents

Publication Publication Date Title
JP3694273B2 (en) Data processing system having multipath I / O request mechanism
US7089386B2 (en) Method for controlling storage device controller, storage device controller, and program
US6892203B2 (en) Method, apparatus and system for remote file sharing
US7231466B2 (en) Data migration method for disk apparatus
US7376804B2 (en) Storage system, backup system, and backup method
US8078809B2 (en) System for accessing an offline storage unit through an online storage unit
US6874046B1 (en) Method and apparatus for enhancing access to redundant data storage facilities
JPH10198607A (en) Data multiplexing system
US6944684B1 (en) System for selectively using different communication paths to transfer data between controllers in a disk array in accordance with data transfer size
JPH07281840A (en) Dual-disk recording device
JPH11338647A (en) Method for generating duplexed data
JPH0452743A (en) Control system for duplex external storage
JPH10269030A (en) Remote file sharing system, and control method therefor
JPH07234811A (en) Remote file control system
JP3122295B2 (en) Redundant method of magnetic disk controller
JPH1091363A (en) Parity generation system and disk array controller using the system
JPH0520107A (en) Dual controller
JPH04291618A (en) Duplexed disk control system
KR20010011204A (en) Method and apparatus for overcoming raid failure by cache mirroring
JP2929967B2 (en) File system
JP2007172646A (en) Data transfer control method, switch system and data control method
JP2000163277A (en) Method for data transfer between dasd controllers
JPH09237163A (en) Duplex disk storage device
JPH0132535B2 (en)
JPH0115088B2 (en)