JP3336969B2 - Method and system for controlling data storage device sharing among multiple computers - Google Patents

Method and system for controlling data storage device sharing among multiple computers

Info

Publication number
JP3336969B2
JP3336969B2 JP25026098A JP25026098A JP3336969B2 JP 3336969 B2 JP3336969 B2 JP 3336969B2 JP 25026098 A JP25026098 A JP 25026098A JP 25026098 A JP25026098 A JP 25026098A JP 3336969 B2 JP3336969 B2 JP 3336969B2
Authority
JP
Japan
Prior art keywords
host
data storage
storage device
exclusive control
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP25026098A
Other languages
Japanese (ja)
Other versions
JP2000082054A (en
Inventor
浩樹 神原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP25026098A priority Critical patent/JP3336969B2/en
Publication of JP2000082054A publication Critical patent/JP2000082054A/en
Application granted granted Critical
Publication of JP3336969B2 publication Critical patent/JP3336969B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、情報処理システム
に関し、特に、磁気ディスク装置等直接アクセス記憶装
置の複数ホスト間での共有制御方法及びシステムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing system, and more particularly to a method and system for controlling a direct access storage device such as a magnetic disk device among a plurality of hosts.

【0002】[0002]

【従来の技術】複数のホスト間で、排他制御装置の介在
させずに、データ記憶装置を共用しようとした場合、一
つのデータ記憶装置を複数のホストが同時に使用するこ
とに対してガードをかけるために、通常、データ記憶装
置に接続しているホストのIDを設定し、ホストからの
接続(アクセス)要求があった場合、ホストIDが一致
しなければ、接続許可しないという制御方法が用いられ
ている。
2. Description of the Related Art When sharing a data storage device between a plurality of hosts without intervening an exclusive control device, a guard is provided against the simultaneous use of one data storage device by a plurality of hosts. For this reason, a control method is generally used in which the ID of a host connected to the data storage device is set, and when a connection (access) request is made from the host, the connection is not permitted unless the host IDs match. ing.

【0003】一方、複数のホストが排他制御装置を介在
させてデータ記憶装置をアクセスするシステムでは、排
他制御装置により複数のホスト間でのデータ記憶装置へ
の排他制御(ロック制御、ロック解除等)が行われるた
め、ホストIDを記憶することなく、またホストは排他
制御を明示的に意識することなく、排他制御装置配下の
全てのホストから、データ記憶装置への接続を可能とし
ている。
On the other hand, in a system in which a plurality of hosts access a data storage device through an exclusive control device, exclusive control (lock control, lock release, etc.) of the data storage device between the plurality of hosts is performed by the exclusive control device. Is performed, all the hosts under the exclusive control device can connect to the data storage device without storing the host ID and without explicitly considering the exclusive control.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、排他制
御装置を介在したホスト群が複数存在するシステムにお
いて、異なる排他制御装置配下のホスト同士間でデータ
記憶装置を接続する場合は、排他制御装置による排他制
御を行うことはできない。
However, when a data storage device is connected between hosts under different exclusive control devices in a system having a plurality of host groups via the exclusive control device, exclusive control by the exclusive control device is required. There is no control.

【0005】その理由は、一つの排他制御装置は自装置
配下のホスト群に対するデータ記憶装置に対する排他制
御を行うが、他の排他制御装置配下のホスト群に対する
当該データ記憶装置への排他制御を行うことができない
ためである。
The reason is that one exclusive control device performs exclusive control on the data storage device for the host group under its own device, but performs exclusive control on the data storage device for the host group under the other exclusive control device. This is because they cannot do it.

【0006】この場合、自排他制御装置配下のホストか
ら見えない別の排他制御装置配下のホストが使用してい
るデータ記憶装置に接続してしまうと、データ破壊を起
こす場合がある。
[0006] In this case, if a host connected to another exclusive control device that is invisible to a host under the exclusive control device is connected to a data storage device used, data destruction may occur.

【0007】またデータ記憶装置に接続しているホスト
のIDを設定し、ホストからデータ記憶装置へ接続要求
があった場合、ホストIDが一致しなければ、アクセス
許可しないという制御方法によっても、同時接続のガー
ドを行うことはできない。
[0007] The ID of a host connected to the data storage device is set, and when a connection request is made from the host to the data storage device, the access is not permitted unless the host IDs match. It cannot guard connections.

【0008】このため、利用者は、装置のシステム構成
を意識して、注意深くデータ記憶装置の接続を行うこと
が求められ、システムの運用は極めて難しいものとな
り、またデータ記憶装置の同時接続によるデータ不整合
の発生等を確実に回避することも困難であり、システム
の安全性、信頼性の点でも問題となる。
[0008] For this reason, the user is required to carefully connect the data storage devices while being aware of the system configuration of the device, and the operation of the system becomes extremely difficult. It is also difficult to reliably avoid occurrence of inconsistency and the like, which also poses a problem in terms of system security and reliability.

【0009】したがって、本発明は、上記問題点に鑑み
てなされたものであって、その目的は、排他制御装置を
複数備え、排他制御装置配下のホスト群間で、データ記
憶装置を共有するシステムにおいて、利用者が各ホスト
で接続可能なデータ記憶装置を意識することなく運用を
行うことが出来るようにしたデータ記憶装置の共有制御
方法及びシステムを提供することにある。
Accordingly, the present invention has been made in view of the above problems, and has as its object to provide a system in which a plurality of exclusive control devices are provided and a data storage device is shared between a group of hosts under the exclusive control devices. It is an object of the present invention to provide a data storage device sharing control method and system which enables a user to operate without being aware of a data storage device connectable to each host.

【0010】[0010]

【課題を解決するための手段】前記目的を達成する本発
明は、データ記憶装置が複数の排他制御装置配下のホス
ト群で共有されるシステムにおけるデータ記憶装置の共
有制御方法であって、あるホストが前記データ記憶装置
に接続した際に前記ホストを管理する排他制御装置のI
Dを前記データ管理装置に対して設定しておき、他のホ
ストが前記データ記憶装置へ接続を要求した時、前記デ
ータ記憶装置に設定されている排他制御装置IDと、前
記他のホストを管理する排他制御装置のIDとが一致し
た場合に前記他のホストに対して接続を許可し、一致し
ない場合接続を拒否する、ように制御する、ように構成
したものである。
According to the present invention, there is provided a sharing control method of a data storage device in a system in which the data storage device is shared by a plurality of hosts under a plurality of exclusive control devices. Of the exclusive control device that manages the host when connected to the data storage device.
D is set in the data management device, and when another host requests connection to the data storage device, the exclusive control device ID set in the data storage device and the other host are managed. When the IDs of the exclusive control devices match, the connection is permitted to the other host, and when the IDs do not match, the connection is refused.

【0011】より詳細には、本発明は、排他制御装置を
介してデータ記憶装置へのアクセスが制御されるホスト
群よりなるホストシステムを複数備え、前記データ記憶
装置が前記複数のホストシステムのホスト群で共有され
るシステムにおけるデータ記憶装置の共有制御方法であ
って、前記複数の排他制御装置が一義的な識別情報であ
るIDを付与し、前記データ記憶装置に接続しているホ
ストを制御する排他制御装置のIDを前記データ記憶装
置に登録し、他のホストからの前記データ記憶装置への
接続要求に対して、前記データ記憶装置へのホストの接
続がなされていない状態である場合、もしくは、前記デ
ータ記憶装置へのホストの接続が行われている場合に、
前記登録されているIDと前記他のホストが属する排他
制御装置のIDが一致する場合に接続を許可する、よう
に制御し、前記排他制御装置では、自装置配下のホスト
が前記データ記憶装置に接続した場合、該ホストのホス
トIDを管理情報中に追加登録し、前記ホストIDは、
前記ホストIDを有するホストから前記データ記憶装置
が切り離されると前記管理情報中から削除され、前記排
他制御装置上の管理情報中でデータ記憶装置に対するホ
ストIDが全て無くなっている場合、前記データ記憶装
置の排他制御装置IDを0に設定する、構成とされてい
る。
More specifically, the present invention comprises a plurality of host systems each including a host group whose access to a data storage device is controlled via an exclusive control device, wherein the data storage device is a host of the plurality of host systems. A sharing control method for a data storage device in a system shared by a group, wherein the plurality of exclusive control devices assign IDs that are unique identification information and control a host connected to the data storage device. Registering the ID of the exclusive control device in the data storage device, in response to a connection request from another host to the data storage device, in a state where the host is not connected to the data storage device, or , When a host is connected to the data storage device,
When the registered ID matches the ID of the exclusive control device to which the other host belongs, control is performed such that connection is permitted, and the exclusive control device controls the host under its own device.
Is connected to the data storage device,
The host ID is additionally registered in the management information, and the host ID is
From the host having the host ID to the data storage device
Is removed from the management information when the
The host for the data storage device in the management information on the other control device
If all the strike IDs are lost, the data storage
The exclusive control device ID of the device is set to 0 .

【0012】[0012]

【発明の実施の形態】本発明の実施の形態について説明
する。本発明は、排他制御装置を介してデータ記憶装置
へのアクセスが制御されるホスト群よりなるホストシス
テムを複数備え、前記データ記憶装置が前記複数のホス
トシステムのホスト群で共有される計算機システムにお
いて、複数の排他制御装置の各排他制御装置は一義的な
識別情報であるIDを有し、排他制御装置は、データ記
憶装置に接続しているホストを制御する排他制御装置の
IDをデータ記憶装置に登録する手段と、他のホストか
らのデータ記憶装置への接続要求に対して、データ記憶
装置へのホストの接続がなされていない状態である場合
に、もしくは、データ記憶装置へのホストの接続が行わ
れている場合において、登録されているIDと前記他の
ホストが属する排他制御装置のIDとが一致する場合に
前記他のホストのデータ記憶装置への接続を許可する、
ように制御する。
Embodiments of the present invention will be described. The present invention provides a computer system comprising a plurality of host systems each including a host group whose access to a data storage device is controlled via an exclusive control device, wherein the data storage device is shared by a host group of the plurality of host systems. Each of the exclusive control devices of the plurality of exclusive control devices has an ID that is unique identification information, and the exclusive control device assigns the ID of the exclusive control device that controls the host connected to the data storage device to the data storage device. Means for registering the data storage device in response to a request for connection to the data storage device from another host when the host is not connected to the data storage device, or when the host is connected to the data storage device. When the registered ID matches the ID of the exclusive control device to which the other host belongs, the data of the other host is To allow the connection to the 憶 apparatus,
Control.

【0013】また排他制御装置は、自装置配下の各ホス
トから接続されているデータ記憶装置に対して、接続し
ている全てのホストのホストIDを記憶管理し、ホスト
IDは、該ホストIDを有するホストからデータ記憶装
置が切り離されると削除され、排他制御装置上のデータ
記憶装置に対するホストIDが全て無くなっている場
合、データ記憶装置上の排他制御装置IDを0に設定す
る、ように制御する。
The exclusive control device stores and manages the host IDs of all the connected hosts in the data storage device connected from each host under the exclusive control device, and the host ID is the host ID. When the data storage device is detached from the host having the exclusive control device, the data storage device is deleted, and when all the host IDs for the data storage device on the exclusive control device are gone, the exclusive control device ID on the data storage device is set to 0. .

【0014】本発明の実施の形態においては、複数の排
他制御装置の各々に対して一義的な識別情報IDを割り
当て、また各データ記憶装置は、排他制御装置IDが設
定可能に構成されている。
In the embodiment of the present invention, a unique identification information ID is assigned to each of a plurality of exclusive control devices, and each data storage device is configured such that an exclusive control device ID can be set. .

【0015】本発明の実施の形態の動作の概略を説明す
る。データ記憶装置の接続時に、ホストは、データ記憶
装置に、設定された排他制御装置IDと自ホストが直接
接続されている排他制御装置IDが一致したとき、また
は、データ記憶装置上の排他制御装置IDが0のときに
のみ接続が許可され、不一致の場合には接続は拒否され
る。
An outline of the operation of the embodiment of the present invention will be described. When the data storage device is connected, the host determines whether the exclusive control device ID set to the data storage device and the exclusive control device ID to which the host is directly connected match, or the exclusive control device on the data storage device. The connection is permitted only when the ID is 0, and the connection is rejected if they do not match.

【0016】また排他制御装置上には、自装置配下の各
ホストから接続されているデータ記憶装置に対して接続
している全ホストのホストIDを記憶し、このホストI
Dは、各ホストからデータ記憶装置が切り離されると削
除する。
The exclusive control device stores the host IDs of all the hosts connected to the data storage devices connected from the respective hosts under its own device.
D is deleted when the data storage device is disconnected from each host.

【0017】排他制御装置上に記憶されるホストIDを
削除時に、排他制御装置上のデータ記憶装置に対するホ
ストIDが全て無くなっている場合、即ちデータ記憶装
置が、排他制御装置配下の全ホストから切り離されてい
る場合、排他制御装置は、データ記憶装置上の排他制御
装置IDを「0」とする。
When the host IDs stored on the exclusive control device are deleted, if all the host IDs for the data storage devices on the exclusive control device are lost, that is, the data storage device is disconnected from all the hosts under the exclusive control device. If the exclusive control device ID is set, the exclusive control device sets the exclusive control device ID on the data storage device to “0”.

【0018】このように構成したことで、本発明によれ
ば、利用者が各ホストで接続可能なデータ記憶装置を意
識することなく運用を行うことが出来る。以下実施例に
即して詳細に説明する。
With this configuration, according to the present invention, the operation can be performed without the user being aware of the data storage device connectable to each host. Hereinafter, the present invention will be described in detail with reference to examples.

【0019】[0019]

【実施例】図1乃至図7は、本発明の一実施例を説明す
るための図である。図1を参照すると、ホスト(ホスト
計算機)11、12間は、第1の排他制御装置10によ
り排他制御が行われる。またホスト21、22間は第2
の排他制御装置20により排他制御が行われる。なお、
図1は、第1のデータ記憶装置31が、第1の排他制御
装置10(ID=M1)を介してホスト11、12に接
続されて排他制御がなされており、第2、第3のデータ
記憶装置32、33が、第2の排他制御装置20(ID
=M2)を介して、ホスト21、22に接続されて排他
制御がなされている状態を示している。なお本発明の一
実施例において、第1〜第3のデータ記憶装置31、3
2、33は磁気ディスク装置等の直接アクセス記憶装置
よりなり、また、データ記憶装置30を、複数のデータ
記憶装置31、32、33を収容するファイルサーバと
して構成しホスト計算機に接続する構成としてもよい。
なお、本発明において、データ記憶装置の数は3に限定
されるものでなく、また排他制御装置は3台以上であっ
てもよいことは勿論である。
1 to 7 are views for explaining an embodiment of the present invention. Referring to FIG. 1, exclusive control is performed by a first exclusive control device 10 between hosts (host computers) 11 and 12. The second between the hosts 21 and 22
Exclusive control is performed by the exclusive control device 20 of. In addition,
FIG. 1 shows that the first data storage device 31 is connected to the hosts 11 and 12 via the first exclusive control device 10 (ID = M1) to perform exclusive control, and the second and third data The storage devices 32 and 33 store the second exclusive control device 20 (ID
= M2), the exclusive control is performed by being connected to the hosts 21 and 22. In one embodiment of the present invention, the first to third data storage devices 31, 3
Reference numerals 2 and 33 each include a direct access storage device such as a magnetic disk device, and the data storage device 30 may be configured as a file server accommodating a plurality of data storage devices 31, 32 and 33 and connected to a host computer. .
In the present invention, the number of data storage devices is not limited to three, and it goes without saying that the number of exclusive control devices may be three or more.

【0020】次に、図2を参照すると、第1〜第3のデ
ータ記憶装置31、32、33が全ホストから切り離さ
れている場合、全ホストから切り離されているので、第
1〜第3のデータ記憶装置31、32、33に設定され
ている排他制御装置IDは「0」に設定されている。
Next, referring to FIG. 2, when the first to third data storage devices 31, 32, 33 are disconnected from all hosts, the first to third data storage devices 31, 32, 33 are disconnected from all hosts. The exclusive control device ID set in the data storage devices 31, 32, and 33 is set to “0”.

【0021】図2に示す状態から、データ記憶装置31
の接続を行う場合、第1のデータ記憶装置31に設定さ
れている排他制御装置IDは「0」であるため、図3に
示すように、第1のデータ記憶装置31に最初に接続す
るホスト11(ホストID=H1)が接続許可され(図
の符号1)、このホスト11は第1の排他制御装置10
の配下にあるので、第1の排他制御装置10のIDであ
る「M1」が、第1のデータ記憶装置31に設定され
る。同時に、第1の排他制御装置10上の第1のデータ
記憶装置31に関する管理情報中に、ホスト11のホス
トIDである「H1」を記憶しておく。第2、第3のデ
ータ記憶装置32、33についても、同様に制御され、
図3に示すように、第2の排他制御装置20の配下のホ
スト21は第2、第3のデータ記憶装置32、33に接
続され(図の符号2、3)、これらのデータ記憶装置3
2、33には第2の排他制御装置20のIDである「M
2」が設定されるとともに、第2の排他制御装置20
は、ホスト21のホストIDである「H3」を記憶保持
する。
From the state shown in FIG.
When the connection of the first data storage device 31 is performed, the exclusive control device ID set in the first data storage device 31 is “0”, and therefore, as shown in FIG. 11 (host ID = H1) is permitted to connect (reference numeral 1 in the figure), and this host 11
Therefore, “M1”, which is the ID of the first exclusive control device 10, is set in the first data storage device 31. At the same time, “H1”, which is the host ID of the host 11, is stored in the management information on the first data storage device 31 on the first exclusive control device 10. The second and third data storage devices 32 and 33 are similarly controlled,
As shown in FIG. 3, the host 21 under the control of the second exclusive control device 20 is connected to the second and third data storage devices 32 and 33 (reference numerals 2 and 3 in the figure).
2 and 33, the ID of the second exclusive control device 20 "M
2 "is set and the second exclusive control device 20
Stores and holds “H3”, which is the host ID of the host 21.

【0022】次に、図4を参照すると、ホスト12から
第1のデータ記憶装置31の接続を行う場合、ホスト1
2は第1の排他制御装置10の配下にあることから、第
1のデータ記憶装置31に設定されている排他制御装置
IDと一致しており、このため接続は可能となる(図の
符号1)。第1の排他制御装置10は、第1のデータ記
憶装置31に関する管理情報として、ホスト12のホス
トIDである「H2」を管理情報中に追加記憶する。そ
して、ホスト11、12間での第1のデータ記憶装置3
1へのアクセスの排他制御は、第1の排他制御装置10
の管理のもとで行われる。
Next, referring to FIG. 4, when the connection of the first data storage device 31 from the host 12 is performed,
2 is under the control of the first exclusive control device 10, and therefore matches the exclusive control device ID set in the first data storage device 31, so that connection is possible (reference numeral 1 in the figure). ). The first exclusive control device 10 additionally stores “H2”, which is the host ID of the host 12, as management information on the first data storage device 31 in the management information. Then, the first data storage device 3 between the hosts 11 and 12
Exclusive control of access to the first exclusive control device 10
It is performed under the management of.

【0023】次に、図5を参照すると、ホスト12から
第3のデータ記憶装置33の接続を行う場合、ホスト1
2は、第1の排他制御装置10配下にあり、第3のデー
タ記憶装置33に設定されている排他制御装置ID(M
2)と一致しないことから、ホース2からデータ記憶装
置32への接続は不許可となる。
Next, referring to FIG. 5, when the connection of the third data storage device 33 from the host 12 is performed,
2 is under the control of the first exclusive control device 10 and the exclusive control device ID (M
2), the connection from the hose 2 to the data storage device 32 is not permitted.

【0024】次に、図6を参照すると、ホスト11に接
続されている第1のデータ記憶装置31を、ホスト12
から切り離す場合(図の符号1)、第1のデータ記憶装
置31は、ホスト11からも接続されているので、第1
のデータ記憶装置31に設定されている排他制御装置I
Dは「0」としない。この場合、第1の排他制御装置1
0上の第1のデータ記憶装置31に関する管理情報から
ホスト12のホストIDである「H2」を削除する。
Next, referring to FIG. 6, the first data storage device 31 connected to the host 11 is
When the first data storage device 31 is disconnected from the host 11 (reference numeral 1 in the figure), the first data storage device 31
Exclusive control device I set in the data storage device 31
D is not "0". In this case, the first exclusive control device 1
“H2” which is the host ID of the host 12 is deleted from the management information on the first data storage device 31 on “0”.

【0025】次に図7を参照すると、ホスト11も第1
のデータ記憶装置31から切り離す場合(図の符号
1)、第1のデータ記憶装置31から全てのホストが切
り離されることになり、この場合、第1のデータ記憶装
置31の排他制御装置IDを「0」とする。そして、第
1の排他制御装置10上の第1のデータ記憶装置31に
関する管理情報中のホスト11のホストIDである「H
1」を削除する。
Referring now to FIG. 7, the host 11 also
When disconnecting from the first data storage device 31 (reference numeral 1 in the figure), all hosts are disconnected from the first data storage device 31. In this case, the exclusive control device ID of the first data storage device 31 is changed to " 0 ". Then, “H” which is the host ID of the host 11 in the management information on the first data storage device 31 on the first exclusive control device 10
Delete "1".

【0026】[0026]

【発明の効果】以上説明したように、本発明によれば、
排他制御装置を複数備え、排他制御装置配下のホスト群
間で、データ記憶装置を共有するシステムにおいて、自
ホストが使用できるか否かを意識することなく、データ
記憶装置へのアクセス時の排他制御を行うことができ
る、という効果を奏する。
As described above, according to the present invention,
In a system in which a plurality of exclusive control devices are provided and a group of hosts under the exclusive control device share a data storage device, exclusive control when accessing the data storage device without being aware of whether or not the own host can be used. Can be performed.

【0027】その理由は、本発明においては、データ記
憶装置に接続するホストを管理する排他制御装置のID
をデータ管理装置に設定し、データ記憶装置への接続要
求時、排他制御装置IDが一致した場合、接続を許可
し、一致しない場合にはその接続を拒否する、ように制
御しているためである。
The reason is that, in the present invention, the ID of the exclusive control device that manages the host connected to the data storage device
Is set in the data management device, and when the connection to the data storage device is requested, if the exclusive control device ID matches, the connection is permitted, and if not, the connection is rejected. is there.

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

【図1】本発明の一実施例を説明するための図である。FIG. 1 is a diagram for explaining an embodiment of the present invention.

【図2】本発明の一実施例を説明するための図である。FIG. 2 is a diagram for explaining an embodiment of the present invention.

【図3】本発明の一実施例を説明するための図である。FIG. 3 is a diagram for explaining an embodiment of the present invention.

【図4】本発明の一実施例を説明するための図である。FIG. 4 is a diagram for explaining one embodiment of the present invention.

【図5】本発明の一実施例を説明するための図である。FIG. 5 is a diagram for explaining one embodiment of the present invention.

【図6】本発明の一実施例を説明するための図である。FIG. 6 is a diagram for explaining one embodiment of the present invention.

【図7】本発明の一実施例を説明するための図である。FIG. 7 is a diagram for explaining an embodiment of the present invention.

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

10、20 排他制御装置 11、12、21、22 ホスト 31、32、33 データ記憶装置 10, 20 exclusive control device 11, 12, 21, 22 host 31, 32, 33 data storage device

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】排他制御装置を介してデータ記憶装置への
アクセスが制御されるホスト群よりなるホストシステム
を複数備え、前記データ記憶装置が前記複数のホストシ
ステムのホスト群で共有されるシステムにおけるデータ
記憶装置の共有制御方法であって、 前記複数の排他制御装置に一義的な識別情報であるID
を付与し、 前記データ記憶装置に接続しているホストを制御する排
他制御装置のIDを前記データ記憶装置に登録し、 他のホストからの前記データ記憶装置への接続要求に対
して、前記データ記憶装置へのホストの接続がなされて
いない状態である場合、もしくは、前記データ記憶装置
へのホストの接続が既に行われている場合に、前記デー
タ記憶装置に登録されているIDと前記他のホストが属
する排他制御装置のIDとが一致する場合、前記他のホ
ストの前記データ記憶装置への接続を許可する、ように
制御し、 前記排他制御装置では、自装置配下のホストが前記デー
タ記憶装置に接続した場合、該ホストのホストIDを管
理情報中に追加登録し、前記ホストIDは、前記ホスト
IDを有するホストから前記データ記憶装置が切り離さ
れると前記管理情報中から削除され、前記排他制御装置
上の管理情報中でデータ記憶装置に対するホストIDが
全て無くなっている場合、前記データ記憶装置の排他制
御装置IDを0に設定する、 ことを特徴とするデータ記
憶装置の共有制御方法。
1. A system in which a plurality of host systems each including a host group whose access to a data storage device is controlled via an exclusive control device is provided, and wherein the data storage device is shared by a host group of the plurality of host systems. A sharing control method for a data storage device, comprising: an ID that is identification information unique to the plurality of exclusive control devices.
The ID of an exclusive control device that controls a host connected to the data storage device is registered in the data storage device. In response to a connection request to the data storage device from another host, the data When the host is not connected to the storage device, or when the host is already connected to the data storage device, the ID registered in the data storage device and the other If the ID of the exclusive control device to which the host belongs matches, are allowed to connect to the data storage device of the other host, and controls as the exclusive controller, host under its subject device the data
When connected to the data storage device, the host ID of the host is managed.
Registered in the management information, and the host ID is the host
The data storage device is disconnected from the host having the ID.
Is deleted from the management information and the exclusive control device is deleted.
In the above management information, the host ID for the data storage device is
If all are gone, exclusive control of the data storage device
A sharing control method for a data storage device, wherein the control device ID is set to 0 .
【請求項2】前記データ記憶装置へのホストの接続が既
に行われている場合に、前記データ記憶装置に登録され
ているIDと前記他のホストが属する排他制御装置のI
Dとが一致しない場合に、前記他のホストの前記データ
記憶装置への接続を拒否するように制御する、ことを特
徴とする請求項記載のデータ記憶装置の共有制御方
法。
2. When the host is already connected to the data storage device, the ID registered in the data storage device and the I / O of the exclusive control device to which the other host belongs are included.
If the the D do not match, control so as to reject the connection to the data storage device of the other host, shared control method of the data storage device according to claim 1, wherein a.
【請求項3】排他制御装置を介してデータ記憶装置への
アクセスが制御されるホスト群よりなるホストシステム
を複数備え、前記データ記憶装置が前記複数のホストシ
ステムのホスト群で共有される計算機システムにおい
て、 前記複数の排他制御装置の各排他制御装置が一義的な識
別情報であるIDを有し、 前記排他制御装置が前記データ記憶装置に接続している
ホストを制御する排他制御装置のIDを前記データ記憶
装置に登録する手段を備え、 他のホストからの前記データ記憶装置への接続要求に対
して、前記データ記憶装置へのホストの接続がなされて
いない状態である場合、もしくは、前記データ記憶装置
へのホストの接続が既に行われている場合に、前記デー
タ記憶装置に登録されているIDと前記他のホストが属
する排他制御装置のIDとが一致する場合に、前記他の
ホストの前記データ記憶装置への接続を許可し、前記登
録されているIDと前記他のホストが属する排他制御装
置のIDとが一致しない場合に、前記他のホストの前記
データ記憶装置への接続を拒否する、ように制御する
ともに、 前記排他制御装置が、自装置配下の各ホストから接続さ
れている前記データ記憶装置に対して、接続している全
てのホストのホストIDを管理情報として保持し、前記
ホストIDは、前記ホストIDを有するホストから前記
データ記憶装置が切り離されると前記管理情報から削除
され、前記排他制御装置上の管理情報中でデータ記憶装
置に対するホストIDが全て無くなっている場合、前記
データ記憶装置の排他制御装置IDを0に設定する、よ
うに制御する手段を 備えたことを特徴とする計算機シス
テム。
3. A computer system comprising a plurality of host systems each including a host group whose access to a data storage device is controlled via an exclusive control device, wherein the data storage device is shared by a host group of the plurality of host systems. In each of the plurality of exclusive control devices, each exclusive control device has an ID that is a unique identification information, and the exclusive control device controls an ID of an exclusive control device that controls a host connected to the data storage device. Means for registering in the data storage device, in response to a connection request to the data storage device from another host, when the host is not connected to the data storage device, or If the host has already been connected to the storage device, the ID registered in the data storage device and the exclusive control to which the other host belongs In the case where the ID of the storage device matches, the connection of the other host to the data storage device is permitted, and when the registered ID does not match the ID of the exclusive control device to which the other host belongs. refuse the connection to the data storage device of the other host, when control such
In both cases, the exclusive control device is connected from each host under its own device.
Connected to the data storage device
Holding the host IDs of all the hosts as management information,
The host ID is transmitted from the host having the host ID to the host ID.
Deleted from the management information when data storage device is disconnected
Data storage device in the management information on the exclusive control device.
If all host IDs for the
Set the exclusive control device ID of the data storage device to 0,
Computer means provided with means for controlling the computer system.
JP25026098A 1998-09-04 1998-09-04 Method and system for controlling data storage device sharing among multiple computers Expired - Fee Related JP3336969B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25026098A JP3336969B2 (en) 1998-09-04 1998-09-04 Method and system for controlling data storage device sharing among multiple computers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25026098A JP3336969B2 (en) 1998-09-04 1998-09-04 Method and system for controlling data storage device sharing among multiple computers

Publications (2)

Publication Number Publication Date
JP2000082054A JP2000082054A (en) 2000-03-21
JP3336969B2 true JP3336969B2 (en) 2002-10-21

Family

ID=17205250

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25026098A Expired - Fee Related JP3336969B2 (en) 1998-09-04 1998-09-04 Method and system for controlling data storage device sharing among multiple computers

Country Status (1)

Country Link
JP (1) JP3336969B2 (en)

Also Published As

Publication number Publication date
JP2000082054A (en) 2000-03-21

Similar Documents

Publication Publication Date Title
US7917751B2 (en) Distributed filesystem network security extension
US8006310B2 (en) Disk control unit
JP3853540B2 (en) Fiber channel-connected magnetic disk device and fiber channel-connected magnetic disk controller
US7107421B2 (en) Data migration method and a data migration apparatus
US8301909B2 (en) System and method for managing external storage devices
US7756986B2 (en) Method and apparatus for providing data management for a storage system coupled to a network
US6609180B2 (en) Fiber channel connection storage controller
JP3745961B2 (en) Method and apparatus for authenticating a connection to a storage system connected to a network
US6145006A (en) Method and apparatus for coordinating locking operations of heterogeneous host computers accessing a storage subsystem
US7529885B2 (en) Cache control method for node apparatus
CN100587677C (en) Data processing device and data processing method
US20070136606A1 (en) Storage system with built-in encryption function
JP2004199420A (en) Computer system, magnetic disk device, and method for controlling disk cache
CN100385860C (en) Method and device for safety of storaged network data
JP2008217281A (en) Exclusive storage use method
JP3336969B2 (en) Method and system for controlling data storage device sharing among multiple computers
EP2028603B1 (en) External storage medium adapter
WO2004064350A2 (en) System and method for secure network data storage
JP2015169976A (en) Data delivery system employing external storage medium

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20020709

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070809

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080809

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080809

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090809

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090809

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100809

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110809

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees