[go: up one dir, main page]

JP2019036252A - Test automation device, test method, and program - Google Patents

Test automation device, test method, and program Download PDF

Info

Publication number
JP2019036252A
JP2019036252A JP2017158807A JP2017158807A JP2019036252A JP 2019036252 A JP2019036252 A JP 2019036252A JP 2017158807 A JP2017158807 A JP 2017158807A JP 2017158807 A JP2017158807 A JP 2017158807A JP 2019036252 A JP2019036252 A JP 2019036252A
Authority
JP
Japan
Prior art keywords
test
inter
element connection
connection information
failure
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
JP2017158807A
Other languages
Japanese (ja)
Other versions
JP6818654B2 (en
Inventor
晋作 沼田
Shinsaku Numata
晋作 沼田
橋本 昭二
Shoji Hashimoto
昭二 橋本
法正 神谷
Norimasa Kamiya
法正 神谷
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.)
NTT Communications Corp
Original Assignee
NTT Communications Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NTT Communications Corp filed Critical NTT Communications Corp
Priority to JP2017158807A priority Critical patent/JP6818654B2/en
Publication of JP2019036252A publication Critical patent/JP2019036252A/en
Application granted granted Critical
Publication of JP6818654B2 publication Critical patent/JP6818654B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

【課題】複数の仮想サーバ、及び仮想ネットワークで構成されるシステムに対する障害試験の実施の際に、障害試験箇所を網羅的に洗い出し、障害試験による影響を容易に把握する。【解決手段】試験自動化装置において、前記システムの構築に使用される自動構築スクリプトから、前記システムの構成要素の集合を抽出するとともに、所定構成要素をノードとして抽出し、ノード間の依存関係に基づいて、ノード間のリンクを作成して有向グラフを作成する構成管理情報取得手段と、前記有向グラフにより示される所定構成要素間の依存関係に基づいて、前記構成要素の集合から、構成要素間の接続関係を示す要素間接続情報を作成する要素間接続情報作成手段と、前記要素間接続情報に基づいて障害試験箇所を洗い出し、当該障害試験箇所に対する障害試験を実行する試験実行手段とを備える。【選択図】図3PROBLEM TO BE SOLVED: To comprehensively identify a failure test site and easily grasp the influence of a failure test when conducting a failure test on a system composed of a plurality of virtual servers and a virtual network. SOLUTION: In a test automation device, a set of components of the system is extracted from an automatic construction script used for constructing the system, and predetermined components are extracted as nodes based on the dependency relationship between the nodes. Then, based on the configuration management information acquisition means that creates a link between the nodes and creates a directed graph, and the dependency relationship between the predetermined components shown by the directed graph, the connection relationship between the components is selected from the set of the components. It is provided with an inter-element connection information creating means for creating inter-element connection information indicating the above, and a test execution means for identifying a failure test site based on the inter-element connection information and executing a failure test for the failure test site. [Selection diagram] Fig. 3

Description

本発明は、複数の仮想サーバ、及び仮想ネットワークで構成されるシステムに対する障害試験を実施する技術に関連するものである。   The present invention relates to a technique for performing a failure test on a system including a plurality of virtual servers and a virtual network.

クラウドサービスやアプリケーションサービスを提供するシステムは、障害耐久性を持たせて構築されている。従来、障害耐久性の確認は、手動にて障害を疑似的に発生させ、システムが正常に動作することを確認することで試験合格としていた。   Systems that provide cloud services and application services are built with fault tolerance. Conventionally, failure durability has been confirmed by passing a test by manually generating a failure manually and confirming that the system operates normally.

障害耐久性の確認において、障害を発生させる障害ポイントは過去の経験からエンジニアが意図的に抽出し、レビューなどによって網羅性を確認してきた。   In confirming failure durability, failure points that cause failures have been intentionally extracted by engineers from past experience, and comprehensiveness has been confirmed through reviews and the like.

従来技術として、障害試験の自動化は、負荷の発生を自動的に行うツールや、限定されたアプリケーションサービスの切り替わりテストツールなどによって実現されてきた。また、特定のアプリケーションについては障害ポイントと、期待される結果が用意されているが、汎用性は無く特定のアプリケーションにのみ適用されるものである。   As a conventional technique, failure test automation has been realized by a tool that automatically generates a load, a limited application service switching test tool, and the like. Although a failure point and an expected result are prepared for a specific application, it is not versatile and is applied only to the specific application.

また、近年ではランダムに構成されているサーバをダウンさせ、それでもサービスが継続提供できることを確認するなどの手法がとられているが、これは誤りを見つけることよりも誤ってもシステムが動作することを確認する最後の手法であり、誤りを見つけた際には再度設計を行わなければならない。   Also, in recent years, a method has been used such as taking down a randomly configured server and confirming that the service can still be provided, but this means that the system can operate even if it is wrong rather than finding an error. This is the last method to confirm, and when an error is found, the design must be performed again.

また、近年はLinage Driven Fault Injectionという手法により、あえてシステムに誤った設定を入れ込み、システムの動作を確認するという手法がとられることもあるが、網羅性や期待される結果などは用意されておらず、誤った設定を入れる箇所やその際の挙動はエンジニアが頭の中で構成するものである。   In recent years, a method called “Lineage Drive Fault Injection” may be used to inadvertently insert erroneous settings into the system and check the operation of the system. However, completeness and expected results are not available. First, an engineer configures where to put an incorrect setting and the behavior at that time.

自動構築スクリプトを用いたCMDB による障害原因自動特定・復旧機能の実装と評価、沼田晋作・神谷法正・橋本昭二・柏 大、2017年1月19日、信学技報Implementation and evaluation of failure cause automatic identification / recovery function by CMDB using automatic construction script, Yusaku Numata, Masamasa Kamiya, Shoji Hashimoto, Daigo, January 19, 2017, IEICE Tech.

従来技術では、障害発生による影響を容易に把握することができないため、障害試験による結果が期待される結果かどうかの判断が難しい。また、従来技術において、障害試験箇所は、エンジニアが手動で考えなければならないものであるため、障害試験箇所を網羅的に洗い出すことは難しい。   In the prior art, it is difficult to determine the effect of the failure test, so it is difficult to determine whether the result of the failure test is an expected result. Further, in the prior art, the failure test location is something that an engineer must manually consider, so it is difficult to comprehensively identify the failure test location.

特に、近年普及している仮想サーバ及び仮想ネットワーク等からなる仮想化環境では、従来のベアメタル環境に比べて障害箇所が増加していることから、上記の点に対する解決策が求められる。   In particular, in a virtual environment composed of virtual servers, virtual networks, and the like that have become widespread in recent years, the number of failure points has increased compared to a conventional bare metal environment, and therefore a solution to the above point is required.

本発明は上記の点に鑑みてなされたものであり、複数の仮想サーバ、及び仮想ネットワークで構成されるシステムに対する障害試験の実施の際に、障害試験箇所を網羅的に洗い出すことができるとともに、障害試験による影響を容易に把握することを可能とする技術を提供することを目的とする。   The present invention has been made in view of the above points, and when performing a failure test on a system configured with a plurality of virtual servers and virtual networks, the failure test location can be comprehensively identified, The purpose is to provide a technology that makes it possible to easily grasp the effects of failure tests.

開示の技術によれば、複数の仮想サーバ及び仮想ネットワークで構成されるシステムの障害試験箇所を洗い出す試験自動化装置であって、
前記システムの構築に使用される自動構築スクリプトから、前記システムの構成要素の集合を抽出するとともに、所定構成要素をノードとして抽出し、ノード間の依存関係に基づいて、ノード間のリンクを作成して有向グラフを作成する構成管理情報取得手段と、
前記有向グラフにより示される所定構成要素間の依存関係に基づいて、前記構成要素の集合から、構成要素間の接続関係を示す要素間接続情報を作成する要素間接続情報作成手段と、
前記要素間接続情報に基づいて障害試験箇所を洗い出し、当該障害試験箇所に対する障害試験を実行する試験実行手段と
を備えることを特徴とする試験自動化装置が提供される。
According to the disclosed technology, a test automation device that identifies a failure test location of a system configured with a plurality of virtual servers and virtual networks,
A set of system components is extracted from the automatic configuration script used to construct the system, a predetermined component is extracted as a node, and a link between nodes is created based on the dependency between the nodes. Configuration management information acquisition means for creating a directed graph
Inter-element connection information creating means for creating inter-element connection information indicating a connection relation between the constituent elements from the set of constituent elements based on the dependency relation between the predetermined constituent elements indicated by the directed graph;
There is provided a test automation device comprising: test execution means for identifying a failure test location based on the inter-element connection information and executing a failure test for the failure test location.

開示の技術によれば、複数の仮想サーバ、及び仮想ネットワークで構成されるシステムに対する障害試験の実施の際に、障害試験箇所を網羅的に洗い出すことができるとともに、障害試験による影響を容易に把握することを可能とする技術が提供される。   According to the disclosed technology, it is possible to comprehensively identify fault test locations when performing fault tests on a system consisting of multiple virtual servers and virtual networks, and easily grasp the effects of fault tests. Techniques are provided that enable this to be done.

本発明の実施の形態におけるシステムの全体構成図である。1 is an overall configuration diagram of a system in an embodiment of the present invention. 自動構築スクリプトと構成管理情報を説明するための図である。It is a figure for demonstrating an automatic construction script and configuration management information. 試験自動化装置100の機能構成図である。2 is a functional configuration diagram of the test automation apparatus 100. FIG. 試験自動化装置100のハードウェア構成図である。2 is a hardware configuration diagram of the test automation apparatus 100. FIG. 処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a process. 対象システムの例を示す図である。It is a figure which shows the example of an object system. 要素間接続情報の例を示す図である。It is a figure which shows the example of the connection information between elements. 障害試験ポイントの例を示す図である。It is a figure which shows the example of a failure test point. 障害試験ポイントの例を示す図である。It is a figure which shows the example of a failure test point. 構成管理情報取得処理を説明するための図である。It is a figure for demonstrating a configuration management information acquisition process. 構成管理情報の例を示す図である。It is a figure which shows the example of structure management information. アプリケーションに関する自動構築スクリプトの例を示す図である。It is a figure which shows the example of the automatic construction script regarding an application. 自動構築スクリプトを実行する工事手順書の例を示す図である。It is a figure which shows the example of the construction procedure manual which performs an automatic construction script. 依存関係を示す有向グラフデータの作成を示す図である。It is a figure which shows creation of the directed graph data which shows a dependence relationship. 有向グラフデータの作成手順を示すフローチャートである。It is a flowchart which shows the preparation procedure of directed graph data. 依存関係を示す有向グラフデータの他の例を示す図である。It is a figure which shows the other example of the directed graph data which shows dependence. 要素間接続情報を作成方法を説明するための図である。It is a figure for demonstrating the production method of the connection information between elements. 試験方法の例を説明するための図である。It is a figure for demonstrating the example of a test method.

以下、図面を参照して本発明の実施の形態(本実施の形態)を説明する。以下で説明する実施の形態は一例に過ぎず、本発明が適用される実施の形態は、以下の実施の形態に限られるわけではない。   Hereinafter, an embodiment (this embodiment) of the present invention will be described with reference to the drawings. The embodiment described below is merely an example, and the embodiment to which the present invention is applied is not limited to the following embodiment.

本実施の形態は、複数の仮想サーバ、及び1つ又は複数の仮想ネットワーク、ネットワークや情報システムの実機、物理ネットワーク等からなる仮想・実機混在環境を前提とする。本明細書における「仮想環境」は、その意味として、実機を含まない仮想的な環境のみならず、仮想・実機混在環境を含むものである。   This embodiment is premised on a virtual / real machine mixed environment including a plurality of virtual servers, one or a plurality of virtual networks, real machines of networks and information systems, physical networks, and the like. The “virtual environment” in this specification includes not only a virtual environment that does not include a real machine but also a virtual / real machine mixed environment.

(システムの全体構成)
図1に、本実施の形態におけるシステムの全体構成を示す。図1に示すように、本実施の形態におけるシステムは、複数のサーバ10と、試験自動化装置100とを有する。複数のサーバ10は、各種のネットワークサービスをユーザに提供するサービスシステムを構成する。サーバ10はそれぞれ、1つ又は複数のアプリケーションが動作する仮想サーバ(仮想マシンと称してもよい)である。サーバ10はそれぞれ、1つの物理マシン(コンピュータ)上で構築されたものであってもよいし、複数のサーバ10が、1つの物理マシン上で構築されていてもよい。サーバ10間はネットワーク接続されている。当該ネットワークは、1つ又は複数の物理マシン(コンピュータ)上の仮想マシンにより構築された1つ又は複数の仮想ネットワークである。
(Overall system configuration)
FIG. 1 shows the overall configuration of the system in the present embodiment. As shown in FIG. 1, the system in the present embodiment includes a plurality of servers 10 and a test automation device 100. The plurality of servers 10 constitutes a service system that provides various network services to users. Each of the servers 10 is a virtual server (also referred to as a virtual machine) on which one or a plurality of applications operate. Each of the servers 10 may be constructed on one physical machine (computer), or a plurality of servers 10 may be constructed on one physical machine. The servers 10 are connected to the network. The network is one or more virtual networks constructed by virtual machines on one or more physical machines (computers).

なお、各サーバ10は、そこで動作させるアプリケーション(ソフトウェア)に応じて、各種のAP(アプリケーション)サーバ(Web、DB、LB(ロードバランス)等)、ルータ、スイッチ等になり得る。   Each server 10 can be various AP (application) servers (Web, DB, LB (load balance), etc.), routers, switches, etc., depending on the application (software) to be operated there.

サーバ10がネットワーク接続するにあたっては、IPアドレス、NIC(Network Interface Card)等が使用される。IPアドレス、NICについても、仮想環境においては、仮想的に割り当てられるものであってよい。   When the server 10 connects to the network, an IP address, a NIC (Network Interface Card), or the like is used. The IP address and NIC may also be virtually allocated in the virtual environment.

試験自動化装置100は、サービスシステムにおける障害試験を自動化する装置である。試験自動化装置100は、後述するように、構成管理情報から、要素間接続情報を作成し、障害試験箇所を網羅的に抽出して、予め定めた方法で障害試験箇所に対する障害試験を実行することができる。   The test automation apparatus 100 is an apparatus that automates a failure test in a service system. As will be described later, the test automation apparatus 100 creates inter-element connection information from configuration management information, exhaustively extracts fault test locations, and executes fault tests on fault test locations using a predetermined method. Can do.

(構成管理情報の概要)
ここで、本実施の形態における要素間接続情報のベースとなる構成管理情報の概要について説明する。
(Overview of configuration management information)
Here, an outline of the configuration management information that is the base of the inter-element connection information in the present embodiment will be described.

本実施の形態では、各サーバへのアプリケーションのインストール/設定/起動等を自動構築スクリプトを使用して行っている。更に、本実施の形態では、仮想マシン(以降、VMと記する)の設定(構築)、及び、OSのインストール/設定についても、自動構築スクリプトを使用して行っている。OSのインストール/設定にはネットワークの設定も含まれている。   In this embodiment, installation / setting / startup of an application on each server is performed using an automatic construction script. Furthermore, in the present embodiment, setting (construction) of a virtual machine (hereinafter referred to as VM) and OS installation / setting are also performed using an automatic construction script. The OS installation / setting includes network settings.

自動構築スクリプトを使用した「VMの設定」、「OSのインストール/設定」、「APのインストール/設定」については、試験自動化装置100が実行してもよいし、試験自動化装置100以外の装置が実行してもよいが、試験自動化装置100は、各サーバについて、「VMの設定」、「OSのインストール/設定」、「APのインストール/設定」に用いた自動構築スクリプトを保持するか、各サーバ等から取得することが可能である。   The “VM setting”, “OS installation / setting”, and “AP installation / setting” using the automatic construction script may be executed by the test automation apparatus 100, or a device other than the test automation apparatus 100 may be used. The test automation apparatus 100 may store an automatic construction script used for “VM setting”, “OS installation / setting”, and “AP installation / setting” for each server, It can be acquired from a server or the like.

試験自動化装置100は、サーバ毎に、上記の各設定に使用した自動構築スクリプトから、ハードウェア(以下、HW)、OS、及びAPの構成管理情報(構成要素の集合)を取得し、これら構成管理情報を保持する。ここで、HWは、仮想マシン上でエミュレートされたHWであり、HWの構成管理情報としては、例えば、ディスクサイズ、メモリサイズ、CPU数、NIC数等がある。OSの構成管理情報としては、例えば、パーティション情報、ホスト名、OS名、OSバージョン、NICに割り当てられたIPアドレス等がある。   The test automation apparatus 100 acquires configuration management information (a set of component elements) of hardware (hereinafter referred to as HW), OS, and AP from the automatic construction script used for each setting described above for each server. Holds management information. Here, the HW is an HW emulated on the virtual machine, and the configuration management information of the HW includes, for example, a disk size, a memory size, a CPU count, a NIC count, and the like. The OS configuration management information includes, for example, partition information, host name, OS name, OS version, IP address assigned to NIC, and the like.

自動構築スクリプトは、基本的に「コマンド:パラメータ」の羅列であり、試験自動化装置100は、自動構築スクリプトから当該パラメータを抽出することで、構成管理情報を取得できる。   The automatic construction script is basically a list of “command: parameter”, and the test automation apparatus 100 can acquire the configuration management information by extracting the parameter from the automatic construction script.

また、APの構成管理情報については、システム構築装置100は、例えば非特許文献1に記載されているように、APの依存関係を示すノードとリンクからなる有向グラフの情報として構成管理情報を取得できる。   As for the AP configuration management information, the system construction device 100 can acquire the configuration management information as information of a directed graph composed of nodes and links indicating the AP dependency as described in Non-Patent Document 1, for example. .

図2は、自動構築スクリプトと構成管理情報を説明するための図である。図2において、14は、HWの自動構築スクリプトを示し、15は、OSの自動構築スクリプトを示し、16は、APの自動構築スクリプトを示す。ただし、図2上では、自動構築スクリプトそのものではなく、自動構築スクリプトに含まれる情報が示されている。また、変換ロジック17、及び構成管理情報DB18は試験自動化装置100内に存在する機能である。具体的には、変換ロジック17は、後述する構成管理情報取得部110の中の機能であり、構成管理情報DB18は、データ格納部140の一部である。   FIG. 2 is a diagram for explaining the automatic construction script and the configuration management information. In FIG. 2, reference numeral 14 denotes an HW automatic construction script, 15 denotes an OS automatic construction script, and 16 denotes an AP automatic construction script. However, in FIG. 2, not the automatic construction script itself but information included in the automatic construction script is shown. The conversion logic 17 and the configuration management information DB 18 are functions that exist in the test automation apparatus 100. Specifically, the conversion logic 17 is a function in the configuration management information acquisition unit 110 described later, and the configuration management information DB 18 is a part of the data storage unit 140.

図2に示すように、HWの自動構築スクリプト14によりVMのHWが構築され、OSの自動構築スクリプト15によりOSが構築され、APの自動構築スクリプト16によりOS上で実行されるAP等が構築される。また、変換ロジック17により、各自動構築スクリプトから構成管理情報が作成され、構成管理情報DB18に格納される。   As shown in FIG. 2, a VM HW is constructed by the HW automatic construction script 14, an OS is constructed by the OS automatic construction script 15, and an AP or the like executed on the OS is constructed by the AP automatic construction script 16. Is done. The conversion logic 17 creates configuration management information from each automatic construction script and stores it in the configuration management information DB 18.

また、変換ロジック17は、構成管理情報DB18に格納してある構成管理情報を使用して、当該構成管理情報の抽出元の自動構築スクリプトに相当する自動構築スクリプトを作成して、VM、OS、AP等の設定を行うことも可能である。これは、例えば、障害試験により落とした構成の復旧に利用することができる。   Also, the conversion logic 17 uses the configuration management information stored in the configuration management information DB 18 to create an automatic construction script corresponding to the automatic construction script from which the configuration management information is extracted. It is also possible to set the AP or the like. This can be used, for example, to recover a configuration dropped by a failure test.

(試験自動化装置100の構成例)
図3は、試験自動化装置100の機能構成の例を示す図である。図3に示すように、試験自動化装置100は、構成管理情報取得部110、要素間接続情報作成部120、試験実行部130、データ格納部140を有する。
(Configuration example of test automation apparatus 100)
FIG. 3 is a diagram illustrating an example of a functional configuration of the test automation apparatus 100. As shown in FIG. 3, the test automation apparatus 100 includes a configuration management information acquisition unit 110, an inter-element connection information creation unit 120, a test execution unit 130, and a data storage unit 140.

構成管理情報取得部110は、自動構築スクリプトから構成管理情報を取得する。要素間接続情報作成部120は、構成管理情報に基づいて要素間接続情報を作成する。試験実行部130は、要素間接続情報に基づいて障害試験箇所を洗い出し(抽出し)、洗い出した障害試験箇所に対して、予め定められた方法で障害試験を実施する。データ格納部150は、自動構築スクリプト、構成管理情報、要素間接続情報、障害試験方法等を含む各種のデータを格納する。   The configuration management information acquisition unit 110 acquires configuration management information from the automatic construction script. The inter-element connection information creation unit 120 creates inter-element connection information based on the configuration management information. The test execution unit 130 identifies (extracts) a failure test location based on the inter-element connection information, and performs a failure test on the identified failure test location using a predetermined method. The data storage unit 150 stores various data including an automatic construction script, configuration management information, inter-element connection information, a failure test method, and the like.

試験自動化装置100は、例えば、コンピュータに、本実施の形態で説明する処理内容を記述したプログラムを実行させることにより実現可能である。すなわち、試験自動化装置100が有する機能は、当該コンピュータに内蔵されるCPUやメモリ、ハードディスクなどのハードウェア資源を用いて、当該試験自動化装置100で実施される処理に対応するプログラムを実行することによって実現することが可能である。上記プログラムは、コンピュータが読み取り可能な記録媒体(可搬メモリ等)に記録して、保存したり、配布したりすることが可能である。また、上記プログラムをインターネットや電子メールなど、ネットワークを通して提供することも可能である。   The test automation apparatus 100 can be realized, for example, by causing a computer to execute a program describing the processing contents described in the present embodiment. In other words, the function of the test automation apparatus 100 is executed by executing a program corresponding to the process executed by the test automation apparatus 100 using hardware resources such as a CPU, memory, and hard disk built in the computer. It is possible to realize. The above-mentioned program can be recorded on a computer-readable recording medium (portable memory or the like), stored, or distributed. It is also possible to provide the program through a network such as the Internet or electronic mail.

図4は、試験自動化装置100をコンピュータで実現する場合におけるハードウェア構成例を示す図である。図4に示す試験自動化装置100は、それぞれバスBで相互に接続されているドライブ装置200、補助記憶装置202、メモリ装置203、CPU204、インタフェース装置205、表示装置206、及び入力装置207等を有する。   FIG. 4 is a diagram illustrating a hardware configuration example when the test automation apparatus 100 is realized by a computer. The test automation apparatus 100 illustrated in FIG. 4 includes a drive device 200, an auxiliary storage device 202, a memory device 203, a CPU 204, an interface device 205, a display device 206, an input device 207, and the like that are connected to each other via a bus B. .

試験自動化装置100での処理を実現するプログラムは、例えば、CD−ROM又はメモリカード等の記録媒体201によって提供される。プログラムを記憶した記録媒体201がドライブ装置200にセットされると、プログラムが記録媒体201からドライブ装置200を介して補助記憶装置202にインストールされる。但し、プログラムのインストールは必ずしも記録媒体201より行う必要はなく、ネットワークを介して他のコンピュータよりダウンロードするようにしてもよい。補助記憶装置202は、インストールされたプログラムを格納すると共に、必要なファイルやデータ等を格納する。   A program that realizes processing in the test automation apparatus 100 is provided by a recording medium 201 such as a CD-ROM or a memory card. When the recording medium 201 storing the program is set in the drive device 200, the program is installed from the recording medium 201 to the auxiliary storage device 202 via the drive device 200. However, it is not always necessary to install the program from the recording medium 201, and the program may be downloaded from another computer via a network. The auxiliary storage device 202 stores the installed program and stores necessary files and data.

メモリ装置203は、プログラムの起動指示があった場合に、補助記憶装置202からプログラムを読み出して格納する。CPU204(プロセッサ)は、メモリ装置203に格納されたプログラムに従って試験自動化装置100に係る機能を実現する。インタフェース装置205は、ネットワークに接続するためのインタフェースとして用いられる。表示装置206はプログラムによるGUI(Graphical User Interface)等を表示する。入力装置207はキーボード及びマウス、ボタン、又はタッチパネル等で構成され、様々な操作指示を入力させるために用いられる。   The memory device 203 reads the program from the auxiliary storage device 202 and stores it when there is an instruction to start the program. The CPU 204 (processor) implements functions related to the test automation apparatus 100 in accordance with a program stored in the memory device 203. The interface device 205 is used as an interface for connecting to a network. The display device 206 displays a GUI (Graphical User Interface) or the like by a program. The input device 207 includes a keyboard and mouse, buttons, a touch panel, and the like, and is used to input various operation instructions.

(全体の処理の流れ)
図5は、試験自動化装置100が実行する処理の全体の流れを示すフローチャートである。まず、試験自動化装置100における構成管理情報取得部110が、自動構築スクリプトから構成管理情報を取得する(S101)。
(Overall process flow)
FIG. 5 is a flowchart showing an overall flow of processing executed by the test automation apparatus 100. First, the configuration management information acquisition unit 110 in the test automation apparatus 100 acquires configuration management information from the automatic construction script (S101).

次に、要素間接続情報作成部120が、構成管理情報から要素間接続情報を作成する(S102)。続いて、試験実行部130が、要素間接続情報から障害試験箇所を洗い出し、洗い出した障害試験箇所に対して、予め定められた手順で障害試験を実行する(S103)。   Next, the inter-element connection information creation unit 120 creates inter-element connection information from the configuration management information (S102). Subsequently, the test execution unit 130 identifies a failure test location from the inter-element connection information, and executes a failure test on the identified failure test location according to a predetermined procedure (S103).

上記のS101〜S103の各ステップの処理の詳細は後述する。   Details of the processing of each step of S101 to S103 will be described later.

(要素間接続情報について)
ここで、本実施に形態において障害試験箇所の洗い出し、障害による影響の把握等に使用される要素間接続情報の概要を説明する。
(About inter-element connection information)
Here, the outline of the inter-element connection information used for identifying the failure test location and grasping the influence of the failure in the present embodiment will be described.

対象システムとして、図6に示す構成のシステムを想定する。図6に示すように、当該システムは、LBサーバ、APサーバ1〜3、ルータ、DBサーバ1、2が図示のとおりに接続された構成になっている。また、LBサーバにはAAAAで示されるアプリケーションが動作し、DBサーバ1、2にはCCCCで示されるアプリケーションが動作し、APサーバ1〜3にはBBBBで示されるアプリケーションが動作する。ここに図示するシステムの構成は、例えば、システムの設計書等により把握されるものである。   A system having the configuration shown in FIG. 6 is assumed as the target system. As shown in FIG. 6, the system has a configuration in which LB servers, AP servers 1 to 3, a router, and DB servers 1 and 2 are connected as illustrated. An application indicated by AAAA operates on the LB server, an application indicated by CCCC operates on the DB servers 1 and 2, and an application indicated by BBBB operates on the AP servers 1 to 3. The system configuration shown here is grasped by, for example, a system design document.

図7に、図6のシステムに対応する要素間接続情報をグラフィカルに表示した例を示す。当該要素間接続情報は、図6に示すシステムの構築に使用された自動構築スクリプトから得られた構成管理情報から作成されたものである。例えば、図中のLBサーバに対応する構成要素は、AP(start_AAAA)、IPアドレス(10.3.130.21)、NIC(eth0)、NETWORK(DMZ)である。他のサーバについても同様である。   FIG. 7 shows an example in which inter-element connection information corresponding to the system of FIG. 6 is graphically displayed. The inter-element connection information is created from configuration management information obtained from the automatic construction script used for constructing the system shown in FIG. For example, the components corresponding to the LB server in the figure are AP (start_AAA), IP address (10.3.130.21), NIC (eth0), and NETWORK (DMZ). The same applies to other servers.

AP(start_AAAA)、IPアドレス(10.3.130.21)、NIC(eth0)等の情報は、構成要素の集合である構成管理情報に含まれている。具体的には、あるサーバに関して、AP、IP、NIC、及びネットワーク名(例:DMZ)が紐付けられた情報として構成管理情報に含まれているため、図7に示すように、サーバ毎に、AP、IP、NIC、NETWORKを接続した情報を作成することができる。   Information such as AP (start_AAA), IP address (10.3.130.21), and NIC (eth0) is included in configuration management information that is a set of components. Specifically, for a certain server, the AP, IP, NIC, and network name (for example, DMZ) are included in the configuration management information as linked information. As shown in FIG. , AP, IP, NIC, NETWORK connected information can be created.

また、AP間については、構成管理情報において依存関係が記述されている。この依存関係は、図7では、太線で示されている。図7の例では、LBサーバのCCCCが起動するにはAPサーバ1〜3のBBBBが起動していなければならず、APサーバ1〜3のBBBBが起動するには、DBサーバ1、2のCCCCが起動していなければならないことが依存関係として示されている。なお、クラスタ(ap_cluster等)内部は依存関係はなく、並列の関係にある。   In addition, for APs, a dependency relationship is described in the configuration management information. This dependency relationship is indicated by a thick line in FIG. In the example of FIG. 7, the BBBBs of the AP servers 1 to 3 must be activated for the CCCC of the LB server to be activated, and the BBBBs of the AP servers 1 to 3 are activated for the DB servers 1 and 2 to activate. It is shown as a dependency that the CCCC must be activated. Note that the inside of a cluster (such as ap_cluster) has no dependency and is in a parallel relationship.

そして、上記依存関係と、各サーバにおける構成要素とに基づき、後述する手法を用いることで、図7に示す要素間接続情報を得ることができる。   And the inter-element connection information shown in FIG. 7 can be obtained by using the method described later based on the dependency relationship and the components in each server.

この要素間接続情報を用いることで、障害試験を行うべき箇所を網羅的に洗い出せるとともに、当該箇所において障害を起こさせたときに、どこが影響を受けるのか(あるいはどこが影響を受けないのか)を容易に把握することができる。   By using this inter-element connection information, it is possible to comprehensively identify the location where the failure test should be performed, and to determine what is affected (or where is not affected) when a failure is caused at that location. It can be easily grasped.

例えば、図8に示すように、ルータにおけるNETWORK(DMZ)に接続する側のNICに障害を発生させることを想定する。なお、障害を発生させるとは、例えば、NICを削除する等である。この場合、DBサーバ1、2のCCCCに依存しているAPサーバ1〜3のBBBB、及びLBサーバのAAAAは影響を受けることがわかる。例えば、実際のシステムで、当該NICに障害を発生させる試験を行った結果、上記の予測のとおりにならない場合、例えば、システムが誤って構築されたことなどが考えられ、それに対する対処を実施できる。   For example, as shown in FIG. 8, it is assumed that a failure occurs in the NIC on the side connected to the NETWORK (DMZ) in the router. Note that causing the failure means, for example, deleting the NIC. In this case, it can be seen that the BBBBs of the AP servers 1 to 3 and the AAA of the LB server that are dependent on the CCCCs of the DB servers 1 and 2 are affected. For example, if a test that causes a failure of the NIC in the actual system does not result in the above prediction, for example, the system may be constructed incorrectly, and countermeasures can be taken .

また、ルータのNIC(eth0)が構成管理情報と不一致となっている状態となる事が予測され、その他の構成管理情報には何も影響が及ぼされないことが予測できる。   It can also be predicted that the NIC (eth0) of the router will not match the configuration management information, and that no other configuration management information will be affected.

障害試験箇所の洗い出しについては、例えば、試験実行部130が、図7に示した要素間接続情報を構成する全構成要素を障害試験箇所として抽出することで網羅的な洗い出しを行うことができるとともに、各障害試験箇所に対する影響を容易に把握できる。   Regarding the identification of fault test locations, for example, the test execution unit 130 can perform exhaustive identification by extracting all the constituent elements constituting the inter-element connection information shown in FIG. 7 as fault test locations. The impact on each failure test location can be easily grasped.

このような洗い出しを行うことで、ノード(ルータやホスト等)単体、ノード間の障害試験箇所、多レイヤに渡った網羅的な障害試験箇所(NIC,ケーブル、リンク、リンクダウンを伴わないL3以上の経路障害等)等のあらゆる障害試験箇所を抽出できる。   By performing such identification, nodes (routers, hosts, etc.) alone, failure test locations between nodes, and comprehensive failure test locations across multiple layers (L3 or higher without NIC, cable, link, link down) All fault test points such as path faults) can be extracted.

図9は、要素間接続情報の他の例を示す。図9は、AP1はAP2に依存し、AP2は、AP3、4に依存する例を示す。AP3、4は並列関係にある。この場合、図9の×で示すポイントで障害を発生させたとしても、×の障害で影響を受けるのはAP4であり、AP4と並列関係にあるAP3は影響を受けない。よって、AP1−>AP2−>AP3の依存関係は崩れないので、サービスは継続されると予測できる。   FIG. 9 shows another example of inter-element connection information. FIG. 9 shows an example in which AP1 depends on AP2 and AP2 depends on AP3 and 4. AP3 and 4 are in a parallel relationship. In this case, even if a failure occurs at the point indicated by x in FIG. 9, it is AP4 that is affected by the failure of x, and AP3 that is in parallel with AP4 is not affected. Therefore, since the dependency relationship of AP1-> AP2-> AP3 is not broken, it can be predicted that the service is continued.

なお、図7等で示した要素間接続情報は一例に過ぎない。自動構築スクリプトから得られる情報であれば、どのような構成要素でも要素間接続情報に含めることができる。例えば、図7では、アプリケーションの構成要素として、start_識別名のみを示しているが、install_識別名、setting_識別名が構成要素として含まれてもよい。また、OS、ミドルウェア等も構成要素として含まれてもよい。   Note that the inter-element connection information illustrated in FIG. 7 and the like is merely an example. Any component can be included in the inter-element connection information as long as it is information obtained from the automatic construction script. For example, in FIG. 7, only the start_identification name is shown as the component of the application, but install_identification name and setting_identification name may be included as the component. In addition, an OS, middleware, and the like may be included as components.

以下、試験自動化装置100の各機能部による処理内容をより具体的に説明する。   Hereinafter, the processing content by each function part of the test automation apparatus 100 will be described more specifically.

(構成管理情報取得部110による構成管理情報取得処理)
まず、図10〜16を参照して、構成管理情報取得部110による構成管理情報取得処理の例について説明する。
(Configuration management information acquisition processing by the configuration management information acquisition unit 110)
First, an example of configuration management information acquisition processing by the configuration management information acquisition unit 110 will be described with reference to FIGS.

図10に示すように、構成管理情報取得部110は、HWの自動構築スクリプト21、及びOSの自動構築スクリプト22から、24に示す構成管理情報を取得し、データ格納部140に格納する。一例として、構成管理情報取得部110は、HW/OSの自動構築スクリプト21、22において下線で示したパラメータを構成管理情報24として抽出する。取得されたHW/OSの構成管理情報については、例えば図11に示すように表示することも可能である。図11に示す例では、サーバ1とサーバ2が同じネットワークに属し、サーバ3とサーバ4が同じネットワークに属することが示されている。   As illustrated in FIG. 10, the configuration management information acquisition unit 110 acquires the configuration management information indicated by 24 from the HW automatic configuration script 21 and the OS automatic configuration script 22 and stores the configuration management information in the data storage unit 140. As an example, the configuration management information acquisition unit 110 extracts parameters indicated by underlining in the HW / OS automatic construction scripts 21 and 22 as configuration management information 24. The acquired HW / OS configuration management information can also be displayed as shown in FIG. 11, for example. In the example shown in FIG. 11, it is indicated that the server 1 and the server 2 belong to the same network, and the server 3 and the server 4 belong to the same network.

また、構成管理情報取得部110は、図10に示すように、APの自動構築スクリプト23から、構成管理情報25を取得し、データ格納部140に格納する。本実施の形態では、APの自動構築スクリプト23から取得される構成管理情報25は、APの依存関係を示す有向グラフの情報として生成されるものである。この依存関係と、各サーバの構成要素の情報に基づき、試験自動化装置100の要素間接続情報作成部110は、要素間接続情報を作成する。   Further, as shown in FIG. 10, the configuration management information acquisition unit 110 acquires the configuration management information 25 from the AP automatic construction script 23 and stores it in the data storage unit 140. In the present embodiment, the configuration management information 25 acquired from the AP automatic construction script 23 is generated as information of a directed graph indicating the dependency relationship of the AP. Based on this dependency and information on the components of each server, the inter-element connection information creating unit 110 of the test automation apparatus 100 creates inter-element connection information.

図12に、構成管理情報取得部110への入力となるAPの自動構築スクリプトの一例を示す。本実施の形態で使用する自動構築スクリプトは、図12に示すように、再利用を意識して複数のブロックに分けて作成される。また、ブロックの中で使用する値(パラメータ)は変数化され、変数の値はブロックの外にまとめて記述される。また、各ブロックには、他のブロックとの依存関係を設定することもできる。   FIG. 12 shows an example of an AP automatic construction script that is input to the configuration management information acquisition unit 110. As shown in FIG. 12, the automatic construction script used in the present embodiment is divided into a plurality of blocks in consideration of reuse. Further, values (parameters) used in the block are converted into variables, and the values of the variables are collectively described outside the block. In addition, each block can have a dependency relationship with other blocks.

より具体的に、例えばAPサーバ(例:Webサーバ)を構築するためのアプリケーション(ソフトウェア)に関しては、自動構築スクリプトは、通常、ソフトウェアのインストールを行う「install_[識別名]」、インストールしたソフトウェアの設定を行う「setting_[識別名]」、設定したソフトウェアをスタートさせる「start_[識別名]」の3のブロックを有する。図12は、識別名=AAAAというソフトウェアの例について、当該3つのブロックを有することが示されている。また、図12の例では、各ブロックはroleと呼ばれる。   More specifically, for example, for an application (software) for constructing an AP server (eg, a Web server), an automatic construction script usually includes “install_ [identification name]” for installing the software, There are three blocks: “setting_ [identification name]” for setting and “start_ [identification name]” for starting the set software. FIG. 12 shows that the software has an identification name = AAAA and has the three blocks. In the example of FIG. 12, each block is called a role.

なお、図12は、install/setting/startの3つ全てが揃っている例を示しているが、OSのネットワーク設定のようにsetting/start(reset/stop)しかないもの、OSのユーザ設定のようにsetting(reset)しかないものなどもある。   Note that FIG. 12 shows an example in which all three of install / setting / start are provided, but there is only setting / start (reset / stop) like the OS network setting, and the OS user setting Some have only setting (reset).

図13は、図12に示すようなブロックを適用して、ソフトウェアAAAAのインストールや設定等を行うことでWebサーバ構築を行う場合のイメージを示す図である。図13に示すように、ブロックの実行手順を記載した工事手順書(これも、構成管理情報取得部110に入力される自動構築スクリプトに含まれる)が準備され、当該工事手順書に従って、各ブロックがロードされ、実行(install/setting/start)される。工事手順書には、対象のサーバ(図13の例では"Web")と当該サーバに対して実行するブロックが、実行される順番で記述されている。このような順番により、ブロック間、サーバ間の依存関係を把握できる。また、各ブロックに記述されている依存関係や、パラメータ等によっても依存関係を把握できる。   FIG. 13 is a diagram showing an image in the case of constructing a Web server by applying the block shown in FIG. 12 and performing installation and setting of software AAAA. As shown in FIG. 13, a construction procedure manual (which is also included in the automatic construction script input to the configuration management information acquisition unit 110) describing the execution procedure of the block is prepared, and each block is prepared according to the construction procedure manual. Are loaded and executed (install / setting / start). In the construction procedure manual, the target server (“Web” in the example of FIG. 13) and blocks to be executed on the server are described in the order of execution. In this order, the dependency relationship between blocks and servers can be grasped. Further, the dependency relationship can be grasped by the dependency relationship described in each block, the parameter, or the like.

図14に示すように、上記のような自動構築スクリプトが構成管理情報取得部110に入力され、構成管理情報取得部110は、ブロック間やAP間の依存関係を示す有向グラフデータを作成する。   As illustrated in FIG. 14, the automatic construction script as described above is input to the configuration management information acquisition unit 110, and the configuration management information acquisition unit 110 creates directed graph data indicating a dependency relationship between blocks or APs.

依存関係について説明すると、例えば、[install_AAAA]と[setting_AAAA]に関して、ソフトウェアAAAAはインストールされないと設定できないから、[setting_AAAA]は[install_AAAA]に依存する、という依存関係がある。この場合、本実施の形態では、依存されるほうに矢印が向くように、[install_AAAA]←[setting_AAAA]と有向グラフとして記述する。同様に、ソフトウェアAAAAは設定されないと正常に動作しないためスタートできないから、[start_AAAA]は[setting_AAAA]に依存する、つまり、[setting_AAAA]←[start_AAAA]と記述する。   Describing the dependency relationship, for example, with respect to [install_AAAAA] and [setting_AAAAA], since software AAAA cannot be set unless it is installed, there is a dependency relationship that [setting_AAAAA] depends on [install_AAAAA]. In this case, in this embodiment, [install_AAAAA] ← [setting_AAAAA] is described as a directed graph so that the arrow is directed toward the dependency. Similarly, since software AAAA does not operate normally unless it is set, [start_AAAAA] depends on [setting_AAAAA], that is, [setting_AAAAA] ← [start_AAAAA] is described.

すなわち、「あるブロックの実行のために前もって実行しておくべきブロック」の2つのブロック間に「依存関係」があるとする。上記の3つのブロックの例では、有向グラフとして、[install_AAAA]←[setting_AAAA]←[start_AAAA]と記述する。構成管理情報取得部110は、このような有向グラフに相当する有向グラフデータを作成する。   That is, it is assumed that there is a “dependency relationship” between two blocks of “a block to be executed in advance for execution of a certain block”. In the example of the above three blocks, [install_AAAAA] ← [setting_AAAAA] ← [start_AAAAA] is described as a directed graph. The configuration management information acquisition unit 110 creates directed graph data corresponding to such a directed graph.

依存関係は、単一のソフトウェアモジュール(アプリケーションと称しても良い)内のみでなく、前述したように、ソフトウェアモジュール間にも存在する。例えば、WebサーバソフトウェアモジュールがDBサーバソフトウェアモジュールを使用し、WebサーバソフトウェアモジュールはDBサーバソフトウェアモジュールがスタートしていないとサービスの提供ができないとする。この場合には、以下の有向グラフで示す依存関係が存在する。   Dependencies exist not only within a single software module (which may be referred to as an application), but also between software modules as described above. For example, assume that a Web server software module uses a DB server software module, and the Web server software module cannot provide a service unless the DB server software module is started. In this case, the dependency shown by the following directed graph exists.

[install_database]←[setting_database]←[start_database]

[install_webserver]←[setting_webserver]←[start_webserver]
自動構築スクリプトの入力がされた構成管理情報取得部110は、図15のフローチャートの手順で有向グラフデータを作成する。
[Install_database] ← [setting_database] ← [start_database]

[Install_webserver] <-[setting_webserver] <-[start_webserver]
The configuration management information acquisition unit 110 to which the automatic construction script has been input creates directed graph data according to the procedure of the flowchart of FIG.

S201)まず、構成管理情報取得部110は、一連のブロックを適用する対象となるサーバ情報を取得する。例えば、構成管理情報取得部110は、工事手順書に記載されている、一連のブロックの適用対象となるホストの情報を当該サーバ情報として取得することができる。   S201) First, the configuration management information acquisition unit 110 acquires server information to which a series of blocks are applied. For example, the configuration management information acquisition unit 110 can acquire, as the server information, information on a host that is a target of application of a series of blocks described in a construction procedure manual.

S202)次に、構成管理情報取得部110は、対象のサーバ毎に、自動構築スクリプトにおける複数ブロックをinstall/setting/startの3つのグループに分けノード化する。なお、前述したように、スクリプトの適用対象によっては、installのみ、settingのみ等の場合もある。   S202) Next, the configuration management information acquisition unit 110 divides a plurality of blocks in the automatic construction script into three groups of install / setting / start for each target server, and forms nodes. Note that, as described above, depending on the application target of the script, there are cases where only install, only setting, or the like.

S202では、例えば、ソフトウェアAに関するスクリプトのブロックとしてinstall/setting/startの3つがあり、ネットワーク設定に関するスクリプトのブロックとしてsettingがある場合、構成管理情報取得部110は、ソフトウェアAについてのinstallのノード、settingのノード、startのノードを作成し、ネットワーク設定についてのsettingのノードを作成する。   In S202, for example, there are three install / setting / start script blocks related to software A, and when there is setting as a script block related to network settings, the configuration management information acquisition unit 110 includes an install node for software A, A setting node and a start node are created, and a setting node for network setting is created.

S203)次に、構成管理情報取得部110は、各ブロックに関連する変数(パラメータ)をnetwork/filepath/id/device等のグループに分けて関連付ける。すなわち、ファイルパス、ネットワーク、ユーザ、log、conf、serviceなど、システムを構成する内容によってグルーピングし、一致、不一致、関係性(例:包含関係)を抽出し、その情報をデータ格納部140に格納する。一例として、ソフトウェアAのsettingにおける設定アドレスがアドレス1であり、ソフトウェアBのsettingにおける設定アドレスがアドレス1である場合、両者は一致の関係があるとして、そのことを示す情報が格納される。   S203) Next, the configuration management information acquisition unit 110 associates the variables (parameters) associated with each block by dividing them into groups such as network / filepath / id / device. In other words, file paths, networks, users, log, conf, services, etc. are grouped according to the contents of the system, and matches, mismatches, relationships (eg, inclusion relationships) are extracted, and the information is stored in the data storage unit 140. To do. As an example, when the setting address in the setting of software A is address 1 and the setting address in the setting of software B is address 1, information indicating that the two have a matching relationship is stored.

S204)構成管理情報取得部110は、依存関係のあるノード間について、ノード間を結びつけるリンク情報を作成する。依存関係は、例えば、工事手順書におけるブロックの実行手順から判断することができる。また、ブロック内に依存関係の記述がある場合には、その記述から判断することもできる。   S204) The configuration management information acquisition unit 110 creates link information that links nodes between nodes having a dependency relationship. The dependency relationship can be determined from, for example, a block execution procedure in the construction procedure manual. Further, when there is a description of the dependency relationship in the block, it can be determined from the description.

S205)構成管理情報取得部110は、上記の処理により得られたノード情報及びリンク情報、パラメータの関連情報等をサーバ情報に紐付けてデータ格納部140に格納する。   S205) The configuration management information acquisition unit 110 stores the node information, link information, parameter related information, and the like obtained by the above processing in the data storage unit 140 in association with server information.

図14の左側には、データ格納部140に格納されるデータのイメージが示されている。当該イメージは、右側に示す入力情報に対応するものである。図14の例では、install_AAAA、setting_AAAA、start_AAAAのノード情報と、これらの間に「install_AAAA←setting_AAAA←start_AAAA」で示される依存関係が存在することを示すリンク情報がデータ格納部140に格納される。つまり、当該依存関係を示す有向グラフが格納される。また、図示するように、各ノードにパラメータが関連付けられている。   On the left side of FIG. 14, an image of data stored in the data storage unit 140 is shown. The image corresponds to the input information shown on the right side. In the example of FIG. 14, node information of install_AAAAA, setting_AAAAA, and start_AAAAA, and link information indicating that there is a dependency represented by “install_AAAAA ← setting_AAA ← start_AAAAA” is stored in the data storage unit 140. That is, a directed graph indicating the dependency relationship is stored. Further, as shown in the figure, a parameter is associated with each node.

なお、上記の例では、1つのAPに関する有向グラフを示している。図16に他の例として、複数のAP(アプリケーション)の有向グラフを結び付けて依存関係が表される例を示す。図16は、AP1(例:Web)とAP2(例:LB(ロードバランシング))との間に依存関係がある場合の例を示している。   In the above example, a directed graph relating to one AP is shown. As another example, FIG. 16 shows an example in which a dependency relationship is represented by connecting directed graphs of a plurality of APs (applications). FIG. 16 illustrates an example in which there is a dependency between AP1 (example: Web) and AP2 (example: LB (load balancing)).

なお、構成管理情報取得部110が、構成管理情報に基づき、サーバの復旧のための構築を行う際には、このようなAP間の依存関係に基づいて、特定のAPを目的にインストールする場合において、当該特定のAPが依存するAP、及び当該特定のAPに依存されるAPもともにインストールし、特定のAPを正しく動作させることができる。   When the configuration management information acquisition unit 110 performs the construction for server recovery based on the configuration management information, the configuration management information acquisition unit 110 installs a specific AP for the purpose based on the dependency relationship between the APs. , The AP on which the specific AP depends and the AP on which the specific AP depends can be installed together, and the specific AP can be operated correctly.

(要素間接続情報作成部120による要素間接続情報作成処理)
次に、要素間接続情報作成部120による要素間接続情報作成処理について説明する。要素間接続情報作成に使用される情報は、構成管理情報取得部110により取得された構成管理情報である。構成管理情報は、前述したAP間の依存関係を示す有向グラフの情報と、各サーバにおける構成要素の集合がある。各サーバにおける構成要素の集合として、自動構築スクリプトに含まれる情報であれば、いかなる情報でも取得可能であるが、一例として以下に示すような情報が取得される。以下は、例として、サーバ1とサーバ2がある場合を示している。
(Inter-element connection information creation processing by inter-element connection information creation unit 120)
Next, the element connection information creation processing by the element connection information creation unit 120 will be described. The information used for creating the inter-element connection information is the configuration management information acquired by the configuration management information acquisition unit 110. The configuration management information includes directed graph information indicating the dependency relationship between APs described above and a set of component elements in each server. Any information can be acquired as a set of components in each server as long as the information is included in the automatic construction script. For example, the following information is acquired. The following shows a case where there are a server 1 and a server 2 as an example.

(1)サーバ1の構成要素
・NIC{NIC名:eth0、IPアドレス:10.160.128.104/26、ネットワーク名:MZ}
・AP{start_AAAA}
・NIC{NIC名:eth1、IPアドレス:10.160.128.105/26、ネットワーク名:MZ}
・AP{start_BBBB}
(2)サーバ2の構成要素
・NIC{NIC名:eth0、IPアドレス:10.166.128.199/26、ネットワーク名:DMZ}
・AP{start_CCCC}
上記の例において、例えばサーバ1に関し、サーバ1には、AAAAに紐付けられたNICとしてeth0があり、そのIPアドレスが10.160.128.104/26であり、接続されるネットワークがMZであることが示され、また、BBBBに紐付けられたNICとしてeth1があり、そのIPアドレスが10.160.128.105/26であり、接続されるネットワークがMZであることが示されている。
(1) Components of Server 1 NIC {NIC name: eth0, IP address: 10.160.128.104/26, network name: MZ}
AP {start_AAAA}
NIC {NIC name: eth1, IP address: 10.160.128.105/26, network name: MZ}
・ AP {start_BBBB}
(2) Components of Server 2 NIC {NIC name: eth0, IP address: 10.166.128.199/26, network name: DMZ}
AP {start_CCCC}
In the above example, for example, with respect to the server 1, the server 1 has eth0 as a NIC linked to AAAA, its IP address is 10.160.128.104/26, and the network to be connected is MZ. It is shown that there is eth1 as the NIC linked to BBBB, its IP address is 10.160.128.105/26, and the connected network is MZ. .

また、サーバ2には、CCCCに紐付けられたNICとしてeth0があり、そのIPアドレスが10.160.128.199/26であり、接続されるネットワークがDMZであることが示されている。   In addition, the server 2 has eth0 as the NIC linked to the CCCC, the IP address is 10.160.128.199/26, and the connected network is DMZ.

上記は、実際に取得される構成要素の情報から抜粋して示したものであるが、実際には、例えばjsonファイルの形式で情報が得られる。また、自動構築スクリプトで構築した全てのサーバについて構成要素の情報が得られる。   The above is an excerpt from the component information actually acquired. In practice, however, the information is obtained in the form of a json file, for example. In addition, component information can be obtained for all servers constructed by the automatic construction script.

要素間接続情報作成部120は、上述したAP間の依存関係の情報と、各サーバの構成要素の情報とから、図7に示したような要素間接続情報を作成する。なお、要素間接続情報作成部120は、作成した要素間接続情報を図7のようにグラフィカルに表示してもよいし、表示はせずにデータとして保持しておいてもよい。   The inter-element connection information creation unit 120 creates inter-element connection information as illustrated in FIG. 7 from the above-described dependency relationship information between APs and information on the components of each server. Note that the inter-element connection information creating unit 120 may graphically display the created inter-element connection information as shown in FIG. 7, or may hold it as data without displaying it.

図17を参照して要素間接続情報を作成する方法の例を説明する。ここでは、依存関係として、AP1がAP2とAP3に依存しているものとする。図17ではその関係が点線で示されている。   An example of a method for creating inter-element connection information will be described with reference to FIG. Here, it is assumed that AP1 depends on AP2 and AP3 as a dependency. In FIG. 17, the relationship is indicated by a dotted line.

最初、要素間接続情報作成部120は、図17に示す依存関係(点線の関係)しか把握していない。ここではAP1を起点として、AP2、AP3の順で処理を実行するものとする。   Initially, the inter-element connection information creation unit 120 knows only the dependency relationship (dotted line relationship) shown in FIG. Here, it is assumed that processing is executed in the order of AP2 and AP3 starting from AP1.

まず、要素間接続情報作成部120は、AP1が依存しているAP2が、AP1と同じサーバ1内にあるか否かを構成要素情報を検索することにより判断する。ここでは、サーバ1内にAP2は存在しない。次に、要素間接続情報作成部120は、AP1が存在するサーバ1が接続しているネットワークと同じネットワークに接続された各サーバを探索し、当該サーバにAP2が存在するかどうかを構成要素情報を検索することにより判断する。2つのサーバが同じネットワークに所属しているかどうかは、NICが接続するネットワーク名で判断することもできるし、NICのIPアドレスのネットワーク部で判断することもできる。   First, the inter-element connection information creation unit 120 determines whether or not the AP 2 on which the AP 1 depends is in the same server 1 as the AP 1 by searching the component element information. Here, there is no AP 2 in the server 1. Next, the inter-element connection information creation unit 120 searches each server connected to the same network as the network to which the server 1 in which AP1 exists is connected, and determines whether AP2 exists in the server. Judgment is made by searching. Whether two servers belong to the same network can be determined by the name of the network to which the NIC is connected, or can be determined by the network part of the IP address of the NIC.

ここでは、要素間接続情報作成部120は、サーバ1が接続するNETWORK1に接続しているサーバ2においてAP2を検出する。これにより、要素間接続情報作成部120は、構成要素情報に基づき、「AP1−IP1−NIC1−NETWORK1−NIC2−IP2−AP2」の要素間接続情報を作成する。   Here, the inter-element connection information creation unit 120 detects AP2 in the server 2 connected to the NETWORK1 to which the server 1 is connected. Thereby, the inter-element connection information creating unit 120 creates inter-element connection information of “AP1-IP1-NIC1-NETWORK1-NIC2-IP2-AP2” based on the constituent element information.

なお、要素間接続情報作成部120は、要素間接続情報として、「AP1−IP1−NIC1−NETWORK1−NIC2−IP2−AP2」のように、構成要素情報の中の要素を抽出し、これらを接続した情報を作成することとしてもよいし、構成要素情報の中の要素へのポインタを接続した情報を作成することしてもよいし、他の形式の情報を作成することしてもよい。   The inter-element connection information creation unit 120 extracts the elements in the component element information as “AP1-IP1-NIC1-NETWORK1-NIC2-IP2-AP2” as inter-element connection information, and connects them. The information may be created, information in which pointers to elements in the component element information are connected may be created, or information in another format may be created.

次に、要素間接続情報作成部120は、AP1が依存しているAP3が、AP1と同じサーバ1内にあるか否かを構成要素情報を検索することにより判断する。ここでは、サーバ1内にAP3は存在しない。次に、要素間接続情報作成部120は、AP1が存在するサーバ1が接続しているネットワークと同じネットワークに接続された各サーバにAP3が存在するかどうかを構成要素情報を検索することにより判断する。ここでは、サーバ1が接続しているネットワークと同じネットワークに接続されたサーバとしてサーバ2のみが存在するが、そこにはAP3は存在しない。   Next, the inter-element connection information creation unit 120 determines whether or not the AP 3 on which the AP 1 depends is in the same server 1 as the AP 1 by searching the constituent element information. Here, there is no AP 3 in the server 1. Next, the inter-element connection information creation unit 120 determines whether or not the AP 3 exists in each server connected to the same network as the network to which the server 1 in which the AP 1 exists is connected, by searching the constituent element information. To do. Here, only the server 2 exists as a server connected to the same network as the network to which the server 1 is connected, but there is no AP 3 there.

次に、要素間接続情報作成部120は、サーバ1が接続しているネットワーク(NETWORK1)におけるデフォルトゲートウェイとなっている、NETWORK1に接続されているルータに接続されているネットワーク上のサーバにAP3があるかどうかを構成要素情報を検索することにより判断する。この動作は、パケットをデフォルトルートに転送するネットワークルーチングの動作に類似している。なお、ルータの構成要素の情報は、サーバの情報と同様に構成要素情報として構成管理情報に含まれる。   Next, the inter-element connection information creating unit 120 has AP3 connected to a server on a network connected to a router connected to NETWORK1, which is a default gateway in the network (NETWORK1) to which server 1 is connected. It is determined by searching the component information whether or not there is. This operation is similar to that of network routing that forwards packets to the default route. The router component information is included in the configuration management information as component information, similar to the server information.

ここでは、要素間接続情報作成部120は、サーバ3においてAP3が存在することを検出する。これにより、要素間接続情報作成部120は、構成要素情報に基づき、「AP1−IP1−NIC1−NETWORK1−NIC4−IP4−ルータ−IP5−NIC5−NETWORK2−NIC3−IP3−AP3」の要素間接続情報を作成する。   Here, the inter-element connection information creation unit 120 detects that the AP 3 exists in the server 3. Thereby, the inter-element connection information creation unit 120, based on the component element information, inter-element connection information of “AP1-IP1-NIC1-NETWORK1-NIC4-IP4-router-IP5-NIC5-NETWORK2-NIC3-IP3-AP3”. Create

以上の処理により作成された要素間接続情報をグラフィカルに表示することで図17に示す表示情報が得られる。なお、図17に示す太線は、依存関係に基づく要素間接続を示すものである。この太線を表示することで、AP間の依存関係を明確に把握でき、障害試験での影響を目視で把握し易くなる。   Display information shown in FIG. 17 is obtained by graphically displaying the inter-element connection information created by the above processing. In addition, the thick line shown in FIG. 17 shows the connection between elements based on a dependence relationship. By displaying this thick line, it is possible to clearly grasp the dependency relationship between APs, and to easily grasp the influence in the failure test visually.

要素間接続情報作成部120により作成された要素間接続情報はデータ格納部140に格納される。   The inter-element connection information created by the inter-element connection information creation unit 120 is stored in the data storage unit 140.

(試験実行部130による試験実行処理)
次に、試験実行部130による試験実行処理を説明する。本実施の形態では、障害試験の障害試験箇所となり得る構成要素に対応した障害発生手順(障害発生方法)を予め定めておき、定めた障害発生手順の情報がデータ格納部140に格納されている。ある障害試験箇所に対して障害を発生させる手順は複数種類存在する。しかし、障害試験箇所に対して障害を発生させる手順が定まらない場合(エンジニア判断に委ねる場合)、実際の障害発生時において、過去の試験時の障害発生箇所での手順を確定できず、試験結果があまり参考にならない可能性がある。そこで、本実施の形態では、障害試験箇所となり得る構成要素に対応した障害発生手順を予め定めておくこととしている。
(Test execution processing by the test execution unit 130)
Next, test execution processing by the test execution unit 130 will be described. In the present embodiment, a failure occurrence procedure (failure occurrence method) corresponding to a component that can be a failure test location of a failure test is determined in advance, and information on the determined failure occurrence procedure is stored in the data storage unit 140. . There are a plurality of types of procedures for generating a failure for a certain failure test location. However, if the procedure for generating a failure is not determined for the failure test location (when it is left to the engineer's judgment), the procedure at the failure occurrence location in the past test cannot be determined when the actual failure occurs, and the test result May not be very helpful. Therefore, in the present embodiment, a failure occurrence procedure corresponding to components that can be failure test locations is determined in advance.

図18に構成要素毎の障害発生手順の例を示す。図18に示すとおり、構成要素start_[name]については、nameで識別されるAPをstopさせる。構成要素install_[name]については、nameで識別されるAPをuninstallする。構成要素setting_[name]については、nameで識別されるAPについての設定を初期化する。これら3つの手順は自動的(automatically)に生成することができる。   FIG. 18 shows an example of a failure occurrence procedure for each component. As shown in FIG. 18, for the component start_ [name], the AP identified by name is stopped. For the component install_ [name], the AP identified by name is uninstalled. For the component setting_ [name], the setting for the AP identified by the name is initialized. These three procedures can be generated automatically (automatically).

node(サーバ、スイッチ等)、net_dev_self(NIC)、net_ip_self(IPアドレス)に関しては、いずれも該当の仮想環境に応じたコマンドで障害を発生させる。また、name_network(ネットワーク)については、当該ネットワーク上のスイッチにおいてフィルタリング(通信遮断)を発生させる。これら3つの手順については、テンプレートから生成することができる。   With regard to node (server, switch, etc.), net_dev_self (NIC), and net_ip_self (IP address), all cause a failure with a command corresponding to the corresponding virtual environment. In addition, for name_network (network), filtering (communication interruption) is generated in a switch on the network. These three procedures can be generated from a template.

一例として、要素間接続情報作成部120により、図17に示す要素間接続情報が得られた場合において、試験実行部130は、図17に示す全要素(AP1、IP1、NIC1、NETWORK1、NIC2、IP2、AP2、NIC4、IP4、ルータ、IP5、NIC5、NETWORK2、NIC3、IP3、AP3)を抽出(洗い出す)する。そして、各要素に対し、図18の手順に従って、対象システムに対する障害試験を行う。   As an example, when the inter-element connection information creation unit 120 obtains the inter-element connection information shown in FIG. 17, the test execution unit 130 displays all the elements shown in FIG. 17 (AP1, IP1, NIC1, NETWORK1, NIC2, (IP2, AP2, NIC4, IP4, router, IP5, NIC5, NETWORK2, NIC3, IP3, AP3) are extracted (washed out). Then, a failure test for the target system is performed for each element according to the procedure of FIG.

障害試験を行うために、例えば、サーバを落とすような場合があるが、その場合、元の状態に戻す必要がある。そのような場合において、構成管理情報を保持する本実施の形態では、容易に構築を実行できる。この構築処理は、試験自動化装置100が実施してもよいし、試験自動化装置100から構成管理情報を取得した他の装置が実行してもよい。   In order to perform a failure test, for example, the server may be dropped, but in that case, it is necessary to return to the original state. In such a case, the configuration can be easily executed in the present embodiment that holds the configuration management information. This construction process may be executed by the test automation apparatus 100 or may be executed by another apparatus that has acquired the configuration management information from the test automation apparatus 100.

(実施の形態の効果について)
本実施の形態に係る技術により、複数の仮想サーバ、及び仮想ネットワークで構成されるシステムに対する障害試験の実施の際に、障害試験箇所を網羅的に洗い出すことができるとともに、障害試験による影響を容易に把握することが可能となる。より詳細には、例えば、下記の効果が得られる。
(Effects of the embodiment)
With the technology according to the present embodiment, it is possible to comprehensively identify the failure test location and easily influence the failure test when performing a failure test on a system composed of a plurality of virtual servers and virtual networks. It becomes possible to grasp. More specifically, for example, the following effects can be obtained.

(1)障害発生による影響を事前に自動的に確認できる
依存性を含んだ構成管理情報を用いることで、障害による影響をシステムの系として確認することができる。すなわち、障害が発生したポイントによってシステムの各構成管理情報の状態がどう変化するかを確認できる。これにより、実際のシステムに障害が発生した場合に期待される状態の変化を事前に洗い出すことができ、この期待される結果と、実際の障害試験の結果とを比較することで、想定している障害耐久性を実際のシステムが備えているか、想定外の挙動を取らないかを確認することができる。よって、実際のシステムにおいて想定外の挙動によってサービス断を引き起こす等の状況を避けることができる。
(1) The effect of a failure can be automatically confirmed in advance. By using configuration management information that includes dependencies, the effect of a failure can be confirmed as a system. That is, it can be confirmed how the state of each configuration management information of the system changes depending on the point where the failure occurs. As a result, it is possible to preliminarily identify changes in the expected state when a failure occurs in the actual system. By comparing this expected result with the actual failure test result, It is possible to check whether the actual system has the fault tolerance and whether the behavior is not expected. Therefore, it is possible to avoid a situation such as causing service interruption due to unexpected behavior in an actual system.

(2)障害試験箇所の網羅性が担保できる
構成管理情報はHW/NW/OS/APの情報を網羅しており、これら全てを障害試験箇所として指定することで網羅性の担保が可能である。
(2) Comprehensiveness of failure test locations can be ensured Configuration management information covers HW / NW / OS / AP information, and it is possible to ensure completeness by specifying all of them as failure test locations. .

(3)障害を発生させる手法を定義できる
従来は「ネットワーク障害」というような障害の概要しか記述できず、記述による障害試験箇所が曖昧であった。一方、本実施の形態の技術であれば、例えば、図8に示したようなルータにおけるNIC(eth0)のように障害試験箇所を明確に指定することができる。そして構成要素の種別に応じた障害発生コマンドを定義することで、障害発生手法を明確に定義できる。
(3) A method for generating a fault can be defined. Conventionally, only an outline of a fault such as a “network fault” can be described, and a fault test location based on the description is ambiguous. On the other hand, according to the technique of the present embodiment, for example, a fault test location can be clearly specified like NIC (eth0) in a router as shown in FIG. Then, by defining a failure occurrence command according to the type of component, the failure occurrence method can be clearly defined.

(4)影響範囲が確定されており、また、試験が自動的に実行され自動的に復旧される
従来はまるごと仮想環境のSnapshotを取って、試験の都度、元に戻すなどの手法がとられているが、そもそも障害試験による影響範囲が正しく把握できていない状況であるため、正しく全ての環境を戻すには全てのサーバのSnapshotを取らねばならない。一方、本実施の形態の技術は、影響範囲が明確であり、かつ、依存関係を用いてシステムの復旧が可能であるため、時間も短時間ですむ。
(4) The scope of influence is fixed, and the test is automatically executed and automatically restored. Conventionally, a method of taking a snapshot of the virtual environment as a whole and restoring it every time a test is taken. However, in the first place, since the influence range by the failure test is not correctly grasped, in order to return all environments correctly, it is necessary to take a snapshot of all servers. On the other hand, the technology according to the present embodiment has a clear influence range and can restore the system by using the dependency relationship, so that the time can be shortened.

(5)仮想環境のメリットを最大限に活用できる
本実施の形態では、仮想環境上にシステムを完全自動構築するスクリプトを用いた構成管理情報を使用する。このため、障害試験箇所の網羅だけで無く、この仮想環境上に構築するシステムの構築スクリプトから、網羅的、自動的に手順と結果を作成できる。
(5) The merits of the virtual environment can be utilized to the maximum. In this embodiment, configuration management information using a script for fully automatically constructing a system on the virtual environment is used. For this reason, not only the failure test locations but also the procedures and results can be created automatically and comprehensively from the system construction script built on this virtual environment.

すなわち、本実施の形態に係る技術により、曖昧なまま行われてきた障害試験を、明確な「期待する試験結果」を備えて実行でき、試験稼働を削減できる。また、実際の障害発生時に、過去に発生させた障害新券の箇所と、その際の障害発生手順を高い再現性で短時間で確認できる。   That is, with the technique according to the present embodiment, a fault test that has been performed in an ambiguous manner can be executed with a clear “expected test result”, and test operation can be reduced. In addition, when an actual failure occurs, the location of the new failure ticket generated in the past and the failure occurrence procedure at that time can be confirmed with high reproducibility in a short time.

(実施の形態のまとめ)
以上、説明したように、本実施の形態により、複数の仮想サーバ及び仮想ネットワークで構成されるシステムの障害試験箇所を洗い出す試験自動化装置であって、前記システムの構築に使用される自動構築スクリプトから、前記システムの構成要素の集合を抽出するとともに、所定構成要素をノードとして抽出し、ノード間の依存関係に基づいて、ノード間のリンクを作成して有向グラフを作成する構成管理情報取得手段と、前記有向グラフにより示される所定構成要素間の依存関係に基づいて、前記構成要素の集合から、構成要素間の接続関係を示す要素間接続情報を作成する要素間接続情報作成手段と、前記要素間接続情報に基づいて障害試験箇所を洗い出し、当該障害試験箇所に対する障害試験を実行する試験実行手段とを備えることを特徴とする試験自動化装置が提供される。
(Summary of embodiment)
As described above, according to the present embodiment, a test automation device for identifying a failure test location of a system configured by a plurality of virtual servers and virtual networks, which is based on an automatic construction script used for constructing the system And a configuration management information acquisition means for extracting a set of component elements of the system, extracting a predetermined component element as a node, and creating a directed graph by creating a link between nodes based on a dependency relationship between the nodes; Inter-element connection information creating means for creating inter-element connection information indicating a connection relation between the constituent elements from the set of constituent elements based on the dependency relation between the predetermined constituent elements indicated by the directed graph, and the inter-element connection It is provided with a test execution means for identifying a failure test location based on the information and executing a failure test for the failure test location. Test automation and wherein is provided.

前記試験実行手段は、例えば、障害試験箇所に対応する構成要素毎に予め定められた方法で前記障害試験を実行する。   The test execution unit executes the failure test by a method predetermined for each component corresponding to the failure test location, for example.

前記要素間接続情報作成手段は、前記構成要素の集合の中で、あるサーバに存在する所定構成要素が依存している別の所定構成要素を、同一サーバ内、同一ネットワーク内、別ネットワーク内の順番で探索することにより前記要素間接続情報を作成することとしてもよい。   The inter-element connection information creating means is configured to add another predetermined component dependent on a predetermined component existing in a certain server in the same server, the same network, or another network in the set of the component elements. The inter-element connection information may be created by searching in order.

前記要素間接続情報は、前記所定構成要素としてのアプリケーション、当該アプリケーションに関連するネットワークインタフェース、IPアドレス、及びネットワークを含むこととしてもよい。   The inter-element connection information may include an application as the predetermined component, a network interface related to the application, an IP address, and a network.

以上、本実施の形態について説明したが、本発明はかかる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。   Although the present embodiment has been described above, the present invention is not limited to the specific embodiment, and various modifications and changes can be made within the scope of the gist of the present invention described in the claims. Is possible.

10 サーバ
100 試験自動化装置
110 構成管理情報取得部
120 要素間接続情報作成部
130 試験実行部
140 データ格納部
200 ドライブ装置
201 記録媒体
202 補助記憶装置
203 メモリ装置
204 CPU
205 インタフェース装置
206 表示装置
207 入力装置
DESCRIPTION OF SYMBOLS 10 Server 100 Test automation apparatus 110 Configuration management information acquisition part 120 Inter-element connection information creation part 130 Test execution part 140 Data storage part 200 Drive apparatus 201 Recording medium 202 Auxiliary storage apparatus 203 Memory apparatus 204 CPU
205 Interface device 206 Display device 207 Input device

Claims (6)

複数の仮想サーバ及び仮想ネットワークで構成されるシステムの障害試験箇所を洗い出す試験自動化装置であって、
前記システムの構築に使用される自動構築スクリプトから、前記システムの構成要素の集合を抽出するとともに、所定構成要素をノードとして抽出し、ノード間の依存関係に基づいて、ノード間のリンクを作成して有向グラフを作成する構成管理情報取得手段と、
前記有向グラフにより示される所定構成要素間の依存関係に基づいて、前記構成要素の集合から、構成要素間の接続関係を示す要素間接続情報を作成する要素間接続情報作成手段と、
前記要素間接続情報に基づいて障害試験箇所を洗い出し、当該障害試験箇所に対する障害試験を実行する試験実行手段と
を備えることを特徴とする試験自動化装置。
A test automation device for identifying failure test points of a system composed of a plurality of virtual servers and virtual networks,
A set of system components is extracted from the automatic configuration script used to construct the system, a predetermined component is extracted as a node, and a link between nodes is created based on the dependency between the nodes. Configuration management information acquisition means for creating a directed graph
Inter-element connection information creating means for creating inter-element connection information indicating a connection relation between the constituent elements from the set of constituent elements based on the dependency relation between the predetermined constituent elements indicated by the directed graph;
A test automation apparatus comprising: test execution means for identifying a failure test location based on the inter-element connection information and executing a failure test on the failure test location.
前記試験実行手段は、障害試験箇所に対応する構成要素毎に予め定められた方法で前記障害試験を実行する
ことを特徴とする請求項1に記載の試験自動化装置。
The test automation apparatus according to claim 1, wherein the test execution unit executes the failure test by a method predetermined for each component corresponding to a failure test location.
前記要素間接続情報作成手段は、前記構成要素の集合の中で、あるサーバに存在する所定構成要素が依存している別の所定構成要素を、同一サーバ内、同一ネットワーク内、別ネットワーク内の順番で探索することにより前記要素間接続情報を作成する
ことを特徴とする請求項1又は2に記載の試験自動化装置。
The inter-element connection information creating means is configured to add another predetermined component dependent on a predetermined component existing in a certain server in the same server, the same network, or another network in the set of the component elements. The test automation apparatus according to claim 1 or 2, wherein the inter-element connection information is created by searching in order.
前記要素間接続情報は、前記所定構成要素としてのアプリケーション、当該アプリケーションに関連するネットワークインタフェース、IPアドレス、及びネットワークを含む
ことを特徴とする請求項1ないし3のうちいずれか1項に記載の試験自動化装置。
The test according to any one of claims 1 to 3, wherein the inter-element connection information includes an application as the predetermined component, a network interface related to the application, an IP address, and a network. Automation device.
複数の仮想サーバ及び仮想ネットワークで構成されるシステムの障害試験箇所を洗い出す試験自動化装置が実行する試験方法であって、
前記システムの構築に使用される自動構築スクリプトから、前記システムの構成要素の集合を抽出するとともに、所定構成要素をノードとして抽出し、ノード間の依存関係に基づいて、ノード間のリンクを作成して有向グラフを作成する構成管理情報取得ステップと、
前記有向グラフにより示される所定構成要素間の依存関係に基づいて、前記構成要素の集合から、構成要素間の接続関係を示す要素間接続情報を作成する要素間接続情報作成ステップと、
前記要素間接続情報に基づいて障害試験箇所を洗い出し、当該障害試験箇所に対する障害試験を実行する試験実行ステップと
を備えることを特徴とする試験方法。
A test method executed by a test automation device that identifies a failure test location of a system composed of a plurality of virtual servers and a virtual network,
A set of system components is extracted from the automatic configuration script used to construct the system, a predetermined component is extracted as a node, and a link between nodes is created based on the dependency between the nodes. Configuration management information acquisition step for creating a directed graph
An inter-element connection information creating step for creating inter-element connection information indicating a connection relation between constituent elements from the set of constituent elements based on a dependency relation between predetermined constituent elements indicated by the directed graph;
A test execution step of identifying a failure test location based on the inter-element connection information and executing a failure test on the failure test location.
コンピュータを、請求項1ないし4のうちいずれか1項に記載の試験自動化装置における各手段として機能させるためのプログラム。   The program for functioning a computer as each means in the test automation apparatus of any one of Claims 1 thru | or 4.
JP2017158807A 2017-08-21 2017-08-21 Test automation equipment, test methods, and programs Active JP6818654B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017158807A JP6818654B2 (en) 2017-08-21 2017-08-21 Test automation equipment, test methods, and programs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017158807A JP6818654B2 (en) 2017-08-21 2017-08-21 Test automation equipment, test methods, and programs

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2020218354A Division JP7047054B2 (en) 2020-12-28 2020-12-28 Test automation equipment, test methods, and programs

Publications (2)

Publication Number Publication Date
JP2019036252A true JP2019036252A (en) 2019-03-07
JP6818654B2 JP6818654B2 (en) 2021-01-20

Family

ID=65637712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017158807A Active JP6818654B2 (en) 2017-08-21 2017-08-21 Test automation equipment, test methods, and programs

Country Status (1)

Country Link
JP (1) JP6818654B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115987859A (en) * 2022-11-30 2023-04-18 中国铁道科学研究院集团有限公司通信信号研究所 Automatic generation method of ATP vehicle-mounted equipment simulation test script based on transponder message

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016131286A (en) * 2015-01-13 2016-07-21 富士通株式会社 Verification support program, verification support apparatus, and verification support method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016131286A (en) * 2015-01-13 2016-07-21 富士通株式会社 Verification support program, verification support apparatus, and verification support method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
沼田晋作、外3名: "自動構築スクリプトを用いたCMDBによる障害原因自動特定・復旧機能の実装と評価", 電子情報通信学会技術研究報告, vol. 116, no. 404, JPN6020045164, 12 January 2017 (2017-01-12), JP, pages 31 - 36, ISSN: 0004394306 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115987859A (en) * 2022-11-30 2023-04-18 中国铁道科学研究院集团有限公司通信信号研究所 Automatic generation method of ATP vehicle-mounted equipment simulation test script based on transponder message

Also Published As

Publication number Publication date
JP6818654B2 (en) 2021-01-20

Similar Documents

Publication Publication Date Title
US12149399B2 (en) Techniques and interfaces for troubleshooting datacenter networks
US8910172B2 (en) Application resource switchover systems and methods
US9021294B2 (en) Discovering boot order sequence of servers belonging to an application
CN104410672A (en) Method for upgrading network function virtualization application, method and device for forwarding service
US11656977B2 (en) Automated code checking
CN107506295B (en) Virtual machine backup testing method and device and computer readable storage medium
US9645874B2 (en) Analyzing OpenManage integration for troubleshooting log to determine root cause
CN113900670B (en) Cluster server application deployment system
CN115484164B (en) Method and system for deploying a production system in a virtualized environment
JPWO2015040688A1 (en) Management system for managing computer system and management method thereof
US9183092B1 (en) Avoidance of dependency issues in network-based service startup workflows
US9830177B1 (en) Computer implemented method and system, and computer program product, for determining compliance with a configuration parameter before deployment of a virtual appliance into a network appliance
JP6818654B2 (en) Test automation equipment, test methods, and programs
JP6904364B2 (en) System construction support device, method and program
US10778550B2 (en) Programmatically diagnosing a software defined network
JP7047054B2 (en) Test automation equipment, test methods, and programs
US9405605B1 (en) Correction of dependency issues in network-based service remedial workflows
US11411819B2 (en) Automatic network configuration in data protection operations
CN111177728B (en) Virtual equipment vulnerability mining method, device and medium
Baset et al. Toward achieving operational excellence in a cloud
JP6734689B2 (en) System management support device, system management support method, and program
Zhou et al. Delta execution for software reliability
WO2023032115A1 (en) Network management device, network management method, and network management system
US11570260B1 (en) Data collection configuration file generation
JP7048898B2 (en) Systems, methods, and programs

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191224

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201111

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: 20201201

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20201228

R150 Certificate of patent or registration of utility model

Ref document number: 6818654

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250