JPH1131032A - Connection switching device - Google Patents

Connection switching device

Info

Publication number
JPH1131032A
JPH1131032A JP9184213A JP18421397A JPH1131032A JP H1131032 A JPH1131032 A JP H1131032A JP 9184213 A JP9184213 A JP 9184213A JP 18421397 A JP18421397 A JP 18421397A JP H1131032 A JPH1131032 A JP H1131032A
Authority
JP
Japan
Prior art keywords
switching
host
devices
connection
bus
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
JP9184213A
Other languages
Japanese (ja)
Inventor
Takumi Obara
巧 小原
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 JP9184213A priority Critical patent/JPH1131032A/en
Publication of JPH1131032A publication Critical patent/JPH1131032A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To smoothly and accurately switch connections between devices without being affected by the fault, state, etc., of devices before connection switching. SOLUTION: This device 101 is so constituted as to switch connections between host devices connected to host buses 111 (bus signal 1211) to 112 (bus signal 1212) and devices connected to a device bus 113 (bus signal 1221). A switch 261 for indicating a switching chance to a switching control part 221, a reset issue part 231 and a reset issue part 241 which issue reset signals to the host device and device sides under the control of the switching control part 221, and a bus signal switching part 251 which switches connections of the host buses 111 and 112 and device bus 113 are provided; and the reset signal is issued at the time of connection switching to initialize the host device and devices, thereby preventing malfunction caused by the trouble that obstacle before switching is carried forward beyond the switching.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、接続切り替え技術
に関し、特に、複数のホスト装置によって配下のデバイ
スを共有する構成等におけるホスト装置とデバイス間の
接続切り替え操作等に適用して有効な技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a connection switching technology, and more particularly to a technology effective when applied to a connection switching operation between a host device and a device in a configuration in which a plurality of host devices share a device under the control. .

【0002】[0002]

【従来の技術】たとえば、情報処理システム等において
は、装置の可用性や、耐故障性能の向上等の観点から、
複数のホスト装置と配下の複数の周辺装置(デバイス)
とを切り替え装置等を介して接続し、稼動状況に応じ
て、任意のホスト装置と任意のデバイスとを選択的に接
続させることが行われている。
2. Description of the Related Art For example, in an information processing system or the like, from the viewpoint of improving the availability of devices and improving fault-tolerant performance, etc.
Multiple host devices and multiple subordinate peripheral devices
Are connected via a switching device or the like, and an arbitrary host device and an arbitrary device are selectively connected according to the operation status.

【0003】たとえば、特開平5−324525号公報
には、複数のコンピュータのSCSIバスに、1台の磁
気テープ装置を選択的に接続すべく、コンピュータ側の
複数のSCSIバスと磁気テープ装置側のSCSIバス
との間に切り替え装置を介在させ、当該切り替え装置に
設けられた選択スイッチを外部から操作することで、1
台の磁気テープ装置を任意の一つのコンピュータに接続
する構成が開示されている。
For example, Japanese Unexamined Patent Publication No. Hei 5-324525 discloses that a plurality of SCSI buses on a computer side and a plurality of SCSI buses on a magnetic tape unit side are connected in order to selectively connect one magnetic tape unit to SCSI buses of a plurality of computers. A switching device is interposed between the SCSI device and the SCSI bus, and a selection switch provided on the switching device is externally operated, whereby
A configuration for connecting one magnetic tape device to any one computer is disclosed.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述の
ような従来技術では、たとえば、コンピュータや磁気テ
ープ装置で切り替え前に障害が発生していた場合や、特
定のコンピュータと磁気テープ装置との間でのデータ転
送中の接続切り替え等で障害が発生した場合には、障害
が切り替え操作後に持ち越されることとなり、切り替え
後のI/O動作で障害が発生したり、誤動作を引き起こ
す原因となることが懸念される、という技術的課題があ
った。
However, according to the above-mentioned prior art, for example, when a failure occurs before switching in a computer or a magnetic tape device, or when a failure occurs between a specific computer and a magnetic tape device. If a failure occurs due to connection switching during data transfer, the failure will be carried over after the switching operation, which may cause a failure in the I / O operation after switching or cause a malfunction. Technical problem.

【0005】また、障害が発生しない場合であっても、
たとえば磁気テープ装置が特定のコンピュータから発行
されたコマンド動作を保留している状態で接続の切り替
えを行うと、その後、磁気テープ装置が動作保留中であ
ったコマンドの動作を再開したり、コンピュータが切り
替え前に発行したI/Oコマンドの応答を待ち続けた
り、磁気テープ装置に対して切り替え後にコンピュータ
から不要なI/Oコマンドが発行されたりするなど、切
り替え手続きの不備から誤動作を引き起こすことが懸念
される、という技術的課題があった。
[0005] Even if no failure occurs,
For example, if the connection is switched while the magnetic tape device is holding a command operation issued from a specific computer, then the magnetic tape device resumes the operation of the command whose operation was suspended, or the computer There is a concern that a malfunction of the switching procedure may cause malfunctions, such as continuing to wait for a response to an I / O command issued before the switching, or issuing an unnecessary I / O command from the computer after the switching to the magnetic tape device. Technical problem.

【0006】この後者の技術的課題を回避するために
は、たとえば、切り替えが発生した後、複数のコンピュ
ータ間におけるI/O処理の移管を行なうべく、オペレ
ータが各コンピュータに対して手動操作にて磁気テープ
装置の接続状態を指示したり、また各コンピュータ間で
切り替えの発生を連絡するための通信手段を別途設ける
等の煩雑な対策が必要であった。
In order to avoid the latter technical problem, for example, after switching occurs, an operator manually operates each computer to transfer I / O processing among a plurality of computers. Complicated measures such as instructing the connection state of the magnetic tape device and separately providing communication means for notifying the occurrence of switching between the computers have been required.

【0007】本発明の目的は、接続切り替え前の各装置
における故障等に起因する接続切り替え後の誤動作の発
生を確実に防止して、的確な装置群の接続切り替え操作
を行うことが可能な接続切り替え技術を提供することに
ある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a connection capable of performing an accurate connection switching operation of a device group by reliably preventing a malfunction after connection switching due to a failure in each device before connection switching. It is to provide a switching technique.

【0008】本発明の他の目的は、接続切り替え前の各
装置における実行状態に応じて接続切り替え時の入出力
処理の移管を円滑かつ的確に行うことが可能な接続切り
替え技術を提供することにある。
Another object of the present invention is to provide a connection switching technique capable of smoothly and accurately transferring input / output processing at the time of connection switching according to the execution state of each device before connection switching. is there.

【0009】本発明の他の目的は、オペレータによる介
入や冗長な通信手段等の煩雑な対策を必要とすることな
く、接続切り替え前の各装置の状態に応じて接続切り替
え時の入出力処理の移管を円滑かつ的確に行うことが可
能な接続切り替え技術を提供することにある。
Another object of the present invention is to provide input / output processing at the time of connection switching according to the state of each device before connection switching without requiring complicated measures such as operator intervention or redundant communication means. An object of the present invention is to provide a connection switching technique capable of performing a smooth and accurate transfer.

【0010】[0010]

【課題を解決するための手段】本発明は、少なくとも一
つの第1の装置を含む第1の装置群と、少なくとも一つ
の第2の装置を含む第2の装置群との間に介在し、任意
の第1の装置と、任意の第2の装置との接続の切り替え
操作を行う接続切り替え装置において、切り替え操作に
連動して、第1の装置群および第2の装置群の少なくと
も一方にリセット信号を発行するリセット信号発生手段
を備え、接続切り替え操作に先立って、切り替え後の接
続対象の各装置を確実に初期化するようにしたものであ
る。
SUMMARY OF THE INVENTION The present invention resides between a first group of devices including at least one first device and a second group of devices including at least one second device, In a connection switching device for performing a switching operation of a connection between an arbitrary first device and an arbitrary second device, resetting at least one of a first device group and a second device group in conjunction with the switching operation. A reset signal generating means for issuing a signal is provided, and prior to the connection switching operation, each device to be connected after the switching is securely initialized.

【0011】また、本発明は、少なくとも一つの第1の
装置を含む第1の装置群と、少なくとも一つの第2の装
置を含む第2の装置群との間に介在し、任意の第1の装
置と、任意の第2の装置との接続の切り替え操作を行う
接続切り替え装置において、切り替え操作に連動して、
第1の装置群の複数の第1の装置にメッセージ情報を発
行することにより、当該第1の装置間における入出力処
理の移管操作を行うメッセージ情報発生手段を備えたも
のである。
Further, the present invention is provided between a first group of devices including at least one first device and a second group of devices including at least one second device, and includes an arbitrary first device. Device, and a connection switching device that performs a switching operation of a connection with an arbitrary second device, in conjunction with the switching operation,
A message information generating means for issuing a message information to a plurality of first devices of the first device group to perform a transfer operation of an input / output process between the first devices.

【0012】より具体的には、一例として、たとえば、
複数のホスト装置と配下の複数の共有デバイスを接続す
る場合、切り替え操作に連動して共有デバイスに対して
リセットを発行することにより切り替え後の共有デバイ
ス動作を保証する手段、切り替えに連動してホスト装置
に対してリセットまたは通知メッセージを発行すること
によりデバイスの接続が切り替わったことをホスト装置
に認識させ、ホスト装置間のI/O処理の移管を行なわ
せるようにできる手段、切り替え時にホスト装置および
ホストバスで障害が発生した場合にホスト装置に対して
リセットを発行することにより切り替え後のホスト動作
を保証する手段、の少なくとも一つを備えるようにした
ものである。
More specifically, as an example, for example,
When a plurality of host devices are connected to a plurality of subordinate shared devices, means for issuing a reset to the shared device in conjunction with the switching operation to guarantee the operation of the shared device after the switching, and a host in association with the switching. Means for allowing the host device to recognize that the connection of the device has been switched by issuing a reset or notification message to the device, and for transferring the I / O processing between the host devices; The system is provided with at least one of means for issuing a reset to the host device when a failure occurs in the host bus, thereby guaranteeing the host operation after switching.

【0013】[0013]

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

【0014】以下の説明では、一例として、複数のホス
ト装置にて配下の複数のデバイスを共有する構成の情報
処理システムに本発明の接続切り替え装置を適用した場
合を例に採って説明する。
In the following description, as an example, a case where the connection switching device of the present invention is applied to an information processing system in which a plurality of subordinate devices are shared by a plurality of host devices will be described.

【0015】まず、第1の実施の形態として、図1、図
2、図3を用いて、ホスト装置が同一バス上に1つしか
ない場合の接続切り替え装置について説明する。
First, as a first embodiment, a connection switching device in a case where there is only one host device on the same bus will be described with reference to FIG. 1, FIG. 2, and FIG.

【0016】図1は、本実施の形態に係る接続切替え装
置を備えた情報処理システムの構成の一例を示す概念図
である。
FIG. 1 is a conceptual diagram showing an example of the configuration of an information processing system provided with a connection switching device according to the present embodiment.

【0017】接続切り替え装置101は、ホストバス1
11上に接続されたホスト装置102と、ホストバス1
12上に接続されたホスト装置104が、デバイスバス
113上に接続されたデバイス106およびデバイス1
07を共有するための切り替え装置として機能する。
The connection switching device 101 includes a host bus 1
11 and a host bus 1
12 is connected to the device 106 and the device 1 connected to the device bus 113.
07 functions as a switching device for sharing.

【0018】図2は、本実施の形態の接続切り替え装置
101の構成の一例を示す機能ブロック図である。同図
において、接続切り替え装置101は、スイッチ261
と、切り替え制御部221と、バス信号切り替え部25
1と、リセット発行部231と、リセット発行部241
とから構成されている。
FIG. 2 is a functional block diagram showing an example of the configuration of the connection switching device 101 of the present embodiment. In the figure, the connection switching device 101 includes a switch 261
, Switching control unit 221, bus signal switching unit 25
1, reset issuing unit 231 and reset issuing unit 241
It is composed of

【0019】スイッチ261は、ホスト装置102およ
びホスト装置104と、これらによって共有されるデバ
イス106〜107の接続状態を指示する切り替えスイ
ッチである。このスイッチ261は、オペレータ等が手
動で操作するものであってもよいし、あるいは、ソフト
ウェア等にて作動するものであってもよい。
The switch 261 is a switch for instructing the host device 102 and the host device 104 and the connection state of the devices 106 to 107 shared by them. The switch 261 may be manually operated by an operator or the like, or may be operated by software or the like.

【0020】切り替え制御部221はスイッチ261の
状態を常に監視し、切り替えが行われた場合にはバス信
号切り替え部251を用いてホストバス111〜112
とデバイスバス113の接続を制御し、リセット発行部
241を用いてデバイス106〜107の各々にリセッ
トを発行し、リセット発行部231を用いてホスト装置
102およびホスト装置104の各々にリセットを発行
する。
The switching control unit 221 constantly monitors the state of the switch 261, and when switching is performed, uses the bus signal switching unit 251 to control the host buses 111 to 112.
And the device bus 113, issues a reset to each of the devices 106 to 107 using the reset issuing unit 241, and issues a reset to each of the host device 102 and the host device 104 using the reset issuing unit 231. .

【0021】次に、上述した本実施の形態の情報処理シ
ステムにおけるホスト装置102およびホスト装置10
4と、これらによって共有されるデバイス106〜10
7の接続を切り替える動作について説明する。図3は、
本実施の形態の接続切り替え装置101による切り替え
処理手順の一例を説明するフローチャートである。
Next, the host device 102 and the host device 10 in the information processing system of the present embodiment described above.
4 and the devices 106 to 10 shared by them
The operation of switching the connection of No. 7 will be described. FIG.
9 is a flowchart illustrating an example of a switching processing procedure performed by the connection switching device 101 according to the present embodiment.

【0022】本実施の形態の接続切り替え装置101の
電源が投入されると、切り替え制御部221はバス信号
切り替え部251を制御してスイッチ261の状態によ
りバス信号1211とバス信号1221を接続、もしく
はバス信号1212とバス信号1221とを接続する
(ステップ300)。
When the power of the connection switching device 101 of this embodiment is turned on, the switching control unit 221 controls the bus signal switching unit 251 to connect the bus signal 1211 and the bus signal 1221 depending on the state of the switch 261 or The bus signal 1212 and the bus signal 1221 are connected (Step 300).

【0023】この接続動作により、スイッチ261によ
り接続を指示されたホスト装置102およびホスト装置
104の任意の一つとデバイス106〜107はI/O
コマンド動作を行なうことが可能となる。
By this connection operation, any one of the host device 102 and the host device 104 and the devices 106 to 107 to which the connection is instructed by the switch 261 are connected to the I / O device.
Command operation can be performed.

【0024】その後、切り替え制御部221はスイッチ
261の状態を常に監視し接続切り替えの指示を待つ
(ステップ305)。
Thereafter, the switching control section 221 constantly monitors the state of the switch 261 and waits for a connection switching instruction (step 305).

【0025】スイッチ261の操作により切り替えが指
示されると、切り替え制御部221は、ホスト装置側の
バス信号1211〜1212とデバイス側のバス信号1
221の切り離しを行うとともに(ステップ310)、
リセット発行部241を制御してデバイス106および
デバイス107に対してリセットを発行し(ステップ3
15)、リセット発行部231を制御してホスト装置1
02およびホスト装置104に対してリセットを発行す
る(ステップ320)。これによって、ホスト装置10
2〜ホスト装置104およびデバイス106〜107の
状態を初期化し、またホスト装置102とホスト装置1
04の間でI/O処理の移管を行なわせるための通知を
行なう。
When switching is instructed by operating the switch 261, the switching control unit 221 switches the bus signals 1211 to 1212 on the host device side and the bus signal 1 on the device side.
221 (step 310),
The reset issuance unit 241 is controlled to issue a reset to the devices 106 and 107 (step 3).
15), controlling the reset issuing unit 231 to control the host device 1
A reset is issued to the host device 02 and the host device 104 (step 320). Thereby, the host device 10
2 to initialize the states of the host device 104 and the devices 106 to 107, and
A notification for transferring the I / O processing during the period 04 is issued.

【0026】この後、切り替え制御部221はバス信号
切り替え部251を制御してスイッチ261の状態によ
りバス信号1211とバス信号1221、またはバス信
号1212とバス信号1221を接続する(ステップ3
60)ことにより、スイッチ261により指示されたホ
スト装置102〜104の一つとデバイス106〜10
7はI/Oコマンド動作が可能となる。
Thereafter, the switching control section 221 controls the bus signal switching section 251 to connect the bus signal 1211 and the bus signal 1221 or the bus signal 1212 and the bus signal 1221 depending on the state of the switch 261 (step 3).
60) By doing so, one of the host devices 102 to 104 and the devices 106 to
7 enables an I / O command operation.

【0027】この後、再度、スイッチ261の監視(ス
テップ305)に戻り、同様に処理を繰り返す。
Thereafter, the process returns to the monitoring of the switch 261 (step 305), and the same processing is repeated.

【0028】前述の図1に例示される構成の実施の形態
においては、ホスト装置102およびホスト装置104
が、それぞれ個別のホストバス111およびホストバス
112を介して独立に接続切り替え装置101に接続さ
れた構成であるため、接続切り替えが発生したことをホ
スト装置102およびホスト装置104の各々へ通知す
る操作は単にリセットの発行を用いて行なうことができ
た。
In the embodiment having the configuration illustrated in FIG. 1, the host device 102 and the host device 104
Are independently connected to the connection switching device 101 via the respective host buses 111 and 112, so that the operation of notifying each of the host device 102 and the host device 104 of the occurrence of the connection switching is performed. Could simply be done by issuing a reset.

【0029】しかし、ホスト装置が同一バス上に2つ以
上存在しリセットを伝達する信号がホスト装置間で共有
のものである場合、ホスト装置がデバイスへの初期化通
知の手段としてリセットを発行すると他のホスト装置は
当該リセットが接続切り替え装置からのリセットなのか
他のホスト装置が発行したリセットなのかを識別する手
段をもたないため、リセットは切り替えが発生したこと
の通知として使用できない。
However, when there are two or more host devices on the same bus and the signal for transmitting the reset is shared between the host devices, the host device issues a reset as a means for notifying the device of initialization. The other host device has no means for identifying whether the reset is a reset from the connection switching device or a reset issued by the other host device, so the reset cannot be used as a notification that the switching has occurred.

【0030】そこで、以下に第2の実施の形態として、
図4、図5、図6を用いて、ホスト装置が同一バス上に
複数存在し、リセットを伝達する信号がホスト装置間で
共有される構成に、本発明の接続切り替え技術を適用す
る場合について説明する。
Then, as a second embodiment,
4, 5, and 6, a case where the connection switching technique of the present invention is applied to a configuration in which a plurality of host devices exist on the same bus and a signal for transmitting reset is shared between the host devices. explain.

【0031】図4は、本第2の実施の形態に係る接続切
替え装置を含む情報処理システムの構成の一例を示す概
念図である。接続切り替え装置401は、共通のホスト
バス411上に接続された複数のホスト装置402およ
びホスト装置403と、共通のホストバス412上に接
続された複数のホスト装置404およびホスト装置40
5が、デバイスバス413上に接続されたデバイス40
6およびデバイス407を共有するための切り替え動作
を行う。
FIG. 4 is a conceptual diagram showing an example of the configuration of an information processing system including the connection switching device according to the second embodiment. The connection switching device 401 includes a plurality of host devices 402 and 403 connected on a common host bus 411 and a plurality of host devices 404 and host devices 40 connected on a common host bus 412.
5 is the device 40 connected on the device bus 413
6 and the device 407 are switched.

【0032】図5は、本第2の実施の形態における接続
切り替え装置401の構成の一例を示す機能ブロック図
である。
FIG. 5 is a functional block diagram showing an example of the configuration of the connection switching device 401 according to the second embodiment.

【0033】同図において、接続切り替え装置401
は、スイッチ561と、切り替え制御部521と、バス
信号切り替え部551と、メッセージ発行部535と、
リセット発行部531と、リセット発行部541とから
構成される。
In the figure, the connection switching device 401
Include a switch 561, a switching control unit 521, a bus signal switching unit 551, a message issuing unit 535,
It comprises a reset issuing unit 531 and a reset issuing unit 541.

【0034】スイッチ561はホスト装置402〜40
3およびホスト装置404〜405とデバイス406〜
407の接続状態を指示する切り替えスイッチである。
切り替え制御部521はスイッチ561の状態を常に監
視し、切り替えが行われた場合にはバス信号切り替え部
551を用いてホストバス411〜412とデバイスバ
ス413の接続を制御し、リセット発行部541を用い
てデバイス406〜407の各々にリセットを発行し、
メッセージ発行部535を用いてホスト装置402〜4
05の各々に対しメッセージを送出する。
The switch 561 is connected to the host devices 402 to 40
3 and host devices 404-405 and devices 406-
A changeover switch 407 indicates a connection state.
The switching control unit 521 constantly monitors the state of the switch 561, and when the switching is performed, controls the connection between the host buses 411 to 412 and the device bus 413 by using the bus signal switching unit 551, and sets the reset issuing unit 541 to Issue a reset to each of devices 406-407 using
Using the message issuing unit 535, the host devices 402-4
05 is sent out.

【0035】なお、このメッセージ発行部535による
ホスト装置へのメッセージの送出方法としては、ホスト
バス411、412およびデバイスバス413が、たと
えばSCSIバス等の場合には、接続切り替え装置40
1には独立したSCSI_IDを付与し、メッセージ発
行部535がこのSCSI_IDを用いて、SCSIプ
ロトコルにおけるリセレクションフェーズを各ホスト装
置に対して実行することが考えられる。
As a method of sending a message to the host device by the message issuing unit 535, when the host buses 411, 412 and the device bus 413 are, for example, SCSI buses, the connection switching device 40 is used.
It is conceivable that an independent SCSI_ID is assigned to 1 and the message issuing unit 535 executes a reselection phase in the SCSI protocol for each host device using the SCSI_ID.

【0036】メッセージ発行部535は、バス信号切り
替え部551を用いて全てのホスト装置402〜405
に対し順次コネクトを行い、接続切り替えが行われたこ
とをホスト装置402〜405に認識させるためのメッ
セージを発行する。もし、ホスト装置402〜405に
対するメッセージ発行時にホストバス411〜412に
障害が発生した場合は、バス回復手段としてリセット発
行部531を用いてホスト装置402〜405をリセッ
トする。
The message issuing unit 535 uses the bus signal switching unit 551 to change all the host devices 402 to 405.
Are sequentially connected, and a message is issued for causing the host devices 402 to 405 to recognize that the connection has been switched. If a failure occurs in the host buses 411 to 412 when a message is issued to the host devices 402 to 405, the host devices 402 to 405 are reset by using the reset issuing unit 531 as bus recovery means.

【0037】次に、上述した情報処理システムにおける
ホスト装置402〜405とデバイス406〜407の
接続を切り替える動作の一例について説明する。図6
は、本第2の実施の形態における接続切り替え装置40
1の切り替え処理手順の一例を説明するフローチャート
である。本装置の電源が投入されると、切り替え制御部
521はバス信号切り替え部551を制御してスイッチ
561の状態により、バス信号1511とバス信号15
21、もしくはバス信号1512とバス信号1521を
接続する(ステップ600)。
Next, an example of the operation of switching the connection between the host devices 402 to 405 and the devices 406 to 407 in the above information processing system will be described. FIG.
Is the connection switching device 40 according to the second embodiment.
13 is a flowchart illustrating an example of a switching processing procedure of FIG. When the power of the apparatus is turned on, the switching control unit 521 controls the bus signal switching unit 551 to change the bus signal 1511 and the bus signal 15 according to the state of the switch 561.
21 or the bus signal 1512 and the bus signal 1521 are connected (step 600).

【0038】この接続動作により、スイッチ561によ
り接続を指示されたホスト装置402〜405の任意の
一つとデバイス406〜407はI/Oコマンド動作を
行うことが可能となる。
With this connection operation, any one of the host devices 402 to 405 and the devices 406 to 407 to which the connection is instructed by the switch 561 can perform the I / O command operation.

【0039】その後、切り替え制御部521はスイッチ
561の状態を常に監視し接続切り替えの指示を待つ
(ステップ605)。
Thereafter, the switching control section 521 constantly monitors the state of the switch 561 and waits for a connection switching instruction (step 605).

【0040】スイッチ561の操作により切り替えが指
示されると、切り替え制御部521はバス信号切り替え
部551を制御してバス信号1511とバス信号152
1の接続、もしくはバス信号1512とバス信号152
1の接続を切り離し(ステップ610)、リセット発行
部541を制御してデバイス406およびデバイス40
7に対してリセットを発行する(ステップ615)こと
によってデバイス406,407の状態を初期化する。
When switching is instructed by operating the switch 561, the switching control unit 521 controls the bus signal switching unit 551 to switch the bus signal 1511 and the bus signal 152.
1 or bus signal 1512 and bus signal 152
1 (step 610), and controls the reset issuing unit 541 to control the devices 406 and 40.
7 is reset (step 615) to initialize the states of the devices 406 and 407.

【0041】次に、メッセージ発行部535を用いて全
てのホスト装置402〜405に対してメッセージの発
行を行なう。すなわち、メッセージ発行部535は、バ
ス信号切り替え部551を制御してホスト装置402の
接続されているバス信号1511(ホストバス411)
とバス信号1501とを接続する(ステップ620)。
その後、ホスト装置402とコネクトし(ステップ62
5)、接続切り替えが発生した事を伝えるメッセージを
発行する(ステップ630)ことにより、ホスト装置間
でI/O処理の移管を行なわせるための通知を行なう。
Next, a message is issued to all the host devices 402 to 405 by using the message issuing unit 535. That is, the message issuing unit 535 controls the bus signal switching unit 551 to control the bus signal 1511 (host bus 411) connected to the host device 402.
And the bus signal 1501 (step 620).
Thereafter, the host device 402 is connected (step 62).
5) By issuing a message notifying that the connection switching has occurred (step 630), a notification for transferring the I / O processing between the host devices is issued.

【0042】ホスト装置402に対するメッセージ発行
で障害が発生した場合は(ステップ635)、メッセー
ジ発行部535がリセット発行部531を用いてバス信
号1501および接続されるバス信号1511を通して
ホスト装置402に対してリセットを発行し(ステップ
640)、ホスト装置402におけるリトライ回数が既
定値以下ならば(ステップ642)、メッセージ発行を
再度試みる(ステップ630)。リトライ回数が既定値
を超えた場合は重度障害と判定し、当該重度障害の発生
をオペレータ等に知らせるべく、接続切り替え装置40
1の筐体の外部等に設けられた図示しないランプを点灯
させる(ステップ644)とともに、接続切り替え装置
401の機能を停止する(ステップ646)。
If a failure occurs in issuing a message to the host device 402 (step 635), the message issuing unit 535 uses the reset issuing unit 531 to send a bus signal 1501 and a connected bus signal 1511 to the host device 402. A reset is issued (step 640), and if the number of retries in the host device 402 is equal to or less than a predetermined value (step 642), the message is retried (step 630). If the number of retries exceeds a predetermined value, it is determined that a severe failure has occurred, and a connection switching device 40 is provided to notify an operator or the like of the occurrence of the severe failure.
A lamp (not shown) provided outside the first housing is lit (step 644), and the function of the connection switching device 401 is stopped (step 646).

【0043】メッセージ発行が成功した場合は(ステッ
プ635)、バス信号1511(ホストバス411)上
の別のホストであるホスト装置403に対しても同様に
メッセージの発行を行い(ステップ650)、バス信号
1511(ホストバス411)上のすべてのホスト装置
402〜403に対してメッセージの発行を完了させ
る。
If the message is successfully issued (step 635), the message is similarly issued to the host device 403 which is another host on the bus signal 1511 (host bus 411) (step 650), and the bus is issued. The issue of the message is completed to all the host devices 402 to 403 on the signal 1511 (host bus 411).

【0044】以上のようなステップ620からステップ
650までの一連の動作をホストバス412(バス信号
1512)上の全てのホスト装置404およびホスト装
置405に対しても行う(ステップ655)。
The series of operations from step 620 to step 650 as described above is also performed on all the host devices 404 and 405 on the host bus 412 (bus signal 1512) (step 655).

【0045】この後、切り替え制御部521がバス信号
切り替え部551を制御してスイッチ561の状態によ
り、バス信号1511とバス信号1521、もしくはバ
ス信号1512とバス信号1521を接続する(ステッ
プ660)ことにより、スイッチ561により指示され
たホスト装置402〜405の任意の一つとデバイス4
06〜407の各々はI/Oコマンド動作が可能とな
る。
Thereafter, the switching control section 521 controls the bus signal switching section 551 to connect the bus signal 1511 and the bus signal 1521 or the bus signal 1512 and the bus signal 1521 depending on the state of the switch 561 (step 660). , Any one of the host devices 402 to 405 indicated by the switch 561 and the device 4
Each of 06 to 407 can perform an I / O command operation.

【0046】この後再度、スイッチ561の監視(ステ
ップ605)に戻り、同様に処理を繰り返す。
Thereafter, the process returns to the monitoring of the switch 561 (step 605), and the same processing is repeated.

【0047】以上説明したように、上述の各実施の形態
に例示した本発明の接続切り替え装置を用いることによ
り、切り替え前の各ホスト装置やデバイス等の状態や接
続切り替え操作のタイミングに関係なく、自動的に全て
のデバイスに対してリセットを発行することによって切
り替え前にデバイスを初期化し障害を自動的に回復する
ことができ、たとえばデバイスの障害状態が切り替え後
に持ち越されること等に起因する誤動作の発生を確実に
回避することが可能となる。
As described above, by using the connection switching device of the present invention exemplified in each of the above-described embodiments, regardless of the state of each host device or device before switching and the timing of the connection switching operation, By automatically issuing resets to all devices, devices can be initialized before switching and faults can be automatically recovered.For example, malfunctions caused by device failure status being carried over after switching, etc. Generation can be reliably avoided.

【0048】また、全てのホスト装置に対してメッセー
ジやリセット発行することによってホスト装置にデバイ
スの接続が切り替わったことを確実に認識させることが
でき、たとえば、特別な通信線等を余分に設けることな
く、切り替え時に保留状態になっていたI/O処理のホ
スト装置間における移管を円滑かつ的確に行なわせるこ
とが可能になるとともに、全てのホスト装置に対してリ
セットを発行することにより、ホスト装置が初期化さ
れ、接続切り替え前に障害を自動的に確実に回復するこ
とができ、ホスト装置の障害が接続切り替え後に持ち越
されること等に起因する誤動作の発生を確実に回避でき
るという効果が得られる。
Further, by issuing a message or reset to all the host devices, the host device can be surely recognized that the connection of the device has been switched. For example, an extra communication line or the like is provided. In addition, it is possible to smoothly and accurately transfer the I / O processing which has been put on hold at the time of switching between the host devices, and by issuing resets to all the host devices, Is initialized, the failure can be automatically and reliably recovered before the connection is switched, and the effect of reliably preventing the occurrence of a malfunction due to the fact that the failure of the host device is carried over after the connection is switched is obtained. .

【0049】また、接続切り替え時におけるホスト装置
やデバイスの障害回復やI/Oの移管処理等にオペレー
タ等の介入を全く必要とせず、本実施の形態の接続切り
替え装置を含む情報処理システムの操作性や運用作業の
効率が向上する。
Further, the operation of the information processing system including the connection switching device according to the present embodiment does not require any intervention by an operator or the like in the recovery of the failure of the host device or the device or the I / O transfer processing at the time of the connection switching. And the efficiency of operation work are improved.

【0050】以上本発明者によってなされた発明を実施
の形態に基づき具体的に説明したが、本発明は前記実施
の形態に限定されるものではなく、その要旨を逸脱しな
い範囲で種々変更可能であることはいうまでもない。
Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited to the above-described embodiments, and can be variously modified without departing from the gist thereof. Needless to say, there is.

【0051】[0051]

【発明の効果】本発明の接続切り替え装置によれば、接
続切り替え前の各装置における故障等に起因する接続切
り替え後の誤動作の発生を確実に防止して、的確な装置
群の接続切り替え操作を行うことができる、という効果
が得られる。
According to the connection switching apparatus of the present invention, it is possible to reliably prevent the occurrence of a malfunction after connection switching due to a failure or the like in each device before connection switching, and to perform an accurate connection switching operation of the device group. Can be performed.

【0052】また、本発明の接続切り替え装置によれ
ば、接続切り替え前の各装置における実行状態に応じて
接続切り替え時の入出力処理の移管を円滑かつ的確に行
うことができる、という効果が得られる。
Further, according to the connection switching device of the present invention, it is possible to smoothly and accurately transfer input / output processing at the time of connection switching according to the execution state of each device before connection switching. Can be

【0053】また、本発明の接続切り替え装置によれ
ば、オペレータによる介入や冗長な通信手段等の煩雑な
対策を必要とすることなく、接続切り替え前の各装置の
状態に応じて接続切り替え時の入出力処理の移管を円滑
かつ的確に行うことができる、という効果が得られる。
Further, according to the connection switching device of the present invention, it is not necessary to take complicated measures such as operator intervention or redundant communication means, and the connection switching device can be used at the time of connection switching according to the state of each device before the connection switching. The effect of being able to smoothly and accurately transfer input / output processing is obtained.

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

【図1】本発明の第1の実施の形態に係る接続切替え装
置を備えた情報処理システムの構成の一例を示す概念図
である。
FIG. 1 is a conceptual diagram illustrating an example of a configuration of an information processing system including a connection switching device according to a first embodiment of the present invention.

【図2】本発明の第1の実施の形態である接続切り替え
装置の構成の一例を示す機能ブロック図である。
FIG. 2 is a functional block diagram illustrating an example of a configuration of a connection switching device according to the first embodiment of the present invention.

【図3】本発明の第1の実施の形態である接続切り替え
装置の切り替え処理手順の一例を説明するフローチャー
トである。
FIG. 3 is a flowchart illustrating an example of a switching processing procedure of the connection switching device according to the first embodiment of the present invention.

【図4】本発明の第2の実施の形態に係る接続切替え装
置を含む情報処理システムの構成の一例を示す概念図で
ある。
FIG. 4 is a conceptual diagram illustrating an example of a configuration of an information processing system including a connection switching device according to a second embodiment of the present invention.

【図5】本発明の第2の実施の形態である接続切り替え
装置の構成の一例を示す機能ブロック図である。
FIG. 5 is a functional block diagram illustrating an example of a configuration of a connection switching device according to a second embodiment of the present invention.

【図6】本発明の第2の実施の形態における接続切り替
え装置の切り替え処理手順の一例を説明するフローチャ
ートである。
FIG. 6 is a flowchart illustrating an example of a switching processing procedure of the connection switching device according to the second embodiment of the present invention.

【符号の説明】 101…接続切り替え装置、102…ホスト装置(第1
の装置)、104…ホスト装置(第1の装置)、106
…デバイス(第2の装置)、107…デバイス(第2の
装置)、111…ホストバス、112…ホストバス、1
13…デバイスバス、221…切り替え制御部、231
…リセット発行部(リセット信号発生手段)、241…
リセット発行部(リセット信号発生手段)、251…バ
ス信号切り替え部、261…スイッチ、401…接続切
り替え装置、402〜405…ホスト装置(第1の装
置)、406〜407…デバイス(第2の装置)、41
1…ホストバス、412…ホストバス、413…デバイ
スバス、521…切り替え制御部、531…リセット発
行部(リセット信号発生手段)、535…メッセージ発
行部(メッセージ情報発生手段)、541…リセット発
行部(リセット信号発生手段)、551…バス信号切り
替え部、561…スイッチ、1211…バス信号、12
12…バス信号、1221…バス信号、1501…バス
信号、1511…バス信号、1512…バス信号、15
21…バス信号。
[Description of References] 101: connection switching device, 102: host device (first device)
Device), 104... Host device (first device), 106
… Device (second device), 107… device (second device), 111… host bus, 112… host bus, 1
13: Device Bus, 221: Switching Control Unit, 231
... Reset issuing unit (reset signal generating means), 241 ...
Reset issuing unit (reset signal generating unit), 251 bus signal switching unit, 261 switch, 401 connection switching device, 402 to 405 host device (first device), 406 to 407 device (second device) ), 41
DESCRIPTION OF SYMBOLS 1 ... Host bus, 412 ... Host bus, 413 ... Device bus, 521 ... Switching control part, 531 ... Reset issue part (reset signal generation means), 535 ... Message issue part (message information generation means), 541 ... Reset issue part (Reset signal generating means), 551: bus signal switching unit, 561: switch, 1211: bus signal, 12
12 bus signal, 1221 bus signal, 1501 bus signal, 1511 bus signal, 1512 bus signal, 15
21 Bus signal.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも一つの第1の装置を含む第1
の装置群と、少なくとも一つの第2の装置を含む第2の
装置群との間に介在し、任意の前記第1の装置と、任意
の前記第2の装置との接続の切り替え操作を行う接続切
り替え装置であって、 前記切り替え操作に連動して、前記第2の装置群の少な
くとも一つの前記第2の装置にリセット信号を発行する
リセット信号発生手段を備えたことを特徴とする接続切
り替え装置。
A first device including at least one first device;
And a second device group including at least one second device, and performs an operation of switching connection between any of the first devices and any of the second devices. A connection switching device, comprising: reset signal generation means for issuing a reset signal to at least one of the second devices in the second device group in conjunction with the switching operation. apparatus.
【請求項2】 少なくとも一つの第1の装置を含む第1
の装置群と、少なくとも一つの第2の装置を含む第2の
装置群との間に介在し、任意の前記第1の装置と、任意
の前記第2の装置との接続の切り替え操作を行う接続切
り替え装置であって、 前記切り替え操作に連動して、前記第1の装置群の少な
くとも一つの前記第1の装置にリセット信号を発行する
リセット信号発生手段を備えたことを特徴とする接続切
り替え装置。
2. A first device comprising at least one first device.
And a second device group including at least one second device, and performs an operation of switching connection between any of the first devices and any of the second devices. A connection switching device, comprising: reset signal generating means for issuing a reset signal to at least one of the first devices in the first device group in conjunction with the switching operation. apparatus.
【請求項3】 少なくとも一つの第1の装置を含む第1
の装置群と、少なくとも一つの第2の装置を含む第2の
装置群との間に介在し、任意の前記第1の装置と、任意
の前記第2の装置との接続の切り替え操作を行う接続切
り替え装置であって、 前記切り替え操作に連動して、前記第1の装置群の複数
の前記第1の装置にメッセージ情報を発行することによ
り、当該第1の装置間における入出力処理の移管操作を
行うメッセージ情報発生手段を備えたことを特徴とする
接続切り替え装置。
3. A first device comprising at least one first device.
And a second device group including at least one second device, and performs an operation of switching connection between any of the first devices and any of the second devices. A connection switching device, wherein message information is issued to a plurality of the first devices in the first device group in conjunction with the switching operation, thereby transferring input / output processing between the first devices. A connection switching device comprising a message information generating means for performing an operation.
JP9184213A 1997-07-09 1997-07-09 Connection switching device Pending JPH1131032A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9184213A JPH1131032A (en) 1997-07-09 1997-07-09 Connection switching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9184213A JPH1131032A (en) 1997-07-09 1997-07-09 Connection switching device

Publications (1)

Publication Number Publication Date
JPH1131032A true JPH1131032A (en) 1999-02-02

Family

ID=16149353

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9184213A Pending JPH1131032A (en) 1997-07-09 1997-07-09 Connection switching device

Country Status (1)

Country Link
JP (1) JPH1131032A (en)

Similar Documents

Publication Publication Date Title
JPH0844579A (en) Fault processing method and information processing system
JPH11203157A (en) Redundancy device
US5086384A (en) Master-slave-type control system with stand-by suspending control station
JPH1078852A (en) Multi-array disk device
JPH1131032A (en) Connection switching device
JP3420919B2 (en) Information processing device
JPS62271150A (en) Error processing system for common bus structure
JP2737480B2 (en) Method and apparatus for switching redundant communication control device
JPH0713791A (en) Equalizing method for duplex control system
JPH04211840A (en) Hot standby system
JPH03237556A (en) Communication control system for multihost system
JPH10187473A (en) Duplex information processor
JP3260435B2 (en) Information communication system
JPH0264845A (en) Electronic computer multiplexing main control part
JPS60136452A (en) Stand-by switching control system
JPH0628063A (en) Computer system
JPS6113627B2 (en)
JP2000357151A (en) Information processor
JPH0636519B2 (en) Redundant control method
JPH0514323A (en) Line controller
JPH06175869A (en) Duplex computer system
JPH07306822A (en) Input/output controller
JPH10105526A (en) Computer system
JPS61194939A (en) Communication controller
JPH01259440A (en) Controlling system for terminal equipment