JP2020141191A - Data acquisition device, client server system, data acquisition method, and program - Google Patents

Data acquisition device, client server system, data acquisition method, and program Download PDF

Info

Publication number
JP2020141191A
JP2020141191A JP2019033980A JP2019033980A JP2020141191A JP 2020141191 A JP2020141191 A JP 2020141191A JP 2019033980 A JP2019033980 A JP 2019033980A JP 2019033980 A JP2019033980 A JP 2019033980A JP 2020141191 A JP2020141191 A JP 2020141191A
Authority
JP
Japan
Prior art keywords
port
network device
data acquisition
server
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2019033980A
Other languages
Japanese (ja)
Other versions
JP6904600B2 (en
Inventor
佐藤 正明
Masaaki Sato
正明 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Fielding Ltd
Original Assignee
NEC Fielding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Fielding Ltd filed Critical NEC Fielding Ltd
Priority to JP2019033980A priority Critical patent/JP6904600B2/en
Publication of JP2020141191A publication Critical patent/JP2020141191A/en
Application granted granted Critical
Publication of JP6904600B2 publication Critical patent/JP6904600B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

To provide a data acquisition device and the like that can contribute to automatically acquiring data when an intermittent failure occurs.SOLUTION: A control unit identifies a port of a network apparatus connected to a server based on an IP address of a server, ARP table information on the network apparatus, and MAC address table information and sets monitoring, acquires monitoring information including IP addresses corresponding to ports that are ranked in a first predetermined number from the one with the maximum communication data amount among ports to which monitoring is set, identifies ports that are ranked in a second predetermined number less than the first predetermined number based on the monitoring information, the ARP table information, and the MAC address table information and sets capture, and sets the network apparatus connected to a data acquisition device to output communication data of the ports to which capture is set.SELECTED DRAWING: Figure 5

Description

本発明は、データ取得装置、クライアントサーバシステム、データ取得方法、及び、プログラムに関する。 The present invention relates to a data acquisition device, a client-server system, a data acquisition method, and a program.

ネットワーク機器(レイヤ3スイッチ、レイヤ2スイッチ)を利用したクライアントサーバシステムにおいて、処理性能の低下が時々発生するような障害の対応方法として、障害発生時に、クライアントサーバシステムから通信データを取得し、取得した通信データを解析する方法が一般的に行われている(例えば、特許文献1参照)。通常、障害発生時の通信データの取得は、クライアントサーバシステムに接続されたデータ取得装置(パソコン等)が、障害発生時のサーバの送受信データと、クライアントの送受信データと、を取得することによって行われる。 In a client-server system that uses network equipment (layer 3 switch, layer 2 switch), as a method of dealing with a failure that sometimes causes a decrease in processing performance, communication data is acquired from the client-server system and acquired when a failure occurs. A method of analyzing the communication data is generally used (see, for example, Patent Document 1). Normally, communication data is acquired when a failure occurs when a data acquisition device (personal computer, etc.) connected to the client-server system acquires the transmission / reception data of the server and the transmission / reception data of the client when a failure occurs. Will be.

特表2003−534748号公報Special Table 2003-534748

以下の分析は、本願発明者により与えられる。 The following analysis is provided by the inventor of the present application.

しかしながら、クライアントサーバシステムにおいて、処理性能の低下が間欠的に発生するような間欠障害の場合、サーバに接続されたLAN(Local Area Network)ポート、及び、クライアントに接続されたLANポートに対して、パケットキャプチャ(対象となるLANポートに流れている通信データの採取)の設定と、パケットキャプチャされるモニタ出力LANポート(データの出力をモニタリングするLANポート)の設定と、を行い、当該モニタ出力LANポートに、データ取得装置を接続して、障害発生時に手動でデータ取得を実行する必要がある。そのため、間欠障害発生時のデータ取得には時間がかかるという問題があった。 However, in the case of an intermittent failure that causes a decrease in processing performance intermittently in the client server system, the LAN (Local Area Network) port connected to the server and the LAN port connected to the client are referred to. Set the packet capture (collection of communication data flowing to the target LAN port) and the monitor output LAN port (LAN port that monitors the data output) for packet capture, and then set the monitor output LAN. It is necessary to connect a data acquisition device to the port and manually execute data acquisition in the event of a failure. Therefore, there is a problem that it takes time to acquire data when an intermittent failure occurs.

本発明の主な課題は、間欠障害発生時のデータ取得を自動的に行うのに貢献することができるデータ取得装置、クライアントサーバシステム、データ取得方法、及び、プログラムを提供することである。 A main object of the present invention is to provide a data acquisition device, a client-server system, a data acquisition method, and a program that can contribute to automatically acquiring data when an intermittent failure occurs.

第1の視点に係るデータ取得装置は、少なくとも1つのネットワーク機器を介して複数のクライアントとサーバとを通信可能に接続するクライアントサーバシステムからデータを取得するデータ取得装置である。データ取得装置は、少なくとも1つのネットワーク機器のいずれか1つと通信可能に接続する接続部と、前記サーバに係るIP(Internet Protocol)アドレスを記憶する記憶部と、前記接続部及び前記記憶部を制御するとともに、所定の情報処理を行う制御部と、を備える。前記制御部は、前記記憶部に記憶された前記サーバに係る前記IPアドレス、前記データ取得装置と直接的に接続された前記ネットワーク機器のARP(Address Resolution Protocol)テーブル情報、及び、前記少なくとも1つのネットワーク機器のすべてのMAC(Media Access Control)アドレステーブル情報、に基づいて、前記サーバが接続されている前記ネットワーク機器のポートを特定する処理を行う。前記制御部は、前記サーバが接続されている前記ネットワーク機器の前記ポートに対してモニタリングの設定を行う処理を行う。前記制御部は、前記サーバが接続されている前記ネットワーク機器から、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から第1所定数の順位に入るポートに対応するIPアドレスを含むモニタリング情報を取得する処理を行う。前記制御部は、取得した前記モニタリング情報と、前記ARPテーブル情報と、前記MACアドレステーブル情報と、に基づいて、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から、前記第1所定数よりも少ない第2所定数の順位に入るポートを特定する処理を行う。前記制御部は、前記第2所定数の順位に入る前記ポートに対してキャプチャを設定する処理を行う。前記制御部は、前記データ取得装置が接続されている前記ネットワーク機器に対して、前記キャプチャを設定した前記ポートの通信データを出力するように設定する処理を行う。 The data acquisition device according to the first viewpoint is a data acquisition device that acquires data from a client-server system that connects a plurality of clients and servers in a communicable manner via at least one network device. The data acquisition device controls a connection unit that is communicably connected to any one of at least one network device, a storage unit that stores an IP (Internet Protocol) address related to the server, the connection unit, and the storage unit. It also includes a control unit that performs predetermined information processing. The control unit includes the IP address of the server stored in the storage unit, ARP (Address Resolution Protocol) table information of the network device directly connected to the data acquisition device, and at least one of the above. Based on all the MAC (Media Access Control) address table information of the network device, the process of identifying the port of the network device to which the server is connected is performed. The control unit performs a process of setting monitoring for the port of the network device to which the server is connected. The control unit is an IP corresponding to a port in the order of the first predetermined number from the network device to which the server is connected to the port to which the monitoring is set and which has the largest amount of communication data. Performs the process of acquiring monitoring information including the address. Based on the acquired monitoring information, the ARP table information, and the MAC address table information, the control unit starts with the port having the largest amount of communication data among the ports for which the monitoring is set. A process for specifying a port that falls in the rank of the second predetermined number, which is smaller than the first predetermined number, is performed. The control unit performs a process of setting a capture for the port that falls in the second predetermined number of ranks. The control unit performs a process of setting the network device to which the data acquisition device is connected to output communication data of the port for which the capture is set.

第2の視点に係るクライアントサーバシステムは、複数のクライアントと、サーバと、前記複数のクライアントと前記サーバとを通信可能に接続する少なくとも1つのネットワーク機器と、前記第1の視点に係るデータ取得装置と、を備える。 The client-server system according to the second viewpoint includes a plurality of clients, a server, at least one network device that communicably connects the plurality of clients and the server, and a data acquisition device according to the first viewpoint. And.

第3の視点に係るデータ取得方法は、データ取得装置を用いて、少なくとも1つのネットワーク機器を介して複数のクライアントとサーバとを通信可能に接続するクライアントサーバシステムからデータを取得するデータ取得方法である。データ取得方法では、予め記憶された前記サーバに係るIPアドレス、前記データ取得装置と直接的に接続された前記ネットワーク機器のARPテーブル情報、及び、前記少なくとも1つのネットワーク機器のすべてのMACアドレステーブル情報、に基づいて、前記サーバが接続されている前記ネットワーク機器のポートを特定するステップを含む。データ取得方法では、前記サーバが接続されている前記ネットワーク機器の前記ポートに対してモニタリングの設定を行うステップを含む。データ取得方法では、前記サーバが接続されている前記ネットワーク機器から、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から第1所定数の順位に入るポートに対応するIPアドレスを含むモニタリング情報を取得するステップを含む。データ取得方法では、取得した前記モニタリング情報と、前記ARPテーブル情報と、前記MACアドレステーブル情報と、に基づいて、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から、前記第1所定数よりも少ない第2所定数の順位に入るポートを特定するステップを含む。データ取得方法では、前記第2所定数の順位に入る前記ポートに対してキャプチャを設定するステップを含む。データ取得方法では、前記データ取得装置が接続されている前記ネットワーク機器に対して、前記キャプチャを設定した前記ポートの通信データを出力するように設定するステップを行う。 The data acquisition method according to the third viewpoint is a data acquisition method in which data is acquired from a client-server system that connects a plurality of clients and servers in a communicable manner via at least one network device by using a data acquisition device. is there. In the data acquisition method, the IP address of the server stored in advance, the ARP table information of the network device directly connected to the data acquisition device, and all the MAC address table information of the at least one network device are used. Includes the step of identifying the port of the network device to which the server is connected based on. The data acquisition method includes a step of setting monitoring for the port of the network device to which the server is connected. In the data acquisition method, the IP corresponding to the port corresponding to the first predetermined number of the ports having the largest amount of communication data among the ports for which the monitoring is set from the network device to which the server is connected. Includes a step to get monitoring information including the address. In the data acquisition method, based on the acquired monitoring information, the ARP table information, and the MAC address table information, the port for which the monitoring is set has the largest amount of communication data. The step includes identifying a port that enters the rank of the second predetermined number, which is less than the first predetermined number. The data acquisition method includes a step of setting a capture for the port that falls within the second predetermined number of ranks. In the data acquisition method, a step of setting the network device to which the data acquisition device is connected to output the communication data of the port for which the capture is set is performed.

第4の視点に係るプログラムは、データ取得装置に、少なくとも1つのネットワーク機器を介して複数のクライアントとサーバとを通信可能に接続するクライアントサーバシステムからデータを取得させるプログラムである。プログラムは、予め記憶された前記サーバに係るIPアドレス、前記データ取得装置と直接的に接続された前記ネットワーク機器のARPテーブル情報、及び、前記少なくとも1つのネットワーク機器のすべてのMACアドレステーブル情報、に基づいて、前記サーバが接続されている前記ネットワーク機器のポートを特定する処理を実行させる。プログラムは、前記サーバが接続されている前記ネットワーク機器の前記ポートに対してモニタリングの設定を行う処理を実行させる。プログラムは、前記サーバが接続されている前記ネットワーク機器から、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から第1所定数の順位に入るポートに対応するIPアドレスを含むモニタリング情報を取得する処理を実行させる。プログラムは、取得した前記モニタリング情報と、前記ARPテーブル情報と、前記MACアドレステーブル情報と、に基づいて、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から、前記第1所定数よりも少ない第2所定数の順位に入るポートを特定する処理を実行させる。プログラムは、前記第2所定数の順位に入る前記ポートに対してキャプチャを設定する処理を実行させる。プログラムは、前記データ取得装置が接続されている前記ネットワーク機器に対して、前記キャプチャを設定した前記ポートの通信データを出力するように設定する処理を実行させる。 The program according to the fourth viewpoint is a program that causes a data acquisition device to acquire data from a client-server system that connects a plurality of clients and servers in a communicable manner via at least one network device. The program includes a pre-stored IP address of the server, ARP table information of the network device directly connected to the data acquisition device, and all MAC address table information of the at least one network device. Based on this, the process of identifying the port of the network device to which the server is connected is executed. The program executes a process of setting monitoring for the port of the network device to which the server is connected. The program assigns the IP address corresponding to the port corresponding to the first predetermined number of the ports having the largest amount of communication data among the ports for which the monitoring is set from the network device to which the server is connected. Execute the process to acquire the monitoring information including. Based on the acquired monitoring information, the ARP table information, and the MAC address table information, the program starts with the port having the largest amount of communication data among the ports for which the monitoring is set. 1 The process of specifying a port that falls in the rank of the second predetermined number less than the predetermined number is executed. The program executes a process of setting a capture for the port that falls in the second predetermined number of ranks. The program causes the network device to which the data acquisition device is connected to execute a process of setting the communication data of the port for which the capture is set to be output.

なお、プログラムは、コンピュータが読み取り可能な記憶媒体に記録することができる。記憶媒体は、半導体メモリ、ハードディスク、磁気記録媒体、光記録媒体等の非トランジェント(non-transient)なものとすることができる。また、本開示では、コンピュータプログラム製品として具現することも可能である。プログラムは、コンピュータ装置に入力装置又は外部から通信インタフェイスを介して入力され、記憶装置に記憶されて、プロセッサを所定のステップないし処理に従って駆動させ、必要に応じ中間状態を含めその処理結果を段階毎に表示装置を介して表示することができ、あるいは通信インタフェイスを介して、外部と交信することができる。そのためのコンピュータ装置は、一例として、典型的には互いにバスによって接続可能なプロセッサ、記憶装置、入力装置、通信インタフェイス、及び必要に応じ表示装置を備える。 The program can be recorded on a computer-readable storage medium. The storage medium may be a non-transient such as a semiconductor memory, a hard disk, a magnetic recording medium, or an optical recording medium. Further, in the present disclosure, it is also possible to embody it as a computer program product. The program is input to a computer device via an input device or an external communication interface, stored in a storage device, drives a processor according to a predetermined step or process, and steps the processing result including an intermediate state as necessary. Each can be displayed via a display device, or can communicate with the outside via a communication interface. Computer devices for this purpose, for example, typically include a processor, a storage device, an input device, a communication interface, and, if necessary, a display device that can be connected to each other by a bus.

前記第1〜第4の視点によれば、間欠障害発生時のデータ取得を自動的に行うのに貢献することができる。 According to the first to fourth viewpoints, it is possible to contribute to automatically acquiring data when an intermittent failure occurs.

実施形態1に係るクライアントサーバシステムの一例の構成を模式的に示したブロック図である。It is a block diagram which shows typically the structure of the example of the client-server system which concerns on Embodiment 1. 実施形態1に係るクライアントサーバシステムにおけるデータ取得装置の制御部の動作を模式的に示したフローチャート図である。It is a flowchart which shows typically the operation of the control part of the data acquisition apparatus in the client server system which concerns on Embodiment 1. 実施形態1に係るクライアントサーバシステムにおけるデータ取得装置の制御部の動作を模式的に示した、図2に続くフローチャート図である。FIG. 5 is a flowchart following FIG. 2 schematically showing the operation of the control unit of the data acquisition device in the client-server system according to the first embodiment. 実施形態1に係るクライアントサーバシステムにおけるデータ取得装置の制御部の動作を模式的に示した、図3に続くフローチャート図である。FIG. 5 is a flowchart following FIG. 3 schematically showing the operation of the control unit of the data acquisition device in the client-server system according to the first embodiment. 実施形態2に係るデータ取得装置の構成を模式的に示したブロック図である。It is a block diagram which shows typically the structure of the data acquisition apparatus which concerns on Embodiment 2. ハードウェア資源の構成を模式的に示したブロック図である。It is a block diagram which shows the structure of a hardware resource schematically.

以下に説明する本開示では、モード1に係るデータ取得装置及びその変形モードを適宜選択して組み合わせることができる。なお、モード1に係るデータ取得装置とは、データ取得装置の形態をいう。また、変形モードとは、変形した形態をいう。 In the present disclosure described below, the data acquisition device according to mode 1 and its modification mode can be appropriately selected and combined. The data acquisition device according to mode 1 refers to a form of the data acquisition device. Further, the deformation mode means a deformed form.

前記モード1に係るデータ取得装置として、少なくとも1つのネットワーク機器を介して複数のクライアントとサーバとを通信可能に接続するクライアントサーバシステムからデータを取得するデータ取得装置であって、前記少なくとも1つのネットワーク機器のいずれか1つと通信可能に接続する接続部と、前記サーバに係るIPアドレスを記憶する記憶部と、前記接続部及び前記記憶部を制御するとともに、所定の情報処理を行う制御部と、を備え、前記制御部は、前記記憶部に記憶された前記サーバに係る前記IPアドレス、前記データ取得装置と直接的に接続された前記ネットワーク機器のARPテーブル情報、及び、前記少なくとも1つのネットワーク機器のすべてのMACアドレステーブル情報、に基づいて、前記サーバが接続されている前記ネットワーク機器のポートを特定する処理と、前記サーバが接続されている前記ネットワーク機器の前記ポートに対してモニタリングの設定を行う処理と、前記サーバが接続されている前記ネットワーク機器から、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から第1所定数の順位に入るポートに対応するIPアドレスを含むモニタリング情報を取得する処理と、取得した前記モニタリング情報と、前記ARPテーブル情報と、前記MACアドレステーブル情報と、に基づいて、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から、前記第1所定数よりも少ない第2所定数の順位に入るポートを特定する処理と、前記第2所定数の順位に入る前記ポートに対してキャプチャを設定する処理と、前記データ取得装置が接続されている前記ネットワーク機器に対して、前記キャプチャを設定した前記ポートの通信データを出力するように設定する処理と、を行う、データ取得装置とすることが可能である。 The data acquisition device according to the mode 1 is a data acquisition device that acquires data from a client server system that communicably connects a plurality of clients and a server via at least one network device, and is the at least one network. A connection unit that is communicably connected to any one of the devices, a storage unit that stores the IP address of the server, a control unit that controls the connection unit and the storage unit, and a control unit that performs predetermined information processing. The control unit includes the IP address of the server stored in the storage unit, ARP table information of the network device directly connected to the data acquisition device, and at least one network device. Based on all the MAC address table information of, the process of identifying the port of the network device to which the server is connected and the monitoring setting for the port of the network device to which the server is connected are set. IP address corresponding to the processing to be performed and the port corresponding to the first predetermined number of the ports having the largest amount of communication data among the ports for which monitoring is set from the network device to which the server is connected. The largest amount of communication data among the ports for which monitoring is set based on the process of acquiring monitoring information including the above, the acquired monitoring information, the ARP table information, and the MAC address table information. A process of specifying a port having a second predetermined number less than the first predetermined number, a process of setting a capture for the port having a second predetermined number, and the above. It is possible to use the data acquisition device as a data acquisition device that performs a process of setting the network device to which the data acquisition device is connected to output communication data of the port for which the capture is set.

前記モード1に係るデータ取得装置の変形モードとして、前記接続部は、前記少なくとも1つのネットワーク機器のいずれか1つと第1通信規格を用いて通信可能に接続される第1接続部と、前記少なくとも1つのネットワーク機器のいずれか1つと前記第1通信規格とは異なる第2通信規格を用いて通信可能に接続される第2接続部と、を有し、前記制御部は、前記サーバが接続されている前記ネットワーク機器のポートを特定する処理、前記モニタリングの設定を行う処理、前記モニタリング情報を取得する処理、前記第2所定数の順位に入る前記ポートを特定する処理、及び、前記キャプチャを設定する処理を、前記第1接続部を通じて行い、前記キャプチャを設定した前記ネットワーク機器の前記ポートの通信データを出力するように設定する処理を、前記第2接続部を通じて行う、ように制御することができる。 As a modification mode of the data acquisition device according to the mode 1, the connection unit is connected to any one of the at least one network device so as to be communicable using the first communication standard, and at least the first connection unit. It has one of one network device and a second connection unit that is communicably connected using a second communication standard different from the first communication standard, and the control unit is connected to the server. A process for identifying a port of the network device, a process for setting the monitoring, a process for acquiring the monitoring information, a process for identifying the port in the second predetermined number of orders, and a process for setting the capture. It is possible to control such that the process of performing the process is performed through the first connection unit and the process of setting the communication data of the port of the network device for which the capture is set to be output is performed through the second connection unit. it can.

前記モード1に係るデータ取得装置の変形モードとして、前記第1接続部は、シリアルポートのインタフェイス規格を用いて情報を送受信するインタフェイスであり、前記第2接続部は、LANポートのインタフェイス規格を用いて情報を送受信するインタフェイスであるものにすることができる。 As a modification mode of the data acquisition device according to the mode 1, the first connection unit is an interface for transmitting and receiving information using an interface standard of a serial port, and the second connection unit is an interface of a LAN port. It can be an interface that sends and receives information using standards.

前記モード1に係るデータ取得装置の変形モードとして、前記サーバが接続されている前記ネットワーク機器のポートを特定する処理では、前記データ取得装置と直接的に接続された前記ネットワーク機器から、IPアドレスとMACアドレスとを関連付けた前記ARPテーブル情報を取得する処理と、取得した前記ARPテーブル情報を用いて、前記記憶部に記憶された前記サーバに係る前記IPアドレスに対応するMACアドレスを特定する処理と、前記少なくとも1つのネットワーク機器のすべてから、MACアドレステーブル情報を取得する処理と、取得した前記MACアドレステーブル情報を用いて、特定された前記サーバに係る前記MACアドレスに基づいて、前記サーバが接続されている前記ネットワーク機器のポートを特定する処理と、を行うことができる。 As a modification mode of the data acquisition device according to the mode 1, in the process of specifying the port of the network device to which the server is connected, the IP address is obtained from the network device directly connected to the data acquisition device. A process of acquiring the ARP table information associated with the MAC address, and a process of specifying the MAC address corresponding to the IP address of the server stored in the storage unit using the acquired ARP table information. , The server connects based on the MAC address related to the specified server by the process of acquiring the MAC address table information from all of the at least one network device and the acquired MAC address table information. It is possible to perform a process of specifying the port of the network device.

前記モード1に係るデータ取得装置の変形モードとして、前記MACアドレステーブル情報を取得する処理では、前記データ取得装置と直接的に接続された前記ネットワーク機器以外の他のネットワーク機器から前記MACアドレステーブル情報を取得する際、前記他のネットワーク機器に対してリモート接続することができる。 As a modification mode of the data acquisition device according to the mode 1, in the process of acquiring the MAC address table information, the MAC address table information is transmitted from a network device other than the network device directly connected to the data acquisition device. Can be remotely connected to the other network device when the data is acquired.

前記モード1に係るデータ取得装置の変形モードとして、前記第2所定数の順位に入る前記ポートを特定する処理では、取得した前記モニタリング情報を用いて、前記第2所定数の順位に入る前記ポートに対応するIPアドレスを特定する処理と、取得した前記ARPテーブル情報を用いて、特定された前記第2所定数の順位に入る前記ポートに対応する前記IPアドレスに対応するMACアドレスを特定する処理と、取得した前記MACアドレステーブル情報を用いて、特定された前記MACアドレスの順位に入る前記ポートを特定する処理と、を行うことができる。 As a modification mode of the data acquisition device according to the mode 1, in the process of specifying the port that enters the second predetermined number of orders, the acquired monitoring information is used to enter the second predetermined number of orders. The process of specifying the IP address corresponding to the above, and the process of specifying the MAC address corresponding to the IP address corresponding to the port in the specified second predetermined number of ranks by using the acquired ARP table information. Then, using the acquired MAC address table information, it is possible to perform a process of specifying the port that falls in the order of the specified MAC address.

前記モード1に係るデータ取得装置の変形モードとして、前記モニタリング情報を取得する処理では、前記サーバに係る前記IPアドレスに対して疎通確認試験を実施する処理と、前記疎通確認試験による今回の応答時間と前回の応答時間とを比較し、所定割合以上遅延したか否かを判断する処理と、前記所定割合以上遅延したときに、前記サーバが接続されている前記ネットワーク機器から、前記モニタリングが設定されている前記ポートにおける前記モニタリング情報を取得する処理と、を行うことができる。 As a modification mode of the data acquisition device according to the mode 1, in the process of acquiring the monitoring information, a process of performing a communication confirmation test on the IP address related to the server and a current response time by the communication confirmation test And the previous response time are compared, and the process of determining whether or not the delay is made by a predetermined ratio or more, and when the delay is made by the predetermined ratio or more, the monitoring is set from the network device to which the server is connected. It is possible to perform a process of acquiring the monitoring information at the port.

本開示では、モード2に係るクライアントサーバシステムとして、複数のクライアントと、サーバと、前記複数のクライアントと前記サーバとを通信可能に接続する少なくとも1つのネットワーク機器と、前記モード1に係るデータ取得装置と、を備える、クライアントサーバシステムとすることが可能である。なお、モード2に係るクライアントサーバシステムとは、クライアントサーバシステムの形態をいう。 In the present disclosure, as the client-server system according to the mode 2, a plurality of clients, a server, at least one network device for communicably connecting the plurality of clients and the server, and a data acquisition device according to the mode 1 are provided. It is possible to make a client-server system equipped with and. The client-server system according to mode 2 refers to the form of the client-server system.

本開示では、モード3に係るデータ取得方法として、データ取得装置を用いて、少なくとも1つのネットワーク機器を介して複数のクライアントとサーバとを通信可能に接続するクライアントサーバシステムからデータを取得するデータ取得方法であって、予め記憶された前記サーバに係るIPアドレス、前記データ取得装置と直接的に接続された前記ネットワーク機器のARPテーブル情報、及び、前記少なくとも1つのネットワーク機器のすべてのMACアドレステーブル情報、に基づいて、前記サーバが接続されている前記ネットワーク機器のポートを特定するステップと、前記サーバが接続されている前記ネットワーク機器の前記ポートに対してモニタリングの設定を行うステップと、前記サーバが接続されている前記ネットワーク機器から、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から第1所定数の順位に入るポートに対応するIPアドレスを含むモニタリング情報を取得するステップと、取得した前記モニタリング情報と、前記ARPテーブル情報と、前記MACアドレステーブル情報と、に基づいて、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から、前記第1所定数よりも少ない第2所定数の順位に入るポートを特定するステップと、前記第2所定数の順位に入る前記ポートに対してキャプチャを設定するステップと、前記データ取得装置が接続されている前記ネットワーク機器に対して、前記キャプチャを設定した前記ポートの通信データを出力するように設定するステップと、を行う、データ取得方法とすることが可能である。なお、モード3に係るデータ取得方法とは、データ取得方法の形態をいう。 In the present disclosure, as a data acquisition method according to mode 3, data acquisition is performed by using a data acquisition device to acquire data from a client server system that communicably connects a plurality of clients and a server via at least one network device. The method is a pre-stored IP address for the server, ARP table information for the network device directly connected to the data acquisition device, and all MAC address table information for the at least one network device. Based on, the step of specifying the port of the network device to which the server is connected, the step of setting monitoring for the port of the network device to which the server is connected, and the step of the server From the connected network device, the monitoring information including the IP address corresponding to the port corresponding to the first predetermined number of the ports having the largest amount of communication data among the ports for which the monitoring is set is acquired. Based on the step, the acquired monitoring information, the ARP table information, and the MAC address table information, the first of the ports for which the monitoring is set has the largest amount of communication data. The data acquisition device is connected to a step of specifying a port having a second predetermined number of ranks less than one predetermined number, a step of setting a capture for the port having a rank of the second predetermined number, and a step of setting a capture. It is possible to use the data acquisition method of performing the step of setting the network device to output the communication data of the port for which the capture is set. The data acquisition method according to the mode 3 refers to a form of the data acquisition method.

本開示では、モード4に係るプログラムとして、データ取得装置に、少なくとも1つのネットワーク機器を介して複数のクライアントとサーバとを通信可能に接続するクライアントサーバシステムからデータを取得させるプログラムであって、予め記憶された前記サーバに係るIPアドレス、前記データ取得装置と直接的に接続された前記ネットワーク機器のARPテーブル情報、及び、前記少なくとも1つのネットワーク機器のすべてのMACアドレステーブル情報、に基づいて、前記サーバが接続されている前記ネットワーク機器のポートを特定する処理と、前記サーバが接続されている前記ネットワーク機器の前記ポートに対してモニタリングの設定を行う処理と、前記サーバが接続されている前記ネットワーク機器から、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から第1所定数の順位に入るポートに対応するIPアドレスを含むモニタリング情報を取得する処理と、取得した前記モニタリング情報と、前記ARPテーブル情報と、前記MACアドレステーブル情報と、に基づいて、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から、前記第1所定数よりも少ない第2所定数の順位に入るポートを特定する処理と、前記第2所定数の順位に入る前記ポートに対してキャプチャを設定する処理と、前記データ取得装置が接続されている前記ネットワーク機器に対して、前記キャプチャを設定した前記ポートの通信データを出力するように設定する処理と、を実行させる、プログラムとすることが可能である。なお、モード4に係るプログラムとは、プログラムの形態をいう。 In the present disclosure, as a program related to mode 4, a program for causing a data acquisition device to acquire data from a client server system that connects a plurality of clients and a server via at least one network device so as to be communicable. Based on the stored IP address of the server, ARP table information of the network device directly connected to the data acquisition device, and all MAC address table information of the at least one network device, the said The process of specifying the port of the network device to which the server is connected, the process of setting monitoring for the port of the network device to which the server is connected, and the network to which the server is connected. The process of acquiring monitoring information including the IP address corresponding to the port corresponding to the first predetermined number of ports from the device having the largest amount of communication data among the ports for which monitoring is set, and the acquired said. Based on the monitoring information, the ARP table information, and the MAC address table information, among the ports for which the monitoring is set, the one with the largest amount of communication data is less than the first predetermined number. For the process of specifying a port that enters the second predetermined number of orders, the process of setting capture for the port that enters the second predetermined number of orders, and the network device to which the data acquisition device is connected. Therefore, it is possible to make a program that executes a process of setting the communication data of the port for which the capture is set to be output. The program related to mode 4 refers to the form of the program.

以下、実施形態について図面を参照しつつ説明する。なお、本出願において図面参照符号を付している場合は、それらは、専ら理解を助けるためのものであり、図示の態様に限定することを意図するものではない。また、下記の実施形態は、あくまで例示であり、本発明を限定するものではない。また、以降の説明で参照する図面等のブロック間の接続線は、双方向及び単方向の双方を含む。一方向矢印については、主たる信号(データ)の流れを模式的に示すものであり、双方向性を排除するものではない。さらに、本願開示に示す回路図、ブロック図、内部構成図、接続図などにおいて、明示は省略するが、入力ポート及び出力ポートが各接続線の入力端及び出力端のそれぞれに存在する。入出力インタフェイスも同様である。プログラムはコンピュータ装置を介して実行され、コンピュータ装置は、例えば、プロセッサ、記憶装置、入力装置、通信インタフェイス、及び必要に応じ表示装置を備え、コンピュータ装置は、通信インタフェイスを介して装置内又は外部の機器(コンピュータを含む)と、有線、無線を問わず、交信可能に構成される。 Hereinafter, embodiments will be described with reference to the drawings. In addition, when the drawing reference reference numerals are attached in this application, they are solely for the purpose of assisting understanding, and are not intended to be limited to the illustrated aspects. Further, the following embodiments are merely examples, and do not limit the present invention. Further, the connecting line between blocks such as drawings referred to in the following description includes both bidirectional and unidirectional. The one-way arrow schematically shows the flow of the main signal (data), and does not exclude interactivity. Further, in the circuit diagram, the block diagram, the internal configuration diagram, the connection diagram, and the like shown in the disclosure of the present application, although not explicitly stated, an input port and an output port exist at the input end and the output end of each connection line, respectively. The same applies to the input / output interface. The program is executed via a computer device, which comprises, for example, a processor, a storage device, an input device, a communication interface, and a display device as required, and the computer device is in the device or through the communication interface. It is configured to be able to communicate with external devices (including computers) regardless of whether it is wired or wireless.

[実施形態1]
実施形態1に係るクライアントサーバシステムについて図面を用いて説明する。図1は、実施形態1に係るクライアントサーバシステムの一例の構成を模式的に示したブロック図である。
[Embodiment 1]
The client-server system according to the first embodiment will be described with reference to the drawings. FIG. 1 is a block diagram schematically showing a configuration of an example of a client-server system according to the first embodiment.

クライアントサーバシステム1は、クライアントとなる少なくとも1つの端末(図1では端末51〜56)と、測定対象となるサーバ(図1では測定対象サーバ50)とが少なくとも1つのスイッチ(図1ではレイヤ3スイッチ20、レイヤ2スイッチ40)を介してデータ通信可能に接続されたシステムである(図1参照)。クライアントサーバシステム1は、測定対象サーバ50、端末51〜56、レイヤ3スイッチ20、及び、レイヤ2スイッチ40よりなる基本構成部に加えて、データ取得装置10を有する。 In the client-server system 1, at least one switch (layer 3 in FIG. 1) is composed of at least one client terminal (terminals 51 to 56 in FIG. 1) and a server to be measured (measurement target server 50 in FIG. 1). It is a system connected so that data communication is possible via the switch 20 and the layer 2 switch 40) (see FIG. 1). The client-server system 1 includes a data acquisition device 10 in addition to a basic component including a measurement target server 50, terminals 51 to 56, a layer 3 switch 20, and a layer 2 switch 40.

データ取得装置10は、クライアントサーバシステム1において障害が発生した時にクライアントサーバシステム1の基本構成部(図1ではレイヤ3スイッチ20)から通信データを自動取得する装置である(図1参照)。データ取得装置10には、例えば、シリアル接続部14及びLAN接続部15を有するコンピュータを用いることができ、例えば、ノート型パーソナルコンピュータを用いることができる。データ取得装置10は、制御部11と、入力部12と、出力部13と、シリアル接続部14と、LAN接続部15と、記憶部16と、を有する。 The data acquisition device 10 is a device that automatically acquires communication data from the basic configuration unit (layer 3 switch 20 in FIG. 1) of the client server system 1 when a failure occurs in the client server system 1 (see FIG. 1). As the data acquisition device 10, for example, a computer having a serial connection unit 14 and a LAN connection unit 15 can be used, and for example, a notebook personal computer can be used. The data acquisition device 10 includes a control unit 11, an input unit 12, an output unit 13, a serial connection unit 14, a LAN connection unit 15, and a storage unit 16.

制御部11は、入力部12、出力部13、シリアル接続部14、LAN接続部15、及び記憶部16を制御する機能部である(図1参照)。制御部11は、入力部12を制御して、入力部12から入力された情報を取り込む。制御部11は、出力部13を制御して、出力部13に情報を出力させる。制御部11は、シリアル接続部14を制御して、レイヤ3スイッチ20に対する情報の送受信を行う。制御部11は、LAN接続部15を制御して、レイヤ3スイッチ20に対する情報の送受信を行う。制御部11は、記憶部16へのデータの入出力、記憶部16へのデータの書き込みや読み出しを行う。制御部11は、ソフトウェア(スイッチ制御ツール19を含む)を実行することにより所定の情報処理を行う。制御部11がスイッチ制御ツール19を実行しているときの動作の詳細については、後述する。 The control unit 11 is a functional unit that controls an input unit 12, an output unit 13, a serial connection unit 14, a LAN connection unit 15, and a storage unit 16 (see FIG. 1). The control unit 11 controls the input unit 12 to take in the information input from the input unit 12. The control unit 11 controls the output unit 13 to cause the output unit 13 to output information. The control unit 11 controls the serial connection unit 14 to send and receive information to and from the layer 3 switch 20. The control unit 11 controls the LAN connection unit 15 to send and receive information to and from the layer 3 switch 20. The control unit 11 inputs / outputs data to / from the storage unit 16 and writes / reads data to / from the storage unit 16. The control unit 11 performs predetermined information processing by executing software (including the switch control tool 19). The details of the operation when the control unit 11 is executing the switch control tool 19 will be described later.

入力部12は、ユーザの操作により、データ取得装置10に対する情報を入力するための機能部である(図1参照)。入力部12には、例えば、キーボード、マウス、タッチパネル、マイク、ボタン、その他の入力手段を用いることができ、図示しない通信部を介して通信可能に接続された入力部を有する情報端末等を用いてもよい。 The input unit 12 is a functional unit for inputting information to the data acquisition device 10 by a user operation (see FIG. 1). For the input unit 12, for example, a keyboard, mouse, touch panel, microphone, button, or other input means can be used, and an information terminal or the like having an input unit communicably connected via a communication unit (not shown) is used. You may.

出力部13は、データ取得装置10からの情報を外部に出力(表示、音声出力、印刷等)するための機能部である(図1参照)。出力部13として、例えば、表示を行うディスプレイ、印刷を行うプリンタ、その他の出力手段を用いることができ、図示しない通信部を介して通信可能に接続された出力部を有する情報端末等を用いてもよい。また、出力部13を使用する代わりに、通信部及びネットワークを通じて接続された別の情報端末等(図示せず;例えば、ユーザが使用する端末)を使用して情報を出力するようにしてもよい。 The output unit 13 is a functional unit for outputting (display, audio output, printing, etc.) information from the data acquisition device 10 to the outside (see FIG. 1). As the output unit 13, for example, a display for displaying, a printer for printing, or other output means can be used, and an information terminal or the like having an output unit communicably connected via a communication unit (not shown) is used. May be good. Further, instead of using the output unit 13, another information terminal or the like (not shown; for example, a terminal used by the user) connected through the communication unit and the network may be used to output the information. ..

シリアル接続部14は、シリアルポートのインタフェイス規格(第1通信規格;例えば、RS−232)を用いて、情報を1度に1ビットずつ送受信するインタフェイス(第1接続部)である(図1参照)。シリアル接続部14は、シリアルケーブル60と着脱可能に接続している。シリアル接続部14は、シリアルケーブル60を経由して、レイヤ3スイッチ20のコンソールポート23と通信可能に接続(シリアル接続)している。 The serial connection unit 14 is an interface (first connection unit) that transmits and receives information one bit at a time using the interface standard of the serial port (first communication standard; for example, RS-232) (FIG. 6). 1). The serial connection portion 14 is detachably connected to the serial cable 60. The serial connection unit 14 is communicably connected (serial connection) to the console port 23 of the layer 3 switch 20 via the serial cable 60.

LAN接続部15は、LANポートのインタフェイス規格(第2通信規格;例えば、イーサネット(Ethernet)(登録商標))を用いて、情報を送受信するインタフェイス(第2接続部)である(図1参照)。LAN接続部15は、LANケーブル63と着脱可能に接続している。LAN接続部15は、LANケーブル63を経由して、レイヤ3スイッチ20のLANポート(図1では第3LANポート26、その他のLANポートでも可)と通信可能に接続(LAN接続)している。 The LAN connection unit 15 is an interface (second connection unit) for transmitting and receiving information using an interface standard (second communication standard; for example, Ethernet (registered trademark)) of a LAN port (FIG. 1). reference). The LAN connection unit 15 is detachably connected to the LAN cable 63. The LAN connection unit 15 is communicably connected (LAN connection) to the LAN port of the layer 3 switch 20 (the third LAN port 26 in FIG. 1 and other LAN ports are also possible) via the LAN cable 63.

記憶部16は、各種データ、プログラム(ツールソフトウェアを含む)、ファイル等の情報を記憶する機能部である(図1参照)。記憶部16として、例えば、RAM(Random Access Memory)、フラッシュメモリ(不揮発性メモリ)、HDD(Hard Disk Drive)、SSD(Solid State Drive)などの記憶装置を用いることができる。記憶部16には、測定対象サーバ50に係るIPアドレスと、測定対象サーバ50における測定対象アプリケーションが使用するポート番号と、レイヤ3スイッチ20及びレイヤ2スイッチ40のログインに必要なユーザ名とパスワードと、が記憶されている。記憶部16は、装置情報17、通信データ取得情報18、スイッチ制御ツール19を記憶している。 The storage unit 16 is a functional unit that stores information such as various data, programs (including tool software), and files (see FIG. 1). As the storage unit 16, for example, a storage device such as a RAM (Random Access Memory), a flash memory (nonvolatile memory), an HDD (Hard Disk Drive), or an SSD (Solid State Drive) can be used. The storage unit 16 contains an IP address related to the measurement target server 50, a port number used by the measurement target application on the measurement target server 50, and a user name and password required for logging in to the layer 3 switch 20 and the layer 2 switch 40. , Is remembered. The storage unit 16 stores device information 17, communication data acquisition information 18, and switch control tool 19.

装置情報17は、クライアントサーバシステム1におけるスイッチ装置(図1ではレイヤ3スイッチ20及びレイヤ2スイッチ40)に関する情報である(図1参照)。装置情報17は、レイヤ3スイッチ情報17aと、レイヤ2スイッチ情報17bと、疎通確認試験結果17cと、を有する。 The device information 17 is information about a switch device (layer 3 switch 20 and layer 2 switch 40 in FIG. 1) in the client-server system 1 (see FIG. 1). The device information 17 includes layer 3 switch information 17a, layer 2 switch information 17b, and communication confirmation test result 17c.

レイヤ3スイッチ情報17aは、レイヤ3スイッチ20に関する情報である(図1参照)。レイヤ3スイッチ情報17aは、ARPテーブル情報、MACアドレステーブル情報、及び、NetFlow情報を有する。 The layer 3 switch information 17a is information about the layer 3 switch 20 (see FIG. 1). The layer 3 switch information 17a has ARP table information, MAC address table information, and NetFlow information.

ARPテーブル情報は、IPアドレスとMACアドレスとを関連付けた情報である。IPアドレスは、IPにおいてパケットを送受信する機器を判別するための番号である。MACアドレスは、ネットワーク上で、各ノードを識別するために設定されているネットワーク機器のハードウェアに割り当てられる物理アドレスである。MACアドレステーブル情報は、MACアドレスとLANポートとを関連付ける情報である。NetFlowは、米国のシスコシステムズ社(Cisco Systems, Inc.)が開発した、ネットワークのトラフィックの情報を監視・分析する技術であり、ネットワーク上で流れるトラフィックフローを受動的にモニタする機能である。NetFlow情報は、NetFlowの設定に係る情報である。 The ARP table information is information in which the IP address and the MAC address are associated with each other. The IP address is a number for identifying a device that sends and receives packets in IP. The MAC address is a physical address assigned to the hardware of the network device set to identify each node on the network. The MAC address table information is information that associates a MAC address with a LAN port. NetFlow is a technology developed by Cisco Systems, Inc. in the United States that monitors and analyzes information on network traffic, and is a function that passively monitors the traffic flow flowing on the network. NetFlow information is information related to NetFlow settings.

なお、NetFlowの設定では、ingress、egress、top-talkers top 10の設定を行う。ingressの設定では、スイッチの特定のLANポートへ入力するタイミングで帯域情報(トラフィック)を計測するように設定する。egressの設定では、スイッチの特定のLANポートから出力するタイミングで帯域情報(トラフィック)を計測するように設定する。top-talkers top 10の設定では、NetFlowで設定したIPアドレスに対して、最も通信データ量の多い順に10ノードに係るIPアドレスを特定するように設定する。 In the NetFlow settings, ingress, egress, and top-talkers top 10 are set. In the ingress setting, the bandwidth information (traffic) is set to be measured at the timing of inputting to a specific LAN port of the switch. In the egress setting, the bandwidth information (traffic) is set to be measured at the timing of output from the specific LAN port of the switch. In the top-talkers top 10 setting, the IP addresses related to 10 nodes are specified in descending order of the largest amount of communication data for the IP addresses set in NetFlow.

レイヤ2スイッチ情報17bは、レイヤ2スイッチ40に関する情報である(図1参照)。レイヤ2スイッチ情報17bは、MACアドレステーブル情報、及び、NetFlow情報を有する。 The layer 2 switch information 17b is information about the layer 2 switch 40 (see FIG. 1). The layer 2 switch information 17b has MAC address table information and NetFlow information.

疎通確認試験結果17cは、スイッチ制御ツール19を実行して行う疎通確認試験(Pingコマンド実行)の結果(応答時間)に関する情報である。 The communication confirmation test result 17c is information regarding the result (response time) of the communication confirmation test (Ping command execution) performed by executing the switch control tool 19.

通信データ取得情報18は、LAN接続部15から入力されるパケットをキャプチャしたデータ(測定対象サーバ50の送受信データ、トップトーカートップ5の端末51〜55の送受信データ)に関する情報である。 The communication data acquisition information 18 is information related to data (transmission / reception data of the measurement target server 50, transmission / reception data of terminals 51 to 55 of the top talker top 5) that captures packets input from the LAN connection unit 15.

スイッチ制御ツール19は、クライアントサーバシステム1におけるスイッチ(図1ではレイヤ3スイッチ及びレイヤ2スイッチ)へのリモート接続、当該スイッチの設定及び情報の取得、疎通確認試験、処理性能低下判定、通信データ取得を実行するためのプログラムである。 The switch control tool 19 remotely connects to a switch (layer 3 switch and layer 2 switch in FIG. 1) in the client-server system 1, sets the switch and acquires information, a communication confirmation test, a processing performance deterioration determination, and communication data acquisition. It is a program to execute.

レイヤ3スイッチ20は、ネットワークを中継するスイッチのうちOSI(Open System Interconnection)参照モデルにおけるレイヤ3(ネットワーク層)で動作(転送処理)するスイッチである(図1参照)。レイヤ3スイッチ20は、レイヤ2スイッチ40のFDB(Forwarding DataBase)のエージングタイム(MACアドレスの保持時間;Cisco社製のスイッチの場合は標準値が5分間)に影響を受けないようにするためのものである。レイヤ3スイッチ20には、例えば、市販品を用いることができる。レイヤ3スイッチ20は、制御部21と、記憶部22と、コンソールポート23と、LANポート24〜31と、を有する。 The layer 3 switch 20 is a switch that operates (transfers) at layer 3 (network layer) in the OSI (Open System Interconnection) reference model among the switches that relay the network (see FIG. 1). The layer 3 switch 20 is for not being affected by the aging time (MAC address retention time; standard value is 5 minutes in the case of a Cisco switch) of the FDB (Forwarding DataBase) of the layer 2 switch 40. It is a thing. For the layer 3 switch 20, for example, a commercially available product can be used. The layer 3 switch 20 has a control unit 21, a storage unit 22, a console port 23, and LAN ports 24 to 31.

制御部21は、記憶部22、コンソールポート23、及び、LANポート24〜31を制御する機能部である(図1参照)。制御部21は、LANポート31を制御して、対応するレイヤ2スイッチ40のLANポート43に対する情報の送受信を行う。制御部21は、記憶部22へのデータの入出力、記憶部22へのデータの書き込みや読み出しを行う。制御部21は、記憶部22に記憶された情報に基づいて、中継動作を行う。制御部21は、コンソールポート23を制御して、データ取得装置10に対する情報の送受信を行う。制御部21は、第1LANポート24を制御して、測定対象サーバ50に対する情報の送受信を行う。制御部21は、第2LANポート25を制御して、端末51に対する情報の送受信を行う。制御部21は、第3LANポート26を制御して、データ取得装置10のLAN接続部15に対する情報の送受信を行う。制御部21は、第4LANポート27を制御して、端末56に対する情報の送受信を行う。制御部21は、第5LANポート28を制御して、端末55に対する情報の送受信を行う。制御部21は、第6LANポート29を制御して、端末54に対する情報の送受信を行う。制御部21は、第7LANポート30を制御して、第7LANポート30に接続されたときの端末又は装置に対する情報の送受信を行う。制御部21は、第8LANポート31を制御して、レイヤ2スイッチ40の第1LANポート43に対する情報の送受信を行う。制御部21は、データ取得装置10の制御部11のリモート接続により制御される。 The control unit 21 is a functional unit that controls the storage unit 22, the console port 23, and the LAN ports 24 to 31 (see FIG. 1). The control unit 21 controls the LAN port 31 to send and receive information to and from the LAN port 43 of the corresponding layer 2 switch 40. The control unit 21 inputs / outputs data to / from the storage unit 22 and writes / reads data to / from the storage unit 22. The control unit 21 performs a relay operation based on the information stored in the storage unit 22. The control unit 21 controls the console port 23 to send and receive information to and from the data acquisition device 10. The control unit 21 controls the first LAN port 24 to send and receive information to and from the measurement target server 50. The control unit 21 controls the second LAN port 25 to send and receive information to and from the terminal 51. The control unit 21 controls the third LAN port 26 to send and receive information to and from the LAN connection unit 15 of the data acquisition device 10. The control unit 21 controls the fourth LAN port 27 to send and receive information to and from the terminal 56. The control unit 21 controls the fifth LAN port 28 to send and receive information to and from the terminal 55. The control unit 21 controls the sixth LAN port 29 to send and receive information to and from the terminal 54. The control unit 21 controls the 7th LAN port 30 to send and receive information to the terminal or the device when connected to the 7th LAN port 30. The control unit 21 controls the eighth LAN port 31 to send and receive information to and from the first LAN port 43 of the layer 2 switch 40. The control unit 21 is controlled by a remote connection of the control unit 11 of the data acquisition device 10.

記憶部22は、各種データ、プログラム、ファイル等の情報を記憶する機能部である(図1参照)。記憶部22は、設定情報、ARPテーブル情報、MACアドレステーブル情報、及び、NetFlow情報を記憶する。なお、設定情報は、各LANポート24〜31の仮想化ネットワークを構築するための設定に関する情報である。 The storage unit 22 is a functional unit that stores information such as various data, programs, and files (see FIG. 1). The storage unit 22 stores setting information, ARP table information, MAC address table information, and NetFlow information. The setting information is information related to the setting for constructing the virtual network of each LAN port 24 to 31.

コンソールポート23は、シリアルポートのインタフェイス規格(例えば、RS−232)を用いて、情報を1度に1ビットずつ送受信するインタフェイスである(図1参照)。コンソールポート23は、シリアルケーブル60と着脱可能に接続し、シリアルケーブル60を経由して、データ取得装置10のシリアル接続部14と通信可能に接続する。 The console port 23 is an interface for transmitting and receiving information one bit at a time using an interface standard of a serial port (for example, RS-232) (see FIG. 1). The console port 23 is detachably connected to the serial cable 60, and is communicably connected to the serial connection portion 14 of the data acquisition device 10 via the serial cable 60.

LANポート24〜31は、イーサネット規格を用いて、情報の送受信を行うインタフェイスである(図1参照)。第1LANポート24は、LANケーブル61と着脱可能に接続し、LANケーブル61を経由して、測定対象サーバ50と通信可能に接続する。第2LANポート25は、LANケーブル62と着脱可能に接続し、LANケーブル62を経由して、端末51と通信可能に接続する。第3LANポート26は、LANケーブル63と着脱可能に接続し、LANケーブル63を経由して、データ取得装置10のLAN接続部15と通信可能に接続する。第4LANポート27は、LANケーブル64と着脱可能に接続し、LANケーブル64を経由して、端末56と通信可能に接続する。第5LANポート28は、LANケーブル65と着脱可能に接続し、LANケーブル65を経由して、端末55と通信可能に接続する。第6LANポート29は、LANケーブル66と着脱可能に接続し、LANケーブル66を経由して、端末54と通信可能に接続する。第7LANポート30には、LANケーブルが接続されていない。第8LANポート31は、LANケーブル71と着脱可能に接続し、LANケーブル71を経由して、レイヤ2スイッチ40の第1LANポート43と通信可能に接続する。 LAN ports 24 to 31 are interfaces for transmitting and receiving information using the Ethernet standard (see FIG. 1). The first LAN port 24 is detachably connected to the LAN cable 61, and is communicably connected to the measurement target server 50 via the LAN cable 61. The second LAN port 25 is detachably connected to the LAN cable 62, and is communicably connected to the terminal 51 via the LAN cable 62. The third LAN port 26 is detachably connected to the LAN cable 63, and is communicably connected to the LAN connection unit 15 of the data acquisition device 10 via the LAN cable 63. The fourth LAN port 27 is detachably connected to the LAN cable 64, and is communicably connected to the terminal 56 via the LAN cable 64. The fifth LAN port 28 is detachably connected to the LAN cable 65, and is communicably connected to the terminal 55 via the LAN cable 65. The sixth LAN port 29 is detachably connected to the LAN cable 66, and is communicably connected to the terminal 54 via the LAN cable 66. No LAN cable is connected to the 7th LAN port 30. The eighth LAN port 31 is detachably connected to the LAN cable 71, and is communicably connected to the first LAN port 43 of the layer 2 switch 40 via the LAN cable 71.

レイヤ2スイッチ40は、ネットワークを中継するスイッチのうちOSI参照モデルにおけるレイヤ2(データリンク層)で動作するスイッチである(図1参照)。レイヤ2スイッチ40は、パケットに含まれるMACアドレスに基づいて中継先を判断し、中継動作を行う。レイヤ2スイッチ40には、例えば、市販品を用いることができる。レイヤ2スイッチ40は、制御部41と、記憶部42と、LANポート43〜45と、を有する。 The layer 2 switch 40 is a switch that operates at layer 2 (data link layer) in the OSI reference model among the switches that relay the network (see FIG. 1). The layer 2 switch 40 determines the relay destination based on the MAC address included in the packet and performs the relay operation. For the layer 2 switch 40, for example, a commercially available product can be used. The layer 2 switch 40 has a control unit 41, a storage unit 42, and LAN ports 43 to 45.

制御部41は、記憶部42、及び、各LANポート43〜45を制御する機能部である(図1参照)。制御部41は、記憶部42へのデータの入出力、記憶部42へのデータの書き込みや読み出しを行う。制御部41は、記憶部42に記憶された情報に基づいて、中継動作を行う。制御部41は、第1LANポート43を制御して、対応するレイヤ3スイッチ20のLANポート(図1では第8LANポート31)に対する情報の送受信を行う。制御部41は、第2LANポート44を制御して、対応する端末52に対する情報の送受信を行う。制御部41は、第3LANポート45を制御して、対応する端末53に対する情報の送受信を行う。制御部41は、データ取得装置10の制御部11のリモート接続により制御される。 The control unit 41 is a storage unit 42 and a functional unit that controls each of the LAN ports 43 to 45 (see FIG. 1). The control unit 41 inputs / outputs data to / from the storage unit 42, and writes / reads data to / from the storage unit 42. The control unit 41 performs a relay operation based on the information stored in the storage unit 42. The control unit 41 controls the first LAN port 43 to transmit / receive information to / from the LAN port (8th LAN port 31 in FIG. 1) of the corresponding layer 3 switch 20. The control unit 41 controls the second LAN port 44 to send and receive information to and from the corresponding terminal 52. The control unit 41 controls the third LAN port 45 to send and receive information to and from the corresponding terminal 53. The control unit 41 is controlled by a remote connection of the control unit 11 of the data acquisition device 10.

記憶部42は、各種データ、プログラム、ファイル等の情報を記憶する機能部である(図1参照)。記憶部42は、設定情報、ARPテーブル情報、MACアドレステーブル情報、及び、NetFlow情報を記憶する。なお、設定情報は、各LANポート43〜45の仮想化ネットワークを構築するための設定に関する情報である。 The storage unit 42 is a functional unit that stores information such as various data, programs, and files (see FIG. 1). The storage unit 42 stores setting information, ARP table information, MAC address table information, and NetFlow information. The setting information is information related to the setting for constructing the virtual network of each LAN port 43 to 45.

LANポート43〜45は、イーサネット規格を用いて、情報の送受信を行うインタフェイスである(図1参照)。第1LANポート43は、LANケーブル71と着脱可能に接続し、LANケーブル71を経由して、レイヤ3スイッチ20の第8LANポート31と通信可能に接続する。第2LANポート44は、LANケーブル72と着脱可能に接続し、LANケーブル72を経由して、端末52と通信可能に接続する。第3LANポート45は、LANケーブル73と着脱可能に接続し、LANケーブル73を経由して、端末53と通信可能に接続する。 LAN ports 43 to 45 are interfaces for transmitting and receiving information using the Ethernet standard (see FIG. 1). The first LAN port 43 is detachably connected to the LAN cable 71, and is communicably connected to the eighth LAN port 31 of the layer 3 switch 20 via the LAN cable 71. The second LAN port 44 is detachably connected to the LAN cable 72, and is communicably connected to the terminal 52 via the LAN cable 72. The third LAN port 45 is detachably connected to the LAN cable 73, and is communicably connected to the terminal 53 via the LAN cable 73.

測定対象サーバ50は、測定対象となるサーバである(図1参照)。測定対象サーバ50には、例えば、端末51〜56からの要求に応じて情報やサービスを提供することが可能なコンピュータ機能を有する市販品のサーバを用いることができる。測定対象サーバ50は、LANケーブル61と着脱可能に接続し、LANケーブル61を経由して、レイヤ3スイッチ20の第1LANポート24と通信可能に接続する。測定対象サーバ50は、測定対象アプリケーションを実行して動作する。測定対象サーバ50には、予め、IPアドレス、MACアドレス、及び、測定対象アプリケーションが使用するポート番号(インターネット・プロトコル・スイートのトランスポート層の番号)が設定されている。 The measurement target server 50 is a measurement target server (see FIG. 1). As the measurement target server 50, for example, a commercially available server having a computer function capable of providing information and services in response to a request from terminals 51 to 56 can be used. The measurement target server 50 is detachably connected to the LAN cable 61, and is communicably connected to the first LAN port 24 of the layer 3 switch 20 via the LAN cable 61. The measurement target server 50 executes and operates the measurement target application. The IP address, MAC address, and port number used by the application to be measured (transport layer number of the Internet Protocol suite) are set in advance in the measurement target server 50.

端末51〜56は、クライアントとなる情報端末である(図1参照)。端末51〜56には、測定対象サーバ50に情報やサービスの提供を要求することにより、測定対象サーバ50から情報やサービスの提供を受けることが可能なコンピュータ機能を有する市販品の端末を用いることができる。端末51〜56には、予め、IPアドレス、及び、MACアドレスが設定されている。 Terminals 51 to 56 are information terminals serving as clients (see FIG. 1). For the terminals 51 to 56, a commercially available terminal having a computer function capable of receiving information and services from the measurement target server 50 by requesting the measurement target server 50 to provide information and services is used. Can be done. An IP address and a MAC address are set in advance in the terminals 51 to 56.

端末51は、LANケーブル62と着脱可能に接続し、LANケーブル62を経由して、レイヤ3スイッチ20の第2LANポート25と通信可能に接続する。端末52は、LANケーブル72と着脱可能に接続し、LANケーブル72を経由して、レイヤ2スイッチ40の第2LANポート44と通信可能に接続する。端末53は、LANケーブル73と着脱可能に接続し、LANケーブル73を経由して、レイヤ2スイッチ40の第3LANポート45と通信可能に接続する。端末54は、LANケーブル66と着脱可能に接続し、LANケーブル66を経由して、レイヤ3スイッチ20の第6LANポート29と通信可能に接続する。端末55は、LANケーブル65と着脱可能に接続し、LANケーブル65を経由して、レイヤ3スイッチ20の第5LANポート28と通信可能に接続する。端末56は、LANケーブル64と着脱可能に接続し、LANケーブル64を経由して、レイヤ3スイッチ20の第4LANポート27と通信可能に接続する。 The terminal 51 is detachably connected to the LAN cable 62, and is communicably connected to the second LAN port 25 of the layer 3 switch 20 via the LAN cable 62. The terminal 52 is detachably connected to the LAN cable 72, and is communicably connected to the second LAN port 44 of the layer 2 switch 40 via the LAN cable 72. The terminal 53 is detachably connected to the LAN cable 73, and is communicably connected to the third LAN port 45 of the layer 2 switch 40 via the LAN cable 73. The terminal 54 is detachably connected to the LAN cable 66, and is communicably connected to the sixth LAN port 29 of the layer 3 switch 20 via the LAN cable 66. The terminal 55 is detachably connected to the LAN cable 65, and is communicably connected to the fifth LAN port 28 of the layer 3 switch 20 via the LAN cable 65. The terminal 56 is detachably connected to the LAN cable 64, and is communicably connected to the fourth LAN port 27 of the layer 3 switch 20 via the LAN cable 64.

端末51〜56について、図1においては、NetFlowの機能によって特定されたtop-talkers top 10のうち、端末51はトップトーカートップ1のノードとなり、端末52はトップトーカートップ2のノードとなり、端末53はトップトーカートップ3のノードとなり、端末54はトップトーカートップ4のノードとなり、端末55はトップトーカートップ5のノードとなり、端末56はトップトーカートップ6のノードとなっている。 Regarding terminals 51 to 56, in FIG. 1, among the top-talkers top 10 identified by the NetFlow function, the terminal 51 becomes the node of the top talker top 1, the terminal 52 becomes the node of the top talker top 2, and the terminal 53. Is a node of the top talker top 3, terminal 54 is a node of the top talker top 4, terminal 55 is a node of the top talker top 5, and terminal 56 is a node of the top talker top 6.

次に、実施形態1に係るクライアントサーバシステムにおけるデータ取得装置の制御部の動作について、図面を用いて説明する。図2は、実施形態1に係るクライアントサーバシステムにおけるデータ取得装置の制御部の動作を模式的に示したフローチャート図である。なお、クライアントサーバシステムの構成部については、図1を参照されたい。また、ここでのデータ取得装置10の制御部11の動作は、スイッチ制御ツール19を実行したときの制御部11の動作である。 Next, the operation of the control unit of the data acquisition device in the client-server system according to the first embodiment will be described with reference to the drawings. FIG. 2 is a flowchart illustrating the operation of the control unit of the data acquisition device in the client-server system according to the first embodiment. Please refer to FIG. 1 for the components of the client-server system. Further, the operation of the control unit 11 of the data acquisition device 10 here is the operation of the control unit 11 when the switch control tool 19 is executed.

前提として、データ取得装置10のシリアル接続部14は、シリアルケーブル60を介して、レイヤ3スイッチ20のコンソールポート23と通信可能に接続され、データ取得装置10のLAN接続部15は、LANケーブル63を介して、レイヤ3スイッチ20のLANポート(図1では第3LANポート26)と通信可能に接続されているものとする。 As a premise, the serial connection unit 14 of the data acquisition device 10 is communicably connected to the console port 23 of the layer 3 switch 20 via the serial cable 60, and the LAN connection unit 15 of the data acquisition device 10 is the LAN cable 63. It is assumed that the layer 3 switch 20 is communicably connected to the LAN port (third LAN port 26 in FIG. 1) via the above.

また、前提として、データ取得装置10の記憶部16には、予め、測定対象サーバ50に係るIPアドレスと、測定対象アプリケーションが使用するポート番号と、レイヤ3スイッチ20及びレイヤ2スイッチ40のそれぞれのログインに必要なユーザ名及びパスワードと、が登録されているものとする。 Further, as a premise, in the storage unit 16 of the data acquisition device 10, the IP address related to the measurement target server 50, the port number used by the measurement target application, and the layer 3 switch 20 and the layer 2 switch 40 are stored in advance. It is assumed that the user name and password required for login are registered.

まず、データ取得装置10の制御部11は、シリアル接続部14を、シリアルケーブル60経由で、レイヤ3スイッチ20のコンソールポート23に接続(シリアル接続)する(図2のステップA1)。 First, the control unit 11 of the data acquisition device 10 connects (serially connects) the serial connection unit 14 to the console port 23 of the layer 3 switch 20 via the serial cable 60 (step A1 in FIG. 2).

ここで、シリアル接続の際、データ取得装置10は、記憶部16に予め登録されているレイヤ3スイッチ20のログイン用のユーザ名及びパスワードを用いて、レイヤ3スイッチ20にログインする。 Here, at the time of serial connection, the data acquisition device 10 logs in to the layer 3 switch 20 by using the user name and password for logging in to the layer 3 switch 20 registered in advance in the storage unit 16.

次に、データ取得装置10の制御部11は、レイヤ3スイッチ20の記憶部22から、シリアルケーブル60経由で、ARPテーブル情報を取得する(図2のステップA2)。 Next, the control unit 11 of the data acquisition device 10 acquires ARP table information from the storage unit 22 of the layer 3 switch 20 via the serial cable 60 (step A2 in FIG. 2).

ここで、ARPテーブル情報の取得の際、レイヤ3スイッチ20がCisco社製スイッチの場合、「show arp」コマンドを実行する。 Here, when acquiring the ARP table information, if the layer 3 switch 20 is a Cisco switch, the "show arp" command is executed.

次に、データ取得装置10の制御部11は、ステップA2で取得したレイヤ3スイッチ20に係るARPテーブル情報を、記憶部16における装置情報17のレイヤ3スイッチ情報17a内に保存する(図2のステップA3)。 Next, the control unit 11 of the data acquisition device 10 stores the ARP table information related to the layer 3 switch 20 acquired in step A2 in the layer 3 switch information 17a of the device information 17 in the storage unit 16 (FIG. 2). Step A3).

次に、データ取得装置10の制御部11は、データ取得装置10の記憶部16に予め登録された測定対象サーバ50に係るIPアドレスで、ステップA3で保存されたレイヤ3スイッチ20に係るARPテーブル情報を検索し、測定対象サーバ50に係るIPアドレスに対応する測定対象サーバ50に係るMACアドレスを特定する(図2のステップA4)。 Next, the control unit 11 of the data acquisition device 10 is an IP address related to the measurement target server 50 registered in advance in the storage unit 16 of the data acquisition device 10, and is an ARP table related to the layer 3 switch 20 saved in step A3. The information is searched and the MAC address of the measurement target server 50 corresponding to the IP address of the measurement target server 50 is specified (step A4 in FIG. 2).

次に、データ取得装置10の制御部11は、レイヤ3スイッチ20の記憶部22から、シリアルケーブル60経由で、MACアドレステーブル情報を取得する(図2のステップA5)。 Next, the control unit 11 of the data acquisition device 10 acquires MAC address table information from the storage unit 22 of the layer 3 switch 20 via the serial cable 60 (step A5 in FIG. 2).

ここで、MACアドレステーブル情報の取得の際、レイヤ3スイッチ20がCisco社製スイッチの場合、「show mac address−table」コマンドを実行する。 Here, when acquiring the MAC address table information, if the layer 3 switch 20 is a Cisco switch, the "show mac address-table" command is executed.

次に、データ取得装置10の制御部11は、ステップA5で取得したレイヤ3スイッチ20に係るMACアドレステーブル情報を、記憶部16における装置情報17のレイヤ3スイッチ情報17a内に保存する(図2のステップA6)。 Next, the control unit 11 of the data acquisition device 10 stores the MAC address table information related to the layer 3 switch 20 acquired in step A5 in the layer 3 switch information 17a of the device information 17 in the storage unit 16 (FIG. 2). Step A6).

次に、データ取得装置10の制御部11は、シリアルケーブル60、レイヤ3スイッチ20、及び、LANケーブル71経由で、レイヤ2スイッチ40に接続(リモート接続)する(図2のステップA7)。 Next, the control unit 11 of the data acquisition device 10 connects (remotely connects) to the layer 2 switch 40 via the serial cable 60, the layer 3 switch 20, and the LAN cable 71 (step A7 in FIG. 2).

次に、データ取得装置10の制御部11は、シリアルケーブル60、レイヤ3スイッチ20、及び、LANケーブル71経由で、レイヤ2スイッチ40の記憶部42から、MACアドレステーブル情報を取得する(図2のステップA8)。 Next, the control unit 11 of the data acquisition device 10 acquires MAC address table information from the storage unit 42 of the layer 2 switch 40 via the serial cable 60, the layer 3 switch 20, and the LAN cable 71 (FIG. 2). Step A8).

次に、データ取得装置10の制御部11は、ステップA8で取得したレイヤ2スイッチ40に係るMACアドレステーブル情報を、記憶部16における装置情報17のレイヤ2スイッチ情報17b内に保存する(図2のステップA9)。 Next, the control unit 11 of the data acquisition device 10 stores the MAC address table information related to the layer 2 switch 40 acquired in step A8 in the layer 2 switch information 17b of the device information 17 in the storage unit 16 (FIG. 2). Step A9).

次に、データ取得装置10の制御部11は、ステップA4で特定された測定対象サーバ50に係るMACアドレスで、ステップA6で保存されたレイヤ3スイッチ20に係るMACアドレステーブル情報、及び、ステップA9で保存されたレイヤ2スイッチ40に係るMACアドレステーブル情報を検索し、測定対象サーバ50が接続されているスイッチのLANポート(図1ではレイヤ3スイッチ20の第1LANポート24)を特定(自動判別)する(図3のステップA10)。 Next, the control unit 11 of the data acquisition device 10 has the MAC address of the measurement target server 50 specified in step A4, the MAC address table information of the layer 3 switch 20 stored in step A6, and step A9. The MAC address table information related to the layer 2 switch 40 saved in is searched, and the LAN port of the switch to which the measurement target server 50 is connected (the first LAN port 24 of the layer 3 switch 20 in FIG. 1) is specified (automatically determined). ) (Step A10 in FIG. 3).

次に、データ取得装置10の制御部11は、測定対象サーバ50が接続されているスイッチのLANポート(図1ではレイヤ3スイッチ20の第1LANポート24)に対して、NetFlowの設定を行う(図3のステップA11)。 Next, the control unit 11 of the data acquisition device 10 sets NetFlow for the LAN port of the switch to which the measurement target server 50 is connected (the first LAN port 24 of the layer 3 switch 20 in FIG. 1) (in FIG. 1). Step A11 in FIG.

ここで、Cisco社製スイッチのGigabitEthernet 0/1ポート(サーバに係るIPアドレス10.1.0.1に係るポート)に、NetFlowの設定を行う場合、例えば、以下の『』で囲まれたコマンドを実行する。 Here, when setting NetFlow to the GigabitEthernet 0/1 port (port related to the IP address 10.1.0.1 related to the server) of the Cisco switch, for example, execute the command enclosed in "" below.

『interface GigabitEthernet 0/1
ip flow ingress
ip flow egress
ip flow-top-talkers
top10
sort-by bytes
match source address 10.1.0.1 255.255.255.255
cache-timeout 3000』
"Interface GigabitEthernet 0/1
ip flow ingress
ip flow egress
ip flow-top-talkers
top10
sort-by bytes
match source address 10.1.0.1 255.255.255.255
cache-timeout 3000 ”

ステップA11の後、又は、所定割合以上遅延していない場合(ステップA14のNO)、データ取得装置10の制御部11は、測定対象サーバ50に係るIPアドレスに対して、予め定めた時間間隔で定期的に疎通確認試験(Pingコマンド実行)を実施する(図3のステップA12)。 After step A11, or when there is no delay of a predetermined ratio or more (NO in step A14), the control unit 11 of the data acquisition device 10 sets the IP address of the measurement target server 50 at a predetermined time interval. A communication confirmation test (Ping command execution) is performed periodically (step A12 in FIG. 3).

次に、データ取得装置10の制御部11は、ステップA12の疎通確認試験で得られた結果(応答時間)を、記憶部16における装置情報17の疎通確認試験結果17c内に保存する(図3のステップA13)。 Next, the control unit 11 of the data acquisition device 10 stores the result (response time) obtained in the communication confirmation test in step A12 in the communication confirmation test result 17c of the device information 17 in the storage unit 16 (FIG. 3). Step A13).

次に、データ取得装置10の制御部11は、疎通確認試験の都度、今回の疎通確認試験の結果(応答時間)と前回の疎通確認試験の結果(応答時間)とを比較し、所定割合以上(例えば、20%以上)遅延したか否かを判断する(図3のステップA14)。所定割合以上遅延していない場合(ステップA14のNO)、ステップA12に戻る。 Next, the control unit 11 of the data acquisition device 10 compares the result of the current communication confirmation test (response time) with the result of the previous communication confirmation test (response time) each time the communication confirmation test is performed, and has a predetermined ratio or more. It is determined whether or not there is a delay (for example, 20% or more) (step A14 in FIG. 3). If there is no delay of the predetermined ratio or more (NO in step A14), the process returns to step A12.

所定割合以上遅延している場合(ステップA14のYES)、データ取得装置10の制御部11は、処理性能の低下が発生していると判断する(図3のステップA15)。 When the delay is more than a predetermined ratio (YES in step A14), the control unit 11 of the data acquisition device 10 determines that the processing performance has deteriorated (step A15 in FIG. 3).

次に、データ取得装置10の制御部11は、測定対象サーバ50が接続されているスイッチ(図1ではレイヤ3スイッチ20)から、シリアルケーブル60経由で、NetFlowのtop-talkers top 10に係る情報を取得する(図3のステップA16)。 Next, the control unit 11 of the data acquisition device 10 transmits information related to the NetFlow top-talkers top 10 from the switch to which the measurement target server 50 is connected (layer 3 switch 20 in FIG. 1) via the serial cable 60. (Step A16 in FIG. 3).

ここで、top-talkers top 10に係る情報は、NetFlowで設定したIPアドレスのうち、最も通信データ量の多い方から10ノードの順位に入るIPアドレスを含む情報(モニタリング情報)である。言い換えると、top-talkers top 10に係る情報とは、ネットワークに接続されている送信元と宛先との間の単方向のパケットのストリームのうち、通信データ量が最も多い(通信帯域利用量の最も大きい)方から10ノードの順位に入るストリームに関与するIPアドレスとトランスポート層の送信元及び宛先のポート番号に対応するIPアドレスを含む情報をいい、具体的には、ネットワークに接続されている最も通信データ量の多い(通信帯域利用量の大きい)方から10ノードの順位に入る送信元及び宛先のサーバ又はパーソナルコンピュータを特定する情報に相当する。レイヤ3スイッチ20がCisco社製スイッチの場合、top-talkers top 10に係る情報の取得の際、「show ip flow top-talkers」コマンドを実行する。 Here, the information related to top-talkers top 10 is information (monitoring information) including IP addresses that are in the order of 10 nodes from the one with the largest amount of communication data among the IP addresses set by NetFlow. In other words, the information related to top-talkers top 10 has the largest amount of communication data (the largest amount of communication band usage) among the streams of unidirectional packets between the source and the destination connected to the network. Information including the IP address involved in the stream that falls in the order of 10 nodes from the largest) and the IP address corresponding to the source and destination port numbers of the transport layer. Specifically, it is connected to the network. It corresponds to the information that identifies the source and destination servers or personal computers that are ranked in the order of 10 nodes from the one with the largest amount of communication data (larger communication band usage). When the layer 3 switch 20 is a Cisco switch, the "show ip flow top-talkers" command is executed when acquiring the information related to the top-talkers top 10.

次に、データ取得装置10の制御部11は、ステップA16で取得したtop-talkers top 10に係る情報に基づいて、トップトーカートップ5の端末(図1では端末51〜55)に係るIPアドレスを特定(自動抽出)する(図3のステップA17)。 Next, the control unit 11 of the data acquisition device 10 assigns an IP address related to the terminal of the top talker top 5 (terminals 51 to 55 in FIG. 1) based on the information related to the top-talkers top 10 acquired in step A16. Specify (automatically extract) (step A17 in FIG. 3).

次に、データ取得装置10の制御部11は、ステップA17で特定したトップトーカートップ5の端末(図1では端末51〜55)に係るIPアドレスで、装置情報17におけるレイヤ3スイッチ情報17aのARPテーブル情報を検索し、当該IPアドレスに対応するMACアドレス(トップトーカートップ5の端末(図1では端末51〜55)に係るMACアドレス)を特定する(図4のステップA18)。 Next, the control unit 11 of the data acquisition device 10 has an IP address related to the terminal of the top talker top 5 (terminals 51 to 55 in FIG. 1) specified in step A17, and is the ARP of the layer 3 switch information 17a in the device information 17. The table information is searched, and the MAC address corresponding to the IP address (MAC address related to the terminal of the top talker top 5 (terminals 51 to 55 in FIG. 1)) is specified (step A18 in FIG. 4).

次に、データ取得装置10の制御部11は、ステップA18で特定されたトップトーカートップ5の端末(図1では端末51〜55)に係るMACアドレスで、ステップA6で保存したレイヤ3スイッチ情報17aのMACアドレステーブル情報、及び、ステップA9で保存されたレイヤ2スイッチ情報17bのMACアドレステーブル情報を検索し、トップトーカートップ5の端末(図1では端末51〜55)が接続されているスイッチのLANポートを特定する(図4のステップA19)。 Next, the control unit 11 of the data acquisition device 10 has the MAC address related to the terminal of the top talker top 5 (terminals 51 to 55 in FIG. 1) specified in step A18, and the layer 3 switch information 17a saved in step A6. The MAC address table information of the above and the MAC address table information of the layer 2 switch information 17b saved in step A9 are searched, and the terminals of the top talker top 5 (terminals 51 to 55 in FIG. 1) are connected to the switch. Identify the LAN port (step A19 in FIG. 4).

ここで、スイッチのLANポートの特定の際、図1の例では、レイヤ3スイッチ20の第2LANポート25、レイヤ2スイッチ40の第2LANポート44、レイヤ2スイッチ40の第3LANポート45、レイヤ3スイッチ20の第6LANポート29、レイヤ3スイッチ20の第5LANポート28を特定する。 Here, when specifying the LAN port of the switch, in the example of FIG. 1, the second LAN port 25 of the layer 3 switch 20, the second LAN port 44 of the layer 2 switch 40, the third LAN port 45 of the layer 2 switch 40, and the layer 3 The sixth LAN port 29 of the switch 20 and the fifth LAN port 28 of the layer 3 switch 20 are specified.

次に、データ取得装置10の制御部11は、測定対象サーバ50が接続されているスイッチのLANポート(図1ではレイヤ3スイッチ20の第1LANポート24)と、トップトーカートップ5の端末(図1では端末51〜55)が接続されているスイッチの各LANポート(図1ではレイヤ3スイッチ20のLANポート25、28、29、レイヤ2スイッチ40のLANポート44、45)と、に対して、パケットキャプチャ(リモートパケットキャプチャを含む)の設定を行う(図4のステップA20)。 Next, the control unit 11 of the data acquisition device 10 has a LAN port of the switch to which the measurement target server 50 is connected (the first LAN port 24 of the layer 3 switch 20 in FIG. 1) and a terminal of the top talker top 5 (FIG. 1). For each LAN port of the switch to which the terminals 51 to 55) are connected in 1 (LAN ports 25, 28, 29 of the layer 3 switch 20 and LAN ports 44, 45 of the layer 2 switch 40 in FIG. 1). , Packet capture (including remote packet capture) is set (step A20 in FIG. 4).

次に、データ取得装置10の制御部11は、データ取得装置10のLAN接続部15と接続されているスイッチのLANポート(図1ではレイヤ3スイッチ20の第3LANポート26)に対して、キャプチャ(パケットキャプチャ)した各LANポート(レイヤ3スイッチ20のLANポート25、28、29、レイヤ2スイッチ40のLANポート44、45)の通信データを出力するように、モニタ出力LANポートを設定する(図4のステップA21)。 Next, the control unit 11 of the data acquisition device 10 captures the LAN port of the switch connected to the LAN connection unit 15 of the data acquisition device 10 (in FIG. 1, the third LAN port 26 of the layer 3 switch 20). Set the monitor output LAN port so as to output the communication data of each (packet captured) LAN port (LAN ports 25, 28, 29 of the layer 3 switch 20 and LAN ports 44, 45 of the layer 2 switch 40). Step A21 in FIG. 4).

ここで、レイヤ3スイッチ20がCisco社製スイッチの場合、GigabitEthernet 0/1ポートのパケットをキャプチャし、GigabitEthernet 0/3ポートに出力する場合は、所定のコマンド(例えば、以下の『』で囲まれたコマンド)を実行する。 Here, when the layer 3 switch 20 is a Cisco switch, when capturing the packet of the GigabitEthernet 0/1 port and outputting it to the GigabitEthernet 0/3 port, it is enclosed in a predetermined command (for example, the following ""). Command) is executed.

『monitor session 1 source interface GigabitEthernet 0/1
Monitor session 1 destination interface GigabitEthernet 0/3』
"Monitor session 1 source interface GigabitEthernet 0/1
Monitor session 1 destination interface GigabitEthernet 0/3 ”

なお、レイヤ3スイッチ20がCisco社製スイッチの場合、SW1のGigabitEthernet 0/1ポートのパケットをキャプチャし、SW2のGigabitEthernet 0/3ポートに出力する場合は、所定のコマンド(以下の『』で囲まれたコマンド)を実行する。なお、SW1とSW2との間はすでにvlan999(monitor session 1用LAN)を通す設定がされていることを前提とする。 When the layer 3 switch 20 is a Cisco switch, when capturing the packet of the GigabitEthernet 0/1 port of SW1 and outputting it to the GigabitEthernet 0/3 port of SW2, it is enclosed in a predetermined command (enclosed in "" below). Execute the command). It is assumed that vlan999 (LAN for monitor session 1) has already been set between SW1 and SW2.

[SW1の設定]
『vlan999
remote-span
monitor session 1 source interface GigabitEthernet 0/1
monitor session 1 destination remote vlan999』
[SW1 setting]
"Vlan999
remote-span
monitor session 1 source interface GigabitEthernet 0/1
monitor session 1 destination remote vlan999 ”

[SW2の設定]
『vlan999
remote-span
monitor session 1 source remote vlan999
monitor session 1 destination interface GigabitEthernet 0/3』
[SW2 setting]
"Vlan999
remote-span
monitor session 1 source remote vlan999
monitor session 1 destination interface GigabitEthernet 0/3 ”

次に、データ取得装置10の制御部11は、LAN接続部15から入力されるキャプチャデータ(測定対象サーバ50の送受信データ、トップトーカートップ5の端末51〜55の送受信データ)に、通信データ取得情報として、データ取得開始年月日及び時刻を同時に付与して、記憶部16における通信データ取得情報18に保存する(図4のステップA22)。 Next, the control unit 11 of the data acquisition device 10 acquires communication data in the captured data (transmission / reception data of the measurement target server 50, transmission / reception data of terminals 51 to 55 of the top talker top 5) input from the LAN connection unit 15. As information, the data acquisition start date and time are simultaneously assigned and stored in the communication data acquisition information 18 in the storage unit 16 (step A22 in FIG. 4).

最後に、データ取得装置10の制御部11は、出力部13から「キャプチャデータ取得完了」のメッセージを出力させ(図4のステップA23)、その後、終了する。 Finally, the control unit 11 of the data acquisition device 10 outputs a message of "capture data acquisition completed" from the output unit 13 (step A23 in FIG. 4), and then ends.

実施形態1によれば、事前に、データ取得装置10に測定対象サーバ50に係るIPアドレスと、障害発生するアプリケーションが使用しているポート番号と、を登録して使用することで、クライアントサーバシステム1において、処理性能の低下が間欠的に発生するような間欠障害が発生しても、間欠障害を特定する通信データを取得することができる。 According to the first embodiment, the client server system by registering and using the IP address related to the measurement target server 50 and the port number used by the application in which the failure occurs in the data acquisition device 10 in advance. In No. 1, even if an intermittent failure occurs such that the processing performance is intermittently deteriorated, the communication data for specifying the intermittent failure can be acquired.

また、実施形態1によれば、データ取得装置10により、クライアントサーバシステム1における、処理性能の低下が時々発生するような障害が発生し、クライアントを特定することができない障害の場合であっても、処理性能の低下を判定し、処理性能が低下した時の障害原因を特定するための、測定対象サーバ50及びトップトーカートップ5の端末51〜55の各送受信データを取得することができる。これにより、障害発生後にパケットキャプチャしたLANポートの設定を行う必要がなく、専門スキルが不要となり、障害発生箇所がデータ取得装置から遠く離れている場合にも、即時にデータ取得が可能となる。 Further, according to the first embodiment, even in the case of a failure in which the client cannot be identified due to a failure in the client-server system 1 in which the processing performance sometimes deteriorates due to the data acquisition device 10. , It is possible to acquire each transmission / reception data of the measurement target server 50 and the terminals 51 to 55 of the top talker top 5 for determining the deterioration of the processing performance and identifying the cause of the failure when the processing performance is lowered. As a result, it is not necessary to set the LAN port for packet capture after the failure, no specialized skill is required, and even if the failure location is far away from the data acquisition device, data can be acquired immediately.

[実施形態2]
実施形態2に係るデータ取得装置について図面を用いて説明する。図5は、実施形態2に係るデータ取得装置の構成を模式的に示したブロック図である。
[Embodiment 2]
The data acquisition device according to the second embodiment will be described with reference to the drawings. FIG. 5 is a block diagram schematically showing the configuration of the data acquisition device according to the second embodiment.

データ取得装置110は、少なくとも1つのネットワーク機器120を介して複数のクライアント151、・・・・・、156とサーバ150とを通信可能に接続するクライアントサーバシステム201からデータを取得する装置である。データ取得装置110は、少なくとも1つのネットワーク機器120のいずれか1つと通信可能に接続する接続部114を有する。データ取得装置110は、サーバ150に係るIPアドレスを記憶する記憶部116を有する。データ取得装置110は、接続部114及び記憶部116を制御するとともに、所定の情報処理を行う制御部111を有する。 The data acquisition device 110 is a device that acquires data from a client-server system 201 that communicably connects a plurality of clients 151, ..., 156 and the server 150 via at least one network device 120. The data acquisition device 110 has a connection unit 114 that is communicably connected to any one of at least one network device 120. The data acquisition device 110 has a storage unit 116 that stores the IP address of the server 150. The data acquisition device 110 has a control unit 111 that controls the connection unit 114 and the storage unit 116 and performs predetermined information processing.

制御部111は、記憶部116に記憶されたサーバ150に係るIPアドレス、データ取得装置110と直接的に接続されたネットワーク機器120のARPテーブル情報、及び、少なくとも1つのネットワーク機器120のすべてのMACアドレステーブル情報、に基づいて、サーバ150が接続されているネットワーク機器120のポートを特定する処理を行う。制御部111は、サーバ150が接続されているネットワーク機器120のポートに対してモニタリングの設定を行う処理を行う。制御部111は、サーバ150が接続されているネットワーク機器120から、モニタリングが設定されているポートのうち、最も通信データ量の多い方から第1所定数の順位に入るポートに対応するIPアドレスを含むモニタリング情報を取得する処理を行う。制御部111は、取得したモニタリング情報と、ARPテーブル情報と、MACアドレステーブル情報と、に基づいて、モニタリングが設定されているポートのうち、最も通信データ量の多い方から、前記第1所定数よりも少ない第2所定数の順位に入るポートを特定する処理を行う。制御部111は、第2所定数の順位に入るポートに対してキャプチャを設定する処理を行う。制御部111は、データ取得装置110が接続されているネットワーク機器120に対して、キャプチャを設定したポートの通信データを出力するように設定する処理を行う。 The control unit 111 includes the IP address of the server 150 stored in the storage unit 116, the ARP table information of the network device 120 directly connected to the data acquisition device 110, and all the MACs of at least one network device 120. Based on the address table information, the process of identifying the port of the network device 120 to which the server 150 is connected is performed. The control unit 111 performs a process of setting monitoring for the port of the network device 120 to which the server 150 is connected. The control unit 111 assigns an IP address corresponding to the port corresponding to the first predetermined number of ports from the network device 120 to which the server 150 is connected, which has the largest amount of communication data among the ports for which monitoring is set. Performs processing to acquire monitoring information including. Based on the acquired monitoring information, ARP table information, and MAC address table information, the control unit 111 has the first predetermined number from the port for which monitoring is set, which has the largest amount of communication data. Performs a process of identifying a port that falls within the second predetermined number of ranks that is less than. The control unit 111 performs a process of setting a capture for a port that enters the second predetermined number of ranks. The control unit 111 performs a process of setting the network device 120 to which the data acquisition device 110 is connected to output the communication data of the port for which the capture is set.

実施形態2によれば、事前に、データ取得装置110にサーバ150に係るIPアドレスを登録して使用することで、クライアントサーバシステム201において、処理性能の低下が間欠的に発生するような間欠障害が発生しても、間欠障害を特定する通信データを取得することができる。 According to the second embodiment, by registering and using the IP address related to the server 150 in the data acquisition device 110 in advance, the client-server system 201 has an intermittent failure in which the processing performance is intermittently deteriorated. Even if the above occurs, communication data that identifies the intermittent failure can be acquired.

なお、実施形態1、2に係るデータ取得装置は、いわゆるハードウェア資源(情報処理装置、コンピュータ)により構成することができ、図6に例示する構成を備えたものを用いることができる。例えば、ハードウェア資源100は、内部バス104により相互に接続される、プロセッサ101、メモリ102、ネットワークインタフェイス103等を備える。 The data acquisition device according to the first and second embodiments can be configured by so-called hardware resources (information processing device, computer), and one having the configuration illustrated in FIG. 6 can be used. For example, the hardware resource 100 includes a processor 101, a memory 102, a network interface 103, and the like, which are connected to each other by an internal bus 104.

なお、図6に示す構成は、ハードウェア資源100のハードウェア構成を限定する趣旨ではない。ハードウェア資源100は、図示しないハードウェア(例えば、入出力インタフェイス)を含んでもよい。あるいは、装置に含まれるプロセッサ101等のユニットの数も図6の例示に限定する趣旨ではなく、例えば、複数のプロセッサ101がハードウェア資源100に含まれていてもよい。プロセッサ101には、例えば、CPU(Central Processing Unit)、MPU(Micro Processor Unit)、GPU(Graphics Processing Unit)等を用いることができる。 The configuration shown in FIG. 6 is not intended to limit the hardware configuration of the hardware resource 100. The hardware resource 100 may include hardware (for example, an input / output interface) (not shown). Alternatively, the number of units such as the processor 101 included in the device is not limited to the example of FIG. 6, and for example, a plurality of processors 101 may be included in the hardware resource 100. For the processor 101, for example, a CPU (Central Processing Unit), an MPU (Micro Processor Unit), a GPU (Graphics Processing Unit), or the like can be used.

メモリ102には、例えば、RAM(Random Access Memory)、ROM(Read Only Memory)、HDD(Hard Disk Drive)、SSD(Solid State Drive)等を用いることができる。 For the memory 102, for example, a RAM (Random Access Memory), a ROM (Read Only Memory), an HDD (Hard Disk Drive), an SSD (Solid State Drive), or the like can be used.

ネットワークインタフェイス103には、例えば、LAN(Local Area Network)カード、ネットワークアダプタ、ネットワークインタフェイスカード等を用いることができる。 For the network interface 103, for example, a LAN (Local Area Network) card, a network adapter, a network interface card, or the like can be used.

ハードウェア資源100の機能は、上述の処理モジュールにより実現される。当該処理モジュールは、例えば、メモリ102に格納されたプログラムをプロセッサ101が実行することで実現される。また、そのプログラムは、ネットワークを介してダウンロードするか、あるいは、プログラムを記憶した記憶媒体を用いて、更新することができる。さらに、上記処理モジュールは、半導体チップにより実現されてもよい。即ち、上記処理モジュールが行う機能は、何らかのハードウェアにおいてソフトウェアが実行されることによって実現できればよい。 The function of the hardware resource 100 is realized by the above-mentioned processing module. The processing module is realized, for example, by the processor 101 executing a program stored in the memory 102. In addition, the program can be downloaded via a network or updated using a storage medium in which the program is stored. Further, the processing module may be realized by a semiconductor chip. That is, the function performed by the processing module may be realized by executing software on some hardware.

上記実施形態の一部または全部は以下の付記のようにも記載され得るが、以下には限られない。 Some or all of the above embodiments may also be described, but not limited to:

[付記1]
本発明では、前記第1の視点に係るデータ取得装置の形態が可能である。
[Appendix 1]
In the present invention, the form of the data acquisition device according to the first viewpoint is possible.

[付記2]
前記接続部は、
前記少なくとも1つのネットワーク機器のいずれか1つと第1通信規格を用いて通信可能に接続される第1接続部と、
前記少なくとも1つのネットワーク機器のいずれか1つと前記第1通信規格とは異なる第2通信規格を用いて通信可能に接続される第2接続部と、
を有し、
前記制御部は、
前記サーバが接続されている前記ネットワーク機器のポートを特定する処理、前記モニタリングの設定を行う処理、前記モニタリング情報を取得する処理、前記第2所定数の順位に入る前記ポートを特定する処理、及び、前記キャプチャを設定する処理を、前記第1接続部を通じて行い、
前記キャプチャを設定した前記ネットワーク機器の前記ポートの通信データを出力するように設定する処理を、前記第2接続部を通じて行う、
ように制御する、
付記1記載のデータ取得装置。
[Appendix 2]
The connection part
A first connection unit that is communicably connected to any one of the at least one network device using the first communication standard.
A second connection unit that is communicably connected to any one of the at least one network device using a second communication standard different from the first communication standard.
Have,
The control unit
A process for identifying a port of the network device to which the server is connected, a process for setting the monitoring, a process for acquiring the monitoring information, a process for identifying the port in the second predetermined number of orders, and a process for specifying the port. , The process of setting the capture is performed through the first connection portion.
The process of setting to output the communication data of the port of the network device for which the capture is set is performed through the second connection unit.
To control,
The data acquisition device according to Appendix 1.

[付記3]
前記第1接続部は、シリアルポートのインタフェイス規格を用いて情報を送受信するインタフェイスであり、
前記第2接続部は、LANポートのインタフェイス規格を用いて情報を送受信するインタフェイスである、
付記2記載のデータ取得装置。
[Appendix 3]
The first connection unit is an interface for transmitting and receiving information using the interface standard of the serial port.
The second connection unit is an interface for transmitting and receiving information using the interface standard of the LAN port.
The data acquisition device according to Appendix 2.

[付記4]
前記サーバが接続されている前記ネットワーク機器のポートを特定する処理では、
前記データ取得装置と直接的に接続された前記ネットワーク機器から、IPアドレスとMACアドレスとを関連付けた前記ARPテーブル情報を取得する処理と、
取得した前記ARPテーブル情報を用いて、前記記憶部に記憶された前記サーバに係る前記IPアドレスに対応するMACアドレスを特定する処理と、
前記少なくとも1つのネットワーク機器のすべてから、MACアドレステーブル情報を取得する処理と、
取得した前記MACアドレステーブル情報を用いて、特定された前記サーバに係る前記MACアドレスに基づいて、前記サーバが接続されている前記ネットワーク機器のポートを特定する処理と、
を行う、
付記1乃至3のいずれか一に記載のデータ取得装置。
[Appendix 4]
In the process of identifying the port of the network device to which the server is connected,
A process of acquiring the ARP table information associated with an IP address and a MAC address from the network device directly connected to the data acquisition device, and
Using the acquired ARP table information, a process of specifying the MAC address corresponding to the IP address of the server stored in the storage unit, and
The process of acquiring MAC address table information from all of the at least one network device, and
Using the acquired MAC address table information, the process of identifying the port of the network device to which the server is connected based on the MAC address of the identified server, and
I do,
The data acquisition device according to any one of Supplementary note 1 to 3.

[付記5]
前記MACアドレステーブル情報を取得する処理では、前記データ取得装置と直接的に接続された前記ネットワーク機器以外の他のネットワーク機器から前記MACアドレステーブル情報を取得する際、前記他のネットワーク機器に対してリモート接続する、
付記4記載のデータ取得装置。
[Appendix 5]
In the process of acquiring the MAC address table information, when the MAC address table information is acquired from a network device other than the network device directly connected to the data acquisition device, the other network device is subjected to the process. Connect remotely,
The data acquisition device according to Appendix 4.

[付記6]
前記第2所定数の順位に入る前記ポートを特定する処理では、
取得した前記モニタリング情報を用いて、前記第2所定数の順位に入る前記ポートに対応するIPアドレスを特定する処理と、
取得した前記ARPテーブル情報を用いて、特定された前記第2所定数の順位に入る前記ポートに対応する前記IPアドレスに対応するMACアドレスを特定する処理と、
取得した前記MACアドレステーブル情報を用いて、特定された前記MACアドレスの順位に入る前記ポートを特定する処理と、
を行う、
付記1乃至5のいずれか一に記載のデータ取得装置。
[Appendix 6]
In the process of identifying the port that falls in the second predetermined number of ranks,
Using the acquired monitoring information, a process of identifying an IP address corresponding to the port in the second predetermined number of ranks, and
Using the acquired ARP table information, a process of specifying a MAC address corresponding to the IP address corresponding to the port corresponding to the specified second predetermined number of ranks, and
Using the acquired MAC address table information, processing to specify the port that falls in the order of the specified MAC address, and
I do,
The data acquisition device according to any one of Appendix 1 to 5.

[付記7]
前記モニタリング情報を取得する処理では、
前記サーバに係る前記IPアドレスに対して疎通確認試験を実施する処理と、
前記疎通確認試験による今回の応答時間と前回の応答時間とを比較し、所定割合以上遅延したか否かを判断する処理と、
前記所定割合以上遅延したときに、前記サーバが接続されている前記ネットワーク機器から、前記モニタリングが設定されている前記ポートにおける前記モニタリング情報を取得する処理と、
を行う、
付記1乃至6のいずれか一に記載のデータ取得装置。
[Appendix 7]
In the process of acquiring the monitoring information,
A process of performing a communication confirmation test on the IP address of the server, and
A process of comparing the current response time by the communication confirmation test with the previous response time and determining whether or not the delay is more than a predetermined ratio.
A process of acquiring the monitoring information at the port for which the monitoring is set from the network device to which the server is connected when the delay is made by the predetermined ratio or more.
I do,
The data acquisition device according to any one of Supplementary notes 1 to 6.

[付記8]
本発明では、前記第2の視点に係るクライアントサーバシステムの形態が可能である。
[Appendix 8]
In the present invention, the form of the client-server system according to the second viewpoint is possible.

[付記9]
本発明では、前記第3の視点に係るデータ取得方法の形態が可能である。
[Appendix 9]
In the present invention, the form of the data acquisition method according to the third viewpoint is possible.

[付記10]
本発明では、前記第4の視点に係るプログラムの形態が可能である。
[Appendix 10]
In the present invention, the form of the program according to the fourth viewpoint is possible.

なお、上記の特許文献の開示を、本書に引用をもって繰り込むものとする。本発明の全開示(特許請求の範囲及び図面を含む)の枠内において、さらにその基本的技術思想に基づいて、実施形態ないし実施例の変更・調整が可能である。また、本発明の全開示の枠内において種々の開示要素(各請求項の各要素、各実施形態ないし実施例の各要素、各図面の各要素等を含む)の多様な組み合わせないし選択(必要により不選択)が可能である。すなわち、本発明は、請求の範囲及び図面を含む全開示、技術的思想にしたがって当業者であればなし得るであろう各種変形、修正を含むことは勿論である。また、本願に記載の数値及び数値範囲については、明記がなくともその任意の中間値、下位数値、及び、小範囲が記載されているものとみなされる。 The disclosure of the above patent documents shall be incorporated into this document by citation. Within the framework of the entire disclosure of the present invention (including the scope of claims and drawings), it is possible to change or adjust the embodiments or examples based on the basic technical idea thereof. Further, various combinations or selections (necessary) of various disclosure elements (including each element of each claim, each element of each embodiment or embodiment, each element of each drawing, etc.) within the framework of all disclosure of the present invention. (Not selected) is possible. That is, it goes without saying that the present invention includes all disclosures including claims and drawings, and various modifications and modifications that can be made by those skilled in the art in accordance with technical ideas. In addition, regarding the numerical values and numerical ranges described in the present application, it is considered that arbitrary intermediate values, lower numerical values, and small ranges are described even if not specified.

1、201 クライアントサーバシステム
10、110 データ取得装置
11、111 制御部
12 入力部
13 出力部
14 シリアル接続部(第1接続部)
15 LAN接続部(第2接続部)
16、116 記憶部
17 装置情報
17a レイヤ3スイッチ情報
17b レイヤ2スイッチ情報
17c 疎通確認試験結果
18 通信データ取得情報
19 スイッチ制御ツール
20 レイヤ3スイッチ
21 制御部
22 記憶部
23 コンソールポート
24〜31 LANポート
40 レイヤ2スイッチ
41 制御部
42 記憶部
43〜45 LANポート
50 測定対象サーバ
51〜56 端末
60 シリアルケーブル
61〜66、71〜73 LANケーブル
100 ハードウェア資源
101 プロセッサ
102 メモリ
103 ネットワークインタフェイス
104 内部バス
114 接続部
120 ネットワーク機器
150 サーバ
151、156 クライアント
1,201 Client-server system 10,110 Data acquisition device 11,111 Control unit 12 Input unit 13 Output unit 14 Serial connection unit (first connection unit)
15 LAN connection (second connection)
16, 116 Storage unit 17 Device information 17a Layer 3 switch information 17b Layer 2 switch information 17c Communication confirmation test result 18 Communication data acquisition information 19 Switch control tool 20 Layer 3 switch 21 Control unit 22 Storage unit 23 Console port 24-31 LAN port 40 Layer 2 switch 41 Control unit 42 Storage unit 43 to 45 LAN port 50 Measurement target server 51 to 56 Terminal 60 Serial cable 61 to 66, 71 to 73 LAN cable 100 Hardware resource 101 Processor 102 Memory 103 Network interface 104 Internal bus 114 Connection 120 Network equipment 150 Server 151, 156 Client

Claims (10)

少なくとも1つのネットワーク機器を介して複数のクライアントとサーバとを通信可能に接続するクライアントサーバシステムからデータを取得するデータ取得装置であって、
前記少なくとも1つのネットワーク機器のいずれか1つと通信可能に接続する接続部と、
前記サーバに係るIPアドレスを記憶する記憶部と、
前記接続部及び前記記憶部を制御するとともに、所定の情報処理を行う制御部と、
を備え、
前記制御部は、
前記記憶部に記憶された前記サーバに係る前記IPアドレス、前記データ取得装置と直接的に接続された前記ネットワーク機器のARPテーブル情報、及び、前記少なくとも1つのネットワーク機器のすべてのMACアドレステーブル情報、に基づいて、前記サーバが接続されている前記ネットワーク機器のポートを特定する処理と、
前記サーバが接続されている前記ネットワーク機器の前記ポートに対してモニタリングの設定を行う処理と、
前記サーバが接続されている前記ネットワーク機器から、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から第1所定数の順位に入るポートに対応するIPアドレスを含むモニタリング情報を取得する処理と、
取得した前記モニタリング情報と、前記ARPテーブル情報と、前記MACアドレステーブル情報と、に基づいて、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から、前記第1所定数よりも少ない第2所定数の順位に入るポートを特定する処理と、
前記第2所定数の順位に入る前記ポートに対してキャプチャを設定する処理と、
前記データ取得装置が接続されている前記ネットワーク機器に対して、前記キャプチャを設定した前記ポートの通信データを出力するように設定する処理と、
を行う、
データ取得装置。
A data acquisition device that acquires data from a client-server system that connects a plurality of clients and servers in a communicable manner via at least one network device.
A connection unit that is communicably connected to any one of the at least one network device,
A storage unit that stores the IP address related to the server,
A control unit that controls the connection unit and the storage unit and performs predetermined information processing,
With
The control unit
The IP address of the server stored in the storage unit, ARP table information of the network device directly connected to the data acquisition device, and all MAC address table information of the at least one network device. The process of identifying the port of the network device to which the server is connected based on
A process of setting monitoring for the port of the network device to which the server is connected, and
Monitoring information including the IP address corresponding to the port corresponding to the first predetermined number of ports from the network device to which the server is connected to the port to which the monitoring is set and which has the largest amount of communication data. And the process of getting
Based on the acquired monitoring information, the ARP table information, and the MAC address table information, the first predetermined number from the port having the largest amount of communication data among the ports for which the monitoring is set. The process of identifying ports that fall into the second predetermined number of ranks, which is less than
The process of setting capture for the port that falls into the second predetermined number of ranks,
A process of setting the network device to which the data acquisition device is connected to output communication data of the port for which the capture is set, and a process of setting the communication data to be output.
I do,
Data acquisition device.
前記接続部は、
前記少なくとも1つのネットワーク機器のいずれか1つと第1通信規格を用いて通信可能に接続される第1接続部と、
前記少なくとも1つのネットワーク機器のいずれか1つと前記第1通信規格とは異なる第2通信規格を用いて通信可能に接続される第2接続部と、
を有し、
前記制御部は、
前記サーバが接続されている前記ネットワーク機器のポートを特定する処理、前記モニタリングの設定を行う処理、前記モニタリング情報を取得する処理、前記第2所定数の順位に入る前記ポートを特定する処理、及び、前記キャプチャを設定する処理を、前記第1接続部を通じて行い、
前記キャプチャを設定した前記ネットワーク機器の前記ポートの通信データを出力するように設定する処理を、前記第2接続部を通じて行う、
ように制御する、
請求項1記載のデータ取得装置。
The connection part
A first connection unit that is communicably connected to any one of the at least one network device using the first communication standard.
A second connection unit that is communicably connected to any one of the at least one network device using a second communication standard different from the first communication standard.
Have,
The control unit
A process for identifying a port of the network device to which the server is connected, a process for setting the monitoring, a process for acquiring the monitoring information, a process for identifying the port in the second predetermined number of orders, and a process for specifying the port. , The process of setting the capture is performed through the first connection portion.
The process of setting to output the communication data of the port of the network device for which the capture is set is performed through the second connection unit.
To control,
The data acquisition device according to claim 1.
前記第1接続部は、シリアルポートのインタフェイス規格を用いて情報を送受信するインタフェイスであり、
前記第2接続部は、LANポートのインタフェイス規格を用いて情報を送受信するインタフェイスである、
請求項2記載のデータ取得装置。
The first connection unit is an interface for transmitting and receiving information using the interface standard of the serial port.
The second connection unit is an interface for transmitting and receiving information using the interface standard of the LAN port.
The data acquisition device according to claim 2.
前記サーバが接続されている前記ネットワーク機器のポートを特定する処理では、
前記データ取得装置と直接的に接続された前記ネットワーク機器から、IPアドレスとMACアドレスとを関連付けた前記ARPテーブル情報を取得する処理と、
取得した前記ARPテーブル情報を用いて、前記記憶部に記憶された前記サーバに係る前記IPアドレスに対応するMACアドレスを特定する処理と、
前記少なくとも1つのネットワーク機器のすべてから、MACアドレステーブル情報を取得する処理と、
取得した前記MACアドレステーブル情報を用いて、特定された前記サーバに係る前記MACアドレスに基づいて、前記サーバが接続されている前記ネットワーク機器のポートを特定する処理と、
を行う、
請求項1乃至3のいずれか一に記載のデータ取得装置。
In the process of identifying the port of the network device to which the server is connected,
A process of acquiring the ARP table information associated with an IP address and a MAC address from the network device directly connected to the data acquisition device, and
Using the acquired ARP table information, a process of specifying the MAC address corresponding to the IP address of the server stored in the storage unit, and
The process of acquiring MAC address table information from all of the at least one network device, and
Using the acquired MAC address table information, the process of identifying the port of the network device to which the server is connected based on the MAC address of the identified server, and
I do,
The data acquisition device according to any one of claims 1 to 3.
前記MACアドレステーブル情報を取得する処理では、前記データ取得装置と直接的に接続された前記ネットワーク機器以外の他のネットワーク機器から前記MACアドレステーブル情報を取得する際、前記他のネットワーク機器に対してリモート接続する、
請求項4記載のデータ取得装置。
In the process of acquiring the MAC address table information, when the MAC address table information is acquired from a network device other than the network device directly connected to the data acquisition device, the other network device is subjected to the process. Connect remotely,
The data acquisition device according to claim 4.
前記第2所定数の順位に入る前記ポートを特定する処理では、
取得した前記モニタリング情報を用いて、前記第2所定数の順位に入る前記ポートに対応するIPアドレスを特定する処理と、
取得した前記ARPテーブル情報を用いて、特定された前記第2所定数の順位に入る前記ポートに対応する前記IPアドレスに対応するMACアドレスを特定する処理と、
取得した前記MACアドレステーブル情報を用いて、特定された前記MACアドレスの順位に入る前記ポートを特定する処理と、
を行う、
請求項1乃至5のいずれか一に記載のデータ取得装置。
In the process of identifying the port that falls in the second predetermined number of ranks,
Using the acquired monitoring information, a process of identifying an IP address corresponding to the port in the second predetermined number of ranks, and
Using the acquired ARP table information, a process of specifying a MAC address corresponding to the IP address corresponding to the port corresponding to the specified second predetermined number of ranks, and
Using the acquired MAC address table information, processing to specify the port that falls in the order of the specified MAC address, and
I do,
The data acquisition device according to any one of claims 1 to 5.
前記モニタリング情報を取得する処理では、
前記サーバに係る前記IPアドレスに対して疎通確認試験を実施する処理と、
前記疎通確認試験による今回の応答時間と前回の応答時間とを比較し、所定割合以上遅延したか否かを判断する処理と、
前記所定割合以上遅延したときに、前記サーバが接続されている前記ネットワーク機器から、前記モニタリングが設定されている前記ポートにおける前記モニタリング情報を取得する処理と、
を行う、
請求項1乃至6のいずれか一に記載のデータ取得装置。
In the process of acquiring the monitoring information,
A process of performing a communication confirmation test on the IP address of the server, and
A process of comparing the current response time by the communication confirmation test with the previous response time and determining whether or not the delay is more than a predetermined ratio.
A process of acquiring the monitoring information at the port for which the monitoring is set from the network device to which the server is connected when the delay is made by the predetermined ratio or more.
I do,
The data acquisition device according to any one of claims 1 to 6.
複数のクライアントと、
サーバと、
前記複数のクライアントと前記サーバとを通信可能に接続する少なくとも1つのネットワーク機器と、
請求項1乃至7のいずれか一に記載のデータ取得装置と、
を備える、
クライアントサーバシステム。
With multiple clients
With the server
At least one network device that communicably connects the plurality of clients and the server,
The data acquisition device according to any one of claims 1 to 7.
To prepare
Client-server system.
データ取得装置を用いて、少なくとも1つのネットワーク機器を介して複数のクライアントとサーバとを通信可能に接続するクライアントサーバシステムからデータを取得するデータ取得方法であって、
予め記憶された前記サーバに係るIPアドレス、前記データ取得装置と直接的に接続された前記ネットワーク機器のARPテーブル情報、及び、前記少なくとも1つのネットワーク機器のすべてのMACアドレステーブル情報、に基づいて、前記サーバが接続されている前記ネットワーク機器のポートを特定するステップと、
前記サーバが接続されている前記ネットワーク機器の前記ポートに対してモニタリングの設定を行うステップと、
前記サーバが接続されている前記ネットワーク機器から、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から第1所定数の順位に入るポートに対応するIPアドレスを含むモニタリング情報を取得するステップと、
取得した前記モニタリング情報と、前記ARPテーブル情報と、前記MACアドレステーブル情報と、に基づいて、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から、前記第1所定数よりも少ない第2所定数の順位に入るポートを特定するステップと、
前記第2所定数の順位に入る前記ポートに対してキャプチャを設定するステップと、
前記データ取得装置が接続されている前記ネットワーク機器に対して、前記キャプチャを設定した前記ポートの通信データを出力するように設定するステップと、
を行う、
データ取得方法。
A data acquisition method that uses a data acquisition device to acquire data from a client-server system that connects a plurality of clients and servers in a communicable manner via at least one network device.
Based on the IP address of the server stored in advance, the ARP table information of the network device directly connected to the data acquisition device, and all the MAC address table information of the at least one network device. The step of identifying the port of the network device to which the server is connected, and
A step of setting monitoring for the port of the network device to which the server is connected, and
Monitoring information including the IP address corresponding to the port corresponding to the first predetermined number of ports from the network device to which the server is connected to the port to which the monitoring is set and which has the largest amount of communication data. And the steps to get
Based on the acquired monitoring information, the ARP table information, and the MAC address table information, the first predetermined number from the port having the largest amount of communication data among the ports for which the monitoring is set. The step of identifying ports that fall into the second predetermined number of ranks, which is less than
The step of setting the capture for the port that enters the second predetermined number of ranks,
A step of setting the network device to which the data acquisition device is connected to output the communication data of the port for which the capture is set, and
I do,
Data acquisition method.
データ取得装置に、少なくとも1つのネットワーク機器を介して複数のクライアントとサーバとを通信可能に接続するクライアントサーバシステムからデータを取得させるプログラムであって、
予め記憶された前記サーバに係るIPアドレス、前記データ取得装置と直接的に接続された前記ネットワーク機器のARPテーブル情報、及び、前記少なくとも1つのネットワーク機器のすべてのMACアドレステーブル情報、に基づいて、前記サーバが接続されている前記ネットワーク機器のポートを特定する処理と、
前記サーバが接続されている前記ネットワーク機器の前記ポートに対してモニタリングの設定を行う処理と、
前記サーバが接続されている前記ネットワーク機器から、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から第1所定数の順位に入るポートに対応するIPアドレスを含むモニタリング情報を取得する処理と、
取得した前記モニタリング情報と、前記ARPテーブル情報と、前記MACアドレステーブル情報と、に基づいて、前記モニタリングが設定されている前記ポートのうち、最も通信データ量の多い方から、前記第1所定数よりも少ない第2所定数の順位に入るポートを特定する処理と、
前記第2所定数の順位に入る前記ポートに対してキャプチャを設定する処理と、
前記データ取得装置が接続されている前記ネットワーク機器に対して、前記キャプチャを設定した前記ポートの通信データを出力するように設定する処理と、
を実行させる、
プログラム。
A program that causes a data acquisition device to acquire data from a client-server system that connects a plurality of clients and servers in a communicable manner via at least one network device.
Based on the IP address of the server stored in advance, the ARP table information of the network device directly connected to the data acquisition device, and all the MAC address table information of the at least one network device. The process of identifying the port of the network device to which the server is connected, and
A process of setting monitoring for the port of the network device to which the server is connected, and
Monitoring information including the IP address corresponding to the port corresponding to the first predetermined number of ports from the network device to which the server is connected to the port to which the monitoring is set and which has the largest amount of communication data. And the process of getting
Based on the acquired monitoring information, the ARP table information, and the MAC address table information, the first predetermined number from the port having the largest amount of communication data among the ports for which the monitoring is set. The process of identifying ports that fall into the second predetermined number of ranks, which is less than
The process of setting capture for the port that falls into the second predetermined number of ranks,
A process of setting the network device to which the data acquisition device is connected to output communication data of the port for which the capture is set, and a process of setting the communication data to be output.
To execute,
program.
JP2019033980A 2019-02-27 2019-02-27 Data acquisition device, client-server system, data acquisition method, and program Active JP6904600B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019033980A JP6904600B2 (en) 2019-02-27 2019-02-27 Data acquisition device, client-server system, data acquisition method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019033980A JP6904600B2 (en) 2019-02-27 2019-02-27 Data acquisition device, client-server system, data acquisition method, and program

Publications (2)

Publication Number Publication Date
JP2020141191A true JP2020141191A (en) 2020-09-03
JP6904600B2 JP6904600B2 (en) 2021-07-21

Family

ID=72265210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019033980A Active JP6904600B2 (en) 2019-02-27 2019-02-27 Data acquisition device, client-server system, data acquisition method, and program

Country Status (1)

Country Link
JP (1) JP6904600B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113325783A (en) * 2021-06-10 2021-08-31 深圳市赛诺梵科技有限公司 Industrial equipment data interconnection and intercommunication system and control method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11558258B1 (en) 2022-01-31 2023-01-17 Walmart Apollo, Llc Methods and apparatuses for identifying characteristics of users of electronic resources

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005151107A (en) * 2003-11-14 2005-06-09 Hitachi Ltd Device management method of data center, device management server, device management system of data center, and program
JP2008258846A (en) * 2007-04-03 2008-10-23 Omron Corp Ethernet switch and remote capture system
US20110242994A1 (en) * 2010-03-30 2011-10-06 Allwyn Carvalho Flow sampling with top talkers
JP2015502060A (en) * 2011-11-07 2015-01-19 ネットフロー ロジック コーポレーション Streaming method and system for processing network metadata
JP2018073084A (en) * 2016-10-28 2018-05-10 Necフィールディング株式会社 Monitoring device, communication failure automatic recovery system, method, and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005151107A (en) * 2003-11-14 2005-06-09 Hitachi Ltd Device management method of data center, device management server, device management system of data center, and program
JP2008258846A (en) * 2007-04-03 2008-10-23 Omron Corp Ethernet switch and remote capture system
US20110242994A1 (en) * 2010-03-30 2011-10-06 Allwyn Carvalho Flow sampling with top talkers
JP2015502060A (en) * 2011-11-07 2015-01-19 ネットフロー ロジック コーポレーション Streaming method and system for processing network metadata
JP2018073084A (en) * 2016-10-28 2018-05-10 Necフィールディング株式会社 Monitoring device, communication failure automatic recovery system, method, and program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
生田 和正 KAZUMASA IKUTA: "シスコルーターで始める ネットの「見える化」", 日経NETWORK 第141号, JPN6021018173, 28 December 2011 (2011-12-28), JP, pages 84 - 86, ISSN: 0004507303 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113325783A (en) * 2021-06-10 2021-08-31 深圳市赛诺梵科技有限公司 Industrial equipment data interconnection and intercommunication system and control method thereof

Also Published As

Publication number Publication date
JP6904600B2 (en) 2021-07-21

Similar Documents

Publication Publication Date Title
WO2019120187A1 (en) Non-intrusive mechanism to measure network function packet processing delay
US20070115833A1 (en) Varying the position of test information in data units
US9015822B2 (en) Automatic invocation of DTN bundle protocol
US20080232261A1 (en) Transmission apparatus, test method, and transmission apparatus control program
CN112333044B (en) Shunting equipment performance test method, device and system, electronic equipment and medium
CN112188277B (en) Screen projection control method and device, electronic equipment and computer program medium
JP6904600B2 (en) Data acquisition device, client-server system, data acquisition method, and program
CN104079571A (en) Method and device for recognizing Android simulator
EP3682595B1 (en) Obtaining local area network diagnostic test results
CN112039796A (en) Data packet transmission method and device, storage medium and electronic equipment
CN104468265A (en) Method and device for detecting online states of local area network terminals
US8948020B2 (en) Detecting and isolating dropped or out-of-order packets in communication networks
US10333803B2 (en) Relay apparatus and relay method
JP5792688B2 (en) Synchronized commands for network inspection
JP6393475B2 (en) Communication adapter device, communication system, tunnel communication method, and program
TWI718068B (en) Virtual service network quality measurement system and method thereof
US11621908B2 (en) Methods, systems and computer readable media for stateless service traffic generation
JP2009065404A (en) Communication failure segmentation method, video distribution system having communication failure segmentation function, and receiving terminal
JP2005258632A (en) Conduction confirmation method of network storage device, and host computer
US10162733B2 (en) Debugging failure of a service validation test
CN117172205B (en) Performance analysis method, device, electronic equipment and storage medium
GB2566467A (en) Obtaining local area network diagnostic test results
KR100597390B1 (en) System for measuring efficiency in a high efficiency streaming server
KR20090005466A (en) Method of measuring quality of service and system for performing the same
CN114126100A (en) Internet of things network relation and equipment based on NS server

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200602

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210421

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210525

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210617

R150 Certificate of patent or registration of utility model

Ref document number: 6904600

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150