JP2015035678A - Network system, monitoring method for route, and relay device - Google Patents
Network system, monitoring method for route, and relay device Download PDFInfo
- 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
Links
Images
Abstract
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
特許文献2の公報には、「障害機器の情報を障害機器情報として収集する機器監視部120と、障害機器情報に対応する障害の原因を示す障害原因情報を有する診断ファイルを記憶する診断ファイル記憶部150と、上記障害機器情報に基づき上記診断ファイルから障害原因情報を取得して障害の原因を診断する障害原因解析部112と、障害機器情報とネットワークトポロジ情報とに基づき障害の影響範囲を特定する障害影響範囲解析部111と、上記障害の影響範囲を回避する通信経路である回避経路を機器の負荷情報に基づき算出する障害復旧部130とを備える。」と記載されている(要約参照)。
The gazette of
上記した監視技術を用いたネットワークでは、監視装置として動作するパケット中継装置の選択、及び被監視装置の識別情報の監視装置への設定等が必要となる。現状では、ネットワーク管理者が、パケット中継装置の経路情報等を確認し、監視装置として動作するパケット中継装置を選択し、監視装置に被監視装置の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
このように、人手を介して監視装置として動作する装置を選択する場合、運用管理者の負担が大きくなる問題がある。また、ネットワークの構成が変更された場合等、運用管理者は監視装置として動作する装置を再度決定しなければならない。 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.
本発明の実施例を図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
LAN2に接続される図示しないユーザ端末は、ファイルサーバ30A及びWebサーバ30Bにアクセスし、ファイルサーバ30A及びWebサーバ30Bが提供するサービスを利用する。
A user terminal (not shown) connected to the
LAN2は、パケット中継装置20A〜20Dによって構成され、パケット中継装置20C及び20DはWAN4に接続される。LAN2内の経路は、リンクステート型ルーティングプロトコルによって制御される。
The
リンクステート型プロトコルでは、あるパケット中継装置20は、隣接するパケット中継装置20から経路情報を収集し、収集した経路情報を経路情報データベース411(図3参照)に格納する。これによって、LAN2を構成するパケット中継装置20は、互いの経路情報を把握できる。
In the link state protocol, a
本実施例では、リンクステート型ルーティングプロトコルとして、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
LAN2には運用管理ネットワーク1が接続され、運用管理ネットワーク1の運用管理端末10は、各パケット中継装置20に各種設定情報等を入力する。
The
データセンタ3には、ファイルサーバ30A、Webサーバ30B、並びに、パケット中継装置31A及び31Bが配置される。
In the
上記したように、ファイルサーバ30A及びWebサーバ30Bは、図示しないユーザ端末にサービスを提供し、監視装置として動作するパケット中継装置20が経路を監視する被監視装置となる。パケット中継装置31A及び31BはWAN4に接続される。
As described above, the
LAN2を構成するパケット中継装置20のいずれかに、運用管理端末10から被監視装置の識別情報(例えばIPアドレス)が入力されると、被監視装置の識別情報が入力されたパケット中継装置20は監視装置として動作するパケット中継装置20を決定する管理装置として動作する。
When identification information (for example, an IP address) of a monitored device is input from one of the
管理装置として動作するパケット中継装置20は、自身の経路情報データベース411(図2参照)を参照し、監視装置として動作するパケット中継装置20を決定する。図1では、パケット中継装置20Aが管理装置として動作し、外部ネットワークに接続されるパケット中継装置20C及び20Dが監視装置として動作する。なお、詳細は図7で説明するが、監視装置として動作するパケット中継装置20C及び20Dのうち、パケット中継装置20Cの監視状態がactiveに設定され、パケット中継装置20Dの監視状態が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
一方、監視状態がstandbyに設定されたパケット中継装置20Dは、監視パケットを送信せずに待機し、パケット中継装置20Cがファイルサーバ30Aまでの経路及びWebサーバ30Bまでの経路の少なくとも一方に異常が発生したと判定した場合に、自身の監視状態をactiveに設定し、監視パケットを送信する。
On the other hand, the
なお、図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
図2は、本発明の実施例のパケット中継装置20のブロック図である。
FIG. 2 is a block diagram of the
パケット中継装置20は、管理機能処理部100、装置構成定義部200、監視機能処理部300、及びルーティングプロトコル処理部400を有する。
The
管理機能処理部100は、管理装置としての機能をパケット中継装置20に実装し、監視装置として動作するパケット中継装置20を決定する。管理機能処理部100は、経路情報検索部101、初期監視状態決定部102、及び監視制御データ作成部103を有する。
The management
経路情報検索部101は、運用管理端末10から入力された被監視装置のIPアドレスに対応する経路情報を経路情報データベース411から検索する。初期監視状態決定部102は、経路情報検索部101の検索結果に基づいて、監視装置として動作するパケット中継装置20を決定し、監視装置として動作するパケット中継装置20の監視状態を決定する。監視制御データ作成部103は、監視装置として動作するパケット中継装置20の識別情報及び当該パケット中継装置20の監視状態等を含む監視制御データを作成する。監視制御データの詳細は、図5で詳細を説明する。
The route
装置構成定義部200は、パケット中継装置20の構成定義情報を有し、運用管理端末10から入力された被監視装置のIPアドレスが登録される監視先IPアドレス情報201を有する。
The device
監視機能処理部300は、監視装置としての機能をパケット中継装置20に実装し、監視状態情報管理部310、監視情報受信処理部320、及び監視情報送信処理部330を有する。
The monitoring
なお、管理装置として動作するパケット中継装置20が送信する監視制御データ、及び監視装置として動作するパケット中継装置20が監視状態を変更した場合に送信する監視状態変更通知を総称して、監視状態情報という。また、監視状態情報及び監視装置として動作するパケット中継装置20が送信する監視パケットを総称して、監視情報という。
Note that the monitoring control data transmitted by the
監視状態情報管理部310は、監視状態情報に基づいて、自身の監視状態及び他のパケット中継装置20の監視状態を管理する。監視状態情報管理部310は、監視状態情報データベース311、監視状態管理部312、及び監視状態変更通知作成部313を有する。
The monitoring status
監視状態情報データベース311には、自身の監視状態及び他のパケット中継装置20の監視状態が登録される。監視状態情報データベース311の詳細は、図4で説明する。監視状態管理部312は、自身の監視状態を管理する。監視状態変更通知作成部313は、自身の監視状態を変更する場合に、その旨を他のパケット中継装置20に通知する監視状態変更通知を作成する。監視状態変更通知の詳細は図6で説明する。
The monitoring
監視情報受信処理部320は、監視パケットに対する応答パケット及び監視状態情報を受信した場合の処理を実行する。監視情報受信処理部320は、監視状態情報解析部321、死活判定処理部322、及び監視情報受信処理部323を有する。
The monitoring information
監視状態情報解析部321は、受信した監視状態情報を解析する。死活判定処理部322は、被監視装置からの監視パケットに対する応答パケットの受信の有無に基づいて、被監視装置までの経路に異常が発生しているか否かを判定する。監視情報受信処理部323は、受信した監視情報を適切なモジュールに入力する。
The monitoring state
監視情報送信処理部330は、監視情報を送信し、監視パケット送信処理部331、及び監視状態情報送信処理部332を有する。監視パケット送信処理部331は監視パケットを被監視装置に送信する。監視状態情報送信処理部332は、監視制御データ及び監視状態変更通知を他のパケット中継装置20に送信する。
The monitoring information
ルーティングプロトコル処理部400は、ルーティングプロトコルに関する処理を実行し、経路情報管理部410、経路計算処理部420、及び制御パケット送受信処理部430を有する。
The routing
経路情報管理部410は、自身の経路情報及び他のパケット中継装置20から送信された経路情報を管理し、経路情報データベース411を有する。経路情報データベース411には、自身の経路情報及び他のパケット中継装置20から送信された経路情報が登録される。経路情報データベース411の詳細は図3で説明する。経路計算処理部420は、パケットの転送に用いる経路を計算する。制御パケット送受信処理部430は、経路情報等の制御パケットを送受信する処理を実行する。
The route
図3は、本発明の実施例の経路情報データベース411の説明図である。
FIG. 3 is an explanatory diagram of the
経路情報データベース411には、自身の経路情報及び他のパケット中継装置20の経路情報が登録される。経路情報データベース411は、宛先アドレス情報301、広告元装置ID302、及びメトリック値303を含む。
In the
宛先アドレス情報301には、自身又は経路情報を送信したパケット中継装置20の接続先となるパケット中継装置20又は外部ネットワークのIPアドレスが登録される。広告元装置ID302には、経路情報を送信したパケット中継装置20の識別情報(例えば、IPアドレス)が登録される。メトリック値303には、メトリック値が登録される。通常、メトリック値は、経路情報を送信したパケット中継装置20から宛先アドレス情報301に登録されたIPアドレスによって特定される装置までのホップ数であるが、本実施例のメトリック値は、経路情報を送信するパケット中継装置20に管理者によって設定された優先度である。なお、メトリック値が小さい方が、優先度が高いことを意味する。
In the
なお、図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
図3に示す経路情報データベース411は、図1に示す管理装置として動作するパケット中継装置20Aが保持する。また、図3に示す経路情報データベース411の1行目のエントリにはパケット中継装置20Cの経路情報が登録され、2行目のエントリにはパケット中継装置20Dの経路情報が登録される。
The
図4は、本発明の実施例の監視状態情報データベース311の説明図である。
FIG. 4 is an explanatory diagram of the monitoring
監視状態情報データベース311には、管理装置として動作するパケット中継装置20から送信される監視制御データ及び監視状態が変更されたパケット中継装置20から送信される監視状態変更通知に基づいて、監視装置として動作するパケット中継装置20の監視状態が登録される。
The monitoring
監視状態情報データベース311は、被監視装置IPアドレス401、監視装置ID402、監視状態403、及び優先度404を含む。
The monitoring
被監視装置IPアドレス401には、被監視装置のIPアドレスが登録される。監視装置ID402には、監視装置として動作するパケット中継装置20の識別情報が登録される。監視状態403には、監視装置として動作するパケット中継装置20の監視状態が登録される。優先度404には、監視装置として動作するパケット中継装置20に設定されたメトリック値が優先度として登録される。
In the monitored
監視状態は、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
監視制御データは、被監視装置のIPアドレス、監視装置として動作するパケット中継装置20の識別情報、当該監視装置に設定される監視状態、及び優先度を含む。
The monitoring control data includes the IP address of the monitored device, the identification information of the
パケット中継装置20は、管理装置から送信された監視制御データを受信し、受信した管理制御データの内容を監視状態情報データベース311に登録することによって、監視装置の監視状態及び優先度を把握できる。
The
図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
図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
監視状態変更通知は、被監視装置の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
図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
図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
パケット中継装置20は、運用管理端末10から被監視装置のIPアドレスの入力を受け付ける(701)。パケット中継装置20が被監視装置のIPアドレスの入力を受け付けたタイミングで監視装置決定処理の実行を開始する。
The
次に、被監視装置のIPアドレスの入力を受け付けたパケット中継装置20の装置構成定義部200は、入力を受け付けた被監視装置のIPアドレスを監視先IPアドレス情報201に登録し、被監視装置のIPアドレスが入力された旨を示す設定変更通知を管理機能処理部100に出力する(702)。
Next, the device
装置構成定義部200から設定変更通知が管理機能処理部100に入力された場合、管理機能処理部100の監視制御データ作成部103は、監視先IPアドレス情報201に登録された被監視装置のIPアドレスを取得し、取得した被監視装置のIPアドレスを含む監視制御データを作成する(703)。
When a setting change notification is input from the device
次に、経路情報検索部101は、取得した被監視装置のIPアドレスをキーに経路情報データベース411から経路情報を検索する(704)。
Next, the route
具体的には、経路情報検索部101は、経路情報データベース411の宛先アドレス情報301に登録されたIPアドレスに被監視装置のIPアドレスが含まれるレコードを、経路情報データベース411から検索する。
Specifically, the route
ステップ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
次に、ステップ705〜708の処理で、初期監視状態決定部102が監視装置の監視状態を決定する。
Next, in the processes of steps 705 to 708, the initial monitoring
まず、初期監視状態決定部102は、ステップ704の処理で検索された経路情報をメトリック値の小さい順にソートする(705)。なお、図3で説明したように、メトリック値は経路情報の優先度を示し、メトリック値が小さいほど優先度は高くなる。
First, the initial monitoring
そして、初期監視状態決定部102は、メトリック値の最も小さい経路情報(すなわち、優先度が最高の経路情報)の送信元となるパケット中継装置20の監視状態をactiveに決定し、監視制御データ作成部103は、当該パケット中継装置20の識別情報、監視状態がactiveとなる旨、及び当該パケット中継装置20のメトリック値(優先度)を監視制御データに追加する(706)。
Then, the initial monitoring
なお、メトリック値が最も小さい(すなわち、優先度が最高の)経路情報の送信元となるパケット中継装置20が複数ある場合、初期監視状態決定部102は、これらのパケット中継装置20の識別情報が最大のパケット中継装置20の監視状態をactiveに決定する。
When there are a plurality of
次に、初期監視状態決定部102は、ステップ704の処理で検索された経路情報に、ステップ706の処理で監視状態をactiveに決定された経路情報以外の経路情報があるか否かを判定する(707)。
Next, the initial monitoring
ステップ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
一方、ステップ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
そして、監視状態情報送信処理部332は、監視制御データを他のパケット中継装置20に送信し(709)、処理を終了する。
Then, the monitoring state information
なお、監視状態情報管理部310は、ステップ709の処理で送信した監視制御データを監視状態情報データベース311に登録する。具体的には、監視状態情報管理部310は、監視状態情報データベース311の監視装置ID402に監視制御データに含まれる監視装置の識別情報が登録されていなければ、数分のレコードを監視状態情報データベース311に追加し、各レコードの監視装置ID402に、監視制御データに含まれる監視装置の識別情報を追加する。また、監視状態情報管理部310は、追加したレコードの被監視装置IPアドレス401に、監視制御データに含まれる被監視装置のIPアドレスを登録し、追加したレコードの監視状態403に監視制御データに含まれる監視状態を登録し、追加したレコードの優先度404に監視制御データに含まれる優先度(メトリック値)を登録する。なお、監視状態情報管理部310は、監視状態情報データベース311の監視装置ID402に監視制御データに含まれる監視装置の識別情報が登録されている
場合、当該レコードを監視制御データに基づいて更新する。
Note that the monitoring state
なお、図1では、管理装置として動作するパケット中継装置20A以外のパケット中継装置(パケット中継装置20C及び20D)が監視装置として決定されるが、管理装置として動作するパケット中継装置20A自身が監視装置として決定されてもよい。この場合であっても、管理装置として動作するパケット中継装置20Aは、他のパケット中継装置20に自身が監視装置として動作することを通知するため、監視制御データを送信する。
In FIG. 1, packet relay apparatuses (
以上によって、被監視装置のIPアドレスが入力され、管理装置として動作するパケット中継装置20は、経路情報データベース411を参照し、被監視装置まで到達可能な経路上に位置するパケット中継装置20を監視装置として決定する。
As described above, the IP address of the monitored device is input, and the
また、管理装置は、監視装置が複数存在する場合、予め決定された経路の優先度に基づいて、優先度の最も高い監視装置の監視状態を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
図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
経路情報のメトリック値が変更された場合、各パケット中継装置20の経路情報データベース411のメトリック値303が変更され、パケット中継装置20の識別情報が変更された場合、各パケット中継装置20の経路情報データベース411の広告元装置ID302が変更され、LAN2の経路が変更された場合、各パケット中継装置20の経路情報データベース411の宛先アドレス情報301が変更される。
When the metric value of the route information is changed, the
このように経路情報データベース411が変更された場合には、管理装置は、変更後の経路情報データベース411に基づいて再度監視装置決定処理を実行する。これによって、LAN2の構成が変更されても、変更後の経路情報データベース411に基づく適切な監視装置が決定される。
When the
図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
まず、監視情報受信処理部320の監視状態情報解析部321は、受信した監視制御データを解析し、受信した監視制御データに含まれる監視装置の識別情報に自身の識別情報が含まれるか否かを判定する(801)。
First, the monitoring state
ステップ801の処理で、受信した監視制御データに含まれる監視装置の識別情報に自身の識別情報が含まれないと判定された場合、監視状態情報管理部310は、受信した監視制御データを監視状態情報データベース311に登録し(807)、処理を終了する。なお、具体的な監視状態情報データベース311への登録処理は、図7のステップ709の処理と同じなので、説明を省略する。
If it is determined in
一方、ステップ801の処理で、受信した監視制御データに含まれる監視装置の識別情報に自身の識別情報が含まれると判定された場合、監視状態情報解析部321は、受信した監視制御データを参照し、自身の識別情報に対応する監視状態がactiveであるか否かを判定する(802)。
On the other hand, if it is determined in
ステップ802の処理で、自身の識別情報に対応する監視状態がactiveであると判定された場合、監視状態管理部312は、受信した監視制御データに含まれる被監視装置のIPアドレスと自身の監視状態(active)と対応付けて保持し、自身の監視状態をactiveに設定する(803)。
If it is determined in
次に、監視状態情報管理部310は、受信した監視制御データを監視状態情報データベース311に登録する(804)。なお、具体的な監視状態情報データベース311への登録処理は、図7のステップ709の処理と同じなので、説明を省略する。
Next, the monitoring status
そして、監視パケット送信処理部331は、被監視装置にパケットの送信を開始し(805)、処理を終了する。
Then, the monitoring packet
一方、ステップ802の処理で、自身の識別情報に対応する監視状態がactiveでないと判定された場合、すなわち、自身の識別情報に対応する監視状態がstandbyである場合、監視状態管理部312は、受信した監視制御データに含まれる被監視装置のIPアドレスと自身の監視状態(standby)と対応付けて保持し、自身の監視状態をstandbyに設定し(806)、ステップ807の処理に進み、受信した監視制御データを監視状態情報データベース311に登録し、処理を終了する。
On the other hand, when it is determined in the process of
なお、監視状態を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
図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
経路の監視方法として、応答要求パケットの送信回数と応答要求パケットに対する応答の受信回数との差分に基づいて経路の異常を判定する方法等があるが、本実施例では、応答要求パケットを送信してから所定時間以内に応答パケットを受信するか否かに基づいて経路の異常を判定する方法を用いる。 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
次に、死活判定処理部322は、被監視装置から応答パケットを受信したか否かを判定する(902)。
Next, the life / death
ステップ902の処理で被監視装置から応答パケットを受信したと判定された場合、死活判定処理部322は応答パケットの受信時刻を記憶し(908)、ステップ901の処理に戻る。
If it is determined in
一方、ステップ902の処理で被監視装置から応答パケットを受信していないと判定された場合、死活判定処理部322は、監視パケットの送信時刻と現在時刻との差分を算出する(903)。そして、死活判定処理部322は、算出した差分が閾値より大きいか否かを判定する(904)。
On the other hand, if it is determined in
ステップ904の処理で差分が閾値以下であると判定された場合、死活判定処理部322は、被監視装置までの経路に異常が発生していないと判定し、ステップ902の処理に戻る。
When it is determined in
ステップ904の処理で差分が閾値より大きいと判定された場合、死活判定処理部322は被監視装置までの経路に異常が発生したと判定し、監視状態管理部312は、当該被監視装置に対する監視状態をdownに更新する(905)。
If it is determined in
そして、監視状態情報管理部310は、監視状態情報データベース311のレコードのうち、被監視装置IPアドレス401に、異常が発生したと判定された経路の被監視装置のIPアドレスが登録され、かつ監視装置ID402に自身の識別情報が登録されたレコードの監視状態403をactiveからdownに更新する(906)。
Then, the monitoring state
そして、監視状態変更通知作成部313は監視状態変更通知を作成し、監視状態情報送信処理部332は監視状態変更通知を他のパケット中継装置20に送信し(907)、処理を終了する。監視状態変更通知作成部313が作成する監視状態変更通知は、異常が発生したと判定された経路の被監視装置のIPアドレス、自身の識別情報、及び変更後の監視状態であるdownを含む。
Then, the monitoring state 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
以上によって、監視状態がactiveに設定されたパケット中継装置20は、応答パケットの受信の有無に基づいて、被監視装置までの経路に異常が発生したか否かを判定し、当該経路に異常が発生した場合、自身の監視状態をdownに設定し、監視状態変更通知を他のパケット中継装置20に送信する。
As described above, the
図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
まず、監視情報受信処理部323が、他の監視装置から送信された監視状態変更通知を受信する(1001)。
First, the monitoring information
次に、監視状態情報解析部321は、受信した監視状態変更通知を解析し、受信した監視状態変更通知に含まれる監視状態を取得する(1002)。そして、監視状態情報解析部321は、ステップ1002の処理で取得した監視状態がdown又はstandbyであるか否かを判定する(1003)。
Next, the monitoring status
ステップ1002の処理で取得した監視状態がdown又はstandbyであると、ステップ1003の処理で判定された場合、監視状態管理部312は、受信した監視状態変更通知に含まれる被監視装置のIPアドレスによって識別される被監視装置(以下、監視状態変更被監視装置という)に対する自身の監視状態がstandbyであるか否かを判定する(1004)。
If it is determined in
ステップ1004の処理で、監視状態変更被監視装置に対する自身の監視状態がstandbyであると判定された場合、監視状態情報管理部310は、監視状態情報データベース311の被監視装置IPアドレス401に監視状態変更被監視装置のIPアドレスが登録されているレコードを取得することによって、監視状態変更被監視装置に対して監視装置として動作する他のパケット中継装置20の有無、及び当該監視装置の優先度等を取得する(1005)。
If it is determined in
次に、監視状態情報管理部310は、ステップ1005の処理で取得した情報を参照し、監視状態変更被監視装置のIPアドレスに対する監視状態がstandbyである他の監視装置がないという第1条件、及び自身の優先度が最も高いという第2条件の少なくとも一方に適合するか否かを判定する(1006)。
Next, the monitoring state
なお、受信した監視制御データの変更後の監視状態が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
ステップ1006の処理で、第1条件及び第2条件の少なくとも一方に適合すると判定された場合、監視状態管理部312は、監視状態変更被監視装置に対する自身の監視状態をactiveに変更し、監視状態情報管理部310は、監視状態情報データベース311のレコードのうち、被監視装置IPアドレス401に監視状態変更被監視装置のIPアドレスが登録され、かつ監視装置ID402に自身の識別情報が登録されたレコードの監視状態403をstandbyからactiveに更新する(1007)。
If it is determined in
そして、監視状態変更通知作成部313は監視状態変更通知を作成し、監視状態情報送信処理部332は監視状態変更通知を他のパケット中継装置20に送信する(1008)。監視状態変更通知作成部313が作成する監視状態変更通知は、監視状態被監視装置のIPアドレス、自身の識別情報、及び変更後の監視状態であるactiveを含む。
Then, the monitoring state change
次に、監視状態情報管理部310は、受信した監視状態変更通知に基づいて監視状態情報データベース311を更新し(1009)、処理を終了する。具体的には、監視状態情報管理部310は、監視状態情報データベース311のレコードのうち、被監視装置IPアドレス401に監視状態変更被監視装置のIPアドレスが登録され、かつ監視装置ID402に受信した監視状態変更通知に含まれる監視装置の識別情報が登録されたレコードの監視状態403に受信した監視情報変更通知に含まれる監視状態を登録する。
Next, the monitoring status
なお、ステップ1004の処理で、監視状態変更被監視装置に対する自身の監視状態がstandbyでないと判定された場合、又は、ステップ1006の処理で、第1条件及び第2条件のいずれにも適合しないと判定された場合、ステップ1009の処理に進む。
Note that if it is determined in
一方、ステップ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
ステップ1010の処理で、監視状態変更被監視装置に対する自身の監視状態がactiveであると判定された場合、監視状態情報管理部310は、監視状態情報データベース311のレコードのうち、被監視装置IPアドレス401に監視状態変更被監視装置のIPアドレスが登録され、かつ、監視装置ID402に受信した監視状態変更通知に含まれる監視装置の識別情報が登録されているレコードの優先度404を取得する(1011)。
If it is determined in
そして、監視状態情報管理部310は、自身の優先度がステップ1011の処理で取得した優先度より低いか否かを判定する(1012)。
Then, the monitoring state
ステップ1014の処理で、自身の優先度がステップ1011の処理で取得した優先度より低いと判定された場合、監視状態管理部312は、監視状態変更被監視装置に対する自身の監視状態をstandbyに変更し、監視状態情報管理部310は、監視状態情報データベース311のレコードのうち、被監視装置IPアドレス401に監視状態変更被監視装置のIPアドレスが登録され、かつ監視装置ID402に自身の識別情報が登録されたレコードの監視状態403をactiveからstandbyに更新する(1013)。
If it is determined in
そして、監視状態変更通知作成部313は監視状態変更通知を作成し、監視状態情報送信処理部332は監視状態変更通知を他のパケット中継装置20に送信し(1014)、ステップ1009の処理に進む。監視状態変更通知作成部313が作成する監視状態変更通知は、監視状態被監視装置のIPアドレス、自身の識別情報、及び変更後の監視状態であるstandbyを含む。
Then, the monitoring state change
ステップ1010の処理で、監視状態変更被監視装置に対する自身の監視状態がactiveでないと判定された場合、及びステップ1012の処理で、自身の優先度がステップ1011の処理で取得した優先度以上であると判定された場合、自身の監視状態を変更しないため、ステップ1009の処理に進み、処理を終了する。
If it is determined in
以上によって、監視状態がstandbyの監視装置として動作するパケット中継装置20は、監視状態をdown又はstandbyに変更した旨の監視状態変更通知を受信した場合、監視状態変更被監視装置に対する監視状態がstandbyの他の監視装置がない場合、及び、自身の優先度が最も高い場合、自身の監視状態をactiveに変更する。また、監視状態がactiveの監視装置として動作するパケット中継装置20は、監視状態をactiveに変更した旨の監視状態変更通知を受信した場合、自身の優先度が、監視状態をactiveに変更した監視装置の優先度より低い場合、自身の監視状態をstandbyに変更する。
As described above, when the
図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
次に、死活判定処理部322は、被監視装置から応答パケットを受信したか否かを判定する(1102)。被監視装置までの経路に異常が発生している場合、被監視装置からの応答パケットは当該パケット中継装置20に到達しないが、被監視装置までの経路に発生した異常が復旧した場合、被監視装置からの応答パケットは当該パケット中継装置20に到達する。
Next, the life / death
ステップ1102の処理で、被監視装置から応答パケットを受信していないと判定された場合、死活判定処理部322は被監視装置までの経路の異常が復旧していないと判定し、ステップ1101の処理に戻り、監視パケットを被監視装置に送信する。
If it is determined in
一方、ステップ1102の処理で、被監視装置から応答パケットを受信したと判定された場合、死活判定処理部322は被監視装置までの経路の異常が復旧したと判定し、自身の監視状態をdownからactive又はstandbyに変更する処理を実行する。
On the other hand, if it is determined in
監視状態情報管理部310は、監視状態情報データベース311の被監視装置IPアドレス401に異常が復旧した経路の被監視装置(以下、異常復旧被監視装置という)のIPアドレスが登録されているレコードを取得することによって、異常復旧被監視装置に対する監視状態がactiveの監視装置として動作する他のパケット中継装置20の有無、及び他の監視装置の優先度等を取得する(1103)。
The monitoring state
次に、監視状態情報管理部310は、ステップ1103の処理で取得した情報を参照し、異常復旧被監視装置に対する監視状態がactiveである監視装置がないという第1条件、及び監視装置の中で自身の優先度が最も高いという第2条件の少なくとも一方に適合するか否かを判定する(1104)。
Next, the monitoring status
ステップ1104の処理で、第1条件及び第2条件の少なくとも一方に適合すると判定された場合、監視状態管理部312は、異常復旧被監視装置に対する自身の監視状態をactiveに変更し、監視状態情報管理部310は、監視状態情報データベース311のレコードのうち、被監視装置IPアドレス401に異常復旧被監視装置のIPアドレスが登録され、かつ監視装置ID402に自身の識別情報が登録されたレコードの監視状態403をdownからactiveに更新する(1105)。
If it is determined in
そして、監視状態変更通知作成部313は監視状態変更通知を作成し、監視状態情報送信処理部332は監視状態変更通知を他のパケット中継装置20に送信し(1106)、処理を終了する。監視状態変更通知作成部313が作成する監視状態変更通知は、異常復旧被監視装置のIPアドレス、自身の識別情報、及び変更後の監視状態であるactiveを含む。
Then, the monitoring state change
一方、ステップ1104の処理で、第1条件及び第2条件に適合しないと判定された場合、監視状態管理部312は、異常復旧被監視装置に対する自身の監視状態をstandbyに変更し、監視状態情報管理部310は、監視状態情報データベース311のレコードのうち、被監視装置IPアドレス401に異常復旧被監視装置のIPアドレスが登録され、かつ監視装置ID402に自身の識別情報が登録されたレコードの監視状態403をdownからstandbyに更新する(1107)。
On the other hand, if it is determined in
そして、監視状態変更通知作成部313は監視状態変更通知を作成し、監視状態情報送信処理部332は監視状態変更通知を他のパケット中継装置20に送信し(1108)、処理を終了する。監視状態変更通知作成部313が作成する監視状態変更通知は、異常復旧被監視装置のIPアドレス、自身の識別情報、及び変更後の監視状態であるstandbyを含む。
Then, the monitoring state change
例えば、図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
パケット中継装置20Dは、パケット中継装置20Cから送信された監視状態変更通知を受信すると、図10に示す監視状態変更通知受信処理を実行する。監視状態変更通知の変更後の監視状態はactiveであり、パケット中継装置20Dの監視状態がactiveであるので、パケット中継装置20Dは図10に示すステップ1012の処理に進む。ここで、パケット中継装置20Dの優先度「5」はパケット中継装置20Cの優先度(メトリック値)「1」より低いので、パケット中継装置20Dは、自身の監視状態をstandbyに変更し、監視状態をstandbyに変更した旨の監視状態変更通知を送信する。
When the
図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
まず、監視状態が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
また、監視状態が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
次に、監視状態が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
なお、本実施例の監視状態が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
また、監視状態が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
なお、管理装置は、監視装置の初期の監視状態として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
管理装置となるパケット中継装置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
各パケット中継装置20は、監視制御データを受信した場合、図8に示す監視制御データ受信処理を実行する。パケット中継装置20Bは、監視制御データに自身の識別情報が含まれないので、受信した監視制御データを監視状態情報データベース311に登録し、処理を終了する。
Each
パケット中継装置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
パケット中継装置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
本発明では、管理装置は、経路情報のメトリック値に基づいて、監視装置の監視状態を決定する。メトリック値は、パケット中継装置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
次に、図1において、パケット中継装置20CのWAN4に接続される回線で異常が発生した場合について説明する。
Next, a case where an abnormality occurs in the line connected to the
監視状態が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
パケット中継装置20は、監視状態変更通知を受信した場合、図10に示す監視状態変更通知受信処理を実行する。例えば、パケット中継装置20Cから送信されたファイルサーバ30Aに対する監視状態をdownに変更した旨を示す監視状態変更通知をパケット中継装置20A、20B及び20Dが受信した場合について説明する。パケット中継装置20A及び20Bは、自身の監視状態がstandbyでないため、受信した監視状態変更通知に基づいて監視状態情報データベース311を更新し、処理を終了する。
When the
パケット中継装置20Dは、ファイルサーバ30Aに対する監視状態がstandbyの監視装置が他に存在しないため、自身のファイルサーバ30Aに対する監視状態をactiveに変更し、自身のファイルサーバ30Aに対する監視状態がactiveとなるように監視状態情報データベース311を更新し、ファイルサーバ30Aに対する監視状態をactiveに変更した旨を示す監視状態変更通知を送信する。そして、パケット中継装置20Dは、ファイルサーバ30Aに対する監視状態をdownに変更した旨を示す監視状態変更通知に基づいて、パケット中継装置20Cのファイルサーバ30Aに対する監視状態をdownに変更するように、監視状態情報データベース311を更新する。
The
なお、パケット中継装置20Cから送信されたWebサーバ30Bに対する監視状態をdownに変更した旨を示す監視状態変更通知をパケット中継装置20A、20B及び20Dが受信した場合の処理は、上記した処理と同様にパケット中継装置20DのWebサーバ30Bに対する監視状態がactiveに設定される。
The processing when the
パケット中継装置20は、自身の監視状態を変更した場合に自身の監視状態情報データベース311を更新し、受信した監視状態変更通知に基づいて監視状態情報データベース311を更新する。これによって、パケット中継装置20の監視状態情報データベース311は互いに同じ情報が登録されることとなる。
The
パケット中継装置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
図10に示す監視状態変更通知受信処理によってパケット中継装置20Dの監視状態がactiveとなるため、パケット中継装置20Dは、ファイルサーバ30A及びWebサーバ30Bに監視パケットを所定時間間隔で送信する。また、監視状態がdownに設定されたパケット中継装置20Cは、図11に示す経路復旧監視処理を実行し、ファイルサーバ30A及びWebサーバ30Bまでの経路の異常が復旧したか否かを監視するために、ファイルサーバ30A及びWebサーバ30Bに監視パケットを送信する。
Since the monitoring state of the
次に、監視状態が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
この場合、パケット中継装置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
なお、パケット中継装置20Dは、例えば、ファイルサーバ30Aに対する監視状態をactiveに変更した旨を示す監視状態変更通知を受信した場合、自身のファイルサーバ30Aに対する監視状態がactiveであり、自身の優先度はパケット中継装置20Cより低いので、自身の監視状態をstandbyに変更し、自身の監視状態情報データベース311を更新し、ファイルサーバ30Aに対する監視状態をstandbyに変更した旨を示す監視状態変更通知を送信する。
For example, when the
また、パケット中継装置20Dは、Webサーバ30Bに対する監視状態をactiveに変更した旨を示す監視状態変更通知を受信した場合、自身のWebサーバ30Bに対する監視状態をstandbyに変更する。
When the
これによって、パケット中継装置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
次に、図1に示すファイルサーバ30A自体に異常が発生した場合の処理について説明する。
Next, processing when an abnormality occurs in the
この異常によって、パケット中継装置20C及び20Dからファイルサーバ30Aまでの経路に異常が発生し、監視状態がactiveに設定されたパケット中継装置20Cは、ファイルサーバ30Aに送信した監視パケットに対する応答パケットを受信しなくなり、ファイルサーバ30Aまでの経路に異常が発生したと判断する。この場合、パケット中継装置20Cは、自身のファイルサーバ30Aに対する監視情報をdownに設定し、監視状態情報データベース311を更新し、監視状態変更通知を送信する。
Due to this abnormality, an abnormality occurs in the path from the
パケット中継装置20Dは、パケット中継装置20Cが送信した監視状態変更通知を受信した場合、図10に示す監視状態変更通知受信処理を実行する。この場合、パケット中継装置20Dは、ファイルサーバ30Aに対する監視状態がstandbyに設定された監視装置が他にないので、自身のファイルサーバ30Aに対する監視状態をactiveに設定し、監視状態情報データベース311を更新し、監視状態変更通知を送信する。
When the
パケット中継装置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
パケット中継装置20Dの監視状態がactiveに設定されても、ファイルサーバ30A自体の異常であるため、パケット中継装置20Dは、ファイルサーバ30Aに送信した監視パケットに対する応答パケットを受信せず、ファイルサーバ30Aまでの経路に異常が発生したと判断する。
Even if the monitoring state of the
これによって、パケット中継装置20Dは、自身のファイルサーバ30Aに対する監視状態をdownに変更し、監視状態変更通知を送信する。そして、パケット中継装置20Dは、OSPFによる経路変更通知を送信する。最終的にファイルサーバ30Aに対してパケット中継装置20C及び20Dの監視状態はどちらもdownに設定される。
As a result, the
ファイルサーバ30Aが異常から復旧すると、ファイルサーバ30Aに対する監視状態がdownに設定されたパケット中継装置20C及び20Dは、当該復旧を検出し、自身のファイルサーバ30Aに対する監視状態をactiveに設定し、監視状態変更通知を送信する。
When the
パケット中継装置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
以上によって、ファイルサーバ30Aに異常が発生した場合、監視装置として決定されたパケット中継装置20C及び20Dの監視状態がどちらもdownに設定され、当該異常が復旧した場合にパケット中継装置20C及び20Dの監視状態がどちらもactiveに一旦設定され、パケット中継装置20C及び20Dが監視状態変更通知を受信したタイミングで、優先度の高いパケット中継装置20Cの監視状態がactiveのままとなり、優先度の低いパケット中継装置20Dの監視状態がdownに変更される。これによって、ファイルサーバ30Aに異常が発生する前の状態に戻る。
As described above, when an abnormality occurs in the
本実施例によれば、運用管理者は、パケット中継装置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
また、管理中継装置は、LAN2の構成が変更された場合、LAN2の構成の変更を反映した経路情報データベース411を参照して、監視装置として動作するパケット中継装置20を自動的に決定する。これによって、LAN2の構成が変更された場合に、当該変更を反映した経路情報データベース411を参照して、適切なパケット中継装置20を監視装置として動作させることができる。
In addition, when the configuration of the
また、管理中継装置は、監視装置として動作することが決定されたパケット中継装置20が複数存在する場合、優先度が最も高いパケット中継装置20の監視状態をアクティブ状態に設定し、その他のパケット中継装置20の監視状態をスタンバイ状態に設定する。これによって、監視装置を冗長化することができる。また、監視状態がアクティブ状態に設定された監視装置のみが被監視装置までの経路を監視するため、被監視装置までの経路のトラフィックを軽減でき、被監視装置の経路監視のための応答を送信する処理負荷を軽減できる。
In addition, when there are a plurality of
アクティブ状態の監視装置は、被監視装置までの経路に異常が発生した場合、自身の監視状態をダウン状態に設定し、その旨を示す監視状態変更通知を他の中継装置に送信する。なお、監視状態がダウン状態に設定された監視装置は、異常が発生した被監視装置までの経路の監視を継続する。監視状態変更通知を受信したスタンバイ状態の監視装置は、スタンバイ状態の監視装置の中で自身の優先度が最も高い場合、自身の監視状態をアクティブ状態に設定する。これによって、監視装置の冗長化は、アクティブ状態の監視装置が監視する経路に異常が発生した場合であっても、スタンバイ状態の監視装置の中で最も優先度の高い監視装置の監視状態がアクティブ状態となることで実現される。また、ダウン状態となった監視装置は、被監視装置までの経路の監視を継続するため、当該経路が復旧した場合には、その旨を検出することができる。 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
3
DESCRIPTION OF
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.
前記管理中継装置は、
前記監視装置として動作する中継装置を決定した後に、前記ネットワークの構成の変更を検出した場合、前記経路情報を更新し、
前記更新後の経路情報を参照し、前記監視装置として動作する中継装置を決定することを特徴とするネットワークシステム。 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.
前記中継装置が保持する経路情報は、各中継装置の優先度を含み、
前記管理中継装置は、前記監視装置として動作する中継装置が複数存在する場合、前記優先度が最も高い中継装置の監視状態を、前記被監視装置までの経路を実際に監視するアクティブ状態に設定し、その他の中継装置の監視状態を、前記被監視装置までの経路を監視せずに待機するスタンバイ状態に設定することを特徴とするネットワークシステム。 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.
前記アクティブ状態に設定された中継装置は、
前記被監視装置までの経路に異常を検出した場合、自身の監視状態を、前記被監視装置までの経路に異常が検出されている間前記経路を監視し続けるダウン状態に設定し、
自身の前記監視状態を変更した旨を示す監視状態変更通知を他の中継装置に送信し、
前記スタンバイ状態の中継装置の中で優先度が最も高い中継装置は、前記監視状態変更通知を受信した場合、自身の監視状態を前記アクティブ状態に設定することを特徴とするネットワークシステム。 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.
前記管理中継装置は、前記被監視装置の識別情報、前記監視装置として動作することが決定された中継装置の識別情報、前記監視装置として動作することが決定された中継装置の監視状態、及び前記監視装置として動作することが決定された中継装置の優先度を含む監視制御データを送信し、
前記監視状態変更通知は、前記監視状態を変更した中継装置の識別情報、前記変更後の監視状態、及び前記監視状態を変更した中継装置の優先度を含むことを特徴とするネットワークシステム。 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.
前記中継装置は、
リンクステート型ルーティングプロトコルを用いて前記他の中継装置から経路情報を取得し、
前記取得した経路情報を保持することを特徴とするネットワークシステム。 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.
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)
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 |
-
2013
- 2013-08-08 JP JP2013164802A patent/JP2015035678A/en active Pending
Cited By (2)
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 |