JP2021111041A - Construction device, construction program and construction method - Google Patents

Construction device, construction program and construction method Download PDF

Info

Publication number
JP2021111041A
JP2021111041A JP2020001371A JP2020001371A JP2021111041A JP 2021111041 A JP2021111041 A JP 2021111041A JP 2020001371 A JP2020001371 A JP 2020001371A JP 2020001371 A JP2020001371 A JP 2020001371A JP 2021111041 A JP2021111041 A JP 2021111041A
Authority
JP
Japan
Prior art keywords
setting
common
construction
storage unit
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2020001371A
Other languages
Japanese (ja)
Inventor
啓佑 志賀
Keisuke Shiga
啓佑 志賀
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.)
Hitachi Information and Telecommunication Engineering Ltd
Original Assignee
Hitachi Information and Telecommunication Engineering Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Information and Telecommunication Engineering Ltd filed Critical Hitachi Information and Telecommunication Engineering Ltd
Priority to JP2020001371A priority Critical patent/JP2021111041A/en
Publication of JP2021111041A publication Critical patent/JP2021111041A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide management technology for operations of increasing/decreasing the capacity of a device present in an existing environment.SOLUTION: A construction device includes: a collection setting storage unit that stores predetermined setting values for other devices; a common setting storage unit that stores common setting values common to others among the setting values; a non-common setting storage unit that stores non-common setting values other than the common setting values among the setting values; a setting collection unit that collects the setting values from the other devices via communication and causes them to be stored in the collection setting storage unit; a common setting identifying unit that calculates a predetermined index value for each setting value stored in the collection setting storage unit, identifies either the common setting value or the non-common setting value using the index value, and causes them to be stored in the common setting storage unit and the non-common setting storage unit; and a construction unit that constructs a construction object device different from the other devices using the common setting values and the non-common setting values.SELECTED DRAWING: Figure 1

Description

本発明は、構築装置、構築プログラムおよび構築方法に関する。 The present invention relates to a construction device, a construction program, and a construction method.

特許文献1には、OSまたはミドルウェアから抽出した設定パラメーターと、設計書から抽出した設定パラメーターとをそれぞれスプレッドシート上で整列し、互いに異なる部分をスプレッドシート上で強調表示する技術の開示がある。 Patent Document 1 discloses a technique in which a setting parameter extracted from an OS or middleware and a setting parameter extracted from a design document are aligned on a spreadsheet and different parts are highlighted on the spreadsheet.

特開2016−21195号公報Japanese Unexamined Patent Publication No. 2016-21195

上記特許文献1に記載された技術は、構築作業実施後にその作業ミスを検出することはできるが、既存の環境にある装置のキャパシティーの増減作業の管理に用いるには効果が薄い。 Although the technique described in Patent Document 1 can detect the work error after the construction work is carried out, it is not effective for managing the work of increasing or decreasing the capacity of the device in the existing environment.

本発明の目的は、既存の環境にある装置のキャパシティーの増減作業の管理技術を提供することにある。 An object of the present invention is to provide a technique for managing the work of increasing or decreasing the capacity of an apparatus in an existing environment.

本願は、上記課題の少なくとも一部を解決する手段を複数含んでいるが、その例を挙げるならば、以下のとおりである。上記課題を解決すべく、本発明の一態様に係る構築装置は、他の装置についての所定の設定値を記憶する収集設定記憶部と、前記設定値のうち他と共通する共通設定値を記憶する共通設定記憶部と、前記設定値のうち前記共通設定値を除く設定値である非共通設定値を記憶する非共通設定記憶部と、前記他の装置から通信を介して前記設定値を収集し前記収集設定記憶部に記憶させる設定収集部と、前記収集設定記憶部に記憶された前記設定値ごとに所定の指標値を算出し、該指標値を用いて前記共通設定値あるいは前記非共通設定値のいずれかを特定し、共通設定記憶部および前記非共通設定記憶部に記憶させる共通設定特定部と、前記共通設定値および前記非共通設定値を用いて前記他の装置とは異なる構築対象装置を構築する構築部と、を備えることを特徴とする。 The present application includes a plurality of means for solving at least a part of the above problems, and examples thereof are as follows. In order to solve the above problems, the construction device according to one aspect of the present invention stores a collection setting storage unit that stores predetermined setting values for other devices, and a common setting value that is common to the others among the setting values. The setting value is collected from the common setting storage unit, the non-common setting storage unit that stores the non-common setting value which is the setting value excluding the common setting value among the setting values, and the other device via communication. A predetermined index value is calculated for each of the setting collection unit to be stored in the collection setting storage unit and the setting value stored in the collection setting storage unit, and the common setting value or the non-common setting value is used using the index value. A construction different from the other device by specifying one of the set values and storing it in the common setting storage unit and the non-common setting storage unit, and using the common setting value and the non-common setting value. It is characterized by including a construction unit for constructing the target device.

また、上記の構築装置においては、前記設定収集部は、前記他の装置のうち所定の種類ごとに前記設定値を収集するものであってもよい。 Further, in the above-mentioned construction device, the setting collecting unit may collect the setting value for each predetermined type among the other devices.

また、上記の構築装置においては、前記設定収集部は、前記他の装置のうちサーバーのサービスごとに前記設定値を収集するものであってもよい。 Further, in the above-mentioned construction device, the setting collection unit may collect the setting value for each service of the server among the other devices.

また、上記の構築装置においては、前記共通設定特定部は、前記指標値として、同一とみなす所定の設定項目について設定値の出現頻度を用い、前記出現頻度が所定以上であれば前記共通設定値であると特定するものであってもよい。 Further, in the above-mentioned construction device, the common setting specifying unit uses the appearance frequency of the set value for a predetermined setting item regarded as the same as the index value, and if the appearance frequency is a predetermined value or more, the common set value. It may be specified as.

また、上記の構築装置においては、前記非共通設定値について、個別設定値を受け付ける個別設定受付部、を備えるものであってもよい。 Further, the above-mentioned construction device may include an individual setting receiving unit that receives individual setting values for the non-common setting values.

また、上記の構築装置においては、前記構築部が前記構築対象装置を構築する処理において用いる構築指示情報を、前記非共通設定値について受け付けた個別設定値と、前記共通設定値と、を用いて作成する構築指示情報作成部、を備えるものであってもよい。 Further, in the above-mentioned construction device, the individual setting value received for the non-common setting value and the common setting value are used as the construction instruction information used by the construction unit in the process of constructing the construction target device. It may be provided with a construction instruction information creation unit to be created.

また、上記の構築装置においては、前記設定収集部は、前記構築部が構築した前記構築対象装置から前記所定の設定値を収集し、前記構築対象装置から収集した前記所定の設定値を前記共通設定値と前記非共通設定値と対比して表示させる構築結果報告部、を備えるものであってもよい。 Further, in the above-mentioned construction device, the setting collection unit collects the predetermined setting value from the construction target device constructed by the construction unit, and shares the predetermined setting value collected from the construction target device. It may be provided with a construction result reporting unit for displaying the set value in comparison with the non-common set value.

また、本発明に係る構築プログラムは、コンピュータを、他の装置の環境構築装置として動作させる構築プログラムであって、前記コンピュータを、前記他の装置についての所定の設定値を記憶する収集設定記憶部と、前記設定値のうち他と共通する共通設定値を記憶する共通設定記憶部と、前記設定値のうち前記共通設定値を除く設定値である非共通設定値を記憶する非共通設定記憶部と、処理部として動作させ、前記処理部に、前記他の装置から通信を介して前記設定値を収集し前記収集設定記憶部に記憶させる設定収集手順と、前記収集設定記憶部に記憶された前記設定値ごとに所定の指標値を算出し、該指標値を用いて前記共通設定値あるいは前記非共通設定値のいずれかを特定し、共通設定記憶部および前記非共通設定記憶部に記憶させる共通設定特定手順と、前記共通設定値および前記非共通設定値を用いて前記他の装置とは異なる構築対象装置を構築する構築手順と、を実施させることを特徴とする。 Further, the construction program according to the present invention is a construction program that operates a computer as an environment construction device of another device, and is a collection setting storage unit that stores the computer as a predetermined setting value for the other device. A common setting storage unit that stores common setting values common to others among the setting values, and a non-common setting storage unit that stores non-common setting values that are setting values other than the common setting values among the setting values. And the setting collection procedure of operating as a processing unit and having the processing unit collect the set value from the other device via communication and store it in the collection setting storage unit, and stored in the collection setting storage unit. A predetermined index value is calculated for each set value, and either the common set value or the non-common set value is specified using the index value and stored in the common setting storage unit and the non-common setting storage unit. It is characterized in that a common setting specifying procedure and a construction procedure for constructing a construction target device different from the other devices by using the common setting value and the non-common setting value are performed.

また、本発明に係る構築方法は、コンピュータを、他の装置の環境構築装置として動作させる構築方法であって、前記コンピュータを、前記他の装置についての所定の設定値を記憶する収集設定記憶部と、前記設定値のうち他と共通する共通設定値を記憶する共通設定記憶部と、前記設定値のうち前記共通設定値を除く設定値である非共通設定値を記憶する非共通設定記憶部と、処理部として動作させ、前記処理部に、前記他の装置から通信を介して前記設定値を収集し前記収集設定記憶部に記憶させる設定収集手順と、前記収集設定記憶部に記憶された前記設定値ごとに所定の指標値を算出し、該指標値を用いて前記共通設定値あるいは前記非共通設定値のいずれかを特定し、共通設定記憶部および前記非共通設定記憶部に記憶させる共通設定特定手順と、前記共通設定値および前記非共通設定値を用いて前記他の装置とは異なる構築対象装置を構築する構築手順と、を実施させることを特徴とする。 Further, the construction method according to the present invention is a construction method in which a computer is operated as an environment construction device of another device, and the collection setting storage unit that stores the computer as a predetermined setting value for the other device. A common setting storage unit that stores common setting values common to others among the setting values, and a non-common setting storage unit that stores non-common setting values that are setting values other than the common setting values among the setting values. And the setting collection procedure of operating as a processing unit and having the processing unit collect the set value from the other device via communication and store it in the collection setting storage unit, and stored in the collection setting storage unit. A predetermined index value is calculated for each set value, and either the common set value or the non-common set value is specified using the index value and stored in the common setting storage unit and the non-common setting storage unit. It is characterized in that a common setting specifying procedure and a construction procedure for constructing a construction target device different from the other devices by using the common setting value and the non-common setting value are performed.

本発明によれば、既存の環境にある装置のキャパシティーの増減作業の管理技術を提供することができる。上記した以外の課題、構成及び効果は、以下の実施形態の説明により明らかにされる。 According to the present invention, it is possible to provide a management technique for increasing / decreasing the capacity of an apparatus in an existing environment. Issues, configurations and effects other than those described above will be clarified by the description of the following embodiments.

本発明の実施形態に係る構築システムの利用の流れを示す図である。It is a figure which shows the flow of use of the construction system which concerns on embodiment of this invention. 本発明の実施形態に係る構築システムの構成例を示す図である。It is a figure which shows the structural example of the construction system which concerns on embodiment of this invention. 収集設定記憶部に格納されるデータ構造例を示す図である。It is a figure which shows the example of the data structure stored in the collection setting storage part. 共通設定記憶部に格納されるデータ構造例を示す図である。It is a figure which shows the example of the data structure stored in the common setting storage part. 非共通設定記憶部に格納されるデータ構造例を示す図である。It is a figure which shows the example of the data structure stored in the non-common setting storage part. 構築指示情報記憶部に格納されるデータ構造例を示す図である。It is a figure which shows the example of the data structure stored in the construction instruction information storage part. 設定記憶部に格納されるデータ構造例を示す図である。It is a figure which shows the example of the data structure stored in the setting storage part. 構築装置のハードウェア構成例を示す図である。It is a figure which shows the hardware configuration example of the construction apparatus. 構築準備処理の動作フロー例を示す図である。It is a figure which shows the operation flow example of the construction preparation process. 構築準備画面の出力例を示す図である。It is a figure which shows the output example of the construction preparation screen. 構築処理の動作フロー例を示す図である。It is a figure which shows the operation flow example of a construction process. 構築結果画面の出力例を示す図である。It is a figure which shows the output example of a construction result screen.

以下、本発明に係る一つの実施の形態を図面に基づいて説明する。なお、実施の形態を説明するための全図において、同一の部材には原則として同一の符号を付し、その繰り返しの説明は省略する。また、以下の実施の形態において、その構成要素(要素ステップ等も含む)は、特に明示した場合および原理的に明らかに必須であると考えられる場合等を除き、必ずしも必須のものではないことは言うまでもない。また、「Aからなる」、「Aよりなる」、「Aを有する」、「Aを含む」と言うときは、特にその要素のみである旨明示した場合等を除き、それ以外の要素を排除するものでないことは言うまでもない。同様に、以下の実施の形態において、構成要素等の形状、位置関係等に言及するときは、特に明示した場合および原理的に明らかにそうでないと考えられる場合等を除き、実質的にその形状等に近似または類似するもの等を含むものとする。 Hereinafter, one embodiment according to the present invention will be described with reference to the drawings. In addition, in all the drawings for explaining the embodiment, in principle, the same members are designated by the same reference numerals, and the repeated description thereof will be omitted. Further, in the following embodiments, the components (including element steps and the like) are not necessarily essential unless otherwise specified or clearly considered to be essential in principle. Needless to say. In addition, when saying "consisting of A", "consisting of A", "having A", and "including A", other elements are excluded unless it is clearly stated that it is only that element. It goes without saying that it is not something to do. Similarly, in the following embodiments, when referring to the shape, positional relationship, etc. of a component or the like, the shape is substantially the same unless otherwise specified or when it is considered that it is not apparent in principle. Etc., etc. shall be included.

既存の環境にある装置のキャパシティーの増減作業の管理においては、キャパシティーが不足する場合には装置のリソースを増加させることがなされている。例えば、サーバー装置のメモリ(RAM:Random Access Memory)量を増やしたり、CPU(Central Processing Unit)等の数を増やしたり、通信速度を高めたりする場合や、新たなサーバー装置を追加する等である。 In managing the work of increasing or decreasing the capacity of the equipment in the existing environment, the resources of the equipment are increased when the capacity is insufficient. For example, increasing the amount of memory (RAM: Random Access Memory) of the server device, increasing the number of CPUs (Central Processing Units), increasing the communication speed, adding a new server device, and the like. ..

例えば、電子メールサーバーあるいはウェブサーバーへのアクセスが集中する場合には、物理的に電子メールサーバーあるいはウェブサーバーの台数を増やすことで負荷を分散して、スループットの増加やレスポンスタイムの向上を狙う。 For example, when access to an e-mail server or web server is concentrated, the load is distributed by physically increasing the number of e-mail servers or web servers, with the aim of increasing throughput and improving response time.

このような場合には、各サーバー装置の構築に係る時間を短くしつつ、確実にサービスを開始する必要がある。 In such a case, it is necessary to reliably start the service while shortening the time required for constructing each server device.

一方で、サーバー装置の設定項目は多岐に渡るため、実際には個別の設定値のみ変更する形で設定値のコピーを行ってサーバー装置を構築することが多くなる。例えば、同一種類のサーバー装置であれば、既存のサーバー装置と構築対象のサーバー装置との間で通信に用いるポート番号やメモリの容量、通信帯域等は同一のものを用いて、アドレスはそれぞれにユニークなものを設定する等のカスタマイズを行うことがある。 On the other hand, since the setting items of the server device are diverse, it is often the case that the server device is constructed by copying the setting values by changing only the individual setting values. For example, in the case of the same type of server device, the same port number, memory capacity, communication band, etc. are used for communication between the existing server device and the server device to be constructed, and the addresses are different for each. Customization such as setting unique ones may be performed.

しかし、サーバー装置間で共通化すべき設定値と、個別に設定すべき設定値との区別やノウハウが属人的なものとなることも多く、作業ミスも起こりやすい。 However, the distinction between the setting value that should be shared between the server devices and the setting value that should be set individually and the know-how are often personal, and work mistakes are likely to occur.

そこで、本願発明に係る技術では、複数の既存装置の設定値を収集して分類し、出現頻度の高い設定項目の値は共通設定値として、頻度の低い設定項目の値は非共通設定値(個別設定値)として整理することで、ノウハウの客観化と再現性の向上を実現する。 Therefore, in the technique according to the present invention, the setting values of a plurality of existing devices are collected and classified, the values of the setting items having a high frequency of appearance are set as common setting values, and the values of the setting items having a low frequency are non-common setting values ( By organizing them as individual setting values), the know-how can be made objective and the reproducibility can be improved.

昨今、Infrastructure as Codeによるインフラ構築の自動化の要求が高まっている。自動化のためには、パラメーター情報をコード化したファイルを用意し、構成管理ツール(Ansible、Chef、Puppet、Itamae等)が当該ファイルを用いてサーバーの構築を行う仕組みが普及してきている。そのコード化ファイルを保存し、以降のメンテナンスに用いることで、保守・維持管理についても実用に耐えるものとなってきている。しかし、自動化せずに手動で構築された既存環境のシステムに関しては、コード化ファイルは存在せず、保守・維持管理の煩雑さが残る。また、管理対象にコード化ファイルが存在するサーバー装置とそうでないサーバー装置とが混在することになれば、特に緊急時の対応においてヒューマンエラーが発生する余地がある。 Recently, there is an increasing demand for automation of infrastructure construction by Infrastructure as Code. For automation, a mechanism in which a file in which parameter information is coded is prepared and a configuration management tool (Ansible, Chef, Puppet, Itamae, etc.) builds a server using the file has become widespread. By saving the coded file and using it for subsequent maintenance, it has become practical for maintenance and maintenance. However, for a system in an existing environment that is manually constructed without automation, there is no coded file, and maintenance and maintenance are complicated. In addition, if a server device having a coded file as a management target and a server device not having a coded file coexist, there is room for a human error to occur, especially in an emergency response.

また、コード化したファイルがあれば、サーバー装置のハードウェア更新を行う場合においても、再構築が容易となる。同様に、キャパシティー確保のためのスケーラビリティー拡張においても、基本的な設定値を共通に持たせ、変更を要する部分のみをサーバー装置に反映することができれば、環境構築が容易となる。 In addition, if there is a coded file, it can be easily reconstructed even when the hardware of the server device is updated. Similarly, in the scalability expansion for securing capacity, if the basic setting values can be shared and only the parts that need to be changed can be reflected in the server device, the environment construction becomes easy.

そのため、自動化せずに手動で構築された既存環境のシステムにおいても、コード化ファイルを作成することが望ましいといえる。 Therefore, it is desirable to create a coded file even in a system in an existing environment that is manually constructed without automation.

本発明の実施形態に係る構築システム1では、既存のサーバーの種類(Web(HTTP)サーバー、AP(アプリケーション)サーバー、DB(データベース)サーバー)ごとに設定値を収集し、共通設定値と、非共通設定値とを区別して保持し、新規または再構築する対象のサーバー装置に合わせて非共通設定値を個別設定値により書き換えてコード化ファイルを作成する。これにより、構成管理ツールによる自動構築を可能とする。 In the construction system 1 according to the embodiment of the present invention, setting values are collected for each existing server type (Web (HTTP) server, AP (application) server, DB (database) server), and common setting values and non-common setting values are collected. Create a coded file by holding the common setting value separately and rewriting the non-common setting value with the individual setting value according to the server device to be newly or reconstructed. This enables automatic construction by the configuration management tool.

図1は、本発明の実施形態に係る構築システムの利用の流れを示す図である。構築システム1では、構築装置100において、既存のサーバー装置群(例えば、APサーバー群)を構成するサーバー装置のうち既存装置200(例えば、APサーバー装置C)からAPサーバーの共通コードとして設定値を収集し、設定項目ごとに設定値の出現頻度を複数サーバー装置間で比較して、出現頻度が所定よりも高い設定値を共通設定値として特定し、そうでない設定値を非共通設定値として特定する。 FIG. 1 is a diagram showing a flow of use of the construction system according to the embodiment of the present invention. In the construction system 1, in the construction device 100, a set value is set as a common code of the AP server from the existing device 200 (for example, AP server device C) among the server devices constituting the existing server device group (for example, AP server group). Collect and compare the appearance frequency of the set value for each setting item among multiple server devices, specify the setting value whose appearance frequency is higher than the predetermined value as the common setting value, and specify the setting value that is not as the non-common setting value. do.

また、構築装置100では、共通設定値については基本的に変更不可として表示するインターフェースを設け、例えばグレーアウトして表示しつつ、設定値を変更する入力を受け付けた時には警告を出すことで共通設定値の安易な変更を抑制する。非共通設定値については、基本的に変更可能に表示するインターフェースを設け、例えばハイライトして表示しつつ、設定値を変更する入力を受け付けなかった時には警告を出すことで個別設定値の設定を促す。 Further, the construction device 100 is provided with an interface for basically displaying the common setting value as unchangeable, and for example, while displaying the common setting value in gray out, a warning is issued when an input for changing the setting value is received, so that the common setting value is displayed. Suppress easy changes in. For non-common setting values, basically an interface that can be changed is provided, for example, while highlighting and displaying, when the input to change the setting value is not accepted, a warning is issued to set the individual setting value. prompt.

また、構築装置100では、構築ツール(構成管理ツール)用設定ファイル(コード化ファイル)を生成する。この際、構築装置100では、共通設定値の変更値により共通設定値を上書きし、非共通設定値の変更値により非共通設定値を上書きして両者を組み合わせることでコード化ファイルを生成する。 Further, the construction device 100 generates a setting file (coded file) for a construction tool (configuration management tool). At this time, the construction device 100 generates a coded file by overwriting the common setting value with the changed value of the common setting value, overwriting the non-common setting value with the changed value of the non-common setting value, and combining the two.

そして、構築装置100では、構築対象装置300であるサーバー装置(例えば、新APサーバー)を対象としてコード化ファイルを用いて環境構築を行う。具体的には、各種のソフトウェアをインストールし、構成ファイルを配置し、レジストリを含むリポジトリを更新する等必要な作業の処理を行う。 Then, in the construction device 100, the environment is constructed by using the coded file for the server device (for example, the new AP server) which is the construction target device 300. Specifically, various software is installed, configuration files are placed, and necessary work such as updating the repository including the registry is performed.

以上が、本発明の実施形態に係る構築システムの利用の流れである。この流れに応じて構築装置100を利用することで、新たなサーバー装置を構築する際に既存の設定を適用して一部個別カスタマイズを含めて構築可能となる。すなわち、既存の環境にある装置のキャパシティーの増減作業の管理を容易に行うことができる。なお、上記したサーバーの例に限られず、メールサーバーやメッセージングサーバー、DNS(Domain Name System)サーバー等、各種のサーバー装置を構築対象とすることができる。 The above is the flow of using the construction system according to the embodiment of the present invention. By using the construction device 100 according to this flow, it is possible to apply the existing settings when constructing a new server device and construct it including some individual customization. That is, it is possible to easily manage the work of increasing / decreasing the capacity of the device in the existing environment. Not limited to the above server example, various server devices such as a mail server, a messaging server, and a DNS (Domain Name System) server can be constructed.

図2は、本発明の実施形態に係る構築システムの構成例を示す図である。構築システム1には、構築装置100と、既存装置200と、構築対象装置300と、が含まれる。そして、構築装置100と、既存装置200と、構築対象装置300とは、ネットワーク50を介して相互に情報の送受信ができる。 FIG. 2 is a diagram showing a configuration example of a construction system according to an embodiment of the present invention. The construction system 1 includes a construction device 100, an existing device 200, and a construction target device 300. Then, the construction device 100, the existing device 200, and the construction target device 300 can send and receive information to and from each other via the network 50.

ネットワーク50は、例えば、LAN(Local Area Network)あるいは光ファイバーネットワーク、ギガビットネットワーク、無線通信ネットワーク等であり、構築装置100と、既存装置200と、構築対象装置300とを通信可能に接続する。 The network 50 is, for example, a LAN (Local Area Network), an optical fiber network, a gigabit network, a wireless communication network, or the like, and connects the construction device 100, the existing device 200, and the construction target device 300 so as to be communicable.

構築装置100は、いわゆるパーソナルコンピューター等の情報処理装置であって、ネットワーク50を介して他の装置に対して所定の要求を行い、他の装置から送信された情報を受信して表示する、あるいは利用者からのキーボードやタッチパネル、マウス、マイク等を用いた各種の入出力機能を担う。なお、構築装置100は、パーソナルコンピューターに限られず、例えばサーバー装置やスマートフォン、タブレット装置等の他の装置、あるいは通信の中継を行うルーター等の通信制御装置であってもよい。 The construction device 100 is an information processing device such as a so-called personal computer, which makes a predetermined request to another device via the network 50, receives and displays information transmitted from the other device, or displays the information. It is responsible for various input / output functions using the keyboard, touch panel, mouse, microphone, etc. from the user. The construction device 100 is not limited to a personal computer, and may be, for example, another device such as a server device, a smartphone, or a tablet device, or a communication control device such as a router that relays communication.

既存装置200は、例えば、ゲートウェイ等の通信制御装置や、ファイアウォール装置、IDS(Intrusion Detection System)装置、IPS(Intrusion Prevention System)装置、HTTP(Hyper Text Transfer Protocol)サーバー装置、AP(Application)サーバー装置、DB(DataBase)サーバー装置、メールサーバー装置、DNSサーバー装置、メッセージングキュー等の各種のサーバー装置であって、ネットワーク50を介して、他の装置と通信を行う。 The existing device 200 includes, for example, a communication control device such as a gateway, a firewall device, an IDS (Intrusion Detection System) device, an IPS (Intrusion Prevention System) device, an HTTP (Hyper Text Transfer Protocol) server device, and an AP (Appli) server device. , DB (DataBase) server device, mail server device, DNS server device, messaging queue, and other various server devices that communicate with other devices via the network 50.

構築対象装置300は、基本的に既存装置と同様の構成であるが、未だサーバー装置としての機能を発揮できるように構築されていない装置である。例えば、OSがすでにインストールしてあるが、サーバー機能を他の装置から利用可能に設定されていない状態のコンピュータ装置である。 The construction target device 300 has basically the same configuration as the existing device, but is a device that has not yet been constructed so as to be able to exert its function as a server device. For example, it is a computer device in which the OS has already been installed, but the server function is not set to be available from other devices.

構築装置100には、記憶部110と、処理部120と、通信部130と、が含まれる。記憶部110には、収集設定記憶部111と、共通設定記憶部112と、非共通設定記憶部113と、構築指示情報記憶部114と、構築結果情報記憶部115と、が含まれる。 The construction device 100 includes a storage unit 110, a processing unit 120, and a communication unit 130. The storage unit 110 includes a collection setting storage unit 111, a common setting storage unit 112, a non-common setting storage unit 113, a construction instruction information storage unit 114, and a construction result information storage unit 115.

また、処理部120には、入力受付部121と、設定収集部122と、共通設定特定部123と、個別設定受付部124と、構築指示情報作成部125と、構築部126と、構築結果報告部127と、が含まれる。 Further, the processing unit 120 includes an input reception unit 121, a setting collection unit 122, a common setting identification unit 123, an individual setting reception unit 124, a construction instruction information creation unit 125, a construction unit 126, and a construction result report. Part 127 and.

図3は、収集設定記憶部に格納されるデータ構造例を示す図である。収集設定記憶部111には、装置ID111aと、装置種別111bと、設定情報群111cと、が含まれる。収集設定記憶部111は、他の装置についての所定の設定値を記憶する。 FIG. 3 is a diagram showing an example of a data structure stored in the collection setting storage unit. The collection setting storage unit 111 includes the device ID 111a, the device type 111b, and the setting information group 111c. The collection setting storage unit 111 stores predetermined set values for other devices.

装置ID111aは、既存装置200を特定する情報である。装置種別111bは、既存装置200の装置の種別(主に、http,AP,DB,IDS,IPS,FW,ゲートウェイ等のサーバーの主用途を示す種類)を示す情報である。設定情報群111cは、装置種別に応じた主要な設定値を特定する情報である。例えば、httpサーバーの設定値としては、httpd.confのファイルに含まれる設定項目ごとの設定値の集合を特定する情報である。なお、設定値は、設定項目に対して一意の値あるいは一意の範囲を対応付けるキーバリュー形式であることが一般的であるため、ここではそれを前提とするが、これに限られるものではなく、リスト形式やベクター形式の列挙形式であってもよい。 The device ID 111a is information that identifies the existing device 200. The device type 111b is information indicating the device type of the existing device 200 (mainly, a type indicating the main use of the server such as http, AP, DB, IDS, IPS, FW, gateway). The setting information group 111c is information for specifying a main setting value according to the device type. For example, as the setting value of the http server, httpd. This is information that specifies a set of setting values for each setting item included in the conf file. Note that the setting value is generally in the key value format in which a unique value or a unique range is associated with the setting item, so that is assumed here, but the setting value is not limited to this. It may be a list format or a vector format enumeration format.

図4は、共通設定記憶部に格納されるデータ構造例を示す図である。共通設定記憶部112には、装置種別112aと、設定値グループ112bと、設定項目112cと、最頻設定値112dと、平均設定値112eと、が含まれる。共通設定記憶部112は、設定値のうち他と共通する共通設定値を記憶する。 FIG. 4 is a diagram showing an example of a data structure stored in the common setting storage unit. The common setting storage unit 112 includes a device type 112a, a setting value group 112b, a setting item 112c, a mode setting value 112d, and an average setting value 112e. The common setting storage unit 112 stores a common setting value that is common to others among the set values.

装置種別112aは、既存装置200の装置の種別(主に、http,AP,DB,IDS,IPS,FW,ゲートウェイ等のサーバーの主用途を示す種類)を示す情報である。 The device type 112a is information indicating the device type of the existing device 200 (mainly, a type indicating the main use of the server such as http, AP, DB, IDS, IPS, FW, gateway).

設定値グループ112bは、装置種別112aにより特定される装置が属するグループ、例えばシステムを特定する情報である。とくに、httpサーバー等を設置する場合、複数のhttpサーバー装置のそれぞれに担当させるURLドメイン割り当てて運用することも多いため、これをシステムの単位としてもよいし、企業内のイントラネット用のhttpサーバー装置と企業外に公開しているインターネット向けのhttpサーバー装置とを分けてこれをシステムの単位としてもよい。 The set value group 112b is information for identifying a group to which the device specified by the device type 112a belongs, for example, a system. In particular, when installing a http server or the like, it is often the case that a URL domain assigned to each of a plurality of http server devices is assigned and operated, so this may be used as a system unit, or the http server device for an intranet in a company. And the http server device for the Internet that is open to the public outside the company may be separated and used as a unit of the system.

設定項目112cは、設定項目を識別する情報である。最頻設定値112dは、同一装置種別、同一設定値グループ内で出現頻度の高い設定値である。平均設定値112eは、同一装置種別、同一設定値グループ内における設定値の平均値である。 The setting item 112c is information for identifying the setting item. The mode setting value 112d is a setting value having a high frequency of appearance within the same device type and the same setting value group. The average set value 112e is an average value of the set values in the same device type and the same set value group.

図5は、非共通設定記憶部に格納されるデータ構造例を示す図である。非共通設定記憶部113には、装置種別113aと、設定値グループ113bと、設定項目113cと、最頻設定値113dと、デフォルト設定値113eと、が含まれる。非共通設定記憶部113は、設定値のうち共通設定値以外の非共通設定値を記憶する。 FIG. 5 is a diagram showing an example of a data structure stored in the non-common setting storage unit. The non-common setting storage unit 113 includes a device type 113a, a setting value group 113b, a setting item 113c, a mode setting value 113d, and a default setting value 113e. The non-common setting storage unit 113 stores non-common setting values other than the common setting values among the set values.

装置種別113aと、設定値グループ113bと、設定項目113cと、最頻設定値113dとは、それぞれ共通設定記憶部112の装置種別112aと、設定値グループ112bと、設定項目112cと、最頻設定値112dと同様である。デフォルト設定値113eは、予め設定されたデフォルトの設定値である。 The device type 113a, the setting value group 113b, the setting item 113c, and the mode setting value 113d are the device type 112a of the common setting storage unit 112, the setting value group 112b, the setting item 112c, and the mode setting, respectively. It is the same as the value 112d. The default setting value 113e is a preset default setting value.

図6は、構築指示情報記憶部に格納されるデータ構造例を示す図である。構築指示情報記憶部114には、装置ID114aと、設定値グループ114bと、設定項目114cと、設定値114dと、が含まれる。装置ID114aは、構築対象装置300を特定する情報である。設定値グループ114bは、装置ID114aにより特定される装置が属するグループ、例えばシステムを特定する情報である。設定項目114cは、設定項目を識別する情報である。設定値114dは、設定項目114cにて特定される設定項目について、設定する値を特定する情報である。 FIG. 6 is a diagram showing an example of a data structure stored in the construction instruction information storage unit. The construction instruction information storage unit 114 includes the device ID 114a, the set value group 114b, the setting item 114c, and the set value 114d. The device ID 114a is information that identifies the device to be constructed 300. The set value group 114b is information for identifying a group to which the device specified by the device ID 114a belongs, for example, a system. The setting item 114c is information for identifying the setting item. The set value 114d is information for specifying a value to be set for the setting item specified by the setting item 114c.

入力受付部121は、構築装置100の利用者が入力手段を用いて行った入力の値を受け付ける。具体的には、入力受付部121は、キーボード、マウス、タッチパネル、マイクロフォン、視線入力装置等を介して入力された情報を特定する。 The input receiving unit 121 receives the value of the input made by the user of the construction device 100 using the input means. Specifically, the input receiving unit 121 identifies the information input via the keyboard, mouse, touch panel, microphone, line-of-sight input device, and the like.

設定収集部122は、他の装置である既存装置200から通信を介して設定値を収集し収集設定記憶部111に記憶させる。なお、その際、設定収集部122は、既存装置200のうち所定の種別、とくにサーバーのサービスごとに設定値を収集する。 The setting collection unit 122 collects the set value from the existing device 200, which is another device, via communication and stores it in the collection setting storage unit 111. At that time, the setting collection unit 122 collects the setting value for each predetermined type of the existing device 200, particularly for each service of the server.

共通設定特定部123は、収集設定記憶部111に記憶された設定値ごとに所定の指標値を算出し、該指標値を用いて共通設定値あるいは非共通設定値のいずれかを特定し、共通設定記憶部112および非共通設定記憶部113に記憶させる。なお、共通設定特定部123は、指標値として、同一とみなす所定の設定項目について設定値の出現頻度を用い、出現頻度が所定以上であれば共通設定値であると特定する。 The common setting specifying unit 123 calculates a predetermined index value for each set value stored in the collection setting storage unit 111, specifies either a common set value or a non-common set value using the index value, and is common. It is stored in the setting storage unit 112 and the non-common setting storage unit 113. The common setting specifying unit 123 uses the appearance frequency of the set value for the predetermined setting items considered to be the same as the index value, and specifies that the common setting value is the common setting value if the appearance frequency is equal to or higher than the predetermined value.

個別設定受付部124は、非共通設定値について、個別設定値を受け付ける。 The individual setting receiving unit 124 accepts individual setting values for non-common setting values.

構築指示情報作成部125は、構築部126が構築対象装置300を構築する処理において用いる構築指示情報を、非共通設定値について受け付けた個別設定値と、共通設定値と、を用いて作成する。 The construction instruction information creation unit 125 creates the construction instruction information used by the construction unit 126 in the process of constructing the construction target device 300 by using the individual setting values received for the non-common setting values and the common setting values.

構築部126は、共通設定値および非共通設定値を含む構築指示情報を用いて構築対象装置300を構築する、いわゆる構成管理ツールである。 The construction unit 126 is a so-called configuration management tool that constructs the construction target device 300 using the construction instruction information including the common setting value and the non-common setting value.

構築結果報告部127は、構築対象装置300から収集した所定の設定値を共通設定値と非共通設定値と対比して表示させる。また、構築結果報告部127は、表示した内容の修正を受け付けて、再び、構築部126に構築を行わせる。 The construction result reporting unit 127 displays a predetermined setting value collected from the construction target device 300 in comparison with the common setting value and the non-common setting value. In addition, the construction result reporting unit 127 accepts the correction of the displayed contents and causes the construction unit 126 to perform the construction again.

通信部130は、ネットワーク50を介して既存装置200および構築対象装置300との間で通信を行う。その通信には、TCP/IPプロトコルによるパケット通信を採用するが、これに限られるものではない。 The communication unit 130 communicates with the existing device 200 and the construction target device 300 via the network 50. Packet communication based on the TCP / IP protocol is adopted for the communication, but the communication is not limited to this.

既存装置200には、記憶部210と、処理部220と、通信部230と、が含まれる。処理部220は、既存装置200が担う機能を満足するための処理を行う。 The existing device 200 includes a storage unit 210, a processing unit 220, and a communication unit 230. The processing unit 220 performs processing for satisfying the functions of the existing device 200.

記憶部210には、設定記憶部211が含まれる。この設定記憶部211は、既存装置200が担う機能を満足するために処理部220が処理を行う際の設定値が記憶される。 The storage unit 210 includes a setting storage unit 211. The setting storage unit 211 stores the set value when the processing unit 220 performs processing in order to satisfy the function of the existing device 200.

図7は、設定記憶部に格納されるデータ構造例を示す図である。設定記憶部211には、設定項目211aと、設定値211bと、が含まれる。設定項目211aは、設定項目を識別する情報である。設定値211bは、設定項目211aにて特定される設定項目について、設定する値を特定する情報である。 FIG. 7 is a diagram showing an example of a data structure stored in the setting storage unit. The setting storage unit 211 includes a setting item 211a and a setting value 211b. The setting item 211a is information for identifying the setting item. The setting value 211b is information for specifying a value to be set for the setting item specified by the setting item 211a.

通信部230は、ネットワーク50を介して構築装置100および構築対象装置300との間で通信を行う。その通信には、TCP/IPプロトコルによるパケット通信を採用するが、これに限られるものではない。 The communication unit 230 communicates with the construction device 100 and the construction target device 300 via the network 50. Packet communication based on the TCP / IP protocol is adopted for the communication, but the communication is not limited to this.

構築対象装置300には、記憶部310と、処理部320と、通信部330と、が含まれる。処理部320は、構築対象装置300が構築された後に担うべき機能を満足するための処理を行う。 The construction target device 300 includes a storage unit 310, a processing unit 320, and a communication unit 330. The processing unit 320 performs processing for satisfying the functions to be performed after the construction target device 300 is constructed.

記憶部310には、設定項目と設定値を受け付けて記憶するための記憶領域が含まれる。 The storage unit 310 includes a storage area for receiving and storing setting items and set values.

通信部330は、ネットワーク50を介して構築装置100および既存装置200との間で通信を行う。その通信には、TCP/IPプロトコルによるパケット通信を採用するが、これに限られるものではない。 The communication unit 330 communicates with the construction device 100 and the existing device 200 via the network 50. Packet communication based on the TCP / IP protocol is adopted for the communication, but the communication is not limited to this.

図8は、構築装置のハードウェア構成例を示す図である。構築装置100は、CPU(Central Processing Unit)101等の演算装置と、メモリ等の主記憶装置102と、ハードディスクやSSD(Solid State Drive)等の外部記憶装置103と、キーボード、マウス、タッチパネル、マイクロフォン、視線入力装置等の入力装置104と、ディスプレイ、プリンタ等の出力装置105と、NIC(Network Interface Card)等の通信装置107と、これらをつなぐバスと、を含んで構成される。 FIG. 8 is a diagram showing a hardware configuration example of the construction device. The construction device 100 includes a computing device such as a CPU (Central Processing Unit) 101, a main storage device 102 such as a memory, an external storage device 103 such as a hard disk or SSD (Solid State Drive), a keyboard, a mouse, a touch panel, and a microphone. , An input device 104 such as a line-of-sight input device, an output device 105 such as a display and a printer, a communication device 107 such as a NIC (Network Interface Card), and a bus connecting these.

主記憶装置102は、例えばRAM(Random Access Memory)などのメモリである。 The main storage device 102 is, for example, a memory such as a RAM (Random Access Memory).

外部記憶装置103は、デジタル情報を記憶可能な、いわゆるハードディスクやSSD、あるいはフラッシュメモリなどの不揮発性記憶装置である。 The external storage device 103 is a non-volatile storage device such as a so-called hard disk, SSD, or flash memory that can store digital information.

通信装置107は、ネットワークケーブルを介して有線通信を行う有線の通信装置、又はアンテナを介して無線通信を行う無線通信装置である。通信装置107は、ネットワーク50に接続される他の装置との通信を行う。 The communication device 107 is a wired communication device that performs wired communication via a network cable, or a wireless communication device that performs wireless communication via an antenna. The communication device 107 communicates with another device connected to the network 50.

上記した入力受付部121と、設定収集部122と、共通設定特定部123と、個別設定受付部124と、構築指示情報作成部125と、構築部126と、構築結果報告部127とは、CPU101に処理を行わせるプログラムによって実現される。このプログラムは、主記憶装置102、または外部記憶装置103内に記憶され、実行にあたって主記憶装置102上にロードされ、CPU101により実行される。 The input receiving unit 121, the setting collecting unit 122, the common setting specifying unit 123, the individual setting receiving unit 124, the construction instruction information creating unit 125, the construction unit 126, and the construction result reporting unit 127 are the CPU 101. It is realized by a program that lets you perform processing. This program is stored in the main storage device 102 or the external storage device 103, loaded on the main storage device 102 for execution, and executed by the CPU 101.

また、記憶部110に格納される収集設定記憶部111と、共通設定記憶部112と、非共通設定記憶部113と、構築指示情報記憶部114と、構築結果情報記憶部115とは、主記憶装置102及び外部記憶装置103により実現される。 Further, the collection setting storage unit 111, the common setting storage unit 112, the non-common setting storage unit 113, the construction instruction information storage unit 114, and the construction result information storage unit 115 stored in the storage unit 110 are mainly stored. It is realized by the device 102 and the external storage device 103.

また、LAN等に通信可能に接続する通信部130は、通信装置107により実現される。 Further, the communication unit 130 that is communicably connected to a LAN or the like is realized by the communication device 107.

以上が、本実施形態における構築装置100のハードウェア構成例である。しかし、これに限らず、その他のハードウェアを用いて構成されるものであってもよい。例えば、タブレット装置や、スマートフォン、テレビジョン装置等の、各種の情報処理装置であってもよい。 The above is a hardware configuration example of the construction device 100 in this embodiment. However, the present invention is not limited to this, and it may be configured by using other hardware. For example, it may be various information processing devices such as a tablet device, a smartphone, and a television device.

なお、構築装置100は、図示しないが、OS、ミドルウェア、アプリケーションなどの公知の要素を有する。 Although not shown, the construction device 100 has known elements such as an OS, middleware, and an application.

[動作の説明]次に、本実施形態における構築装置100の動作を説明する。 [Explanation of operation] Next, the operation of the construction device 100 according to the present embodiment will be described.

図9は、構築準備処理の動作フロー例を示す図である。構築準備処理は、構築対象装置300の構築作業ごとに利用者からの開始指示を受け付けて実施される。 FIG. 9 is a diagram showing an example of an operation flow of the construction preparation process. The construction preparation process is carried out by receiving a start instruction from the user for each construction work of the construction target device 300.

まず、入力受付部121は、構築対象装置300の種別の入力を受け付ける(ステップS001)。例えば、入力受付部121は、構築対象装置300の装置種別を示す情報を選択的に受け付ける。http,AP,DB,IDS,IPS,FW,ゲートウェイ等のサーバーの主用途を示す種類が装置種別となる。 First, the input receiving unit 121 receives the input of the type of the construction target device 300 (step S001). For example, the input receiving unit 121 selectively receives information indicating the device type of the construction target device 300. The type indicating the main use of the server such as http, AP, DB, IDS, IPS, FW, and gateway is the device type.

そして、設定収集部122は、構築対象装置300の種別に応じて既存装置200から設定値を収集する(ステップS002)。具体的には、設定収集部122は、ステップS001にて受け付けた構築対象装置300の種別が同一である既存装置200(複数ある場合にはそのそれぞれ)に対して、設定記憶部211の情報を送信させる。そして、設定収集部122は、送信された設定値を、装置IDおよび装置種別を付加して収集設定記憶部111に格納する。 Then, the setting collecting unit 122 collects the setting value from the existing device 200 according to the type of the construction target device 300 (step S002). Specifically, the setting collection unit 122 stores the information of the setting storage unit 211 for the existing devices 200 (if there are a plurality of them, each of them) of the same type of the construction target device 300 received in step S001. Send it. Then, the setting collection unit 122 stores the transmitted setting value in the collection setting storage unit 111 with the device ID and the device type added.

そして、共通設定特定部123は、収集した設定値ごとの出現頻度に応じて共通設定と非共通設定に分類する(ステップS003)。具体的には、共通設定特定部123は、収集設定記憶部111に記憶された設定値ごとに所定の指標値を算出し、該指標値を用いて共通設定値あるいは非共通設定値のいずれかを特定し、共通設定記憶部112および非共通設定記憶部113に記憶させる。なお、共通設定特定部123は、指標値として、同一とみなす所定の設定項目について設定値の出現頻度を用い、出現頻度が所定以上であれば共通設定であると特定して共通設定記憶部112に格納し、そうでない場合には非共通設定であると特定して非共通設定記憶部113に格納する。 Then, the common setting specifying unit 123 classifies the common setting and the non-common setting according to the appearance frequency of each collected setting value (step S003). Specifically, the common setting specifying unit 123 calculates a predetermined index value for each set value stored in the collection setting storage unit 111, and uses the index value to either a common set value or a non-common set value. Is specified and stored in the common setting storage unit 112 and the non-common setting storage unit 113. The common setting specifying unit 123 uses the appearance frequency of the set value for a predetermined setting item to be regarded as the same as the index value, and if the appearance frequency is equal to or higher than the predetermined value, the common setting storage unit 112 specifies that the setting is common. If not, it is specified as a non-common setting and stored in the non-common setting storage unit 113.

そして、個別設定受付部124は、非共通設定の上書き入力を受け付ける(ステップS004)。具体的には、個別設定受付部124は、非共通設定記憶部113に格納された非共通設定値について、個別設定値による上書き入力を受け付ける。この際、個別設定受付部124は、個別設定値による上書き入力がなされていない非共通設定値が残存する場合には、警告を出力するようにしてもよい。 Then, the individual setting receiving unit 124 accepts the overwrite input of the non-common setting (step S004). Specifically, the individual setting receiving unit 124 receives an overwrite input by the individual setting value for the non-common setting value stored in the non-common setting storage unit 113. At this time, the individual setting receiving unit 124 may output a warning when a non-common setting value that has not been overwritten by the individual setting value remains.

そして、構築指示情報作成部125は、共通設定の上書き入力を受け付ける(ステップS005)。具体的には、構築指示情報作成部125は、共通設定記憶部112に格納された共通設定値について、上書き入力を受け付ける。この際、構築指示情報作成部125は、上書き入力がなされた共通設定値がある場合には、警告を出力するようにしてもよい。 Then, the construction instruction information creation unit 125 accepts the overwrite input of the common setting (step S005). Specifically, the construction instruction information creation unit 125 accepts an overwrite input for the common setting value stored in the common setting storage unit 112. At this time, the construction instruction information creation unit 125 may output a warning if there is a common setting value for which overwrite input has been made.

そして、構築指示情報作成部125は、共通設定と、共通設定の上書き入力と、非共通設定と、非共通設定の上書き入力とをマージして構築指示情報を作成する(ステップS006)。具体的には、構築指示情報作成部125は、共通設定記憶部112に格納された共通設定値をステップS005にて受け付けた上書き入力の情報で上書きした情報と、非共通設定記憶部113に格納された非共通設定値をステップS004にて受け付けた上書き入力の情報で上書きした情報とをマージして、構築指示情報を作成する。そして、構築指示情報作成部125は、作成した構築指示情報を構築指示情報記憶部114に格納する。 Then, the construction instruction information creation unit 125 creates the construction instruction information by merging the common setting, the overwrite input of the common setting, the non-common setting, and the overwrite input of the non-common setting (step S006). Specifically, the construction instruction information creation unit 125 stores the information in which the common setting value stored in the common setting storage unit 112 is overwritten with the overwrite input information received in step S005 and the information stored in the non-common setting storage unit 113. The construction instruction information is created by merging the non-common setting value that has been overwritten with the information overwritten by the overwriting input information received in step S004. Then, the construction instruction information creation unit 125 stores the created construction instruction information in the construction instruction information storage unit 114.

以上が、構築準備処理の流れである。構築準備処理によれば、既存装置200から収集した設定値から共通する設定値と共通しない設定値とを区別して収集し、それらの上書き情報がある場合にはその上書き情報を受け付けて構築指示情報を作成することができる。 The above is the flow of the construction preparation process. According to the construction preparation process, common setting values and non-common setting values are collected separately from the setting values collected from the existing device 200, and if there is overwriting information, the overwriting information is accepted and the construction instruction information is received. Can be created.

図10は、構築準備画面の出力例を示す図である。構築準備画面400には、構築対象装置の種類を選択的に入力として受け付ける入力領域であるAPサーバー401と、Webサーバー402と、DBサーバー403と、設定情報入力領域410と、構築指示情報作成入力領域420と、が含まれる。入力領域では、APサーバー401と、Webサーバー402と、DBサーバー403と、のいずれかが選択的に有効化され、有効化された種類の構築対象の種類がステップS001にて構築対象装置の種別の入力として受け付けられる。 FIG. 10 is a diagram showing an output example of the construction preparation screen. On the construction preparation screen 400, the AP server 401, the Web server 402, the DB server 403, the setting information input area 410, and the construction instruction information creation input, which are input areas for selectively accepting the type of the device to be built as input. Region 420 and. In the input area, any one of the AP server 401, the Web server 402, and the DB server 403 is selectively enabled, and the type of the enabled type of the construction target is the type of the construction target device in step S001. Is accepted as input.

設定情報入力領域410には、共通項目入力欄411と、非共通項目入力欄412と、が含まれる。共通項目入力欄411には、共通設定の設定項目と設定値とがグレーアウトして表示される。また、共通設定の設定項目の設定値について、変更入力値を受け付ける。共通項目入力欄411に表示されている設定値に変更入力値が受け付けられると、「共通項目を変更しようとしています。本当に入力を続けますか?」というような、変更について能動的な確認を求める警告メッセージが出力される。また、変更入力値は半角英数字のみを受け付け、ひらがなやカタカナなど全角文字は入力を受け付けず、入力時は全角文字であるという警告を表示する。 The setting information input area 410 includes a common item input field 411 and a non-common item input field 412. In the common item input field 411, the setting item and the set value of the common setting are grayed out and displayed. In addition, change input values are accepted for the setting values of the setting items of the common settings. When the change input value is accepted in the setting value displayed in the common item input field 411, active confirmation about the change such as "I am trying to change the common item. Do you really want to continue inputting?" The required warning message is output. In addition, the change input value accepts only half-width alphanumeric characters, does not accept input of full-width characters such as hiragana and katakana, and displays a warning that it is full-width characters at the time of input.

非共通項目入力欄412には、非共通設定の設定項目と設定値とが表示される。また、非共通設定の設定項目の設定値について、変更入力値を受け付ける。 In the non-common item input field 412, the setting item and the setting value of the non-common setting are displayed. In addition, change input values are accepted for the setting values of the setting items of non-common settings.

構築指示入力領域420は、入力を受け付けると、設定情報入力領域410への入力を確定して、ステップS006の処理を開始させる。しかし、非共通項目入力欄412に表示されている設定値に変更入力値が入力されずに構築指示入力領域420に入力がなされた場合、「非共通項目の変更がなされていません。本当に入力を続けますか?」というような、変更しないことについて能動的な確認を求める警告メッセージが出力される。また、変更入力値は半角英数字のみを受け付け、ひらがなやカタカナなど全角文字は入力を受け付けず、入力時は全角文字であるという警告を表示する。 When the construction instruction input area 420 receives the input, the input to the setting information input area 410 is confirmed, and the process of step S006 is started. However, if the change input value is not input to the setting value displayed in the non-common item input field 412 and the input is made in the construction instruction input area 420, "The non-common item has not been changed. Really input. A warning message is printed asking you to actively confirm that you are not making any changes, such as "Do you want to continue?" In addition, the change input value accepts only half-width alphanumeric characters, does not accept input of full-width characters such as hiragana and katakana, and displays a warning that it is full-width characters at the time of input.

図11は、構築処理の動作フロー例を示す図である。構築処理は、構築準備処理のステップS006に続けて実施される。 FIG. 11 is a diagram showing an example of an operation flow of the construction process. The construction process is carried out following step S006 of the construction preparation process.

まず、構築部126は、構築指示情報を用いて、サーバー装置を構築する(ステップS101)。具体的には、構築部126は、構築準備処理のステップS006において作成された構築指示情報を用いて、構築対象装置300に対して構成管理ツールを適用して環境を構築させる。 First, the construction unit 126 constructs the server device using the construction instruction information (step S101). Specifically, the construction unit 126 applies the configuration management tool to the construction target device 300 to construct the environment by using the construction instruction information created in step S006 of the construction preparation process.

そして、設定収集部122は、構築がなされた構築対象装置300から設定値を収集する(ステップS102)。なお、設定収集部122は、構築結果情報記憶部115に収集した設定値を格納する。そして、構築結果報告部127は、構築指示情報と対比し、修正入力が可能なように表示を行う(ステップS103)。構築済みの構築対象装置300から収集された設定値に修正値が入力されなかった場合(ステップS104にて「No」の場合)には、構築結果報告部127は、構築処理を終了させる。 Then, the setting collection unit 122 collects the set value from the construction target device 300 that has been constructed (step S102). The setting collection unit 122 stores the set values collected in the construction result information storage unit 115. Then, the construction result reporting unit 127 compares with the construction instruction information and displays it so that correction input can be performed (step S103). When the correction value is not input to the set value collected from the built target device 300 (in the case of "No" in step S104), the construction result reporting unit 127 ends the construction process.

構築済みの構築対象装置300から収集された設定値に修正値が入力された場合(ステップS104にて「Yes」の場合)には、構築結果報告部127は、修正入力を受け付けて、構築指示情報作成部125に構築指示情報を再作成させる(ステップS105)。そして、構築結果報告部127は、ステップS101に制御を戻す。 When a correction value is input to the set value collected from the built target device 300 (in the case of "Yes" in step S104), the construction result reporting unit 127 accepts the correction input and gives a construction instruction. The information creation unit 125 is made to recreate the construction instruction information (step S105). Then, the construction result reporting unit 127 returns the control to step S101.

以上が、構築処理の流れである。構築処理によれば、既存の環境にある装置のキャパシティーの増減作業の管理を行うことができる。 The above is the flow of the construction process. According to the construction process, it is possible to manage the work of increasing / decreasing the capacity of the device in the existing environment.

図12は、構築結果画面の出力例を示す図である。構築結果画面500には、構築対象装置の種類を選択的に表示する出力専用領域であるAPサーバー501と、Webサーバー502と、DBサーバー503と、設定情報出力・入力領域510と、終了指示領域520と、修正反映指示領域521と、が含まれる。出力専用領域では、APサーバー501と、Webサーバー502と、DBサーバー503と、のいずれかが選択的に有効化されて表示される。 FIG. 12 is a diagram showing an output example of the construction result screen. On the construction result screen 500, an AP server 501, a Web server 502, a DB server 503, a setting information output / input area 510, and an end instruction area, which are output-only areas for selectively displaying the type of the device to be built, are displayed. 520 and the correction reflection instruction area 521 are included. In the output-only area, any one of the AP server 501, the Web server 502, and the DB server 503 is selectively enabled and displayed.

設定情報出力・入力領域510には、共通項目出力欄511と、非共通項目出力欄512と、共通項目構築結果欄513と、非共通項目構築結果欄516と、が含まれる。また、共通項目構築結果欄513に共通項目出力欄511と矛盾する設定値が含まれる場合には、その設定項目515が反転表示(ホワイト表示)されて、エラーがある旨の注意マーク514も表示される。非共通項目構築結果欄516についても、同様である。 The setting information output / input area 510 includes a common item output column 511, a non-common item output column 512, a common item construction result column 513, and a non-common item construction result column 516. In addition, when the common item construction result column 513 contains a setting value inconsistent with the common item output column 511, the setting item 515 is highlighted (displayed in white) and a caution mark 514 indicating that there is an error is also displayed. Will be done. The same applies to the non-common item construction result column 516.

また、共通項目構築結果欄513と、非共通項目構築結果欄516とは、設定値の変更入力を受け付ける。すなわち、誤りのあった設定が見つかると、すぐに修正のための正しい値の入力を受け付けることができる。 Further, the common item construction result column 513 and the non-common item construction result column 516 accept the change input of the set value. That is, as soon as an incorrect setting is found, the input of the correct value for correction can be accepted.

修正反映指示領域521に入力を受け付けると、共通項目構築結果欄513と、非共通項目構築結果欄516とが受け付けた設定値の変更入力を用いて、構築指示情報が再作成され、再度構築対象装置300が構築される。 When an input is received in the correction reflection instruction area 521, the construction instruction information is recreated using the change input of the set value received by the common item construction result column 513 and the non-common item construction result column 516, and the construction target is recreated. The device 300 is constructed.

終了指示領域520に入力を受け付けると、構築結果画面が終了する。 When the input is received in the end instruction area 520, the construction result screen ends.

以上、実施形態に係る構築システム1について具体的に説明したが、本発明はこの実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。例えば、構築装置100は、独立した装置ではなく、既存装置200のいずれかに設けられるものであってもよい。 Although the construction system 1 according to the embodiment has been specifically described above, it goes without saying that the present invention is not limited to this embodiment and can be variously modified without departing from the gist thereof. .. For example, the construction device 100 may be provided in any of the existing devices 200, not in an independent device.

なお、上記した実施形態では本発明を分かりやすく説明するために構成を詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに限定されるものではない。 In the above-described embodiment, the configuration is described in detail in order to explain the present invention in an easy-to-understand manner, and the present invention is not necessarily limited to the one including all the described configurations.

また、上記の各構成、機能、処理部等は、それらの一部又は全部を、例えば集積回路で設計する等によりハードウェアで実現してもよい。また、制御線や情報線は説明上必要と考えられるものを示しており、製品上必ずしも全ての制御線や情報線を示しているとは限らない。実際には殆ど全ての構成が相互に接続されていると考えてもよい。 Further, each of the above configurations, functions, processing units and the like may be realized by hardware by designing a part or all of them by, for example, an integrated circuit. In addition, the control lines and information lines indicate those that are considered necessary for explanation, and do not necessarily indicate all the control lines and information lines in the product. In practice, it can be considered that almost all configurations are interconnected.

また、上記した各構成、機能、処理部等は、それらの一部又は全部を、例えば別の装置で実行してネットワークを介して統合処理する等により分散システムで実現してもよい。 Further, each of the above-mentioned configurations, functions, processing units and the like may be realized in a distributed system by executing a part or all of them by, for example, another device and performing integrated processing via a network.

また、上記した実施形態の技術的要素は、単独で適用されてもよいし、プログラム部品とハードウェア部品のような複数の部分に分けられて適用されるようにしてもよい。 Further, the technical elements of the above-described embodiment may be applied independently, or may be applied separately in a plurality of parts such as a program component and a hardware component.

以上、本発明について、実施形態を中心に説明した。 The present invention has been described above with a focus on embodiments.

1:構築システム、50:ネットワーク、100:構築装置、110:記憶部、111:収集設定記憶部、112:共通設定記憶部、113:非共通設定記憶部、114:構築指示情報記憶部、115:構築結果情報記憶部、120:処理部、121:入力受付部、122:設定収集部、123:共通設定特定部、124:個別設定受付部、125:構築指示情報作成部、126:構築部、127:構築結果報告部、130:通信部、200:既存装置、210:記憶部、211:設定記憶部、220:処理部、230:通信部、300:構築対象装置、310:記憶部、320:処理部、330:通信部。 1: Construction system, 50: Network, 100: Construction device, 110: Storage unit, 111: Collection setting storage unit, 112: Common setting storage unit, 113: Non-common setting storage unit, 114: Construction instruction information storage unit, 115 : Construction result information storage unit, 120: Processing unit, 121: Input reception unit, 122: Setting collection unit, 123: Common setting identification unit, 124: Individual setting reception unit, 125: Construction instruction information creation unit, 126: Construction unit 127: Construction result reporting unit, 130: Communication unit, 200: Existing device, 210: Storage unit, 211: Setting storage unit, 220: Processing unit, 230: Communication unit, 300: Construction target device, 310: Storage unit, 320: Processing unit, 330: Communication unit.

Claims (9)

他の装置についての所定の設定値を記憶する収集設定記憶部と、
前記設定値のうち他と共通する共通設定値を記憶する共通設定記憶部と、
前記設定値のうち前記共通設定値を除く設定値である非共通設定値を記憶する非共通設定記憶部と、
前記他の装置から通信を介して前記設定値を収集し前記収集設定記憶部に記憶させる設定収集部と、
前記収集設定記憶部に記憶された前記設定値ごとに所定の指標値を算出し、該指標値を用いて前記共通設定値あるいは前記非共通設定値のいずれかを特定し、共通設定記憶部および前記非共通設定記憶部に記憶させる共通設定特定部と、
前記共通設定値および前記非共通設定値を用いて前記他の装置とは異なる構築対象装置を構築する構築部と、
を備えることを特徴とする構築装置。
A collection setting storage unit that stores predetermined setting values for other devices,
A common setting storage unit that stores common setting values common to others among the above setting values,
A non-common setting storage unit that stores non-common setting values that are setting values other than the common setting value among the setting values, and a non-common setting storage unit.
A setting collection unit that collects the set value from the other device via communication and stores it in the collection setting storage unit.
A predetermined index value is calculated for each of the set values stored in the collection setting storage unit, and either the common setting value or the non-common setting value is specified using the index value, and the common setting storage unit and the common setting storage unit and the non-common setting value are specified. A common setting specific unit to be stored in the non-common setting storage unit and
A construction unit that constructs a construction target device different from the other devices using the common setting value and the non-common setting value, and
A construction device characterized by being provided with.
請求項1に記載の構築装置であって、
前記設定収集部は、前記他の装置のうち所定の種類ごとに前記設定値を収集する、
ことを特徴とする構築装置。
The construction device according to claim 1.
The setting collecting unit collects the set value for each predetermined type among the other devices.
A construction device characterized by that.
請求項1に記載の構築装置であって、
前記設定収集部は、前記他の装置のうちサーバーのサービスごとに前記設定値を収集する、
ことを特徴とする構築装置。
The construction device according to claim 1.
The setting collection unit collects the setting value for each service of the server among the other devices.
A construction device characterized by that.
請求項1に記載の構築装置であって、
前記共通設定特定部は、前記指標値として、同一とみなす所定の設定項目について設定値の出現頻度を用い、前記出現頻度が所定以上であれば前記共通設定値であると特定する、
ことを特徴とする構築装置。
The construction device according to claim 1.
The common setting specifying unit uses the appearance frequency of the set value for a predetermined setting item to be regarded as the same as the index value, and specifies that the common setting value is the common setting value if the appearance frequency is equal to or higher than the predetermined value.
A construction device characterized by that.
請求項1に記載の構築装置であって、
前記非共通設定値について、個別設定値を受け付ける個別設定受付部、
を備えることを特徴とする構築装置。
The construction device according to claim 1.
Individual setting reception unit that accepts individual setting values for the non-common setting values,
A construction device characterized by being provided with.
請求項1に記載の構築装置であって、
前記構築部が前記構築対象装置を構築する処理において用いる構築指示情報を、前記非共通設定値について受け付けた個別設定値と、前記共通設定値と、を用いて作成する構築指示情報作成部、
を備えることを特徴とする構築装置。
The construction device according to claim 1.
The construction instruction information creation unit that creates the construction instruction information used by the construction unit in the process of constructing the construction target device by using the individual setting values received for the non-common setting values and the common setting values.
A construction device characterized by being provided with.
請求項1に記載の構築装置であって、
前記設定収集部は、前記構築部が構築した前記構築対象装置から前記設定値を収集し、
前記構築対象装置から収集した前記設定値をそれぞれ前記共通設定値と前記非共通設定値と対比して表示させる構築結果報告部、
を備えることを特徴とする構築装置。
The construction device according to claim 1.
The setting collection unit collects the setting value from the construction target device constructed by the construction unit.
A construction result reporting unit that displays the set values collected from the construction target device in comparison with the common set value and the non-common set value, respectively.
A construction device characterized by being provided with.
コンピュータを、他の装置の環境構築装置として動作させる構築プログラムであって、
前記コンピュータを、
前記他の装置についての所定の設定値を記憶する収集設定記憶部と、
前記設定値のうち他と共通する共通設定値を記憶する共通設定記憶部と、
前記設定値のうち前記共通設定値を除く設定値である非共通設定値を記憶する非共通設定記憶部と、処理部として動作させ、
前記処理部に、
前記他の装置から通信を介して前記設定値を収集し前記収集設定記憶部に記憶させる設定収集手順と、
前記収集設定記憶部に記憶された前記設定値ごとに所定の指標値を算出し、該指標値を用いて前記共通設定値あるいは前記非共通設定値のいずれかを特定し、共通設定記憶部および前記非共通設定記憶部に記憶させる共通設定特定手順と、
前記共通設定値および前記非共通設定値を用いて前記他の装置とは異なる構築対象装置を構築する構築手順と、
を実施させることを特徴とする構築プログラム。
A construction program that operates a computer as an environment construction device for other devices.
The computer
A collection setting storage unit that stores predetermined setting values for the other devices, and
A common setting storage unit that stores common setting values common to others among the above setting values,
It is operated as a processing unit and a non-common setting storage unit that stores non-common setting values that are setting values other than the common setting value among the setting values.
In the processing unit
A setting collection procedure for collecting the set value from the other device via communication and storing it in the collection setting storage unit, and a setting collection procedure.
A predetermined index value is calculated for each of the set values stored in the collection setting storage unit, and either the common setting value or the non-common setting value is specified using the index value, and the common setting storage unit and the common setting storage unit and the non-common setting value are specified. The common setting identification procedure to be stored in the non-common setting storage unit and
A construction procedure for constructing a construction target device different from the other devices using the common setting value and the non-common setting value, and
A construction program characterized by implementing.
コンピュータを、他の装置の環境構築装置として動作させる構築方法であって、
前記コンピュータを、
前記他の装置についての所定の設定値を記憶する収集設定記憶部と、
前記設定値のうち他と共通する共通設定値を記憶する共通設定記憶部と、
前記設定値のうち前記共通設定値を除く設定値である非共通設定値を記憶する非共通設定記憶部と、処理部として動作させ、
前記処理部に、
前記他の装置から通信を介して前記設定値を収集し前記収集設定記憶部に記憶させる設定収集手順と、
前記収集設定記憶部に記憶された前記設定値ごとに所定の指標値を算出し、該指標値を用いて前記共通設定値あるいは前記非共通設定値のいずれかを特定し、共通設定記憶部および前記非共通設定記憶部に記憶させる共通設定特定手順と、
前記共通設定値および前記非共通設定値を用いて前記他の装置とは異なる構築対象装置を構築する構築手順と、
を実施させることを特徴とする構築方法。
A construction method that allows a computer to operate as an environment construction device for other devices.
The computer
A collection setting storage unit that stores predetermined setting values for the other devices, and
A common setting storage unit that stores common setting values common to others among the above setting values,
It is operated as a processing unit and a non-common setting storage unit that stores non-common setting values that are setting values other than the common setting value among the setting values.
In the processing unit
A setting collection procedure for collecting the set value from the other device via communication and storing it in the collection setting storage unit, and a setting collection procedure.
A predetermined index value is calculated for each of the set values stored in the collection setting storage unit, and either the common setting value or the non-common setting value is specified using the index value, and the common setting storage unit and the common setting storage unit and the non-common setting value are specified. The common setting identification procedure to be stored in the non-common setting storage unit and
A construction procedure for constructing a construction target device different from the other devices using the common setting value and the non-common setting value, and
A construction method characterized by carrying out.
JP2020001371A 2020-01-08 2020-01-08 Construction device, construction program and construction method Pending JP2021111041A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020001371A JP2021111041A (en) 2020-01-08 2020-01-08 Construction device, construction program and construction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020001371A JP2021111041A (en) 2020-01-08 2020-01-08 Construction device, construction program and construction method

Publications (1)

Publication Number Publication Date
JP2021111041A true JP2021111041A (en) 2021-08-02

Family

ID=77059873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020001371A Pending JP2021111041A (en) 2020-01-08 2020-01-08 Construction device, construction program and construction method

Country Status (1)

Country Link
JP (1) JP2021111041A (en)

Similar Documents

Publication Publication Date Title
EP2378741B1 (en) Systems and Methods for Conducting Communications Among Components of Multidomain Industrial Automation System
EP3218817B1 (en) Configuring a network
JP4197652B2 (en) Centralized monitoring control device and method for plant
CN102202078B (en) The method and system of a kind of multiple foreign peoples roles for configuration server field
US20090292995A1 (en) System and method for accessing and configuring field devices in a process control system
US8352579B2 (en) Gateway server system comprising a gateway server for making SOAP/XML-based web services accessible to RPC clients
EP2378716B1 (en) Systems for conducting communications among components of multidomain industrial automation system
EP2378740B1 (en) Method for conducting communications among components of multidomain industrial automation system
CN101834750B (en) Method for monitoring common service
EP3561680B1 (en) Rpc conversion process system and rpc conversion method
WO2000023900A2 (en) A device for and a method of integrating computerised client systems
US20200278891A1 (en) Dynamic Load Balancing In Network Centric Process Control Systems
CN1973282A (en) System and method for managing a change to a cluster configuration
JP5268589B2 (en) Information processing apparatus and information processing apparatus operating method
WO2002046926A1 (en) System and method for managing application integration utilizing a network device
JP2021111041A (en) Construction device, construction program and construction method
JP4836561B2 (en) Business management system and business management method
US20070156862A1 (en) Computer system
US10078314B2 (en) Method for providing functions within an industrial automation system, and industrial automation system
JP4863126B2 (en) Server monitoring system and server monitoring method
JP2007026122A (en) Plant monitoring control system
KR20200081657A (en) Platform of Smart Factory
Palmeira et al. Migrating legacy production lines into an Industry 4.0 ecosystem
US11862335B2 (en) Method and system for monitoring and controlling instruments
JP2907174B2 (en) User interface system for supervisory control system