JPH1041966A - Node health check method - Google Patents

Node health check method

Info

Publication number
JPH1041966A
JPH1041966A JP8213320A JP21332096A JPH1041966A JP H1041966 A JPH1041966 A JP H1041966A JP 8213320 A JP8213320 A JP 8213320A JP 21332096 A JP21332096 A JP 21332096A JP H1041966 A JPH1041966 A JP H1041966A
Authority
JP
Japan
Prior art keywords
node
subordinate
network
health check
polling
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
JP8213320A
Other languages
Japanese (ja)
Inventor
Shinsuke Harada
伸介 原田
Moritaka Tomikawa
盛隆 富川
Masayuki Shimizu
政幸 清水
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
NEC Telecom System Ltd
Original Assignee
NEC Corp
NEC Telecom System 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 NEC Corp, NEC Telecom System Ltd filed Critical NEC Corp
Priority to JP8213320A priority Critical patent/JPH1041966A/en
Publication of JPH1041966A publication Critical patent/JPH1041966A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To allow a network monitor system to cope with a communication state of nodes by reducing a time for network monitor polling and preventing application of polling to a node whose communication is available. SOLUTION: A network monitor system 1 sends node monitor information denoting a node of a monitor object to a master node 2 directly connected to the system 1 and the master node based on the node monitor information conducts health check polling periodically to subordinate nodes 3A, 3B, 3C being monitor objects, discriminates availability of communication of the subordinate nodes and informs the result to the network monitor system. The network monitor system accesses the subordinate nodes whose communication is available and stops access to the subordinates nodes whose communication is not available based on the information from the master node.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ネットワークにお
いて複数のノードを監視するノードヘルスチェック方法
に関する。
[0001] The present invention relates to a node health check method for monitoring a plurality of nodes in a network.

【0002】[0002]

【従来の技術】従来、この種のノードヘルスチェック機
能は、例えば特開平1−293043号公報に開示され
ているように、ポーリング動作の効率を向上させること
を目的として用いられている。図3にそのフローチャー
トを示す。
2. Description of the Related Art Conventionally, this kind of node health check function has been used for the purpose of improving the efficiency of a polling operation as disclosed in, for example, Japanese Patent Application Laid-Open No. 1-293043. FIG. 3 shows the flowchart.

【0003】図3において、スタートに際し、主局のポ
ーリングテーブルには、ネットワークに接続されたポー
リング対象となる全ての従局のアドレスを予め登録して
おく。カウンタに予め決められた値をセットし(ステッ
プS401)、同時にポーリングテーブルに登録された
アドレスに基づいて全従局に対するポーリングを開始
し、各従局のポーリングに対する応答に基づいて、稼働
中の従局のアドレスを記載したポーリングリストテーブ
ルを作成する(ステップS402)。
In FIG. 3, at the time of start, addresses of all slave stations connected to the network to be polled are registered in advance in the polling table of the master station. A predetermined value is set in the counter (step S401), and at the same time, polling for all slave stations is started based on the address registered in the polling table, and the address of the operating slave station is determined based on the response to polling of each slave station. Is created (step S402).

【0004】次いで、作成したポーリングリストテーブ
ルに基づいて、稼働中の従局に対するポーリングを開始
し(ステップS403)、ポーリングが1回終了する度
にカウンタの値をデクリメントする(ステップS40
4)。
Next, based on the created polling list table, polling of the operating slave station is started (step S403), and the value of the counter is decremented each time polling is completed once (step S40).
4).

【0005】次に、デクリメントされたカウンタの値が
0か否か判別し(ステップS405)、カウンタの値が
0でない場合は(ステップS405でNO)、ステップ
S403に戻り、稼働中の従局に対するポーリングを繰
り返す。カウンタの値が0になると(ステップS405
でYES)、ステップS401に戻り、全従局に対する
ポーリングを同様に行う。
Next, it is determined whether or not the value of the decremented counter is 0 (step S405). If the value of the counter is not 0 (NO in step S405), the process returns to step S403 to poll the operating slave station. repeat. When the value of the counter becomes 0 (step S405)
YES), and returns to step S401 to perform polling for all slave stations in the same manner.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、この従
来例によると次のような問題点があった。 ポーリング動作の効率化をカウンタにより解決して
いるため、一時的に応答しなかったがその後回復した従
局に対するポーリングは、カウンタが0になるまで行わ
れない。そのため、カウンタに設定する初期値が大きす
ぎると、回復した従局に対するポーリング動作がしばら
く行われないという不都合が生ずることになる。また、
小さすぎればポーリング動作の効率向上の点であまり効
果が上がらないことになり、適切な値の設定は困難であ
る。
However, according to this conventional example, there are the following problems. Since the efficiency of the polling operation is solved by the counter, the polling of the slave station which does not respond temporarily but recovers thereafter is not performed until the counter becomes zero. Therefore, if the initial value set in the counter is too large, there is a disadvantage that the polling operation for the recovered slave station is not performed for a while. Also,
If the value is too small, the effect of improving the efficiency of the polling operation is not so high, and it is difficult to set an appropriate value.

【0007】 従局が一時的にbusy状態で、主局
へ応答不可であるとのレスポンスを行った時にも、次に
カウンタが初期化されるまでポーリングが行われないた
め、非稼働中の従局の状態が分からない。これは非効率
的であり、従局の状態を主局が知ることができれば、こ
れに対して適切な対策を講ずることも可能となる。
Even when the slave station is temporarily busy and responds to the master station that it cannot respond, the polling is not performed until the counter is initialized next time. I don't know the status. This is inefficient, and if the master station can know the state of the slave station, it is possible to take appropriate measures against it.

【0008】本発明の目的は、ネットワーク内の特定の
1つのノードが同じネットワーク内の他のノードの通信
状態を常時監視し、ネットワーク監視システム(NM
S)へノード通信状態情報を通知することにより、ネッ
トワーク内の通信不可ノードへの無駄なポーリングをな
くし、従来法よりもネットワーク監視ポーリングの時間
を短縮することにある。
An object of the present invention is to provide a network monitoring system (NM) in which one specific node in a network constantly monitors the communication state of another node in the same network.
By notifying the node communication status information to S), it is possible to eliminate unnecessary useless polling to a communication disabled node in the network, and to shorten the network monitoring polling time as compared with the conventional method.

【0009】[0009]

【課題を解決するための手段】本発明は、複数の従属ノ
ードをネットワーク監視システムに直結された主ノード
を介して監視するノードヘルスチェック方法であって、
ネットワーク監視システムから主ノードに対して監視対
象のノードを示すノード監視情報を送り、主ノードは、
このノード監視情報に基づいて監視対象の従属ノードに
対して定期的にヘルスチェックのポーリングを行い、従
属ノードの通信の可・不可を判断してネットワーク監視
システムへ通知し、該ネットワーク監視システムは、こ
の通知に基づいて通信可能な従属ノードに対してはアク
セスし、通信不可能な従属ノードに対してはアクセスを
停止することを特徴とする。
SUMMARY OF THE INVENTION The present invention is a node health check method for monitoring a plurality of subordinate nodes via a main node directly connected to a network monitoring system.
The network monitoring system sends node monitoring information indicating a monitoring target node to the main node, and the main node
Based on this node monitoring information, the health check periodically polls the subordinate node to be monitored, determines whether communication of the subordinate node is possible or not, and notifies the network monitoring system of the result. Based on this notification, access is made to the communicable subordinate node, and access to the non-communicable subordinate node is stopped.

【0010】ネットワーク監視システムからのノード監
視情報には、ノード間ポーリング周期及び応答待ち監視
時間に関する情報が含まれ、主ノードは、これらの情報
に基づいて従属ノードに対するポーリング周期及び応答
待ち監視時間を決定する。
[0010] The node monitoring information from the network monitoring system includes information on the inter-node polling cycle and the response waiting monitoring time, and the main node determines the polling cycle and the response waiting monitoring time for the subordinate node based on the information. decide.

【0011】[0011]

【作用】ネットワーク監視システムに直結された1つの
ノード(主ノード)が、ネットワーク内の他のノード
(従属ノード)の通信状態を監視し、従属ノードの通信
状態の変化(応答可能、応答不可能、無応答)をネット
ワーク監視システムに通知することにより、ネットワー
ク監視システムが通信不可能なノードに対してポーリン
グすることがなくなり、ネットワーク監視ポーリングの
時間を短縮することができる。また、通信可能となった
ノードに対するポーリングもれを防ぐことができる。通
信不可能なノードが応答不可能のレスポンスをしたのか
無応答だったのかをネットワーク監視システムに通知す
ることにより、ネットワーク監視システムはその状況に
対応することが可能になる。
One node (main node) directly connected to the network monitoring system monitors the communication state of another node (subordinate node) in the network, and changes in the communication state of the subordinate node (response possible, response impossible). , No response) to the network monitoring system, thereby preventing the network monitoring system from polling a node that cannot communicate with the network monitoring system and shortening the network monitoring polling time. In addition, it is possible to prevent polling leakage from a node that has become communicable. The network monitoring system can respond to the situation by notifying the network monitoring system of whether the uncommunicable node has made an unresponsive response or no response.

【0012】[0012]

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

【0013】図1に、本発明によるノードヘルスチェッ
ク方法を適用するネットワーク構成の一例を示す。同図
において、ネットワーク監視システム(以下、NMSと
記す)1は、同じ構成の複数のノード中の1つを主ノー
ド2としてこれと直結され、その他のノードは、従属ノ
ード3として主ノード2に接続されている。これらNM
S1、主ノード2及び従属ノード3間はそれぞれ伝送路
4により接続され、全体でネットワークを構成してい
る。図の例では、3つのノードを従属ノード3A・3B
・3Cとして、これらの通信状態を主ノード2で監視す
る構成となっている。
FIG. 1 shows an example of a network configuration to which the node health check method according to the present invention is applied. In FIG. 1, a network monitoring system (hereinafter, referred to as NMS) 1 is directly connected to one of a plurality of nodes having the same configuration as a main node 2, and the other nodes are connected to the main node 2 as subordinate nodes 3. It is connected. These NM
S1, the main node 2 and the subordinate node 3 are connected by a transmission path 4, respectively, and constitute a network as a whole. In the example of the figure, three nodes are subordinate nodes 3A and 3B.
3C, the communication state is monitored by the main node 2.

【0014】図2を参照して動作例を説明する。まず、
NMS1からノードヘルスチェック開始命令が主ノード
2に送られる。このとき、ネットワーク内のノードのリ
スト(以下、対象ノードリストと言う)も主ノード2へ
送られる。
An operation example will be described with reference to FIG. First,
A node health check start command is sent from the NMS 1 to the main node 2. At this time, a list of nodes in the network (hereinafter, referred to as a target node list) is also sent to the main node 2.

【0015】この対象ノードリストにより従属ノードの
追加又は削除があった場合、ノードヘルスチェックの開
始前にNMS1上でこのリストを変更するだけで、主ノ
ード2は新たなネットワーク構成に対する監視を行うこ
とができる。また、ノードヘルスチェック開始時に、ノ
ード間ポーリング周期や従属ノードからの応答待ち監視
時間等の情報を主ノード2に送り、それに従って主ノー
ド2を動作させることもできる。
When a subordinate node is added or deleted according to the target node list, the main node 2 monitors the new network configuration only by changing this list on the NMS 1 before starting the node health check. Can be. Also, at the start of the node health check, information such as the inter-node polling cycle and the monitoring time for waiting for a response from the subordinate node can be sent to the main node 2, and the main node 2 can be operated in accordance therewith.

【0016】主ノード2では、定期的に各従属ノード3
A・3B・3Cに対してポーリングを行い、各従属ノー
ド3A・3B・3Cの通信状況を読み出す。図2の例で
は、まず従属ノード3Aに対してヘルスチェックを行っ
たところ、この従属ノード3Aから応答可能のレスポン
スがあったので、主ノード2はそのことを記憶するだけ
で、NMS1に対しては特に通知はしない。
In the main node 2, each subordinate node 3
A, 3B, and 3C are polled, and the communication status of each subordinate node 3A, 3B, and 3C is read. In the example of FIG. 2, when a health check is first performed on the subordinate node 3A, there is a response from the subordinate node 3A that can respond, so the main node 2 simply stores the fact and responds to the NMS 1. Does not give any notice.

【0017】次に、従属ノード3Bに対してヘルスチェ
ックを行ったところ、この従属ノード3Bから応答不可
能のレスポンスがあった場合、主ノード2は、そのこと
を記憶するとともに、従属ノード3Bの通信状態が変化
したので、この従属ノード3Bが応答不可能であること
をNMS1へ通知する。これを受けたNMS1は従属ノ
ード3Bに対するアクセスを停止する。
Next, when a health check is performed on the subordinate node 3B, if there is a response that cannot be responded from the subordinate node 3B, the main node 2 stores the fact and responds to the subordinate node 3B. Since the communication state has changed, the subordinate node 3B notifies the NMS 1 that it cannot respond. Upon receiving this, the NMS 1 stops accessing the subordinate node 3B.

【0018】次に、主ノード2は、従属ノード3Cに対
してヘルスチェックを行ったところ、タイムアウトにな
っても従属ノード3Cから応答が無い場合、主ノード2
は、そのことを記憶するとともに、従属ノード3Cの通
信状態が変化したので、この従属ノード3Cが無応答で
あることをNMS1へ通知する。これを受けたNMS1
は従属ノード3Cに対するアクセスを停止する。
Next, when the main node 2 performs a health check on the subordinate node 3C, if there is no response from the subordinate node 3C even when the timeout occurs, the main node 2
Stores the fact and notifies the NMS 1 that the dependent node 3C has not responded because the communication state of the dependent node 3C has changed. NMS1 which received this
Stops access to the subordinate node 3C.

【0019】この後も、主ノード2は、定期的に従属モ
ード3A・3B・3Cに対してヘルスチェックを行う。
応答無しであった従属ノード3Cに対してヘルスチェッ
クを行ったところ、それから応答可能のレスポンスがあ
った場合、主ノード2は、そのことを記憶するととも
に、従属ノード3Cの通信状態が変化したので、この従
属ノード3Cが応答可能になったことをNMS1へ通知
する。これを受けたNMS1は従属ノード3Cに対する
アクセスを再開する。
Thereafter, the main node 2 periodically performs a health check on the subordinate modes 3A, 3B, and 3C.
When a health check is performed on the subordinate node 3C that has not received a response, and there is a response that can be responded from the health check, the main node 2 stores that fact and the communication state of the subordinate node 3C has changed. , Notifies the NMS 1 that the subordinate node 3C can respond. The NMS 1 receiving this restarts the access to the subordinate node 3C.

【0020】[0020]

【発明の効果】以上説明したように本発明によれば次の
ような効果がある。 ネットワーク内の各ノードが通信可能状態なのか不
可能状態なのかを正確に把握することにより、ネットワ
ーク監視システムは、通信可能なノードに対してはポー
リングを行い、通信不可能なノードに対しては行わない
で、ネットワーク内のノードヘルスチェックを効率良く
行える。 ネットワーク監視システムは、通信不可能なノード
に対してはポーリングを行わないので、ネットワーク内
に発生する無駄なパケットの増加を防ぐことができる。
As described above, according to the present invention, the following effects can be obtained. By accurately grasping whether each node in the network is in a communicable state or in a non-communicable state, the network monitoring system polls communicable nodes, and polls non-communicable nodes. Without doing so, it is possible to efficiently check the health of nodes in the network. Since the network monitoring system does not perform polling for nodes that cannot communicate, it is possible to prevent an increase in useless packets generated in the network.

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

【図1】本発明によるノードヘルスチェック方法を適用
するネットワーク構成の一例を示すブロック図である。
FIG. 1 is a block diagram showing an example of a network configuration to which a node health check method according to the present invention is applied.

【図2】図1の構成による動作のシーケンス図である。FIG. 2 is a sequence diagram of an operation according to the configuration of FIG. 1;

【図3】従来例のフローチャートである。FIG. 3 is a flowchart of a conventional example.

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

1 ネットワーク監視システム 2 主ノード 3A・3B・3C 従属ノード 4 伝送路 DESCRIPTION OF SYMBOLS 1 Network monitoring system 2 Main node 3A, 3B, 3C Subordinate node 4 Transmission line

───────────────────────────────────────────────────── フロントページの続き (72)発明者 富川 盛隆 神奈川県川崎市中原区小杉町一丁目403番 地 日本電気テレコムシステム株式会社内 (72)発明者 清水 政幸 神奈川県川崎市中原区小杉町一丁目403番 地 日本電気テレコムシステム株式会社内 ──────────────────────────────────────────────────続 き Continuing from the front page (72) Inventor Moritaka Tomikawa 1-403 Kosugi-cho, Nakahara-ku, Kawasaki-shi, Kanagawa Prefecture Within Nippon Electric Telecom System Corporation (72) Inventor Masayuki Shimizu Kosugi-cho, Nakahara-ku, Kawasaki-shi, Kanagawa 1-chome 403 NEC Telecom System Corporation

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 複数の従属ノードをネットワーク監視シ
ステムに直結された主ノードを介して監視するノードヘ
ルスチェック方法であって、前記ネットワーク監視シス
テムから前記主ノードに対して監視対象のノードを示す
ノード監視情報を送り、主ノードは、このノード監視情
報に基づいて監視対象の前記従属ノードに対して定期的
にヘルスチェックのポーリングを行い、従属ノードの通
信の可・不可を判断して前記ネットワーク監視システム
へ通知し、該ネットワーク監視システムは、この通知に
基づいて通信可能な従属ノードに対してはアクセスし、
通信不可能な従属ノードに対してはアクセスを停止する
ことを特徴とするノードヘルスチェック方法。
1. A node health check method for monitoring a plurality of subordinate nodes via a main node directly connected to a network monitoring system, wherein the network monitoring system indicates a node to be monitored to the main node from the network monitoring system. The monitoring node sends monitoring information, and based on the node monitoring information, the main node periodically polls the subordinate node to be monitored for a health check, determines whether communication of the subordinate node is possible or not, and performs the network monitoring. Notify the system, the network monitoring system accesses the subordinate nodes that can communicate based on the notification,
A node health check method characterized by stopping access to a subordinate node that cannot communicate.
【請求項2】 ネットワーク監視システムからのノード
監視情報には、ノード間ポーリング周期及び応答待ち監
視時間に関する情報が含まれ、主ノードは、これらの情
報に基づいて従属ノードに対するポーリング周期及び応
答待ち監視時間を決定することを特徴とする請求項1記
載のノードヘルスチェック方法。
2. The node monitoring information from the network monitoring system includes information on an inter-node polling cycle and a response waiting monitoring time, and the main node performs a polling cycle and a response waiting monitoring on a subordinate node based on the information. 2. The node health check method according to claim 1, wherein a time is determined.
JP8213320A 1996-07-25 1996-07-25 Node health check method Pending JPH1041966A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8213320A JPH1041966A (en) 1996-07-25 1996-07-25 Node health check method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8213320A JPH1041966A (en) 1996-07-25 1996-07-25 Node health check method

Publications (1)

Publication Number Publication Date
JPH1041966A true JPH1041966A (en) 1998-02-13

Family

ID=16637205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8213320A Pending JPH1041966A (en) 1996-07-25 1996-07-25 Node health check method

Country Status (1)

Country Link
JP (1) JPH1041966A (en)

Similar Documents

Publication Publication Date Title
JP4024308B2 (en) Method for monitoring the connection of a transmission system and components for implementing the method
AU678219B2 (en) System and method for automatic segment resolution on a local area network
JPH07193571A (en) Static routing system
US7739375B2 (en) System and method for UPnP discovery advertisement byebye by proxy
CN104506372A (en) Method and system for realizing host-backup server switching
US9166884B2 (en) Network location service
JPH088975A (en) Local area network interconnected system and device
CN102412984B (en) Management method and equipment for forwarded table entry
JP2002016622A (en) Network managing system
JP2001230789A (en) Method for detecting duplicate ip address in tcp/ip network
JPH1041966A (en) Node health check method
JP3570300B2 (en) Fault management method and method
JP2748871B2 (en) Location registration method and location registration method
CN111555970A (en) Network switching method, system and storage medium based on dual-computer redundancy system
JP3978099B2 (en) Communication network system management method and network relay device
JPS60246148A (en) Data transmission control system
JPH0991233A (en) Network connection device
JPH0879248A (en) Network address management device
JP3163526B2 (en) LAN broadcast frame processing method and apparatus
JP2002246985A (en) Optical radio repeater and light radio transmitting terminal equipment
JP2000242593A (en) Server switching system and method and storage medium storing program executing processing of the system by computer
JPH0258446A (en) Line connection control system
JPH0413327A (en) Network management system
CN114079584A (en) Method and device for keeping user terminal alive
CN117176498A (en) Topology network and communication processing method