JP2015035678A - Network system, monitoring method for route, and relay device - Google Patents

Network system, monitoring method for route, and relay device Download PDF

Info

Publication number
JP2015035678A
JP2015035678A JP2013164802A JP2013164802A JP2015035678A JP 2015035678 A JP2015035678 A JP 2015035678A JP 2013164802 A JP2013164802 A JP 2013164802A JP 2013164802 A JP2013164802 A JP 2013164802A JP 2015035678 A JP2015035678 A JP 2015035678A
Authority
JP
Japan
Prior art keywords
monitoring
route
relay device
monitored
state
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
JP2013164802A
Other languages
Japanese (ja)
Inventor
雅 前島
Masashi Maejima
雅 前島
英洋 福島
Hidehiro Fukushima
英洋 福島
圭介 門脇
Keisuke Kadowaki
圭介 門脇
聡之 久保
Satoyuki Kubo
聡之 久保
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.)
Alaxala Networks Corp
Original Assignee
Alaxala Networks Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alaxala Networks Corp filed Critical Alaxala Networks Corp
Priority to JP2013164802A priority Critical patent/JP2015035678A/en
Publication of JP2015035678A publication Critical patent/JP2015035678A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a network system in which a device to operate as a monitoring device is automatically selected without manpower.SOLUTION: The network system includes at least one relay device configuring a network. The relay device holds route information on the network. A management relay device of the relay devices which has accepted an input of information for identifying a monitored device external to the network refers to the route information and determines a relay device to operate as a monitoring device for monitoring a route to the monitored device. A relay device which has been determined to operate as a monitoring device monitors a route from the device itself to the monitored device.

Description

本発明は、ネットワークを構成する少なくとも一つの中継装置を有し、ネットワークの外部の被監視装置までの経路を監視するネットワークシステムに関する。   The present invention relates to a network system that has at least one relay device constituting a network and monitors a route to a monitored device outside the network.

近年、会社等が利用するシステム(例えば、ファイル共有システム及びメールシステム等)を外部ネットワーク(例えばインターネット)上のデータセンタに設置する事例、及び、ITサービス事業者によって提供されるWebベースのサービスを会社等が利用するシステムに利用する事例が増加している。これに伴って、外部ネットワークにあるリソースにアクセスし、このリソースを利用するシステムの形態が普及してきている。   In recent years, a system used by a company or the like (for example, a file sharing system and a mail system) is installed in a data center on an external network (for example, the Internet), and a Web-based service provided by an IT service provider Increasing use cases for systems used by companies. In connection with this, the form of the system which accesses the resource in an external network and uses this resource has prevailed.

一方、ネットワークでは、異常の発生を検出した場合に通信経路を切り替えて、通信を復旧させる経路制御が実施される。例えば、社内ネットワークのようなLAN(Local Area Network)を構成する中継装置は、ルーティングプロトコルを用いて、異常発生時に通信経路を動的に切り替える。しかし、インターネットのような外部ネットワークは回線事業者によって管理されるため、外部ネットワークで経路制御を実施することは困難であり、外部ネットワークの異常による通信断を社内ネットワーク側で検出することが困難となる。このため、社内ネットワークを構成する中継装置が、外部ネットワーク上に設置されたシステムまでの経路に異常が発生したか否かを監視する必要がある。   On the other hand, in the network, when an occurrence of an abnormality is detected, path control is performed to switch communication paths and restore communication. For example, a relay apparatus configuring a LAN (Local Area Network) such as an in-house network dynamically switches communication paths when an abnormality occurs using a routing protocol. However, since an external network such as the Internet is managed by the network operator, it is difficult to carry out route control in the external network, and it is difficult to detect a communication interruption due to an abnormality in the external network on the in-house network side. Become. For this reason, it is necessary to monitor whether or not a relay device constituting the in-house network has an abnormality in the route to the system installed on the external network.

現在、監視装置が、ICMP(Internet Control Message Protocol)又はSNMP(Simple Network Management Protocol)の応答要求パケットを監視パケットとして被監視装置に送信し、被監視装置からの監視パケットに対する応答の有無に基づいて経路を監視する技術がある。監視装置は、被監視装置から監視パケットに対する応答を所定回数受信しない場合、又は監視パケットを送信してから所定時間被監視装置から監視パケットに対する応答を受信しない場合、経路に異常が発生したと判断し、監視する経路を切り替える。この監視技術における監視装置は、経路を切り替える制御が必要となるため、パケット中継装等に実装される。   Currently, the monitoring device transmits an ICMP (Internet Control Message Protocol) or SNMP (Simple Network Management Protocol) response request packet as a monitoring packet to the monitored device, and based on whether there is a response to the monitoring packet from the monitored device There is a technology for monitoring the route. If the monitoring device does not receive a response to the monitoring packet from the monitored device a predetermined number of times, or does not receive a response to the monitoring packet from the monitored device for a predetermined time after transmitting the monitoring packet, it determines that an abnormality has occurred in the path Switch the route to be monitored. The monitoring device in this monitoring technology is mounted on a packet relay device or the like because control for switching the route is required.

このような監視技術に関する背景技術として、特開2010−087834号公報(特許文献1)及び特開2007−189615号公報(特許文献2)がある。   As background art relating to such a monitoring technique, there are JP 2010-087834 A (Patent Document 1) and JP 2007-189615 A (Patent Document 2).

特許文献1の公報には、「通信ネットワークを構成する複数のネットワークエレメントのうち、予め定められた監視対象のネットワークエレメントを監視する複数の監視サーバは、複数のネットワークエレメントから自身の監視対象のネットワークエレメントを抽出する割り振り情報を受信して、割り振り情報に応じた監視対象のネットワークエレメントを監視し、複数の監視サーバに接続された管理サーバは、複数の監視サーバのうち、いずれかの監視サーバによる監視処理が停止したことを検知すると、監視処理を停止した監視サーバ以外の監視サーバに監視処理を停止した監視サーバが監視対象としていたネットワークエレメントを含むネットワークエレメントを監視対象として抽出する割り振り情報を送信する。」と記載されている(要約参照)。   The publication of Patent Document 1 states that “a plurality of monitoring servers that monitor a predetermined network element to be monitored among a plurality of network elements that constitute a communication network include a network to be monitored from a plurality of network elements. Receives allocation information for extracting elements, monitors network elements to be monitored according to the allocation information, and a management server connected to multiple monitoring servers uses one of the multiple monitoring servers When it is detected that the monitoring process has stopped, the allocation information that extracts the network element including the network element that was monitored by the monitoring server that stopped the monitoring process is sent to the monitoring server other than the monitoring server that stopped the monitoring process. ” Summary reference).

特許文献2の公報には、「障害機器の情報を障害機器情報として収集する機器監視部120と、障害機器情報に対応する障害の原因を示す障害原因情報を有する診断ファイルを記憶する診断ファイル記憶部150と、上記障害機器情報に基づき上記診断ファイルから障害原因情報を取得して障害の原因を診断する障害原因解析部112と、障害機器情報とネットワークトポロジ情報とに基づき障害の影響範囲を特定する障害影響範囲解析部111と、上記障害の影響範囲を回避する通信経路である回避経路を機器の負荷情報に基づき算出する障害復旧部130とを備える。」と記載されている(要約参照)。   The gazette of Patent Literature 2 states that “a device monitoring unit 120 that collects information on a faulty device as faulty device information and a diagnostic file storage that stores a diagnostic file having fault cause information indicating the cause of the fault corresponding to the faulty device information. Unit 150, fault cause analysis unit 112 that acquires fault cause information from the diagnostic file based on the faulty device information and diagnoses the cause of the fault, and specifies the fault influence range based on the faulty device information and network topology information And a failure recovery unit 130 that calculates an avoidance path that is a communication path for avoiding the influence range of the failure based on device load information ”(see summary). .

特開2010−087834号公報JP 2010-087834 A 特開2007−189615号公報JP 2007-189615 A

上記した監視技術を用いたネットワークでは、監視装置として動作するパケット中継装置の選択、及び被監視装置の識別情報の監視装置への設定等が必要となる。現状では、ネットワーク管理者が、パケット中継装置の経路情報等を確認し、監視装置として動作するパケット中継装置を選択し、監視装置に被監視装置のIPアドレス情報等を設定している。   In a network using the above-described monitoring technique, it is necessary to select a packet relay device that operates as a monitoring device, and to set identification information of a monitored device in the monitoring device. At present, the network administrator confirms the route information of the packet relay device, selects the packet relay device operating as the monitoring device, and sets the IP address information of the monitored device in the monitoring device.

特許文献1及び特許文献2では、監視装置及び監視経路を動的に制御できるが、監視装置として動作する装置を自動的に決定できず、運用管理者等が監視装置として動作する装置を決定しなければならない。   In Patent Literature 1 and Patent Literature 2, the monitoring device and the monitoring path can be dynamically controlled, but the device that operates as the monitoring device cannot be automatically determined, and the operation manager or the like determines the device that operates as the monitoring device. There must be.

このように、人手を介して監視装置として動作する装置を選択する場合、運用管理者の負担が大きくなる問題がある。また、ネットワークの構成が変更された場合等、運用管理者は監視装置として動作する装置を再度決定しなければならない。   As described above, when a device that operates as a monitoring device is selected manually, there is a problem that the burden on the operation manager increases. In addition, when the network configuration is changed, the operation manager must again determine a device that operates as a monitoring device.

本発明は、人手を介さず自動で監視装置として動作する装置が決定されるネットワークシステムを提供することを目的とする。   An object of the present invention is to provide a network system in which a device that automatically operates as a monitoring device is determined without human intervention.

本発明の代表的な一例を示せば、ネットワークを構成する少なくとも一つの中継装置を有するネットワークシステムであって、前記中継装置は、前記ネットワークの経路情報を保持し、前記中継装置のうち前記ネットワークの外部の被監視装置を特定するための情報の入力を受け付けた管理中継装置は、前記経路情報を参照し、前記被監視装置までの経路を監視する監視装置として動作する中継装置を決定し、前記監視装置として動作することに決定された中継装置は、自身から前記被監視装置までの経路を監視することを特徴とするネットワークシステム。   A representative example of the present invention is a network system having at least one relay device that constitutes a network, the relay device holding route information of the network, and of the network among the relay devices. The management relay device that has received an input of information for identifying an external monitored device determines the relay device that operates as a monitoring device that monitors the route to the monitored device with reference to the route information, and A network system, wherein a relay device determined to operate as a monitoring device monitors a route from itself to the monitored device.

本願において開示される発明のうち代表的なものによって得られる効果を簡潔に説明すれば、下記の通りである。すなわち、人手を介さず自動で監視装置として動作する装置が選択されるネットワークシステムを提供することができる。   The effects obtained by the representative ones of the inventions disclosed in the present application will be briefly described as follows. That is, it is possible to provide a network system in which a device that automatically operates as a monitoring device is selected without human intervention.

上記した以外の課題、構成、及び効果は、以下の実施形態の説明により明らかにされる。   Problems, configurations, and effects other than those described above will be clarified by the following description of embodiments.

本発明の実施例のネットワークシステムの説明図である。It is explanatory drawing of the network system of the Example of this invention. 本発明の実施例のパケット中継装置のブロック図である。It is a block diagram of the packet relay apparatus of the Example of this invention. 本発明の実施例の経路情報データベースの説明図である。It is explanatory drawing of the path | route information database of the Example of this invention. 本発明の実施例の監視状態情報データベースの説明図である。It is explanatory drawing of the monitoring status information database of the Example of this invention. 本発明の実施例の監視制御データの説明図である。It is explanatory drawing of the monitoring control data of the Example of this invention. 本発明の実施例の監視状態変更通知の説明図である。It is explanatory drawing of the monitoring state change notification of the Example of this invention. 本発明の実施例の監視装置決定処理のフローチャートである。It is a flowchart of the monitoring apparatus determination process of the Example of this invention. 本発明の実施例の監視制御データ受信処理のフローチャートである。It is a flowchart of the monitoring control data reception process of the Example of this invention. 本発明の実施例の監視状態がactiveの監視装置が実行する経路監視処理のフローチャートである。It is a flowchart of the path | route monitoring process which the monitoring apparatus of the Example of this invention performs the monitoring state active. 本発明の実施例の監視状態変更通知受信処理のフローチャートである。It is a flowchart of the monitoring state change notification reception process of the Example of this invention. 本発明の実施例の監視状態がdownの監視装置が実行する経路復旧監視処理のフローチャートである。It is a flowchart of the path | route recovery monitoring process which the monitoring apparatus of the Example of this invention performs the monitoring state down. 本発明の実施例の監視装置の監視状態の遷移の説明図である。It is explanatory drawing of the transition of the monitoring state of the monitoring apparatus of the Example of this invention. 本発明の実施例の監視装置の監視状態が遷移するイベントの説明図である。It is explanatory drawing of the event in which the monitoring state of the monitoring apparatus of the Example of this invention changes.

本発明の実施例を図1〜図12Bを用いて説明する。   An embodiment of the present invention will be described with reference to FIGS.

図1は、本発明の実施例1のネットワークシステムの説明図である。   FIG. 1 is an explanatory diagram of a network system according to a first embodiment of this invention.

本ネットワークシステムでは、LAN(Local Area Network)2は外部ネットワークに接続される。具体的には、LAN2は、WAN(Wide Area Network)4を経由して、データセンタ3のファイルサーバ30A及びWebサーバ30Bに接続される。   In this network system, a LAN (Local Area Network) 2 is connected to an external network. Specifically, the LAN 2 is connected to a file server 30A and a Web server 30B of the data center 3 via a WAN (Wide Area Network) 4.

LAN2に接続される図示しないユーザ端末は、ファイルサーバ30A及びWebサーバ30Bにアクセスし、ファイルサーバ30A及びWebサーバ30Bが提供するサービスを利用する。   A user terminal (not shown) connected to the LAN 2 accesses the file server 30A and the web server 30B and uses services provided by the file server 30A and the web server 30B.

LAN2は、パケット中継装置20A〜20Dによって構成され、パケット中継装置20C及び20DはWAN4に接続される。LAN2内の経路は、リンクステート型ルーティングプロトコルによって制御される。   The LAN 2 includes packet relay apparatuses 20A to 20D, and the packet relay apparatuses 20C and 20D are connected to the WAN 4. The route in the LAN 2 is controlled by a link state type routing protocol.

リンクステート型プロトコルでは、あるパケット中継装置20は、隣接するパケット中継装置20から経路情報を収集し、収集した経路情報を経路情報データベース411(図3参照)に格納する。これによって、LAN2を構成するパケット中継装置20は、互いの経路情報を把握できる。   In the link state protocol, a packet relay device 20 collects route information from adjacent packet relay devices 20 and stores the collected route information in a route information database 411 (see FIG. 3). Thereby, the packet relay apparatuses 20 configuring the LAN 2 can grasp each other's route information.

本実施例では、リンクステート型ルーティングプロトコルとして、OSPF(Open Shortest Path First)を例に説明するが、IS−IS(Intermediate System to Intermediate System)及びNLSP(NetWare Link State Protocol)等であってもよい。また、LAN2を構成するパケット中継装置20A〜20Dを総称する場合には、パケット中継装置20と記載する。   In this embodiment, OSPF (Open Shortest Path First) is described as an example of the link state routing protocol, but IS-IS (Intermediate System to Intermediate System), NLSP (NetWare Link State Protocol), and the like may be used. . Further, the packet relay devices 20A to 20D constituting the LAN 2 are collectively referred to as the packet relay device 20.

LAN2には運用管理ネットワーク1が接続され、運用管理ネットワーク1の運用管理端末10は、各パケット中継装置20に各種設定情報等を入力する。   The operation management network 1 is connected to the LAN 2, and the operation management terminal 10 of the operation management network 1 inputs various setting information to each packet relay device 20.

データセンタ3には、ファイルサーバ30A、Webサーバ30B、並びに、パケット中継装置31A及び31Bが配置される。   In the data center 3, a file server 30A, a Web server 30B, and packet relay apparatuses 31A and 31B are arranged.

上記したように、ファイルサーバ30A及びWebサーバ30Bは、図示しないユーザ端末にサービスを提供し、監視装置として動作するパケット中継装置20が経路を監視する被監視装置となる。パケット中継装置31A及び31BはWAN4に接続される。   As described above, the file server 30A and the Web server 30B provide a service to a user terminal (not shown), and the packet relay device 20 that operates as a monitoring device becomes a monitored device that monitors the route. The packet relay devices 31A and 31B are connected to the WAN 4.

LAN2を構成するパケット中継装置20のいずれかに、運用管理端末10から被監視装置の識別情報(例えばIPアドレス)が入力されると、被監視装置の識別情報が入力されたパケット中継装置20は監視装置として動作するパケット中継装置20を決定する管理装置として動作する。   When identification information (for example, an IP address) of a monitored device is input from one of the operation management terminals 10 to one of the packet relay devices 20 constituting the LAN 2, the packet relay device 20 to which the identification information of the monitored device is input It operates as a management device that determines the packet relay device 20 that operates as a monitoring device.

管理装置として動作するパケット中継装置20は、自身の経路情報データベース411(図2参照)を参照し、監視装置として動作するパケット中継装置20を決定する。図1では、パケット中継装置20Aが管理装置として動作し、外部ネットワークに接続されるパケット中継装置20C及び20Dが監視装置として動作する。なお、詳細は図7で説明するが、監視装置として動作するパケット中継装置20C及び20Dのうち、パケット中継装置20Cの監視状態がactiveに設定され、パケット中継装置20Dの監視状態がstandbyに設定される。   The packet relay device 20 that operates as the management device refers to its own route information database 411 (see FIG. 2) and determines the packet relay device 20 that operates as the monitoring device. In FIG. 1, the packet relay device 20A operates as a management device, and the packet relay devices 20C and 20D connected to the external network operate as monitoring devices. Although details will be described with reference to FIG. 7, the monitoring state of the packet relay device 20C among the packet relay devices 20C and 20D operating as the monitoring device is set to active, and the monitoring state of the packet relay device 20D is set to standby. The

監視状態がactiveに設定されたパケット中継装置20Cは、被監視装置となるファイルサーバ30A及びWebサーバ30Bに監視パケットを送信する。そして、パケット中継装置20Cは、ファイルサーバ30A及びWebサーバ30Bからの監視パケットに対する応答パケットの受信の有無に基づいて、ファイルサーバ30Aまでの経路、及びWebサーバ30Bまでの経路に異常が発生したか否かを判定することによって、これらの経路を監視する。   The packet relay apparatus 20C whose monitoring state is set to active transmits a monitoring packet to the file server 30A and the Web server 30B that are monitored apparatuses. Whether the packet relay apparatus 20C has an abnormality in the path to the file server 30A and the path to the Web server 30B based on whether or not a response packet to the monitoring packet from the file server 30A and the Web server 30B has been received. These paths are monitored by determining whether or not.

一方、監視状態がstandbyに設定されたパケット中継装置20Dは、監視パケットを送信せずに待機し、パケット中継装置20Cがファイルサーバ30Aまでの経路及びWebサーバ30Bまでの経路の少なくとも一方に異常が発生したと判定した場合に、自身の監視状態をactiveに設定し、監視パケットを送信する。   On the other hand, the packet relay device 20D whose monitoring state is set to standby waits without transmitting a monitoring packet, and the packet relay device 20C has an abnormality in at least one of the route to the file server 30A and the route to the Web server 30B. If it is determined that it has occurred, its own monitoring state is set to active, and a monitoring packet is transmitted.

なお、図1では、被監視装置が複数の装置である場合を例に説明したが、被監視装置が一つの装置であってもよい。また、被監視装置はファイルサーバ30A及びWebサーバ30bに限定されず、LAN2の外部ネットワークに配置される装置であればよい。また、図1では、LAN2はWAN4を経由してデータセンタ3に接続されたが、LAN2はWAN4を経由せずにデータセンタ3に接続されてもよい。また、被監視装置としては、ファイルサーバ30A及びWebサーバ30Bに限定されず、LAN2を構成するパケット中継装置20からアクセスされる外部ネットワークの装置であればよい。   In FIG. 1, the case where the monitored device is a plurality of devices has been described as an example, but the monitored device may be a single device. The monitored devices are not limited to the file server 30A and the Web server 30b, and may be devices that are arranged on the external network of the LAN 2. In FIG. 1, the LAN 2 is connected to the data center 3 via the WAN 4, but the LAN 2 may be connected to the data center 3 without going through the WAN 4. Further, the monitored devices are not limited to the file server 30A and the Web server 30B, and may be devices of an external network accessed from the packet relay device 20 configuring the LAN 2.

図2は、本発明の実施例のパケット中継装置20のブロック図である。   FIG. 2 is a block diagram of the packet relay device 20 according to the embodiment of this invention.

パケット中継装置20は、管理機能処理部100、装置構成定義部200、監視機能処理部300、及びルーティングプロトコル処理部400を有する。   The packet relay device 20 includes a management function processing unit 100, a device configuration definition unit 200, a monitoring function processing unit 300, and a routing protocol processing unit 400.

管理機能処理部100は、管理装置としての機能をパケット中継装置20に実装し、監視装置として動作するパケット中継装置20を決定する。管理機能処理部100は、経路情報検索部101、初期監視状態決定部102、及び監視制御データ作成部103を有する。   The management function processing unit 100 implements a function as a management device in the packet relay device 20 and determines the packet relay device 20 that operates as a monitoring device. The management function processing unit 100 includes a route information search unit 101, an initial monitoring state determination unit 102, and a monitoring control data creation unit 103.

経路情報検索部101は、運用管理端末10から入力された被監視装置のIPアドレスに対応する経路情報を経路情報データベース411から検索する。初期監視状態決定部102は、経路情報検索部101の検索結果に基づいて、監視装置として動作するパケット中継装置20を決定し、監視装置として動作するパケット中継装置20の監視状態を決定する。監視制御データ作成部103は、監視装置として動作するパケット中継装置20の識別情報及び当該パケット中継装置20の監視状態等を含む監視制御データを作成する。監視制御データの詳細は、図5で詳細を説明する。   The route information search unit 101 searches the route information database 411 for route information corresponding to the IP address of the monitored device input from the operation management terminal 10. The initial monitoring state determination unit 102 determines the packet relay device 20 that operates as the monitoring device based on the search result of the route information search unit 101, and determines the monitoring state of the packet relay device 20 that operates as the monitoring device. The monitoring control data creation unit 103 creates monitoring control data including identification information of the packet relay device 20 operating as the monitoring device, a monitoring state of the packet relay device 20, and the like. Details of the monitoring control data will be described with reference to FIG.

装置構成定義部200は、パケット中継装置20の構成定義情報を有し、運用管理端末10から入力された被監視装置のIPアドレスが登録される監視先IPアドレス情報201を有する。   The device configuration definition unit 200 includes configuration definition information of the packet relay device 20 and monitoring destination IP address information 201 in which the IP address of the monitored device input from the operation management terminal 10 is registered.

監視機能処理部300は、監視装置としての機能をパケット中継装置20に実装し、監視状態情報管理部310、監視情報受信処理部320、及び監視情報送信処理部330を有する。   The monitoring function processing unit 300 implements a function as a monitoring device in the packet relay device 20, and includes a monitoring state information management unit 310, a monitoring information reception processing unit 320, and a monitoring information transmission processing unit 330.

なお、管理装置として動作するパケット中継装置20が送信する監視制御データ、及び監視装置として動作するパケット中継装置20が監視状態を変更した場合に送信する監視状態変更通知を総称して、監視状態情報という。また、監視状態情報及び監視装置として動作するパケット中継装置20が送信する監視パケットを総称して、監視情報という。   Note that the monitoring control data transmitted by the packet relay device 20 operating as the management device and the monitoring status change notification transmitted when the packet relay device 20 operating as the monitoring device changes the monitoring status are collectively referred to as monitoring status information. That's it. The monitoring status information and the monitoring packets transmitted by the packet relay device 20 operating as the monitoring device are collectively referred to as monitoring information.

監視状態情報管理部310は、監視状態情報に基づいて、自身の監視状態及び他のパケット中継装置20の監視状態を管理する。監視状態情報管理部310は、監視状態情報データベース311、監視状態管理部312、及び監視状態変更通知作成部313を有する。   The monitoring status information management unit 310 manages its own monitoring status and the monitoring status of other packet relay apparatuses 20 based on the monitoring status information. The monitoring status information management unit 310 includes a monitoring status information database 311, a monitoring status management unit 312, and a monitoring status change notification creation unit 313.

監視状態情報データベース311には、自身の監視状態及び他のパケット中継装置20の監視状態が登録される。監視状態情報データベース311の詳細は、図4で説明する。監視状態管理部312は、自身の監視状態を管理する。監視状態変更通知作成部313は、自身の監視状態を変更する場合に、その旨を他のパケット中継装置20に通知する監視状態変更通知を作成する。監視状態変更通知の詳細は図6で説明する。   The monitoring status information database 311 registers its own monitoring status and the monitoring status of other packet relay apparatuses 20. Details of the monitoring state information database 311 will be described with reference to FIG. The monitoring state management unit 312 manages its own monitoring state. When the monitoring state change notification creation unit 313 changes its own monitoring state, the monitoring state change notification creation unit 313 creates a monitoring state change notification that notifies the other packet relay apparatus 20 to that effect. Details of the monitoring state change notification will be described with reference to FIG.

監視情報受信処理部320は、監視パケットに対する応答パケット及び監視状態情報を受信した場合の処理を実行する。監視情報受信処理部320は、監視状態情報解析部321、死活判定処理部322、及び監視情報受信処理部323を有する。   The monitoring information reception processing unit 320 executes processing when a response packet to the monitoring packet and monitoring status information are received. The monitoring information reception processing unit 320 includes a monitoring state information analysis unit 321, a life / death determination processing unit 322, and a monitoring information reception processing unit 323.

監視状態情報解析部321は、受信した監視状態情報を解析する。死活判定処理部322は、被監視装置からの監視パケットに対する応答パケットの受信の有無に基づいて、被監視装置までの経路に異常が発生しているか否かを判定する。監視情報受信処理部323は、受信した監視情報を適切なモジュールに入力する。   The monitoring state information analysis unit 321 analyzes the received monitoring state information. The life / death determination processing unit 322 determines whether or not an abnormality has occurred in the route to the monitored device based on whether or not a response packet to the monitoring packet from the monitored device has been received. The monitoring information reception processing unit 323 inputs the received monitoring information to an appropriate module.

監視情報送信処理部330は、監視情報を送信し、監視パケット送信処理部331、及び監視状態情報送信処理部332を有する。監視パケット送信処理部331は監視パケットを被監視装置に送信する。監視状態情報送信処理部332は、監視制御データ及び監視状態変更通知を他のパケット中継装置20に送信する。   The monitoring information transmission processing unit 330 transmits monitoring information, and includes a monitoring packet transmission processing unit 331 and a monitoring state information transmission processing unit 332. The monitoring packet transmission processing unit 331 transmits the monitoring packet to the monitored device. The monitoring status information transmission processing unit 332 transmits the monitoring control data and the monitoring status change notification to the other packet relay device 20.

ルーティングプロトコル処理部400は、ルーティングプロトコルに関する処理を実行し、経路情報管理部410、経路計算処理部420、及び制御パケット送受信処理部430を有する。   The routing protocol processing unit 400 executes processing related to the routing protocol, and includes a route information management unit 410, a route calculation processing unit 420, and a control packet transmission / reception processing unit 430.

経路情報管理部410は、自身の経路情報及び他のパケット中継装置20から送信された経路情報を管理し、経路情報データベース411を有する。経路情報データベース411には、自身の経路情報及び他のパケット中継装置20から送信された経路情報が登録される。経路情報データベース411の詳細は図3で説明する。経路計算処理部420は、パケットの転送に用いる経路を計算する。制御パケット送受信処理部430は、経路情報等の制御パケットを送受信する処理を実行する。   The route information management unit 410 manages its own route information and route information transmitted from other packet relay apparatuses 20, and has a route information database 411. In the route information database 411, own route information and route information transmitted from other packet relay apparatuses 20 are registered. Details of the route information database 411 will be described with reference to FIG. The route calculation processing unit 420 calculates a route used for packet transfer. The control packet transmission / reception processing unit 430 executes processing for transmitting / receiving control packets such as route information.

図3は、本発明の実施例の経路情報データベース411の説明図である。   FIG. 3 is an explanatory diagram of the route information database 411 according to the embodiment of this invention.

経路情報データベース411には、自身の経路情報及び他のパケット中継装置20の経路情報が登録される。経路情報データベース411は、宛先アドレス情報301、広告元装置ID302、及びメトリック値303を含む。   In the route information database 411, own route information and route information of other packet relay devices 20 are registered. The route information database 411 includes destination address information 301, an advertisement source device ID 302, and a metric value 303.

宛先アドレス情報301には、自身又は経路情報を送信したパケット中継装置20の接続先となるパケット中継装置20又は外部ネットワークのIPアドレスが登録される。広告元装置ID302には、経路情報を送信したパケット中継装置20の識別情報(例えば、IPアドレス)が登録される。メトリック値303には、メトリック値が登録される。通常、メトリック値は、経路情報を送信したパケット中継装置20から宛先アドレス情報301に登録されたIPアドレスによって特定される装置までのホップ数であるが、本実施例のメトリック値は、経路情報を送信するパケット中継装置20に管理者によって設定された優先度である。なお、メトリック値が小さい方が、優先度が高いことを意味する。   In the destination address information 301, the IP address of the packet relay device 20 or the external network that is the connection destination of the packet relay device 20 that has transmitted the route information or itself is registered. In the advertisement source apparatus ID 302, identification information (for example, IP address) of the packet relay apparatus 20 that has transmitted the route information is registered. A metric value is registered in the metric value 303. Normally, the metric value is the number of hops from the packet relay device 20 that has transmitted the route information to the device specified by the IP address registered in the destination address information 301. However, the metric value in this embodiment is the route information. This is the priority set by the administrator for the packet relay apparatus 20 to be transmitted. A smaller metric value means a higher priority.

なお、図1に示すネットワークシステムでは、被監視装置であるファイルサーバ30A(IPアドレス:10.1.1.1/24)及びWebサーバ30B(IPアドレス;10.1.1.2/24)は、10.1.1.0/24の同一のサブネットに属する。このため、外部ネットワークに接続されるパケット中継装置20C(1.1.1.1)及びパケット中継装置20D(2.2.2.2)が送信元となる経路情報は、10.1.1.0/24となり、図3に示す経路情報データベース411の広告元装置ID302が「1.1.1.1」及び「2.2.2.2」のレコードの宛先アドレス情報301には「10.1.1.0/24」が登録される。   In the network system shown in FIG. 1, the file server 30A (IP address: 10.1.1.1/24) and Web server 30B (IP address: 10.1.1.2/24), which are monitored devices, are used. Belong to the same subnet of 10.1.1.0/24. For this reason, the route information that is the source of the packet relay device 20C (1.1.1.1) and the packet relay device 20D (2.2.2.2) connected to the external network is 10.1.1. The destination address information 301 of the records whose advertisement source device IDs 302 in the route information database 411 shown in FIG. 3 are “1.1.1.1” and “2.2.2.2” are “10”. .1.1.0 / 24 "is registered.

図3に示す経路情報データベース411は、図1に示す管理装置として動作するパケット中継装置20Aが保持する。また、図3に示す経路情報データベース411の1行目のエントリにはパケット中継装置20Cの経路情報が登録され、2行目のエントリにはパケット中継装置20Dの経路情報が登録される。   The routing information database 411 shown in FIG. 3 is held by the packet relay device 20A operating as the management device shown in FIG. Further, the route information of the packet relay device 20C is registered in the entry in the first row of the route information database 411 shown in FIG. 3, and the route information of the packet relay device 20D is registered in the entry in the second row.

図4は、本発明の実施例の監視状態情報データベース311の説明図である。   FIG. 4 is an explanatory diagram of the monitoring state information database 311 according to the embodiment of this invention.

監視状態情報データベース311には、管理装置として動作するパケット中継装置20から送信される監視制御データ及び監視状態が変更されたパケット中継装置20から送信される監視状態変更通知に基づいて、監視装置として動作するパケット中継装置20の監視状態が登録される。   The monitoring status information database 311 includes a monitoring device based on the monitoring control data transmitted from the packet relay device 20 operating as a management device and the monitoring status change notification transmitted from the packet relay device 20 whose monitoring status has been changed. The monitoring status of the operating packet relay device 20 is registered.

監視状態情報データベース311は、被監視装置IPアドレス401、監視装置ID402、監視状態403、及び優先度404を含む。   The monitoring status information database 311 includes a monitored device IP address 401, a monitoring device ID 402, a monitoring status 403, and a priority 404.

被監視装置IPアドレス401には、被監視装置のIPアドレスが登録される。監視装置ID402には、監視装置として動作するパケット中継装置20の識別情報が登録される。監視状態403には、監視装置として動作するパケット中継装置20の監視状態が登録される。優先度404には、監視装置として動作するパケット中継装置20に設定されたメトリック値が優先度として登録される。   In the monitored device IP address 401, the IP address of the monitored device is registered. In the monitoring device ID 402, identification information of the packet relay device 20 that operates as the monitoring device is registered. In the monitoring state 403, the monitoring state of the packet relay device 20 operating as a monitoring device is registered. In the priority 404, a metric value set in the packet relay device 20 operating as a monitoring device is registered as a priority.

監視状態は、active、standby、及びdownの三つの状態がある。監視状態がactiveの監視装置は、被監視装置に監視パケットを送信する。監視状態がstandbyの監視装置は、監視パケットを送信せず、監視状態がactiveの監視装置から監視状態がdownとなったことを示す監視状態変更通知が送信されるまで待機する。監視状態がactiveの監視装置が、被監視装置までの経路に異常を検出した場合、監視状態をdownに変更し、異常の回復を検出可能にするために、監視パケットを被監視装置に送信する。   There are three monitoring states: active, standby, and down. A monitoring device whose monitoring state is active transmits a monitoring packet to the monitored device. The monitoring device whose monitoring state is standby does not transmit a monitoring packet, but waits until a monitoring state change notification indicating that the monitoring state is down is transmitted from the monitoring device whose monitoring state is active. When a monitoring device with an active monitoring state detects an abnormality in the route to the monitored device, the monitoring state is changed to “down” and a monitoring packet is transmitted to the monitored device in order to enable recovery from the abnormality. .

図5は、本発明の実施例の監視制御データの説明図である。   FIG. 5 is an explanatory diagram of monitoring control data according to the embodiment of this invention.

管理装置として動作するパケット中継装置20は、監視装置として動作するパケット中継装置20を決定した場合、監視制御データを送信する。   When the packet relay apparatus 20 operating as the management apparatus determines the packet relay apparatus 20 operating as the monitoring apparatus, the packet relay apparatus 20 transmits monitoring control data.

監視制御データは、被監視装置のIPアドレス、監視装置として動作するパケット中継装置20の識別情報、当該監視装置に設定される監視状態、及び優先度を含む。   The monitoring control data includes the IP address of the monitored device, the identification information of the packet relay device 20 operating as the monitoring device, the monitoring state set in the monitoring device, and the priority.

パケット中継装置20は、管理装置から送信された監視制御データを受信し、受信した管理制御データの内容を監視状態情報データベース311に登録することによって、監視装置の監視状態及び優先度を把握できる。   The packet relay device 20 receives the monitoring control data transmitted from the management device, and registers the contents of the received management control data in the monitoring status information database 311 so that the monitoring status and priority of the monitoring device can be grasped.

図5に示す監視制御データは、管理装置として動作するパケット中継装置20Aが送信したものであり、被監視装置のIPアドレスが「10.1.1.1」であり、パケット中継装置20C(「1.1.1.1」)の監視状態をactiveに設定し、このパケット中継装置20Cの優先度が1であること、及び、パケット中継装置20D(「2.2.2.2」)の監視状態をstandbyに設定し、このパケット中継装置20Dの優先度が5であることを示す情報を含む。   The monitoring control data shown in FIG. 5 is transmitted by the packet relay device 20A operating as a management device, and the IP address of the monitored device is “10.1.1.1”, and the packet relay device 20C (“ 1.1.1.1 ") is set to active, the priority of the packet relay device 20C is 1, and the packet relay device 20D (" 2.2.2.2 ") The monitoring state is set to standby, and information indicating that the priority of the packet relay device 20D is 5 is included.

図6は、本発明の実施例の監視状態変更通知の説明図である。   FIG. 6 is an explanatory diagram of the monitoring state change notification according to the embodiment of this invention.

監視装置として動作するパケット中継装置20は、監視状態を変更した場合、その旨を示す監視状態変更通知を送信する。   When the monitoring state is changed, the packet relay device 20 that operates as the monitoring device transmits a monitoring state change notification indicating that.

監視状態変更通知は、被監視装置のIPアドレス、監視状態を変更した監視装置の識別情報、及び変更後の監視状態を含む。   The monitoring status change notification includes the IP address of the monitored device, the identification information of the monitoring device whose monitoring status has been changed, and the monitoring status after the change.

パケット中継装置20は、監視状態変更通知を受信し、受信した監視状態変更通知の内容に基づいて、監視状態情報データベース311を更新することによって、監視装置の監視状態が変更されても、変更後の監視装置の監視状態を把握できる。   The packet relay device 20 receives the monitoring state change notification, and updates the monitoring state information database 311 based on the content of the received monitoring state change notification. Can monitor the monitoring status of other monitoring devices.

図6に示す監視状態変更通知は、監視状態がactiveであったパケット中継装置20Cが、ファイルサーバ30Aまでの経路に異常を検出し、自身の監視状態をdownに変更した場合に送信される。具体的には、監視状態変更通知は、被監視装置のIPアドレスが「1.1.1.1」であり、パケット中継装置20C(「1.1.1.1」)の監視状態をdownに変更したことを示す情報を含む。   The monitoring status change notification shown in FIG. 6 is transmitted when the packet relay apparatus 20C whose monitoring status is active detects an abnormality in the route to the file server 30A and changes its monitoring status to down. Specifically, in the monitoring status change notification, the IP address of the monitored device is “1.1.1.1”, and the monitoring status of the packet relay device 20C (“1.1.1.1”) is down. Contains information indicating that the change was made.

図7は、本発明の実施例の監視装置決定処理のフローチャートである。   FIG. 7 is a flowchart of the monitoring device determination process according to the embodiment of this invention.

監視装置決定処理は、被監視装置のIPアドレスが入力された管理装置として動作するパケット中継装置20によって実行され、LAN2を構成するパケット中継装置20から監視装置として動作するパケット中継装置20を決定する処理である。   The monitoring device determination process is executed by the packet relay device 20 that operates as a management device to which the IP address of the monitored device is input, and determines the packet relay device 20 that operates as the monitoring device from the packet relay device 20 configuring the LAN 2. It is processing.

パケット中継装置20は、運用管理端末10から被監視装置のIPアドレスの入力を受け付ける(701)。パケット中継装置20が被監視装置のIPアドレスの入力を受け付けたタイミングで監視装置決定処理の実行を開始する。   The packet relay device 20 receives the input of the IP address of the monitored device from the operation management terminal 10 (701). At the timing when the packet relay apparatus 20 receives the input of the IP address of the monitored apparatus, execution of the monitoring apparatus determination process is started.

次に、被監視装置のIPアドレスの入力を受け付けたパケット中継装置20の装置構成定義部200は、入力を受け付けた被監視装置のIPアドレスを監視先IPアドレス情報201に登録し、被監視装置のIPアドレスが入力された旨を示す設定変更通知を管理機能処理部100に出力する(702)。   Next, the device configuration definition unit 200 of the packet relay device 20 that has received the input of the IP address of the monitored device registers the IP address of the monitored device that has received the input in the monitoring destination IP address information 201, and A setting change notification indicating that the IP address is input is output to the management function processing unit 100 (702).

装置構成定義部200から設定変更通知が管理機能処理部100に入力された場合、管理機能処理部100の監視制御データ作成部103は、監視先IPアドレス情報201に登録された被監視装置のIPアドレスを取得し、取得した被監視装置のIPアドレスを含む監視制御データを作成する(703)。   When a setting change notification is input from the device configuration definition unit 200 to the management function processing unit 100, the monitoring control data creation unit 103 of the management function processing unit 100 outputs the IP of the monitored device registered in the monitoring destination IP address information 201. The address is acquired, and monitoring control data including the acquired IP address of the monitored device is created (703).

次に、経路情報検索部101は、取得した被監視装置のIPアドレスをキーに経路情報データベース411から経路情報を検索する(704)。   Next, the route information search unit 101 searches for route information from the route information database 411 using the acquired IP address of the monitored device as a key (704).

具体的には、経路情報検索部101は、経路情報データベース411の宛先アドレス情報301に登録されたIPアドレスに被監視装置のIPアドレスが含まれるレコードを、経路情報データベース411から検索する。   Specifically, the route information search unit 101 searches the route information database 411 for a record in which the IP address registered in the destination address information 301 of the route information database 411 includes the IP address of the monitored device.

ステップ704の処理で検索された経路情報は被監視装置のIPアドレスまで到達可能な経路であり、当該経路情報を送信したパケット中継装置20は被監視装置までの経路上に位置する。当該パケット中継装置20から送信された監視パケットは被監視装置に経路に異常がなければ到達可能である。このため、ステップ704の処理で検索されたレコードの広告元装置ID302に登録された識別情報によって識別されるパケット中継装置20が監視装置に決定される。   The route information retrieved in the process of step 704 is a route that can reach the IP address of the monitored device, and the packet relay device 20 that transmitted the route information is located on the route to the monitored device. The monitoring packet transmitted from the packet relay device 20 can reach the monitored device if there is no abnormality in the route. For this reason, the packet relay apparatus 20 identified by the identification information registered in the advertisement source apparatus ID 302 of the record searched in the process of step 704 is determined as the monitoring apparatus.

次に、ステップ705〜708の処理で、初期監視状態決定部102が監視装置の監視状態を決定する。   Next, in the processes of steps 705 to 708, the initial monitoring state determination unit 102 determines the monitoring state of the monitoring device.

まず、初期監視状態決定部102は、ステップ704の処理で検索された経路情報をメトリック値の小さい順にソートする(705)。なお、図3で説明したように、メトリック値は経路情報の優先度を示し、メトリック値が小さいほど優先度は高くなる。   First, the initial monitoring state determination unit 102 sorts the route information searched in the process of step 704 in ascending order of metric values (705). As described with reference to FIG. 3, the metric value indicates the priority of the path information, and the smaller the metric value, the higher the priority.

そして、初期監視状態決定部102は、メトリック値の最も小さい経路情報(すなわち、優先度が最高の経路情報)の送信元となるパケット中継装置20の監視状態をactiveに決定し、監視制御データ作成部103は、当該パケット中継装置20の識別情報、監視状態がactiveとなる旨、及び当該パケット中継装置20のメトリック値(優先度)を監視制御データに追加する(706)。   Then, the initial monitoring state determination unit 102 determines the monitoring state of the packet relay device 20 that is the transmission source of the route information with the smallest metric value (that is, the route information with the highest priority) to be active, and creates monitoring control data The unit 103 adds the identification information of the packet relay device 20, that the monitoring status is active, and the metric value (priority) of the packet relay device 20 to the monitoring control data (706).

なお、メトリック値が最も小さい(すなわち、優先度が最高の)経路情報の送信元となるパケット中継装置20が複数ある場合、初期監視状態決定部102は、これらのパケット中継装置20の識別情報が最大のパケット中継装置20の監視状態をactiveに決定する。   When there are a plurality of packet relay apparatuses 20 that are the transmission sources of route information having the smallest metric value (that is, the highest priority), the initial monitoring state determination unit 102 stores the identification information of these packet relay apparatuses 20. The monitoring state of the largest packet relay device 20 is determined to be active.

次に、初期監視状態決定部102は、ステップ704の処理で検索された経路情報に、ステップ706の処理で監視状態をactiveに決定された経路情報以外の経路情報があるか否かを判定する(707)。   Next, the initial monitoring state determination unit 102 determines whether or not the route information searched in the process of step 704 includes route information other than the route information whose monitoring state is determined to be active in the process of step 706. (707).

ステップ706の処理で監視状態をactiveに決定された経路情報以外の経路情報があると、ステップ707の処理で判定された場合、初期監視状態決定部102は、当該経路情報の送信元となるパケット中継装置20の監視状態をstandbyに決定し、監視制御データ作成部103は、当該パケット中継装置20の識別情報、監視状態がstandbyとなる旨、及び当該パケット中継装置20のメトリック値(優先度)を監視制御データに追加し(708)、ステップ709の処理に進む。   If there is route information other than the route information whose monitoring state is determined to be active in the process of step 706, the initial monitoring state determination unit 102 determines that the packet serving as the transmission source of the route information is determined in the process of step 707 The monitoring state of the relay device 20 is determined to be standby, and the monitoring control data creation unit 103 identifies the packet relay device 20 with the identification information, the monitoring state becomes standby, and the metric value (priority) of the packet relay device 20 Is added to the monitoring control data (708), and the process proceeds to step 709.

一方、ステップ706の処理で監視状態をactiveに決定された経路情報以外の経路情報がないと、ステップ707の処理で判定された場合、ステップ708の処理を実行せずに、ステップ709の処理に進む。   On the other hand, if there is no route information other than the route information whose monitoring state is determined to be active in the process of step 706, if the process of step 707 is determined, the process of step 708 is not executed and the process of step 709 is performed. move on.

そして、監視状態情報送信処理部332は、監視制御データを他のパケット中継装置20に送信し(709)、処理を終了する。   Then, the monitoring state information transmission processing unit 332 transmits the monitoring control data to the other packet relay device 20 (709), and ends the processing.

なお、監視状態情報管理部310は、ステップ709の処理で送信した監視制御データを監視状態情報データベース311に登録する。具体的には、監視状態情報管理部310は、監視状態情報データベース311の監視装置ID402に監視制御データに含まれる監視装置の識別情報が登録されていなければ、数分のレコードを監視状態情報データベース311に追加し、各レコードの監視装置ID402に、監視制御データに含まれる監視装置の識別情報を追加する。また、監視状態情報管理部310は、追加したレコードの被監視装置IPアドレス401に、監視制御データに含まれる被監視装置のIPアドレスを登録し、追加したレコードの監視状態403に監視制御データに含まれる監視状態を登録し、追加したレコードの優先度404に監視制御データに含まれる優先度(メトリック値)を登録する。なお、監視状態情報管理部310は、監視状態情報データベース311の監視装置ID402に監視制御データに含まれる監視装置の識別情報が登録されている
場合、当該レコードを監視制御データに基づいて更新する。
Note that the monitoring state information management unit 310 registers the monitoring control data transmitted in step 709 in the monitoring state information database 311. Specifically, the monitoring status information management unit 310 records several minutes of records in the monitoring status information database if the identification information of the monitoring device included in the monitoring control data is not registered in the monitoring device ID 402 of the monitoring status information database 311. In addition, the identification information of the monitoring device included in the monitoring control data is added to the monitoring device ID 402 of each record. In addition, the monitoring status information management unit 310 registers the IP address of the monitored device included in the monitoring control data in the monitored device IP address 401 of the added record, and adds the monitoring control data to the monitoring status 403 of the added record. The monitoring state included is registered, and the priority (metric value) included in the monitoring control data is registered in the priority 404 of the added record. When the monitoring device identification information included in the monitoring control data is registered in the monitoring device ID 402 of the monitoring state information database 311, the monitoring state information management unit 310 updates the record based on the monitoring control data.

なお、図1では、管理装置として動作するパケット中継装置20A以外のパケット中継装置(パケット中継装置20C及び20D)が監視装置として決定されるが、管理装置として動作するパケット中継装置20A自身が監視装置として決定されてもよい。この場合であっても、管理装置として動作するパケット中継装置20Aは、他のパケット中継装置20に自身が監視装置として動作することを通知するため、監視制御データを送信する。   In FIG. 1, packet relay apparatuses (packet relay apparatuses 20C and 20D) other than the packet relay apparatus 20A operating as the management apparatus are determined as the monitoring apparatuses, but the packet relay apparatus 20A itself operating as the management apparatus is the monitoring apparatus. May be determined. Even in this case, the packet relay device 20A operating as a management device transmits monitoring control data to notify the other packet relay device 20 that it operates as a monitoring device.

以上によって、被監視装置のIPアドレスが入力され、管理装置として動作するパケット中継装置20は、経路情報データベース411を参照し、被監視装置まで到達可能な経路上に位置するパケット中継装置20を監視装置として決定する。   As described above, the IP address of the monitored device is input, and the packet relay device 20 operating as a management device refers to the route information database 411 and monitors the packet relay device 20 located on the route that can reach the monitored device. Determine as a device.

また、管理装置は、監視装置が複数存在する場合、予め決定された経路の優先度に基づいて、優先度の最も高い監視装置の監視状態をactiveに決定し、その他の監視装置の監視状態をstandbyに決定する。これによって、複数の監視装置の経路の監視を冗長化することができる。   In addition, when there are a plurality of monitoring devices, the management device determines the monitoring status of the monitoring device with the highest priority as active based on the predetermined priority of the route, and sets the monitoring status of the other monitoring devices. Determine to standby. As a result, the monitoring of the paths of the plurality of monitoring devices can be made redundant.

なお、図7では、監視状態をactiveとする監視装置を決定するための優先度としてメトリック値を用いたが、パケット中継装置20の識別情報を優先度として用いてもよい。   In FIG. 7, the metric value is used as the priority for determining the monitoring device whose monitoring state is active, but the identification information of the packet relay device 20 may be used as the priority.

図7に示す監視装置決定処理は、被監視装置のIPアドレスがパケット中継装置20に入力された場合だけでなく、監視装置が決定された後に、LAN2の構成が変更された場合にも管理装置によって実行される。LAN2の構成が変更された場合とは、例えば、経路情報のメトリック値が変更された場合、パケット中継装置20の識別情報が変更された場合、及びLAN2の経路が異常等によって変更された場合等を含む。   The monitoring device determination process shown in FIG. 7 is performed not only when the IP address of the monitored device is input to the packet relay device 20, but also when the configuration of the LAN 2 is changed after the monitoring device is determined. Executed by. When the configuration of the LAN 2 is changed, for example, when the metric value of the route information is changed, when the identification information of the packet relay device 20 is changed, or when the route of the LAN 2 is changed due to an abnormality or the like including.

経路情報のメトリック値が変更された場合、各パケット中継装置20の経路情報データベース411のメトリック値303が変更され、パケット中継装置20の識別情報が変更された場合、各パケット中継装置20の経路情報データベース411の広告元装置ID302が変更され、LAN2の経路が変更された場合、各パケット中継装置20の経路情報データベース411の宛先アドレス情報301が変更される。   When the metric value of the route information is changed, the metric value 303 of the route information database 411 of each packet relay device 20 is changed, and when the identification information of the packet relay device 20 is changed, the route information of each packet relay device 20 When the advertisement source device ID 302 of the database 411 is changed and the route of the LAN 2 is changed, the destination address information 301 of the route information database 411 of each packet relay device 20 is changed.

このように経路情報データベース411が変更された場合には、管理装置は、変更後の経路情報データベース411に基づいて再度監視装置決定処理を実行する。これによって、LAN2の構成が変更されても、変更後の経路情報データベース411に基づく適切な監視装置が決定される。   When the route information database 411 is changed in this way, the management device executes the monitoring device determination process again based on the changed route information database 411. Thus, even if the configuration of the LAN 2 is changed, an appropriate monitoring device based on the changed route information database 411 is determined.

図8は、本発明の実施例の監視制御データ受信処理のフローチャートである。   FIG. 8 is a flowchart of monitoring control data reception processing according to the embodiment of this invention.

監視制御データ受信処理は、パケット中継装置20が監視制御データを受信した場合に実行され、受信した監視制御データに基づいて自身の監視状態を設定する処理である。   The monitoring control data reception process is executed when the packet relay apparatus 20 receives monitoring control data, and is a process for setting its own monitoring state based on the received monitoring control data.

まず、監視情報受信処理部320の監視状態情報解析部321は、受信した監視制御データを解析し、受信した監視制御データに含まれる監視装置の識別情報に自身の識別情報が含まれるか否かを判定する(801)。   First, the monitoring state information analysis unit 321 of the monitoring information reception processing unit 320 analyzes the received monitoring control data, and whether or not its own identification information is included in the identification information of the monitoring device included in the received monitoring control data. Is determined (801).

ステップ801の処理で、受信した監視制御データに含まれる監視装置の識別情報に自身の識別情報が含まれないと判定された場合、監視状態情報管理部310は、受信した監視制御データを監視状態情報データベース311に登録し(807)、処理を終了する。なお、具体的な監視状態情報データベース311への登録処理は、図7のステップ709の処理と同じなので、説明を省略する。   If it is determined in step 801 that the identification information of the monitoring device included in the received monitoring control data does not include its own identification information, the monitoring state information management unit 310 monitors the received monitoring control data in the monitoring state. The information is registered in the information database 311 (807), and the process ends. The specific registration process in the monitoring state information database 311 is the same as the process in step 709 in FIG.

一方、ステップ801の処理で、受信した監視制御データに含まれる監視装置の識別情報に自身の識別情報が含まれると判定された場合、監視状態情報解析部321は、受信した監視制御データを参照し、自身の識別情報に対応する監視状態がactiveであるか否かを判定する(802)。   On the other hand, if it is determined in step 801 that the identification information of the monitoring device included in the received monitoring control data includes its own identification information, the monitoring state information analysis unit 321 refers to the received monitoring control data. Then, it is determined whether or not the monitoring state corresponding to its own identification information is active (802).

ステップ802の処理で、自身の識別情報に対応する監視状態がactiveであると判定された場合、監視状態管理部312は、受信した監視制御データに含まれる被監視装置のIPアドレスと自身の監視状態(active)と対応付けて保持し、自身の監視状態をactiveに設定する(803)。   If it is determined in step 802 that the monitoring state corresponding to its own identification information is active, the monitoring state management unit 312 includes the IP address of the monitored device included in the received monitoring control data and its own monitoring. It is stored in association with the state (active), and its own monitoring state is set to active (803).

次に、監視状態情報管理部310は、受信した監視制御データを監視状態情報データベース311に登録する(804)。なお、具体的な監視状態情報データベース311への登録処理は、図7のステップ709の処理と同じなので、説明を省略する。   Next, the monitoring status information management unit 310 registers the received monitoring control data in the monitoring status information database 311 (804). The specific registration process in the monitoring state information database 311 is the same as the process in step 709 in FIG.

そして、監視パケット送信処理部331は、被監視装置にパケットの送信を開始し(805)、処理を終了する。   Then, the monitoring packet transmission processing unit 331 starts packet transmission to the monitored device (805) and ends the processing.

一方、ステップ802の処理で、自身の識別情報に対応する監視状態がactiveでないと判定された場合、すなわち、自身の識別情報に対応する監視状態がstandbyである場合、監視状態管理部312は、受信した監視制御データに含まれる被監視装置のIPアドレスと自身の監視状態(standby)と対応付けて保持し、自身の監視状態をstandbyに設定し(806)、ステップ807の処理に進み、受信した監視制御データを監視状態情報データベース311に登録し、処理を終了する。   On the other hand, when it is determined in the process of step 802 that the monitoring state corresponding to its own identification information is not active, that is, when the monitoring state corresponding to its own identification information is standby, the monitoring state management unit 312 The IP address of the monitored device included in the received monitoring control data is stored in association with its own monitoring state (standby), the own monitoring state is set to standby (806), and the process proceeds to step 807 for reception. The monitoring control data thus registered is registered in the monitoring state information database 311 and the process is terminated.

なお、監視状態をstandbyに設定した監視装置は、監視パケットを送信せず、監視状態をactiveに設定した監視装置から監視状態変更通知を受信するまで処理を待機する。   Note that the monitoring device whose monitoring state is set to standby does not transmit a monitoring packet and waits for processing until a monitoring state change notification is received from the monitoring device whose monitoring state is set to active.

以上のように、パケット中継装置20は、受信した監視制御データに基づいて自身の監視状態を設定し、受信した監視制御データを監視状態情報データベース311に登録する。また、監視装置として動作しないパケット中継装置20も受信した監視制御データを監視状態情報データベース311に登録する。これによって、全てのパケット中継装置20が、監視装置として動作するパケット中継装置20、監視装置の監視状態、及び監視装置の優先度を把握できる。   As described above, the packet relay apparatus 20 sets its own monitoring state based on the received monitoring control data, and registers the received monitoring control data in the monitoring state information database 311. The packet relay device 20 that does not operate as a monitoring device also registers the received monitoring control data in the monitoring state information database 311. Thereby, all the packet relay devices 20 can grasp the packet relay device 20 operating as the monitoring device, the monitoring state of the monitoring device, and the priority of the monitoring device.

図9は、本発明の実施例の監視状態がactiveの監視装置が実行する経路監視処理のフローチャートである。   FIG. 9 is a flowchart of the path monitoring process executed by the monitoring apparatus whose monitoring state is active according to the embodiment of this invention.

経路監視処理は、監視状態がactiveに設定されたパケット中継装置20で実行され、被監視装置までの経路に異常が発生したか否かを監視する処理である。   The route monitoring process is a process that is executed by the packet relay device 20 whose monitoring state is set to active and monitors whether or not an abnormality has occurred in the route to the monitored device.

経路の監視方法として、応答要求パケットの送信回数と応答要求パケットに対する応答の受信回数との差分に基づいて経路の異常を判定する方法等があるが、本実施例では、応答要求パケットを送信してから所定時間以内に応答パケットを受信するか否かに基づいて経路の異常を判定する方法を用いる。   As a route monitoring method, there is a method of determining an abnormality of a route based on a difference between the number of times of sending a response request packet and the number of times of receiving a response to the response request packet. In this embodiment, a response request packet is sent. A method is used in which a path abnormality is determined based on whether or not a response packet is received within a predetermined time.

監視状態がactiveに設定された監視装置の監視パケット送信処理部331は、ICMP(Internet Control Message Protocol)の応答要求パケットを監視パケットとして被監視装置に所定時間間隔で送信し、死活判定処理部322は、監視パケットの送信時刻を記憶する(901)。被監視装置は、監視パケットを受信した場合、ICMPの応答パケットを監視装置に送信する。なお、監視パケットはICMPの応答要求パケット以外のパケットであってもよく、応答パケットもICMPの応答パケット以外のパケットであってもよい。   The monitoring packet transmission processing unit 331 of the monitoring device whose monitoring state is set to active transmits an ICMP (Internet Control Message Protocol) response request packet to the monitored device as a monitoring packet at a predetermined time interval, and the life / death determination processing unit 322. Stores the transmission time of the monitoring packet (901). When the monitored device receives the monitoring packet, the monitored device transmits an ICMP response packet to the monitoring device. The monitoring packet may be a packet other than the ICMP response request packet, and the response packet may be a packet other than the ICMP response packet.

次に、死活判定処理部322は、被監視装置から応答パケットを受信したか否かを判定する(902)。   Next, the life / death determination processing unit 322 determines whether a response packet has been received from the monitored device (902).

ステップ902の処理で被監視装置から応答パケットを受信したと判定された場合、死活判定処理部322は応答パケットの受信時刻を記憶し(908)、ステップ901の処理に戻る。   If it is determined in step 902 that a response packet has been received from the monitored device, the life / death determination processing unit 322 stores the reception time of the response packet (908), and the process returns to step 901.

一方、ステップ902の処理で被監視装置から応答パケットを受信していないと判定された場合、死活判定処理部322は、監視パケットの送信時刻と現在時刻との差分を算出する(903)。そして、死活判定処理部322は、算出した差分が閾値より大きいか否かを判定する(904)。   On the other hand, if it is determined in step 902 that the response packet has not been received from the monitored device, the life / death determination processing unit 322 calculates the difference between the transmission time of the monitoring packet and the current time (903). Then, the life and death determination processing unit 322 determines whether or not the calculated difference is larger than the threshold (904).

ステップ904の処理で差分が閾値以下であると判定された場合、死活判定処理部322は、被監視装置までの経路に異常が発生していないと判定し、ステップ902の処理に戻る。   When it is determined in step 904 that the difference is equal to or smaller than the threshold value, the life / death determination processing unit 322 determines that an abnormality has not occurred in the route to the monitored device, and the process returns to step 902.

ステップ904の処理で差分が閾値より大きいと判定された場合、死活判定処理部322は被監視装置までの経路に異常が発生したと判定し、監視状態管理部312は、当該被監視装置に対する監視状態をdownに更新する(905)。   If it is determined in step 904 that the difference is greater than the threshold, the life / death determination processing unit 322 determines that an abnormality has occurred in the route to the monitored device, and the monitoring state management unit 312 monitors the monitored device. The state is updated to down (905).

そして、監視状態情報管理部310は、監視状態情報データベース311のレコードのうち、被監視装置IPアドレス401に、異常が発生したと判定された経路の被監視装置のIPアドレスが登録され、かつ監視装置ID402に自身の識別情報が登録されたレコードの監視状態403をactiveからdownに更新する(906)。   Then, the monitoring state information management unit 310 registers the monitored device IP address of the route determined to have an abnormality in the monitored device IP address 401 in the records of the monitoring state information database 311, and performs monitoring. The monitoring state 403 of the record whose identification information is registered in the device ID 402 is updated from active to down (906).

そして、監視状態変更通知作成部313は監視状態変更通知を作成し、監視状態情報送信処理部332は監視状態変更通知を他のパケット中継装置20に送信し(907)、処理を終了する。監視状態変更通知作成部313が作成する監視状態変更通知は、異常が発生したと判定された経路の被監視装置のIPアドレス、自身の識別情報、及び変更後の監視状態であるdownを含む。   Then, the monitoring state change notification creation unit 313 creates a monitoring state change notification, and the monitoring state information transmission processing unit 332 transmits the monitoring state change notification to the other packet relay apparatus 20 (907), and ends the process. The monitoring status change notification created by the monitoring status change notification creation unit 313 includes the IP address of the monitored device on the path determined to have an abnormality, its own identification information, and down that is the monitoring status after the change.

なお、監視状態がdownに設定された監視装置は、異常の回復を検出するために、監視パケットを所定時間間隔で被監視装置に送信する。監視状態がdownに設定された監視装置における処理は、図11で詳細を説明する。   Note that the monitoring apparatus whose monitoring state is set to down transmits monitoring packets to the monitored apparatus at predetermined time intervals in order to detect recovery from an abnormality. Details of the processing in the monitoring apparatus in which the monitoring state is set to down will be described with reference to FIG.

また、死活判定処理部322は、被監視装置までの経路に異常が発生したと判定された場合、経路変更通知をルーティングプロトコル処理部400に入力し、ルーティングプロトコル処理部400は、ルーティングプロトコルの制御パケットを用いて経路を切り替える。この場合、異常が発生した経路上にある被監視装置に接続され、かつ異常が発生した経路のパケット中継装置20のメトリック値の次にメトリック値が小さいパケット中継装置20を経由する経路に切り替えられる。   When it is determined that an abnormality has occurred in the route to the monitored device, the life / death determination processing unit 322 inputs a route change notification to the routing protocol processing unit 400, and the routing protocol processing unit 400 controls the routing protocol. Switch routes using packets. In this case, the route is switched to the route via the packet relay device 20 that is connected to the monitored device on the route in which the abnormality has occurred and that has the next metric value smaller than the metric value of the packet relay device 20 in the route in which the abnormality has occurred. .

以上によって、監視状態がactiveに設定されたパケット中継装置20は、応答パケットの受信の有無に基づいて、被監視装置までの経路に異常が発生したか否かを判定し、当該経路に異常が発生した場合、自身の監視状態をdownに設定し、監視状態変更通知を他のパケット中継装置20に送信する。   As described above, the packet relay device 20 whose monitoring state is set to active determines whether or not an abnormality has occurred in the route to the monitored device based on whether or not a response packet has been received. If it occurs, it sets its own monitoring state to down and transmits a monitoring state change notification to the other packet relay device 20.

図10は、本発明の実施例の監視状態変更通知受信処理のフローチャートである。   FIG. 10 is a flowchart of monitoring state change notification reception processing according to the embodiment of this invention.

監視状態変更通知受信処理は、パケット中継装置20が他の監視装置から監視状態変更通知を受信した場合に実行され、受信した監視状態変更通知に基づいて自身の監視状態を変更する処理である。   The monitoring status change notification reception process is executed when the packet relay device 20 receives a monitoring status change notification from another monitoring device, and changes its own monitoring status based on the received monitoring status change notification.

まず、監視情報受信処理部323が、他の監視装置から送信された監視状態変更通知を受信する(1001)。   First, the monitoring information reception processing unit 323 receives a monitoring state change notification transmitted from another monitoring device (1001).

次に、監視状態情報解析部321は、受信した監視状態変更通知を解析し、受信した監視状態変更通知に含まれる監視状態を取得する(1002)。そして、監視状態情報解析部321は、ステップ1002の処理で取得した監視状態がdown又はstandbyであるか否かを判定する(1003)。   Next, the monitoring status information analysis unit 321 analyzes the received monitoring status change notification and acquires the monitoring status included in the received monitoring status change notification (1002). Then, the monitoring state information analysis unit 321 determines whether or not the monitoring state acquired in the process of Step 1002 is down or standby (1003).

ステップ1002の処理で取得した監視状態がdown又はstandbyであると、ステップ1003の処理で判定された場合、監視状態管理部312は、受信した監視状態変更通知に含まれる被監視装置のIPアドレスによって識別される被監視装置(以下、監視状態変更被監視装置という)に対する自身の監視状態がstandbyであるか否かを判定する(1004)。   If it is determined in step 1003 that the monitoring state acquired in step 1002 is “down” or “standby”, the monitoring state management unit 312 determines whether the monitored state is included in the received monitoring state change notification. It is determined whether the monitoring status of the monitored device to be identified (hereinafter referred to as the monitored status change monitored device) is standby (1004).

ステップ1004の処理で、監視状態変更被監視装置に対する自身の監視状態がstandbyであると判定された場合、監視状態情報管理部310は、監視状態情報データベース311の被監視装置IPアドレス401に監視状態変更被監視装置のIPアドレスが登録されているレコードを取得することによって、監視状態変更被監視装置に対して監視装置として動作する他のパケット中継装置20の有無、及び当該監視装置の優先度等を取得する(1005)。   If it is determined in step 1004 that the monitoring status of the monitored status change monitored device is standby, the monitoring status information management unit 310 sets the monitored status to the monitored device IP address 401 of the monitoring status information database 311. By obtaining a record in which the IP address of the monitored device to be changed is acquired, the presence / absence of another packet relay device 20 that operates as a monitoring device for the monitored status change monitored device, the priority of the monitoring device, and the like Is acquired (1005).

次に、監視状態情報管理部310は、ステップ1005の処理で取得した情報を参照し、監視状態変更被監視装置のIPアドレスに対する監視状態がstandbyである他の監視装置がないという第1条件、及び自身の優先度が最も高いという第2条件の少なくとも一方に適合するか否かを判定する(1006)。   Next, the monitoring state information management unit 310 refers to the information acquired in the process of step 1005, and the first condition that there is no other monitoring device whose monitoring state with respect to the IP address of the monitoring state change monitored device is standby, And it is determined whether or not it satisfies at least one of the second conditions that its own priority is the highest (1006).

なお、受信した監視制御データの変更後の監視状態がstandbyである場合、当該監視制御データを送信した監視装置は監視状態がstandbyである他の監視装置に該当するので、第1条件には常に適合しない。このため、受信した監視制御データの変更後の監視状態がstandbyである場合、ステップ1006の処理では、監視状態情報管理部310は、第2条件に適合するか否かを判定する。   When the monitoring state after the change of the received monitoring control data is “standby”, the monitoring device that transmitted the monitoring control data corresponds to another monitoring device with the monitoring state “standby”. not compatible. For this reason, when the monitoring state after the change of the received monitoring control data is standby, in the processing of step 1006, the monitoring state information management unit 310 determines whether or not the second condition is satisfied.

ステップ1006の処理で、第1条件及び第2条件の少なくとも一方に適合すると判定された場合、監視状態管理部312は、監視状態変更被監視装置に対する自身の監視状態をactiveに変更し、監視状態情報管理部310は、監視状態情報データベース311のレコードのうち、被監視装置IPアドレス401に監視状態変更被監視装置のIPアドレスが登録され、かつ監視装置ID402に自身の識別情報が登録されたレコードの監視状態403をstandbyからactiveに更新する(1007)。   If it is determined in step 1006 that at least one of the first condition and the second condition is met, the monitoring state management unit 312 changes its monitoring state for the monitored state change monitored device to active, and the monitoring state The information management unit 310 records, among the records in the monitoring state information database 311, the IP address of the monitored state change monitored device is registered in the monitored device IP address 401 and the identification information of itself is registered in the monitoring device ID 402. The monitoring state 403 is updated from standby to active (1007).

そして、監視状態変更通知作成部313は監視状態変更通知を作成し、監視状態情報送信処理部332は監視状態変更通知を他のパケット中継装置20に送信する(1008)。監視状態変更通知作成部313が作成する監視状態変更通知は、監視状態被監視装置のIPアドレス、自身の識別情報、及び変更後の監視状態であるactiveを含む。   Then, the monitoring state change notification creation unit 313 creates a monitoring state change notification, and the monitoring state information transmission processing unit 332 transmits the monitoring state change notification to another packet relay device 20 (1008). The monitoring state change notification created by the monitoring state change notification creating unit 313 includes the IP address of the monitored device to be monitored, its own identification information, and active which is the changed monitoring state.

次に、監視状態情報管理部310は、受信した監視状態変更通知に基づいて監視状態情報データベース311を更新し(1009)、処理を終了する。具体的には、監視状態情報管理部310は、監視状態情報データベース311のレコードのうち、被監視装置IPアドレス401に監視状態変更被監視装置のIPアドレスが登録され、かつ監視装置ID402に受信した監視状態変更通知に含まれる監視装置の識別情報が登録されたレコードの監視状態403に受信した監視情報変更通知に含まれる監視状態を登録する。   Next, the monitoring status information management unit 310 updates the monitoring status information database 311 based on the received monitoring status change notification (1009), and ends the processing. Specifically, the monitoring state information management unit 310 registers the monitored state change monitored device IP address in the monitored device IP address 401 of the records in the monitoring state information database 311 and receives the monitored device ID 402 in the monitored device ID 402. The monitoring status included in the received monitoring information change notification is registered in the monitoring status 403 of the record in which the identification information of the monitoring device included in the monitoring status change notification is registered.

なお、ステップ1004の処理で、監視状態変更被監視装置に対する自身の監視状態がstandbyでないと判定された場合、又は、ステップ1006の処理で、第1条件及び第2条件のいずれにも適合しないと判定された場合、ステップ1009の処理に進む。   Note that if it is determined in step 1004 that the monitored state of the monitored state change monitored device is not standby, or if it is determined in step 1006 that neither the first condition nor the second condition is met. If it is determined, the process proceeds to step 1009.

一方、ステップ1002の処理で取得した監視状態がdown又はstandbyでないと、ステップ1003の処理で判定された場合(すなわち、ステップ1002の処理で取得した監視状態がactiveである場合)、監視状態管理部312は、監視状態変更被監視装置に対する自身の監視状態がactiveであるか否かを判定する(1010)。   On the other hand, if the monitoring state acquired in step 1002 is not down or standby, if it is determined in step 1003 (that is, the monitoring state acquired in step 1002 is active), the monitoring state management unit 312 determines whether the monitoring state of the monitoring state change monitored device is active (1010).

ステップ1010の処理で、監視状態変更被監視装置に対する自身の監視状態がactiveであると判定された場合、監視状態情報管理部310は、監視状態情報データベース311のレコードのうち、被監視装置IPアドレス401に監視状態変更被監視装置のIPアドレスが登録され、かつ、監視装置ID402に受信した監視状態変更通知に含まれる監視装置の識別情報が登録されているレコードの優先度404を取得する(1011)。   If it is determined in step 1010 that the monitoring status of the monitored status change monitored device is active, the monitoring status information management unit 310 includes the monitored device IP address in the records of the monitoring status information database 311. The priority 404 of the record in which the IP address of the monitoring state change monitored device is registered in 401 and the identification information of the monitoring device included in the received monitoring state change notification is registered in the monitoring device ID 402 is acquired (1011). ).

そして、監視状態情報管理部310は、自身の優先度がステップ1011の処理で取得した優先度より低いか否かを判定する(1012)。   Then, the monitoring state information management unit 310 determines whether or not its own priority is lower than the priority acquired in step 1011 (1012).

ステップ1014の処理で、自身の優先度がステップ1011の処理で取得した優先度より低いと判定された場合、監視状態管理部312は、監視状態変更被監視装置に対する自身の監視状態をstandbyに変更し、監視状態情報管理部310は、監視状態情報データベース311のレコードのうち、被監視装置IPアドレス401に監視状態変更被監視装置のIPアドレスが登録され、かつ監視装置ID402に自身の識別情報が登録されたレコードの監視状態403をactiveからstandbyに更新する(1013)。   If it is determined in step 1014 that its own priority is lower than the priority acquired in step 1011, the monitoring state management unit 312 changes its monitoring state for the monitored state change monitored device to “standby”. Then, the monitoring state information management unit 310 registers the monitoring state change monitored device IP address in the monitored device IP address 401 of the records in the monitoring state information database 311, and the monitoring device ID 402 has its own identification information. The monitoring state 403 of the registered record is updated from active to standby (1013).

そして、監視状態変更通知作成部313は監視状態変更通知を作成し、監視状態情報送信処理部332は監視状態変更通知を他のパケット中継装置20に送信し(1014)、ステップ1009の処理に進む。監視状態変更通知作成部313が作成する監視状態変更通知は、監視状態被監視装置のIPアドレス、自身の識別情報、及び変更後の監視状態であるstandbyを含む。   Then, the monitoring state change notification creation unit 313 creates a monitoring state change notification, and the monitoring state information transmission processing unit 332 transmits the monitoring state change notification to another packet relay apparatus 20 (1014), and proceeds to the processing of step 1009. . The monitoring state change notification created by the monitoring state change notification creation unit 313 includes the IP address of the monitored device to be monitored, its own identification information, and standby that is the changed monitoring state.

ステップ1010の処理で、監視状態変更被監視装置に対する自身の監視状態がactiveでないと判定された場合、及びステップ1012の処理で、自身の優先度がステップ1011の処理で取得した優先度以上であると判定された場合、自身の監視状態を変更しないため、ステップ1009の処理に進み、処理を終了する。   If it is determined in step 1010 that the monitoring status of the monitored device whose monitoring status is changed is not active, and the processing in step 1012, its own priority is higher than the priority acquired in step 1011. If it is determined that the monitoring state is not changed, the process proceeds to step 1009 and the process ends.

以上によって、監視状態がstandbyの監視装置として動作するパケット中継装置20は、監視状態をdown又はstandbyに変更した旨の監視状態変更通知を受信した場合、監視状態変更被監視装置に対する監視状態がstandbyの他の監視装置がない場合、及び、自身の優先度が最も高い場合、自身の監視状態をactiveに変更する。また、監視状態がactiveの監視装置として動作するパケット中継装置20は、監視状態をactiveに変更した旨の監視状態変更通知を受信した場合、自身の優先度が、監視状態をactiveに変更した監視装置の優先度より低い場合、自身の監視状態をstandbyに変更する。   As described above, when the packet relay apparatus 20 operating as a monitoring apparatus whose monitoring state is “standby” receives a monitoring state change notification indicating that the monitoring state has been changed to “down” or “standby”, the monitoring state for the monitoring state change monitored apparatus is “standby”. When there is no other monitoring device and when the priority of the device is highest, the monitoring state of the device is changed to active. When the packet relay apparatus 20 operating as a monitoring apparatus whose monitoring state is active receives a monitoring state change notification indicating that the monitoring state has been changed to active, the packet relay apparatus 20 whose monitoring has changed its monitoring state to active If it is lower than the priority of the device, the own monitoring state is changed to standby.

図11は、本発明の実施例の監視状態がdownの監視装置が実行する経路復旧監視処理のフローチャートである。   FIG. 11 is a flowchart of the path restoration monitoring process executed by the monitoring apparatus whose monitoring state is “down” according to the embodiment of this invention.

経路復旧監視処理は、被監視装置までの経路に異常を検出して監視状態をdownに変更した監視装置によって実行され、異常が検出された経路が正常に復旧することを検出する処理である。   The path recovery monitoring process is a process that is executed by a monitoring apparatus that detects an abnormality in the path to the monitored apparatus and changes the monitoring state to down, and detects that the path in which the abnormality is detected is normally recovered.

監視状態がdownに設定された監視装置の監視パケット送信処理部331は、図9に示すステップ901の処理と同様に、監視パケットを被監視装置に所定時間間隔で送信する(1101)。   The monitoring packet transmission processing unit 331 of the monitoring device whose monitoring state is set to “down” transmits the monitoring packet to the monitored device at predetermined time intervals in the same manner as the processing of Step 901 shown in FIG. 9 (1101).

次に、死活判定処理部322は、被監視装置から応答パケットを受信したか否かを判定する(1102)。被監視装置までの経路に異常が発生している場合、被監視装置からの応答パケットは当該パケット中継装置20に到達しないが、被監視装置までの経路に発生した異常が復旧した場合、被監視装置からの応答パケットは当該パケット中継装置20に到達する。   Next, the life / death determination processing unit 322 determines whether or not a response packet has been received from the monitored device (1102). When an abnormality has occurred in the route to the monitored device, the response packet from the monitored device does not reach the packet relay device 20, but when the abnormality that has occurred in the route to the monitored device is recovered, The response packet from the device reaches the packet relay device 20.

ステップ1102の処理で、被監視装置から応答パケットを受信していないと判定された場合、死活判定処理部322は被監視装置までの経路の異常が復旧していないと判定し、ステップ1101の処理に戻り、監視パケットを被監視装置に送信する。   If it is determined in step 1102 that a response packet has not been received from the monitored device, the life / death determination processing unit 322 determines that the abnormality of the path to the monitored device has not been recovered, and the processing in step 1101 Then, the monitoring packet is transmitted to the monitored device.

一方、ステップ1102の処理で、被監視装置から応答パケットを受信したと判定された場合、死活判定処理部322は被監視装置までの経路の異常が復旧したと判定し、自身の監視状態をdownからactive又はstandbyに変更する処理を実行する。   On the other hand, if it is determined in step 1102 that a response packet has been received from the monitored device, the life / death determination processing unit 322 determines that the abnormality of the route to the monitored device has been recovered, and sets its own monitoring state to down. The process of changing from active to standby is executed.

監視状態情報管理部310は、監視状態情報データベース311の被監視装置IPアドレス401に異常が復旧した経路の被監視装置(以下、異常復旧被監視装置という)のIPアドレスが登録されているレコードを取得することによって、異常復旧被監視装置に対する監視状態がactiveの監視装置として動作する他のパケット中継装置20の有無、及び他の監視装置の優先度等を取得する(1103)。   The monitoring state information management unit 310 records a record in which the IP address of the monitored device (hereinafter referred to as an abnormally recovered monitored device) on the path where the abnormality has been recovered is registered in the monitored device IP address 401 of the monitoring state information database 311. By acquiring, the presence / absence of another packet relay device 20 operating as a monitoring device whose active state is monitored for the error recovery monitored device, the priority of the other monitoring device, and the like are acquired (1103).

次に、監視状態情報管理部310は、ステップ1103の処理で取得した情報を参照し、異常復旧被監視装置に対する監視状態がactiveである監視装置がないという第1条件、及び監視装置の中で自身の優先度が最も高いという第2条件の少なくとも一方に適合するか否かを判定する(1104)。   Next, the monitoring status information management unit 310 refers to the information acquired in the processing of step 1103, and in the first condition that there is no monitoring device whose monitoring status for the error recovery monitored device is active, and among the monitoring devices It is determined whether or not it satisfies at least one of the second conditions that its own priority is the highest (1104).

ステップ1104の処理で、第1条件及び第2条件の少なくとも一方に適合すると判定された場合、監視状態管理部312は、異常復旧被監視装置に対する自身の監視状態をactiveに変更し、監視状態情報管理部310は、監視状態情報データベース311のレコードのうち、被監視装置IPアドレス401に異常復旧被監視装置のIPアドレスが登録され、かつ監視装置ID402に自身の識別情報が登録されたレコードの監視状態403をdownからactiveに更新する(1105)。   If it is determined in step 1104 that at least one of the first condition and the second condition is met, the monitoring state management unit 312 changes its own monitoring state for the error recovery monitored device to active, and monitoring state information The management unit 310 monitors a record in the monitoring state information database 311 in which the IP address of the monitored device to be recovered from the abnormality is registered in the monitored device IP address 401 and the identification information of the monitoring device ID 402 is registered. The state 403 is updated from down to active (1105).

そして、監視状態変更通知作成部313は監視状態変更通知を作成し、監視状態情報送信処理部332は監視状態変更通知を他のパケット中継装置20に送信し(1106)、処理を終了する。監視状態変更通知作成部313が作成する監視状態変更通知は、異常復旧被監視装置のIPアドレス、自身の識別情報、及び変更後の監視状態であるactiveを含む。   Then, the monitoring state change notification creation unit 313 creates a monitoring state change notification, and the monitoring state information transmission processing unit 332 transmits the monitoring state change notification to the other packet relay apparatus 20 (1106), and the processing is terminated. The monitoring state change notification created by the monitoring state change notification creating unit 313 includes the IP address of the abnormally monitored device, its own identification information, and active which is the changed monitoring state.

一方、ステップ1104の処理で、第1条件及び第2条件に適合しないと判定された場合、監視状態管理部312は、異常復旧被監視装置に対する自身の監視状態をstandbyに変更し、監視状態情報管理部310は、監視状態情報データベース311のレコードのうち、被監視装置IPアドレス401に異常復旧被監視装置のIPアドレスが登録され、かつ監視装置ID402に自身の識別情報が登録されたレコードの監視状態403をdownからstandbyに更新する(1107)。   On the other hand, if it is determined in step 1104 that the first condition and the second condition are not met, the monitoring state management unit 312 changes its own monitoring state for the error recovery monitored device to standby, and the monitoring state information The management unit 310 monitors a record in the monitoring state information database 311 in which the IP address of the monitored device to be recovered from the abnormality is registered in the monitored device IP address 401 and the identification information of the monitoring device ID 402 is registered. The state 403 is updated from down to standby (1107).

そして、監視状態変更通知作成部313は監視状態変更通知を作成し、監視状態情報送信処理部332は監視状態変更通知を他のパケット中継装置20に送信し(1108)、処理を終了する。監視状態変更通知作成部313が作成する監視状態変更通知は、異常復旧被監視装置のIPアドレス、自身の識別情報、及び変更後の監視状態であるstandbyを含む。   Then, the monitoring state change notification creation unit 313 creates a monitoring state change notification, and the monitoring state information transmission processing unit 332 transmits the monitoring state change notification to the other packet relay apparatus 20 (1108), and the process is terminated. The monitoring state change notification created by the monitoring state change notification creation unit 313 includes the IP address of the abnormally monitored device, its own identification information, and standby which is the changed monitoring state.

例えば、図1において、パケット中継装置20Cの監視状態がdownに設定され、パケット中継装置20Dの監視状態がactiveに設定され、パケット中継装置20Cが経路復旧監視処理を実行しているとする。この場合、パケット中継装置20Cは、被監視装置までの経路が復旧したと判定されると、ステップ1104の処理では、パケット中継装置20Dの監視状態がactiveであるので第1条件には適合しないが、パケット中継装置20Cの優先度(メトリック値)「1」で、パケット中継装置20Dの優先度「5」より高いので、第2条件に適合すると判断される。このため、パケット中継装置20Cは、自身の監視状態をactiveに変更し、監視状態をactiveに変更した旨の監視状態変更通知を送信する。   For example, in FIG. 1, it is assumed that the monitoring state of the packet relay device 20C is set to down, the monitoring state of the packet relay device 20D is set to active, and the packet relay device 20C is executing the route recovery monitoring process. In this case, when it is determined that the route to the monitored device has been restored, the packet relay device 20C does not meet the first condition because the monitoring state of the packet relay device 20D is active in the process of step 1104. Since the priority (metric value) “1” of the packet relay device 20C is higher than the priority “5” of the packet relay device 20D, it is determined that the second condition is satisfied. For this reason, the packet relay apparatus 20C changes its own monitoring state to active, and transmits a monitoring state change notification indicating that the monitoring state has been changed to active.

パケット中継装置20Dは、パケット中継装置20Cから送信された監視状態変更通知を受信すると、図10に示す監視状態変更通知受信処理を実行する。監視状態変更通知の変更後の監視状態はactiveであり、パケット中継装置20Dの監視状態がactiveであるので、パケット中継装置20Dは図10に示すステップ1012の処理に進む。ここで、パケット中継装置20Dの優先度「5」はパケット中継装置20Cの優先度(メトリック値)「1」より低いので、パケット中継装置20Dは、自身の監視状態をstandbyに変更し、監視状態をstandbyに変更した旨の監視状態変更通知を送信する。   When the packet relay apparatus 20D receives the monitoring state change notification transmitted from the packet relay apparatus 20C, the packet relay apparatus 20D executes the monitoring state change notification reception process shown in FIG. Since the monitoring state after the change of the monitoring state change notification is active and the monitoring state of the packet relay device 20D is active, the packet relay device 20D proceeds to the process of step 1012 shown in FIG. Here, since the priority “5” of the packet relay device 20D is lower than the priority (metric value) “1” of the packet relay device 20C, the packet relay device 20D changes its monitoring state to standby, Is sent to the standby state.

図12Aは、本発明の実施例の監視装置の監視状態の遷移の説明図である。図12Bは、本発明の実施例の監視装置の監視状態が遷移するイベントの説明図である。   FIG. 12A is an explanatory diagram of transition of the monitoring state of the monitoring device according to the embodiment of this invention. FIG. 12B is an explanatory diagram of events in which the monitoring state of the monitoring device according to the embodiment of this invention changes.

パケット中継装置20は、監視制御データによって初期の監視状態が設定され、その後受信した監視状態変更通知に基づいて監視状態を変更する。   The packet relay device 20 sets the initial monitoring state by the monitoring control data, and then changes the monitoring state based on the received monitoring state change notification.

まず、監視状態がactiveの監視装置の監視状態の遷移について説明する。   First, the transition of the monitoring state of the monitoring apparatus whose monitoring state is active will be described.

監視状態がactiveである監視装置は、イベント(1)が発生した場合、監視状態をdownに変更する。イベント(1)は、図12Bに示すように、監視状態がactiveである監視装置が被監視装置までの経路に異常が発生したと判定された場合である。この場合、図9に示す経路監視処理のステップ906の処理で監視状態がdownに変更される。   When the event (1) occurs, the monitoring device whose monitoring state is active changes the monitoring state to down. Event (1) is a case where, as shown in FIG. 12B, it is determined that a monitoring device whose monitoring state is active has an abnormality in the route to the monitored device. In this case, the monitoring state is changed to “down” in step 906 of the route monitoring process shown in FIG.

また、監視状態がactiveである監視装置は、イベント(3)が発生した場合、監視状態をstandbyに変更する。イベント(3)は、図12Bに示すように、activeに変更した旨の監視状態変更通知を受信し、自身の優先度が当該監視状態変更通知を送信した監視装置の優先度より低い場合である。この場合、図10に示す監視状態変更通知受信処理のステップ1013で監視状態がstandbyに変更される。   In addition, when the event (3) occurs, the monitoring device whose monitoring state is active changes the monitoring state to standby. Event (3) is a case where, as shown in FIG. 12B, the monitoring status change notification indicating that the status has been changed to active is received, and its own priority is lower than the priority of the monitoring device that has transmitted the monitoring status change notification. . In this case, the monitoring state is changed to standby in step 1013 of the monitoring state change notification reception process shown in FIG.

次に、監視状態がstandbyの監視装置の監視状態の遷移について説明する。   Next, transition of the monitoring state of the monitoring device whose monitoring state is standby will be described.

監視状態がstandbyの監視装置は、イベント(4)が発生した場合、監視状態をstandbyに変更する。イベント(4)は、図12Bに示すように、downに変更した旨の監視状態変更通知を受信し、監視状態がstandbyの監視装置がない場合及び監視状態がstandbyの監視装置の中で自身の優先度が最も高い場合の少なくとも一方が成立する場合である。この場合、図10に示す監視状態変更通知処理のステップ1007の処理で監視状態がactiveに変更される。   When the event (4) occurs, the monitoring device whose monitoring state is standby changes the monitoring state to standby. As shown in FIG. 12B, the event (4) receives a monitoring state change notification indicating that it has been changed to down, and when there is no monitoring device whose monitoring state is “standby” and among the monitoring devices whose monitoring state is “standby” This is a case where at least one of the highest priority is established. In this case, the monitoring state is changed to active in the process of step 1007 of the monitoring state change notification process shown in FIG.

なお、本実施例の監視状態がstandbyの監視装置の監視状態はdownに遷移し得ない。   Note that the monitoring state of the monitoring apparatus of the present embodiment whose standby state is standby cannot transition to down.

次に、監視状態がdownの監視装置の監視状態の遷移について説明する。   Next, transition of the monitoring state of the monitoring device whose monitoring state is down will be described.

監視状態がdownの監視装置は、イベント(2)が発生した場合、監視状態をactiveに変更する。イベント(2)は、図12Bに示すように、被監視装置までの経路の異常が復旧したと判定され、監視状態がactiveの監視装置がない場合及び監視装置の中で自身の優先度が最も高い場合の少なくとも一方が成立する場合である。この場合、図11に示す経路復旧監視処理のステップ1107の処理で監視状態がactiveに変更される。   When the event (2) occurs, the monitoring device whose monitoring state is down changes the monitoring state to active. In the event (2), as shown in FIG. 12B, it is determined that the abnormality of the route to the monitored device has been recovered, and there is no monitoring device whose monitoring state is active, and the highest priority among the monitoring devices. This is a case where at least one of the high cases is established. In this case, the monitoring state is changed to active in step 1107 of the path restoration monitoring process shown in FIG.

また、監視状態がdownの監視装置は、イベント(5)が発生した場合、監視状態をstandbyに変更する。イベント(5)は、図12Bに示すように、被監視装置までの経路の異常が復旧したと判定され、監視状態がactiveの監視装置があり、かつ監視装置の中で自身の優先度が最も高くない場合である。この場合、図11に示す経路復旧監視処理のステップ1105の処理で監視状態がstandbyに変更される。   In addition, when the event (5) occurs, the monitoring device whose monitoring state is down changes the monitoring state to standby. As shown in FIG. 12B, event (5) is determined that the abnormality of the route to the monitored device has been recovered, there is a monitoring device whose active state is active, and the priority of the monitoring device is the highest. This is not the case. In this case, the monitoring state is changed to standby in the process of step 1105 of the path recovery monitoring process shown in FIG.

なお、管理装置は、監視装置の初期の監視状態としてactive又はstandbyに決定する。このため、監視装置は初期の監視状態でdownには設定され得ない。   Note that the management device determines active or standby as the initial monitoring state of the monitoring device. For this reason, the monitoring device cannot be set to down in the initial monitoring state.

次に、図1を用いて本実施例を具体的に説明する。   Next, this embodiment will be specifically described with reference to FIG.

まず、運用管理者は、運用管理端末10からパケット中継装置20Aに被監視装置のIPアドレスを入力し、パケット中継装置20Aが管理装置として選択される。被監視装置のIPアドレスとして、ファイルサーバ30AのIPアドレス(10.1.1.1/24)及びWebサーバのIPアドレス(10.1.1.2/24)が入力される。   First, the operation manager inputs the IP address of the monitored device from the operation management terminal 10 to the packet relay device 20A, and the packet relay device 20A is selected as the management device. As the IP address of the monitored device, the IP address (10.1.1.1/24) of the file server 30A and the IP address (10.1.1.2/24) of the Web server are input.

管理装置となるパケット中継装置20Aは、図7に示す監視装置決定処理を実行する。図3で説明したように、被監視装置であるファイルサーバ30A(10.1.1.1/24)及びWebサーバ30B(10.1.1.2/24)は同一のサブネット(10.1.1.0.24)に属するので、管理装置は、ファイルサーバ30A及びWebサーバ30Bまでの経路の監視装置としてパケット中継装置20C及び20Dを決定し、パケット中継装置20Cのメトリック値が「1」でパケット中継装置20Dのメトリック値が「5」であるため、パケット中継装置20Cの監視状態をactiveに決定し、パケット中継装置20Dの監視状態をstandbyに決定する。この場合、管理装置は、被監視装置がファイルサーバ30Aである監視制御データ及び被監視装置がWebサーバ30Bである監視制御データを送信する。被監視装置がファイルサーバ30Aである監視制御データの被監視装置のIPアドレスには、ファイルサーバ30AのIPアドレス(10.1.1.1)が登録され、パケット中継装置20C(1.1.1.1)の監視状態がactiveに設定され、パケット中継装置20Cの優先度が「1」である旨と、パケット中継装置20D(2.2.2.2)の監視状態がstandbyに設定され、パケット中継装置20Dの優先度が「5」である旨とが登録される。また、被監視装置がWebサーバ30Bである監視制御データの被監視装置のIPアドレスには、Webサーバ30BのIPアドレス(10.1.1.2)が登録され、その他は、被監視装置がファイルサーバ30Aである監視制御データと同じである。   The packet relay device 20A serving as the management device executes the monitoring device determination process shown in FIG. As described in FIG. 3, the file server 30A (10.1.1.1/24) and the Web server 30B (10.1.1.2/24), which are monitored devices, are in the same subnet (10.1). 1.0.24), the management apparatus determines the packet relay apparatuses 20C and 20D as monitoring apparatuses for the route to the file server 30A and the Web server 30B, and the metric value of the packet relay apparatus 20C is “1”. Since the metric value of the packet relay device 20D is “5”, the monitoring state of the packet relay device 20C is determined to be active, and the monitoring state of the packet relay device 20D is determined to be standby. In this case, the management device transmits monitoring control data in which the monitored device is the file server 30A and monitoring control data in which the monitored device is the Web server 30B. The IP address (10.1.1.1) of the file server 30A is registered in the IP address of the monitored device of the monitoring control data in which the monitored device is the file server 30A, and the packet relay device 20C (1.1. 1.1) the monitoring state is set to active, the priority of the packet relay device 20C is “1”, and the monitoring state of the packet relay device 20D (2.2.2.2) is set to standby. The fact that the priority of the packet relay device 20D is “5” is registered. In addition, the IP address (10.1.1.2) of the Web server 30B is registered in the IP address of the monitored device of the monitoring control data in which the monitored device is the Web server 30B. This is the same as the monitoring control data that is the file server 30A.

各パケット中継装置20は、監視制御データを受信した場合、図8に示す監視制御データ受信処理を実行する。パケット中継装置20Bは、監視制御データに自身の識別情報が含まれないので、受信した監視制御データを監視状態情報データベース311に登録し、処理を終了する。   Each packet relay device 20 executes the monitoring control data receiving process shown in FIG. 8 when receiving the monitoring control data. Since the packet relay apparatus 20B does not include its own identification information in the monitoring control data, the packet relay apparatus 20B registers the received monitoring control data in the monitoring state information database 311 and ends the process.

パケット中継装置20Cは、監視制御データに自身の識別情報が含まれるため、受信した監視制御データに基づいて、自身の監視状態をactiveに設定し、監視制御データを監視状態情報データベース311に登録し、処理を終了する。パケット中継装置20Dは、監視制御データに自身の識別情報が含まれるため、受信した監視制御データに基づいて、自身の監視状態をstandbyに設定し、監視制御データを監視状態情報データベース311に登録し、処理を終了する。   Since the monitoring control data includes its own identification information, the packet relay device 20C sets its monitoring state to active based on the received monitoring control data, and registers the monitoring control data in the monitoring state information database 311. The process is terminated. Since the monitoring control data includes its own identification information, the packet relay apparatus 20D sets its monitoring state to standby based on the received monitoring control data, and registers the monitoring control data in the monitoring state information database 311. The process is terminated.

パケット中継装置20Cは、監視状態がactiveに設定されるため、被監視装置であるファイルサーバ30A及びWebサーバ30Bに監視パケットを所定時間間隔で痩身する。パケット中継装置20Dは、監視状態がstandbyに設定されるため、監視パケットを送信せず、処理を待機する。   Since the monitoring state is set to active, the packet relay apparatus 20C fills the monitoring packet at a predetermined time interval with the file server 30A and the Web server 30B that are monitored apparatuses. Since the monitoring state is set to standby, the packet relay device 20D does not transmit a monitoring packet and waits for processing.

本発明では、管理装置は、経路情報のメトリック値に基づいて、監視装置の監視状態を決定する。メトリック値は、パケット中継装置20が受信したパケットの転送先を決定する際にも利用される。管理装置が転送先を決定するために利用するメトリック値に基づいて監視状態を決定するため、実際に被監視装置にパケットを転送する場合にパケットが通過する経路を監視対象の経路とすることができる。   In the present invention, the management device determines the monitoring state of the monitoring device based on the metric value of the path information. The metric value is also used when determining the transfer destination of the packet received by the packet relay apparatus 20. Since the monitoring state is determined based on the metric value used by the management device to determine the transfer destination, the route through which the packet passes when the packet is actually transferred to the monitored device may be the monitoring target route it can.

次に、図1において、パケット中継装置20CのWAN4に接続される回線で異常が発生した場合について説明する。   Next, a case where an abnormality occurs in the line connected to the WAN 4 of the packet relay apparatus 20C in FIG. 1 will be described.

監視状態がactiveに設定されたパケット中継装置20Cは、図9に示す経路監視処理で、ファイルサーバ30A及びWebサーバ30Bに送信した監視パケットに対する応答パケットを受信しなくなり、これらの被監視装置までの経路で異常が発生したと判断する。この場合、パケット中継装置20Cは、自身のファイルサーバ30A及びWebサーバ30Bに対する監視状態をdownに設定し、自身の監視状態情報データベース311の監視状態を更新する。そして、パケット中継装置20Cは、ファイルサーバ30Aに対する監視状態をdownに変更した旨を示す監視状態変更通知、及びWebサーバ30Bに対する監視状態をdownに変更した旨を示す監視状態変更通知を送信する。なお、ファイルサーバ30Aに対する監視状態をdownに変更した旨を示す監視状態変更通知には、被監視装置であるファイルサーバ30AのIPアドレス、パケット中継装置20Cの識別情報、及び変更後の監視状態であるdownが登録される。Webサーバ30Bに対する監視状態をdownに変更した旨を示す監視状態変更通知には、被監視装置であるWebサーバ30BのIPアドレス、パケット中継装置20Cの識別情報、及び変更後の監視状態であるdownが登録される。   The packet relay device 20C whose monitoring state is set to active does not receive a response packet to the monitoring packet transmitted to the file server 30A and the Web server 30B in the route monitoring processing shown in FIG. It is determined that an abnormality has occurred in the route. In this case, the packet relay apparatus 20C sets the monitoring status of its own file server 30A and Web server 30B to “down” and updates the monitoring status of its own monitoring status information database 311. Then, the packet relay device 20C transmits a monitoring state change notification indicating that the monitoring state for the file server 30A has been changed to down and a monitoring state change notification indicating that the monitoring state for the Web server 30B has been changed to down. The monitoring status change notification indicating that the monitoring status for the file server 30A has been changed to down includes the IP address of the file server 30A that is the monitored device, the identification information of the packet relay device 20C, and the monitoring status after the change. A certain down is registered. In the monitoring status change notification indicating that the monitoring status for the Web server 30B has been changed to down, the IP address of the Web server 30B that is the monitored device, the identification information of the packet relay device 20C, and the monitoring status after the change are down. Is registered.

パケット中継装置20は、監視状態変更通知を受信した場合、図10に示す監視状態変更通知受信処理を実行する。例えば、パケット中継装置20Cから送信されたファイルサーバ30Aに対する監視状態をdownに変更した旨を示す監視状態変更通知をパケット中継装置20A、20B及び20Dが受信した場合について説明する。パケット中継装置20A及び20Bは、自身の監視状態がstandbyでないため、受信した監視状態変更通知に基づいて監視状態情報データベース311を更新し、処理を終了する。   When the packet relay apparatus 20 receives the monitoring state change notification, the packet relay apparatus 20 executes the monitoring state change notification reception process shown in FIG. For example, a case will be described in which the packet relay devices 20A, 20B, and 20D have received monitoring state change notifications indicating that the monitoring state for the file server 30A transmitted from the packet relay device 20C has been changed to down. The packet relay apparatuses 20A and 20B update their monitoring state information database 311 based on the received monitoring state change notification because their own monitoring state is not standby, and end the processing.

パケット中継装置20Dは、ファイルサーバ30Aに対する監視状態がstandbyの監視装置が他に存在しないため、自身のファイルサーバ30Aに対する監視状態をactiveに変更し、自身のファイルサーバ30Aに対する監視状態がactiveとなるように監視状態情報データベース311を更新し、ファイルサーバ30Aに対する監視状態をactiveに変更した旨を示す監視状態変更通知を送信する。そして、パケット中継装置20Dは、ファイルサーバ30Aに対する監視状態をdownに変更した旨を示す監視状態変更通知に基づいて、パケット中継装置20Cのファイルサーバ30Aに対する監視状態をdownに変更するように、監視状態情報データベース311を更新する。   The packet relay device 20D changes the monitoring state of its own file server 30A to active because there is no other monitoring device whose monitoring state of the file server 30A is “standby”, and the monitoring state of its own file server 30A becomes “active”. As described above, the monitoring state information database 311 is updated, and a monitoring state change notification indicating that the monitoring state for the file server 30A has been changed to active is transmitted. Then, the packet relay apparatus 20D performs monitoring so as to change the monitoring state of the packet relay apparatus 20C with respect to the file server 30A to down based on the monitoring state change notification indicating that the monitoring state with respect to the file server 30A has been changed to down. The state information database 311 is updated.

なお、パケット中継装置20Cから送信されたWebサーバ30Bに対する監視状態をdownに変更した旨を示す監視状態変更通知をパケット中継装置20A、20B及び20Dが受信した場合の処理は、上記した処理と同様にパケット中継装置20DのWebサーバ30Bに対する監視状態がactiveに設定される。   The processing when the packet relay devices 20A, 20B, and 20D receive the monitoring status change notification indicating that the monitoring status for the Web server 30B transmitted from the packet relay device 20C is changed to down is the same as the processing described above. In addition, the monitoring state of the packet relay apparatus 20D for the Web server 30B is set to active.

パケット中継装置20は、自身の監視状態を変更した場合に自身の監視状態情報データベース311を更新し、受信した監視状態変更通知に基づいて監視状態情報データベース311を更新する。これによって、パケット中継装置20の監視状態情報データベース311は互いに同じ情報が登録されることとなる。   The packet relay apparatus 20 updates its own monitoring state information database 311 when its own monitoring state is changed, and updates the monitoring state information database 311 based on the received monitoring state change notification. As a result, the same information is registered in the monitoring state information database 311 of the packet relay apparatus 20.

パケット中継装置20Cは、被監視装置であるファイルサーバ30A及びWebサーバ30Bまでの経路に異常を検出しているため、OSPFの機能によって経路を変更し、OSPFによって経路変更通知を送信する。この場合、ファイルサーバ30A及びWebサーバ30Bまでの経路は、外部ネットワークに接続され、メトリック値が「1」の次に小さいパケット中継装置20Dを経由する経路に変更される。   Since the packet relay device 20C detects an abnormality in the route to the file server 30A and the Web server 30B, which are monitored devices, the packet relay device 20C changes the route by the function of OSPF and transmits a route change notification by OSPF. In this case, the path to the file server 30A and the Web server 30B is changed to a path that is connected to the external network and that passes through the packet relay device 20D that has the next smallest metric value “1”.

図10に示す監視状態変更通知受信処理によってパケット中継装置20Dの監視状態がactiveとなるため、パケット中継装置20Dは、ファイルサーバ30A及びWebサーバ30Bに監視パケットを所定時間間隔で送信する。また、監視状態がdownに設定されたパケット中継装置20Cは、図11に示す経路復旧監視処理を実行し、ファイルサーバ30A及びWebサーバ30Bまでの経路の異常が復旧したか否かを監視するために、ファイルサーバ30A及びWebサーバ30Bに監視パケットを送信する。   Since the monitoring state of the packet relay device 20D becomes active by the monitoring state change notification reception process shown in FIG. 10, the packet relay device 20D transmits the monitoring packet to the file server 30A and the Web server 30B at predetermined time intervals. Further, the packet relay apparatus 20C whose monitoring state is set to down executes the path recovery monitoring process shown in FIG. 11 to monitor whether or not the abnormality of the path to the file server 30A and the Web server 30B has been recovered. The monitoring packet is transmitted to the file server 30A and the Web server 30B.

次に、監視状態がdownに設定されたパケット中継装置20Cが、ファイルサーバ30A及びWebサーバ30Bまでの経路の異常が復旧したことを検出した場合について説明する。   Next, a case will be described in which the packet relay device 20C whose monitoring state is set to down detects that an abnormality in the path to the file server 30A and the Web server 30B has been recovered.

この場合、パケット中継装置20Cは、自身のメトリック値が最小(優先度が最高)であるので、自身のファイルサーバ30A及びWebサーバ30Bに対する監視状態をactiveに変更し、自身のファイルサーバ30A及びWebサーバ30Bに対する監視状態をactiveとなるように監視状態情報データベース311を更新する。そして、パケット中継装置20Cは、ファイルサーバ30Aに対する監視状態をactiveに変更した旨を示す監視状態変更通知、及びWebサーバ30Bに対する監視状態をactiveに変更した旨を示す監視状態変更通知を送信する。なお、ファイルサーバ30Aに対する監視状態をactiveに変更した旨を示す監視状態変更通知には、被監視装置であるファイルサーバ30AのIPアドレス、パケット中継装置20Cの識別情報、及び変更後の監視状態であるactiveが登録される。Webサーバ30Bに対する監視状態をactiveに変更した旨を示す監視状態変更通知には、被監視装置であるWebサーバ30BのIPアドレス、パケット中継装置20Cの識別情報、及び変更後の監視状態であるactiveが登録される。   In this case, since the metric value of the packet relay apparatus 20C is the minimum (priority is the highest), the monitoring status for the file server 30A and the Web server 30B is changed to active, and the file server 30A and the Web The monitoring state information database 311 is updated so that the monitoring state for the server 30B becomes active. Then, the packet relay apparatus 20C transmits a monitoring state change notification indicating that the monitoring state for the file server 30A has been changed to active, and a monitoring state change notification indicating that the monitoring state for the Web server 30B has been changed to active. The monitoring status change notification indicating that the monitoring status for the file server 30A has been changed to active includes the IP address of the file server 30A that is the monitored device, the identification information of the packet relay device 20C, and the monitoring status after the change. A certain active is registered. In the monitoring status change notification indicating that the monitoring status for the Web server 30B has been changed to active, the IP address of the Web server 30B that is the monitored device, the identification information of the packet relay device 20C, and the active status that is the changed monitoring status are displayed. Is registered.

なお、パケット中継装置20Dは、例えば、ファイルサーバ30Aに対する監視状態をactiveに変更した旨を示す監視状態変更通知を受信した場合、自身のファイルサーバ30Aに対する監視状態がactiveであり、自身の優先度はパケット中継装置20Cより低いので、自身の監視状態をstandbyに変更し、自身の監視状態情報データベース311を更新し、ファイルサーバ30Aに対する監視状態をstandbyに変更した旨を示す監視状態変更通知を送信する。   For example, when the packet relay apparatus 20D receives a monitoring state change notification indicating that the monitoring state for the file server 30A has been changed to active, the monitoring state for its own file server 30A is active, and its priority Is lower than the packet relay device 20C, so that its own monitoring state is changed to standby, its own monitoring state information database 311 is updated, and a monitoring state change notification indicating that the monitoring state for the file server 30A has been changed to standby is transmitted. To do.

また、パケット中継装置20Dは、Webサーバ30Bに対する監視状態をactiveに変更した旨を示す監視状態変更通知を受信した場合、自身のWebサーバ30Bに対する監視状態をstandbyに変更する。   When the packet relay apparatus 20D receives a monitoring state change notification indicating that the monitoring state for the Web server 30B has been changed to active, the packet relay apparatus 20D changes the monitoring state for its own Web server 30B to standby.

これによって、パケット中継装置20Cからファイルサーバ30A及びWebサーバ30Bまでの経路に異常が発生する前の状態に戻る。   As a result, the state before the occurrence of an abnormality in the path from the packet relay apparatus 20C to the file server 30A and the Web server 30B is restored.

次に、図1に示すファイルサーバ30A自体に異常が発生した場合の処理について説明する。   Next, processing when an abnormality occurs in the file server 30A shown in FIG. 1 will be described.

この異常によって、パケット中継装置20C及び20Dからファイルサーバ30Aまでの経路に異常が発生し、監視状態がactiveに設定されたパケット中継装置20Cは、ファイルサーバ30Aに送信した監視パケットに対する応答パケットを受信しなくなり、ファイルサーバ30Aまでの経路に異常が発生したと判断する。この場合、パケット中継装置20Cは、自身のファイルサーバ30Aに対する監視情報をdownに設定し、監視状態情報データベース311を更新し、監視状態変更通知を送信する。   Due to this abnormality, an abnormality occurs in the path from the packet relay apparatuses 20C and 20D to the file server 30A, and the packet relay apparatus 20C whose monitoring state is set to active receives a response packet to the monitoring packet transmitted to the file server 30A. It is determined that an abnormality has occurred in the path to the file server 30A. In this case, the packet relay apparatus 20C sets the monitoring information for its own file server 30A to “down”, updates the monitoring state information database 311, and transmits a monitoring state change notification.

パケット中継装置20Dは、パケット中継装置20Cが送信した監視状態変更通知を受信した場合、図10に示す監視状態変更通知受信処理を実行する。この場合、パケット中継装置20Dは、ファイルサーバ30Aに対する監視状態がstandbyに設定された監視装置が他にないので、自身のファイルサーバ30Aに対する監視状態をactiveに設定し、監視状態情報データベース311を更新し、監視状態変更通知を送信する。   When the packet relay apparatus 20D receives the monitoring state change notification transmitted by the packet relay apparatus 20C, the packet relay apparatus 20D executes the monitoring state change notification reception process illustrated in FIG. In this case, since there is no other monitoring device in which the monitoring state for the file server 30A is set to standby, the packet relay device 20D sets the monitoring state for its own file server 30A to active and updates the monitoring state information database 311. And send a monitoring status change notification.

パケット中継装置20Cは、パケット中継装置20Dが送信した監視状態変更通知を受信し、受信した監視状態変更通知に基づいて監視状態情報データベース311を更新し、OSPFの機能によって、ファイルサーバ30Aまでの経路を、パケット中継装置20Dを経由する経路に変更し、経路変更通知を送信する。この時点で、ファイルサーバ30Aに対してパケット中継装置20Cの監視状態はdownに設定され、ファイルサーバ30Aに対してパケット中継装置20Dの監視状態はactiveに設定される。   The packet relay device 20C receives the monitoring status change notification transmitted by the packet relay device 20D, updates the monitoring status information database 311 based on the received monitoring status change notification, and uses the OSPF function to route to the file server 30A. Is changed to a route via the packet relay device 20D, and a route change notification is transmitted. At this time, the monitoring state of the packet relay device 20C is set to down for the file server 30A, and the monitoring state of the packet relay device 20D is set to active for the file server 30A.

パケット中継装置20Dの監視状態がactiveに設定されても、ファイルサーバ30A自体の異常であるため、パケット中継装置20Dは、ファイルサーバ30Aに送信した監視パケットに対する応答パケットを受信せず、ファイルサーバ30Aまでの経路に異常が発生したと判断する。   Even if the monitoring state of the packet relay device 20D is set to active, the file server 30A itself is abnormal, so the packet relay device 20D does not receive a response packet to the monitoring packet transmitted to the file server 30A, and the file server 30A It is determined that an abnormality has occurred in the route up to.

これによって、パケット中継装置20Dは、自身のファイルサーバ30Aに対する監視状態をdownに変更し、監視状態変更通知を送信する。そして、パケット中継装置20Dは、OSPFによる経路変更通知を送信する。最終的にファイルサーバ30Aに対してパケット中継装置20C及び20Dの監視状態はどちらもdownに設定される。   As a result, the packet relay apparatus 20D changes the monitoring state of its own file server 30A to down and transmits a monitoring state change notification. Then, the packet relay device 20D transmits a route change notification by OSPF. Finally, both the monitoring states of the packet relay apparatuses 20C and 20D are set to down for the file server 30A.

ファイルサーバ30Aが異常から復旧すると、ファイルサーバ30Aに対する監視状態がdownに設定されたパケット中継装置20C及び20Dは、当該復旧を検出し、自身のファイルサーバ30Aに対する監視状態をactiveに設定し、監視状態変更通知を送信する。   When the file server 30A recovers from the abnormality, the packet relay apparatuses 20C and 20D whose monitoring status for the file server 30A is set to down detect the recovery, set their monitoring status for their file server 30A to active, and monitor Send a status change notification.

パケット中継装置20Cは、パケット中継装置20Dが送信した監視状態変更通知を受信した場合、自身の優先度がパケット中継装置20Dの優先度よりも高いので、自身のファイルサーバ30Aに対する監視状態をactiveのままにしておく。一方、パケット中継装置20Dは、パケット中継装置20Cが送信した監視状態変更通知を受信した場合、自身の優先度がパケット中継装置20Dの優先度より低いので、自身のファイルサーバ30Aに対する監視状態をstandbyに変更し、自身の監視状態情報データベース311を更新し、監視状態変更通知を再度送信する。パケット中継装置20Cは、パケット中継装置20Dが再度送信した監視状態変更通知を受信した場合、受信した監視状態変更通知に基づいて、監視状態情報データベース311を更新する。   When the packet relay apparatus 20C receives the monitoring state change notification transmitted by the packet relay apparatus 20D, the priority of the packet relay apparatus 20C is higher than the priority of the packet relay apparatus 20D. Leave it alone. On the other hand, when the packet relay apparatus 20D receives the monitoring state change notification transmitted by the packet relay apparatus 20C, the priority of the packet relay apparatus 20D is lower than the priority of the packet relay apparatus 20D. To update its own monitoring status information database 311 and send a monitoring status change notification again. When the packet relay apparatus 20C receives the monitoring state change notification transmitted again by the packet relay apparatus 20D, the packet relay apparatus 20D updates the monitoring state information database 311 based on the received monitoring state change notification.

以上によって、ファイルサーバ30Aに異常が発生した場合、監視装置として決定されたパケット中継装置20C及び20Dの監視状態がどちらもdownに設定され、当該異常が復旧した場合にパケット中継装置20C及び20Dの監視状態がどちらもactiveに一旦設定され、パケット中継装置20C及び20Dが監視状態変更通知を受信したタイミングで、優先度の高いパケット中継装置20Cの監視状態がactiveのままとなり、優先度の低いパケット中継装置20Dの監視状態がdownに変更される。これによって、ファイルサーバ30Aに異常が発生する前の状態に戻る。   As described above, when an abnormality occurs in the file server 30A, the monitoring states of the packet relay apparatuses 20C and 20D determined as the monitoring apparatus are both set to down, and when the abnormality is recovered, the packet relay apparatuses 20C and 20D Both of the monitoring states are set to active, and when the packet relay apparatuses 20C and 20D receive the monitoring state change notification, the monitoring state of the high priority packet relay apparatus 20C remains active, and the low priority packet The monitoring state of the relay device 20D is changed to down. As a result, the state before the abnormality occurs in the file server 30A is restored.

本実施例によれば、運用管理者は、パケット中継装置20に被監視装置のIPアドレスを入力するだけで、被監視装置のIPアドレスが入力されたパケット中継装置20(管理中継装置)が経路情報データベース411を参照して、パケット中継装置20の中から監視装置として動作するパケット中継装置20を自動的に決定する。このため、人手を介さず自動で監視装置として動作する装置が選択できる。   According to the present embodiment, the operation administrator simply inputs the IP address of the monitored device to the packet relay device 20, and the packet relay device 20 (management relay device) to which the IP address of the monitored device is input is routed. With reference to the information database 411, the packet relay device 20 that operates as the monitoring device is automatically determined from the packet relay devices 20. For this reason, a device that automatically operates as a monitoring device can be selected without human intervention.

また、管理中継装置は、LAN2の構成が変更された場合、LAN2の構成の変更を反映した経路情報データベース411を参照して、監視装置として動作するパケット中継装置20を自動的に決定する。これによって、LAN2の構成が変更された場合に、当該変更を反映した経路情報データベース411を参照して、適切なパケット中継装置20を監視装置として動作させることができる。   In addition, when the configuration of the LAN 2 is changed, the management relay device automatically determines the packet relay device 20 that operates as a monitoring device with reference to the path information database 411 reflecting the change in the configuration of the LAN 2. Accordingly, when the configuration of the LAN 2 is changed, the appropriate packet relay device 20 can be operated as a monitoring device with reference to the path information database 411 reflecting the change.

また、管理中継装置は、監視装置として動作することが決定されたパケット中継装置20が複数存在する場合、優先度が最も高いパケット中継装置20の監視状態をアクティブ状態に設定し、その他のパケット中継装置20の監視状態をスタンバイ状態に設定する。これによって、監視装置を冗長化することができる。また、監視状態がアクティブ状態に設定された監視装置のみが被監視装置までの経路を監視するため、被監視装置までの経路のトラフィックを軽減でき、被監視装置の経路監視のための応答を送信する処理負荷を軽減できる。   In addition, when there are a plurality of packet relay apparatuses 20 that have been determined to operate as monitoring apparatuses, the management relay apparatus sets the monitoring state of the packet relay apparatus 20 with the highest priority to an active state, and other packet relays The monitoring state of the device 20 is set to the standby state. As a result, the monitoring device can be made redundant. In addition, since only the monitoring device whose monitoring state is set to the active state monitors the route to the monitored device, traffic on the route to the monitored device can be reduced, and a response for route monitoring of the monitored device is transmitted. Processing load to be reduced.

アクティブ状態の監視装置は、被監視装置までの経路に異常が発生した場合、自身の監視状態をダウン状態に設定し、その旨を示す監視状態変更通知を他の中継装置に送信する。なお、監視状態がダウン状態に設定された監視装置は、異常が発生した被監視装置までの経路の監視を継続する。監視状態変更通知を受信したスタンバイ状態の監視装置は、スタンバイ状態の監視装置の中で自身の優先度が最も高い場合、自身の監視状態をアクティブ状態に設定する。これによって、監視装置の冗長化は、アクティブ状態の監視装置が監視する経路に異常が発生した場合であっても、スタンバイ状態の監視装置の中で最も優先度の高い監視装置の監視状態がアクティブ状態となることで実現される。また、ダウン状態となった監視装置は、被監視装置までの経路の監視を継続するため、当該経路が復旧した場合には、その旨を検出することができる。   When an abnormality occurs in the route to the monitored device, the active monitoring device sets its own monitoring state to the down state and transmits a monitoring state change notification indicating the fact to another relay device. Note that the monitoring device whose monitoring state is set to the down state continues monitoring the route to the monitored device in which an abnormality has occurred. The monitoring device in the standby state that has received the monitoring state change notification sets its own monitoring state to the active state when its own priority is the highest among the monitoring devices in the standby state. As a result, the redundancy of the monitoring device enables the monitoring state of the monitoring device with the highest priority among the monitoring devices in the standby state to be active even if an abnormality occurs in the path monitored by the monitoring device in the active state. Realized by becoming a state. Further, since the monitoring device in the down state continues to monitor the route to the monitored device, when the route is recovered, it can detect that fact.

なお、本発明は上記した実施例に限定されるものではなく、様々な変形例が含まれる。例えば、上記した実施例は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。また、ある実施例の構成の一部を他の実施例の構成に置き換えることも可能であり、また、ある実施例の構成に他の実施例の構成を加えることも可能である。また、各実施例の構成の一部について、他の構成の追加・削除・置換をすることが可能である。   In addition, this invention is not limited to an above-described Example, Various modifications are included. For example, the above-described embodiments have been described in detail for easy understanding of the present invention, and are not necessarily limited to those having all the configurations described. Further, a part of the configuration of a certain embodiment can be replaced with the configuration of another embodiment, and the configuration of another embodiment can be added to the configuration of a certain embodiment. Further, it is possible to add, delete, and replace other configurations for a part of the configuration of each embodiment.

また、上記の各構成、機能、処理部、処理手段等は、それらの一部又は全部を、例えば集積回路で設計する等によりハードウェアで実現してもよい。また、上記の各構成、機能等は、プロセッサがそれぞれの機能を実現するプログラムを解釈し、実行することによりソフトウェアで実現してもよい。各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリや、ハードディスク、SSD(Solid State Drive)等の記録装置、又は、ICカード、SDカード、DVD等の記録媒体に置くことができる。   Each of the above-described configurations, functions, processing units, processing means, and the like may be realized by hardware by designing a part or all of them with, for example, an integrated circuit. Each of the above-described configurations, functions, and the like may be realized by software by interpreting and executing a program that realizes each function by the processor. Information such as programs, tables, and files that realize each function can be stored in a recording device such as a memory, a hard disk, or an SSD (Solid State Drive), or a recording medium such as an IC card, an SD card, or a DVD.

1 運用管理ネットワーク
2 LAN
3 データセンタ
4 WAN
10 運用管理端末
20A〜20D パケット中継装置
30A ファイルサーバ
30B Webサーバ
100 管理機能処理部
101 経路情報検索部
102 初期監視状態決定部
103 監視制御データ作成部
200 装置構成定義部
201 監視先IPアドレス情報
300 監視機能処理部
310 監視状態情報管理部
311 監視状態情報データベース
312 監視状態管理部
313 監視状態変更通知作成部
320 監視情報受信処理部
321 監視状態情報解析部
322 死活判定処理部
323 監視情報受信処理部
330 監視情報送信処理部
331 監視パケット送信処理部
332 監視状態情報送信処理部
400 ルーティングプロトコル処理部
410 経路情報管理部
411 経路情報データベース
420 経路計算処理部
430 制御パケット送受信処理部
1 Operation management network 2 LAN
3 Data center 4 WAN
DESCRIPTION OF SYMBOLS 10 Operation management terminal 20A-20D Packet relay apparatus 30A File server 30B Web server 100 Management function processing part 101 Path information search part 102 Initial monitoring state determination part 103 Monitoring control data creation part 200 Device configuration definition part 201 Monitoring destination IP address information 300 Monitoring function processing unit 310 Monitoring status information management unit 311 Monitoring status information database 312 Monitoring status management unit 313 Monitoring status change notification creation unit 320 Monitoring information reception processing unit 321 Monitoring status information analysis unit 322 Life / death determination processing unit 323 Monitoring information reception processing unit 330 Monitoring Information Transmission Processing Unit 331 Monitoring Packet Transmission Processing Unit 332 Monitoring State Information Transmission Processing Unit 400 Routing Protocol Processing Unit 410 Route Information Management Unit 411 Route Information Database 420 Route Calculation Processing Unit 430 Control Packet Door sending and receiving processing unit

Claims (8)

ネットワークを構成する少なくとも一つの中継装置を有するネットワークシステムであって、
前記中継装置は、前記ネットワークの経路情報を保持し、
前記中継装置のうち前記ネットワークの外部の被監視装置を特定するための情報の入力を受け付けた管理中継装置は、前記経路情報を参照し、前記被監視装置までの経路を監視する監視装置として動作する中継装置を決定し、
前記監視装置として動作することに決定された中継装置は、自身から前記被監視装置までの経路を監視することを特徴とするネットワークシステム。
A network system having at least one relay device constituting a network,
The relay device holds route information of the network,
The management relay device that has received input of information for identifying a monitored device outside the network among the relay devices operates as a monitoring device that refers to the route information and monitors the route to the monitored device Decide which relay device to
A network system, wherein a relay device determined to operate as the monitoring device monitors a route from itself to the monitored device.
請求項1に記載のネットワークシステムであって、
前記管理中継装置は、
前記監視装置として動作する中継装置を決定した後に、前記ネットワークの構成の変更を検出した場合、前記経路情報を更新し、
前記更新後の経路情報を参照し、前記監視装置として動作する中継装置を決定することを特徴とするネットワークシステム。
The network system according to claim 1,
The management relay device
After determining the relay device that operates as the monitoring device, if detecting a change in the configuration of the network, update the route information,
A network system that refers to the updated route information and determines a relay device that operates as the monitoring device.
請求項1又は請求項2に記載のネットワークシステムであって、
前記中継装置が保持する経路情報は、各中継装置の優先度を含み、
前記管理中継装置は、前記監視装置として動作する中継装置が複数存在する場合、前記優先度が最も高い中継装置の監視状態を、前記被監視装置までの経路を実際に監視するアクティブ状態に設定し、その他の中継装置の監視状態を、前記被監視装置までの経路を監視せずに待機するスタンバイ状態に設定することを特徴とするネットワークシステム。
The network system according to claim 1 or 2, wherein
The route information held by the relay device includes the priority of each relay device,
When there are a plurality of relay devices that operate as the monitoring device, the management relay device sets the monitoring state of the relay device having the highest priority to an active state that actually monitors the route to the monitored device. A network system, wherein the monitoring state of the other relay device is set to a standby state in which it waits without monitoring the route to the monitored device.
請求項3に記載のネットワークシステムであって、
前記アクティブ状態に設定された中継装置は、
前記被監視装置までの経路に異常を検出した場合、自身の監視状態を、前記被監視装置までの経路に異常が検出されている間前記経路を監視し続けるダウン状態に設定し、
自身の前記監視状態を変更した旨を示す監視状態変更通知を他の中継装置に送信し、
前記スタンバイ状態の中継装置の中で優先度が最も高い中継装置は、前記監視状態変更通知を受信した場合、自身の監視状態を前記アクティブ状態に設定することを特徴とするネットワークシステム。
The network system according to claim 3,
The relay device set in the active state is
When an abnormality is detected in the route to the monitored device, its own monitoring state is set to a down state in which the route is continuously monitored while an abnormality is detected in the route to the monitored device.
Sends a monitoring status change notification indicating that the monitoring status of itself has been changed to another relay device,
The relay system having the highest priority among the standby relay apparatuses, when receiving the monitoring state change notification, sets its own monitoring state to the active state.
請求項4に記載のネットワークシステムであって、
前記管理中継装置は、前記被監視装置の識別情報、前記監視装置として動作することが決定された中継装置の識別情報、前記監視装置として動作することが決定された中継装置の監視状態、及び前記監視装置として動作することが決定された中継装置の優先度を含む監視制御データを送信し、
前記監視状態変更通知は、前記監視状態を変更した中継装置の識別情報、前記変更後の監視状態、及び前記監視状態を変更した中継装置の優先度を含むことを特徴とするネットワークシステム。
The network system according to claim 4, wherein
The management relay device includes identification information of the monitored device, identification information of a relay device determined to operate as the monitoring device, a monitoring state of the relay device determined to operate as the monitoring device, and the Sends monitoring control data including the priority of the relay device that is determined to operate as a monitoring device,
The network status characterized in that the monitoring status change notification includes identification information of the relay device that has changed the monitoring status, the monitoring status after the change, and the priority of the relay device that has changed the monitoring status.
請求項1から請求項5のいずれか一つに記載のネットワークシステムであって、
前記中継装置は、
リンクステート型ルーティングプロトコルを用いて前記他の中継装置から経路情報を取得し、
前記取得した経路情報を保持することを特徴とするネットワークシステム。
A network system according to any one of claims 1 to 5,
The relay device is
Obtaining route information from the other relay device using a link state type routing protocol,
A network system that holds the acquired route information.
ネットワークを構成する少なくとも一つの中継装置における前記ネットワークの外部の被監視装置までの経路の監視方法であって、
前記中継装置は、前記ネットワークの経路情報を保持し、
前記方法は、
前記中継装置のうち前記被監視装置を特定するための情報の入力を受け付けた管理中継装置が、前記経路情報を参照し、前記被監視装置までの経路を監視する監視装置として動作する中継装置を決定し、
前記監視装置として動作することに決定された中継装置が、自身から前記被監視装置までの経路を監視することを特徴とする経路の監視方法。
A method for monitoring a route to a monitored device outside the network in at least one relay device constituting the network,
The relay device holds route information of the network,
The method
A relay device that receives an input of information for identifying the monitored device among the relay devices, operates as a monitoring device that refers to the route information and monitors a route to the monitored device. Decide
A route monitoring method, wherein a relay device determined to operate as the monitoring device monitors a route from itself to the monitored device.
ネットワークを構成する中継装置であって、
前記ネットワークの経路情報を保持し、
前記ネットワークの外部の被監視装置を特定するための情報の入力を受け付けた場合、前記経路情報を参照し、前記被監視装置までの経路を監視する監視装置として動作する中継装置を決定し、
前記監視装置として動作すること中継装置に決定された場合、自身から前記被監視装置までの経路を監視することを特徴とする中継装置。
A relay device constituting a network,
Holding the network route information,
When receiving input of information for identifying a monitored device outside the network, refer to the route information, determine a relay device that operates as a monitoring device that monitors the route to the monitored device,
A relay device that monitors a route from itself to the monitored device when the relay device is determined to operate as the monitoring device.
JP2013164802A 2013-08-08 2013-08-08 Network system, monitoring method for route, and relay device Pending JP2015035678A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013164802A JP2015035678A (en) 2013-08-08 2013-08-08 Network system, monitoring method for route, and relay device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013164802A JP2015035678A (en) 2013-08-08 2013-08-08 Network system, monitoring method for route, and relay device

Publications (1)

Publication Number Publication Date
JP2015035678A true JP2015035678A (en) 2015-02-19

Family

ID=52543925

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013164802A Pending JP2015035678A (en) 2013-08-08 2013-08-08 Network system, monitoring method for route, and relay device

Country Status (1)

Country Link
JP (1) JP2015035678A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018528703A (en) * 2015-09-14 2018-09-27 シーメンス アクチエンゲゼルシヤフトSiemens Aktiengesellschaft Method for setting modular control device of industrial automation system and modular control device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018528703A (en) * 2015-09-14 2018-09-27 シーメンス アクチエンゲゼルシヤフトSiemens Aktiengesellschaft Method for setting modular control device of industrial automation system and modular control device
US10313201B2 (en) 2015-09-14 2019-06-04 Siemens Aktiengesellschaft Modular control device of an industrial automation system, and method for configuring the modular control device

Similar Documents

Publication Publication Date Title
CN109344014B (en) Main/standby switching method and device and communication equipment
US7962592B2 (en) System and method for network management
JP6053003B2 (en) Transmission system, transmission apparatus, and transmission method
US9124517B2 (en) Network system and network redundancy method
JP5033856B2 (en) Devices and systems for network configuration assumptions
JP5530864B2 (en) Network system, management server, and management method
JP5941404B2 (en) Communication system, path switching method, and communication apparatus
US20070177523A1 (en) System and method for network monitoring
EP2866378B1 (en) Protection switching in a packet transport network
Chen et al. When software defined networks meet fault tolerance: a survey
JP2009303092A (en) Network equipment and line switching method
JP5617304B2 (en) Switching device, information processing device, and fault notification control program
KR20130096762A (en) Server management apparatus, server management method, and program
US20150381498A1 (en) Network system and its load distribution method
JPWO2014175423A1 (en) Communication node, communication system, packet processing method and program
JP4464256B2 (en) Network host monitoring device
JP4344333B2 (en) Packet transfer apparatus, packet transfer network system, and packet transfer method
CN113824595B (en) Link switching control method and device and gateway equipment
JP2015035678A (en) Network system, monitoring method for route, and relay device
KR101829881B1 (en) Flow management system, controller and method for detecting fault
JP5518771B2 (en) Redundant network system, termination device and relay point adjacent device
US11290319B2 (en) Dynamic distribution of bidirectional forwarding detection echo sessions across a multi-processor system
JP2012249250A (en) Monitoring device and program
JP2014011753A (en) Communication system, communication network management device, and communication network management method
JP5653947B2 (en) Network management system, network management device, network management method, and network management program