Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5375281B2 - Failure analysis information collection device, failure analysis information collection method, failure analysis information collection program - Google Patents
[go: Go Back, main page]

JP5375281B2 - Failure analysis information collection device, failure analysis information collection method, failure analysis information collection program - Google Patents

Failure analysis information collection device, failure analysis information collection method, failure analysis information collection program Download PDF

Info

Publication number
JP5375281B2
JP5375281B2 JP2009092494A JP2009092494A JP5375281B2 JP 5375281 B2 JP5375281 B2 JP 5375281B2 JP 2009092494 A JP2009092494 A JP 2009092494A JP 2009092494 A JP2009092494 A JP 2009092494A JP 5375281 B2 JP5375281 B2 JP 5375281B2
Authority
JP
Japan
Prior art keywords
information
failure analysis
file
log
input parameter
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.)
Expired - Fee Related
Application number
JP2009092494A
Other languages
Japanese (ja)
Other versions
JP2010244306A (en
Inventor
友宏 粉川
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 Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP2009092494A priority Critical patent/JP5375281B2/en
Publication of JP2010244306A publication Critical patent/JP2010244306A/en
Application granted granted Critical
Publication of JP5375281B2 publication Critical patent/JP5375281B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To quickly sample information necessary for the analysis of an obstacle generated in a computer system. <P>SOLUTION: An obstacle analysis information gathering device includes: an acceptance part 11 for accepting an input parameter indicating information related with an obstacle form an external terminal; a difference management DB121 for storing system difference information indicating the difference of unique file system setting; a parameter analyzing part 12 for converting an input parameter 21 into a conversion parameter 22 based on the system difference information of the difference management DB 121; an information gathering script generation part 13 for generating information gathering script 131 indicating the acquisition procedure of information for performing obstacle analysis based on the conversion parameter 22; and a script execution means for sampling the obstacle analysis information by executing the information gathering script. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は、コンピュータシステムにおける障害にかかる情報を採取するための技術に関する。   The present invention relates to a technique for collecting information related to a failure in a computer system.

コンピュータシステムにおける障害が発生した際には、可能な限り迅速に、必要な情報を採取して障害を解析し、システムの適切な復旧を行うために必要なログファイルやシステムの設定ファイルなどの情報を迅速に採取して、これらの情報に基づき障害を解析を行うことが求められる。   When a failure occurs in a computer system, the necessary information is collected as quickly as possible, the failure is analyzed, and information such as log files and system configuration files necessary for proper system recovery It is required to quickly collect and analyze the failure based on this information.

例えば、特定のコンピュータシステムにおける既知の、あるいは類似の障害については、発生した障害の内容に応じて、予め設定された障害解析に必要な情報を、自動で採取する手法(特許文献1、特許文献2など)が開示されている。   For example, for a known or similar failure in a specific computer system, a method of automatically collecting information necessary for failure analysis set in advance according to the content of the failure that has occurred (Patent Document 1, Patent Document) 2).

一方、特定のコンピュータシステムに新規の障害が発生した場合、システムの運用状況や障害の状況等により採取される必要な情報が異なる。このため、障害解析に必要な情報を自動で採取することは困難である。   On the other hand, when a new failure occurs in a specific computer system, the necessary information collected differs depending on the system operation status, the failure status, and the like. For this reason, it is difficult to automatically collect information necessary for failure analysis.

これに対して、コンピュータシステムに生じた新規障害にかかり、情報の採取を効率的に行うための関連技術が開示されている(特許文献3)。
この関連技術では、既知障害については自動で情報採取を行い、新規障害については運用オペレータが採取すべき情報を、パラメータシートの入力を行うことにより、情報採取用のスクリプト(情報採取スクリプト)を自動生成する。また、生成された情報採取スクリプトをデータベース(DB)に登録することで、次回、同じ障害が発生した際には、登録された情報採取スクリプトを実行することにより、傷害解析に必要となる情報の採取を自動的に行う。
On the other hand, a related technique for efficiently collecting information in response to a new failure occurring in a computer system is disclosed (Patent Document 3).
In this related technology, information is automatically collected for known failures, and information to be collected by the operator for new failures is automatically entered by inputting a parameter sheet (information collection script). Generate. In addition, by registering the generated information collection script in the database (DB), the next time the same failure occurs, the registered information collection script will be executed. Collects automatically.

ここで、例えば、ある製品(ここでは、コンピュータシステムとする)で新規障害が発生し、この製品における障害の調査解析を部門(調査解析部門)が、障害調査のために情報採取(主にログファイルや設定ファイル)を、運用管理者(運用管理サーバ)に依頼する場合を考える。
尚、上記調査解析部門は、あらかじめ設定されたサーバコンピュータであってもよい。
Here, for example, a new failure occurs in a certain product (here, a computer system), and the department (survey analysis department) collects information for failure investigation (mainly logs). Consider a case where an operation administrator (operation management server) is requested for a file or a setting file.
The survey analysis department may be a server computer set in advance.

このとき、障害の調査解析を行う調査解析部門から運用管理サーバに伝えられる情報は、調査対象製品内に格納されたログファイル、ログ出力先を示すファイル(ログ出力先)、設定ファイルなどの情報の格納された位置(場所)を示すデフォルトのパスである。
しかしながら、このログ出力先を示す情報や、コンピュータシステムの設定ファイルの格納場所は、コンピュータシステムによって異なる場合が多い。
また、コンピュータシステムによっては、ログファイルの格納場所が一定のタイミングでローテーションされる。また、ローテーションが行われる間隔は、コンピュータシステムによって異なる。
At this time, the information transmitted to the operation management server from the investigation and analysis department that performs failure investigation and analysis includes information such as the log file stored in the investigation target product, the log output destination file (log output destination), and the configuration file This is the default path that indicates the stored location.
However, the information indicating the log output destination and the storage location of the setting file of the computer system often differ depending on the computer system.
Depending on the computer system, the log file storage location is rotated at a fixed timing. The interval at which rotation is performed varies depending on the computer system.

このため、運用管理者側(運用管理サーバ)では、パラメートシートの入力を調査解析部門側で行うことができず、調査解析部門から通知された情報に基づいて、例えば、手作業による入力などが行われていた。   For this reason, the operation administrator side (operation management server) cannot input the parameter sheet on the survey analysis department side, and based on the information notified from the survey analysis department, for example, manual input, etc. Was done.

しかしながら、この場合、運用管理者側でも連絡された情報を、実際のコンピュータシステムにおけるファイル格納方法や階層構造に合わせて、読み替えを行った上で入力を行う必要があり、入力に多大な時間がかかってしまったり、入力時における読み違いや入力ミスが発生してしまったりする不都合がある。   However, in this case, it is necessary to input the information communicated on the operation manager side after re-reading the information in accordance with the file storage method and the hierarchical structure in the actual computer system. There are inconveniences such as reading errors or misreading during input.

これに対する関連技術として、分散型システムの確認試験のための単純作業に関する項目を機械化してかつ自動的に試験を行うLAN自動試験装置が開示されている(特許文献4)。   As a related technique for this, a LAN automatic test apparatus is disclosed that mechanizes items relating to simple work for confirmation tests of a distributed system and automatically performs tests (Patent Document 4).

特開2003−345628公報JP 2003-345628 A 特開2003−195687公報JP 2003-195687 A 特開2003−171061公報JP 2003-171061 A 特開平04−264628公報JP 04-264628 A

しかしながら、上記特許文献1乃至4に開示された関連技術では、例えば、特定のコンピュータシステム内で新規障害が生じたときに適用した場合、この障害にかかる障害解析を行うための情報を採取には、各コンピュータシステム固有な設定を考慮する必要があり、また、ログのローテーション等を運用オペレータによる判断により書き換える必要がある。
このため、上述のように、障害解析にかかる情報の収集を行うまでに多大な時間を要したり、入力ミス等による人為的な情報収集エラーなどが発生してしまい、障害解析に必要な情報を迅速に採取することができない不都合が生じ得る。
However, in the related techniques disclosed in Patent Documents 1 to 4, for example, when a new failure occurs in a specific computer system, information for performing failure analysis related to this failure is collected. Therefore, it is necessary to consider the settings specific to each computer system, and it is necessary to rewrite log rotation and the like based on the judgment of the operation operator.
For this reason, as described above, it takes a long time to collect information related to failure analysis, or an artificial information collection error due to an input error occurs. Inconvenience that cannot be collected quickly can occur.

[発明の目的]
本発明は、上記関連技術の有する不都合を改善し、コンピュータシステムに生じた障害の解析に必要な情報を迅速に採取する障害解析情報採取装置、障害解析情報採取方法、障害解析情報採取プログラムを提供することを、その目的とする。
[Object of invention]
The present invention provides a failure analysis information collection device, a failure analysis information collection method, and a failure analysis information collection program for quickly collecting information necessary for analysis of a failure that has occurred in a computer system, improving the disadvantages of the related technology. The purpose is to do.

上記目的を達成するために、本発明に係る障害解析情報採取装置は、外部端末から障害にかかる情報を示す入力パラメータを受け付ける入力パラメータ受付部を備えた障害解析情報採取装置であって、当該障害解析情報採取装置および前記外部端末それぞれに固有のファイルシステム設定の差分を示すシステム差分情報を保持する差分管理部と、前記入力パラメータ内で示された情報のファイル名、ファイルの格納場所を示すファイルアドレス、およびファイルの移動元および移動先を示す移動情報が含まれている場合に、前記差分管理部のシステム差分情報に基づいてこれらの情報を変換するパラメータ解釈部と、前記変換された入力パラメータに基づき前記障害解析を行うための情報の取得手順を示す情報採取スクリプトを生成する情報採取スクリプト生成部と、前記生成された情報採取スクリプトを実行して前記障害解析を行うための情報を採取するスクリプト実行部とを備えると共に、前記パラメータ解釈部が、前記入力パラメータがローテーションの行われているログファイルに関するものである場合に、前記システム差分情報に含まれるログローテートルールに基づいて当該ログファイルの格納場所を前記変換された入力パラメータに含めるログローテートチェック機能を有する構成をとっている。 In order to achieve the above object, a failure analysis information collection device according to the present invention is a failure analysis information collection device including an input parameter receiving unit that receives an input parameter indicating information related to a failure from an external terminal. A difference management unit for holding system difference information indicating a difference in file system settings unique to each of the analysis information collection device and the external terminal, and a file name of the information indicated in the input parameter and a file indicating a file storage location address, and if the source and movement information indicating the movement destination of the file contains a parameter interpretation unit to convert these information based on the system differential information of the differential management unit, wherein the converted input Information for generating an information collection script indicating an information acquisition procedure for performing the failure analysis based on the parameters And preparative script generating section, Rutotomoni a script execution unit for executing said generated information extraction script for collecting information for the failure analysis, the parameter interpretation unit, a row of the input parameters Rotation The log rotation check function for including the storage location of the log file in the converted input parameter based on the log rotation rule included in the system difference information. Yes.

又、本発明にかかる障害解析情報採取方法は、外部端末から障害にかかる情報を示す入力パラメータを受け付ける前記入力パラメータ受付部を備えた障害解析情報採取装置にあって、前記障害の解析を行うための障害解析情報を採取する障害解析情報採取方法であって、前記障害解析情報採取装置および前記運用端末それぞれに固有のファイルシステム設定の差分を示すシステム差分情報を保持し、前記入力パラメータ内で示された情報のファイル名、ファイルの格納場所を示すファイルアドレス、およびファイルの移動元および移動先を示す移動情報が含まれている場合に、前記差分管理部のシステム差分情報に基づいてこれらの情報を変換し、前記変換された入力パラメータに基づき前記障害解析を行うための情報の取得手順を示す情報採取スクリプトを生成し、前記生成された情報採取スクリプトを実行して前記障害解析を行うための情報を採取すると共に、前記入力パラメータの移動情報を変換する処理が、前記入力パラメータがローテーションの行われているログファイルに関するものである場合に、前記システム差分情報に含まれるログローテートルールに基づいて当該ログファイルの格納場所を前記変換された入力パラメータに含めるものであることを特徴としている。 Also, the failure analysis information collection method according to the present invention is a failure analysis information collection device including the input parameter receiving unit that receives an input parameter indicating information related to a failure from an external terminal, and performs the analysis of the failure The failure analysis information collecting method for collecting the failure analysis information of the failure analysis information, and storing system difference information indicating differences in file system settings specific to each of the failure analysis information collection device and the operation terminal and indicated in the input parameter file name information, file address indicating the storage location of the file, and if the source and movement information indicating the movement destination of the file contains, these are based on the system differential information of the differential management unit It converts the information, information indicating the acquisition procedure information for performing the failure analysis based on the converted input parameters Generates a preparative script, while collecting information for the fault analysis by running the generated information collection script, processing for converting the movement information of the input parameters, the input parameters is carried out with rotation The storage location of the log file is included in the converted input parameter based on the log rotation rule included in the system difference information .

又、本発明にかかる障害解析情報採取プログラムは、外部端末から障害にかかる情報を示す入力パラメータを受け付ける前記入力パラメータ受付部を備えた障害解析情報採取装置にあって、前記障害にかかる情報を採取するための障害解析情報採取プログラムであって、前記障害解析情報採取装置および前記運用端末それぞれに固有のファイルシステム設定の差分を示すシステム差分情報に基づいて、前記入力パラメータ内で示された情報のファイル名、ファイルの格納場所を示すファイルアドレス、およびファイルの移動元および移動先を示す移動情報が含まれている場合にこれらの情報をそれぞれ変換するパラメータ変換機能と、前記変換された入力パラメータに基づき前記障害解析を行うための情報の取得手順を示す情報採取スクリプトを生成するスクリプト生成機能と、前記生成された情報採取スクリプトを実行して前記障害解析を行うための情報を採取する処理を行う障害解析情報取得処理機能と、をコンピュータに実行させるものであると共に、前記パラメータ変換機能が、前記入力パラメータがローテーションの行われているログファイルに関するものである場合に、前記システム差分情報に含まれるログローテートルールに基づいて当該ログファイルの格納場所を前記変換された入力パラメータに含めるログローテートチェック機能を含むことを特徴としている。 The failure analysis information collection program according to the present invention is a failure analysis information collection device including the input parameter reception unit that receives an input parameter indicating information related to a failure from an external terminal, and collects information related to the failure A failure analysis information collection program for performing information on the information indicated in the input parameter based on system difference information indicating a difference in file system settings specific to each of the failure analysis information collection device and the operation terminal. When the file name, the file address indicating the file storage location, and the movement information indicating the movement source and the movement destination of the file are included, a parameter conversion function for converting these information respectively, and the converted input parameter Information collection script showing information acquisition procedure for failure analysis based on A script generating function of generating a fault analysis information acquisition processing function for performing a process of collecting information for performing the failure analysis by running the generated information collection script, with those causing a computer to execute the The parameter conversion function converts the storage location of the log file based on a log rotation rule included in the system difference information when the input parameter relates to a log file being rotated. It includes a log rotation check function included in the input parameters .

本発明は、以上のように構成され機能するので、これによると、入力パラメータを、障害解析情報採取装置および前記外部端末それぞれに固有のファイルシステム設定の差分を示すシステム差分情報に基づき変換して、この変換された入力パラメータに基づき情報採取スクリプトを生成し、情報採取スクリプトを実行して前記障害にかかる情報を採取する手段を備えた構成としたことにより、コンピュータシステムに生じた障害の解析に必要な情報を迅速に採取し得る障害解析情報採取装置、障害解析情報採取方法、および障害解析情報採取プログラムを提供することができる。   Since the present invention is configured and functions as described above, according to this, the input parameter is converted based on the system difference information indicating the difference of the file system setting specific to each of the failure analysis information collection device and the external terminal. In addition, the information collecting script is generated based on the converted input parameter, and the information collecting script is executed to collect the information related to the failure, thereby analyzing the failure occurring in the computer system. A failure analysis information collection device, a failure analysis information collection method, and a failure analysis information collection program that can quickly collect necessary information can be provided.

本発明による障害解析情報採取装置の一実施形態を示す概略ブロック図である。It is a schematic block diagram which shows one Embodiment of the failure analysis information collection device by this invention. 図1に開示した障害解析情報採取装置における入力パラメータの一例を示す説明図である。It is explanatory drawing which shows an example of the input parameter in the failure analysis information collection device disclosed in FIG. 図1に開示した障害解析情報採取装置におけるシステム固有名管理テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of the system specific name management table in the failure analysis information collection device disclosed in FIG. 図1に開示した障害解析情報採取装置におけるローテートログ管理テーブルの一例を示す説明図である。It is explanatory drawing which shows an example of the rotation log management table in the failure analysis information collection device disclosed in FIG. 図1に開示した障害解析情報採取装置における変換パラメータの一例を示す説明図である。It is explanatory drawing which shows an example of the conversion parameter in the failure analysis information collection device disclosed in FIG. 図1に開示した障害解析情報採取装置における入力パラメータ受付部11の動作処理ステップを示すフローチャートである。It is a flowchart which shows the operation | movement process step of the input parameter reception part 11 in the failure analysis information collection device disclosed in FIG. 図1に開示した障害解析情報採取装置におけるパラメータ解釈部12の動作処理ステップを示すフローチャートである。It is a flowchart which shows the operation | movement process step of the parameter interpretation part 12 in the failure analysis information collection device disclosed in FIG. 図1に開示した障害解析情報採取装置におけるパラメータ解釈部12によるシステム固有チェックの動作処理ステップを示すフローチャートである。It is a flowchart which shows the operation | movement process step of the system specific check by the parameter interpretation part 12 in the failure analysis information collection device disclosed in FIG. 図1に開示した障害解析情報採取装置におけるパラメータ解釈部12によるログローテートチェックの動作処理ステップを示すフローチャートである。6 is a flowchart showing operation processing steps of log rotation check by a parameter interpretation unit 12 in the failure analysis information collection device disclosed in FIG. 1. 図1に開示した障害解析情報採取装置におけるスクリプト生成部13の動作処理ステップを示すフローチャートである。It is a flowchart which shows the operation | movement process step of the script production | generation part 13 in the failure analysis information collection device disclosed in FIG. 図1に開示した障害解析情報採取装置におけるスクリプト生成部13によるコマンド実行スクリプト生成の動作処理ステップを示すフローチャートである。It is a flowchart which shows the operation processing step of the command execution script production | generation by the script production | generation part 13 in the failure analysis information collection apparatus disclosed in FIG. 図1に開示した障害解析情報採取装置におけるスクリプト生成部13によるログファイル採取スクリプト生成の動作処理ステップを示すフローチャートである。It is a flowchart which shows the operation processing step of log file collection script generation by the script generation part 13 in the failure analysis information collection device disclosed in FIG. 図1に開示した障害解析情報採取装置におけるスクリプト生成部13による認定ファイル採取スクリプト生成の動作処理ステップを示すフローチャートである。It is a flowchart which shows the operation | movement process step of the certification | authentication file collection | recovery script generation by the script production | generation part 13 in the failure analysis information collection apparatus disclosed in FIG. 図1に開示した障害解析情報採取装置におけるスクリプト生成部13によるシステム固有チェックの動作処理ステップを示すフローチャートである。It is a flowchart which shows the operation | movement process step of the system specific check by the script production | generation part 13 in the failure analysis information collection device disclosed in FIG. 図1に開示した障害解析情報採取装置におけるスクリプト実行部14の動作処理ステップを示すフローチャートである。It is a flowchart which shows the operation | movement process step of the script execution part 14 in the failure analysis information collection device disclosed in FIG. 図1に開示した障害解析情報採取装置におけるローテートログ採取アルゴリズムを適用したときの取得対象ファイルリストの遷移一例を示すフローチャートである。7 is a flowchart illustrating an example of transition of an acquisition target file list when a rotation log collection algorithm is applied in the failure analysis information collection apparatus disclosed in FIG. 1.

[実施形態]
次に、本発明の実施形態について、その基本的構成内容を説明する。
[Embodiment]
Next, the basic configuration content of the embodiment of the present invention will be described.

本発明の実施形態の構成について図面を参照して詳細に説明する。
本実施形態の障害解析情報採取装置1は、図1に示すように、入力パラメータの入力を行う運用端末(外部端末)2に接続して設けられた構成となっている。
The configuration of the embodiment of the present invention will be described in detail with reference to the drawings.
As shown in FIG. 1, the failure analysis information collection device 1 of the present embodiment is configured to be connected to an operation terminal (external terminal) 2 for inputting input parameters.

また、障害解析情報採取装置1は、図1に示すように、入力パラメータ受付部11、パラメータ解釈部12、差分管理DB121、スクリプト生成部13、スクリプト実行部14を備えた構成となっている。
ここで、障害解析情報採取装置は、CPU、メモリ、HDDを備えたコンピュータであって、メモリに読込まれたプログラムを上記CPUが実行処理制御することにより、上記入力パラメータ受付部11、パラメータ解釈部12、差分管理DB121、スクリプト生成部13、スクリプト実行部14の動作処理を実現するものとする。
As shown in FIG. 1, the failure analysis information collecting apparatus 1 includes an input parameter receiving unit 11, a parameter interpretation unit 12, a difference management DB 121, a script generation unit 13, and a script execution unit 14.
Here, the failure analysis information collecting device is a computer having a CPU, a memory, and an HDD, and the input parameter receiving unit 11, the parameter interpreting unit are controlled by the CPU controlling the execution of the program read into the memory. 12, the operation processing of the difference management DB 121, the script generation unit 13, and the script execution unit 14 is realized.

ここで、障害解析情報採取装置1は、例えば、UNIXシステム(UNIXは登録商標です)のようなコンピュータシステムと同様に、そのファイル構造は、階層型のディレクトリとファイルで構成されており、全てのファイルは絶対パス(格納ディレクトリ+ファイル名)を指定することで一意に特定できるものとする。
本実施形態におけるコンピュータシステムである障害解析情報採取装置1内に格納された、あるファイルのファイル名が「syslog.log」、このファイルの格納ディレクトリが、「/var/adm/syslog/」である場合、このファイルの絶対パスは「/var/adm/syslog/syslog.log」となる。
また、各ファイルは、最終更新日時を値として保持し、システムはいつでも参照することができるものとする。
Here, the failure analysis information collecting apparatus 1 has a file structure composed of hierarchical directories and files, like a computer system such as a UNIX system (UNIX is a registered trademark). A file can be uniquely identified by specifying an absolute path (storage directory + file name).
The file name of a certain file stored in the failure analysis information collecting apparatus 1 which is a computer system in this embodiment is “syslog.log”, and the storage directory of this file is “/ var / adm / syslog /”. The absolute path of this file is "/var/adm/syslog/syslog.log".
Each file holds the last update date as a value, and the system can refer to it at any time.

運用端末2は、所定のフォーマットに基づいて、入力パラメータ21を作成し、障害解析情報採取装置1に送付する機能を有する。
入力パラメータ受付部11は、運用端末2から所定のフォーマットの入力パラメータ21を受け取り、パラメータ解釈部12に渡す機能を有する。
The operation terminal 2 has a function of creating an input parameter 21 based on a predetermined format and sending it to the failure analysis information collection device 1.
The input parameter reception unit 11 has a function of receiving an input parameter 21 having a predetermined format from the operation terminal 2 and passing it to the parameter interpretation unit 12.

パラメータ解釈部12は、入力パラメータ受付部11から入力パラメータ21を受け取り、差分管理DB121に問い合わせを行い、必要に応じて採取する情報の格納場所をシステム固有の値に変換するなどをした変換パラメータ22を生成する。   The parameter interpretation unit 12 receives the input parameter 21 from the input parameter reception unit 11, makes an inquiry to the difference management DB 121, and converts the storage location of the information to be collected as necessary into a system-specific value. Is generated.

スクリプト生成部13はパラメータ解釈部12から変換パラメータ22を受け取り、受け取ったパラメータを元にして情報採取スクリプト131を生成する。   The script generation unit 13 receives the conversion parameter 22 from the parameter interpretation unit 12, and generates an information collection script 131 based on the received parameter.

スクリプト実行部14は情報採取スクリプト131を実行し、必要な情報を採取する。   The script execution unit 14 executes the information collection script 131 and collects necessary information.

入力パラメータ21は、図2に示すように、種別211、デフォルト名212、オプションA213、オプションB214を含む。   As shown in FIG. 2, the input parameter 21 includes a type 211, a default name 212, an option A213, and an option B214.

ここで、種別211には、「コマンド実行」または「ログファイル」または「設定ファイル」を指定する。
採取すべき情報は、大きく分けてコマンド実行の結果とログファイルに大別される。
種別に応じてデフォルト名212、オプションA213、オプションB214に入力される値は異なるので、以下、種別ごとに説明する。
Here, “command execution”, “log file”, or “setting file” is designated as the type 211.
The information to be collected is roughly divided into command execution results and log files.
Since the values input to the default name 212, option A213, and option B214 differ depending on the type, each type will be described below.

種別211が「コマンド実行」の場合、デフォルト名212には該当コマンド名、オプションA213には該当コマンドのオプション、オプションB214には出力先ファイル名を記載する。オプションA213は空欄でも構わないが、オプションB214の出力先ファイル名は必須項目とする。例えば、「ls _l」のコマンド実行結果を「ls.log」というファイル名で出力したい場合は、種別211=「コマンド実行」、デフォルト名212=「ls」、オプションA213=「-l」、オプションB214=「ls.log」となる。   When the type 211 is “command execution”, the default command 212 describes the corresponding command name, the option A 213 describes the command option, and the option B 214 describes the output destination file name. The option A213 may be blank, but the output destination file name of the option B214 is an essential item. For example, to output the command execution result of “ls_l” with the file name “ls.log”, type 211 = “command execution”, default name 212 = “ls”, option A213 = “-l”, option B214 = “ls.log”.

種別211が「ログファイル」である場合、デフォルト名212には、該当ファイル名、オプションA213にはログの取得開始時間、オプションB214には、ログの取得終了時間を記載する。
ここで、ログファイルは常時、更新が行われるファイルで時間やファイルサイズなどでローテーションされることとする。
例えば、障害発生時間が「2008/11/7 20:15」であるため、障害発生の前後10分のログを取得したい場合は、オプションA213には「2008/11/7 20:05」、オプションB214には「2008/11/7 20:25」を記載する。
When the type 211 is “log file”, the default name 212 describes the corresponding file name, the option A213 describes the log acquisition start time, and the option B214 describes the log acquisition end time.
Here, it is assumed that the log file is constantly updated and is rotated according to time, file size, and the like.
For example, since the failure occurrence time is “2008/11/7 20:15”, and it is desired to obtain a log of 10 minutes before and after the failure occurrence, the option A213 contains “2008/11/7 20:05” B214 describes “2008/11/7 20:25”.

また、オプションA213、オプションB214は片方あるいは両方が空欄でも構わない。空欄の場合は開始時間、終了時間がそれぞれ無しとなる。例えば、両方が空欄の場合は最新ログファイルおよびローテートされた全ログファイルを取得するという意味となる。   One or both of option A 213 and option B 214 may be blank. When blank, there is no start time and no end time. For example, if both are blank, it means that the latest log file and all rotated log files are acquired.

種別211が「設定ファイル」の場合は、デフォルト名212には該当ファイル名、オプションA213、B214は空欄とする。   When the type 211 is “setting file”, the default name 212 is the corresponding file name, and the options A213 and B214 are blank.

差分管理DB121は、図3および4に示すように、システム固有名管理テーブル122とログローテートルール管理テーブル123の2つを含む。   The difference management DB 121 includes two systems, a system unique name management table 122 and a log rotation rule management table 123, as shown in FIGS.

システム固有名管理テーブル122は、デフォルト名1221とシステム固有名1222の対応表となっている。システム固有名1222はコマンドまたはファイルの絶対パス(システムで一意の値)である。   The system unique name management table 122 is a correspondence table of default names 1221 and system unique names 1222. The system unique name 1222 is an absolute path (unique value in the system) of a command or file.

パラメータ解釈部12は、入力パラメータのデフォルト名212とシステム固有名管理テーブルのデフォルト名1221を参照し、一致するものがあればシステム固有名1222を、一致するものがなければ入力パラメータのデフォルト名212を値として変換パラメータ22を出力する。また、デフォルト名1221とシステム固有名1222はN:1の関係でも構わない。   The parameter interpretation unit 12 refers to the default name 212 of the input parameter and the default name 1221 of the system unique name management table, and if there is a match, the system unique name 1222 is found, and if there is no match, the default name 212 of the input parameter. The conversion parameter 22 is output using as a value. Further, the default name 1221 and the system unique name 1222 may have an N: 1 relationship.

例えば、「syslog」は略語で、正式には「/var/adm/syslog/syslog.log」のことを表し、システム固有名が「/var2/adm/syslog/syslog.log」であった場合、システム固有名管理テーブル122には、
「syslog」→「/var2/adm/syslog/syslog.log」
および
「/var/adm/syslog/syslog.log」→「/var2/adm/syslog/syslog.log」
の2行が登録されており、入力パラメータがどちらの場合も変換後の値は1つに定まる。略語による入力を許すことによりオペレータの入力パラメータの入力に関する負荷を軽減することができる。
For example, if `` syslog '' is an abbreviation, it officially means `` /var/adm/syslog/syslog.log '' and the system specific name is `` /var2/adm/syslog/syslog.log '' In the system unique name management table 122,
"Syslog"->"/var2/adm/syslog/syslog.log"
And `` /var/adm/syslog/syslog.log '' → `` /var2/adm/syslog/syslog.log ''
These two lines are registered, and the value after conversion is determined to be one regardless of the input parameter. By allowing input by abbreviations, it is possible to reduce the load related to input of operator input parameters.

ローテートログ管理テーブル123は、ログファイル名1231とローテートログ格納場所1232の対応表となっている。ログファイル名1231は、絶対パス(システムで一意の値)である。
ローテートログ格納場所1232は、1つのログファイルに対して1つとし、あるログファイルが複数回ローテートされた場合は、同一ディレクトリに異なるファイル名で格納されるものとする。
The rotation log management table 123 is a correspondence table of log file names 1231 and rotation log storage locations 1232. The log file name 1231 is an absolute path (a unique value in the system).
The rotation log storage location 1232 is one for each log file, and when a certain log file is rotated a plurality of times, it is stored with different file names in the same directory.

また、該当ディレクトリには、該当ログファイルのローテートログ以外のファイルは格納されないものとする。
更に、種別が「ログファイル」であるとき、ローテートログ管理テーブル123が参照され、該当ログファイル1231のローテートログ格納場所1232を変換パラメータ1222に追加する。
Further, it is assumed that no files other than the rotation log of the corresponding log file are stored in the corresponding directory.
Further, when the type is “log file”, the rotation log management table 123 is referred to, and the rotation log storage location 1232 of the corresponding log file 1231 is added to the conversion parameter 1222.

図5を参照すると、変換パラメータ22は種別221、システム固有名222、オプションA223、オプションB224、ローテートログ格納場所225を含む。   Referring to FIG. 5, the conversion parameter 22 includes a type 221, a system unique name 222, an option A 223, an option B 224, and a rotation log storage location 225.

種別221、オプションA223、オプションB224は入力パラメータ21の値がそのまま入る。   The value of the input parameter 21 is entered as it is in the type 221, option A223, and option B224.

システム固有名222はパラメータ解釈部12がシステム固有名管理テーブル122を参照して変換した値が入る。   The system unique name 222 is a value converted by the parameter interpretation unit 12 with reference to the system unique name management table 122.

ローテートログ格納場所225には、パラメータ解釈部12がローテートログ管理テーブル123を参照して追加した値が入る。このため、種別221が「コマンド実行」または「設定ファイル」の場合は空欄となる。   A value added by the parameter interpretation unit 12 with reference to the rotation log management table 123 is entered in the rotation log storage location 225. For this reason, it is blank when the type 221 is “command execution” or “setting file”.

情報採取スクリプト131は、スクリプト生成部13が変換パラメータ22に基づいて作成されたスクリプトである。このスクリプトをスクリプト実行部14が実行をすることにより必要な情報が採取されることになる。   The information collection script 131 is a script created by the script generation unit 13 based on the conversion parameter 22. Necessary information is collected when the script execution unit 14 executes this script.

以上のような構成とすることにより、本実施形態では、ログのローテート間隔やローテートされたログファイル、システムの設定ファイル等の格納場所などがシステム毎に異なっている場合でも、例えば、コンピュータシステムの障害にかかる障害解析情報を効率的に採取することができる。   With this configuration, in this embodiment, even when the rotation interval of the log, the storage location of the rotated log file, the system setting file, and the like differ from system to system, for example, the computer system It is possible to efficiently collect failure analysis information related to a failure.

また、本実施形態では、パラメータシートに必要なログ名やコマンド名の入力を行う際に、ファイルの格納場所やログファイルのローテーション先の情報などのシステム固有の設定を考慮することなく、障害解析に必要な情報をパラメータシートと情報採取スクリプトを用いることで効率的に採取することができる。   In this embodiment, when inputting the log name and command name necessary for the parameter sheet, failure analysis is performed without considering system-specific settings such as file storage location and log file rotation destination information. The information necessary for data collection can be efficiently collected using a parameter sheet and an information collection script.

[実施形態の動作説明]
次に、本実施形態の動作について、その概略を説明する。
差分管理DB121が、障害解析情報採取装置1および運用端末2それぞれに固有のファイルシステム設定の差分を示すシステム差分情報を保持し、入力パラメータ21内で示された情報のファイル名、ファイルの格納場所を示すファイルアドレス、およびファイルの移動元および移動先を示す移動情報を、前記差分管理部のシステム差分情報に基づき変換し(パラメータ変換工程)、スクリプト生成部13が、変換パラメータ22に基づき前記障害解析を行うための情報(障害解析情報)の取得手順を示す情報採取スクリプト131を生成し(スクリプト生成工程)、スクリプト実行部14が、情報採取スクリプトを実行して障害解析情報を採取する(障害解析情報取得工程)。
[Description of Operation of Embodiment]
Next, an outline of the operation of this embodiment will be described.
The difference management DB 121 holds system difference information indicating differences in file system settings unique to each of the failure analysis information collection device 1 and the operation terminal 2, and the file name of the information indicated in the input parameter 21 and the storage location of the file Is converted based on the system difference information of the difference management unit (parameter conversion process), and the script generation unit 13 converts the failure based on the conversion parameter 22. An information collection script 131 indicating an acquisition procedure of information for analysis (failure analysis information) is generated (script generation process), and the script execution unit 14 executes the information collection script to collect failure analysis information (failure Analysis information acquisition process).

ここで、上記パラメータ変換工程、スクリプト生成工程、および障害解析情報取得工程については、その実行内容をプログラム化し、コンピュータに実行させるように構成してもよい。   Here, with respect to the parameter conversion step, the script generation step, and the failure analysis information acquisition step, the execution contents may be programmed and executed by a computer.

次に、本実施形態の動作について、図3のフローチャートに基づいて詳説する。   Next, the operation of this embodiment will be described in detail based on the flowchart of FIG.

まず、運用端末2が、図2に示すように、入力パラメータ21を入力生成を行い、障害解析情報採取装置1に対して入力パラメータ21を入力する。
ここでは、運用端末2の運用オペレータ(、あるいは調査解析部門)が、運用端末2を利用して入力を行ってもよい。
First, as shown in FIG. 2, the operation terminal 2 generates an input parameter 21 and inputs the input parameter 21 to the failure analysis information collection device 1.
Here, the operation operator (or the survey analysis department) of the operation terminal 2 may perform input using the operation terminal 2.

次に、入力パラメータ受付部11が、図6に示すように、運用端末2から入力パラメータ21を受け取り(ステップS061)、パラメータ解釈部12に渡す処理を行う(ステップS062)。   Next, as shown in FIG. 6, the input parameter reception unit 11 receives the input parameter 21 from the operation terminal 2 (step S061), and performs a process of passing it to the parameter interpretation unit 12 (step S062).

次に、パラメータ解釈部12の動作について、図7のフローチャートに基づき説明する。
パラメータ解釈部12は、入力パラメータ受付部11から入力パラメータ21を受け取り(ステップS071)、構文チェックを行う(ステップS072)。
ここで、エラーがあった場合は(エラーあり)、運用端末2に対して入力エラーを返す(ステップS073)。
一方、入力パラメータ21は、入力エラーがない場合(エラーなし)には、差分管理DB121に対する問い合わせを行う(ステップS074)。
ここで、パラメータ解釈部12は、システム固有名チェックを行い、デフォルト名をシステム固有名に変換した変換パラメータ22を生成する(ステップS075:システム固有名チェック)。
Next, the operation of the parameter interpretation unit 12 will be described based on the flowchart of FIG.
The parameter interpretation unit 12 receives the input parameter 21 from the input parameter reception unit 11 (step S071) and performs a syntax check (step S072).
If there is an error (there is an error), an input error is returned to the operation terminal 2 (step S073).
On the other hand, if there is no input error (no error), the input parameter 21 makes an inquiry to the difference management DB 121 (step S074).
Here, the parameter interpretation unit 12 performs a system unique name check and generates a conversion parameter 22 in which a default name is converted into a system unique name (step S075: system unique name check).

次に、パラメータ解釈部12は、種別211の判定を行い(ステップS076)、生成した変換パラメータ22がログファイルであれば更にログローテートチェックを行い、変換パラメータ22にローテートログ格納場所を追記する(ステップS077: ログローテートチェック)。
次に、パラメータ解釈部12は、最終的にできあがった変換パラメータ22をスクリプト生成部13に渡す(ステップS078)。
Next, the parameter interpretation unit 12 determines the type 211 (step S076), and if the generated conversion parameter 22 is a log file, further performs a log rotation check, and adds the rotation log storage location to the conversion parameter 22 ( Step S077: Log rotation check).
Next, the parameter interpretation unit 12 passes the finally completed conversion parameter 22 to the script generation unit 13 (step S078).

ここで、上記システム固有名チェック(S075)について、図8のフローチャートに基づき説明する。   Here, the system unique name check (S075) will be described with reference to the flowchart of FIG.

パラメータ解釈部12は、システム固有名管理テーブル122を参照し(S081)、入力パラメータ21のデフォルト名212とシステム固有名管理テーブル122のデフォルト名1221との比較参照を行う(ステップS082)。
この比較参照の結果(ステップS083)、一致しない場合(NO)、パラメータ解釈部12は、変換パラメータ22のシステム固有名222に入力パラメータ21のデフォルト名2122を転記する。
一方、比較参照の結果一致する場合(YES)、パラメータ解釈部12は、変換パラメータ22のシステム固有名222にシステム固有名管理テーブル122のシステム固有名122を転記する(ステップS085)。
The parameter interpretation unit 12 refers to the system unique name management table 122 (S081), and compares and references the default name 212 of the input parameter 21 and the default name 1221 of the system unique name management table 122 (step S082).
As a result of this comparison reference (step S083), when they do not match (NO), the parameter interpretation unit 12 transcribes the default name 2122 of the input parameter 21 to the system unique name 222 of the conversion parameter 22.
On the other hand, if they match as a result of the comparison reference (YES), the parameter interpretation unit 12 transfers the system unique name 122 of the system unique name management table 122 to the system unique name 222 of the conversion parameter 22 (step S085).

ここで、パラメータ解釈部12による、上記ログローテートチェック(ステップS077)について、図9のフローチャートに基づき説明する。   Here, the log rotation check (step S077) by the parameter interpretation unit 12 will be described with reference to the flowchart of FIG.

パラメータ解釈部12は、ローテートログ管理テーブル123を参照し(ステップS091)、変換パラメータ22のデフォルト名222とローテートログ管理テーブル123のログファイル名1231を比較する(ステップS092)。
比較した結果(S093)、一致しない場合は(NO)、特に対処せず変換パラメータ22のローテートログ格納場所は空欄のままとし(ステップS094)、一致する場合は(YES)、変換パラメータ22のローテートログ格納場所225にローテートログ管理テーブル123のローテートログ格納場所1232を転記する(ステップS095)。
The parameter interpretation unit 12 refers to the rotation log management table 123 (step S091), and compares the default name 222 of the conversion parameter 22 with the log file name 1231 of the rotation log management table 123 (step S092).
As a result of the comparison (S093), if they do not match (NO), no special action is taken and the rotation log storage location of the conversion parameter 22 is left blank (step S094). The rotation log storage location 1232 of the rotation log management table 123 is transferred to the log storage location 225 (step S095).

パラメータ解釈部12は、図7〜図9に示すように動作することで、入力パラメータ21(図2)を変換パラメータ22(図5)に変換し、当該変換パラメータ22をスクリプト生成部13に渡す。   The parameter interpretation unit 12 operates as shown in FIGS. 7 to 9 to convert the input parameter 21 (FIG. 2) into a conversion parameter 22 (FIG. 5), and passes the conversion parameter 22 to the script generation unit 13. .

次に、スクリプト生成部13の動作処理ステップについて、図10のフローチャートに基づき説明する。
まず、スクリプト生成部13は、パラメータ解釈部21より変換パラメータ22を受け取り(ステップS101)、コマンド実行スクリプト生成する(ステップS102)。
次いで、スクリプト生成部13は、ログファイル採取スクリプト生成する(ステップS103)と共に、設定ファイル採取スクリプトの生成(ステップS104)を行う。
Next, operation processing steps of the script generation unit 13 will be described based on the flowchart of FIG.
First, the script generation unit 13 receives the conversion parameter 22 from the parameter interpretation unit 21 (step S101), and generates a command execution script (step S102).
Next, the script generation unit 13 generates a log file collection script (step S103) and also generates a setting file collection script (step S104).

更に、スクリプト生成部13は、各スクリプトで採取したコマンド実行結果、ログファイル、設定ファイルをアーカイブしてまとめるスクリプトを生成し(ステップS105)、最終的にできた情報採取スクリプト131をスクリプト実行部14に渡す(ステップS106)。   Further, the script generation unit 13 generates a script for archiving and collecting command execution results, log files, and setting files collected by each script (step S105), and finally creates an information collection script 131 that is generated by the script execution unit 14. (Step S106).

ここで、まず、図11に示すフローチャートに基づきコマンド実行スクリプト生成(ステップS102)について説明し、次いで、図12に示すフローチャートに基づき、ログファイル採取スクリプト生成(ステップS103)について説明する。   First, command execution script generation (step S102) will be described based on the flowchart shown in FIG. 11, and then log file collection script generation (step S103) will be described based on the flowchart shown in FIG.

また、それに次いで、図13に示すフローチャートに基づき、設定ファイル採取スクリプト生成(ステップS104)は図14でそれぞれ更に詳細なフローを説明する。
図14に示すフローチャートに基づき、設定ファイル採取スクリプト生成(ステップS104)について詳説する。
Further, the setting file collection script generation (step S104) will be described with reference to the flowchart shown in FIG.
Based on the flowchart shown in FIG. 14, the configuration file collection script generation (step S104) will be described in detail.

まず、スクリプト生成部13による、上記コマンド実行スクリプト生成(ステップS102)の動作について、図11のフローチャートに基づき説明する。
スクリプト生成部13は、種別221の判定を行う(ステップS111)。
このとき、種別221がコマンド実行である場合は、オプションA223の値を判定し(ステップS112)、空欄でない場合には、システム固有名222、オプションA223、オプションB224をパラメータとしてコマンド実行スクリプトを生成する(ステップS113)。
一方、空欄の場合には、システム固有名222、オプションB224をパラメータとしてコマンド実行スクリプトを生成する(ステップS114)。
First, the operation of the command execution script generation (step S102) by the script generation unit 13 will be described based on the flowchart of FIG.
The script generation unit 13 determines the type 221 (step S111).
At this time, if the type 221 is command execution, the value of the option A 223 is determined (step S112). If the type 221 is not blank, a command execution script is generated using the system unique name 222, option A 223, and option B 224 as parameters. (Step S113).
On the other hand, if it is blank, a command execution script is generated using the system unique name 222 and option B224 as parameters (step S114).

次に、図12のフローチャートに基づいて、スクリプト生成部13による、上記ログファイル採取スクリプト(ステップS103)の動作について詳説する。
まず、スクリプト生成部13は、種別221の判定を行う(ステップS121)。
このとき、種別221がログファイルである場合には、予め設定されたローテートログ採取アルゴリズムに基づき、ログファイル採取スクリプトを生成する(ステップS122)。
尚、ローテートログ採取アルゴリズムについては、図13に基づき後述する。
Next, the operation of the log file collection script (step S103) by the script generation unit 13 will be described in detail based on the flowchart of FIG.
First, the script generation unit 13 determines the type 221 (step S121).
At this time, if the type 221 is a log file, a log file collection script is generated based on a preset rotation log collection algorithm (step S122).
The rotation log collection algorithm will be described later with reference to FIG.

ここで、図13のフローチャートに基づいて、(スクリプト生成部13の)ローテートログ採取アルゴリズムについて詳説する。
まず、ローテートログ格納場所225の値の判定を行う。
このとき、空欄である場合はシステム固有名222のログを採取対象ログファイルリストに追加する(ステップS132)。
記載がある場合は、取得対象の候補となる全ログ、すなわちシステム固有名222のログとローテートログ格納場所225以下の全ファイルを最終更新日時の昇順に並べ替えし、取得対象ログファイルリストに追加する(ステップS133)。
Here, the rotation log collection algorithm (of the script generation unit 13) will be described in detail based on the flowchart of FIG.
First, the value of the rotation log storage location 225 is determined.
At this time, if it is blank, the log with the system unique name 222 is added to the collection target log file list (step S132).
If there is a description, all logs that are candidates for acquisition, that is, logs with the system unique name 222 and all files under the rotation log storage location 225 are sorted in ascending order of the last update date and added to the acquisition target log file list (Step S133).

次に、オプションA223の値を判定する(ステップS134)。
記載がある場合は、最終更新日時がオプションA223より早い時間のログファイルを取得対象ファイルリストから削除する(ステップS135)。
次に、オプションB224の値の判定を行う(ステップS136)。
Next, the value of the option A 223 is determined (step S134).
If there is a description, the log file whose last update date and time is earlier than the option A223 is deleted from the acquisition target file list (step S135).
Next, the value of the option B 224 is determined (step S136).

記載がある場合は、最終更新日時がオプションB224より遅い時間のログファイルについて、最もオプションB224に近い時間のログファイル以外を取得対象ログファイルリストから削除する(ステップS137)。
以上に示す動作により、取得対象ファイルリストにはオプションA223の時間からオプションB224の時間を含むログファイルのみとなり、リスト上の全ログファイルを取得すればよいことになる(ステップS138)。
If there is a description, with respect to the log file with the latest update date and time later than the option B224, the log file other than the time closest to the option B224 is deleted from the acquisition target log file list (step S137).
By the operation described above, only the log files including the time of option B 224 to the time of option B 224 are included in the acquisition target file list, and all log files on the list may be acquired (step S138).

次に、ローテートログ採取アルゴリズムを適用したときの取得対象ファイルリストの遷移例について、図16に基づき説明する。   Next, a transition example of the acquisition target file list when the rotate log collection algorithm is applied will be described with reference to FIG.

尚、オプションAは13:30、オプションBは15:30とする。
まず、ステップS133の動作により、所得対象ログファイルリストがL161のようになったとする。
各ログファイルには1つ前のログの最終更新日時〜自分の最終更新日時のログが記録されていることになる。
Option A is 13:30 and Option B is 15:30.
First, it is assumed that the income target log file list becomes L161 by the operation in step S133.
In each log file, a log from the last update date / time of the previous log to its own last update date / time is recorded.

例えば、ログ1は16:00〜17:00のログが記録されていることになる。次にステップS135の操作を行うと、最終更新日時が13:30以前のログファイルをリストから削除することになるので、ログ5、ログ6が削除され取得対象ログファイルリストはL162のようになる。   For example, the log 1 is recorded from 16:00 to 17:00. Next, when the operation in step S135 is performed, the log file whose last update date and time is 13:30 or earlier is deleted from the list. Therefore, the log 5 and the log 6 are deleted, and the acquisition target log file list becomes L162. .

次に、ステップS137の操作を行うと、最終更新日時が15:30より遅い時間のログファイルのうち、最も15:30に近いログファイル(=ログ2)以外を取得対象ログファイルリストから削除することになるので、ログ0、ログ1が削除され、取得対象ログファイルリストはL163のようにログ2、ログ3、ログ4が残ることになる。これらのログには13:00〜16:00のログが含まれているので13:30〜15:30のログという条件を満たすことになる。   Next, when the operation in step S137 is performed, out of the log files whose last update date and time is later than 15:30, those other than the log file closest to 15:30 (= log 2) are deleted from the acquisition target log file list. Therefore, log 0 and log 1 are deleted, and log 2, log 3, and log 4 remain in the acquisition target log file list as in L163. Since these logs include logs from 13:00 to 16:00, the condition of logs from 13:30 to 15:30 is satisfied.

ここで、図14のフローチャートに基づいて、上記設定ファイル採取スクリプト(ステップS104)の動作について詳説する。   Here, the operation of the setting file collection script (step S104) will be described in detail based on the flowchart of FIG.

まず、種別221の判定を行う(ステップS141)。種別221がコマンド実行ファイルである場合はシステム固有名222をパラメータとして設定ファイル採取スクリプトを生成する(ステップS142)。   First, the type 221 is determined (step S141). If the type 221 is a command execution file, a setting file collection script is generated using the system unique name 222 as a parameter (step S142).

次に、スクリプト実行部14の動作フローについて、図15のフローチャートに基づき説明する。
スクリプト生成部13より情報採取スクリプト131を受け取り(ステップS151)、情報採取スクリプト131を実行して必要なログを採取する(ステップS156)。
Next, the operation flow of the script execution unit 14 will be described based on the flowchart of FIG.
The information collection script 131 is received from the script generation unit 13 (step S151), and the information collection script 131 is executed to collect necessary logs (step S156).

以上のように、本実施形態では、運用オペレータ、あるいは調査解析部門は、システム固有な情報やログのローテートを考慮する必要なく、特定のパラメータを入力することにより、例えば、障害解析情報などを、迅速的且つ正確に採取を行うことができる。   As described above, in this embodiment, the operation operator or the research analysis department does not need to consider system-specific information or log rotation, and by inputting specific parameters, for example, failure analysis information, Collection can be performed quickly and accurately.

また、本実施形態では、スクリプトによる自動実行により、オペレーションミスや読み替えによる判断ミスが軽減されるため、性格に必要な情報を採取することができる。
さらには、情報採取が迅速且つ正確に行うことが可能になったことにより、コンピュータシステムにおける障害解析ならびに復旧をすばやく行うことができる。
Further, in the present embodiment, an operation error and a determination error due to rereading are reduced by automatic execution by a script, so that information necessary for personality can be collected.
Furthermore, since it is possible to collect information quickly and accurately, failure analysis and recovery in a computer system can be performed quickly.

本発明は、コンピュータ端末が相互に接続されたローカルエリアネットワークや広域ネットワークなどのネットワークシステムにおける障害解析を行うシステムに対して有用に適用することができる。   The present invention can be effectively applied to a system that performs failure analysis in a network system such as a local area network or a wide area network in which computer terminals are connected to each other.

1 障害解析情報採取装置
2 運用端末(外部端末)
11 入力パラメータ受付部
121 差分管理データベース
13 スクリプト生成部
14 スクリプト実行部
1 Failure analysis information collection device 2 Operation terminal (external terminal)
DESCRIPTION OF SYMBOLS 11 Input parameter reception part 121 Difference management database 13 Script generation part 14 Script execution part

Claims (4)

外部端末から障害にかかる情報を示す入力パラメータを受け付ける入力パラメータ受付部を備えた障害解析情報採取装置であって、
当該障害解析情報採取装置および前記外部端末それぞれに固有のファイルシステム設定の差分を示すシステム差分情報を保持する差分管理部と、
前記入力パラメータ内情報のファイル名、ファイルの格納場所を示すファイルアドレス、およびファイルの移動元および移動先を示す移動情報が含まれている場合に、前記差分管理部のシステム差分情報に基づいてこれらの情報を変換するパラメータ解釈部と、
前記変換された入力パラメータに基づき前記障害解析用の情報の取得手順を示す情報採取スクリプトを生成する情報採取スクリプト生成部と、
前記生成された情報採取スクリプトを実行して前記障害解析用の情報を採取するスクリプト実行手段と、
を備えると共に、
前記パラメータ解釈部が、前記入力パラメータがローテーションの行われているログファイルに関するものである場合に、前記システム差分情報に含まれるログローテートルールに基づいて当該ログファイルの格納場所を前記変換された入力パラメータに含めるログローテートチェック機能を有することを特徴とする障害解析情報採取装置。
A failure analysis information collection device including an input parameter receiving unit that receives an input parameter indicating information related to a failure from an external terminal,
A difference management unit that holds system difference information indicating a difference in file system settings unique to each of the failure analysis information collection device and the external terminal;
When the input parameter includes a file name of the information, a file address indicating the storage location of the file, and movement information indicating the movement source and destination of the file, it is based on the system difference information of the difference management unit. A parameter interpreter that converts the information ,
An information collection script generating unit that generates an information collection script indicating an acquisition procedure of the information for failure analysis based on the converted input parameter;
Script execution means for collecting the information for failure analysis by executing the generated information collection script;
Provided with a,
When the parameter interpretation unit relates to the log file being rotated, the storage location of the log file based on the log rotation rule included in the system difference information is the converted input. A failure analysis information collection device having a log rotation check function included in a parameter .
前記請求項1に記載の障害解析情報採取装置において、
前記パラメータ解釈部は、前記入力パラメータ内で示された情報内容が更新される情報である場合、予め設定された所要時間内で更新された情報の更新前の情報および更新後の情報それぞれを記憶する更新情報記憶手段を備えたことを特徴とする障害解析採取装置。
In the failure analysis information collection device according to claim 1,
When the information content indicated in the input parameter is information to be updated, the parameter interpretation unit stores information before update and information after update of information updated within a preset required time. A failure analysis and sampling device comprising update information storage means for performing
外部端末から障害にかかる情報を示す入力パラメータを受け付ける前記入力パラメータ受付部を備えた障害解析情報採取装置にあって、前記障害解析用の障害解析情報を採取する障害解析情報採取方法であって、
前記障害解析情報採取装置および前記運用端末それぞれに固有のファイルシステム設定の差分を示すシステム差分情報を保持し、
前記入力パラメータ内で示された情報のファイル名、ファイルの格納場所を示すファイルアドレス、およびファイルの移動元および移動先を示す移動情報が含まれている場合に、前記差分管理部のシステム差分情報に基づいてこれらの情報を変換し、
前記変換された入力パラメータに基づき前記障害解析用の情報の取得手順を示す情報採取スクリプトを生成し、
前記生成された情報採取スクリプトを実行して前記障害解析用の情報を採取すると共に、
前記入力パラメータの移動情報を変換する処理が、前記入力パラメータがローテーションの行われているログファイルに関するものである場合に、前記システム差分情報に含まれるログローテートルールに基づいて当該ログファイルの格納場所を前記変換された入力パラメータに含めるものであることを特徴とする障害解析情報採取方法。
In the failure analysis information collecting apparatus including the input parameter receiving unit that receives an input parameter indicating information related to a failure from an external terminal, the failure analysis information collecting method for collecting failure analysis information for the failure analysis,
Holds system difference information indicating differences in file system settings specific to each of the failure analysis information collection device and the operation terminal,
The system difference information of the difference management unit when the file name of the information indicated in the input parameter, the file address indicating the storage location of the file, and the movement information indicating the source and destination of the file are included. convert these information based on the,
Generate an information collection script indicating an acquisition procedure of the information for failure analysis based on the converted input parameter,
Collecting the information for failure analysis by executing the generated information collection script ,
The storage location of the log file based on the log rotation rule included in the system difference information when the process of converting the input parameter movement information relates to a log file in which the input parameter is rotated Is included in the converted input parameter .
外部端末から障害にかかる情報を示す入力パラメータを受け付ける前記入力パラメータ受付部を備えた障害解析情報採取装置にあって、前記障害解析用の障害解析情報を採取するための障害解析情報採取プログラムであって、
前記障害解析情報採取装置および前記運用端末それぞれに固有のファイルシステム設定の差分を示すシステム差分情報に基づいて、前記入力パラメータ内で示された情報のファイル名、ファイルの格納場所を示すファイルアドレス、およびファイルの移動元および移動先を示す移動情報が含まれている場合にこれらの情報をそれぞれ変換するパラメータ変換機能と、
前記変換された入力パラメータに基づき前記障害解析用の情報の取得手順を示す情報採取スクリプトを生成するスクリプト生成機能と、
前記生成された情報採取スクリプトを実行して前記障害解析用の情報を採取する処理を行う障害解析情報取得処理機能とを、コンピュータに実行させるものであると共に、
前記パラメータ変換機能が、前記入力パラメータがローテーションの行われているログファイルに関するものである場合に、前記システム差分情報に含まれるログローテートルールに基づいて当該ログファイルの格納場所を前記変換された入力パラメータに含めるログローテートチェック機能を含むことを特徴とした障害解析情報採取プログラム。
A failure analysis information collecting apparatus including the input parameter receiving unit that receives an input parameter indicating information relating to a failure from an external terminal, the failure analysis information collecting program for collecting the failure analysis information for failure analysis. And
Based on system difference information indicating a difference in file system settings specific to each of the failure analysis information collection device and the operation terminal, a file name of information indicated in the input parameter, a file address indicating a file storage location, And a parameter conversion function that converts each of the information when the movement information indicating the source and destination of the file is included ,
A script generation function for generating an information collection script indicating an acquisition procedure of the information for failure analysis based on the converted input parameter;
The computer executes the failure analysis information acquisition processing function for executing the generated information collection script and collecting the information for failure analysis , and
When the parameter conversion function is related to a log file in which the input parameter is being rotated, the converted input of the storage location of the log file based on a log rotation rule included in the system difference information Failure analysis information collection program characterized by including a log rotation check function included in parameters .
JP2009092494A 2009-04-06 2009-04-06 Failure analysis information collection device, failure analysis information collection method, failure analysis information collection program Expired - Fee Related JP5375281B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009092494A JP5375281B2 (en) 2009-04-06 2009-04-06 Failure analysis information collection device, failure analysis information collection method, failure analysis information collection program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009092494A JP5375281B2 (en) 2009-04-06 2009-04-06 Failure analysis information collection device, failure analysis information collection method, failure analysis information collection program

Publications (2)

Publication Number Publication Date
JP2010244306A JP2010244306A (en) 2010-10-28
JP5375281B2 true JP5375281B2 (en) 2013-12-25

Family

ID=43097258

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009092494A Expired - Fee Related JP5375281B2 (en) 2009-04-06 2009-04-06 Failure analysis information collection device, failure analysis information collection method, failure analysis information collection program

Country Status (1)

Country Link
JP (1) JP5375281B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5901962B2 (en) * 2011-12-26 2016-04-13 株式会社日立システムズ Command processing system and method
JP6040837B2 (en) * 2013-03-28 2016-12-07 富士通株式会社 Information processing apparatus management method and program
JP2016071400A (en) * 2014-09-26 2016-05-09 株式会社野村総合研究所 Test execution device, test execution method, and computer program
JP6841228B2 (en) 2015-12-04 2021-03-10 日本電気株式会社 File information collection system, method and program

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08263330A (en) * 1995-03-20 1996-10-11 Fujitsu Ltd Log storage system
JP2922450B2 (en) * 1995-10-26 1999-07-26 日立電子サービス株式会社 How to collect LAN terminal information
JP2004185189A (en) * 2002-12-02 2004-07-02 Sankyo Seiki Mfg Co Ltd Log record data management method
JP2005293016A (en) * 2004-03-31 2005-10-20 Toshiba Solutions Corp Log file monitoring program, log file monitoring method, computer system
JP2006221439A (en) * 2005-02-10 2006-08-24 Hitachi Software Eng Co Ltd Method for storing log
JP2008027022A (en) * 2006-07-19 2008-02-07 Hitachi Software Eng Co Ltd Fault data collection system
EP2097824B1 (en) * 2006-12-28 2017-05-24 Hewlett-Packard Enterprise Development LP Storing log data efficiently while supporting querying to assist in computer network security
JP2008198097A (en) * 2007-02-15 2008-08-28 Canon Inc Information processing device, control device, script processing method, storage medium, program

Also Published As

Publication number Publication date
JP2010244306A (en) 2010-10-28

Similar Documents

Publication Publication Date Title
CN108829560B (en) Data monitoring method and device, computer equipment and storage medium
JP5152206B2 (en) Patch candidate selection device, patch candidate selection program, and patch candidate selection method
US9569340B2 (en) Generating production server load activity for a test server
CN111651347B (en) Jump verification method, device, equipment and storage medium of test system
JP5375281B2 (en) Failure analysis information collection device, failure analysis information collection method, failure analysis information collection program
JP5430181B2 (en) Image forming apparatus, control method thereof, and program
JP2010170453A (en) Static web site construction method, static web site construction service providing method, dynamic/static conversion processor, and dynamic/static conversion processing program
US8327189B1 (en) Diagnosing an incident on a computer system using a diagnostics analyzer database
US12001324B2 (en) Operation pattern generation apparatus, operation pattern generation method and program
JP2009230618A (en) Specification creating program, device therefor, and method thereof
CN114245895A (en) Method for generating consistent representation for at least two log files
JP2009098706A (en) Device for supporting analysis of processing history, its system, and its program
WO2015064427A1 (en) Information collection system
JP2009237749A (en) Failure information collection method
JP4882498B2 (en) Operation management apparatus, operation management method, and program
CN107025166B (en) Method and system for collecting logs
CN117971605B (en) Automatic log information collection method and system based on database abnormality
CN119149620A (en) ETL full-increment dynamic mapping data integration system and method
CN115408070B (en) Automatic synchronization method for core parameters among different Linux operating systems
CN114937316B (en) Software fault detection method, device, equipment and medium
JP2008158934A (en) Analyzer control system
CN115981712A (en) Log acquisition method, device, computer equipment, and computer-readable storage medium
WO2015184750A1 (en) Data maintenance method and device of network element device
KR101956602B1 (en) Apparatus for collecting log data
JP2015043181A (en) Regression test supporting system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120307

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130423

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130424

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130619

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130909

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees