JPH0427239A - Control method for lan connecting device - Google Patents

Control method for lan connecting device

Info

Publication number
JPH0427239A
JPH0427239A JP2132809A JP13280990A JPH0427239A JP H0427239 A JPH0427239 A JP H0427239A JP 2132809 A JP2132809 A JP 2132809A JP 13280990 A JP13280990 A JP 13280990A JP H0427239 A JPH0427239 A JP H0427239A
Authority
JP
Japan
Prior art keywords
lan
active
connection device
mac address
lan connection
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
JP2132809A
Other languages
Japanese (ja)
Inventor
Noritaka Sumitani
隅谷 典孝
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 JP2132809A priority Critical patent/JPH0427239A/en
Publication of JPH0427239A publication Critical patent/JPH0427239A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To reduce the load of a data processor by executing periodically state monitoring of an existing system LAN connecting device independently from operations of the data processor and the existing system LAN connecting device by a stand-by system LAN connecting device. CONSTITUTION:An LAN cable 5 to which an existing system LAN connecting device 3 and a stand-by system LAN connecting device 4 are both connected is utilized as a state monitoring path, and the device 4 executes periodically state monitoring of the device 3 independently from operations of a data processor 1 and the device 3. In that case, by sending back monitoring data transmitted to the device 3 from the device 4 as it is from the device 3, its response is checked by the device 4 and whether the device 3 is faulty or not is decided. In such a way, an exclusive state monitoring path becomes unnecessary and a dual system can be formed by an existing adaptor. Also, in the case the device 3 becomes faulty, an MAC address of the device 3 is transferred to the device 4 in advance and held therein so that transmission and reception of data to and from the opposite device can be continued without changing the MAC address of the device 4.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、2台のLAN接続装置の一方を予備機として
使用し、接続の信頼性を向上させるためのLAN接続装
置の制御方法。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is a method of controlling a LAN connection device for improving the reliability of the connection by using one of the two LAN connection devices as a standby device.

〔従来の技術〕[Conventional technology]

オフィスにおいて、L A N (Local  Ae
reaNeLwork)を導入する理由は、(イ)既存
のパーソナルコンピュータ(CPU)を結合して、資源
の共有を図るため、(ロ)新しい業務システムを開発し
て、これを既存のシステムに結合するため、および(ハ
)1台のパーソナルコンピュータから複数のホスト機に
アクセスする際のホストシステムの配線を簡略化するた
め、等に分類される。
In the office, L A N (Local Ae
The reasons for introducing reaNeLwork are (a) to combine existing personal computers (CPUs) and share resources, and (b) to develop a new business system and combine it with the existing system. , and (c) in order to simplify the wiring of the host system when accessing multiple host machines from one personal computer.

LANにより各システムを結合した場合、各システムに
より使用される共通資源を一箇所で管理した方が極めて
便利であり、そのために共有のデータはファイル・サー
バー機に格納される。従って、LANの信頼性を高める
場合、ファイル・サーバー機の信頼性向上が特に重要で
ある。
When systems are connected via a LAN, it is extremely convenient to manage common resources used by each system in one place, and for this purpose the shared data is stored in a file server machine. Therefore, when increasing the reliability of a LAN, it is particularly important to improve the reliability of the file server machine.

従来、LANの信頼性向上策としては、例えば、(])
]特開平]−164146号公報に記載されているよう
に、伝送路自体を2重化する方法がある。
Conventionally, measures to improve LAN reliability include (])
As described in JP-A-164146, there is a method of duplicating the transmission path itself.

この方法では、第7図に示すように、サーバー74また
はファイル75に結合されたLAN接続装置71が2本
(そのうち1本は予備)の伝送路(リング状)72.7
3に接続されており、現用伝送路72が故障で不通にな
っても、予備の伝送路73に切り替え接続して通信でき
るようにしている。
In this method, as shown in FIG. 7, a LAN connection device 71 connected to a server 74 or a file 75 has two transmission paths (ring-shaped) 72.7 (one of which is a standby).
3, so that even if the working transmission line 72 becomes disconnected due to a failure, communication can be performed by switching to the backup transmission line 73.

また、(ij)LAN接続装置ではないが、データ処理
装置等を2重系の構成とする方法がある。この方法では
、第8図に示すように、データ処理装置81.82のう
ち一方を現用、他方を予備にして、現用が故障した場合
には、予備に切り替えて継続処理できるようにしている
。しかし、2系統の装置の状態を監視するための監視装
置84、および現用から予備に切り替えるための切替制
御装置83を設ける必要がある。
(ij) Although not a LAN connection device, there is a method in which a data processing device or the like is configured in a dual system. In this method, as shown in FIG. 8, one of the data processing devices 81 and 82 is used as a working device and the other is used as a backup, so that if the current device fails, it can be switched to the backup and continue processing. However, it is necessary to provide a monitoring device 84 for monitoring the status of the two systems of devices, and a switching control device 83 for switching from active to standby.

また、(ni)例えば、特開平1−217523号、特
開平1−162942号公報に記載されているように、
現用と予備の間で相互状態監視を行う方法がある。この
方法では、第9図に示すように、CPU93およびバス
90に結合されたアダプタ91と92の一方を現用、他
方を予備にした場合、これら2系統装置61.62間に
状態監視用の特別な経路94を設けていた。そして、予
備装置は現用装置を経路94を介して常時監視し、故障
になったか否かを判断する必要がある。
(ni) For example, as described in JP-A-1-217523 and JP-A-1-162942,
There is a method of mutual status monitoring between active and backup. In this method, as shown in FIG. 9, when one of the adapters 91 and 92 connected to the CPU 93 and the bus 90 is in use and the other is in reserve, a special A route 94 was provided. The standby device must constantly monitor the active device via path 94 and determine whether a failure has occurred.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

通信制御装置をLANに接続する際に、LAN接続装置
(接続用アダプタ)を介して共通バスに接続されるが、
このLAN接続装置の故障に備えて、接続装置を2重系
にする方法が考えられる。
When connecting a communication control device to a LAN, it is connected to a common bus via a LAN connection device (connection adapter).
In preparation for this failure of the LAN connection device, a method of creating a dual system of connection devices is conceivable.

その場合に、下記のような問題がある。In that case, the following problems arise.

(イ)既存のLAN接続用アダプタを現用系と予備系の
装置として使用するために、実装改造する必要がある。
(b) In order to use the existing LAN connection adapter as a working system and a standby system, it is necessary to implement and modify it.

つまり、現用系と予備系の装置間に状態監視用の経路を
特別に設けたり、この経路を構成するための回路や、コ
ネクタ、接続ケーブル等を備えた2重系専用のLAN接
続装置を用意する必要があるため、コストアップを招く
In other words, a special path for status monitoring is provided between the active and standby devices, and a dedicated LAN connection device for the dual system is prepared with circuits, connectors, connection cables, etc. to configure this path. This results in an increase in costs.

(ロ)LAN接続装置においては、各装置毎にユニーク
なMAC(Medea  Access  Contr
ol)アドレスを、システム設定時あるいは変更時に付
与する必要があるが、現用系から予備系に切り替わった
際に、このMACアドレスも変更するため、相手装置(
ワークステーション等)からのデータ受信ができなくな
る。なお、LAN内の通信に使用されるフレームには、
送信先アドレスと送信元アドレスがヘッダまたは各パケ
ット毎に格納されるので、MACアドレスが変更した場
合には、相手装置にも通知しなければならない。
(b) LAN connection devices have a unique MAC (Media Access Control) for each device.
ol) address must be assigned when setting up or changing the system, but since this MAC address is also changed when switching from the active system to the standby system, the MAC address of the other device (
It becomes impossible to receive data from the computer (workstation, etc.). Note that the frames used for communication within the LAN include:
Since the destination address and source address are stored in the header or in each packet, if the MAC address changes, the other device must also be notified.

本発明の目的は、これら従来の課題を解決し、専用のL
AN接続装置を用いることなく、通常の接続装置のみを
用い、LAN接続装置の切り替えに伴うMACアドレス
の変更を不要にして、相手装置とのデータ送受信をその
まま継続できる一LAN接続装置の制御方法を提供する
ことにある二〔課題を解決するための手段〕 上記目的を達成するため、本発明によるLAN接続装置
の制御方法は、同一構成のLAN接続装置の一方を現用
系、他方を予備系として用い、先ず現用系LAN接続装
置で使用するMACアドレスを予備系LAN接続装置に
転送し、MACアドレスを予備系LAN接続装置内に保
持しておき、予備系LAN接続装置からLANケーブル
を経由して現用系LAN接続装置にテストデータを周期
的に送信することにより、状態監視を実行し、現用系L
AN接続装置の障害が検出されたとき、予備系LAN接
続装置が保持しているMACアドレスを用いて現用系動
作を開始することに特徴がある。
The purpose of the present invention is to solve these conventional problems and to
A method for controlling a LAN connection device that uses only a normal connection device without using an AN connection device, eliminates the need to change the MAC address when switching between LAN connection devices, and continues data transmission and reception with a partner device. [Means for Solving the Problems] In order to achieve the above object, a method for controlling a LAN connection device according to the present invention provides a method for controlling LAN connection devices having the same configuration, one of which is used as an active system and the other as a standby system. First, the MAC address used by the active LAN connection device is transferred to the backup LAN connection device, the MAC address is retained in the backup LAN connection device, and the MAC address is transferred from the backup LAN connection device via the LAN cable. By periodically sending test data to the active LAN connection device, status monitoring is performed and the active L
A feature of this system is that when a failure in the AN connection device is detected, the active system operation is started using the MAC address held by the backup LAN connection device.

〔作  用〕[For production]

本発明においては、■現用系LAN接続装置と予備系L
AN接続装置が共に接続されるLANケーブルを状態監
視用の経路として利用し、予備系LAN接続装置が、デ
ータ処理装置や現用系LAN接続装置の動作とは独立し
て、定期的に現用系LAN接続装置の状態監視を行う、
その場合、予備系装置から現用装置に送信した監視用デ
ータを、現用装置からそのまま返送することにより、そ
の応答を予備装置でチエツクして、現用装置が故障か否
かを判断する。これにより、専用の状態監視用経路を不
要にし、かつ専用の2重系LAN接続装置を不要にして
、既存のアダプタで2重系を形成できるようにしている
In the present invention, ■the active LAN connection device and the standby L
The LAN cable to which the AN connection devices are connected is used as a path for status monitoring, and the standby LAN connection device periodically connects to the active LAN, independently of the operation of the data processing device and the active LAN connection device. Monitors the status of connected devices,
In this case, the monitoring data sent from the backup device to the active device is returned as is from the active device, and the response is checked by the backup device to determine whether or not the active device is out of order. This eliminates the need for a dedicated state monitoring path and also eliminates the need for a dedicated dual system LAN connection device, making it possible to form a dual system using existing adapters.

また、■現用系LAN接続装置が故障した場合に、予備
系LAN接続装置のMACアドレスに変更することなく
、そのまま相手装置とのデータ送受信を継続できるよう
に、現用系LAN接続装置のMACアドレスを予め予備
系LAN接続装置に転送しておき、そこに保持しておく
In addition, if the active LAN connection device fails, the MAC address of the active LAN connection device can be changed so that data transmission and reception with the other device can be continued without changing to the MAC address of the backup LAN connection device. The data is transferred to the standby LAN connection device in advance and held there.

〔実施例〕〔Example〕

以下、本発明の実施例を1図面により詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail with reference to one drawing.

第6図は、本発明が適用されるLANシステムのブロッ
ク図である。
FIG. 6 is a block diagram of a LAN system to which the present invention is applied.

LANシステムで共用される共有データは、ファイル・
サーバー装置61に格納されている。各ワークステーシ
ョンを構成するCPU62〜65とともに、ファイル・
サーバー61は、LAN接続装fi66〜70を介して
それぞれバス60に結合される。共有データとしては、
例えば、トップマネージメント情報、営業データ、技術
データ、人事データ、総務データ、経理データ、企画デ
ータ等々が含まれる。そして、各々のデータ・ファイル
毎に、ファイル管理担当者が決められており、そのファ
イルtI!当者だけがデータの更新を行う。
Shared data shared in a LAN system is a file
It is stored in the server device 61. Along with the CPUs 62 to 65 that make up each workstation, file
The servers 61 are coupled to the bus 60 via LAN connections fi66-70, respectively. As shared data,
For example, it includes top management information, sales data, technical data, personnel data, general affairs data, accounting data, planning data, etc. A person in charge of file management is determined for each data file, and the file tI! Only the person in question updates the data.

従って、他のワークステーションの担当者は、CPU6
2〜65のプログラムモジュールを用いてサーバー側の
共有データを参照するのみで、更新は許されない。従っ
て、サーバー装置61に接続されたLAN接続装置66
は特に重要であるため、本発明においては、この接続装
置66のみを2重系にして、一方を現用系、他方を予備
系として、それぞれバス60に結合しておく。なお、サ
ーバー装置61以外のCPU62〜65のうち、かなり
重要な役割を果すワークステーションがあれば、そのC
PUをバス60に接続するLAN接続装置も2重系にし
ても勿論、差し支えない。
Therefore, the person in charge of the other workstations
The shared data on the server side can only be referenced using program modules 2 to 65, and updates are not allowed. Therefore, the LAN connection device 66 connected to the server device 61
Since this is particularly important, in the present invention, only this connection device 66 is made into a dual system, one of which is used as an active system and the other as a standby system, and is connected to the bus 60, respectively. Note that if there is a workstation that plays a fairly important role among the CPUs 62 to 65 other than the server device 61, that CPU
Of course, the LAN connection device that connects the PU to the bus 60 may also be a dual system.

第1図は、本発明の一実施例を示す2重系LAN接続装
置のブロック構成図である。
FIG. 1 is a block diagram of a dual LAN connection device showing an embodiment of the present invention.

第1図においては、データ処理装置lおよびこれに付随
する入出カプロセッサ2は、現用系LAN接続装置3と
予備系LAN接続装置4とを介してLANケーブル5に
結合される。入出カプロセッサ2と2重系のLAN接続
装置3,4とは、チャ・ネルバス6で互いに接続されて
おり、また両LAN接続装置3.4は各々ケーブル12
を介してLANケーブル5に接続されている。的述のよ
うに、データ処理装置lは、LANシステムのファイル
・サーバー装置または特定のワークステーションを形成
する処理装置である。LANケーブル5には、図示され
ていないが、複数のワークステーションが接続されてい
るものとする。
In FIG. 1, a data processing device 1 and an associated input/output processor 2 are coupled to a LAN cable 5 via an active LAN connection device 3 and a backup LAN connection device 4. In FIG. The input/output processor 2 and the dual-system LAN connection devices 3 and 4 are connected to each other by a channel bus 6, and both LAN connection devices 3 and 4 are connected to each other by a cable 12.
It is connected to the LAN cable 5 via. As mentioned above, the data processing device l is a file server device of a LAN system or a processing device forming a particular workstation. Although not shown, it is assumed that a plurality of workstations are connected to the LAN cable 5.

現用系装置3および予備系装置4は、いずれも専用のL
AN接続装置ではなく、既存のLA−N接続装置であっ
て、同一構成を有している。すなわち、チャネルバス6
側にはチャネル制御部7が、またLANケーブル5側に
LAN制御部11が設けられ、チャネル制御部7とLA
N制御部11の間には、それらから読み書き可能なRA
M8およびRAM9.ならびにROMl0a、bが配置
される。RAM9は、転送されてきたMACアドレスを
格納するメモリであり、ROMl0a、10bは各々読
み出し可能な自分のMACアドレスが格納されている。
The active system device 3 and the standby system device 4 are both dedicated L
It is not an AN connection device, but an existing LA-N connection device, and has the same configuration. That is, channel bus 6
A channel control unit 7 is provided on the side, and a LAN control unit 11 is provided on the LAN cable 5 side, and the channel control unit 7 and the LA
Between the N control units 11, there is an RA that can read and write from them.
M8 and RAM9. and ROM10a,b are arranged. The RAM 9 is a memory that stores the transferred MAC address, and the ROMs 10a and 10b each store their own readable MAC address.

ROMl0aには、現用系装置3のMACアドレス、R
OM I Obには、予備系装置のMACアドレスがそ
れぞれ登録されている。
ROM10a contains the MAC address of the active system device 3, R
The MAC addresses of the standby devices are registered in each OMI Ob.

データ処理袋[1は、LANを介してデータ送受信を行
うに先立ち、現用系装置3に対してMACアドレスを要
求するコマンドを発行する。現用系装W13のチャネル
制御部7は、そのコマンドを受は取ると、ROM10a
の内容を読み出して、これをデータ処理袋[1に転送す
る0次に、データ処理装置lは、転送されてきたROM
 10 aの内容を、MACアドレス転送用コマンドに
より、予備系装置4に転送する。予備系装置4のチャネ
ル制御部7は、そのコマンドを判別して、コマンドに付
随するデータ(ROM]Oaの内容である現用系装置3
のMACアドレス)を自装置4内のMACアドレス格納
川R用M9に格納する。次に、データ処理装置1は、予
備系装置4に対して予備系動作開始を指示するコマンド
を発行する。このコマンドを受は取った予備系装置4の
チャネル制御部7は、RAMB内の予め定められた領域
に予備系動作開始を意味するコマンドコードを書き込む
The data processing bag [1] issues a command requesting a MAC address to the active device 3 before transmitting and receiving data via the LAN. When the channel control unit 7 of the active system W13 receives the command, the channel control unit 7 of the current system W13
The data processing device 1 reads the contents of the ROM and transfers it to the data processing bag [1.
The contents of 10a are transferred to the standby device 4 using the MAC address transfer command. The channel control unit 7 of the standby system device 4 determines the command and transmits the contents of the data (ROM) Oa accompanying the command to the active system device 3.
MAC address) is stored in the MAC address storage M9 in the own device 4. Next, the data processing device 1 issues a command to the standby system device 4 to instruct the start of standby system operation. The channel control unit 7 of the standby system device 4, which has received this command, writes a command code indicating the start of standby system operation into a predetermined area in the RAMB.

一方、予備系装置4のLAN制御部11は、RANS内
の上記領域を連続監視することにより、チャネル制御部
7からの指示を待っている。LAN制御部11は、その
領域に予備系動作開始を指示するコマンドコードが書き
込まれていること〜を検出すると、現用系装置3に対し
てテストデータを送信する。テストデータは、通常のL
ANシステム内を送受信されるデータフレームで送信さ
れ、コマンドと送信先アドレスと送信元アドレス等を含
む。そして、テストデータは、予備系装置4のLAN制
御部11からケーブル12、LANケーブル5、ケーブ
ル12を介して現用系装置3のLAN制御Illに転送
される。
On the other hand, the LAN control section 11 of the standby system device 4 waits for an instruction from the channel control section 7 by continuously monitoring the above-mentioned area within the RANS. When the LAN control unit 11 detects that a command code for instructing the start of backup system operation is written in that area, it transmits test data to the active system device 3. The test data is normal L
It is transmitted as a data frame that is sent and received within the AN system, and includes a command, destination address, source address, etc. The test data is then transferred from the LAN control unit 11 of the standby system device 4 to the LAN control Ill of the active system device 3 via the cable 12, LAN cable 5, and cable 12.

これに対して、現用系装置3のLAN制御部】1は、こ
のテストデータを受信すると、このテストデータをその
まま予備系装置4に対して、ケーブル12、LANケー
ブル5、ケーブル12を介して返送する。
On the other hand, when the LAN control unit 1 of the active device 3 receives this test data, it returns the test data as is to the backup device 4 via the cable 12, the LAN cable 5, and the cable 12. do.

予備系装置4のLAN制御部11は、このテストデータ
の送信後、その応答を待ち、ある定められた時間内に応
答があれば、正常動作と判定するが、時間内に応答がな
かった場合には、現用系装置3の障害と判定する。また
、時間内に応答があっても、応答内容が期待したものと
異なる場合には、現用系装置3の障害と判定する。
After transmitting this test data, the LAN control unit 11 of the standby system device 4 waits for a response, and if there is a response within a certain predetermined time, it determines that it is operating normally, but if there is no response within that time, the LAN control unit 11 waits for the response. In this case, it is determined that there is a failure in the active system device 3. Furthermore, even if there is a response within the time, if the response content is different from what was expected, it is determined that there is a failure in the active system device 3.

予備系装置4のLAN制御部11は、現用系装置3の障
害を検出すると、自装置4内のRAM 8の予め定めら
れた領域にその旨を伝達するデータを書き込む。
When the LAN control unit 11 of the standby system device 4 detects a failure in the active system device 3, it writes data to a predetermined area of the RAM 8 in its own device 4 to convey the fact.

予備系装置4内のチャネル制御部7は、最初にLAN制
御部11に対して予備系動作を指示した後、その領域を
連続監視しており、現用系装置3の障害を示すデータが
書き込まれたことを検出すると、データ処理装置lに対
して割込み信号と、現用系装置3の障害を示すデータを
送る。
The channel control unit 7 in the standby system device 4 first instructs the LAN control unit 11 to perform standby system operation, and then continuously monitors that area, and data indicating a failure in the active system device 3 is written. When detecting this, it sends an interrupt signal and data indicating a fault in the active device 3 to the data processing device 1.

データ処理装置lは、この割込みに対して割込み処理を
開始し、その割込みが現用系装置3の障害によるもので
あると判別すると、現用系装置3に対して、停止コマン
ドを発行し、予備系装置4に対しては、現用系動作開始
を指示するコマンドを発行する。予備系装置4のチャネ
ル制御部7は、現用系動作開始コマンドを受信すると、
RAM8を介してLAN制御部11に現用系動作開始を
指示すると同時に、自らも現用系動作を開始する。
The data processing device l starts interrupt processing in response to this interrupt, and when it determines that the interrupt is due to a failure in the active device 3, it issues a stop command to the active device 3, and A command is issued to the device 4 to instruct it to start operating the active system. When the channel control unit 7 of the standby system device 4 receives the active system operation start command,
At the same time as instructing the LAN control unit 11 to start the active system operation via the RAM 8, it also starts the active system operation.

予備系装置4のLAN制御部11はその指示に基づき、
自装置4内のMACアドレス格納用RAM9に保持され
ている現用系装置3のMACアドレスを用いて、現用系
の動作を開始する。
Based on the instruction, the LAN control unit 11 of the standby system device 4
Using the MAC address of the active system device 3 held in the MAC address storage RAM 9 in the own device 4, the operation of the active system is started.

一方、現用系装置3は、データ処理装置1カ)らの停止
コマンドを受信すると、ホールト状態となる。
On the other hand, when the active device 3 receives a stop command from the data processing device 1, it enters a halt state.

なお、予備系装置4が現用系装置3の障害を検出しなか
った場合には、一定時間間隔で予備系装置4から現用系
装置3ヘテストデータの送信を繰り返す。
Note that if the standby system device 4 does not detect a failure in the active system device 3, the test data is repeatedly transmitted from the standby system device 4 to the active system device 3 at fixed time intervals.

また、本発明の他の実施例として、第1図の現用系装置
3と予備系袋W14のMACアドレス格納用ROM1O
a、fobに予め同一のMACアドレスを書き込んでお
き、データ処理装置lの処理のうち、現用系装W13か
ら予備系装置4に対してMACアドレスを転送する処理
を省略しても差し支えない。
Further, as another embodiment of the present invention, the ROM 10 for storing MAC addresses of the active system device 3 and the standby system bag W14 shown in FIG.
It is possible to write the same MAC address in a and fob in advance, and omit the process of transferring the MAC address from the active system W13 to the standby system 4 among the processes of the data processing device 1.

また、MACアドレスに関しては、MACアドレス格納
用ROM10a、lObを除去して、現用系装置3と予
備系装置4に対してデータ処理装置lからロードする方
法を用いてもよい。
Further, regarding the MAC address, a method may be used in which the MAC address storage ROM 10a, lOb is removed and the data is loaded from the data processing device l to the active system device 3 and the standby system device 4.

また、現用系装置3に対する状態監視は、データ処理袋
[1または入出カプロセッサ2からの状態監視を行って
もよく、また予備系装置4からのテストデータと上記状
態監視とを併用しても差し支えない。
Further, the status of the active system device 3 may be monitored by monitoring the status from the data processing bag [1 or the input/output processor 2], or by combining the test data from the standby system device 4 and the above status monitoring. No problem.

第2図は第1図におけるデータ処理装置の制御プログラ
ムの処理フローチャー1・である。
FIG. 2 is a processing flowchart 1 of the control program of the data processing device in FIG.

先ず、データ処理装置1は、現用系装置3に対してMA
Cアドレス報告要求コマンドを発行しくステップ201
)、現用系装置3からMACアドレスを受信すると(ス
テップ202)、予備系装置4に対して装置3のMAC
アドレスを転送する(ステップ203)。次に、予備系
装置4に対して。
First, the data processing device 1 performs MA for the active system device 3.
Step 201: Issue a C address report request command.
), upon receiving the MAC address from the active device 3 (step 202), the MAC address of the device 3 is sent to the backup device 4.
Transfer the address (step 203). Next, regarding the standby system device 4.

現用系装置3の状態監視開始コマンドを発行する(ステ
ップ204)。そして、連続して予備系装置4からの割
込みを待ち(ステップ205)、割込みがあれば、それ
が現用系装置3の障害に起因するものであるか否かを判
定する(ステップ206)。
A command to start monitoring the status of the active device 3 is issued (step 204). Then, it continuously waits for an interrupt from the standby system device 4 (step 205), and if there is an interrupt, it is determined whether or not it is caused by a failure in the active system device 3 (step 206).

そうであれば、現用系装置3に対して、動作停止コマン
ドを発行しくステップ207)、次に予備系装置4に対
して、現用系動作開始コマンドを発行する(ステップ2
08)。
If so, issue an operation stop command to the active system device 3 (step 207), then issue an active system operation start command to the standby system device 4 (step 207).
08).

第3図は、第1図における現用系装置内のLAN制御部
の制御プログラムの処理フローチャートである。
FIG. 3 is a processing flowchart of the control program of the LAN control unit in the active system device in FIG. 1.

現用系装置3内のLAN制御部11は、常時、データの
受信があるか否かを判断しくステップ301)、受信が
あれば、その受信データはテストデータであるか否かを
判定する(ステップ302)。
The LAN control unit 11 in the active device 3 always determines whether or not data is received (step 301), and if received, determines whether the received data is test data (step 301). 302).

テストデータであれば、そのデータ送信元に対してその
まま折り返し送信する(ステップ303)。
If it is test data, it is sent back as is to the data transmission source (step 303).

また、受信データがテストデータでない場合には、RA
M8にそのデータを書き込み、チャネル制御部7に対し
て処理要求を発行する(ステップ304)。
Also, if the received data is not test data, the RA
The data is written to M8 and a processing request is issued to the channel control unit 7 (step 304).

第4図は、第1図における予備系装置内の1= AN制
御部の制御プログラムの処理フローチャー1・である。
FIG. 4 is a processing flowchart 1 of the control program of the 1=AN control section in the standby system device in FIG.

予備系装置4のLAN制御部11は、状態監視動作の開
始コマンドが出されると、現用系装置4に対してテスト
用データを送信する(ステップ401)。そして、予め
定めた時間内に現用系装置3から応答があるか否かを判
別しくステップ402)、あれば、応答データが正常で
あるか否かを判断する(ステップ403)。正常であれ
ば、元に戻って装置3へのテストデータの送信を再開す
る(ステップ401)。
When the command to start the status monitoring operation is issued, the LAN control unit 11 of the standby system device 4 transmits test data to the active system device 4 (step 401). Then, it is determined whether there is a response from the active device 3 within a predetermined time (step 402), and if so, it is determined whether the response data is normal (step 403). If it is normal, the process returns to the original state and resumes sending the test data to the device 3 (step 401).

また、現用系装置3からの応答がない場合には、応答待
ちタイムアウトか否かを判断しくステップ404)、タ
イムアウトであれば、チャネル制御部7に対して、現用
系装置3の異常検出をデータ処理装置lに報告するよう
に指示する(ステップ405)、現用系動作開始の指示
があるか否かを判断しくステップ406)、あれば、R
AM9に格納されたMACアドレスを用いて現用系装置
としての動作を開始する(ステップ407)。
If there is no response from the active device 3, it is determined whether or not the response waiting time has expired (step 404). If it has timed out, the channel controller 7 is notified of abnormality detection in the active device 3. It instructs the processing device L to report (step 405), and determines whether there is an instruction to start the active system operation (step 406), and if so, the R
Using the MAC address stored in AM9, it starts operating as an active device (step 407).

第5図は、第1図における現用系装置と予備系装置のチ
ャネル制御部の制御プログラムの処理フローチャートで
ある。
FIG. 5 is a processing flowchart of the control program of the channel control units of the active system device and the standby system device in FIG. 1.

チャネル制御部7は、データ処理装置lからのコマンド
を待ち(ステップ501)、コマンドがあった場合、そ
れがMACアドレス要求コマンドであれば(現用系装置
3のチャネル制御部7の場合、ステップ502)、デー
タ処理装置1に対してMACアドレスを送信しくステッ
プ508)、MACアドレス転送コマンドであれば(予
備系装置4のチャネル制御部7の場合、ステップ503
)、MACアドレスを自装置内のRAM9に格納する(
ステップ509)。また、予備系動作開始コマンドであ
れば(予備系装置4のチャネル制御部7の場合、ステッ
プ504)、RAMQ内のMACアドレスで示される現
用系装置の状態監視を開始する(ステップ510)。ま
た、動作停止コマンドであれば(現用系装置3のチャネ
ル制御部7の場合、ステップ505)、動作を停止する
(ステップ511)。また、現用系動作開始指示コマン
ドであれば(予備系装置4のチャネル制御部7の場合、
ステップ506) 、RAMQ内のMACアドレスを自
MACアドレスとして、現用系動作を開始する(ステッ
プ512)。そのいずれでもない場合には、その他の通
常コマンドの処理を行う(ステップ507)。
The channel control unit 7 waits for a command from the data processing device 1 (step 501), and if there is a command, if it is a MAC address request command (in the case of the channel control unit 7 of the active device 3, the command is sent to step 502). ), the MAC address is sent to the data processing device 1 (step 508), and if the command is a MAC address transfer command (in the case of the channel control unit 7 of the standby system device 4, step 503)
), stores the MAC address in RAM9 within the own device (
Step 509). If it is a standby system operation start command (step 504 in the case of the channel control unit 7 of the standby system device 4), monitoring of the status of the active system device indicated by the MAC address in RAMQ is started (step 510). If it is an operation stop command (step 505 in the case of the channel control unit 7 of the active device 3), the operation is stopped (step 511). In addition, if it is an active system operation start instruction command (in the case of the channel control unit 7 of the standby system device 4,
Step 506), the MAC address in RAMQ is set as the own MAC address, and the active system operation is started (Step 512). If neither of these is the case, other normal commands are processed (step 507).

このように、本実施例においては、データ処理装置1は
、現用系袋W3の状態監視による負荷から解放される。
In this manner, in this embodiment, the data processing device 1 is freed from the burden of monitoring the status of the active bag W3.

そして、現用系から予備系に切り替わった後も、LAN
に接続されている他の装置からは、切り替わる以前と同
じMACアドレスで装置4を介して、データ処理装置1
と通信が可能であるため、相手側への切り替え通知は不
要である。また、現用系装置3と予備系装置4との間に
特別な監視用の経路は不要であり、全て各装置の制御プ
ログラムのレベルで実現することができる。
Even after switching from the active system to the standby system, the LAN
data processing device 1 via device 4 with the same MAC address as before switching.
Since it is possible to communicate with the other party, there is no need to notify the other party of the switch. Further, there is no need for a special monitoring path between the active system device 3 and the standby system device 4, and everything can be realized at the level of the control program of each device.

[発明の効果] 以上説明したように、本発明によれば、現用系および予
備系のLAN接続装置としてのハードウェア的な追加や
変更を行うことなく、また特別な監視用経路を作成する
ことなく、LAN接続装置およびデータ処理装置の制御
プログラムに処理機能を追加するだけで、予備系LAN
接続装置から現用系LAN接続装置の状態監視を行うこ
とができるので、データ処理装置の負荷が低減されると
ともに、低コストで高信頼性のLAN接続装置を実現で
きる。
[Effects of the Invention] As explained above, according to the present invention, it is possible to create a special monitoring route without adding or changing hardware for active and standby LAN connection devices. By simply adding processing functions to the control programs of LAN connection devices and data processing devices, you can create a standby LAN.
Since the status of the active LAN connection device can be monitored from the connection device, the load on the data processing device is reduced and a highly reliable LAN connection device can be realized at low cost.

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

第1図は本発明の一実施例を示すLAN接続装置の構成
図、第2図は第1図におけるデータ処理装置の処理フロ
ーチャート、第3図は第1図における現用系装置のLA
N制御部の処理フローチャート、第4図は第1図におけ
る予備系装置の1.AN制御部の処理フローチャート、
第5図は第1図における現用系、予備系のチャネル制御
部の処理フローチャート、第6図は本発明が適用された
LANシステムのブロック図、第7図、第8図および第
9図はいずれも従来の高信頼性LANシステムの対策方
法を示す説明図である。 I:データ処理装置、2:入出カプロセッサ、3:現用
系LAN接続装置、4;予備系LAN接続装置、5 :
 LANケーブル、6:チャネルバス、7:チャネル制
御部、8 : RAM、9:MACアドレス格納用RA
M、10 a、10 b : MACアドレス格納用R
OM% 11 : LAN制御部、12+LANアクセ
スケーブル。 第 図 第 図 第 図 第 図 第 図
FIG. 1 is a configuration diagram of a LAN connection device showing an embodiment of the present invention, FIG. 2 is a processing flowchart of the data processing device in FIG. 1, and FIG. 3 is a LA of the active system device in FIG.
FIG. 4 is a processing flowchart of the N control unit 1. of the standby system device in FIG. Processing flowchart of AN control unit,
5 is a processing flowchart of the active channel and protection channel control units in FIG. 1, FIG. 6 is a block diagram of a LAN system to which the present invention is applied, and FIGS. 7, 8, and 9 are is an explanatory diagram showing a countermeasure method for a conventional highly reliable LAN system. I: data processing device, 2: input/output processor, 3: active LAN connection device, 4: standby LAN connection device, 5:
LAN cable, 6: Channel bus, 7: Channel control unit, 8: RAM, 9: RA for storing MAC address
M, 10a, 10b: R for storing MAC address
OM% 11: LAN control section, 12+LAN access cable. Figure Figure Figure Figure Figure

Claims (1)

【特許請求の範囲】[Claims] 1、データ処理装置とLANケーブル間を2台のLAN
接続装置を介して接続するLANシステムにおいて、同
一構成のLAN接続装置の一方を現用系、他方を予備系
として用い、先ず上記現用系LAN接続装置で使用する
MACアドレスを上記予備系LAN接続装置に転送し、
該MACアドレスを該予備系LAN接続装置内に保持し
ておき、該予備系LAN接続装置から上記LANケーブ
ルを経由して該現用系LAN接続装置にテストデータを
周期的に送信することにより、状態監視を実行し、該現
用系LAN接続装置の障害が検出されたとき、該予備系
LAN接続装置が保持しているMACアドレスを用いて
現用系動作を開始することを特徴とするLAN接続装置
の制御方法。
1. Connect two LANs between the data processing device and the LAN cable.
In a LAN system connected via a connection device, one of the LAN connection devices with the same configuration is used as the active system and the other as the backup system, and the MAC address used in the active LAN connection device is first transferred to the backup LAN connection device. transfer,
By retaining the MAC address in the backup LAN connection device and periodically transmitting test data from the backup LAN connection device to the active LAN connection device via the LAN cable, the status can be determined. A LAN connection device characterized in that when a failure of the active LAN connection device is detected by monitoring, the protection LAN connection device starts operating the active system using a MAC address held by the backup LAN connection device. Control method.
JP2132809A 1990-05-23 1990-05-23 Control method for lan connecting device Pending JPH0427239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2132809A JPH0427239A (en) 1990-05-23 1990-05-23 Control method for lan connecting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2132809A JPH0427239A (en) 1990-05-23 1990-05-23 Control method for lan connecting device

Publications (1)

Publication Number Publication Date
JPH0427239A true JPH0427239A (en) 1992-01-30

Family

ID=15090089

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2132809A Pending JPH0427239A (en) 1990-05-23 1990-05-23 Control method for lan connecting device

Country Status (1)

Country Link
JP (1) JPH0427239A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0983493A (en) * 1995-09-19 1997-03-28 Canon Inc Wavelength multiplex communication system
WO1999037060A1 (en) * 1998-01-13 1999-07-22 Yokogawa Electric Corporation Communication control system
JP2010233006A (en) * 2009-03-27 2010-10-14 Nec Corp Server system, collective server apparatus, and mac address management method
US9260577B2 (en) 2009-07-14 2016-02-16 Toray Plastics (America), Inc. Crosslinked polyolefin foam sheet with exceptional softness, haptics, moldability, thermal stability and shear strength

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0983493A (en) * 1995-09-19 1997-03-28 Canon Inc Wavelength multiplex communication system
WO1999037060A1 (en) * 1998-01-13 1999-07-22 Yokogawa Electric Corporation Communication control system
JP2010233006A (en) * 2009-03-27 2010-10-14 Nec Corp Server system, collective server apparatus, and mac address management method
US8266261B2 (en) 2009-03-27 2012-09-11 Nec Corporation Server system, collective server apparatus, and MAC address management method
US9260577B2 (en) 2009-07-14 2016-02-16 Toray Plastics (America), Inc. Crosslinked polyolefin foam sheet with exceptional softness, haptics, moldability, thermal stability and shear strength
US10301447B2 (en) 2009-07-14 2019-05-28 Toray Plastics (America), Inc. Crosslinked polyolefin foam sheet with exceptional softness, haptics, moldability, thermal stability and shear strength

Similar Documents

Publication Publication Date Title
JP2864741B2 (en) Communication system that guarantees data integrity
US20070288585A1 (en) Cluster system
JPH086910A (en) Cluster type computer system
CN111585835B (en) Control method and device for out-of-band management system and storage medium
US6219801B1 (en) Work inheriting system
JP2006189963A (en) Storage access control method, cluster system, path connection switch, and storage access control program
JPH0427239A (en) Control method for lan connecting device
JP6134720B2 (en) Connection method
JPH06343074A (en) Anti-fault system
CN111737062A (en) Backup processing method, device and system
JP2604015B2 (en) Distribution line monitoring system
US20050022056A1 (en) Access by distributed computers to a same hardware resource
JP3363579B2 (en) Monitoring device and monitoring system
JPS59161743A (en) Constitution switching system
KR100771915B1 (en) Digital protection relay and communication duplex method
KR970002693B1 (en) Private electronic exchanger
JPH03194601A (en) Coordinate distributed control system
JPS5870670A (en) Failure information transfer system for exchange of duplex system
JP2737480B2 (en) Method and apparatus for switching redundant communication control device
JPS63279646A (en) Automatic restart processing system for network management equipment
JPH05175980A (en) Inter-system cross connectible communication control system
JPH10145459A (en) Communication system for guaranteeing data integrity
JPH1165867A (en) System doubling method for load decentralized type system
KR20040024068A (en) Method for controlling cross duplication of duplication processor
JPS60217445A (en) Communication controller switching system