JP3186045B2 - Magnetic tape device embedded control method in multi-host system - Google Patents

Magnetic tape device embedded control method in multi-host system

Info

Publication number
JP3186045B2
JP3186045B2 JP26561198A JP26561198A JP3186045B2 JP 3186045 B2 JP3186045 B2 JP 3186045B2 JP 26561198 A JP26561198 A JP 26561198A JP 26561198 A JP26561198 A JP 26561198A JP 3186045 B2 JP3186045 B2 JP 3186045B2
Authority
JP
Japan
Prior art keywords
host
magnetic tape
management table
medium
global
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
JP26561198A
Other languages
Japanese (ja)
Other versions
JP2000099276A (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 JP26561198A priority Critical patent/JP3186045B2/en
Publication of JP2000099276A publication Critical patent/JP2000099276A/en
Application granted granted Critical
Publication of JP3186045B2 publication Critical patent/JP3186045B2/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 a magnetic tape device embedding control method in a multi-host system, and more particularly to a magnetic tape device embedding control method in a multi-host system in which a plurality of hosts share a magnetic tape device.

【0002】[0002]

【従来の技術】従来、この種のマルチホストシステムで
は、ホストでの磁気テープ装置の組み込み(ホストに登
録して磁気テープ装置を当該ホストにて使用可能な状態
にすること)の際に、当該磁気テープ装置に装填されて
いる磁気テープを認識するために磁気テープの先頭に記
録されている媒体制御情報(媒体名,媒体規格情報)を
取得する必要があり、磁気テープの巻き戻しが発生して
いた。
2. Description of the Related Art Conventionally, in this type of multi-host system, when a magnetic tape device is installed in a host (registered in the host to make the magnetic tape device usable by the host), the magnetic tape device is In order to recognize the magnetic tape loaded in the magnetic tape device, it is necessary to obtain medium control information (medium name, medium standard information) recorded at the head of the magnetic tape, and the magnetic tape is rewound. I was

【0003】このため、他ホストに割り当てられている
(他ホストで使用中である)磁気テープ装置を自ホスト
で組み込もうとすると、他ホストのデータ入出力中に磁
気テープの位置付けが不正になり、データ入力が失敗し
たりデータ出力で磁気テープの先頭が破壊されたりする
ことになるので、複数ホストでの磁気テープ装置の組み
込みはできないようになっていた(日本電気株式会社,
カートリッジ磁気テープ利用の手引,1994年10
月,第2版,83ページ,複数システムでの共用参
照)。
For this reason, if an attempt is made to incorporate a magnetic tape device assigned to another host (used by another host) into the host itself, the position of the magnetic tape is incorrectly determined during data input / output of the other host. Therefore, it is impossible to incorporate a magnetic tape device in a plurality of hosts because the data input fails or the head of the magnetic tape is destroyed by the data output (NEC Corporation,
Guide to the Use of Cartridge Magnetic Tape, October 1994
Month, 2nd edition, page 83, shared by multiple systems).

【0004】[0004]

【発明が解決しようとする課題】第1の問題点は、他ホ
ストに割り当てられている磁気テープ装置を自ホストに
組み込もうとすると、他ホストのデータ入力が失敗した
り、データ出力で磁気テープの先頭が破壊されたりする
ことである。その理由は、磁気テープの媒体制御情報が
磁気テープの先頭に記録されているため、磁気テープ装
置の組み込み時の媒体制御情報の取得の際に磁気テープ
の頭出しが必要となるからである。
A first problem is that when a magnetic tape device assigned to another host is to be incorporated into the host itself, data input from the other host fails or data output from the magnetic tape unit fails. That is, the beginning of the tape is destroyed. The reason is that since the medium control information of the magnetic tape is recorded at the head of the magnetic tape, it is necessary to locate the head of the magnetic tape when acquiring the medium control information when the magnetic tape device is incorporated.

【0005】本発明の目的は、自ホストで磁気テープ装
置上の磁気テープを割り当て中(使用中)に他ホストで
当該磁気テープ装置の組み込みが行われても自ホストで
の磁気テープ装置の使用に影響を与えないようにしたマ
ルチホストシステムにおける磁気テープ装置組み込み制
御方式を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to use a magnetic tape device on its own host even when a magnetic tape on the magnetic tape device is assigned (used) by its own host and the magnetic tape device is installed on another host. It is an object of the present invention to provide a control method for assembling a magnetic tape device in a multi-host system so as not to affect the operation.

【0006】[0006]

【課題を解決するための手段】本発明のマルチホストシ
ステムにおける磁気テープ装置組み込み制御方式は、磁
気テープ装置を複数のホストで共用するマルチホストシ
ステムにおいて、前記複数のホスト間で共用されるホス
ト間データ記録装置上に設けられ、媒体制御情報,ホス
ト装置組み込み情報およびホスト装置割り当て情報を管
理するグローバル装置管理テーブルと、前記磁気テープ
装置に装填されている磁気テープの先頭に記録されてい
る媒体制御情報を読み込む媒体認識手段と、自ホストへ
の前記磁気テープ装置の組み込み要求時に、自ホストが
最初の組み込みホストであれば前記媒体認識手段により
前記磁気テープ装置に装填されている磁気テープから媒
体制御情報を読み込んで前記グローバル装置管理テーブ
ルに記録し、自ホストが最初の組み込みホストでなけれ
ば前記グローバル装置管理テーブルから媒体制御情報を
取得する装置組み込み手段と、自ホストへの磁気テープ
の割り当て要求時に前記グローバル装置管理テーブルの
ホスト装置割り当て情報に基づいて前記磁気テープ装置
が他ホストに割り当てられている場合には前記磁気テー
プ装置を空き待ちとし、前記磁気テープ装置が他ホスト
に割り当てられていない場合には前記グローバル装置管
理テーブルのホスト装置割り当て情報に前記磁気テープ
装置が自ホストで割り当て中である旨を記録する装置割
り当て手段と、自ホストでの磁気テープの解放要求時に
前記グローバル装置管理テーブルのホスト装置割り当て
情報から前記磁気テープ装置が自ホストで割り当て中で
ある旨を削除する装置解放手段とを有する。
According to the present invention, there is provided a magnetic tape device embedding control method in a multi-host system, comprising: a multi-host system in which a magnetic tape device is shared by a plurality of hosts; A global device management table provided on the data recording device for managing media control information, host device built-in information and host device assignment information; and a media control recorded at the head of a magnetic tape loaded in the magnetic tape device. A medium recognizing means for reading information; and, when a request for mounting the magnetic tape device to the host is made, if the host is the first built-in host, the medium recognizing means controls the medium from the magnetic tape loaded in the magnetic tape device. Read the information, record it in the global device management table, and If the host is not the first built-in host, the device built-in means for acquiring medium control information from the global device management table; and When the magnetic tape device is allocated to another host, the magnetic tape device is put on standby, and when the magnetic tape device is not allocated to another host, the host device allocation information in the global device management table contains the magnetic tape device. A device allocating means for recording that the magnetic tape device is being allocated by the host; and a magnetic tape device being allocated by the host based on the host device allocation information in the global device management table at the time of a request to release the magnetic tape at the host. Device release means for deleting the fact that To.

【0007】また、本発明のマルチホストシステムにお
ける磁気テープ装置組み込み制御方式は、1台以上の磁
気テープ装置を複数のホストで共用するマルチホストシ
ステムにおいて、前記複数のホスト間で共用されるホス
ト間データ記録装置上に設けられ、磁気テープ装置識別
名毎に、媒体制御情報,ホスト装置組み込み情報および
ホスト装置割り当て情報からなるレコードを管理するグ
ローバル装置管理テーブルと、磁気テープ装置に装填さ
れている磁気テープの先頭に記録されている媒体制御情
報を読み込む媒体認識手段と、自ホストへの磁気テープ
装置の組み込み要求時に、自ホストが当該磁気テープ装
置の最初の組み込みホストであれば前記媒体認識手段に
より当該磁気テープ装置に装填されている磁気テープか
ら媒体制御情報を読み込んで前記グローバル装置管理テ
ーブルの該当レコードに記録し、自ホストが当該磁気テ
ープ装置の最初の組み込みホストでなければ前記グロー
バル装置管理テーブルの該当レコードから媒体制御情報
を取得する装置組み込み手段と、自ホストへの磁気テー
プの割り当て要求時に前記グローバル装置管理テーブル
の該当レコードのホスト装置割り当て情報に基づいて当
該磁気テープが装填されている磁気テープ装置が他ホス
トに割り当てられている場合には当該磁気テープ装置を
空き待ちとし、当該磁気テープ装置が他ホストに割り当
てられていない場合には前記グローバル装置管理テーブ
ルの該当レコードのホスト装置割り当て情報に当該磁気
テープ装置が自ホストで割り当て中である旨を記録する
装置割り当て手段と、自ホストでの磁気テープの解放要
求時に前記グローバル装置管理テーブルの該当レコード
のホスト装置割り当て情報から当該磁気テープが装填さ
れている磁気テープ装置が自ホストで割り当て中である
旨を削除する装置解放手段とを有する。
Further, in the multi-host system according to the present invention, a control method for assembling a magnetic tape device in a multi-host system is provided in a multi-host system in which one or more magnetic tape devices are shared by a plurality of hosts. A global device management table provided on the data recording device for managing, for each magnetic tape device identifier, a record comprising medium control information, host device built-in information, and host device allocation information; and a magnetic device mounted on the magnetic tape device. A medium recognizing means for reading medium control information recorded at the head of the tape, and, when a request for incorporating the magnetic tape device to the host is made, if the host is the first built-in host of the magnetic tape device, the medium recognizing means The media control information is read from the magnetic tape loaded in the magnetic tape device. Device recording means for acquiring the medium control information from the corresponding record of the global device management table, if the own host is not the first built-in host of the magnetic tape device, When a magnetic tape device in which the magnetic tape is mounted is allocated to another host based on the host device allocation information of the corresponding record in the global device management table when a magnetic tape allocation request is issued to the host, When the tape device is waiting for free space, and the magnetic tape device is not allocated to another host, the host device allocation information of the corresponding record in the global device management table indicates that the magnetic tape device is being allocated by the host. Device allocation means for recording, and And a device release means to remove the effect that the at gas tape release request tape drives global device management table the magnetic tape from the host device allocation information of the corresponding record in is loaded is being allocated in the local host.

【0008】一方、本発明の記録媒体は、コンピュータ
を、磁気テープ装置に装填されている磁気テープの先頭
に記録されている媒体制御情報を読み込む媒体認識手
段,自ホストへの前記磁気テープ装置の組み込み要求時
に、自ホストが最初の組み込みホストであれば前記媒体
認識手段により前記磁気テープ装置に装填されている磁
気テープから媒体制御情報を読み込んでグローバル装置
管理テーブルに記録し、自ホストが最初の組み込みホス
トでなければ前記グローバル装置管理テーブルから媒体
制御情報を取得する装置組み込み手段,自ホストへの磁
気テープの割り当て要求時に前記グローバル装置管理テ
ーブルのホスト装置割り当て情報に基づいて前記磁気テ
ープ装置が他ホストに割り当てられている場合には前記
磁気テープ装置を空き待ちとし、前記磁気テープ装置が
他ホストに割り当てられていない場合には前記グローバ
ル装置管理テーブルのホスト装置割り当て情報に前記磁
気テープ装置が自ホストで割り当て中である旨を記録す
る装置割り当て手段,および自ホストでの磁気テープの
解放要求時に前記グローバル装置管理テーブルのホスト
装置割り当て情報から前記磁気テープ装置が自ホストで
割り当て中である旨を削除する装置解放手段として機能
するためのプログラムを記録する。
On the other hand, a recording medium according to the present invention is a computer which is provided with a medium recognizing means for reading medium control information recorded at the head of a magnetic tape loaded in a magnetic tape device, and a computer for transmitting the magnetic tape device to its own host. At the time of the installation request, if the own host is the first embedded host, the medium recognizing means reads the medium control information from the magnetic tape loaded in the magnetic tape device and records it in the global device management table, and the own host is the first embedded host. If the host is not the built-in host, the device mounting means for acquiring the medium control information from the global device management table. If assigned to the host, leave the magnetic tape unit empty. Waiting, and when the magnetic tape device is not allocated to another host, device allocating means for recording in the host device allocation information of the global device management table that the magnetic tape device is being allocated on its own host; and A program for functioning as a device releasing means for deleting the fact that the magnetic tape device is being allocated by the host from the host device allocation information of the global device management table when a request for releasing the magnetic tape at the host is recorded.

【0009】また、本発明の記録媒体は、コンピュータ
を、磁気テープ装置に装填されている磁気テープの先頭
に記録されている媒体制御情報を読み込む媒体認識手
段,自ホストへの磁気テープ装置の組み込み要求時に、
自ホストが当該磁気テープ装置の最初の組み込みホスト
であれば前記媒体認識手段により当該磁気テープ装置に
装填されている磁気テープから媒体制御情報を読み込ん
でグローバル装置管理テーブルの該当レコードに記録
し、自ホストが当該磁気テープ装置の最初の組み込みホ
ストでなければ前記グローバル装置管理テーブルの該当
レコードから媒体制御情報を取得する装置組み込み手
段,自ホストへの磁気テープの割り当て要求時に前記グ
ローバル装置管理テーブルの該当レコードのホスト装置
割り当て情報に基づいて当該磁気テープが装填されてい
る磁気テープ装置が他ホストに割り当てられている場合
には当該磁気テープ装置を空き待ちとし、当該磁気テー
プ装置が他ホストに割り当てられていない場合には前記
グローバル装置管理テーブルの該当レコードのホスト装
置割り当て情報に当該磁気テープ装置が自ホストで割り
当て中であることを記録する装置割り当て手段,および
自ホストでの磁気テープの解放要求時に前記グローバル
装置管理テーブルの該当レコードのホスト装置割り当て
情報から当該磁気テープが装填されている磁気テープ装
置が自ホストで割り当て中である旨を削除する装置解放
手段として機能するためのプログラムを記録する。
Further, the recording medium of the present invention comprises a computer for recognizing medium control information for reading medium control information recorded at the head of a magnetic tape loaded in a magnetic tape device, and incorporating the magnetic tape device into its own host. On request,
If the own host is the first built-in host of the magnetic tape device, the medium recognizing means reads the medium control information from the magnetic tape loaded in the magnetic tape device and records it in the corresponding record of the global device management table. If the host is not the first built-in host of the magnetic tape device, device mounting means for acquiring medium control information from the corresponding record of the global device management table; If the magnetic tape device in which the magnetic tape is loaded is allocated to another host based on the host device allocation information in the record, the magnetic tape device waits for empty space, and the magnetic tape device is allocated to another host. If not, the global device management Device allocation means for recording in the host device allocation information of the corresponding record of the corresponding table that the magnetic tape device is being allocated by the own host, and when the local host requests to release the magnetic tape, A program for functioning as device release means for deleting from the host device allocation information that the magnetic tape device in which the magnetic tape is loaded is being allocated by the host is recorded.

【0010】[0010]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0011】図1は、本発明の第1の実施の形態に係る
磁気テープ装置組み込み制御方式が適用されたマルチホ
ストシステムの構成を示すブロック図である。このマル
チホストシステムは、2台のホストAおよびBが、1台
以上の磁気テープ装置6と、ホスト間データ記録装置7
とを共有して構成されている。
FIG. 1 is a block diagram showing a configuration of a multi-host system to which a magnetic tape device installation control system according to a first embodiment of the present invention is applied. In this multi-host system, two hosts A and B include one or more magnetic tape devices 6 and an inter-host data recording device 7.
And are configured to share.

【0012】図2を参照すると、ホスト間データ記録装
置7には、グローバル装置管理テーブル70が設けられ
ており、グローバル装置管理テーブル70は、磁気テー
プ装置6毎に、磁気テープ装置識別名と、その磁気テー
プ装置6に装填されている磁気テープの媒体名および媒
体規格情報を記録する媒体制御情報と、組み込まれた全
ホストのホスト番号およびそれに対応する組み込みフラ
グを記録するホスト装置組み込み情報と、割り当てられ
ているホストのホスト番号を記録するホスト装置割り当
て情報とから構成されているレコードを磁気テープ装置
6の数だけ格納する。
Referring to FIG. 2, the inter-host data recording device 7 is provided with a global device management table 70. The global device management table 70 includes, for each magnetic tape device 6, a magnetic tape device identification name, Medium control information for recording the medium name and medium standard information of the magnetic tape loaded in the magnetic tape device 6, host device built-in information for recording the host numbers of all built-in hosts and corresponding built-in flags, As many records as the number of magnetic tape devices 6 are stored, each record including host device assignment information for recording the host number of the assigned host.

【0013】ホストAおよびBは、プログラム1と、装
置組み込み手段2と、媒体認識手段3と、装置割り当て
手段4と、装置解放手段5とを含んで構成されている。
Each of the hosts A and B includes a program 1, a device incorporating unit 2, a medium recognizing unit 3, a device allocating unit 4, and a device releasing unit 5.

【0014】装置組み込み手段2は、システム立ち上げ
時あるいはオペレータコマンドにより磁気テープ装置識
別名をパラメータとする磁気テープ装置6の組み込み要
求があると、磁気テープ装置識別名をキーとしてグロー
バル装置管理テーブル70のレコードを検索し、検索さ
れたレコード(以下、検索済みレコードという)のホス
ト装置組み込み情報に自ホスト番号および組み込みフラ
グ(ON)を記録し、同磁気テープ装置識別名の当該磁
気テープ装置6が他ホストにすでに組み込まれていない
かどうかをチェックし、当該磁気テープ装置が他ホスト
に未組み込みの場合には媒体認識手段3により当該磁気
テープ装置6に装填されている磁気テープの先頭に記録
されている媒体制御情報を読み込んで検索済みレコード
に記録し、当該磁気テープ装置6が他ホストに組み込ま
れていた場合には検索済みレコードから媒体制御情報を
取得する。
When the system is installed or when there is a request to install the magnetic tape device 6 using the magnetic tape device identifier as a parameter at system startup or by an operator command, the global device management table 70 uses the magnetic tape device identifier as a key. And records its own host number and a built-in flag (ON) in the host device built-in information of the searched record (hereinafter referred to as a searched record), and the magnetic tape device 6 having the same magnetic tape device identification name It is checked whether or not the magnetic tape device is already installed in another host. If the magnetic tape device is not installed in another host, the magnetic tape device is recorded at the beginning of the magnetic tape loaded in the magnetic tape device 6 by the medium recognizing means 3. The media control information is read and recorded in the searched record, It acquires medium control information from a retrieved records when the tape device 6 has been incorporated into other hosts.

【0015】媒体認識手段3は、磁気テープ装置6に装
填されている磁気テープを巻き戻して頭出しを行い、磁
気テープの先頭(テープヘッド)に記録されている媒体
制御情報(媒体名,媒体規格情報)を読み込む。
The medium recognizing means 3 rewinds the magnetic tape loaded in the magnetic tape device 6 to perform cueing, and performs medium control information (medium name, medium) recorded at the head (tape head) of the magnetic tape. Standard information).

【0016】装置割り当て手段4は、プログラム1から
の媒体名をパラメータとする磁気テープの割り当て要求
があると、媒体名をキーとしてグローバル装置管理テー
ブル70のレコードを検索し、検索済みレコードのホス
ト装置組み込み情報に基づいて自ホストが組み込み済み
かどうかを判定し、組み込み済みであれば検索済みレコ
ードのホスト装置割り当て情報に基づいて同媒体名の磁
気テープが装填されている磁気テープ装置6が他ホスト
に割り当てられているか否かを確認し、割り当てられて
いる場合には当該磁気テープ装置6を空き待ちとし、割
り当てられていない場合には検索済みレコードのホスト
装置割り当て情報に自ホスト番号を記録して当該磁気テ
ープ装置6が自ホストで割り当て中(使用中)である旨
を表示する。
Upon receiving a magnetic tape allocation request using the medium name as a parameter from the program 1, the apparatus allocating means 4 searches a record in the global apparatus management table 70 using the medium name as a key, and searches the host apparatus for the searched record. It is determined whether or not the own host has been installed on the basis of the embedded information. If the installed host has been installed, the magnetic tape device 6 in which the magnetic tape of the same medium name is loaded is connected to another host based on the host device allocation information of the searched record. It is checked whether or not the magnetic tape device 6 is assigned to the idle state, and if not, the own host number is recorded in the host device assignment information of the searched record. To indicate that the magnetic tape device 6 is being allocated (in use) by its own host.

【0017】装置解放手段5は、プログラム1から媒体
名をパラメータとする磁気テープの解放要求があると、
媒体名をキーとしてグローバル装置管理テーブル70の
レコードを検索し、検索済みレコードのホスト装置割り
当て情報から自ホスト番号を削除して媒体名を有する磁
気テープを装填する磁気テープ装置6の自ホストへの割
り当てを解除する。これにより、他ホストによる当該磁
気テープ装置6の割り当てが可能となる。
The device release means 5 receives a request from the program 1 to release the magnetic tape with the medium name as a parameter.
A record of the global device management table 70 is searched using the medium name as a key, the host number is deleted from the host device assignment information of the searched record, and the magnetic tape device 6 to which the magnetic tape having the medium name is loaded is sent to the host. Release the assignment. Thereby, the assignment of the magnetic tape device 6 by another host becomes possible.

【0018】図3を参照すると、装置組み込み手段2の
処理は、レコード検索ステップ201と、レコード有無
判定ステップ202と、自ホスト番号および組み込みフ
ラグ記録ステップ203と、自ホスト最初組み込みホス
ト判定ステップ204と、媒体認識手段呼出しステップ
205と、媒体制御情報記録ステップ206と、媒体制
御情報取得ステップ207からなる。
Referring to FIG. 3, the processing of the device incorporating means 2 includes a record search step 201, a record presence / absence determination step 202, a local host number and a built-in flag recording step 203, and a local host first built-in host determination step 204. , A medium recognition means calling step 205, a medium control information recording step 206, and a medium control information acquisition step 207.

【0019】図4を参照すると、媒体認識手段3の処理
は、磁気テープ頭出しステップ301と、媒体名および
媒体規格情報読み込みステップ302とからなる。
Referring to FIG. 4, the processing of the medium recognizing means 3 includes a magnetic tape cueing step 301 and a medium name and medium standard information reading step 302.

【0020】図5を参照すると、装置割り当て手段4の
処理は、レコード検索ステップ401と、レコード有無
判定ステップ402と、自ホスト組み込み済み判定ステ
ップ403と、他ホスト割り当て済み判定ステップ40
4と、自ホスト番号記録ステップ405とからなる。
Referring to FIG. 5, the processing of the device allocating means 4 includes a record search step 401, a record presence / absence determination step 402, a local host built-in determination step 403, and another host allocated determination step 40.
4 and its own host number recording step 405.

【0021】図6を参照すると、装置解放手段5の処理
は、レコード検索ステップ501と、レコード有無判定
ステップ502と、自ホスト番号削除ステップ503と
からなる。
Referring to FIG. 6, the processing of the device release means 5 includes a record search step 501, a record presence / absence determination step 502, and a host number deletion step 503.

【0022】次に、このように構成された第1の実施の
形態に係るマルチホストシステムにおける磁気テープ装
置組み込み制御方式の動作について説明する。
Next, the operation of the magnetic tape device installation control method in the multi-host system according to the first embodiment configured as described above will be described.

【0023】ここでは、磁気テープ装置6を最初に組み
込むホストをホストAとする。
Here, it is assumed that the host into which the magnetic tape device 6 is installed first is the host A.

【0024】システム立ち上げ時またはオペレータコマ
ンドにより、ホストAで、磁気テープ装置識別名をパラ
メータとする装置組み込み要求があると、ホストAの装
置組み込み手段2は、同磁気テープ装置識別名をキーと
してホスト間データ記録装置7上のグローバル装置管理
テーブル70からレコードを検索し(ステップ20
1)、該当するレコードがなければ(ステップ202で
無)、装置組み込み失敗とする。
When the system is started or an operator command causes the host A to request a device to be installed with the magnetic tape device identifier as a parameter, the device incorporating means 2 of the host A uses the magnetic tape device identifier as a key. A record is searched from the global device management table 70 on the inter-host data recording device 7 (step 20).
1) If there is no corresponding record (No in step 202), it is determined that the device installation has failed.

【0025】該当するレコードがあれば(ステップ20
2で有)、ホストAの装置組み込み手段2は、検索済み
レコードのホスト装置組み込み情報に自ホスト番号およ
び組み込みフラグ(ON)を記録する(ステップ20
3)。
If there is a corresponding record (step 20)
2), the device incorporation means 2 of the host A records the own host number and the incorporation flag (ON) in the host device incorporation information of the searched record (step 20).
3).

【0026】次に、ホストAの装置組み込み手段2は、
検索済みレコードのホスト装置組み込み情報のホスト番
号および組み込みフラグを参照してホストAが最初の組
み込みホストであるかどうかを判定する(ステップ20
4)。詳しくは、ホスト番号が自ホスト(ホストA)以
外にないか、または組み込まれている全てのホスト番号
に対応する組み込みフラグがOFFであれば、ホストA
が最初の組み込みホストであると判定し、ホストA以外
のホストのホスト番号に対応する組み込みフラグが1つ
でもONであればホストAが最初の組み込みホストでな
いと判定する。
Next, the device incorporating means 2 of the host A
It is determined whether the host A is the first built-in host by referring to the host number and the built-in flag of the host device built-in information of the searched record (step 20).
4). More specifically, if the host number is not other than the host (host A) or if the built-in flags corresponding to all the built-in host numbers are OFF, the host A
Is the first built-in host, and if at least one built-in flag corresponding to the host number of a host other than the host A is ON, it is determined that the host A is not the first built-in host.

【0027】ホストAが最初の組み込みホストであれば
(ステップ204でイエス)、ホストAの装置組み込み
手段2は、磁気テープから媒体制御情報を取得するため
にホストAの媒体認識手段3を呼び出す(ステップ20
5)。
If the host A is the first embedded host (Yes in step 204), the device embedding means 2 of the host A calls the medium recognizing means 3 of the host A to acquire the medium control information from the magnetic tape (step 204). Step 20
5).

【0028】ホストAの媒体認識手段3は、同磁気テー
プ装置識別名の磁気テープ装置6に装填されている磁気
テープを巻き戻して頭出しを行い(ステップ301)、
該磁気テープの先頭に記録されている媒体名および媒体
規格情報を読み込む(ステップ302)。
The medium recognizing means 3 of the host A rewinds the magnetic tape loaded in the magnetic tape device 6 having the same magnetic tape device identification name to perform cueing (step 301).
The medium name and medium standard information recorded at the head of the magnetic tape are read (step 302).

【0029】ホストAの媒体認識手段3の処理が終了す
ると、ホストAの装置組み込み手段2は、検索済みレコ
ードの媒体制御情報に、媒体認識手段3により得られた
媒体名および媒体規格情報を記録する(ステップ20
6)。
When the processing of the medium recognizing means 3 of the host A is completed, the apparatus incorporating means 2 of the host A records the medium name and the medium standard information obtained by the medium recognizing means 3 in the medium control information of the searched record. (Step 20
6).

【0030】この後、またはステップ204でホストA
が最初の組み込みホストでなければ、ホストAの装置組
み込み手段2は、検索済みレコードから媒体制御情報を
取得して(ステップ207)、当該磁気テープ装置6の
ホストAへの組み込みを完了する。
After this, or at step 204, host A
Is not the first embedding host, the device embedding means 2 of the host A acquires the medium control information from the searched record (step 207), and completes the embedding of the magnetic tape device 6 into the host A.

【0031】磁気テープ装置6のホストAへの組み込み
完了後、ホストAのプログラム1から媒体名をパラメー
タとする磁気テープの割り当て要求が発生すると、ホス
トAの装置割り当て手段4は、同媒体名をキーとしてホ
スト間データ記録装置7上のグローバル装置管理テーブ
ル70からレコードを検索し(ステップ401)、該当
するレコードが無い場合には(ステップ402で無)、
割り当て失敗とする。
When the program 1 of the host A issues a request for allocating a magnetic tape with the medium name as a parameter after the magnetic tape device 6 has been incorporated into the host A, the device allocating means 4 of the host A changes the medium name to A record is searched from the global device management table 70 on the inter-host data recording device 7 as a key (step 401). If there is no corresponding record (no in step 402),
Assignment failed.

【0032】該当するレコードがあれば(ステップ40
2で有)、ホストAの装置割り当て手段4は、検索済み
レコードのホスト装置組み込み情報を参照して同媒体名
の磁気テープを装填する磁気テープ装置6が自ホスト
(ホストA)で組み込み済みかどうかを判定する(ステ
ップ403)。詳しくは、検索済みレコードのホスト装
置組み込み情報に自ホスト番号が記録されており、かつ
自ホスト番号に対応する組み込みフラグがONであれば
組み込み済みと判定し、検索済みレコードのホスト装置
組み込み情報に自ホスト番号が記録されていないか、記
録されていても自ホスト番号に対応する組み込みフラグ
がOFFであれば組み込まれていないものと判定する。
If there is a corresponding record (step 40)
2), the device allocating means 4 of the host A refers to the host device installation information of the searched record and determines whether the magnetic tape device 6 for mounting the magnetic tape having the same medium name has been installed in the host (host A). It is determined whether it is (Step 403). More specifically, if the own host number is recorded in the host device installation information of the searched record, and the installation flag corresponding to the own host number is ON, it is determined that the installation is completed, and the host device installation information of the searched record is determined. If the own host number is not recorded, or even if the own host number is recorded, if the built-in flag corresponding to the own host number is OFF, it is determined that the own host number is not installed.

【0033】同媒体名の磁気テープを装填する磁気テー
プ装置6が自ホスト(ホストA)で組み込み済みでなけ
れば(ステップ403でノー)、ホストAの装置割り当
て手段4は、割り当て失敗とする。
If the magnetic tape device 6 for mounting the magnetic tape having the same medium name has not been installed in the host (host A) (No in step 403), the device allocation means 4 of the host A determines that the allocation has failed.

【0034】自ホスト(ホストA)で組み込み済みであ
れば(ステップ403でイエス)、ホストAの装置割り
当て手段4は、検索済みレコードのホスト装置割り当て
情報に他ホスト番号が記録されているかどうかに基づい
て当該磁気テープ装置6が他ホスト(ホストB)に割り
当てられている(使用中である)かどうかを判定する
(ステップ404)。
If the host (Host A) has already installed the host (Yes in step 403), the device allocating means 4 of the host A determines whether or not another host number is recorded in the host device allocation information of the searched record. Then, it is determined whether or not the magnetic tape device 6 is assigned to another host (host B) (in use) (step 404).

【0035】当該磁気テープ装置6が他ホスト(ホスト
B)に割り当てられていれば(ステップ404でイエ
ス)、ホストAの装置割り当て手段4は、割り当て失敗
とする。
If the magnetic tape device 6 has been allocated to another host (host B) (YES in step 404), the device allocation means 4 of the host A determines that the allocation has failed.

【0036】当該磁気テープ装置6が他ホスト(ホスト
B)に割り当てられていなければ(ステップ404でノ
ー)、ホストAの装置割り当て手段4は、検索済みレコ
ードのホスト装置割り当て情報に自ホスト(ホストA)
のホスト番号を記録して自ホスト(ホストA)で当該磁
気テープ装置6が割り当て中(使用中)である旨を表示
して(ステップ405)、割り当てを完了する。
If the magnetic tape device 6 has not been allocated to another host (host B) (No in step 404), the device allocating means 4 of the host A stores the host (host) in the host device allocation information of the searched record. A)
The host (host A) displays that the magnetic tape device 6 is being assigned (in use) (step 405), and the assignment is completed.

【0037】この後、オペレータコマンドにより、ホス
トBにおいて、ホストAで組み込み済みの磁気テープ装
置6の磁気テープ装置識別名をパラメータとする装置組
み込み要求があると、ホストBの装置組み込み手段2
は、同磁気テープ装置識別名をキーとしてホスト間デー
タ記録装置7上のグローバル装置管理テーブル70から
レコードを検索し(ステップ201)、該当するレコー
ドが無ければ(ステップ202で無)、装置組み込み失
敗とする。
Thereafter, when there is an apparatus installation request in the host B using the magnetic tape apparatus identification name of the magnetic tape apparatus 6 already installed in the host A as a parameter by an operator command, the apparatus installation means 2 of the host B
Retrieves a record from the global device management table 70 on the inter-host data recording device 7 using the same magnetic tape device identification name as a key (step 201), and if there is no corresponding record (no at step 202), the device installation failure And

【0038】該当するレコードがあれば(ステップ20
2で有)、ホストBの装置組み込み手段2は、検索済み
レコードのホスト装置組み込み情報に自ホスト番号およ
び組み込みフラグ(ON)を記録する(ステップ20
3)。
If there is a corresponding record (step 20)
2), the device incorporation means 2 of the host B records the own host number and the incorporation flag (ON) in the host device incorporation information of the searched record (step 20).
3).

【0039】次に、ホストBの装置組み込み手段2は、
検索済みレコードのホスト装置組み込み情報のホスト番
号および組み込みフラグを参照してホストBが最初の組
み込みホストであるかどうかを判定する(ステップ20
4)。いまの場合、ホストAのホスト番号に対応する組
み込みフラグがONであるので、ホストBの装置組み込
み手段2は、ホストBが最初の組み込みホストではない
と判定する。
Next, the device incorporating means 2 of the host B
It is determined whether the host B is the first built-in host by referring to the host number and the built-in flag of the host device built-in information of the searched record (step 20).
4). In this case, since the installation flag corresponding to the host number of the host A is ON, the device installation means 2 of the host B determines that the host B is not the first installation host.

【0040】このため、ホストBの装置組み込み手段2
は、検索済みレコードから媒体制御情報を取得して(ス
テップ207)、当該磁気テープ装置6のホストBへの
組み込みを完了する。
For this reason, the device incorporating means 2 of the host B
Acquires the medium control information from the searched record (step 207), and completes the incorporation of the magnetic tape device 6 into the host B.

【0041】このように、自ホストが磁気テープ装置6
の最初の組み込みホストでない場合には、磁気テープの
巻き戻し/媒体制御情報読み込み操作なしで、磁気テー
プ装置6の自ホストへの組み込みを行うことができる。
このため、他ホストで磁気テープ装置上の磁気テープを
割り当て中(使用中)に、自ホストで同一の磁気テープ
装置の組み込みを行っても、他ホストでの磁気テープ装
置の使用に影響を与えることはない。したがって、他ホ
ストに割り当てられている磁気テープ装置を自ホストに
組み込もうとしたときに、他ホストのデータ入力が失敗
したり、データ出力で磁気テープの先頭が破壊されたり
するおそれがなくなる。
As described above, when the host device has the magnetic tape device 6
If the host is not the first built-in host, the magnetic tape device 6 can be built into its own host without the operation of rewinding the magnetic tape and reading the medium control information.
For this reason, even if the same magnetic tape device is installed in the own host while the magnetic tape on the magnetic tape device is allocated (in use) by another host, the use of the magnetic tape device in another host is affected. Never. Therefore, when an attempt is made to incorporate a magnetic tape device assigned to another host into the host itself, there is no danger that data input by the other host will fail or that the head of the magnetic tape will be destroyed by data output.

【0042】この後、ホストBのプログラム1からホス
トAですでに割り当て要求された磁気テープの媒体名を
パラメータとする磁気テープの割り当て要求が発生する
と、ホストBの装置割り当て手段4は、媒体名をキーと
してホスト間データ記録装置7上のグローバル装置管理
テーブル70からレコードを検索し(ステップ40
1)、該当するレコードが無ければ(ステップ402で
無)、割り当て失敗とする。
Thereafter, when a program 1 of the host B issues a magnetic tape allocation request with the medium name of the magnetic tape already requested by the host A as a parameter, the device allocating means 4 of the host B sends the medium name A record is searched from the global device management table 70 on the host-to-host data recording device 7 by using
1) If there is no corresponding record (No in step 402), it is determined that the assignment has failed.

【0043】該当するレコードが有れば(ステップ40
2で有)、ホストBの装置割り当て手段4は、検索済み
レコードのホスト装置組み込み情報を参照して同媒体名
の磁気テープを装填する磁気テープ装置6が自ホスト
(ホストB)で組み込み済かどうかを判定する(ステッ
プ403)。いまの場合、自ホスト番号に対応する組み
込みフラグがONであるので、組み込み済みであると判
定する。
If there is a corresponding record (step 40)
2), the device allocating means 4 of the host B refers to the host device installation information of the searched record to determine whether the magnetic tape device 6 for mounting the magnetic tape having the same medium name has been installed in the host (host B). It is determined whether it is (Step 403). In this case, since the installation flag corresponding to the host number is ON, it is determined that the installation has been completed.

【0044】次に、ホストBの装置割り当て手段4は、
検索済みレコードのホスト装置割り当て情報に他ホスト
番号が記録されているかどうかに基づいて、当該磁気テ
ープ装置6が他ホスト(ホストA)に割り当て済み(使
用されている)かどうかを判定する(ステップ40
4)。いまの場合、当該磁気テープ装置6が他ホスト
(ホストA)に割り当てられている(使用されている)
ので、ホストBの装置割り当て手段4は、割り当て失敗
(空き待ち)とする。
Next, the device allocating means 4 of the host B
It is determined whether the magnetic tape device 6 has been assigned (used) to another host (host A) based on whether or not another host number is recorded in the host device assignment information of the searched record (step). 40
4). In this case, the magnetic tape device 6 is allocated (used) to another host (host A).
Therefore, the device assignment unit 4 of the host B determines that the assignment has failed (waiting for free).

【0045】この後、ホストAのプログラム1から媒体
名をパラメータとする磁気テープの解放要求があると、
ホストAの装置解放手段5に通知される。
Thereafter, when there is a request from the program 1 of the host A to release the magnetic tape using the medium name as a parameter,
The device release means 5 of the host A is notified.

【0046】ホストAの装置解放手段5は、媒体名をキ
ーとしてホスト間データ記録装置7上のグローバル装置
管理テーブル70からレコードを検索し(ステップ50
1)、該当するレコードがなければ(ステップ502で
ノー)、解放失敗とする。
The device release means 5 of the host A searches the global device management table 70 on the inter-host data recording device 7 for a record using the medium name as a key (step 50).
1) If there is no corresponding record (No in step 502), release is determined to have failed.

【0047】該当するレコードがあれば(ステップ50
2でイエス)、ホストAの装置解放手段5は、検索済み
レコードのホスト装置割り当て情報から自ホスト(ホス
トA)のホスト番号を削除して(ステップ503)、解
放を完了する。
If there is a corresponding record (step 50)
2), the device release means 5 of the host A deletes the host number of its own host (host A) from the host device allocation information of the searched record (step 503), and completes the release.

【0048】これにより、検索済みレコードの磁気テー
プ装置識別名を有する磁気テープ装置6は解放され、当
該磁気テープ装置6が他ホスト(ホストB)に割り当て
可能な状態となる。
As a result, the magnetic tape device 6 having the magnetic tape device identification name of the searched record is released, and the magnetic tape device 6 can be assigned to another host (host B).

【0049】ホストBのプログラム1から媒体名をパラ
メータとする磁気テープの解放要求があった場合も、同
様の処理となる。
The same processing is performed when the program 1 of the host B issues a request to release the magnetic tape using the medium name as a parameter.

【0050】システム終了時またはオペレータコマンド
により、ホストAで、磁気テープ装置識別名をパラメー
タとする装置切り離し要求があると、ホストAの装置組
み込み手段2は、同磁気テープ装置識別名をキーとして
ホスト間データ記録装置7上のグローバル装置管理テー
ブル70からレコードを検索し、該当するホスト装置組
み込み情報から自ホスト番号を削除するとともに、組み
込みフラグをOFFとする。
When a system disconnection request is made at the host A by using the magnetic tape device identification name as a parameter at the end of the system or by an operator command, the device embedding means 2 of the host A uses the magnetic tape device identification name as a key for the host A. A record is searched from the global device management table 70 on the interim data recording device 7, the own host number is deleted from the corresponding host device built-in information, and the built-in flag is turned off.

【0051】次に、本発明の第2の実施の形態について
図面を参照して説明する。
Next, a second embodiment of the present invention will be described with reference to the drawings.

【0052】図7を参照すると、本発明の第2の実施の
形態に係るマルチホストシステムにおける磁気テープ装
置組み込み制御方式は、図1に示した第1の実施の形態
に係るマルチホストシステムにおける磁気テープ装置組
み込み制御方式に対して、各ホストAおよびB毎に装置
組み込み制御プログラムを記録した記録媒体8を備え
る。この記録媒体8は、磁気ディスク,半導体メモリ,
その他の記録媒体であってよい。
Referring to FIG. 7, the control method for assembling the magnetic tape device in the multi-host system according to the second embodiment of the present invention is the same as that of the multi-host system according to the first embodiment shown in FIG. For the tape device embedded control system, a recording medium 8 in which a device embedded control program is recorded for each of the hosts A and B is provided. The recording medium 8 includes a magnetic disk, a semiconductor memory,
Other recording media may be used.

【0053】装置組み込み制御プログラムは記録媒体8
からホストAおよびBにそれぞれ読み込まれ、ホストA
およびBの動作を、装置組み込み手段2,媒体認識手段
3,装置割り当て手段4および装置解放手段5として制
御する。ホストAおよびBの装置組み込み制御プログラ
ムの制御による動作は、第1の実施の形態に係るマルチ
ホストシステムにおける磁気テープ装置組み込み制御方
式の場合と全く同様になるので、その詳しい説明を割愛
する。
The device built-in control program is stored in the recording medium 8.
From the host A and the host A, respectively.
And B are controlled as device incorporating means 2, medium recognizing means 3, device allocating means 4, and device releasing means 5. The operations of the hosts A and B under the control of the device embedding control program are exactly the same as those in the case of the magnetic tape device embedding control method in the multi-host system according to the first embodiment.

【0054】ところで、上記各実施の形態では、磁気テ
ープ装置6およびホスト間データ記録装置7を共用する
ホストをホストAおよびBの2台としたが、ホストは3
台以上であってもよい。
By the way, in each of the above embodiments, the two hosts, the hosts A and B, share the magnetic tape device 6 and the inter-host data recording device 7.
It may be more than one.

【0055】また、複数のホストに共用される磁気テー
プ装置6を複数としたが、磁気テープ装置6は1台であ
っても本発明を同様に適用することができる。
Although a plurality of magnetic tape devices 6 are shared by a plurality of hosts, the present invention can be similarly applied to a single magnetic tape device 6.

【0056】[0056]

【発明の効果】第1の効果は、自ホストで磁気テープ装
置上の磁気テープを割り当て中(使用中)に、他ホスト
で当該磁気テープ装置の組み込みが行われても、自ホス
トでの磁気テープ装置の使用に影響を与えないことであ
る。その理由は、最初に磁気テープ装置を組み込むホス
トが当該磁気テープ装置上に装填されている磁気テープ
の媒体制御情報を読み取り各ホストが参照可能なホスト
間共有データ記録装置上のグローバル装置管理テーブル
に記録するので、後続で磁気テープ装置を組み込むホス
トがグローバル装置管理テーブルの媒体制御情報を参照
することで磁気テープ装置に巻き戻しおよび読み込み等
の操作を行うことなく磁気テープ装置を組み込むことが
できるためである。
The first effect is that even if the magnetic tape device on the magnetic tape device is allocated (used) by the own host and the magnetic tape device is incorporated by another host, the magnetic tape on the own host is not affected. It does not affect the use of the tape device. The reason is that first, the host incorporating the magnetic tape device reads the medium control information of the magnetic tape loaded on the magnetic tape device and stores the information in the global device management table on the inter-host shared data recording device which can be referred to by each host. Since recording is performed, the host that subsequently incorporates the magnetic tape device can incorporate the magnetic tape device without performing operations such as rewinding and reading to the magnetic tape device by referring to the medium control information in the global device management table. It is.

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

【図1】本発明の第1の実施の形態に係るマルチホスト
システムにおける磁気テープ装置組み込み制御方式の構
成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a magnetic tape device installation control method in a multi-host system according to a first embodiment of the present invention.

【図2】図1中のホスト間データ記録装置に記録されて
いるグローバル装置管理テーブルの内容を示す図であ
る。
FIG. 2 is a diagram showing contents of a global device management table recorded in an inter-host data recording device in FIG. 1;

【図3】図1中の装置組み込み手段の処理を示すフロー
チャートである。
FIG. 3 is a flowchart showing a process of a device incorporating unit in FIG. 1;

【図4】図1中の媒体認識手段の処理を示すフローチャ
ートである。
FIG. 4 is a flowchart showing a process of a medium recognizing unit in FIG. 1;

【図5】図1中の装置割り当て手段の処理を示すフロー
チャートである。
FIG. 5 is a flowchart showing a process of a device assignment unit in FIG. 1;

【図6】図1中の装置解放手段の処理を示すフローチャ
ートである。
FIG. 6 is a flowchart showing a process of a device release unit in FIG. 1;

【図7】本発明の第2の実施の形態に係るマルチホスト
システムにおける磁気テープ装置組み込み制御方式の構
成を示すブロック図である。
FIG. 7 is a block diagram showing a configuration of a magnetic tape device installation control method in a multi-host system according to a second embodiment of the present invention.

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

1 プログラム 2 装置組み込み手段 3 媒体認識手段 4 装置割り当て手段 5 装置解放手段 6 磁気テープ装置 7 ホスト間データ記録装置 8 記録媒体 70 グローバル装置管理テーブル A,B ホスト REFERENCE SIGNS LIST 1 program 2 device incorporating means 3 medium recognizing means 4 device allocating means 5 device releasing means 6 magnetic tape device 7 inter-host data recording device 8 recording medium 70 global device management table A, B host

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 磁気テープ装置を複数のホストで共用す
るマルチホストシステムにおいて、前記複数のホスト間
で共用されるホスト間データ記録装置上に設けられ、媒
体制御情報,ホスト装置組み込み情報およびホスト装置
割り当て情報を管理するグローバル装置管理テーブル
と、前記磁気テープ装置に装填されている磁気テープの
先頭に記録されている媒体制御情報を読み込む媒体認識
手段と、自ホストへの前記磁気テープ装置の組み込み要
求時に、自ホストが最初の組み込みホストであれば前記
媒体認識手段により前記磁気テープ装置に装填されてい
る磁気テープから媒体制御情報を読み込んで前記グロー
バル装置管理テーブルに記録し、自ホストが最初の組み
込みホストでなければ前記グローバル装置管理テーブル
から媒体制御情報を取得する装置組み込み手段と、自ホ
ストへの磁気テープの割り当て要求時に前記グローバル
装置管理テーブルのホスト装置割り当て情報に基づいて
前記磁気テープ装置が他ホストに割り当てられている場
合には前記磁気テープ装置を空き待ちとし、前記磁気テ
ープ装置が他ホストに割り当てられていない場合には前
記グローバル装置管理テーブルのホスト装置割り当て情
報に前記磁気テープ装置が自ホストで割り当て中である
旨を記録する装置割り当て手段と、自ホストでの磁気テ
ープの解放要求時に前記グローバル装置管理テーブルの
ホスト装置割り当て情報から前記磁気テープ装置が自ホ
ストで割り当て中である旨を削除する装置解放手段とを
有することを特徴とするマルチホストシステムにおける
磁気テープ装置組み込み制御方式。
In a multi-host system in which a magnetic tape device is shared by a plurality of hosts, media control information, host device built-in information, and a host device are provided on an inter-host data recording device shared by the plurality of hosts. Global device management table for managing allocation information, medium recognition means for reading medium control information recorded at the head of a magnetic tape loaded in the magnetic tape device, and a request for incorporating the magnetic tape device into its own host Sometimes, if the own host is the first built-in host, the medium recognizing means reads the medium control information from the magnetic tape loaded in the magnetic tape device and records it in the global device management table. If it is not a host, retrieve the media control information from the global device management table. The device incorporating means for obtaining the magnetic tape device when the magnetic tape device is allocated to another host based on the host device allocation information in the global device management table at the time of the request for allocating the magnetic tape to the host; Waiting, and when the magnetic tape device is not allocated to another host, a device allocating unit that records in the host device allocation information of the global device management table that the magnetic tape device is being allocated by the own host, A multi-host, comprising: a device release unit that deletes, from the host device allocation information in the global device management table, that the magnetic tape device is being allocated by the host when a request for releasing the magnetic tape is issued from the host. A control method for incorporating a magnetic tape device in the system.
【請求項2】 1台以上の磁気テープ装置を複数のホス
トで共用するマルチホストシステムにおいて、前記複数
のホスト間で共用されるホスト間データ記録装置上に設
けられ、磁気テープ装置識別名毎に、媒体制御情報,ホ
スト装置組み込み情報およびホスト装置割り当て情報か
らなるレコードを管理するグローバル装置管理テーブル
と、磁気テープ装置に装填されている磁気テープの先頭
に記録されている媒体制御情報を読み込む媒体認識手段
と、自ホストへの磁気テープ装置の組み込み要求時に、
自ホストが当該磁気テープ装置の最初の組み込みホスト
であれば前記媒体認識手段により当該磁気テープ装置に
装填されている磁気テープから媒体制御情報を読み込ん
で前記グローバル装置管理テーブルの該当レコードに記
録し、自ホストが当該磁気テープ装置の最初の組み込み
ホストでなければ前記グローバル装置管理テーブルの該
当レコードから媒体制御情報を取得する装置組み込み手
段と、自ホストへの磁気テープの割り当て要求時に前記
グローバル装置管理テーブルの該当レコードのホスト装
置割り当て情報に基づいて当該磁気テープが装填されて
いる磁気テープ装置が他ホストに割り当てられている場
合には当該磁気テープ装置を空き待ちとし、当該磁気テ
ープ装置が他ホストに割り当てられていない場合には前
記グローバル装置管理テーブルの該当レコードのホスト
装置割り当て情報に当該磁気テープ装置が自ホストで割
り当て中である旨を記録する装置割り当て手段と、自ホ
ストでの磁気テープの解放要求時に前記グローバル装置
管理テーブルの該当レコードのホスト装置割り当て情報
から当該磁気テープが装填されている磁気テープ装置が
自ホストで割り当て中である旨を削除する装置解放手段
とを有することを特徴とするマルチホストシステムにお
ける磁気テープ装置組み込み制御方式。
2. A multi-host system in which one or more magnetic tape devices are shared by a plurality of hosts, the multi-host system being provided on an inter-host data recording device shared by the plurality of hosts, wherein a plurality of magnetic tape devices are provided for each magnetic tape device identifier. Global management table for managing a record including medium control information, host device built-in information, and host device allocation information, and medium recognition for reading medium control information recorded at the beginning of a magnetic tape loaded in a magnetic tape device Means and at the time of requesting the incorporation of the magnetic tape device into its own host,
If the host is the first built-in host of the magnetic tape device, the medium recognizing means reads medium control information from the magnetic tape mounted on the magnetic tape device and records the medium control information in a corresponding record of the global device management table, If the own host is not the first built-in host of the magnetic tape device, device incorporating means for acquiring medium control information from the corresponding record of the global device management table; and the global device management table when a request for allocating a magnetic tape to the own host is made. If the magnetic tape device in which the magnetic tape is loaded is assigned to another host based on the host device assignment information of the corresponding record, the magnetic tape device waits for an empty space, and the magnetic tape device The global device if not assigned Device allocation means for recording in the host device allocation information of the corresponding record of the corresponding record in the management table that the magnetic tape device is being allocated by the own host, and the corresponding record of the global device management table upon request of releasing the magnetic tape by the own host Device release means for deleting from the host device allocation information that the magnetic tape device in which the magnetic tape is loaded is being allocated by its own host, and a magnetic tape device embedding control method in a multi-host system. .
【請求項3】 前記グローバル装置管理テーブルが、磁
気テープ装置識別名と、その磁気テープ装置に装填され
ている磁気テープの媒体名および媒体規格情報からなる
媒体制御情報と、全ホストのホスト番号およびそれに対
応する組み込みフラグからなるホスト装置組み込み情報
と、割り当てられているホストのホスト番号からなるホ
スト装置割り当て情報とから構成されているレコードを
格納する請求項1または2記載のマルチホストシステム
における磁気テープ装置組み込み制御方式。
3. The global device management table includes a magnetic tape device identification name, media control information including a media name and media standard information of a magnetic tape loaded in the magnetic tape device, host numbers and host numbers of all hosts. 3. A magnetic tape in a multi-host system according to claim 1, wherein a record comprising host device installation information comprising a corresponding installation flag and host device allocation information comprising a host number of an assigned host is stored. Device embedded control method.
【請求項4】 前記装置組み込み手段が、システム立ち
上げ時またはオペレータコマンドにより磁気テープ装置
識別名をパラメータとする装置組み込み要求があったと
きに、同磁気テープ装置識別名をキーとして前記ホスト
間データ記録装置上のグローバル装置管理テーブルから
レコードを検索し、検索済みレコードのホスト装置組み
込み情報に自ホスト番号および組み込みフラグを記録
し、検索済みレコードのホスト装置組み込み情報のホス
ト番号および組み込みフラグを参照して自ホストが最初
の組み込みホストであるかどうかを判定し、自ホストが
最初の組み込みホストであれば前記媒体認識手段により
同磁気テープ装置識別名の磁気テープ装置に装填されて
いる磁気テープから媒体制御情報を読み込んで検索済み
レコードに記録し、自ホストが最初の組み込みホストで
なければ検索済みレコードから媒体制御情報を取得する
請求項1または2記載のマルチホストシステムにおける
磁気テープ装置組み込み制御方式。
4. The host-to-host data processing system according to claim 1, wherein the device incorporation means uses the magnetic tape device identification name as a key when the system is started or when there is a device installation request using the magnetic tape device identification name as a parameter by an operator command. The record is searched from the global device management table on the recording device, the own host number and the built-in flag are recorded in the host device built-in information of the searched record, and the host number and the built-in flag of the host device built-in information of the searched record are referenced. It is determined whether or not the host itself is the first embedded host, and if the host is the first embedded host, the medium is recognized from the magnetic tape loaded in the magnetic tape device having the same magnetic tape device identifier by the medium recognizing means. The control information is read and recorded in the searched record, 3. The method according to claim 1, wherein the medium control information is obtained from the searched record unless the host is the first embedded host.
【請求項5】 前記装置割り当て手段が、媒体名をパラ
メータとする磁気テープの割り当て要求があったとき
に、同媒体名をキーとして前記ホスト間データ記録装置
上のグローバル装置管理テーブルからレコードを検索
し、検索済みレコードのホスト装置組み込み情報の自ホ
スト番号に対応する組み込みフラグを参照して同媒体名
の磁気テープを装填する磁気テープ装置が自ホストで組
み込み済かどうかを判定し、同媒体名の磁気テープを装
填する磁気テープ装置が自ホストで組み込み済みであれ
ば検索済みレコードのホスト装置割り当て情報に他ホス
ト番号が記録されているかどうかに基づいて当該磁気テ
ープ装置が他ホストに割り当てられているかどうかを判
定し、当該磁気テープ装置が他ホストに割り当てられて
いなければ検索済みレコードのホスト装置割り当て情報
に自ホストのホスト番号を記録して自ホストで当該磁気
テープ装置が割り当て中である旨を表示する請求項1ま
たは2記載のマルチホストシステムにおける磁気テープ
装置組み込み制御方式。
5. The apparatus allocating means retrieves a record from a global device management table on the inter-host data recording device using the medium name as a key when a magnetic tape allocation request using the medium name as a parameter is received. Then, referring to the built-in flag corresponding to the own host number of the host device built-in information of the searched record, it is determined whether or not the magnetic tape device for loading the magnetic tape of the same medium name has been built in the own host, and If the magnetic tape device in which the magnetic tape is loaded is already installed in the host, the magnetic tape device is allocated to the other host based on whether or not another host number is recorded in the host device allocation information of the searched record. Is determined, and if the magnetic tape device is not assigned to another host, the searched record 3. The magnetic tape device assembling control method in a multi-host system according to claim 1, wherein the host number of the own host is recorded in the host device assignment information of the host, and information indicating that the magnetic tape device is being assigned by the own host is displayed. .
【請求項6】 前記装置解放手段が、媒体名をパラメー
タとする磁気テープの解放要求があったときに、同媒体
名をキーとして前記ホスト間データ記録装置上のグロー
バル装置管理テーブルからレコードを検索し、検索済み
レコードのホスト装置割り当て情報から自ホスト番号を
削除する請求項1または2記載のマルチホストシステム
における磁気テープ装置組み込み制御方式。
6. The apparatus releasing means retrieves a record from a global device management table on the inter-host data recording device using the medium name as a key when a release request of the magnetic tape is made using the medium name as a parameter. 3. The control method according to claim 1, wherein the own host number is deleted from the host device allocation information of the searched record.
【請求項7】 コンピュータを、磁気テープ装置に装填
されている磁気テープの先頭に記録されている媒体制御
情報を読み込む媒体認識手段,自ホストへの前記磁気テ
ープ装置の組み込み要求時に、自ホストが最初の組み込
みホストであれば前記媒体認識手段により前記磁気テー
プ装置に装填されている磁気テープから媒体制御情報を
読み込んでグローバル装置管理テーブルに記録し、自ホ
ストが最初の組み込みホストでなければ前記グローバル
装置管理テーブルから媒体制御情報を取得する装置組み
込み手段,自ホストへの磁気テープの割り当て要求時に
前記グローバル装置管理テーブルのホスト装置割り当て
情報に基づいて前記磁気テープ装置が他ホストに割り当
てられている場合には前記磁気テープ装置を空き待ちと
し、前記磁気テープ装置が他ホストに割り当てられてい
ない場合には前記グローバル装置管理テーブルのホスト
装置割り当て情報に前記磁気テープ装置が自ホストで割
り当て中である旨を記録する装置割り当て手段,および
自ホストでの磁気テープの解放要求時に前記グローバル
装置管理テーブルのホスト装置割り当て情報から前記磁
気テープ装置が自ホストで割り当て中である旨を削除す
る装置解放手段として機能するためのプログラムを記録
した記録媒体。
7. A computer which reads a medium control information recorded at the head of a magnetic tape loaded in a magnetic tape device, and a computer which, when requested to incorporate the magnetic tape device into the host, If the host is the first built-in host, the medium recognizing means reads medium control information from the magnetic tape loaded in the magnetic tape device and records it in the global device management table. A device incorporating means for acquiring medium control information from the device management table, when the magnetic tape device is allocated to another host based on the host device allocation information in the global device management table when a request for allocating a magnetic tape to its own host is made. Waits for the magnetic tape device to be empty, and A device allocating means for recording in the host device allocation information of the global device management table that the magnetic tape device is being allocated by the host when the device is not allocated to another host; Recording a program for functioning as a device release unit for deleting the fact that the magnetic tape device is being allocated by the host from the host device allocation information of the global device management table when a release request is issued.
【請求項8】 コンピュータを、磁気テープ装置に装填
されている磁気テープの先頭に記録されている媒体制御
情報を読み込む媒体認識手段,自ホストへの磁気テープ
装置の組み込み要求時に、自ホストが当該磁気テープ装
置の最初の組み込みホストであれば前記媒体認識手段に
より当該磁気テープ装置に装填されている磁気テープか
ら媒体制御情報を読み込んでグローバル装置管理テーブ
ルの該当レコードに記録し、自ホストが当該磁気テープ
装置の最初の組み込みホストでなければ前記グローバル
装置管理テーブルの該当レコードから媒体制御情報を取
得する装置組み込み手段,自ホストへの磁気テープの割
り当て要求時に前記グローバル装置管理テーブルの該当
レコードのホスト装置割り当て情報に基づいて当該磁気
テープが装填されている磁気テープ装置が他ホストに割
り当てられている場合には当該磁気テープ装置を空き待
ちとし、当該磁気テープ装置が他ホストに割り当てられ
ていない場合には前記グローバル装置管理テーブルの該
当レコードのホスト装置割り当て情報に当該磁気テープ
装置が自ホストで割り当て中であることを記録する装置
割り当て手段,および自ホストでの磁気テープの解放要
求時に前記グローバル装置管理テーブルの該当レコード
のホスト装置割り当て情報から当該磁気テープが装填さ
れている磁気テープ装置が自ホストで割り当て中である
旨を削除する装置解放手段として機能するためのプログ
ラムを記録した記録媒体。
8. A computer which reads a medium control information recorded at the head of a magnetic tape loaded in a magnetic tape device, and a computer which, when requested to incorporate the magnetic tape device in the host, requests the computer to execute the process. If it is the first built-in host of the magnetic tape device, the medium recognizing means reads the medium control information from the magnetic tape loaded in the magnetic tape device and records it in the corresponding record of the global device management table. If this is not the first built-in host of the tape device, device mounting means for acquiring medium control information from the corresponding record of the global device management table, and the host device of the relevant record of the global device management table when a request for allocating a magnetic tape to its own host The magnetic tape is loaded based on the assignment information. When the magnetic tape device is assigned to another host, the magnetic tape device waits for a space, and when the magnetic tape device is not assigned to another host, the host device of the corresponding record in the global device management table is set. A device allocating unit for recording in the allocation information that the magnetic tape device is being allocated by the host; A recording medium on which a program for functioning as a device release unit for deleting that a magnetic tape device loaded with a tape is being allocated by its own host is recorded.
JP26561198A 1998-09-21 1998-09-21 Magnetic tape device embedded control method in multi-host system Expired - Fee Related JP3186045B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26561198A JP3186045B2 (en) 1998-09-21 1998-09-21 Magnetic tape device embedded control method in multi-host system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26561198A JP3186045B2 (en) 1998-09-21 1998-09-21 Magnetic tape device embedded control method in multi-host system

Publications (2)

Publication Number Publication Date
JP2000099276A JP2000099276A (en) 2000-04-07
JP3186045B2 true JP3186045B2 (en) 2001-07-11

Family

ID=17419548

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26561198A Expired - Fee Related JP3186045B2 (en) 1998-09-21 1998-09-21 Magnetic tape device embedded control method in multi-host system

Country Status (1)

Country Link
JP (1) JP3186045B2 (en)

Also Published As

Publication number Publication date
JP2000099276A (en) 2000-04-07

Similar Documents

Publication Publication Date Title
JP5954751B2 (en) Method and file system for rolling back data on tape
US6557073B1 (en) Storage apparatus having a virtual storage area
US8028127B2 (en) Automated on-line capacity expansion method for storage device
US7904426B2 (en) System and method for identifying a removable storage device
JP4252139B2 (en) Storage system
US20030229651A1 (en) Snapshot acquisition method, storage system
US5522090A (en) Magnetic tape library system wherein write request to a storage unit to be mounted is redirected to a temporary device, and then transferred to the storage unit at an arbitrary time later when the unit is mounted
US7664910B2 (en) Data management method and apparatus, hierarchical storage apparatus and computer-readable storage medium
US20070005659A1 (en) Data deletion method, storage device, and computer system
US7395368B2 (en) Information processing system, storage unit, and storage control program recorded computer-readable recording medium
CN100530190C (en) Apparatus and method for processing information
US6615327B1 (en) Method and system for backing up data of data processing devices including fixed length block format data conversion to variable length block format
US20010007120A1 (en) Storage device
US6636876B1 (en) Database copy apparatus, database copy method and recording medium recorded with database copy program
JP2000138692A (en) Mac address management system, mac address management method and storage medium
US20050154848A1 (en) Duplication apparatus and method
GB2195192A (en) System recovery method for computer system
JP2750230B2 (en) Electronic file device
JP3186045B2 (en) Magnetic tape device embedded control method in multi-host system
JP2005215940A (en) Storage system, server apparatus, and preceding copy data preparation method
JP2007172082A (en) Control device and copy control method
US20060026459A1 (en) Method and apparatus for storing data
JPH07114444A (en) File movement control system
JP4095212B2 (en) Data storage device
JP2001290713A (en) Storage device system and method for acquiring its backup

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090511

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100511

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110511

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120511

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees