JP7189251B2 - Construction execution management device, construction execution management method, and program - Google Patents

Construction execution management device, construction execution management method, and program Download PDF

Info

Publication number
JP7189251B2
JP7189251B2 JP2021051172A JP2021051172A JP7189251B2 JP 7189251 B2 JP7189251 B2 JP 7189251B2 JP 2021051172 A JP2021051172 A JP 2021051172A JP 2021051172 A JP2021051172 A JP 2021051172A JP 7189251 B2 JP7189251 B2 JP 7189251B2
Authority
JP
Japan
Prior art keywords
construction
information
ticket number
execution
target device
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.)
Active
Application number
JP2021051172A
Other languages
Japanese (ja)
Other versions
JP2022149153A (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.)
NTT Communications Corp
Original Assignee
NTT Communications Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NTT Communications Corp filed Critical NTT Communications Corp
Priority to JP2021051172A priority Critical patent/JP7189251B2/en
Publication of JP2022149153A publication Critical patent/JP2022149153A/en
Application granted granted Critical
Publication of JP7189251B2 publication Critical patent/JP7189251B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、機器に対してソフトウェアをデプロイする技術に関連するものである。 The present invention relates to technology for deploying software to devices.

ソフトウェア開発の手法の一つにCI/CDがある。CI/CDとは「Continuous Integration/Continuous Delivery」の略であり、日本語では継続的インティグレーション/継続的デリバリーという。 CI/CD is one of software development techniques. CI/CD is an abbreviation of "Continuous Integration/Continuous Delivery", which means continuous integration/continuous delivery in Japanese.

CI/CDは1つの技術を指すものでなく、ソフトウェアの変更を常にテストして自動で本番環境にリリース可能な状態にしておく、ソフトウェア開発の手法を意味する。また「CD」は「Continuous Deployment(継続的デプロイ)」の略として使われることもある。継続的デプロイは継続的デリバリーとよく似た概念であるが、継続的デリバリーがデプロイ可能な状態を準備するだけなのに対し、継続的デプロイは実際に本番環境へのデプロイまでを行う点が異なる。 CI/CD does not refer to a single technology, but refers to a software development method that constantly tests software changes and makes them automatically releasable to the production environment. "CD" is also sometimes used as an abbreviation for "continuous deployment." Continuous deployment is a very similar concept to continuous delivery, except that continuous delivery only prepares a state ready for deployment, while continuous deployment actually does the deployment to production.

https://www.ntt-tx.co.jp/column/cloudnative_days_tokyo_2019cicd/、令和3年3月21日検索https://www.ntt-tx.co.jp/column/cloudnative_days_tokyo_2019cicd/, searched on March 21, 2019

「Continuous Deployment(継続的デプロイ)」に関して、ソフトエアを商用環境へデプロイする際には、IPアドレス等といったConfig情報をソフトウェアのコードに埋め込む。しかし、Config情報はユーザごとに異なるためデプロイ時において適切な値を手動でコードに埋め込む必要があり、大きな手間がかかる。 Regarding "Continuous Deployment", when deploying software in a commercial environment, Config information such as IP address is embedded in the software code. However, since the Config information differs for each user, it is necessary to manually embed appropriate values in the code at the time of deployment, which takes a lot of time and effort.

また、ユーザの業務を停滞させないようにするために、トラブルが発生しても決められた時間内にデプロイ、もしくは切り戻しを完了させる必要があるが、ある処理でエラーになった場合のエラー箇所の特定や再実行時の冪等性確保等において、処理時間の重複があり、時間が余計にかかる。 In addition, in order to prevent the user's business from stagnation, it is necessary to complete deployment or switchback within a fixed time even if trouble occurs, but if an error occurs in a certain process, the error location There is duplication of processing time in identifying and ensuring idempotence when re-executing, and it takes extra time.

また、工事後に問題が起きた際に迅速な解析を進めるために、履歴管理として、例えば工事実施時のユーザごとのconfig値、工事実行履歴を手動でユーザごとのフォルダに格納することが考えられる。しかし、このような手法では、工事中に変更した内容を都度反映し確認が必要となり、解析に時間を要する。 Also, in order to proceed with prompt analysis when a problem occurs after construction, for example, as history management, it is conceivable to manually store config values and construction execution history for each user at the time of construction work in folders for each user. . However, with such a method, it is necessary to reflect and confirm the contents changed during construction each time, and it takes time for analysis.

すなわち、従来技術においては、ソフトウェアを工事対象装置にデプロイする工事を効率的に行うことができなかった。 In other words, in the conventional technology, construction work for deploying software to a construction target device could not be performed efficiently.

本発明は上記の点に鑑みてなされたものであり、ソフトウェアを工事対象装置にデプロイする工事を効率的に行うことを可能とする技術を提供することを目的とする。 SUMMARY OF THE INVENTION The present invention has been made in view of the above points, and an object of the present invention is to provide a technique that enables efficient construction of deploying software to a construction target device.

開示の技術によれば、工事対象装置に対してソフトウェアをデプロイする工事を実行する工事実行管理装置であって、
前記工事対象装置から設定情報を取得する情報取得部と、
記憶手段に格納されている工事資材に前記設定情報を反映させる情報管理部と、
前記設定情報を反映させた工事資材を用いて前記工事対象装置に対する工事を実行する工事実行部と、を備え、
前記情報管理部は、前記記憶手段におけるマスターコードのブランチをコピーすることにより前記工事対象装置用のブランチを作成し、当該ブランチにおける工事資材に前記設定情報を反映させる
工事実行管理装置が提供される。

According to the disclosed technology, a construction execution management device for executing construction for deploying software to a construction target device,
an information acquisition unit that acquires setting information from the construction target device;
an information management unit that reflects the setting information in the construction materials stored in the storage means;
a construction execution unit that executes construction on the construction target device using construction materials that reflect the setting information;
The information management unit creates a branch for the construction target device by copying a branch of the master code in the storage means, and reflects the setting information on the construction materials in the branch.
A construction execution management device is provided.

開示の技術によれば、ソフトウェアを工事対象装置にデプロイする工事を効率的に行うことを可能とする技術が提供される。 According to the disclosed technology, a technology is provided that enables efficient construction of deploying software to a construction target device.

本発明の実施の形態におけるシステムの全体構成図である。1 is an overall configuration diagram of a system according to an embodiment of the present invention; FIG. 工事実行管理装置の構成図である。It is a block diagram of a construction execution management apparatus. 処理の流れを説明するためのシーケンス図である。FIG. 10 is a sequence diagram for explaining the flow of processing; 工事資材格納装置に格納される情報の例を示す図である。It is a figure which shows the example of the information stored in a construction material storage apparatus. 工事フローの例を図である。It is a figure showing an example of a construction flow. 工事フローの例を示す図である。It is a figure which shows the example of a construction flow. 装置のハードウェア構成例を示す図である。It is a figure which shows the hardware configuration example of an apparatus.

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

(システム構成例)
図1に、本実施の形態におけるシステムの全体構成例を示す。図1に示すように、本システムは、工事実行管理装置100、工事資材格納装置200、ユーザ端末300、工事対象装置400を有する。各装置はネットワークに接続されており、装置間で通信を行うことが可能である。
(System configuration example)
FIG. 1 shows an example of the overall configuration of a system according to this embodiment. As shown in FIG. 1, this system has a construction execution management device 100, a construction material storage device 200, a user terminal 300, and a construction target device 400. FIG. Each device is connected to a network and can communicate with each other.

工事実行管理装置100は、本発明に係る技術を用いて工事対象装置400に対する工事を実行する。なお、本実施の形態において「工事」とは、ソフトウェアを工事対象装置400にデプロイする一連の工程のことである。工事実行管理装置100は、1つ又は複数の物理サーバ(コンピュータ)からなる装置であってもよいし、クラウド上の仮想マシンにより構成される装置であってもよい。 The construction execution management apparatus 100 executes construction for the construction target apparatus 400 using the technology according to the present invention. In the present embodiment, “construction” refers to a series of processes for deploying software to the construction target device 400 . The construction execution management device 100 may be a device composed of one or more physical servers (computers), or may be a device composed of virtual machines on the cloud.

工事資材格納装置200は、工事に使用するソフトウェア等を格納する装置である。本実施の形態では、工事に使用するソフトウェア等のことを「工事資材」と呼んでいる。また、工事資材格納装置200には、工事ステータス等も格納される。工事資材格納装置200は、クラウド上のサービス(例:Git)であってもよいし、物理サーバであってもよい。また、工事資材格納装置200は、工事実行管理装置100内の記憶部であってもよい。以下の説明では、工事資材格納装置200は、Gitであることを想定している。工事資材格納装置200を記憶手段と呼んでもよい。 The construction material storage device 200 is a device that stores software and the like used for construction work. In this embodiment, software used for construction is called "construction material". The construction material storage device 200 also stores construction status and the like. The construction material storage device 200 may be a service on the cloud (eg Git) or a physical server. Also, the construction material storage device 200 may be a storage unit within the construction execution management device 100 . In the following description, it is assumed that the construction material storage device 200 is Git. The construction material storage device 200 may be called storage means.

ユーザ端末300は、例えば工事対象装置400に対する工事の実施者の端末であり、工事実行管理装置100により提供されるGUIを表示し、ユーザからの操作を受け付け、ユーザ操作に基づく指示を工事実行管理装置100に送信する。 The user terminal 300 is, for example, a terminal of a person who carries out construction work on the construction target apparatus 400, displays a GUI provided by the construction execution management apparatus 100, receives operations from the user, and issues instructions based on the user operations for construction execution management. Send to device 100 .

工事対象装置400は、ソフトウェアのデプロイを行う対象の装置である。工事対象装置400は、例えば、ユーザ(企業等)のネットワークサービスを提供する実機環境の装置である。図1に示すように、工事対象装置400は、ユーザ毎のグループに分けられている。本実施の形態では、各グループをテナント(略称はTN)と呼んでいる。図1の例では、3つのテナント(TN01、TN02、TN03)が示されている。 The construction target device 400 is a target device for deploying software. The work target device 400 is, for example, a device in a real machine environment that provides a network service for a user (company or the like). As shown in FIG. 1, the work target devices 400 are divided into groups for each user. In this embodiment, each group is called a tenant (abbreviated as TN). In the example of FIG. 1, three tenants (TN01, TN02, TN03) are shown.

(工事実行管理装置の構成例)
図2に、工事実行管理装置100の機能構成例を示す。図2に示すように、工事実行管理装置100は、GUI部110、情報取得部120、情報管理部130、工事実行部140を有する。
(Configuration example of construction execution management device)
FIG. 2 shows an example of the functional configuration of the construction execution management device 100. As shown in FIG. As shown in FIG. 2 , the construction execution management device 100 has a GUI section 110 , an information acquisition section 120 , an information management section 130 and a construction execution section 140 .

GUI部110は、ユーザ端末300に対してGUIを表示する。なお、GUI部110は、工事実行管理装置100内のソフトウェアで動作する機能であってもよいし、Webサーバ等の装置であってもよい。 A GUI unit 110 displays a GUI on the user terminal 300 . The GUI unit 110 may be a function operated by software in the construction execution management device 100, or may be a device such as a web server.

情報取得部120は、工事対象装置400からConfig情報(設定情報)等の情報を取得する。情報管理部130は、工事資材格納装置200におけるブランチのコピー、工事資材格納装置200からのソフトウェア(工事資材)の取得等を行うとともに、工事実施履歴(工事ステータス)等を工事資材格納装置200に格納する。 The information acquisition unit 120 acquires information such as Config information (setting information) from the work target device 400 . The information management unit 130 copies branches in the construction material storage device 200, acquires software (construction materials) from the construction material storage device 200, and sends construction execution history (construction status) and the like to the construction material storage device 200. Store.

工事実行部140は、工事資材格納装置200から取得された工事資材を用いて、工事対象装置400に対する工事を実行する。また、工事実行部140は、工事が正常に行われたかどうかをチェックする機能も有する。 The construction execution unit 140 uses construction materials acquired from the construction material storage device 200 to execute construction work on the construction target device 400 . The construction execution unit 140 also has a function of checking whether the construction work has been performed normally.

(動作シーケンス)
次に、図3を参照して、本実施の形態におけるシステムの動作シーケンス例を説明する。最初に、工事実行管理装置100のGUI部110により、ユーザ端末300上にGUIが表示されているものとする。このGUIには、例えば、工事種別と工事対象を入力(あるいは選択)する欄が含まれている。
(operation sequence)
Next, an example of the operation sequence of the system according to this embodiment will be described with reference to FIG. First, it is assumed that a GUI is displayed on the user terminal 300 by the GUI unit 110 of the construction execution management device 100 . This GUI includes, for example, fields for inputting (or selecting) the type of construction work and the object of construction work.

工事種別には、例えば、ソフトウェアのアップグレード(「Verup」)、ソフトウェアを前のバージョンに戻す切り戻し(「downgrade」)等がある。また、本実施の形態において、工事対象はテナント単位であるものとする。つまり、工事対象として、工事するテナントが指定される。 The construction type includes, for example, software upgrade (“Verup”), software switchback to the previous version (“downgrade”), and the like. Also, in the present embodiment, the construction target is assumed to be a tenant unit. In other words, the tenant to be constructed is designated as the construction target.

図3のS101において、ユーザが、GUIを用いて工事種別と工事対象を指定することで、ユーザ端末300から工事実行管理装置100に対して工事の実行が指示される。ここでは、工事種別として「アップグレード」が指定されたことを想定している。 In S101 of FIG. 3, the user designates the type of construction work and the object of construction work using the GUI, and the user terminal 300 instructs the construction execution management apparatus 100 to execute the construction work. Here, it is assumed that "upgrade" is specified as the construction type.

S101の指示により、工事実行管理装置100は、JOB1とJOB2を実行する。JOB1は、指定されたテナントの工事対象装置400からConfig情報を取得し、工事資材格納装置200におけるマスターのコードを複製(clone)し、Config情報を用いてカスタマイズし、指定されたテナントに対するGitのブランチを作成する手順である。JOB2は、指定されたテナントのブランチにおける工事資材を用いて、工事の実施、工事ステータスの更新、及び工事後の確認を実行する手順である。 According to the instruction of S101, the construction execution management device 100 executes JOB1 and JOB2. JOB1 acquires Config information from the construction target device 400 of the specified tenant, clones the master code in the construction material storage device 200, customizes it using the Config information, and creates Git for the specified tenant. This is the procedure for creating a branch. JOB2 is a procedure for performing construction, updating construction status, and confirming after construction using construction materials in the designated tenant's branch.

図3では、S102~S104がJOB1として示されており、S105~S107がJOB2として示されている。以下、ステップ毎に説明する。 In FIG. 3, S102 to S104 are shown as JOB1, and S105 to S107 are shown as JOB2. Each step will be described below.

S102、S103において、工事実行管理装置100の情報取得部120は、指定されたテナントの工事対象装置400にConfig情報取得要求を送り、当該工事対象装置400からConfig情報を取得する。 In S102 and S103, the information acquisition unit 120 of the construction execution management device 100 sends a Config information acquisition request to the construction target device 400 of the designated tenant, and acquires the Config information from the construction target device 400.

S104において、情報管理部130は、S103で取得したConfig情報とともに、指定されたテナント用のブランチ作成指示を、工事資材格納装置200に送信する。これにより、工事資材格納装置200において、マスターのコードが複製され、指定されたテナント用のブランチが作成される。また、S103で取得したConfig情報の値が当該ブランチにおけるConfig情報に反映される。 In S104, the information management unit 130 transmits to the construction material storage device 200 a branch creation instruction for the specified tenant together with the Config information acquired in S103. As a result, the master code is duplicated in the construction material storage device 200, and a branch for the designated tenant is created. Also, the value of the Config information acquired in S103 is reflected in the Config information in the branch.

ブランチは、データ(ここでは工事資材となるプログラムや設定情報)が格納されるディレクトリの構造を示している。図4に、工事資材格納装置200における、マスターのブランチと、マスターのブランチから作成された、指定されたテナント用のブランチの例を示す。 A branch indicates the structure of a directory in which data (here, programs and setting information that are construction materials) are stored. FIG. 4 shows an example of a master branch and a branch for a designated tenant created from the master branch in the construction material storage device 200 .

図4の例において、「(C)v2111_to_v2120」の配下のプログラムは、v2111からv2120へのアップグレード用のプログラムを示し、「(C)v2120_to_v2111」の配下のプログラムは、v2120からv2111への切り戻し用のプログラムである。 In the example of FIG. 4, the program under "(C) v2111_to_v2120" is a program for upgrading from v2111 to v2120, and the program under "(C) v2120_to_v2111" is for switching back from v2120 to v2111. program.

また、「構築ツール」の配下のプログラムは、工事(アップグレードや切り戻し)のためのプログラムを示し、「チェックツール」の配下のプログラムは、工事が正常に完了したかどうかをチェックするプログラムである。 Programs under the "construction tool" are programs for construction (upgrade and cutback), and programs under the "check tool" are programs for checking whether the construction has been completed normally. .

工事対象装置400から取得したConfig情報の値は、図4における対象テナントのブランチの「hosts」、「Config」に反映される。具体的には、例えば、「hosts」、「Config」の変数部分に、工事対象装置400から取得したConfig情報の値を与える。 The value of the Config information acquired from the construction target device 400 is reflected in the "hosts" and "Config" of the branch of the target tenant in FIG. Specifically, for example, the value of the Config information acquired from the construction target device 400 is given to the variable portions of “hosts” and “Config”.

また、本実施の形態では、工事内容、及び工事工程を簡易に把握するために、1工事工程を1チケットとし、チケットシステムの番号で管理することとしている。この1チケットの中で「工事適用(upgrade)」と「切り戻し(downgrade)」それぞれの実施内容、工事資材作成の進捗管理を行い、工事工程管理をチケット番号毎に行う。それにより、工事資材作成、工事中、工事完了後、どのフェーズにおいても一元化されたチケット番号による内容の確認を可能としている。 In addition, in this embodiment, in order to easily grasp the construction details and construction process, one construction process is treated as one ticket and managed by the number of the ticket system. In this one ticket, the execution contents of each of "construction application (upgrade)" and "reverting (downgrade)" and progress management of construction material preparation are performed, and construction process management is performed for each ticket number. As a result, it is possible to confirm the contents of the work using a centralized ticket number in any phase, whether construction materials are being created, during construction, or after construction is complete.

図4の例では、各プログラム名に記載されている「2623」、「2913」等が、チケットシステムから払い出されたチケット番号の例である。 In the example of FIG. 4, "2623", "2913", etc. described in each program name are examples of ticket numbers issued by the ticket system.

工事実行管理装置100は、指定されたテナントのブランチに格納されたプログラム及び設定情報等を利用して、指定されたテナントの工事対象装置400に対する工事及びチェック等を行う。 The construction execution management device 100 uses the program, setting information, and the like stored in the designated tenant's branch to perform construction, check, and the like for the construction target device 400 of the designated tenant.

図3のS105において、工事実行管理装置100の情報管理部130は、工事資材格納装置200から、指定されたテナントのブランチの工事資材(プログラム、設定情報等)を取得する。S106において、工事実行部140は、上記工事資材を用いて、工事対象装置400に対する工事、及び工事が正常に完了したかの確認を行う。 In S105 of FIG. 3, the information management unit 130 of the construction execution management device 100 acquires construction materials (programs, setting information, etc.) of the specified tenant's branch from the construction material storage device 200. FIG. In S106, the construction execution unit 140 uses the construction materials to perform construction on the construction target device 400 and confirms whether the construction has been completed normally.

S107において、情報管理部130は、工事の実施状況に基づいて、工事資材格納部200における工事ステータスの更新を行う。なお、工事ステータスは、対象テナントのブランチに格納される情報(ステータスファイル)である。 In S107, the information management unit 130 updates the construction status in the construction material storage unit 200 based on the construction progress. The construction status is information (status file) stored in the branch of the target tenant.

Job1によりカスタマイズされる設定情報ファイル(「hosts」、「Config」)と、Job2によって更新されるステータスファイルとは別々のファイルであり排他である。これにより、Job1が何度実行されてもステータス情報が上書きされない構成となっている。 The setting information file (“hosts”, “Config”) customized by Job1 and the status file updated by Job2 are separate and exclusive files. As a result, the status information is not overwritten no matter how many times Job1 is executed.

図3を参照して説明したように、本実施の形態では、ユーザがGUIから工事種別と工事対象を指定して実行を指示するだけで、自動的にJob1の実行、及びJob1によって作成されたブランチを用いたJob2の実行を一連で行うことが可能である。 As described with reference to FIG. 3, in this embodiment, only by the user specifying the construction type and construction target from the GUI and instructing execution, Job1 is automatically executed and the It is possible to execute Job2 using a branch in a series.

(工事フロー詳細)
次に、図5、及び図6のフローチャートを参照して、工事実行管理装置100が実行する工事フローの詳細例を説明する。ここでは、2623(チケット番号)でaaa(アプリケーション名)のupgradeを実施し、2913(チケット番号)でbbb(アプリケーション名)のupgradeを実施するとする。「upgrade」は2623→2913の順番で行い、「downgrade」は2913->2623の順番で行うとする。
(Details of construction flow)
Next, a detailed example of the construction flow executed by the construction execution management device 100 will be described with reference to the flow charts of FIGS. 5 and 6. FIG. Here, assume that 2623 (ticket number) upgrades aaa (application name), and 2913 (ticket number) upgrades bbb (application name). Assume that "upgrade" is performed in the order of 2623→2913, and "downgrade" is performed in the order of 2913->2623.

<upgrade>
ユーザから、工事対象と工事種別が指定された後、図5のS201が開始される。S201において、情報取得部120が、Job1を実行する。すなわち、前述したとおり、対象のテナントの工事対象装置400から設定情報を取得するとともに、工事資材格納装置200において当該テナントのブランチを作成し、当該ブランチに、取得した設定情報を反映させる。
<upgrade>
After the user specifies the construction target and the construction type, S201 in FIG. 5 is started. In S201, the information acquisition unit 120 executes Job1. That is, as described above, setting information is acquired from the construction target device 400 of the target tenant, a branch of the tenant is created in the construction material storage device 200, and the acquired setting information is reflected in the branch.

S202において、Verupを指定したJob2の実行が開始されると、情報管理部130は、指定されたテナントのブランチから、工事工程毎(チケット番号が1工程とする)の工事資材を取得する。本例では、「2623_up_aaa」、「2913_up_bbb」、及び工事実施対象のチケットの実施順序を記載したシナリオファイルが取得される。ここでは、実行順序は2623→2913の順になっている。 In S202, when Job2 with Verup specified starts to be executed, the information management unit 130 acquires construction materials for each construction process (with a ticket number of 1 process) from the branch of the specified tenant. In this example, a scenario file is obtained that describes "2623_up_aaa", "2913_up_bbb", and the execution order of the tickets for which construction work is to be performed. Here, the order of execution is 2623→2913.

工事実行部140は、各工事工程(チケット番号)を実施する際に、情報管理部140を介して、まずその番号の工事ステータスを確認する。工事ステータスは、工事資材格納装置200における該当ブランチに格納されている。 When executing each construction process (ticket number), the construction execution unit 140 first confirms the construction status of that number via the information management unit 140 . The construction status is stored in the corresponding branch in the construction material storage device 200. FIG.

工事ステータスは「Success」、「Fail」で管理されており、「Success」にチケット番号が設定されている場合は、そのチケット番号の工事を実施して成功したことを示し、「Fail」にチケット番号が設定されている場合は、そのチケット番号の工事を実施したが途中で失敗したことを示す。「Success」、「Fail」どちらにもチケット番号が設定されていない場合は、工事未実施であることを示す。 The construction status is managed by "Success" and "Fail". If a ticket number is set in "Success", it indicates that the construction of that ticket number was successful, and "Fail" indicates that the ticket If a number is set, it indicates that the work for that ticket number was carried out but failed in the middle. If the ticket number is not set for either "Success" or "Fail", it indicates that the construction has not yet been performed.

図5の場合、すなわち、「工事適用(upgrade)」の場合、工事ステータスを確認した結果、そのチケット番号が、「Success」に設定されていない、もしくは「Fail」に設定されている場合は、未実施または再実行必要と判断し、その工事の処理を実行する。そのチケット番号が「Success」に設定されている場合は、実施済みかつ成功と判断し、そのチケット番号の工事の処理をスキップする。 In the case of FIG. 5, that is, in the case of "construction application (upgrade)", as a result of checking the construction status, if the ticket number is not set to "Success" or is set to "Fail", If it is determined that the work has not been implemented or needs to be re-executed, the work will be processed. If the ticket number is set to "Success", it is determined that the work has been completed and succeeded, and the processing of the construction work with that ticket number is skipped.

具体的には、図5のS203において、工事実行部140はまず、工事ステータスを確認する。2623が「Success」に設定されていれば次のチケット番号の工事に進み、2623が「Success」に設定されいない、又は、「Fail」に設定されている場合、S204に進み、upgradeの工事を実行する。工事が成功すれば、upgradeの工事ステータスの「Success」に2623を設定し、次のチケット番号の工事に進む。 Specifically, in S203 of FIG. 5, the construction execution unit 140 first confirms the construction status. If 2623 is set to "Success", proceed to the construction of the next ticket number. Run. If the construction is successful, 2623 is set in "Success" of the construction status of upgrade, and the construction of the next ticket number proceeds.

工事が失敗した場合には、upgradeの工事ステータスの「Fail」に2623を設定し、S208に進む。 If the construction fails, 2623 is set to "Fail" in the upgrade construction status, and the process proceeds to S208.

次のチケット番号(2913)の工事においても、S205、S206において、S203、S204と同様の処理が実行される。 In the construction of the next ticket number (2913) as well, the same processes as S203 and S204 are executed in S205 and S206.

ただし、ここでは、2913が最後のチケット番号なので、S205において、2913が「Success」にある場合に、S207に進み、工事が正常に完了したかどうかの確認を行い、そこで正常に完了したことが確認されれば工事を終了し、正常に完了したことが確認されなければS208に進む。 However, since 2913 is the last ticket number here, if 2913 is in "Success" in S205, the process proceeds to S207 to check whether the construction work has been completed normally. If it is confirmed, the construction is finished, and if it is not confirmed that it was completed normally, the process proceeds to S208.

工事が失敗した場合、及び正常完了が確認されなかった場合に進むS208において、手動で失敗原因の確認を行う。なお、失敗原因の確認を行うツールを用いることでS208の処理を自動で行うこととしてもよい。 In S208, which is to be followed when the construction is unsuccessful or when normal completion is not confirmed, the cause of failure is manually checked. Note that the process of S208 may be automatically performed by using a tool for confirming the cause of failure.

S208において、切り戻しを行うと判断した場合には、切り戻し処理(図6)に進み、失敗箇所の工事を再実行することで工事を継続すると判断した場合にはS202に戻る。このときのS202以降の再処理では、上述したロジックにより、「Success」にチケット番号が設定されている工事は実行されず、「Fail」にチケット番号が設定されている工事が実行される。従って、効率的に工事を実施できる。 If it is determined in S208 that the switchback should be performed, the process proceeds to the switchback process (FIG. 6). In the reprocessing after S202 at this time, according to the above-described logic, the work whose ticket number is set to "Success" is not executed, and the work whose ticket number is set to "Fail" is executed. Therefore, construction work can be carried out efficiently.

なお、全てのチケット番号の工事の「Success」にチケット番号が設定されたが、S207における確認の結果、S208に進み、再実行に進んだ場合には、例えば、「Success」に設定されたチケット番号を削除してから再実行を行う。 Although the ticket numbers have been set to "Success" for the construction work of all ticket numbers, if the process proceeds to S208 and proceeds to re-execution as a result of confirmation in S207, for example, the ticket set to "Success" Delete the number and try again.

<downgrade>
次に、図5において、切り戻しを行うと判断された場合における切り戻しの処理を、図6を参照して説明する。
<downgrade>
Next, the process of switchback when it is determined to perform switchback in FIG. 5 will be described with reference to FIG.

S301において、切り戻し判断がなされた後、図6のS302が開始される。S302において、downgradeを指定したJob2の実行が開始されると、情報管理部130は、指定されたテナントのブランチから、downgradeにおける工事工程毎(チケット番号が1工程とする)の工事資材を取得する。本例では、「2913_down_bbb」、「2623_down_aaa」、、及び工事実施対象のチケットの実施順序を記載したシナリオファイルが取得される。ここでは、実行順序は2913→2623の順になっている。 After the decision to switch back is made in S301, S302 of FIG. 6 is started. In S302, when execution of Job2 with downgrade specified starts, the information management unit 130 acquires construction materials for each construction process in downgrade (where the ticket number is 1 process) from the branch of the specified tenant. . In this example, a scenario file is obtained that describes "2913_down_bbb", "2623_down_aaa", and the execution order of tickets for which construction work is to be performed. Here, the order of execution is 2913→2623.

upgradeの場合と同様に、工事実行部140は、各工事工程(チケット番号)を実施する際に、情報管理部140を介して、まずその番号の工事ステータスを確認する。図6の場合、すなわち、「切り戻し(downgrade)」の場合、そのチケット番号が、「Success」、もしくは「Fail」に設定されている場合は、切り戻しが必要と判断し、処理を実行する。「Success」、「Fail」どちらにもチケット番号が設定されていない場合は、未実施のため切り戻し不要と判断し、処理をスキップする。 As in the case of upgrade, the construction execution unit 140 first confirms the construction status of that number via the information management unit 140 when executing each construction step (ticket number). In the case of FIG. 6, that is, in the case of "downgrade", if the ticket number is set to "Success" or "Fail", it is determined that switchback is necessary and processing is executed. . If the ticket number is not set in either "Success" or "Fail", it is determined that switchback is not necessary because it has not been performed, and the process is skipped.

具体的には、図6のS303において、工事実行部140はまず、工事ステータスを確認する。2913が「Success」と「Fail」のいずれにも設定されていなければ次のチケット番号の工事に進む。2913が「Success」又は「Fail」に設定されている場合、S304に進み、downgradeの工事を実行する。工事が成功すれば、downgradeの工事ステータスにおける2913を削除して、次のチケット番号の工事に進む。S304の工事が失敗した場合には、S308に進む。 Specifically, in S303 of FIG. 6, the construction execution unit 140 first confirms the construction status. If 2913 is not set to either "Success" or "Fail", proceed to construction of the next ticket number. 2913 is set to "Success" or "Fail", the process advances to S304 to execute downgrade construction. If the construction is successful, delete 2913 in the downgrade construction status and proceed to the construction of the next ticket number. If the construction in S304 fails, the process proceeds to S308.

次のチケット番号(2623)の工事においても、S305、S306において、S303、S304と同様の処理が実行される。 In the construction of the next ticket number (2623) as well, the same processes as S303 and S304 are executed in S305 and S306.

ただし、ここでは、2623が最後のチケット番号なので、S305において、2623が「Success」と「Fail」のいずれにもない場合に、S307に進み、工事が正常に完了したかどうかの確認を行い、そこで正常に完了したことが確認されれば工事を終了し、正常に完了したことが確認されなければS308に進む。 However, since 2623 is the last ticket number here, if 2623 is neither "Success" nor "Fail" in S305, proceed to S307 to check whether the construction was completed normally. Then, if it is confirmed that the work has been completed normally, the construction is finished, and if it is not confirmed that it has been completed normally, the process proceeds to S308.

工事が失敗した場合、及び正常完了が確認されなかった場合に進むS308において、手動で失敗原因の確認を行う。なお、失敗原因の確認を行うツールを用いることでS308の処理を自動で行うこととしてもよい。 In S308, which is to be followed when the construction is unsuccessful or when normal completion is not confirmed, the cause of failure is manually checked. Note that the process of S308 may be automatically performed by using a tool for confirming the cause of failure.

S308において、再実行不可と判断した場合には、S309において手動対応を行う。失敗箇所の工事を再実行することで工事を継続すると判断した場合にはS302に戻る。このときのS302以降の再処理では、上述したロジックにより、「Success」と「Fail」のいずれにもチケット番号が設定されていない工事は実行されず、「Success」又は「Fail」にチケット番号が設定されている工事が実行される。従って、効率的に工事を実施できる。 If it is determined in S308 that re-execution is not possible, manual handling is performed in S309. If it is determined to continue the construction by re-executing the construction of the failed portion, the process returns to S302. At this time, in the reprocessing after S302, according to the above-described logic, the construction for which the ticket number is not set in either "Success" or "Fail" is not executed, and the ticket number is not set in "Success" or "Fail". The set work is carried out. Therefore, construction work can be carried out efficiently.

なお、「Success」と「Fail」のいずれにもチケット番号が設定されていないが、S307における確認の結果、S308に進み、再実行に進んだ場合には、例えば、「Success」と「Fail」のチケット番号を最初の状態(S301のときの状態)に戻してから工事の再実行を行う。 It should be noted that although the ticket number is not set for both "Success" and "Fail", as a result of confirmation in S307, if the process proceeds to S308 and proceeds to re-execution, for example, "Success" and "Fail" After returning the ticket number to the initial state (state at S301), the work is re-executed.

以下、図5と図6に示したロジックで工事を行う場合において生じ得る各パターンについて説明する。 Each pattern that can occur when construction is performed according to the logic shown in FIGS. 5 and 6 will be described below.

<パターン1:2623と2913が成功する>
●工事種別「upgrade」の実行
・2623実行(成功)→「Success」に2623追加
・2913実行(成功)→「Success」に2913追加
それぞれのチケット番号が「Success」に設定され、無事に工事が終了する。
<Pattern 1: 2623 and 2913 succeed>
Execution of construction type “upgrade” ・Execution of 2623 (success) → 2623 added to “Success” ・Execution of 2913 (success) → 2913 added to “Success” finish.

<パターン2:2623初回失敗、再実行成功、2913が成功>
●工事種別「upgrade」の実行
・2623実行(失敗)→「Fail」に2623追加
●失敗の原因を確認し、再実行OKの判断が下されたら、工事実施者は初回実行時と同じ実施方法で工事を実行する。
<Pattern 2: 2623 first failure, re-execution success, 2913 success>
Execution of construction type “upgrade” Execution of 2623 (failure) → Add 2623 to “Fail” Confirm the cause of the failure, and if it is decided that re-execution is OK, the construction worker will use the same execution method as the first execution. carry out construction work in

●工事種別「upgrade」の実行
・2623 実行(成功)→「Fail」から2623削除、「Success」に2623追加
・2913実行(成功)→「Success」に2913追加
最終的にはSuccessだけに全てのチケット番号が入り、無事に工事が終了する。
Execution of construction type "upgrade" ・2623 execution (success) → 2623 deleted from "Fail", 2623 added to "Success" ・2913 execution (success) → 2913 added to "Success" The ticket number is entered, and the construction is completed safely.

<パターン3:2623が成功、2913が失敗、再実行>
●工事種別「upgrade」の実行
・2623実行(成功)→「Success」に2623追加
・2913実行(失敗)→「Fail」に2913追加
●失敗の原因を確認し、再実行OKの判断が下されたら、工事実施者は初回実行時と同じ実施方法で工事を実行する
●工事種別「upgrade」の実行
・2623Skip
・2913実行(成功)→「Fail」から2913削除、「Success」に2913追加
最終的にはSuccessだけに全てのチケット番号が入り、無事に工事が終了する。
<Pattern 3: 2623 succeeds, 2913 fails, re-executes>
Execution of construction type “upgrade” ・Execution of 2623 (success) → 2623 added to “Success” ・Execution of 2913 (failure) → 2913 added to “Fail” Confirmed the cause of the failure and decided to re-execute Execution of construction type "upgrade" ・2623Skip
Execution of 2913 (Success) → Delete 2913 from "Fail" and add 2913 to "Success" Finally, all ticket numbers are entered only in "Success", and the construction is successfully completed.

<パターン4:2623で失敗し、切り戻し実行>
●工事種別「upgrade」の実行
・2623実行(失敗)→「Fail」に2623追加
●失敗の原因を確認し、切り戻し判断が下されたら、工事実施者は、工事種別を「downgrade」に設定し、工事を実行する
●工事種別「downgrade」の実行
・2913Skip
・2623実行(成功)→「Fail」から2623削除
最終的に、全てのチケット番号がSuccess、Failのどちらにもない、切り戻し完了状態となる。
<Pattern 4: Failed at 2623, execute switchback>
● Execution of construction type “upgrade” ・Execution of 2623 (failure) → 2623 added to “Fail” ● After confirming the cause of the failure and making a decision to revert, the contractor sets the construction type to “downgrade” Execution of construction type “downgrade” ・2913Skip
Execution of 2623 (success) → Deletion of 2623 from “Fail” Finally, all ticket numbers are neither Success nor Fail, and the switchback is completed.

<パターン5:2623は成功したが、2913で失敗し切り戻し実行>
●工事種別「upgrade」の実行
・2623実行(成功)→「Success」に2623追加
・2913実行(失敗)→「Fail」に2913追加
●失敗の原因を確認し、切り戻し判断が下されたら、工事実施者は、工事種別を「downgrade」に設定し、工事を実行する
●工事種別「downgrade」の実行
・2913実行(成功)→「Fail」から2913削除
・2623実行(成功)→「Success」から2623削除
最終的に、全てのチケット番号がSuccess、Failのどちらにもない、切り戻し完了状態となる。
<Pattern 5: 2623 succeeds, but 2913 fails and switches back>
Execution of construction type "upgrade" ・Execution of 2623 (success) → 2623 added to "Success" Execution of 2913 (failure) → 2913 added to "Fail" Confirm the cause of the failure, and when it is decided to switch back, The construction worker sets the construction type to “downgrade” and executes the construction. Execution of construction type “downgrade” ・Execution of 2913 (success) → Delete 2913 from “Fail” ・Execution of 2623 (success) → “Success” 2623 is deleted from Ultimately, all ticket numbers are neither Success nor Fail, and switchback is completed.

以上説明したように、本実施の形態では、工事実施者は「工事種別」と「工事対象」だけを指定して工事を実行することができる。そのため、途中で処理が失敗し、「再実行」または「切り戻し」実施になった場合でも、手動で実施内容の変更をすることなく、同じ手順で実行すれば良く、効率的な実行が可能である。 As described above, in this embodiment, the construction worker can execute the construction by specifying only the "construction type" and "construction target". Therefore, even if the process fails in the middle and "re-execute" or "revert" is executed, it can be executed in the same procedure without manually changing the execution content, and efficient execution is possible. is.

また、工事資材が冪等性(同じ操作を複数回行っても、実施後の結果は同じになること)を担保していたとしても、パターン3やパターン4のように、処理をスキップされることで、工事時間の短縮を実現できる。 Also, even if the construction material is idempotent (even if the same operation is performed multiple times, the result after execution will be the same), the process will be skipped like pattern 3 and pattern 4. As a result, the construction time can be shortened.

また、工事後に実施内容を確認する際、ユーザごとのブランチを確認することで、「工事実施内容(Config,資材)」「工事実行結果(ステータス)」の確認を容易に行うことができる。 Also, when confirming the implementation details after the construction work, by checking the branch for each user, it is possible to easily confirm the "construction implementation details (Config, materials)" and the "construction execution result (status)".

(ハードウェア構成例)
工事実行管理装置100は、例えば、コンピュータにプログラムを実行させることにより実現できる。このコンピュータは、物理的なコンピュータであってもよいし、クラウド上の仮想マシンであってもよい。
(Hardware configuration example)
The construction execution management device 100 can be implemented by, for example, causing a computer to execute a program. This computer may be a physical computer or a virtual machine on the cloud.

すなわち、工事実行管理装置100は、コンピュータに内蔵されるCPUやメモリ等のハードウェア資源を用いて、工事実行管理装置100で実施される処理に対応するプログラムを実行することによって実現することが可能である。上記プログラムは、コンピュータが読み取り可能な記録媒体(可搬メモリ等)に記録して、保存したり、配布したりすることが可能である。また、上記プログラムをインターネットや電子メール等、ネットワークを通して提供することも可能である。 That is, the construction execution management device 100 can be realized by executing a program corresponding to the processing performed by the construction execution management device 100 using hardware resources such as a CPU and memory built into the computer. is. The above program can be recorded in a computer-readable recording medium (portable memory, etc.), saved, or distributed. It is also possible to provide the above program through a network such as the Internet or e-mail.

図7は、上記コンピュータのハードウェア構成例を示す図である。図7のコンピュータは、それぞれバスBSで相互に接続されているドライブ装置1000、補助記憶装置1002、メモリ装置1003、CPU1004、インタフェース装置1005、表示装置1006、入力装置1007、出力装置1008等を有する。なお、これらのうち、一部の装置を備えないこととしてもよい。例えば、表示を行わない場合、表示装置1006を備えなくてもよい。 FIG. 7 is a diagram showing a hardware configuration example of the computer. The computer of FIG. 7 has a drive device 1000, an auxiliary storage device 1002, a memory device 1003, a CPU 1004, an interface device 1005, a display device 1006, an input device 1007, an output device 1008, etc., which are interconnected by a bus BS. Note that some of these devices may not be provided. For example, the display device 1006 may not be provided when no display is performed.

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

メモリ装置1003は、プログラムの起動指示があった場合に、補助記憶装置1002からプログラムを読み出して格納する。CPU1004は、メモリ装置1003に格納されたプログラムに従って、工事実行管理装置100に係る機能を実現する。インタフェース装置1005は、ネットワークに接続するためのインタフェースとして用いられ、送信部及び受信部として機能する。表示装置1006はプログラムによるGUI(Graphical User Interface)等を表示する。入力装置1007はキーボード及びマウス、ボタン、又はタッチパネル等で構成され、様々な操作指示を入力させるために用いられる。出力装置1008は演算結果を出力する。 The memory device 1003 reads and stores the program from the auxiliary storage device 1002 when a program activation instruction is received. The CPU 1004 implements functions related to the construction execution management apparatus 100 according to programs stored in the memory device 1003 . The interface device 1005 is used as an interface for connecting to a network and functions as a transmitter and a receiver. A display device 1006 displays a program-based GUI (Graphical User Interface) or the like. An input device 1007 is composed of a keyboard, a mouse, buttons, a touch panel, or the like, and is used to input various operational instructions. The output device 1008 outputs the calculation result.

(実施の形態のまとめ、効果)
以上説明したとおり、本実施の形態に係る技術には主に下記の3つのポイントがある。
(Summary of Embodiments, Effect)
As described above, the technology according to this embodiment mainly has the following three points.

(1)工事実行管理装置100は、オンデマンドにConfig情報を取得する機能と、マスターのコードを複製してカスタマイズする機能を備える。Config情報を取得する機能は、本番環境適用直前に実機環境から適用に必要な情報を自動取得する。複製&カスタマイズする機能はGitのマスターブランチのコードをコピー(clone)し、コピーされたコードの変数部分に前段で取得した実機環境の情報をConfigに与える。さらに、ユーザ環境ごとのブランチを作成することにより、ユーザごとに限定したConfig、工事履歴の管理を可能としている。 (1) The construction execution management device 100 has a function of acquiring Config information on demand and a function of duplicating and customizing the master code. The function of acquiring Config information automatically acquires information necessary for application from the actual machine environment immediately before application to the production environment. The copy & customize function copies (clone) the code of the master branch of Git, and gives Config the information of the actual machine environment acquired in the previous stage to the variable part of the copied code. Furthermore, by creating a branch for each user environment, it is possible to manage Config and construction history limited to each user.

これらの機能により、マスターのコード管理に影響を与えず、個々のユーザにカスタマイズされた工事ツールを自動で作成できるため、稼働とヒューマンエラーを最小限にしながらも最適な自動工事が実施可能である。また、工事実施後に、工事履歴の確認を行う際も、手動を挟むことなくConfig生成から工事実施履歴の更新を行っているため、実際に工事を実施した正確な情報を、ユーザごとのブランチから瞬時に確認することを可能としている。 With these functions, it is possible to automatically create construction tools customized for individual users without affecting the code management of the master, so optimal automatic construction can be performed while minimizing operation and human error . In addition, when checking the construction history after construction is completed, the construction execution history is updated from Config generation without manual intervention. It allows instant confirmation.

(2)デプロイ中の工程管理を自動で行うことにより、予期せぬエラーに対しても各コード工程のステータス管理により、エラー箇所の切り分け効率化と再実行時に自動でステータスを判定して必要な箇所から工事の開始や切り戻しができるため、予期せぬエラーが発生した場合の工事時間の短縮が可能となる。 (2) By automatically managing the process during deployment, even if an unexpected error occurs, the status of each code process is managed to improve the efficiency of isolating the error location and automatically determine the necessary status when re-executing. Since construction can be started or cut back from the point, it is possible to shorten the construction time when an unexpected error occurs.

(3)工事内容、及び工事工程を簡易に把握するために、1工事工程を1チケットとし、チケットシステムの番号で管理することとしている。この1チケットの中で「工事適用(upgrade)」と「切り戻し(downgrade)」それぞれの実施内容、工事資材作成の進捗管理を行い、工事工程管理をチケット番号毎に行う。それにより、工事資材作成、工事中、工事完了後、どのフェーズにおいても一元化されたチケット番号による内容の確認を可能としている。 (3) In order to easily grasp the construction details and construction process, one construction process is treated as one ticket, and managed by ticket system numbers. In this one ticket, the execution contents of each of "construction application (upgrade)" and "reverting (downgrade)" and progress management of construction material preparation are performed, and construction process management is performed for each ticket number. As a result, it is possible to confirm the contents of the work using a centralized ticket number in any phase, whether construction materials are being created, during construction, or after construction is complete.

以上より、工事準備稼働と工事中及び、工事管理のヒューマンエラーを0にし、所定時間内に工事を完了させることができるようになる。さらに、工事後に工事内容の確認を正確かつ迅速に実行できるようになる。 From the above, it is possible to eliminate human errors in construction preparation operation, during construction, and construction management, and to complete construction within a predetermined time. Furthermore, it becomes possible to confirm the details of the construction work accurately and quickly after the construction work.

(付記)
本明細書には、少なくとも下記の各項に記載した工事実行管理装置、工事実行管理方法、及びプログラムが記載されている。
(第1項)
工事対象装置に対してソフトウェアをデプロイする工事を実行する工事実行管理装置であって、
前記工事対象装置から設定情報を取得する情報取得部と、
記憶手段に格納されている工事資材に前記設定情報を反映させる情報管理部と、
前記設定情報を反映させた工事資材を用いて前記工事対象装置に対する工事を実行する工事実行部と
を備える工事実行管理装置。
(第2項)
前記情報管理部は、前記記憶手段におけるマスターコードのブランチをコピーすることにより前記工事対象装置用のブランチを作成し、当該ブランチにおける工事資材に前記設定情報を反映させる
第1項に記載の工事実行管理装置。
(第3項)
前記工事資材を用いて行われる各工事工程にはチケット番号が付与されており、前記情報管理部は、前記チケット番号に基づいて工事ステータスを管理する
第1項又は第2項に記載の工事実行管理装置。
(第4項)
前記情報管理部は、あるチケット番号の工事が成功した場合に、前記工事ステータスにおける成功を示す情報に当該チケット番号を設定し、あるチケット番号の工事に失敗した場合に、前記工事ステータスにおける失敗を示す情報に当該チケット番号を設定する
第3項に記載の工事実行管理装置。
(第5項)
前記工事実行部は、あるチケット番号の工事を実行する際に、前記工事ステータスにおいて成功を示す情報に当該チケット番号が付されている場合には、当該工事をスキップする
第4項に記載の工事実行管理装置。
(第6項)
前記工事実行部は、あるチケット番号の工事の切り戻しを実行する際に、前記工事ステータスにおける成功を示す情報と失敗を示す情報のいずれにも当該チケット番号が設定されていない場合に、当該工事の切り戻しをスキップする
第4項又は第5項に記載の工事実行管理装置。
(第7項)
工事対象装置に対してソフトウェアをデプロイする工事を実行する工事実行管理装置における工事実行管理方法であって、
前記工事対象装置から設定情報を取得するステップと、
記憶手段に格納されている工事資材に前記設定情報を反映させるステップと、
前記設定情報を反映させた工事資材を用いて前記工事対象装置に対する工事を実行するステップと
を備える工事実行管理方法。
(第8項)
コンピュータを、第1項ないし第6項のうちいずれか1項に記載の工事実行管理装置における各部として機能させるためのプログラム。
(Appendix)
This specification describes at least a construction execution management device, a construction execution management method, and a program described in each of the following items.
(Section 1)
A construction execution management device for executing construction for deploying software to a construction target device,
an information acquisition unit that acquires setting information from the construction target device;
an information management unit that reflects the setting information in the construction materials stored in the storage means;
A construction execution management device comprising: a construction execution unit that executes construction for the construction target device using construction materials reflecting the setting information.
(Section 2)
3. The construction execution according to claim 1, wherein the information management unit creates a branch for the construction target device by copying a branch of the master code in the storage means, and reflects the setting information in the construction materials in the branch. management device.
(Section 3)
A ticket number is assigned to each construction process performed using the construction material, and the information management unit manages the construction status based on the ticket number. management device.
(Section 4)
The information management unit sets the ticket number to the information indicating success in the construction status when the construction work with a certain ticket number succeeds, and sets the failure in the construction status when the construction work with a certain ticket number fails. The construction execution management device according to item 3, wherein the ticket number is set in the indicated information.
(Section 5)
Item 4. The construction work according to item 4, wherein when executing the construction work with a certain ticket number, if the ticket number is attached to the information indicating success in the construction status, the construction work execution unit skips the construction work. Work management unit.
(Section 6)
When executing the switchback of the construction work of a certain ticket number, if the ticket number is not set in either the information indicating success or the information indicating failure in the construction status, the construction execution unit The construction execution management device according to item 4 or 5, which skips switching back.
(Section 7)
A construction execution management method in a construction execution management device for executing construction for deploying software to a construction target device, comprising:
a step of acquiring setting information from the construction target device;
a step of reflecting the setting information in the construction materials stored in the storage means;
A construction execution management method comprising the step of executing construction for the construction target device using construction materials reflecting the setting information.
(Section 8)
A program for causing a computer to function as each unit in the construction execution management device according to any one of items 1 to 6.

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

100 工事実行管理装置
110 GUI部
120 情報取得部
130 情報管理部
140 工事実行部
200 工事資材格納装置
300 ユーザ端末
400 工事対象装置
1000 ドライブ装置
1001 記録媒体
1002 補助記憶装置
1003 メモリ装置
1004 CPU
1005 インタフェース装置
1006 表示装置
1007 入力装置
1008 出力装置
100 construction execution management device 110 GUI unit 120 information acquisition unit 130 information management unit 140 construction execution unit 200 construction material storage device 300 user terminal 400 construction target device 1000 drive device 1001 recording medium 1002 auxiliary storage device 1003 memory device 1004 CPU
1005 interface device 1006 display device 1007 input device 1008 output device

Claims (8)

工事対象装置に対してソフトウェアをデプロイする工事を実行する工事実行管理装置であって、
前記工事対象装置から設定情報を取得する情報取得部と、
記憶手段に格納されている工事資材に前記設定情報を反映させる情報管理部と、
前記設定情報を反映させた工事資材を用いて前記工事対象装置に対する工事を実行する工事実行部と、を備え、
前記情報管理部は、前記記憶手段におけるマスターコードのブランチをコピーすることにより前記工事対象装置用のブランチを作成し、当該ブランチにおける工事資材に前記設定情報を反映させる
工事実行管理装置。
A construction execution management device for executing construction for deploying software to a construction target device,
an information acquisition unit that acquires setting information from the construction target device;
an information management unit that reflects the setting information in the construction materials stored in the storage means;
a construction execution unit that executes construction on the construction target device using construction materials that reflect the setting information;
The information management unit creates a branch for the construction target device by copying a branch of the master code in the storage means, and reflects the setting information on the construction materials in the branch.
Construction execution management device.
前記工事資材を用いて行われる各工事工程にはチケット番号が付与されており、前記情報管理部は、前記チケット番号に基づいて工事ステータスを管理する
請求項に記載の工事実行管理装置。
The construction execution management device according to claim 1 , wherein a ticket number is assigned to each construction process performed using the construction material, and the information management unit manages the construction status based on the ticket number.
前記情報管理部は、あるチケット番号の工事が成功した場合に、前記工事ステータスにおける成功を示す情報に当該チケット番号を設定し、あるチケット番号の工事に失敗した場合に、前記工事ステータスにおける失敗を示す情報に当該チケット番号を設定する
請求項に記載の工事実行管理装置。
The information management unit sets the ticket number to the information indicating success in the construction status when the construction work with a certain ticket number succeeds, and sets the failure in the construction status when the construction work with a certain ticket number fails. The construction execution management device according to claim 2 , wherein the ticket number is set in the indicated information.
前記工事実行部は、あるチケット番号の工事を実行する際に、前記工事ステータスにおいて成功を示す情報に当該チケット番号が付されている場合には、当該工事をスキップする
請求項に記載の工事実行管理装置。
4. The construction work according to claim 3 , wherein when executing construction work with a certain ticket number, the construction execution unit skips the construction work if the ticket number is attached to information indicating success in the construction status. Work management unit.
工事対象装置に対してソフトウェアをデプロイする工事を実行する工事実行管理装置であって、
前記工事対象装置から設定情報を取得する情報取得部と、
記憶手段に格納されている工事資材に前記設定情報を反映させる情報管理部と、
前記設定情報を反映させた工事資材を用いて前記工事対象装置に対する工事を実行する工事実行部と、を備え
前記工事資材を用いて行われる各工事工程にはチケット番号が付与されており、前記情報管理部は、前記チケット番号に基づいて工事ステータスを管理し、
前記情報管理部は、あるチケット番号の工事が成功した場合に、前記工事ステータスにおける成功を示す情報に当該チケット番号を設定し、あるチケット番号の工事に失敗した場合に、前記工事ステータスにおける失敗を示す情報に当該チケット番号を設定し、
前記工事実行部は、あるチケット番号の工事の切り戻しを実行する際に、前記工事ステータスにおける成功を示す情報と失敗を示す情報のいずれにも当該チケット番号が設定されていない場合に、当該工事の切り戻しをスキップする
工事実行管理装置。
A construction execution management device for executing construction for deploying software to a construction target device,
an information acquisition unit that acquires setting information from the construction target device;
an information management unit that reflects the setting information in the construction materials stored in the storage means;
a construction execution unit that executes construction on the construction target device using construction materials that reflect the setting information.
A ticket number is assigned to each construction process performed using the construction material, and the information management unit manages the construction status based on the ticket number,
The information management unit sets the ticket number to the information indicating success in the construction status when the construction work with a certain ticket number succeeds, and sets the failure in the construction status when the construction work with a certain ticket number fails. Set the ticket number in the information shown,
When executing the switchback of the construction work of a certain ticket number, if the ticket number is not set in either the information indicating success or the information indicating failure in the construction status, the construction execution unit skip switchback of
Construction execution management device.
工事対象装置に対してソフトウェアをデプロイする工事を実行する工事実行管理装置における工事実行管理方法であって、
前記工事対象装置から設定情報を取得する情報取得ステップと、
記憶手段に格納されている工事資材に前記設定情報を反映させる情報管理ステップと、
前記設定情報を反映させた工事資材を用いて前記工事対象装置に対する工事を実行する工事実行ステップと、を備え、
前記情報管理ステップにおいて、前記記憶手段におけるマスターコードのブランチをコピーすることにより前記工事対象装置用のブランチを作成し、当該ブランチにおける工事資材に前記設定情報を反映させる
工事実行管理方法。
A construction execution management method in a construction execution management device for executing construction for deploying software to a construction target device, comprising:
an information acquisition step of acquiring setting information from the construction target device;
an information management step of reflecting the setting information in the construction materials stored in the storage means;
a construction execution step of executing construction for the construction target device using construction materials reflecting the setting information;
In the information management step, a branch for the construction target device is created by copying a branch of the master code in the storage means, and the setting information is reflected in the construction materials in the branch.
Construction execution management methods.
工事対象装置に対してソフトウェアをデプロイする工事を実行する工事実行管理装置における工事実行管理方法であって、
前記工事対象装置から設定情報を取得する情報取得ステップと、
記憶手段に格納されている工事資材に前記設定情報を反映させる情報管理ステップと、
前記設定情報を反映させた工事資材を用いて前記工事対象装置に対する工事を実行する工事実行ステップと、を備え、
前記工事資材を用いて行われる各工事工程にはチケット番号が付与されており、前記情報管理ステップにおいて、前記チケット番号に基づいて工事ステータスを管理し、
前記情報管理ステップにおいて、あるチケット番号の工事が成功した場合に、前記工事ステータスにおける成功を示す情報に当該チケット番号を設定し、あるチケット番号の工事に失敗した場合に、前記工事ステータスにおける失敗を示す情報に当該チケット番号を設定し、
前記工事実行ステップにおいて、あるチケット番号の工事の切り戻しを実行する際に、前記工事ステータスにおける成功を示す情報と失敗を示す情報のいずれにも当該チケット番号が設定されていない場合に、当該工事の切り戻しをスキップする
工事実行管理方法。
A construction execution management method in a construction execution management device for executing construction for deploying software to a construction target device, comprising:
an information acquisition step of acquiring setting information from the construction target device;
an information management step of reflecting the setting information in the construction materials stored in the storage means;
a construction execution step of executing construction for the construction target device using construction materials reflecting the setting information;
A ticket number is assigned to each construction process performed using the construction material, and in the information management step, the construction status is managed based on the ticket number,
In the information management step, when the construction of a certain ticket number succeeds, the ticket number is set as information indicating success in the construction status, and when the construction of a certain ticket number fails, the failure in the construction status is set. Set the ticket number in the information shown,
In the construction execution step, if the ticket number is not set in either the information indicating success or the information indicating failure in the construction status when executing the switchback of the construction work with a certain ticket number, the construction work is performed. skip switchback of
Construction execution management methods.
コンピュータを、請求項1ないしのうちいずれか1項に記載の工事実行管理装置における各部として機能させるためのプログラム。 A program for causing a computer to function as each unit in the construction execution management device according to any one of claims 1 to 5 .
JP2021051172A 2021-03-25 2021-03-25 Construction execution management device, construction execution management method, and program Active JP7189251B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021051172A JP7189251B2 (en) 2021-03-25 2021-03-25 Construction execution management device, construction execution management method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021051172A JP7189251B2 (en) 2021-03-25 2021-03-25 Construction execution management device, construction execution management method, and program

Publications (2)

Publication Number Publication Date
JP2022149153A JP2022149153A (en) 2022-10-06
JP7189251B2 true JP7189251B2 (en) 2022-12-13

Family

ID=83463804

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021051172A Active JP7189251B2 (en) 2021-03-25 2021-03-25 Construction execution management device, construction execution management method, and program

Country Status (1)

Country Link
JP (1) JP7189251B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014021809A (en) 2012-07-20 2014-02-03 Kyocera Document Solutions Inc Communication establishment supporting system and electronic apparatus
JP2018063520A (en) 2016-10-12 2018-04-19 株式会社日立製作所 Computer system and program release management method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014021809A (en) 2012-07-20 2014-02-03 Kyocera Document Solutions Inc Communication establishment supporting system and electronic apparatus
JP2018063520A (en) 2016-10-12 2018-04-19 株式会社日立製作所 Computer system and program release management method

Also Published As

Publication number Publication date
JP2022149153A (en) 2022-10-06

Similar Documents

Publication Publication Date Title
US20200183896A1 (en) Upgrade of heterogeneous multi-instance database clusters
CN110019215B (en) Key pattern management in a multi-tenancy database system
US10592229B1 (en) Method and system for restoring software
US8312430B2 (en) Guarding code check-in with test case execution results
US7831968B1 (en) Method and system for restoring software
US7802247B1 (en) Method and system for restoring software
KR102047216B1 (en) Replaying jobs at a secondary location of a service
US8640098B2 (en) Offline configuration and download approach
JPH05108317A (en) Network system and its software control method
JP2014142678A (en) Virtual server transfer plan generation method and system
CN106874050A (en) A kind of system automatically updating method
US20210111962A1 (en) Topographical search
CN102473103B (en) The application program of controlling run is edited to carry out real-time scene figure
CN113760234B (en) Software development method and system
WO2022156277A1 (en) Application program installation method and apparatus, and computing device and readable storage medium
CN111399861A (en) Software automation deployment method and system
JP7189251B2 (en) Construction execution management device, construction execution management method, and program
JP2016001376A (en) Programmable controller system, and support device of the same
JP2004334493A (en) Job controller, job control file, job control method, and job control program
EP3182278A1 (en) System for automatic preparation of integrated development environments
JP2009175854A (en) Program, method and computer system for securing data consistency
JP2022108452A (en) Program managing device and program managing method
JP2016115223A (en) Database management system, database management method, and program
JP7433553B1 (en) Verification program, verification device, verification system, and verification method
JP2010117980A (en) Software release system, release control device and method, program and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210325

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220524

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220725

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221201

R150 Certificate of patent or registration of utility model

Ref document number: 7189251

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150