JP2007122439A - Communication apparatus and communication method - Google Patents
Communication apparatus and communication method Download PDFInfo
- Publication number
- JP2007122439A JP2007122439A JP2005314146A JP2005314146A JP2007122439A JP 2007122439 A JP2007122439 A JP 2007122439A JP 2005314146 A JP2005314146 A JP 2005314146A JP 2005314146 A JP2005314146 A JP 2005314146A JP 2007122439 A JP2007122439 A JP 2007122439A
- Authority
- JP
- Japan
- Prior art keywords
- communication
- address
- failure
- snmp
- network
- 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.)
- Granted
Links
Images
Landscapes
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
本発明は、ネットワーク管理装置に検出した障害を通知する通信装置および通信方法に関する。 The present invention relates to a communication device and a communication method for notifying a network management device of a detected failure.
TCP/IP(Transmission Control Protocol/Internet Protocol)ネットワークにおいて、ルータ、PC、端末等、ネットワークに接続される通信装置をネットワーク経由で監視し、制御するためのプロトコルに、SNMP(Simple Network Management Protocol)がある。 In a TCP / IP (Transmission Control Protocol / Internet Protocol) network, SNMP (Simple Network Management Protocol) is a protocol for monitoring and controlling communication devices connected to the network such as routers, PCs, and terminals via the network. is there.
SNMPは、SNMPマネージャとSNMPエージェントの要素に分けられ、SNMPマネージャとは、SNMPに対応した管理ソフトウェアがインストールされるネットワーク管理装置のことをいい、SNMPエージェントとは、管理される通信装置のことをいう。 The SNMP is divided into SNMP manager and SNMP agent elements. The SNMP manager is a network management device in which management software corresponding to SNMP is installed, and the SNMP agent is a communication device to be managed. Say.
通信装置は、MIB(Management Information Base)と呼ばれる管理情報データベースを備えている。MIBには、SNMPエージェントが収集したネットワーク情報が格納され、具体的には、自身のIPアドレスや、受信したパケットの数やサイズ、ネットワークの利用率、衝突発生回数等でのネットワーク情報が格納される(例えば、特許文献1参照)。 The communication device includes a management information database called MIB (Management Information Base). The MIB stores network information collected by the SNMP agent. Specifically, it stores network information such as its own IP address, the number and size of received packets, the network usage rate, and the number of collisions. (For example, see Patent Document 1).
SNMPでのネットワーク管理は、このSNMPエージェントのMIB情報をSNMPマネージャが参照し、あるいは変更することによって行なわれる。また、何らかの障害発生により通信装置のインタフェースがダウン(リンクダウン)し、あるいは障害が回復して通信装置のインタフェースがアップ(リンクアップ)した時に、SNMPエージェントがSNMPトラップ(パケット)を送信することで、SNMPマネージャはそのイベント発生を認識し、管理することができる。
ところで、従来の技術では、図8に示す2つの通信ボードを備える通信装置などにおいて障害が発生した場合、それぞれのSNMPエージェントが非同期に独立して起動し、SNMPマネージャにSNMPトラップを送信することになる。 By the way, in the prior art, when a failure occurs in a communication apparatus or the like having two communication boards shown in FIG. 8, each SNMP agent is started asynchronously and independently and sends an SNMP trap to the SNMP manager. Become.
しかしながら、発生した障害が、一方のSNMPエージェントプログラムの経路におけるネットワークケーブル断線等の理由によるネットワークダウン、またはネットワークインタフェースの故障の場合、当該SNMPエージェントプログラムは経路確保ができないため、SNMPマネージャにSNMPトラップを通知することができないという問題があった。そして、この問題に対応するためには、SNMP監視対象となる通信装置のネットワークインタフェースを冗長化する等の対応が必要であった。 However, if the failure that has occurred is a network down due to a network cable disconnection in the route of one SNMP agent program or a failure of the network interface, the SNMP agent program cannot secure a route, so an SNMP trap is sent to the SNMP manager. There was a problem of not being able to notify. In order to cope with this problem, it has been necessary to take measures such as making the network interface of the communication device to be SNMP monitored redundant.
本発明は上記した事情に基づいてなされたものであり、SNMP監視対象となる通信装置のネットワークインタフェースを冗長化することなく、SNMPマネージャに障害発生を通知することのできる、通信装置およびその方法を提供することを目的とする。 The present invention has been made based on the above-described circumstances, and provides a communication device and a method thereof capable of notifying an SNMP manager of the occurrence of a failure without making a network interface of a communication device to be SNMP monitored redundant. The purpose is to provide.
上記した課題を解決するために本発明は、ネットワーク管理装置にネットワークを介して接続され、それぞれに予めアドレスが付与される複数の通信手段を備えた通信装置であって、いずれか1つのアドレスが使用可能であることを示す情報を記憶する記憶手段と、前記通信手段の障害を検出する障害監視手段と、前記障害監視手段が障害を検出した場合には、前記通信手段に付与されたアドレスが使用可能か否かを前記情報に基づいて判定する判定手段と、前記判定の結果、前記通信手段に付与されたアドレスが使用可能である場合には、前記ネットワーク管理装置に前記障害の発生を通知し、前記判定の結果、前記通信手段に付与されたアドレスが使用不可である場合には、前記記憶手段に記憶されている情報を他のアドレスが使用可能であることを示す情報に書き換え、当該他のアドレスに基づいて前記ネットワーク管理装置に前記障害の発生を通知する障害通知手段と、を備えたことを特徴とする通信装置である。 In order to solve the above-described problems, the present invention is a communication device that includes a plurality of communication units that are connected to a network management device via a network and each of which is assigned an address in advance, and any one address is A storage unit for storing information indicating that the communication unit is usable; a failure monitoring unit for detecting a failure in the communication unit; and when the failure monitoring unit detects a failure, an address assigned to the communication unit is A determination unit that determines whether or not the communication unit can be used based on the information; and if the address given to the communication unit is usable as a result of the determination, the network management device is notified of the occurrence of the failure. If the address given to the communication means is unusable as a result of the determination, other addresses can use the information stored in the storage means. Rewriting the information indicating that there is a communication apparatus characterized by comprising a, a failure notification means for notifying the occurrence of the fault to the network management device on the basis of the other addresses.
本発明は、上記に記載の発明において、前記障害通知手段は、前記判定の結果、前記通信手段に付与されたアドレスが使用可能である場合には、前記ネットワークの接続状態を検出し、前記ネットワークが接続されている場合には、前記ネットワーク管理装置に前記障害の発生を通知するようにし、かつ、前記ネットワークが切断状態の場合には、前記記憶手段に記憶されているアドレスを他のアドレスに変更して、当該他のアドレスに基づいて前記ネットワーク管理装置に前記障害の発生を通知することを特徴とする。 According to the present invention, in the above-described invention, the failure notification unit detects a connection state of the network when the address given to the communication unit is usable as a result of the determination, and Is connected to the network management device, and when the network is disconnected, the address stored in the storage means is changed to another address. It is changed, and the occurrence of the failure is notified to the network management device based on the other address.
本発明は、上記に記載の発明において、前記障害通知手段は、前記通信装置の起動時に、前記記憶手段を参照し、前記記憶手段に記憶される情報が前記通信手段に付与されるアドレスを示す情報以外の場合、前記通信手段に付与されているアドレスを前記記憶手段に記録することを特徴とする。 According to the present invention, in the invention described above, the failure notification unit refers to the storage unit when the communication device is activated, and indicates an address to which information stored in the storage unit is given to the communication unit In the case other than information, the address given to the communication means is recorded in the storage means.
本発明は、ネットワーク管理装置にネットワークを介して接続され、それぞれに予めアドレスが付与される複数の通信手段を備えた通信装置における通信方法であって、いずれか1つのアドレスが使用可能であることを示す情報を記憶手段に記憶させるステップと、前記通信手段の障害を検出するステップと、障害を検出した場合には、前記通信手段に付与されたアドレスが使用可能か否かを前記情報に基づいて判定するステップと、前記判定の結果、前記通信手段に付与されたアドレスが使用可能である場合には、前記ネットワーク管理装置に前記障害の発生を通知するステップと、前記判定の結果、前記通信手段に付与されたアドレスが使用不可である場合には、前記記憶手段に記憶されている情報を他のアドレスが使用可能であることを示す情報に書き換え、当該他のアドレスに基づいて前記ネットワーク管理装置に前記障害の発生を通知するステップと、を含むことを特徴とする通信方法である。 The present invention is a communication method in a communication apparatus that is connected to a network management apparatus via a network and includes a plurality of communication means to which addresses are assigned in advance, and any one address can be used. On the basis of the information indicating whether or not an address assigned to the communication means is usable when a failure is detected; and a step of detecting a failure of the communication means; Determining if the address assigned to the communication means is usable as a result of the determination, notifying the occurrence of the failure to the network management device, and determining that the communication If the address given to the means is unusable, the information stored in the storage means can be used by another address Rewriting the information indicating a communication method characterized by comprising the step of notifying the occurrence of the fault to the network management device on the basis of the other addresses, the.
この発明によれば、通信装置は、いずれか1つのアドレスが使用可能であることを示す情報を記憶する記憶手段と、通信手段の障害を検出する障害監視手段と、障害監視手段が障害を検出した場合には、通信手段に付与されたアドレスが使用可能か否かを情報に基づいて判定する判定手段と、判定の結果、通信手段に付与されたアドレスが使用可能である場合には、ネットワーク管理装置に障害の発生を通知し、判定の結果、通信手段に付与されたアドレスが使用不可である場合には、記憶手段に記憶されている情報を他のアドレスが使用可能であることを示す情報に書き換え、当該他のアドレスに基づいてネットワーク管理装置に障害の発生を通知する障害通知手段とを備える構成とした。これにより、障害発生時の経路制御を内部的に実行することができ、SNMP監視対象となる通信装置のネットワークインタフェースを冗長化することなく、SNMPマネージャに障害発生を通知することができ、信頼性の向上がはかれる。また、SNMP監視対象となる通信装置のネットワークインタフェースを冗長化する方法に比べて低いコストで実現できる。 According to the present invention, the communication device includes a storage unit that stores information indicating that any one address is usable, a failure monitoring unit that detects a failure of the communication unit, and the failure monitoring unit detects a failure. In this case, the determination means for determining whether the address assigned to the communication means can be used based on the information, and if the address assigned to the communication means as a result of the determination is usable, the network Notify the management device of the occurrence of a failure. If the address assigned to the communication means is unusable as a result of the determination, the information stored in the storage means indicates that another address can be used. It is configured to include failure notification means that rewrites information and notifies the network management device of the occurrence of a failure based on the other address. As a result, path control when a failure occurs can be executed internally, and the SNMP manager can be notified of the failure occurrence without making the network interface of the communication device to be monitored SNMP redundant. Can be improved. Further, it can be realized at a lower cost than the method of making the network interface of the communication device to be SNMP monitored redundant.
以下、本発明の一実施形態を図面を参照して説明する。
図1は、本実施形態の通信装置の内部構成を示すブロック図である。本実施形態の通信装置5は、2つの通信ボード20(30)を備えており、通信ボード20(30)は、それぞれCPU22(32)、メモリ23(33)、ディスク24(34)、PCI(Peripheral Component Interconnect)/メモリコントローラ25(35)、ネットワークインタフェース(NW IF)21(31)を実装する。なお、通信ボード20(30)としては、具体的にはボードPC等が適用される。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing an internal configuration of a communication apparatus according to the present embodiment. The
CPU22(32)のそれぞれには、後述するSNMPエージェントプログラムおよび障害監視プログラムが常駐し、このうち、障害監視プログラムは、障害発生を検出したときにSNMPエージェントプログラムに通知することで、障害発生通知を行う仕組みになっている。 Each of the CPUs 22 (32) has an SNMP agent program and a failure monitoring program to be described later. Of these, the failure monitoring program notifies the SNMP agent program of the occurrence of a failure when it detects the occurrence of the failure. It is a mechanism to do.
なお、通信装置ボード20(30)のそれぞれは、一方で、PCI/メモリバスコントローラ25(35)を介してPCIバス40に接続され、他方で、NWI/F21(31)、およびルータ2(3)を介してIPネットワーク4に接続される。
IPネットワーク4には、他に、SNMPマネージャがインストールされたネットワーク管理装置1が接続されている。
Each of the communication device boards 20 (30) is connected to the
In addition, a
図2から図4は、本実施形態の通信方法の概略工程を示した図である。
図2に示されるように、SNMPエージェントプログラム222(322)は、CPU22(32)内に1つ常駐し、それぞれに予め一意に認識可能な属性アドレスが割り当てられる。具体的には、通信装置5の通信ボード20(30)が組み込まれるスロットのスロット番号等を属性アドレスとして利用することができる。
通信ボード20(30)の属性アドレスが、主属性アドレスであるか否かの判定は、通信ボード20(30)が備える共有DB240(340)に記憶される主属性アドレスの項目に記憶されている属性アドレスと、自ボードの属性アドレスとが一致するか否かにより行われる。図2は、通信ボード20に常駐するSNMPエージェントプログラム222の属性アドレスが主属性のアドレスであり、通信ボード30に常駐するSNMPエージェントプログラム322の属性アドレスが副属性のアドレスである例を示している。
2 to 4 are diagrams showing schematic steps of the communication method of the present embodiment.
As shown in FIG. 2, one SNMP agent program 222 (322) resides in the CPU 22 (32), and an attribute address that can be uniquely recognized is assigned to each SNMP agent program 222 (322). Specifically, the slot number of the slot in which the communication board 20 (30) of the
The determination whether the attribute address of the communication board 20 (30) is the main attribute address is stored in the item of the main attribute address stored in the shared DB 240 (340) included in the communication board 20 (30). This is performed depending on whether or not the attribute address matches the attribute address of the own board. FIG. 2 shows an example in which the attribute address of the SNMP
共有DB240(340)は、図1に示すディスク24(34)のそれぞれに設けられ、上記した属性アドレスの他に、上述したMIBなどの情報が記憶される。 The shared DB 240 (340) is provided in each of the disks 24 (34) shown in FIG. 1, and stores information such as the above-described MIB in addition to the attribute address described above.
また、共有DB240(340)は、非同期に動作する通信ボード20(30)に対し、データの整合性を維持するために、SNMPエージェントプログラム222(322)がデータを更新あるいは参照する際にロックできるように構成されている。具体的には、SNMPエージェントプログラム222が共有DB240をロックすると、その情報がSNMPエージェントプログラム322に通知され、SNMPエージェントプログラム322はロック解除の通知をSNMPエージェントプログラム222から受信するまで共有DB340にアクセスすることができなくなるようにして構成される。なお、共有DB240(340)は、非同期に動作する通信ボード20(30)に対し、データの整合性を維持するために、SNMPエージェントプログラム222(322)がデータを更新あるいは参照する際にロックできるように構成されているが、この場合、ロック及びロック解除のプロセスを例えば、以下のように行うようにしてもよい。すなわち、SNMPエージェントプログラム222が共有DB240をロックした場合には、共有DB240から共有DB340へ、ロックするよう通知を行い、当該通知を受け取った共有DB340が当該通知に基づいてロックするとともに、この状態でデータの更新が終了した場合には、SNMPエージェントプログラム222が共有DB240へロック解除の通知を行い、通知を受けた共有DB240が共有DB340へロック解除の通知を行うようにする。
In addition, the shared DB 240 (340) can be locked when the SNMP agent program 222 (322) updates or references data in order to maintain data consistency with respect to the asynchronously operating communication board 20 (30). It is configured as follows. Specifically, when the SNMP
さらに、共有DB240(340)の整合性を維持するため、SNMPエージェントプログラム222(322)によって、いずれか一方の共有DB240(340)に情報が記録されると、情報を記録したSNMPエージェントプログラム222(322)は、他方のSNMPエージェントプログラム322(222)に記録した情報を通知し、通知された他方のSNMPエージェントプログラム322(222)はロックの解除後に、共有DB340(240)に通知された情報を記録する処理を行うように構成されている。 Further, in order to maintain the consistency of the shared DB 240 (340), when information is recorded in one of the shared DBs 240 (340) by the SNMP agent program 222 (322), the SNMP agent program 222 (in which information is recorded) 322) notifies the information recorded in the other SNMP agent program 322 (222), and the notified other SNMP agent program 322 (222) notifies the information notified to the shared DB 340 (240) after releasing the lock. It is configured to perform a recording process.
図2の状態において、通信ボード20の障害監視プログラム221が、当該通信ボード20内での障害発生(例えば、CPU22がメモリ23やディスク24、PCI/メモリコントローラ25の動作を検出しない状態を意味する)を検出したとする。上述したように、通信ボード20のSNMPエージェントプログラム222の属性アドレスが主属性アドレスであるため、SNMPエージェントプログラム222からネットワーク管理装置1のSNMPマネージャ100に対してSNMPトラップ信号が送信される。
In the state of FIG. 2, the
一方、図3に示されるように、通信ボード30の障害監視プログラム321が、障害発生を検出した場合、通信ボード30のSNMPエージェントプログラム322の属性アドレスが副属性アドレスであるため、SNMPエージェントプログラム322は、主属性アドレスの通信ボード20のSNMPエージェントプログラム222との間でプロセス間通信を行い、SNMPエージェントプログラム222にSNMPトラップ送信要求信号を送信する。そして、SNMPトラップ送信要求を受信した主属性のアドレスのSNMPエージェントプログラム222は、ネットワーク管理装置1のSNMPマネージャ100に対してSNMPトラップ信号を送信する。
On the other hand, as shown in FIG. 3, when the
また、図4に示されるように、主属性のアドレスのSNMPエージェントプログラム222が、ネットワークインタフェースの接続状態を判定し、リンクダウンになっていた場合、自らの経路を利用して通信できないため、副属性のアドレスのSNMPエージェントプログラム322とプロセス間通信を行ってSNMPトラップ送信要求信号を送信し、副属性のアドレスのSNMPエージェント322がネットワーク管理装置1のSNMPマネージャ100にSNMPトラップ信号を送信する。
In addition, as shown in FIG. 4, when the
これにより、ネットワークダウン、またはネットワークインタフェースが故障しても、2つのSNMPエージェントプログラム222、322の間で内部的に通信経路を確保することができ、SNMP監視対象となる通信装置5のネットワークインタフェースを冗長化することなくネットワーク管理装置1(SNMPマネージャ100)に障害発生を通知することができる。
As a result, even if the network goes down or the network interface fails, a communication path can be secured internally between the two
図5から図7は、本実施形態の通信装置の動作を説明するために引用したフローチャートである。
図5は、電源投入時における通信装置、図6及び図7は、SNMPトラップ信号送信時における通信装置5の動作を示す。
以下、図5から図7のフローチャートを参照しながら、本実施形態の通信装置の動作について詳細に説明する。なお、以下の説明において、属性アドレスには、通信装置5のスロット番号(1、2…n)が適用されているものとする。
5 to 7 are flowcharts cited for explaining the operation of the communication apparatus of the present embodiment.
FIG. 5 shows the operation of the communication apparatus when the power is turned on, and FIGS. 6 and 7 show the operation of the
Hereinafter, the operation of the communication apparatus of the present embodiment will be described in detail with reference to the flowcharts of FIGS. In the following description, it is assumed that the slot number (1, 2,... N) of the
図5に示されるように、通信装置5の電源投入時、各通信ボード20(30)は、それぞれにインストールされたSNMPエージェントプログラム222(322)をCPU22(32)にロードして起動する(ステップS61、S62)。
起動されたSNMPエージェントプログラム222(322)のうち早く起動した方のSNMPエージェントプログラム222(322)は、共有DB240(340)をロックし(ステップS63)、共有DB240(340)に記憶されている主属性アドレスを参照し、主属性アドレスが自通信ボード20(30)の属性アドレスと一致するか否かにより、自通信ボード20(30)が主属性か否かを判定する(ステップS64)。主属性アドレスが“NULL”の場合は、自通信ボード20(30)が主属性のアドレスであるとして、共有DB240(340)の主属性アドレスに、自通信ボード20(30)の属性アドレスを記録する(ステップS65)。主属性アドレスが自ボード20(30)の属性アドレスと一致する場合には、共有DB240(340)のロックを解除する(ステップS67)。主属性アドレスが他の通信ボード30(20)の場合、自通信ボード20(30)は副属性であると判定し(ステップS66)、共有DB240(340)のロックを解除する(ステップS67)。
As shown in FIG. 5, when the
The SNMP agent program 222 (322) that is started earlier among the started SNMP agent programs 222 (322) locks the shared DB 240 (340) (step S63), and is stored in the shared DB 240 (340). Referring to the attribute address, it is determined whether or not the self-communication board 20 (30) is the main attribute based on whether or not the main attribute address matches the attribute address of the self-communication board 20 (30) (step S64). When the main attribute address is “NULL”, the own communication board 20 (30) is assumed to be the main attribute address, and the attribute address of the own communication board 20 (30) is recorded in the main attribute address of the shared DB 240 (340). (Step S65). If the main attribute address matches the attribute address of the own board 20 (30), the shared DB 240 (340) is unlocked (step S67). When the main attribute address is the other communication board 30 (20), it is determined that the own communication board 20 (30) is the sub attribute (step S66), and the shared DB 240 (340) is unlocked (step S67).
なお、図5に示す処理では、両方のSNMPエージェントプログラム222(322)の動作について説明しているが、共有DB240と共有DB340のいずれか一方が必ずロックされる以上、同時に共有DB240(340)が参照されることはなく、いずれか一方の処理が行われた後に、他方の処理が行われるため、SNMPエージェントプログラム222と322が同時に主属性にはならない。
In the process shown in FIG. 5, the operations of both SNMP agent programs 222 (322) are described. However, as long as one of the shared
次に、図6に示されるように、SNMPエージェントプログラム322(222)は、障害監視プログラム221(321)から障害検出の情報を受信した場合、あるいは、他の通信ボード30(20)のSNMPエージェントプログラム322(222)からトラップ送信要求信号を受信した場合(ステップS71)、SNMPエージェントプログラム222(322)は、共有DB240(340)を参照し、自通信ボード20(30)の属性アドレスが主属性アドレスであるか否かを判定する(ステップS72)。判定の結果、主属性アドレスであると判定した場合、更に、ネットワークインタフェースのリンク状態を判定する(ステップS73)。ここで、リンクアップの場合、SNMPエージェントプログラム222(322)は、SNMPトラップ信号をネットワーク管理装置1のSNMPマネージャ100に送信する(ステップS74)。一方、リングダウンの場合、SNMPエージェントプログラム222(322)は、主属性アドレスを変更するため共有DB240(340)をロックし(ステップS75)、共有DB240(340)の主属性アドレスを更新する(ステップS76)。
Next, as shown in FIG. 6, the SNMP agent program 322 (222) receives the information of failure detection from the failure monitoring program 221 (321), or the SNMP agent of the other communication board 30 (20). When the trap transmission request signal is received from the program 322 (222) (step S71), the SNMP agent program 222 (322) refers to the shared DB 240 (340), and the attribute address of the own communication board 20 (30) is the main attribute. It is determined whether it is an address (step S72). If it is determined that the address is the main attribute address, the link state of the network interface is further determined (step S73). Here, in the case of link-up, the SNMP agent program 222 (322) transmits an SNMP trap signal to the
ここで、リンクダウンとは、何らかの障害によりルータ2(3)がダウンしている状態、リンクアップとは、障害から復旧してルータ2(3)のインタフェースがアップした状態をいう。 Here, the link down means a state in which the router 2 (3) is down due to some failure, and the link up means a state in which the interface of the router 2 (3) is up after recovery from the failure.
また、主属性アドレスの更新は、共有DB240(340)の主属性アドレスの項目に記憶されている属性アドレスをインクリメントすることにより実行され、インクリメントされることにより次のスロット番号の通信ボードのSNMPエージェントプログラムが主属性となる。なお、主属性アドレスの項目に記憶される属性アドレスの値が実装される通信ボード20(30)のスロット数を超過した場合、主属性アドレスを“1”にリセットする。 The update of the main attribute address is executed by incrementing the attribute address stored in the item of the main attribute address of the shared DB 240 (340), and the SNMP agent of the communication board of the next slot number is incremented by the increment. The program is the main attribute. When the value of the attribute address stored in the item of the main attribute address exceeds the number of slots of the communication board 20 (30) mounted, the main attribute address is reset to “1”.
最後に、SNMPエージェントプログラム222(322)は、共有DB240(340)のロックを解除し(ステップS77)、主属性のアドレスのSNMPエージェントプログラム222(322)にトラップ送信要求信号を送信する(図8のステップS81)。なお、このとき、トラップ送信要求信号の無限ループを防ぐため、送信元アドレスを付与することによって同一アドレスからの要求を遮断する仕組みとする。 Finally, the SNMP agent program 222 (322) unlocks the shared DB 240 (340) (step S77), and transmits a trap transmission request signal to the SNMP agent program 222 (322) having the main attribute address (FIG. 8). Step S81). At this time, in order to prevent an infinite loop of the trap transmission request signal, a request from the same address is blocked by giving a transmission source address.
一方、ステップS77、あるいはステップS72の処理の後、自通信ボード20(30)が副属性アドレスである場合、当該通信ボード20(30)は、主属性のアドレスのSNMPエージェントプログラム222(322)に対してSNMPトラップ送信要求信号を送信する(ステップS81)。 On the other hand, after the process of step S77 or step S72, if the own communication board 20 (30) has a sub-attribute address, the communication board 20 (30) sends the SNMP agent program 222 (322) with the address of the main attribute. In response, an SNMP trap transmission request signal is transmitted (step S81).
続いて、主属性のアドレスのSNMPエージェントプログラム222(322)が、ネットワーク管理装置1に常駐するSNMPマネージャ100に対してSNMPトラップ信号を送信し、SNMPトラップ送信要求信号を送信した通信ボード20(30)がその応答(送信失敗)を受信した場合(ステップS82:No)、自身の共有DB240(340)をロックし(ステップS83)、その共有DB240(340)の主属性アドレスを更新する(ステップS84)。ここでも、主属性アドレスが通信装置5に実装される通信ボード20(30)の数(最大値)を超過した場合、主属性アドレスを“1”にリセットする。
Subsequently, the SNMP agent program 222 (322) having the address of the main attribute transmits the SNMP trap signal to the
最後に、共有DB240(340)のロックを解除し(ステップS85)、主属性のアドレスのSNMPエージェントプログラム222(322)にSNMPトラップ送信要求を送信する(ステップS81)。 Finally, the shared DB 240 (340) is unlocked (step S85), and an SNMP trap transmission request is transmitted to the SNMP agent program 222 (322) of the main attribute address (step S81).
以上説明のように、本実施形態は、障害発生時の経路制御を内部的に実行することで、SNMP監視対象となる通信装置のネットワークインタフェースを冗長化することなく、SNMPマネージャに障害発生を通知することを可能とするものであり、これにより、SNMPマネージャにおいてSNMPトラップの到達率が増し、信頼性の向上がはかれる。また、監視対象通信装置の他の通信ボードのネットワークインタフェースを利用することにより、実装される通信ボードの数が多いほど、別途、ネットワークインタフェースを実装して冗長化する等によるコスト増を防ぐことが出来る。 As described above, the present embodiment internally notifies the SNMP manager of the occurrence of a failure without making the network interface of the communication device subject to SNMP monitoring redundant by internally executing the path control when the failure occurs. As a result, the SNMP manager reaches a higher reach of the SNMP trap, thereby improving the reliability. Also, by using the network interface of the other communication board of the monitored communication device, the more communication boards that are installed, the higher the cost due to the redundant installation of the network interface can be prevented. I can do it.
なお、上記の実施形態では、自通信ボードのアドレスと共有DB240(340)に記憶されるアドレスが一致する場合に主属性として判定し、一致しない場合に副属性として判定するようにしていたが、本発明は、この実施形態に限られず、共有DB240(340)に全てのアドレスの項目を設け、それぞれの項目に使用可能か否かを示す情報を記憶させ、当該情報を参照して判定するようにしてもよい。 In the above embodiment, when the address of the own communication board and the address stored in the shared DB 240 (340) match, it is determined as the main attribute, and when it does not match, it is determined as the sub attribute. The present invention is not limited to this embodiment, and all the address items are provided in the shared DB 240 (340), information indicating whether or not each address can be used is stored, and determination is performed with reference to the information. It may be.
なお、本発明の記憶手段は、共有DB240(340)に対応し、障害監視手段は、障害監視プログラム221(321)に対応し、通信手段、判定手段及び障害通知手段は、SNMPエージェントプログラム222(322)に対応する。 The storage unit of the present invention corresponds to the shared DB 240 (340), the failure monitoring unit corresponds to the failure monitoring program 221 (321), and the communication unit, the determination unit, and the failure notification unit include the SNMP agent program 222 ( 322).
1…ネットワーク管理装置(SMNPマネージャ)、2…ルータ、3…ルータ、4…IPネットワーク、5…通信装置、20…通信ボード、30…通信ボード、22、32…CPU、23、33…メモリ、24、34…ディスク、25、35…PCI/メモリコントローラ、21、31…ネットワークインタフェース(NW IF)、100…SMNPマネージャ、221、321…障害監視プログラム、222、322…SNMPエージェントプログラム、240、340…共有DB
DESCRIPTION OF
Claims (4)
いずれか1つのアドレスが使用可能であることを示す情報を記憶する記憶手段と、
前記通信手段の障害を検出する障害監視手段と、
前記障害監視手段が障害を検出した場合には、前記通信手段に付与されたアドレスが使用可能か否かを前記情報に基づいて判定する判定手段と、
前記判定の結果、前記通信手段に付与されたアドレスが使用可能である場合には、前記ネットワーク管理装置に前記障害の発生を通知し、前記判定の結果、前記通信手段に付与されたアドレスが使用不可である場合には、前記記憶手段に記憶されている情報を他のアドレスが使用可能であることを示す情報に書き換え、当該他のアドレスに基づいて前記ネットワーク管理装置に前記障害の発生を通知する障害通知手段と、
を備えたことを特徴とする通信装置。 A communication device comprising a plurality of communication means connected to a network management device via a network, each of which is assigned an address in advance,
Storage means for storing information indicating that any one address is usable;
Fault monitoring means for detecting a fault in the communication means;
When the failure monitoring unit detects a failure, a determination unit that determines whether the address assigned to the communication unit is usable based on the information;
If the address assigned to the communication means is usable as a result of the determination, the network management apparatus is notified of the occurrence of the failure, and the address assigned to the communication means is used as a result of the determination. If it is not possible, the information stored in the storage means is rewritten with information indicating that another address can be used, and the occurrence of the failure is notified to the network management device based on the other address. Fault notification means to
A communication apparatus comprising:
前記判定の結果、前記通信手段に付与されたアドレスが使用可能である場合には、前記ネットワークの接続状態を検出し、前記ネットワークが接続されている場合には、前記ネットワーク管理装置に前記障害の発生を通知するようにし、かつ、前記ネットワークが切断状態の場合には、前記記憶手段に記憶されているアドレスを他のアドレスに変更して、当該他のアドレスに基づいて前記ネットワーク管理装置に前記障害の発生を通知する
ことを特徴とする請求項1に記載の通信装置。 The failure notification means includes
As a result of the determination, when the address assigned to the communication means is usable, the connection state of the network is detected, and when the network is connected, the network management device is informed of the failure. If the network is in a disconnected state, the address stored in the storage means is changed to another address, and the network management device is notified to the network management device based on the other address. The communication apparatus according to claim 1, wherein the occurrence of a failure is notified.
前記通信装置の起動時に、前記記憶手段を参照し、前記記憶手段に記憶される情報が前記通信手段に付与されるアドレスを示す情報以外の場合、前記通信手段に付与されているアドレスを前記記憶手段に記録する
ことを特徴とする請求項1または2に記載の通信装置。 The failure notification means includes
When the communication device is activated, the storage unit is referred to, and when the information stored in the storage unit is other than the information indicating the address provided to the communication unit, the address assigned to the communication unit is stored in the storage unit. The communication apparatus according to claim 1, wherein the communication apparatus records the information.
いずれか1つのアドレスが使用可能であることを示す情報を記憶手段に記憶させるステップと、
前記通信手段の障害を検出するステップと、
障害を検出した場合には、前記通信手段に付与されたアドレスが使用可能か否かを前記情報に基づいて判定するステップと、
前記判定の結果、前記通信手段に付与されたアドレスが使用可能である場合には、前記ネットワーク管理装置に前記障害の発生を通知するステップと、
前記判定の結果、前記通信手段に付与されたアドレスが使用不可である場合には、前記記憶手段に記憶されている情報を他のアドレスが使用可能であることを示す情報に書き換え、当該他のアドレスに基づいて前記ネットワーク管理装置に前記障害の発生を通知するステップと、
を含むことを特徴とする通信方法。 A communication method connected to a network management device via a network and having a plurality of communication means to which addresses are assigned in advance.
Storing information indicating that any one of the addresses is usable in a storage means;
Detecting a failure of the communication means;
If a failure is detected, determining based on the information whether the address assigned to the communication means is usable; and
As a result of the determination, if the address assigned to the communication means is usable, notifying the network management device of the occurrence of the failure;
As a result of the determination, when the address assigned to the communication means is unusable, the information stored in the storage means is rewritten with information indicating that another address can be used. Notifying the network management device of the occurrence of the failure based on an address;
A communication method comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005314146A JP4619925B2 (en) | 2005-10-28 | 2005-10-28 | Communication apparatus and communication method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005314146A JP4619925B2 (en) | 2005-10-28 | 2005-10-28 | Communication apparatus and communication method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007122439A true JP2007122439A (en) | 2007-05-17 |
JP4619925B2 JP4619925B2 (en) | 2011-01-26 |
Family
ID=38146223
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005314146A Expired - Fee Related JP4619925B2 (en) | 2005-10-28 | 2005-10-28 | Communication apparatus and communication method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4619925B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008305159A (en) * | 2007-06-07 | 2008-12-18 | Nec Corp | Redundant configuration server system, network management system, method, and program |
JP2010079581A (en) * | 2008-09-25 | 2010-04-08 | Fuji Xerox Co Ltd | Data acquisition management apparatus, data acquisition management system and program |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04102158A (en) * | 1990-08-21 | 1992-04-03 | Fujitsu Ltd | Close coupling multiprocessor |
JPH06348620A (en) * | 1993-06-08 | 1994-12-22 | Oki Electric Ind Co Ltd | System switching method for multiplex system |
JPH07210331A (en) * | 1994-01-13 | 1995-08-11 | Fuji Xerox Co Ltd | Disk array device |
JPH08235132A (en) * | 1995-02-22 | 1996-09-13 | Hitachi Ltd | Hot stand-by control method for multiserver system |
JPH11237998A (en) * | 1998-02-20 | 1999-08-31 | Nec Corp | Method and device for registering server in server multiplexing |
JP2000148525A (en) * | 1998-11-18 | 2000-05-30 | Hitachi Ltd | Method for reducing load of active system in service processor duplex system |
JP2002183106A (en) * | 2000-12-11 | 2002-06-28 | Hitachi Ltd | System and method for service switching |
JP2003115896A (en) * | 2001-10-03 | 2003-04-18 | Hitachi Ltd | Method and system for maintenance, and information processing system |
JP2003186765A (en) * | 2001-12-20 | 2003-07-04 | Fuji Xerox Co Ltd | Network connecting device, network connecting device management system and network connecting device management method |
JP2004165752A (en) * | 2002-11-11 | 2004-06-10 | Shimadzu System Solutions Co Ltd | Control / supervisory system |
JP2005004404A (en) * | 2003-06-11 | 2005-01-06 | Nippon Telegr & Teleph Corp <Ntt> | Method for automatic detection of switching of dual network management system, dual network management system, monitoring program, and program for network management system |
-
2005
- 2005-10-28 JP JP2005314146A patent/JP4619925B2/en not_active Expired - Fee Related
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH04102158A (en) * | 1990-08-21 | 1992-04-03 | Fujitsu Ltd | Close coupling multiprocessor |
JPH06348620A (en) * | 1993-06-08 | 1994-12-22 | Oki Electric Ind Co Ltd | System switching method for multiplex system |
JPH07210331A (en) * | 1994-01-13 | 1995-08-11 | Fuji Xerox Co Ltd | Disk array device |
JPH08235132A (en) * | 1995-02-22 | 1996-09-13 | Hitachi Ltd | Hot stand-by control method for multiserver system |
JPH11237998A (en) * | 1998-02-20 | 1999-08-31 | Nec Corp | Method and device for registering server in server multiplexing |
JP2000148525A (en) * | 1998-11-18 | 2000-05-30 | Hitachi Ltd | Method for reducing load of active system in service processor duplex system |
JP2002183106A (en) * | 2000-12-11 | 2002-06-28 | Hitachi Ltd | System and method for service switching |
JP2003115896A (en) * | 2001-10-03 | 2003-04-18 | Hitachi Ltd | Method and system for maintenance, and information processing system |
JP2003186765A (en) * | 2001-12-20 | 2003-07-04 | Fuji Xerox Co Ltd | Network connecting device, network connecting device management system and network connecting device management method |
JP2004165752A (en) * | 2002-11-11 | 2004-06-10 | Shimadzu System Solutions Co Ltd | Control / supervisory system |
JP2005004404A (en) * | 2003-06-11 | 2005-01-06 | Nippon Telegr & Teleph Corp <Ntt> | Method for automatic detection of switching of dual network management system, dual network management system, monitoring program, and program for network management system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008305159A (en) * | 2007-06-07 | 2008-12-18 | Nec Corp | Redundant configuration server system, network management system, method, and program |
JP2010079581A (en) * | 2008-09-25 | 2010-04-08 | Fuji Xerox Co Ltd | Data acquisition management apparatus, data acquisition management system and program |
Also Published As
Publication number | Publication date |
---|---|
JP4619925B2 (en) | 2011-01-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
FI115271B (en) | Procedure and system for implementing a rapid rescue process in a local area network | |
JP4726416B2 (en) | Method for operating a computer cluster | |
US8332506B2 (en) | Network monitor program executed in a computer of cluster system, information processing method and computer | |
US20120311143A1 (en) | System and method for supporting automatic disabling of degraded links in an infiniband (ib) network | |
US20040153835A1 (en) | Automated and embedded software reliability measurement and classification in network elements | |
US7430688B2 (en) | Network monitoring method and apparatus | |
CN103490914A (en) | Switching system and switching method for multi-machine hot standby of network application equipment | |
JP5617304B2 (en) | Switching device, information processing device, and fault notification control program | |
JP4544415B2 (en) | Relay network system, node device, and failure notification method | |
JP2005117371A (en) | Apparatus and system for remote monitoring | |
JP5625605B2 (en) | OS operation state confirmation system, device to be confirmed, OS operation state confirmation device, OS operation state confirmation method, and program | |
JP4619925B2 (en) | Communication apparatus and communication method | |
CN107071189A (en) | A kind of connection method of communication apparatus physical interface | |
JP6421516B2 (en) | Server device, redundant server system, information takeover program, and information takeover method | |
CN101854263B (en) | Method, system and management server for analysis processing of network topology | |
GB2362230A (en) | Delegated fault detection in a network by mutual node status checking | |
JP5304200B2 (en) | Network management system, network management method, manager and agent | |
Cisco | Monitoring Traps | |
JP6057470B2 (en) | Network alarm processing system | |
JP2012177987A (en) | Monitoring system and monitoring method | |
JP3325785B2 (en) | Computer failure detection and recovery method | |
JP2016200961A (en) | Server failure monitoring system | |
JP2000148539A (en) | Fault detecting method, computer system, constitutional device, and recording medium | |
JP4692419B2 (en) | Network device, redundant switching method used therefor, and program thereof | |
JP2006319683A (en) | System and apparatus for monitoring network system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080916 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20101007 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20101019 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20101027 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131105 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |