JP2016157306A - Correction application method and program, and information processing apparatus - Google Patents

Correction application method and program, and information processing apparatus Download PDF

Info

Publication number
JP2016157306A
JP2016157306A JP2015035341A JP2015035341A JP2016157306A JP 2016157306 A JP2016157306 A JP 2016157306A JP 2015035341 A JP2015035341 A JP 2015035341A JP 2015035341 A JP2015035341 A JP 2015035341A JP 2016157306 A JP2016157306 A JP 2016157306A
Authority
JP
Japan
Prior art keywords
virtual environment
information
application
virtual
correction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2015035341A
Other languages
Japanese (ja)
Other versions
JP6503783B2 (en
Inventor
容子 土家
Yoko Tsuchiie
容子 土家
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2015035341A priority Critical patent/JP6503783B2/en
Publication of JP2016157306A publication Critical patent/JP2016157306A/en
Application granted granted Critical
Publication of JP6503783B2 publication Critical patent/JP6503783B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To correct software in an appropriate order in a plurality of virtual environments generated hierarchically on one physical server.SOLUTION: A virtual environment I-a, which is a parent virtual environment in a first layer, transmits an application instruction to a virtual environment II-b to be corrected earlier than a virtual environment II-a. The virtual environment II-b transmits an application instruction to a virtual environment III-c to be corrected earlier than a virtual environment III-d. The virtual environment III-c applies correction, and transmits a result thereof to the virtual environment II-b. On receipt of the result of correction from the virtual environment III-c, the virtual environment II-b transmits an application instruction to the virtual environment III-d. The virtual environment III-d applies correction, and transmits a result thereof to the virtual environment II-b. On receipt of the result of correction from the virtual environment III-d, the virtual environment II-b applies correction, and transmits a result thereof in the virtual environment and the results of correction received from the virtual environments III-c and III-d, to the virtual environment I-a.SELECTED DRAWING: Figure 29B

Description

本発明は、仮想環境に修正を適用する技術に関する。   The present invention relates to a technique for applying a modification to a virtual environment.

或るOS(Operating System)(例えばSolaris(登録商標))は、互いに独立した複数の仮想環境(仮想OS環境とも呼ばれる)を1台の物理マシン上に生成する機能を有する。或る仮想環境はその仮想環境上にさらに仮想環境を生成することができるので、1台の物理マシン上に複数の仮想環境が階層的に生成される。なお、仮想環境とは、物理マシン上に仮想的に構築された仮想マシンが備える機能や仕様の総体のことである。   A certain OS (Operating System) (for example, Solaris (registered trademark)) has a function of generating a plurality of mutually independent virtual environments (also referred to as virtual OS environments) on one physical machine. Since a certain virtual environment can further generate a virtual environment on the virtual environment, a plurality of virtual environments are generated hierarchically on one physical machine. Note that the virtual environment is an overall function and specification of a virtual machine that is virtually constructed on a physical machine.

或る仮想環境(ここでは、仮想環境Aとする)が仮想環境A上に仮想環境(ここでは、仮想環境Bとする)を生成した場合、両者の間には種々の制約が生じる。例えば、仮想環境Aを起動した後でなければ仮想環境Bを起動することができないという制約、或いは、仮想環境Bを停止した後でなければ仮想環境Aを停止することができないという制約である。また、仮想環境B上で動作するソフトウエアの修正(例えばバージョン変更)を完了した後でなければ仮想環境A上でソフトウエアの修正を開始することができないといった制約もある。また、仮想環境の生成に使用するソフトウエア(以下、仮想化機構と呼ぶ)の種類の違いが修正の適用順序に制約をもたらすこともある。   When a certain virtual environment (here, referred to as virtual environment A) generates a virtual environment (here, referred to as virtual environment B) on virtual environment A, various restrictions occur between the two. For example, there is a restriction that the virtual environment B can only be started after the virtual environment A has been started, or that the virtual environment A can only be stopped after the virtual environment B has been stopped. In addition, there is a restriction that the software correction cannot be started on the virtual environment A unless the correction (for example, version change) of the software operating on the virtual environment B is completed. In addition, a difference in the type of software used for generating a virtual environment (hereinafter referred to as a virtualization mechanism) may limit the order in which corrections are applied.

近年では、物理マシンの性能が向上したこと及び仮想化技術が進歩したことに伴い、1台の物理マシン上に多数(例えば数千)の仮想環境が生成されるようになった。そのため、管理者が上記のような制約を踏まえて多数の仮想環境の修正を手動で行うと膨大な工数がかかり、また、誤適用を発生させる原因になる。   In recent years, with the improvement of the performance of physical machines and the advancement of virtualization technology, a large number (for example, thousands) of virtual environments have been generated on one physical machine. For this reason, if the administrator manually corrects a large number of virtual environments in consideration of the above-described restrictions, it takes a lot of man-hours and causes misapplication.

上記のような問題に着目した、仮想化に関する従来技術は知られていない。   There is no known prior art related to virtualization that focuses on the above problems.

特開2009−277186号公報JP 2009-277186 A 特開2009−37271号公報JP 2009-37271 A

従って、本発明の目的は、1つの側面では、1台の物理サーバ上で階層的に生成された複数の仮想環境に対して適切な順序で修正を適用するための技術を提供することである。   Accordingly, an object of the present invention is, in one aspect, to provide a technique for applying corrections in an appropriate order to a plurality of virtual environments generated hierarchically on one physical server. .

本発明に係る修正適用方法は、複数の仮想環境を階層的に生成するコンピュータにおいて実行される。そして、本修正適用方法は、複数の仮想環境のうち第1の仮想環境で動作する第1処理部が、複数の仮想環境のうち第2の仮想環境から、適用すべき修正の情報を含む修正情報及び仮想環境の修正順序を示す順序情報を受信し、第1の仮想環境より先に修正が適用されるべき仮想環境である第3の仮想環境を順序情報に基づき特定し、修正情報及び順序情報を第3の仮想環境に送信し、適用が完了したことを第3の仮想環境から通知された場合、修正情報に基づき、第1の仮想環境に修正を適用し、第1の仮想環境への修正の適用が完了した場合、第1の仮想環境への修正の適用が完了したことを第2の仮想環境に通知する処理を含む。   The correction application method according to the present invention is executed in a computer that hierarchically generates a plurality of virtual environments. Then, the present modification application method includes a modification in which the first processing unit operating in the first virtual environment among the plurality of virtual environments includes information on the modification to be applied from the second virtual environment among the plurality of virtual environments. The information and the order information indicating the modification order of the virtual environment are received, the third virtual environment, which is the virtual environment to be modified prior to the first virtual environment, is identified based on the order information, the modification information and the order When the information is transmitted to the third virtual environment and the third virtual environment is notified that the application has been completed, the correction is applied to the first virtual environment based on the correction information, and the first virtual environment is transferred to the first virtual environment. When the application of the modification is completed, a process of notifying the second virtual environment that the application of the modification to the first virtual environment is completed is included.

1つの側面では、1台の物理サーバ上で階層的に生成された複数の仮想環境に対して適切な順序で修正を適用できるようになる。   In one aspect, corrections can be applied in an appropriate order to a plurality of virtual environments generated hierarchically on one physical server.

図1は、本実施の形態における情報処理装置の機能ブロック図である。FIG. 1 is a functional block diagram of the information processing apparatus according to the present embodiment. 図2は、仮想環境の機能ブロック図である。FIG. 2 is a functional block diagram of the virtual environment. 図3は、仮想環境の階層構造の一例を示す図である。FIG. 3 is a diagram illustrating an example of a hierarchical structure of a virtual environment. 図4は、収集処理の処理フローを示す図である。FIG. 4 is a diagram illustrating a processing flow of the collection process. 図5は、第1コマンド格納部に格納される第1コマンドデータの一例を示す図である。FIG. 5 is a diagram illustrating an example of first command data stored in the first command storage unit. 図6は、親子情報の一例を示す図である。FIG. 6 is a diagram illustrating an example of parent-child information. 図7は、第2コマンド格納部に格納される第2コマンドデータの一例を示す図である。FIG. 7 is a diagram illustrating an example of second command data stored in the second command storage unit. 図8は、収集処理の処理フローを示す図である。FIG. 8 is a diagram illustrating a processing flow of the collection process. 図9は、ソフトウエア情報の一例を示す図である。FIG. 9 is a diagram illustrating an example of software information. 図10は、情報を収集する順序の一例を示す図である。FIG. 10 is a diagram illustrating an example of the order in which information is collected. 図11は、準備処理の処理フローを示す図である。FIG. 11 is a diagram illustrating a process flow of the preparation process. 図12は、階層情報の一例を示す図である。FIG. 12 is a diagram illustrating an example of the hierarchy information. 図13は、バージョンデータ格納部に格納されるバージョンデータの一例を示す図である。FIG. 13 is a diagram illustrating an example of version data stored in the version data storage unit. 図14は、機構データ格納部に格納される機構データの一例を示す図である。FIG. 14 is a diagram illustrating an example of mechanism data stored in the mechanism data storage unit. 図15は、第3コマンド格納部に格納される第3コマンドデータの一例を示す図である。FIG. 15 is a diagram illustrating an example of third command data stored in the third command storage unit. 図16は、適用プログラムの一例を示す図である。FIG. 16 is a diagram illustrating an example of the application program. 図17は、管理データの一例を示す図である。FIG. 17 is a diagram illustrating an example of management data. 図18は、準備処理の処理フローを示す図である。FIG. 18 is a diagram illustrating a process flow of the preparation process. 図19は、適用順序の情報を生成する方法について説明するための図である。FIG. 19 is a diagram for explaining a method of generating application order information. 図20は、適用順序の情報を生成する方法について説明するための図である。FIG. 20 is a diagram for explaining a method of generating application order information. 図21は、適用順序の情報を生成する方法について説明するための図である。FIG. 21 is a diagram for explaining a method of generating application order information. 図22は、適用順序の情報を生成する方法について説明するための図である。FIG. 22 is a diagram for explaining a method of generating application order information. 図23は、適用順序の情報を生成する方法について説明するための図である。FIG. 23 is a diagram for explaining a method of generating application order information. 図24は、適用順序の情報を生成する方法について説明するための図である。FIG. 24 is a diagram for explaining a method of generating application order information. 図25は、適用順序の情報を生成する方法について説明するための図である。FIG. 25 is a diagram for explaining a method of generating application order information. 図26は、適用処理の処理フローを示す図である。FIG. 26 is a diagram illustrating a processing flow of application processing. 図27は、適用処理の処理フローを示す図である。FIG. 27 is a diagram illustrating a processing flow of application processing. 図28は、適用処理の処理フローを示す図である。FIG. 28 is a diagram illustrating a processing flow of application processing. 図29Aは、修正を適用する順序の一例を示す図である。FIG. 29A is a diagram illustrating an example of the order in which corrections are applied. 図29Bは、修正を適用する順序の一例を示す図である。FIG. 29B is a diagram illustrating an example of the order in which corrections are applied. 図30は、コンピュータの機能ブロック図である。FIG. 30 is a functional block diagram of a computer.

図1に、本実施の形態における情報処理装置1の構成図を示す。情報処理装置1は、CPU(Central Processing Unit)、メモリ、HDD(Hard Disk Drive)、及びバス等を含むハードウエアリソース10を有する。ハードウエアリソース10上では、例えばハイパバイザである仮想化ソフトウエア11が、例えばファームウエア層において実行される。仮想化ソフトウエア11は、論理的に分離されたグローバル仮想環境121及びグローバル仮想環境122を生成する。   FIG. 1 shows a configuration diagram of an information processing apparatus 1 in the present embodiment. The information processing apparatus 1 includes a hardware resource 10 including a CPU (Central Processing Unit), a memory, an HDD (Hard Disk Drive), and a bus. On the hardware resource 10, for example, virtualization software 11 which is a hypervisor is executed in, for example, a firmware layer. The virtualization software 11 generates a global virtual environment 121 and a global virtual environment 122 that are logically separated.

グローバル仮想環境121は、例えばOS層において実現され、仮想環境を生成するためのソフトウエアである仮想化機構によって仮想環境1210を生成する。仮想環境1210は、仮想化機構によって仮想環境1211及び1212を生成する。グローバル仮想環境122は、仮想化機構によって仮想環境1220を生成する。仮想環境1220は、仮想化機構によって仮想環境1221及び1222を生成する。仮想環境1220乃至1222は、例えばアプリケーション層において実現される。仮想化機構は、ファームウエア層、OS層、及びアプリケーション層のいずれに含まれてもよい。また、図1においては仮想環境の数が6であるが、数に限定は無い。   The global virtual environment 121 is realized in the OS layer, for example, and generates a virtual environment 1210 by a virtualization mechanism that is software for generating a virtual environment. The virtual environment 1210 generates virtual environments 1211 and 1212 by a virtualization mechanism. The global virtual environment 122 generates a virtual environment 1220 by a virtualization mechanism. The virtual environment 1220 generates virtual environments 1221 and 1222 by a virtualization mechanism. The virtual environments 1220 to 1222 are realized in the application layer, for example. The virtualization mechanism may be included in any of the firmware layer, the OS layer, and the application layer. In FIG. 1, the number of virtual environments is 6, but the number is not limited.

上で述べたように、「仮想環境」とは、物理マシン上に仮想的に構築された仮想マシンが備える機能等の総体のことである。グローバル仮想環境121は、通常のOSの機能と同等の機能(例えばカーネルの機能等)を有しており、その機能を仮想環境1210乃至1212に提供する。仮想環境1210乃至1212は、グローバル仮想環境121の機能を利用することで、アプリケーション等の機能を提供する。なお、仮想環境1210乃至1212がOSの機能の少なくとも一部を有する場合もある。グローバル仮想環境122及び仮想環境1220乃至1222も同様である。   As described above, the “virtual environment” is a whole of functions and the like provided in a virtual machine virtually built on a physical machine. The global virtual environment 121 has a function equivalent to a function of a normal OS (for example, a kernel function), and provides the function to the virtual environments 1210 to 1212. The virtual environments 1210 to 1212 provide functions such as applications by using the functions of the global virtual environment 121. The virtual environments 1210 to 1212 may have at least a part of the OS functions. The same applies to the global virtual environment 122 and the virtual environments 1220 to 1222.

図2に、仮想環境1210乃至1212及び仮想環境1220乃至1222の機能ブロック図を示す。仮想環境1210は、収集処理部12101と、準備処理部12102と、適用処理部12103と、第1コマンド格納部12111と、第2コマンド格納部12112と、収集データ格納部12113と、修正データ格納部12114と、機構データ格納部12115と、第3コマンド格納部12116と、バージョンデータ格納部12117と、適用データ格納部12118と、適用結果格納部12119とを有する。   FIG. 2 shows a functional block diagram of the virtual environments 1210 to 1212 and the virtual environments 1220 to 1222. The virtual environment 1210 includes a collection processing unit 12101, a preparation processing unit 12102, an application processing unit 12103, a first command storage unit 12111, a second command storage unit 12112, a collection data storage unit 12113, and a correction data storage unit. 12114, mechanism data storage unit 12115, third command storage unit 12116, version data storage unit 12117, application data storage unit 12118, and application result storage unit 12119.

収集処理部12101は、第1コマンド格納部12111に格納されたデータ及び第2コマンド格納部12112に格納されたデータに基づき処理を実行し、処理結果を収集データ格納部12113に格納する。準備処理部12102は、収集データ格納部12113に格納されたデータ、修正データ格納部12114に格納されたデータ、機構データ格納部12115に格納されたデータ、第3コマンド格納部12116に格納されたデータ、及びバージョンデータ格納部12117に格納されたデータに基づき処理を実行し、処理結果を適用データ格納部12118に格納する。適用処理部12103は、適用データ格納部12118に格納されたデータに基づき処理を実行し、処理結果を適用結果格納部12119に格納する。   The collection processing unit 12101 executes processing based on the data stored in the first command storage unit 12111 and the data stored in the second command storage unit 12112, and stores the processing result in the collection data storage unit 12113. The preparation processing unit 12102 includes data stored in the collected data storage unit 12113, data stored in the correction data storage unit 12114, data stored in the mechanism data storage unit 12115, and data stored in the third command storage unit 12116. , And the process is executed based on the data stored in the version data storage unit 12117, and the processing result is stored in the application data storage unit 12118. The application processing unit 12103 executes processing based on the data stored in the application data storage unit 12118 and stores the processing result in the application result storage unit 12119.

説明をわかりやすくするため、以下では図3に示すような階層構造を想定して説明を行う。図3においては、丸の図形が仮想環境を表す。第1階層には仮想環境I-a(例えば、仮想環境1210)と、仮想環境II-a(例えば、仮想環境1211)と、仮想環境II-b(例えば、仮想環境1212)とが属する。仮想環境II-a及びII-bは仮想環境I-a上で生成された仮想環境である。このような場合、仮想環境I-aを親又は親仮想環境と呼び、仮想環境II-a及びII-bを子又は子仮想環境と呼ぶ。仮想環境I-aは、仮想化機構Xによって仮想環境II-a及びII-bを生成する。   In order to make the description easy to understand, the following description will be made assuming a hierarchical structure as shown in FIG. In FIG. 3, a circle figure represents a virtual environment. A virtual environment I-a (for example, virtual environment 1210), a virtual environment II-a (for example, virtual environment 1211), and a virtual environment II-b (for example, virtual environment 1212) belong to the first hierarchy. Virtual environments II-a and II-b are virtual environments created on the virtual environment I-a. In such a case, the virtual environment I-a is called a parent or parent virtual environment, and the virtual environments II-a and II-b are called children or child virtual environments. The virtual environment I-a generates virtual environments II-a and II-b by the virtualization mechanism X.

第2階層には仮想環境II-aと、仮想環境II-bと、仮想環境III-aと、仮想環境III-bと、仮想環境III-cと、仮想環境III-dとが属する。仮想環境III-a及びIII-bは仮想環境II-a上で生成された仮想環境である。仮想環境III-c及びIII-dは仮想環境II-b上で生成された仮想環境である。従って、仮想環境II-aは仮想環境III-a及びIII-bの親であり、仮想環境II-bは仮想環境III-c及びIII-dの親である。仮想環境II-aは、仮想化機構Yによって仮想環境III-aを生成し、仮想化機構Zによって仮想環境III-bを生成する。仮想環境II-bは、仮想化機構Zによって仮想環境III-c及びIII-dを生成する。α及びβは仮想環境の役割を表す。α及びβについては後述する。   The virtual environment II-a, virtual environment II-b, virtual environment III-a, virtual environment III-b, virtual environment III-c, and virtual environment III-d belong to the second hierarchy. Virtual environments III-a and III-b are virtual environments generated on the virtual environment II-a. Virtual environments III-c and III-d are virtual environments generated on the virtual environment II-b. Therefore, the virtual environment II-a is a parent of the virtual environments III-a and III-b, and the virtual environment II-b is a parent of the virtual environments III-c and III-d. The virtual environment II-a generates a virtual environment III-a by the virtualization mechanism Y, and generates a virtual environment III-b by the virtualization mechanism Z. The virtual environment II-b generates virtual environments III-c and III-d by the virtualization mechanism Z. α and β represent the role of the virtual environment. α and β will be described later.

このように、本実施の形態においては、親子によるグループの単位で階層を定義する。そのため、第1階層の子は第2階層の親になり、第2階層の子は第3階層の親になり・・・というように、親であり且つ子でもある仮想環境によって階層が連結される。   As described above, in this embodiment, a hierarchy is defined in units of groups by parents and children. Therefore, the child of the first hierarchy becomes the parent of the second hierarchy, the child of the second hierarchy becomes the parent of the third hierarchy, and so on. The

本実施の形態においては、第1階層の親仮想環境が、各仮想環境から情報を収集する処理(以下では、収集処理と呼ぶ)と、収集した情報に基づきソフトウエアの修正を適用するためのプログラム等を各仮想環境について生成する処理(以下では、準備処理と呼ぶ)と、生成したプログラム等に基づき各仮想環境に修正を適用する処理(以下では、適用処理と呼ぶ)とを実行する。ソフトウエアの修正とは、例えば、既に仮想環境に導入されているソフトウエア(OS、アプリケーションプログラムなど)のバージョン変更である。   In the present embodiment, the parent virtual environment of the first hierarchy is a process for collecting information from each virtual environment (hereinafter referred to as a collection process), and applying software corrections based on the collected information. A process for generating a program or the like for each virtual environment (hereinafter referred to as a preparation process) and a process for applying a correction to each virtual environment based on the generated program or the like (hereinafter referred to as an application process) are executed. The software modification is, for example, a version change of software (OS, application program, etc.) already introduced in the virtual environment.

はじめに、図4乃至図10を用いて、収集処理部12101が実行する収集処理について説明する。まず、収集処理部12101が起動される。第1階層の親(図3の例では、仮想環境I-a)における収集処理部12101については、情報処理装置1の管理者による起動指示によって、適用すべき修正がある場合に起動される。その他の収集処理部12101については、後述するステップS9の処理によって起動される。   First, the collection processing executed by the collection processing unit 12101 will be described with reference to FIGS. 4 to 10. First, the collection processing unit 12101 is activated. The collection processing unit 12101 in the parent of the first hierarchy (in the example of FIG. 3, the virtual environment Ia) is activated when there is a correction to be applied according to an activation instruction from the administrator of the information processing apparatus 1. The other collection processing unit 12101 is activated by the processing in step S9 described later.

そして、収集処理部12101は、第1コマンド格納部12111に格納された第1コマンドデータに含まれる取得用コマンドを実行し、自仮想環境の親子情報を生成し(図4:ステップS1)、収集データ格納部12113に格納する。   Then, the collection processing unit 12101 executes an acquisition command included in the first command data stored in the first command storage unit 12111, generates parent-child information of the own virtual environment (FIG. 4: step S1), and collects The data is stored in the data storage unit 12113.

図5に、第1コマンド格納部12111に格納される第1コマンドデータの一例を示す。図5の例では、仮想化機構の識別子と、親子情報を取得するための取得用コマンド、親子の判定基準を示すデータと、移動用コマンドとが格納される。例えば、仮想化機構Xを使用する仮想環境について親子情報を取得する場合には「command_X」が実行される。そして、取得用コマンドの実行によって取得した値と親子の判定基準を示すデータとに基づき、親子情報が生成される。   FIG. 5 shows an example of the first command data stored in the first command storage unit 12111. In the example of FIG. 5, an identifier of the virtualization mechanism, an acquisition command for acquiring parent-child information, data indicating a parent-child determination criterion, and a movement command are stored. For example, when acquiring parent-child information for a virtual environment using the virtualization mechanism X, “command_X” is executed. Then, the parent-child information is generated based on the value acquired by executing the acquisition command and the data indicating the parent-child determination criterion.

図6に、親子情報の一例を示す。図6の例は、仮想環境II-aについて生成された親子情報の一例であり、親子情報は、仮想環境の識別子と、その仮想環境が使用する仮想化機構の識別子と、子仮想環境の識別子とを含む。   FIG. 6 shows an example of parent-child information. The example of FIG. 6 is an example of parent-child information generated for the virtual environment II-a. The parent-child information includes the identifier of the virtual environment, the identifier of the virtualization mechanism used by the virtual environment, and the identifier of the child virtual environment. Including.

図4の説明に戻り、収集処理部12101は、生成された親子情報に基づき、自仮想環境が親であるか判断する(ステップS3)。例えば、親子情報に子仮想環境の識別子が含まれる場合、自仮想環境は親である。   Returning to the description of FIG. 4, the collection processing unit 12101 determines whether or not the own virtual environment is a parent based on the generated parent-child information (step S3). For example, if the identifier of the child virtual environment is included in the parent-child information, the own virtual environment is the parent.

自仮想環境は親ではない場合(ステップS5:Noルート)、処理は端子Aを介して図8のステップS13に移行する。一方、自仮想環境は親である場合(ステップS5:Yesルート)、収集処理部12101は、親子情報に基づき未処理の子を1つ特定する(ステップS6)。そして、収集処理部12101は、第1コマンドデータ、第2コマンドデータ、及び収集処理プログラムを子仮想環境に送信する(ステップS7)。なお、実際には、子仮想環境にデータを送信する場合、子仮想環境と親仮想環境とが共用する記憶領域にデータが格納される。また、収集処理プログラムが予め各仮想環境に配置されている場合には、ステップS7において収集処理プログラムを送信しなくてもよい。   When the own virtual environment is not a parent (step S5: No route), the process proceeds to step S13 in FIG. On the other hand, when the own virtual environment is a parent (step S5: Yes route), the collection processing unit 12101 identifies one unprocessed child based on the parent-child information (step S6). Then, the collection processing unit 12101 transmits the first command data, the second command data, and the collection processing program to the child virtual environment (Step S7). Actually, when data is transmitted to the child virtual environment, the data is stored in a storage area shared by the child virtual environment and the parent virtual environment. If the collection processing program is arranged in advance in each virtual environment, it is not necessary to transmit the collection processing program in step S7.

図7に、第2コマンド格納部12112に格納される第2コマンドデータの一例を示す。図7の例では、ソフトウエア(すなわちアプリケーション)の識別子と、項目と、取得用コマンドとが格納される。   FIG. 7 shows an example of second command data stored in the second command storage unit 12112. In the example of FIG. 7, software (that is, application) identifiers, items, and acquisition commands are stored.

図4の説明に戻り、収集処理部12101は、子仮想環境上で収集プログラムを実行させることにより、子仮想環境上で収集処理部12101を起動させる(ステップS9)。なお、ステップS9においては、第1コマンド格納部12111に格納された移動用コマンドを実行することによって、制御の移動が行われる。但し、本実施の形態における主要部分とは関係が無いので、詳細な説明を省略する。   Returning to the description of FIG. 4, the collection processing unit 12101 activates the collection processing unit 12101 in the child virtual environment by executing the collection program in the child virtual environment (step S9). In step S9, the movement of control is performed by executing the movement command stored in the first command storage unit 12111. However, since there is no relationship with the main part in this Embodiment, detailed description is abbreviate | omitted.

収集処理部12101は、親子情報に基づき未処理の子仮想環境が有るか判断する(ステップS11)。未処理の子仮想環境が有る場合(ステップS11:Yesルート)、ステップS6の処理に戻る。一方、未処理の子仮想環境が無い場合(ステップS11:Noルート)、処理は端子Aを介して図8のステップS13の処理に移行する。   The collection processing unit 12101 determines whether there is an unprocessed child virtual environment based on the parent-child information (step S11). When there is an unprocessed child virtual environment (step S11: Yes route), the process returns to step S6. On the other hand, when there is no unprocessed child virtual environment (step S11: No route), the process proceeds to the process of step S13 in FIG.

図8の説明に移行し、収集処理部12101は、親子情報に基づき子仮想環境が有るか判断する(ステップS13)。子仮想環境が無い場合(ステップS13:Noルート)、ステップS19の処理に移行する。子仮想環境が有る場合(ステップS13:Yesルート)、収集処理部12101は、一定時間待機する(ステップS15)。   Shifting to the description of FIG. 8, the collection processing unit 12101 determines whether there is a child virtual environment based on the parent-child information (step S13). When there is no child virtual environment (step S13: No route), the process proceeds to step S19. When there is a child virtual environment (step S13: Yes route), the collection processing unit 12101 waits for a predetermined time (step S15).

収集処理部12101は、各子仮想環境から親子情報及びソフトウエア情報を取得したか判断する(ステップS17)。後述のステップS25において説明するように、親子情報及びソフトウエア情報を取得した仮想環境は、その仮想環境の親に親子情報及びソフトウエア情報を送信するようになっている。子仮想環境が複数存在する場合には、複数の子仮想環境の各々から親子情報及びソフトウエア情報を取得するまではステップS19以降の処理は実行されない。   The collection processing unit 12101 determines whether parent-child information and software information have been acquired from each child virtual environment (step S17). As will be described later in step S25, the virtual environment that has acquired the parent-child information and the software information transmits the parent-child information and the software information to the parent of the virtual environment. When there are a plurality of child virtual environments, the processes after step S19 are not executed until the parent-child information and software information are acquired from each of the plurality of child virtual environments.

各子仮想環境から親子情報及びソフトウエア情報を取得していない場合(ステップS17:Noルート)、ステップS15の処理に戻る。一方、各子仮想環境から親子情報及びソフトウエア情報を取得した場合(ステップS17:Yesルート)、収集処理部12101は、各子仮想環境から取得した親子情報及びソフトウエア情報を、収集データ格納部12113に格納する(ステップS19)。   When parent-child information and software information are not acquired from each child virtual environment (step S17: No route), the process returns to step S15. On the other hand, when parent-child information and software information are acquired from each child virtual environment (step S17: Yes route), the collection processing unit 12101 stores the parent-child information and software information acquired from each child virtual environment as a collected data storage unit. 12113 (step S19).

収集処理部12101は、第2コマンドデータに含まれる取得用コマンドを実行することで、自仮想環境のソフトウエア情報を取得し、収集データ格納部12113に格納する(ステップS21)。ステップS21においては、自仮想環境におけるソフトウエアの各項目について、取得用コマンドが実行される。   The collection processing unit 12101 executes the acquisition command included in the second command data, thereby acquiring the software information of the own virtual environment and storing it in the collection data storage unit 12113 (step S21). In step S21, an acquisition command is executed for each item of software in the own virtual environment.

図9に、ソフトウエア情報の一例を示す。図9の例では、ソフトウエア情報は、ソフトウエアの識別子と、ソフトウエアの現在のバージョンを示す情報と、そのソフトウエアに対して現在適用されている修正のレベル(以下、修正レベルと呼ぶ)を示す情報とを含む。   FIG. 9 shows an example of software information. In the example of FIG. 9, the software information includes the software identifier, information indicating the current version of the software, and the level of correction currently applied to the software (hereinafter referred to as the correction level). Information.

図8の説明に戻り、収集処理部12101は、自仮想環境が子仮想環境であるか判断する(ステップS23)。自仮想環境が子仮想環境であるか否かは、ステップS7の処理によって親仮想環境からデータを受信したか否かによって判断することができる。   Returning to the description of FIG. 8, the collection processing unit 12101 determines whether or not the own virtual environment is a child virtual environment (step S23). Whether or not the own virtual environment is a child virtual environment can be determined based on whether or not data is received from the parent virtual environment in the process of step S7.

自仮想環境が子仮想環境ではない場合(ステップS23:Noルート)、処理を終了する。自仮想環境が子仮想環境である場合(ステップS23:Yesルート)、収集処理部12101は、収集データ格納部12113に格納された親子情報及びソフトウエア情報(すなわち、自仮想環境の親子情報及びソフトウエア情報と、取得した親子情報及びソフトウエア情報)を、親仮想環境に送信する(ステップS25)。なお、実際には、親仮想環境にデータを送信する場合、子仮想環境と親仮想環境とが共用する記憶領域にデータが格納される。そして処理を終了する。   When the own virtual environment is not a child virtual environment (step S23: No route), the process ends. When the own virtual environment is a child virtual environment (step S23: Yes route), the collection processing unit 12101 stores the parent-child information and software information stored in the collected data storage unit 12113 (that is, the parent-child information and software of the own virtual environment). (Ware information, acquired parent-child information and software information) are transmitted to the parent virtual environment (step S25). Actually, when data is transmitted to the parent virtual environment, the data is stored in a storage area shared by the child virtual environment and the parent virtual environment. Then, the process ends.

以上のような処理を実行すれば、図10に示すような順序で各仮想環境の情報が取得されるようになる。図10に示すように、収集処理は第1階層の親仮想環境である仮想環境I-aから開始する。仮想環境I-aにおける収集処理部12101は、仮想環境II-a及びII-bにおける収集処理部12101を起動する(すなわち、収集指示を送る)。仮想環境II-bにおける収集処理部12101は、仮想環境III-c及びIII-dにおける収集処理部12101に収集指示を送る。仮想環境III-c及びIII-dにおける収集処理部12101は、情報の収集を行い、収集の結果を仮想環境II-bにおける収集処理部12101に送る。仮想環境II-bにおける収集処理部12101は情報の収集を行い、自仮想環境における収集の結果と仮想環境III-c及びIII-dから受け取った収集の結果とを仮想環境I-aにおける収集処理部12101に送る。同様に、仮想環境II-aにおける収集処理部12101は、仮想環境III-a及びIII-bにおける収集処理部12101に収集指示を送る。仮想環境III-a及びIII-bにおける収集処理部12101は、情報の収集を行い、収集の結果を仮想環境II-aにおける収集処理部12101に送る。仮想環境II-aにおける収集処理部12101は情報の収集を行い、自仮想環境における収集の結果と仮想環境III-a及びIII-bから受け取った収集の結果とを仮想環境I-aにおける収集処理部12101に送る。   When the processing as described above is executed, information on each virtual environment is acquired in the order shown in FIG. As shown in FIG. 10, the collection process starts from a virtual environment Ia that is a parent virtual environment of the first hierarchy. The collection processing unit 12101 in the virtual environment I-a activates the collection processing unit 12101 in the virtual environments II-a and II-b (that is, sends a collection instruction). The collection processing unit 12101 in the virtual environment II-b sends a collection instruction to the collection processing unit 12101 in the virtual environments III-c and III-d. The collection processing unit 12101 in the virtual environments III-c and III-d collects information and sends the collection result to the collection processing unit 12101 in the virtual environment II-b. The collection processing unit 12101 in the virtual environment II-b collects information, and the collection processing unit 12101 in the virtual environment Ia receives the collection results in the own virtual environment and the collection results received from the virtual environments III-c and III-d. Send to. Similarly, the collection processing unit 12101 in the virtual environment II-a sends a collection instruction to the collection processing unit 12101 in the virtual environments III-a and III-b. The collection processing unit 12101 in the virtual environments III-a and III-b collects information and sends the collection result to the collection processing unit 12101 in the virtual environment II-a. The collection processing unit 12101 in the virtual environment II-a collects information, and the collection processing unit 12101 in the virtual environment Ia receives the collection results in the own virtual environment and the collection results received from the virtual environments III-a and III-b. Send to.

次に、図11乃至図25を用いて、準備処理部12102が実行する準備処理について説明する。第1階層の親仮想環境における収集処理部12101は、収集処理が完了した場合、収集処理が完了したことを準備処理部12102に通知する   Next, the preparation process executed by the preparation processing unit 12102 will be described with reference to FIGS. When the collection processing is completed, the collection processing unit 12101 in the first-tier parent virtual environment notifies the preparation processing unit 12102 that the collection processing has been completed.

そして、準備処理部12102は、収集データ格納部12113に格納された、各仮想環境についての親子情報に基づき、階層情報を生成する(図11:ステップS31)。   And the preparation process part 12102 produces | generates hierarchy information based on the parent-child information about each virtual environment stored in the collection data storage part 12113 (FIG. 11: step S31).

図12に、階層情報の一例を示す。図12の例では、階層情報は、階層の識別子と、その階層における親仮想環境の識別子と、その階層における子仮想環境の識別子とを含む。なお、図12に示されているように、仮想環境III-a乃至III-dには子仮想環境が無いため実際には仮想環境III-a乃至III-dは親仮想環境ではないが、説明の都合上、親仮想環境の識別子のカラムに仮想環境III-a乃至III-dの識別子が格納されている。   FIG. 12 shows an example of the hierarchy information. In the example of FIG. 12, the hierarchy information includes a hierarchy identifier, a parent virtual environment identifier in the hierarchy, and a child virtual environment identifier in the hierarchy. As shown in FIG. 12, since the virtual environments III-a to III-d have no child virtual environments, the virtual environments III-a to III-d are not actually parent virtual environments. Therefore, the identifiers of the virtual environments III-a to III-d are stored in the identifier column of the parent virtual environment.

図11の説明に戻り、準備処理部12102は、処理対象を第1階層の親(例えば、図3における仮想環境I-a)に設定する(ステップS33)。   Returning to the description of FIG. 11, the preparation processing unit 12102 sets the processing target to the parent of the first hierarchy (for example, the virtual environment Ia in FIG. 3) (step S33).

準備処理部12102は、処理対象の仮想環境について、収集データ格納部12113に格納されているソフトウエア情報及びバージョンデータ格納部12117に格納されているバージョンデータに基づき、修正を適用すべきソフトウエア及びその修正レベルを特定する(ステップS35)。   The preparation processing unit 12102, for the virtual environment to be processed, based on the software information stored in the collected data storage unit 12113 and the version data stored in the version data storage unit 12117, The correction level is specified (step S35).

図13に、バージョンデータ格納部12117に格納されるバージョンデータの一例を示す。図13の例では、ソフトウエアの識別子と、バージョンを示す情報と、最新の修正レベルを示す情報とが格納される。上で述べたように、ソフトウエア情報には現在のバージョンを示す情報と現在の修正レベルを示す情報とが含まれているので、バージョンデータを利用すれば、修正を適用すべきソフトウエア及びその修正レベルを特定できる。なお、バージョンデータは、管理者等によって最新の状態に維持される。   FIG. 13 shows an example of version data stored in the version data storage unit 12117. In the example of FIG. 13, the software identifier, information indicating the version, and information indicating the latest modification level are stored. As described above, the software information includes information indicating the current version and information indicating the current modification level. Therefore, if the version data is used, the software to which the modification should be applied and its software The modification level can be specified. Note that the version data is maintained in the latest state by an administrator or the like.

図11の説明に戻り、準備処理部12102は、処理対象の仮想環境について、ソフトウエア情報、機構データ、及び第3コマンド格納部12116に格納された第3コマンドデータに基づき、再起動の回数を算出する(ステップS37)。   Returning to the description of FIG. 11, the preparation processing unit 12102 determines the number of restarts for the virtual environment to be processed based on the software information, the mechanism data, and the third command data stored in the third command storage unit 12116. Calculate (step S37).

再起動回数は、機構データ格納部12115に格納されている、後処理の内容を示す情報、及び、第3コマンド格納部12116に格納されている、各ソフトウエアの後処理の内容を示す情報に基づき決定される。例えば、或る仮想環境が使用する仮想化機構についての後処理に再起動が含まれており、且つ、その仮想環境に適用される修正のうち2つの修正について後処理を実行する場合、再起動回数は3である。   The number of restarts is the information indicating the content of post-processing stored in the mechanism data storage unit 12115 and the information indicating the content of post-processing of each software stored in the third command storage unit 12116. To be determined. For example, when the post-processing for the virtualization mechanism used by a certain virtual environment includes restart, and the post-processing is executed for two of the corrections applied to the virtual environment, the restart is performed. The number of times is 3.

図14に、機構データ格納部12115に格納される機構データの一例を示す。図14の例では、仮想化機構の識別子と、同じ階層内での優先順位を示す情報と、親子間の優先順位を示す情報と、前処理の内容を示す情報と、後処理の内容を示す情報とが格納される。ここでの前処理とは、或る仮想環境について修正を適用すべき場合に事前に行うべき処理であり、ここでの後処理とは、或る仮想環境について修正を適用し終えた場合に行うべき処理である。その他の項目については後述する。   FIG. 14 shows an example of mechanism data stored in the mechanism data storage unit 12115. In the example of FIG. 14, the identifier of the virtualization mechanism, the information indicating the priority within the same hierarchy, the information indicating the priority between the parent and the child, the information indicating the content of the pre-processing, and the content of the post-processing are shown. Information is stored. The pre-processing here is processing that should be performed in advance when a modification should be applied to a certain virtual environment, and the post-processing here is performed when modification has been applied to a certain virtual environment. Should be processed. Other items will be described later.

図15に、第3コマンド格納部12116に格納される第3コマンドデータの一例を示す。図15の例では、ソフトウエアの識別子と、適用順序と、前処理の内容を示す情報と、後処理の内容を示す情報と、適用コマンドとが格納される。ここでの前処理とは、或るソフトウエアについて修正を適用すべき場合に事前に行うべき処理であり、ここでの後処理とは、或るソフトウエアについて修正を適用し終えた場合に行うべき処理である。適用コマンドは、適用についてのコード、前処理についてのコード、及び後処理についてのコードを含む。   FIG. 15 shows an example of third command data stored in the third command storage unit 12116. In the example of FIG. 15, software identifiers, application order, information indicating preprocessing contents, information indicating postprocessing contents, and application commands are stored. The pre-processing here is processing that should be performed in advance when a modification should be applied to certain software, and the post-processing here is performed when the modification has been applied to certain software. Should be processed. The apply command includes a code for application, a code for pre-processing, and a code for post-processing.

図11の説明に戻り、準備処理部12102は、第3コマンドデータにおける適用コマンド基づき、ステップS35において特定されたソフトウエア毎に適用プログラムを生成する(ステップS39)。   Returning to the description of FIG. 11, the preparation processing unit 12102 generates an application program for each piece of software identified in step S35 based on the application command in the third command data (step S39).

図16に、ステップS39において生成される適用プログラムの一例を示す。図16には、適用プログラムの一例として、「II-a-01.sh」という名前の適用プログラム1601と、「II-a-02.sh」という名前の適用プログラム1602とが示されている。適用プログラムは、第3コマンドデータにおける適用コマンドと、ステップS39の処理によって追加されたコードとを含む。例えば適用プログラム1601には、ステップS39の処理によって、再起動を通知するためのコマンドである「INFORM reboot」が追加される。また、適用プログラム1602には、ステップS39の処理によって、終了を通知するためのコマンドである「INFORM end」が追加される。なお、ステップS39においては実際に適用プログラムを実行できるようにするために形式を整える処理等も行われるが、本実施の形態における主要なとは直接関係しないので、説明を省略する。   FIG. 16 shows an example of the application program generated in step S39. FIG. 16 shows an application program 1601 named “II-a-01.sh” and an application program 1602 named “II-a-02.sh” as examples of application programs. The application program includes the application command in the third command data and the code added by the process of step S39. For example, “INFORM reboot”, which is a command for notifying restart, is added to the application program 1601 by the process of step S39. Further, “INFORM end”, which is a command for notifying the end, is added to the application program 1602 by the process of step S39. In step S39, processing for adjusting the format so that the application program can be actually executed is also performed. However, since it is not directly related to the main part in the present embodiment, the description thereof is omitted.

図11の説明に戻り、準備処理部12102は、親子情報及び機構データに基づき、処理対象の仮想環境が使用する仮想化機構についての前処理プログラム及び後処理プログラムを生成する(ステップS41)。例えば図14における仮想化機構Xであれば、子仮想環境の停止及びIO(Input Output)を停止するための前処理プログラムと、再起動するための後処理プログラムとが生成される。なお、仮想化機構毎に、図16における適用コマンドのような雛型プログラムを予め生成しておいてもよい。また、使用する仮想化機構が無い場合には、デフォルトの前処理及び後処理について前処理プログラム及び後処理プログラムを生成してもよい。   Returning to the description of FIG. 11, the preparation processing unit 12102 generates a pre-processing program and a post-processing program for the virtualization mechanism used by the virtual environment to be processed based on the parent-child information and the mechanism data (step S41). For example, in the case of the virtualization mechanism X in FIG. 14, a pre-processing program for stopping the child virtual environment and IO (Input Output) and a post-processing program for restarting are generated. A template program such as the application command in FIG. 16 may be generated in advance for each virtualization mechanism. Further, when there is no virtualization mechanism to be used, a preprocessing program and a postprocessing program may be generated for default preprocessing and postprocessing.

準備処理部12102は、収集データ格納部12113に格納された親子情報及びステップS35乃至S41の処理結果に基づき、管理データにおける、処理対象の仮想環境についてのエントリを生成する(ステップS43)。処理は端子Bを介して図18のステップS45に移行する。   The preparation processing unit 12102 generates an entry for the processing target virtual environment in the management data based on the parent-child information stored in the collected data storage unit 12113 and the processing results of steps S35 to S41 (step S43). The process proceeds to step S45 in FIG.

図17に、準備処理によって最終的に生成される管理データの一例を示す。図17の例では、仮想環境の識別子と、その仮想環境の親仮想環境の識別子と、適用順序と、再起動回数と、ソフトウエアの識別子と、バージョンを示す情報と、現在の修正レベルを示す情報と、適用する修正レベルを示す情報と、適用プログラムの識別子とが含まれる。なお、ステップS43において生成されたエントリには、適用順序の情報が含まれず、後述のステップS53の処理によって生成される。また、ステップS43の処理によって1つの仮想環境についてエントリが生成されるので、必ずしもステップS43の時点で図17に示すような管理データが生成されるわけではない。   FIG. 17 shows an example of management data finally generated by the preparation process. In the example of FIG. 17, the identifier of the virtual environment, the identifier of the parent virtual environment of the virtual environment, the application order, the number of restarts, the identifier of the software, the information indicating the version, and the current modification level are shown. Information, information indicating the modification level to be applied, and an identifier of the application program are included. Note that the entry generated in step S43 does not include application order information, and is generated by the process of step S53 described later. Further, since an entry is generated for one virtual environment by the process of step S43, the management data as shown in FIG. 17 is not necessarily generated at the time of step S43.

図18の説明に移行し、準備処理部12102は、処理対象の仮想環境と同じ階層に未処理の仮想環境が有るか判断する(ステップS45)。同じ階層に未処理の仮想環境が有る場合(ステップS45:Yesルート)、準備処理部12102は、同じ階層において未処理の仮想環境を処理対象に設定する(ステップS47)。処理は端子Cを介して図11のステップS35に戻る。   Shifting to the description of FIG. 18, the preparation processing unit 12102 determines whether there is an unprocessed virtual environment in the same hierarchy as the virtual environment to be processed (step S <b> 45). When there is an unprocessed virtual environment in the same hierarchy (step S45: Yes route), the preparation processing unit 12102 sets an unprocessed virtual environment in the same hierarchy as a processing target (step S47). The processing returns to step S35 in FIG.

一方、同じ階層において未処理の仮想環境が無い場合(ステップS45:Noルート)、準備処理部12102は、処理対象の仮想環境より1つ下の階層の仮想環境が有るか判断する(ステップS49)。   On the other hand, when there is no unprocessed virtual environment in the same hierarchy (step S45: No route), the preparation processing unit 12102 determines whether there is a virtual environment one level lower than the virtual environment to be processed (step S49). .

処理対象の仮想環境より1つ下の階層の仮想環境が有る場合(ステップS49:Yesルート)、準備処理部12102は、処理対象の仮想環境より1つ下の階層において未処理の仮想環境を処理対象に設定する(ステップS51)。処理は端子Cを介して図11のステップS35に戻る。   When there is a virtual environment one level lower than the virtual environment to be processed (step S49: Yes route), the preparation processing unit 12102 processes an unprocessed virtual environment in the level one lower than the virtual environment to be processed. The target is set (step S51). The processing returns to step S35 in FIG.

一方、処理対象の仮想環境より1つ下の階層の仮想環境が無い場合(ステップS49:Noルート)、準備処理部12102は適用順序の情報を生成し、管理データに付加する(ステップS53)。   On the other hand, when there is no virtual environment one level lower than the virtual environment to be processed (step S49: No route), the preparation processing unit 12102 generates application order information and adds it to the management data (step S53).

図19乃至図25を用いて、適用順序の情報を生成する方法について説明する。まず、準備処理部12102は、収集データ格納部12113に格納された親子情報を、図19に示すように整理する。図19に示したデータは、各仮想環境から取得した親子情報を連結したデータである。   A method of generating application order information will be described with reference to FIGS. First, the preparation processing unit 12102 organizes the parent-child information stored in the collected data storage unit 12113 as shown in FIG. The data shown in FIG. 19 is data obtained by concatenating parent-child information acquired from each virtual environment.

そして、図19に示したデータと機構データとに基づき、親子モデル内の適用順序を図20に示すように決定する。例えば仮想化機構I-aは仮想化機構Xを使用しており、機構データにおける仮想化機構Xについてのエントリによれば、親の優先順位は2であり、2つの子の優先順位はいずれも1である。従って、図20の2001に示すように適用順序が決定される。また、仮想化機構II-bは仮想化機構Zを使用しており、機構データにおける仮想化機構Zについてのエントリによれば、親の優先順位は3であり、役割が「α」である子の優先順位は2であり、役割が「β」である子の優先順位は1である。従って、図20の2002に示すように適用順序が決定される。   Based on the data and mechanism data shown in FIG. 19, the application order in the parent-child model is determined as shown in FIG. For example, the virtualization mechanism Ia uses the virtualization mechanism X. According to the entry for the virtualization mechanism X in the mechanism data, the priority of the parent is 2, and the priority of the two children is 1. is there. Therefore, the application order is determined as indicated by 2001 in FIG. Further, the virtualization mechanism II-b uses the virtualization mechanism Z, and according to the entry for the virtualization mechanism Z in the mechanism data, the priority of the parent is 3, and the child whose role is “α” Has a priority of 2, and a child whose role is “β” has a priority of 1. Therefore, the application order is determined as indicated by 2002 in FIG.

次に、図20に示したデータに基づき、図21に示す、親子モデル間の関係を表すデータを生成する。例えば仮想環境II-aは、図20において、仮想化機構Xについてのデータと、仮想化機構Yについてのデータと、仮想化機構Zについてのデータとに出現する。そして、仮想化機構Xについては順位が1であり、仮想化機構Yについては順位が2であり、仮想化機構Zについては順位が3である。従って、図21におけるエントリ2101が生成される。また、例えば仮想環境II-bは、図20において仮想化機構Xについてのデータと、仮想化機構Yについてのデータとに出現する。そして、仮想化機構Xについては順位が1であり、仮想化機構Zについては順位が3であるので、図21におけるエントリ2102が生成される。   Next, based on the data shown in FIG. 20, data representing the relationship between the parent and child models shown in FIG. 21 is generated. For example, the virtual environment II-a appears in FIG. 20 as data regarding the virtualization mechanism X, data regarding the virtualization mechanism Y, and data regarding the virtualization mechanism Z. The virtualization mechanism X has a rank of 1, the virtualization mechanism Y has a rank of 2, and the virtualization mechanism Z has a rank of 3. Accordingly, the entry 2101 in FIG. 21 is generated. Further, for example, the virtual environment II-b appears in the data about the virtualization mechanism X and the data about the virtualization mechanism Y in FIG. Since the virtualization mechanism X has a rank of 1 and the virtualization mechanism Z has a rank of 3, the entry 2102 in FIG. 21 is generated.

次に、図21に示したデータに対し、第2階層での順位を示す情報を付加する。機構データにおける「同じ階層内での優先順位を示す情報」によれば、同じ階層内においては仮想化機構Yは仮想化機構Zより順位が高いので、第2階層内での順位を示す情報が、図22に示すように付加される。   Next, information indicating the rank in the second hierarchy is added to the data shown in FIG. According to the “information indicating the priority order in the same hierarchy” in the mechanism data, the virtualization mechanism Y has a higher order than the virtualization mechanism Z in the same hierarchy, so that information indicating the order in the second hierarchy is provided. Are added as shown in FIG.

次に、図22に示したデータに基づき、図23に示すデータを生成する。具体的には、図22において階層が1であり且つ仮想化機構がXであるカラムについては、図23におけるエントリ2301を生成し、図22において階層が2であり且つ仮想化機構がYであるカラムについては、図23におけるエントリ2302を生成し、図22において階層が2であり且つ仮想化機構がZであるカラムの1つめについては、図23におけるエントリ2303を生成し、階層が2であり且つ仮想化機構がZであるカラムの2つめについては、図23におけるエントリ2304を生成する。さらに、図22における「第2階層での順位」に基づき、仮想化機構Yに対応付けられている仮想環境III-aの方が仮想化機構Zに対応付けられている仮想環境III-bより優先順位が高いと判断できるので、図23におけるエントリ2305を生成する。   Next, the data shown in FIG. 23 is generated based on the data shown in FIG. Specifically, for a column whose hierarchy is 1 in FIG. 22 and whose virtualization mechanism is X, an entry 2301 in FIG. 23 is generated, and in FIG. 22, the hierarchy is 2 and the virtualization mechanism is Y. For the column, entry 2302 in FIG. 23 is generated, and for the first column in FIG. 22 where the hierarchy is 2 and the virtualization mechanism is Z, entry 2303 in FIG. 23 is generated and the hierarchy is 2 For the second column whose virtualization mechanism is Z, an entry 2304 in FIG. 23 is generated. Furthermore, based on the “order in the second hierarchy” in FIG. 22, the virtual environment III-a associated with the virtualization mechanism Y is more than the virtual environment III-b associated with the virtualization mechanism Z. Since it can be determined that the priority is high, the entry 2305 in FIG. 23 is generated.

次に、図23に示したデータに基づき、図24に示すデータを生成する。ここでは、エントリ間で同じ仮想環境がある場合にはそれらの位置を合わせる処理が行われる。例えば図23においてエントリ2303におけるIII-bとエントリ2305におけるIII-bとが同じであるので、位置が合わせられる。ここで、仮想環境III-a及びIII-dには順位「1」が付与され、仮想環境III-b及びIII-cには順位「2」が付与され、仮想環境II-a及びII-bには順位「3」が付与され、仮想環境I-aには順位「4」が付与される。   Next, the data shown in FIG. 24 is generated based on the data shown in FIG. Here, when there is the same virtual environment between entries, a process for aligning the positions is performed. For example, in FIG. 23, since III-b in entry 2303 and III-b in entry 2305 are the same, the positions are matched. Here, the rank “1” is assigned to the virtual environments III-a and III-d, the rank “2” is assigned to the virtual environments III-b and III-c, and the virtual environments II-a and II-b are assigned. Is given a ranking “3”, and the virtual environment Ia is given a ranking “4”.

最後に、図24に示したデータに基づき、図25に示すデータを生成する。図25に示すデータは、図22に示したデータに、図24で決定された順序の情報が付加されたデータである。図25に示した順序の情報に含まれる数字と、第3コマンド格納部12116に格納された適用順序の情報に含まれる数字とをハイフンでつないだ形式で最終的な適用順序が生成される。そして、最終的な適用順序を管理データに付加すると、図17に示した管理データが完成する。本実施の形態においては、ハイフンの前にある数字が小さいほど順番が先であり、ハイフンの前の数字が同じである場合、ハイフンの後にある数字が小さいほど順番が先である。   Finally, the data shown in FIG. 25 is generated based on the data shown in FIG. The data shown in FIG. 25 is data in which the order information determined in FIG. 24 is added to the data shown in FIG. The final application order is generated in a format in which the numbers included in the order information shown in FIG. 25 and the numbers included in the application order information stored in the third command storage unit 12116 are connected with a hyphen. Then, when the final application order is added to the management data, the management data shown in FIG. 17 is completed. In the present embodiment, the smaller the number before the hyphen, the earlier the order, and when the number before the hyphen is the same, the smaller the number after the hyphen, the earlier the order.

図18の説明に戻り、準備処理部12102は、ステップS53の処理により適用順序の情報が付加された管理データ、ステップS41の処理により生成された前処理プログラム及び後処理プログラム、ステップS39において生成された適用プログラム、並びにソフトウエアの修正に使用する修正データを含む適用データを生成し(ステップS55)、適用データ格納部12118に格納する。   Returning to the explanation of FIG. 18, the preparation processing unit 12102 is generated in the management data to which the application order information is added by the process of step S53, the pre-processing program and the post-processing program generated by the process of step S41, and step S39. The application data including the application program and the correction data used for correcting the software is generated (step S55) and stored in the application data storage unit 12118.

以上のような処理を実行すれば、仮想環境上で動作するソフトウエア、仮想化機構、及び仮想環境の親子関係、及び仮想環境の役割についての制約に基づいて適切な適用順序を生成できるようになる。これにより、誤った順序で修正を適用することによって問題が生じることを防止できるようになる。また、たとえ仮想化機構の種類が増えたり、階層の構造が変更されたとしても、関係するデータを書き換え、収集処理及び準備処理をやり直すだけでよい。   By executing the processing as described above, it is possible to generate an appropriate application order based on constraints on software operating in the virtual environment, the virtualization mechanism, the parent-child relationship of the virtual environment, and the role of the virtual environment. Become. This can prevent problems from applying corrections in the wrong order. Even if the number of types of virtualization mechanisms increases or the hierarchical structure is changed, it is only necessary to rewrite related data and redo the collection process and the preparation process.

次に、図26乃至図29Bを用いて、適用処理部12103が実行する適用処理について説明する。   Next, application processing executed by the application processing unit 12103 will be described with reference to FIGS. 26 to 29B.

まず、適用処理部12103が起動される。第1階層の親(図3の例では、仮想環境I-a)における適用処理部12103については、情報処理装置1の管理者による起動指示によって起動される。その他の適用処理部12103については、後述するステップS71の処理によって起動される。なお、後述するステップS89の処理によって、適用プログラムの一部が起動時の処理プログラムに追加された場合には、起動時に適用プログラムの一部が実行される。   First, the application processing unit 12103 is activated. The application processing unit 12103 in the parent of the first hierarchy (in the example of FIG. 3, the virtual environment Ia) is activated by an activation instruction from the administrator of the information processing apparatus 1. The other application processing unit 12103 is activated by the process of step S71 described later. Note that, when a part of the application program is added to the processing program at the time of activation by the process of step S89 described later, a part of the application program is executed at the time of activation.

そして、適用処理部12103は、今回の起動が初回の起動であるか判断する(図26:ステップS61)。初回の起動ではない場合(ステップS61:Noルート)、適用処理部12103は、起動時に親仮想環境から受信した「実行済みの再起動の回数」に基づき再開ポイントを特定する(ステップS63)。処理は端子Dを介して図27のステップS81に移行する。再開ポイントとは、適用処理の再開位置である。   Then, the application processing unit 12103 determines whether the current activation is the first activation (FIG. 26: step S61). If it is not the first activation (step S61: No route), the application processing unit 12103 identifies a restart point based on the “number of restarts already executed” received from the parent virtual environment at the time of activation (step S63). The process proceeds to step S81 in FIG. The resume point is the resume position of the application process.

本実施の形態においては、親仮想環境の適用処理部12103が、子仮想環境において実行した再起動の回数を管理することで、どの段階まで適用処理が進んだか把握されるようになっている。具体的には、親仮想環境の適用処理部12103は、子仮想環境から受信する後述の再起動通知の数を計数する。親仮想環境の適用処理部12103は、子仮想環境から再起動通知を受信すると、子仮想環境に対してポーリングを行い、子仮想環境が再起動されるまで待つ。再起動が完了すると、子仮想環境に対して、計数された再起動通知の数(すなわち、再起動が行われた数)を通知する。子仮想環境の適用処理部12103は、計数された再起動通知の数と、管理データに含まれる再起動回数及び適用順序等とに基づき、再開ポイントを特定することができる。   In the present embodiment, the parent virtual environment application processing unit 12103 manages the number of restarts executed in the child virtual environment, thereby grasping to which stage the application processing has progressed. Specifically, the parent virtual environment application processing unit 12103 counts the number of later-described restart notifications received from the child virtual environment. When receiving the restart notification from the child virtual environment, the parent virtual environment application processing unit 12103 polls the child virtual environment and waits until the child virtual environment is restarted. When the restart is completed, the child virtual environment is notified of the counted number of restart notifications (that is, the number of restarts performed). The application processing unit 12103 of the child virtual environment can identify the restart point based on the counted number of restart notifications, the number of restarts included in the management data, the application order, and the like.

一方、初回起動である場合(ステップS61:Yesルート)、適用処理部12103は、適用データ格納部12118に格納された適用データに含まれる管理データに基づき、自仮想環境が親仮想環境であるか判断する(ステップS65)。   On the other hand, if it is the first activation (step S61: Yes route), the application processing unit 12103 determines whether the own virtual environment is the parent virtual environment based on the management data included in the application data stored in the application data storage unit 12118. Judgment is made (step S65).

自仮想環境は親仮想環境ではない場合(ステップS67:Noルート)、処理は端子Dを介して図27のステップS81に移行する。自仮想環境は親仮想環境である場合(ステップS67:Yesルート)、適用処理部12103は、未処理の子仮想環境が有るか判断する(ステップS69)。   When the own virtual environment is not the parent virtual environment (step S67: No route), the process proceeds to step S81 in FIG. When the own virtual environment is a parent virtual environment (step S67: Yes route), the application processing unit 12103 determines whether there is an unprocessed child virtual environment (step S69).

未処理の子仮想環境が有る場合(ステップS69:Yesルート)、未処理の子仮想環境を1つ特定する。そして、適用処理部12103は、適用データ格納部12118に格納された適用データを、特定された子仮想環境に送信する(ステップS71)。なお、実際には、子仮想環境にデータを送信する場合、子仮想環境と親仮想環境とが共用する記憶領域にデータが格納される。そして、子仮想環境の適用処理部12103は、適用データを受信すると、適用データ格納部12118に格納する。   When there is an unprocessed child virtual environment (step S69: Yes route), one unprocessed child virtual environment is specified. Then, the application processing unit 12103 transmits the application data stored in the application data storage unit 12118 to the specified child virtual environment (step S71). Actually, when data is transmitted to the child virtual environment, the data is stored in a storage area shared by the child virtual environment and the parent virtual environment. Then, when receiving the application data, the child virtual environment application processing unit 12103 stores the application data in the application data storage unit 12118.

適用処理部12103は、管理データに含まれる適用順序の情報に基づき、複数の子仮想環境に修正を並列適用可能であるか判断する(ステップS73)。例えば図17の例であれば、仮想環境II-aの順番は仮想環境II-bの順番と同じである(両者とも「3」である)ので、並列適用可能である。これに対し、仮想環境III-aの順番は仮想環境III-bの順番と同じではない(前者は「1」であり後者は「2」である)ので、並列適用可能ではない。   The application processing unit 12103 determines whether corrections can be applied in parallel to a plurality of child virtual environments based on the application order information included in the management data (step S73). For example, in the example of FIG. 17, the order of the virtual environment II-a is the same as the order of the virtual environment II-b (both are “3”), and thus can be applied in parallel. On the other hand, since the order of the virtual environment III-a is not the same as the order of the virtual environment III-b (the former is “1” and the latter is “2”), it cannot be applied in parallel.

並列適用可能である場合(ステップS73:Yesルート)、ステップS69の処理に戻る。一方、並列適用可能ではない場合(ステップS73:Noルート)、適用処理部12103は、適用結果の送信先の子仮想環境から適用結果を受信するまで待機する(ステップS75)。適用結果を受信した場合、適用処理部12103は、適用結果を適用結果格納部12119に格納し、ステップS69の処理に戻る。   When parallel application is possible (step S73: Yes route), the processing returns to step S69. On the other hand, if parallel application is not possible (step S73: No route), the application processing unit 12103 waits until an application result is received from the child virtual environment of the application result transmission destination (step S75). When the application result is received, the application processing unit 12103 stores the application result in the application result storage unit 12119, and returns to the process of step S69.

一方、未処理の子仮想環境が無い場合(ステップS69:Noルート)、適用処理部12103は、並列適用可能な複数の子仮想環境が有るか判断する(ステップS77)。並列適用可能な複数の子仮想環境が無い場合(ステップS77:Noルート)、処理は端子Dを介して図27のステップS81の処理に移行する。   On the other hand, when there is no unprocessed child virtual environment (step S69: No route), the application processing unit 12103 determines whether there are a plurality of child virtual environments that can be applied in parallel (step S77). If there are no child virtual environments that can be applied in parallel (step S77: No route), the process proceeds to the process of step S81 in FIG.

並列適用可能な複数の子仮想環境が有る場合(ステップS77:Yesルート)、適用処理部12103は、適用結果を各子仮想環境から受信するまで待機する(ステップS79)。適用結果を各子仮想環境から受信した場合、処理は端子Dを介して図27のステップS81の処理に移行する。   When there are a plurality of child virtual environments that can be applied in parallel (step S77: Yes route), the application processing unit 12103 waits until an application result is received from each child virtual environment (step S79). When the application result is received from each child virtual environment, the process proceeds to the process of step S81 in FIG.

図27の説明に移行し、適用処理部12103は、未適用の修正が有るか判断する(ステップS81)。未適用の修正が有るか否かは、再開ポイントに基づき判断される。なお、初回の適用の場合には、管理データを参照することによって未適用の修正が有るか判断される。   Shifting to the description of FIG. 27, the application processing unit 12103 determines whether there is an unapplied correction (step S81). Whether there is an unapplied correction is determined based on the restart point. In the case of the first application, it is determined whether there is an unapplied correction by referring to the management data.

未適用の修正が有る場合(ステップS81:Yesルート)、適用処理部12103は、初回の適用である場合には適用データに含まれる前処理プログラムを実行する(ステップS83)。初回の適用ではない場合、前処理プログラムは実行されない。   When there is an unapplied correction (step S81: Yes route), the application processing unit 12103 executes the preprocessing program included in the application data in the case of the first application (step S83). If it is not the first application, the preprocessing program is not executed.

適用処理部12103は、管理データから未適用の修正を1つ特定する(ステップS85)。そして、適用処理部12103は、特定された修正の適用中に再起動が有るか判断する(ステップS87)。適用中に再起動が有るか否かは、適用プログラムの中に再起動することを示すコードが含まれているか否かによって判断される。   The application processing unit 12103 identifies one unapplied modification from the management data (step S85). Then, the application processing unit 12103 determines whether there is a restart during application of the specified correction (step S87). Whether or not there is a restart during application is determined by whether or not a code indicating that the application program is restarted is included in the application program.

適用中に再起動が無い場合(ステップS87:Noルート)、ステップS91の処理に移行する。適用中に再起動が有る場合(ステップS87:Yesルート)、適用処理部12103は、特定された修正用の適用プログラムのうち再起動後の部分を、起動時の処理プログラム(具体的には、起動時にOSが実行する処理のプログラム)に追加する(ステップS89)。   When there is no restart during application (step S87: No route), the process proceeds to step S91. If there is a restart during application (step S87: Yes route), the application processing unit 12103 replaces the part of the specified correction application program after the restart with a processing program at startup (specifically, It is added to a program for processing executed by the OS at the time of startup (step S89).

適用処理部12103は、特定された修正用の適用プログラムを実行し(ステップS91)、適用結果を適用結果格納部12119に格納する。ステップS89の処理を実行した場合には、特定された修正用の適用プログラムのうち再起動の前の部分が実行される。また、適用データに含まれる修正データは、本処理において利用される。   The application processing unit 12103 executes the specified application program for correction (step S91), and stores the application result in the application result storage unit 12119. When the process of step S89 is executed, the part before the restart of the specified application program for correction is executed. Further, the correction data included in the application data is used in this process.

適用処理部12103は、再起動を要するか判断する(ステップS93)。再起動を要しない場合(ステップS93:Noルート)、ステップS81の処理に戻る。   The application processing unit 12103 determines whether restart is required (step S93). When the restart is not required (Step S93: No route), the process returns to Step S81.

再起動を要する場合(ステップS93:Yesルート)、適用処理部12103は、親仮想環境に再起動通知を送信する(ステップS95)。なお、実際には、親仮想環境にデータを送信する場合、子仮想環境と親仮想環境とが共用する記憶領域にデータが格納される。また、上で述べたように、再起動通知を受信した親仮想環境は、再起動通知の数を1インクリメントし、子仮想環境が起動した後、再起動の実行回数を子仮想環境に通知する。   When restart is required (step S93: Yes route), the application processing unit 12103 transmits a restart notification to the parent virtual environment (step S95). Actually, when data is transmitted to the parent virtual environment, the data is stored in a storage area shared by the child virtual environment and the parent virtual environment. Further, as described above, the parent virtual environment that has received the restart notification increments the number of restart notifications by 1 and notifies the child virtual environment of the number of restarts executed after the child virtual environment is started. .

適用処理部12103は、再起動を実行する(ステップS97)。これにより仮想環境は停止し、再びステップS61から処理を開始する。   The application processing unit 12103 executes restart (step S97). As a result, the virtual environment is stopped and the processing is started again from step S61.

一方、ステップS81において未適用の修正が無いと判断された場合(ステップS81:Noルート)、処理は端子Eを介して図28のステップS99に移行する。   On the other hand, if it is determined in step S81 that there is no unapplied correction (step S81: No route), the process proceeds to step S99 in FIG.

図28の説明に移行し、適用処理部12103は、後処理プログラムの中に再起動することを示すコードが含まれているか否かに基づき、後処理に再起動が含まれるか判断する(ステップS99)。後処理に再起動が含まれない場合(ステップS99:Noルート)、適用処理部12103は、後処理プログラムを実行する(ステップS101)。   Shifting to the description of FIG. 28, the application processing unit 12103 determines whether the post-processing includes restart, based on whether or not the post-processing program includes a code indicating restart. S99). If the post-processing does not include restart (step S99: No route), the application processing unit 12103 executes the post-processing program (step S101).

適用処理部12103は、子仮想環境から取得した適用結果と、自仮想環境の適用結果とを適用結果格納部12119から読み出し、親仮想環境に送信する(ステップS103)。そして処理を終了する。なお、実際には、親仮想環境にデータを送信する場合、子仮想環境と親仮想環境とが共用する記憶領域にデータが格納される。   The application processing unit 12103 reads the application result acquired from the child virtual environment and the application result of the own virtual environment from the application result storage unit 12119, and transmits them to the parent virtual environment (step S103). Then, the process ends. Actually, when data is transmitted to the parent virtual environment, the data is stored in a storage area shared by the child virtual environment and the parent virtual environment.

一方、後処理に再起動が含まれると判断された場合(ステップS99:Yesルート)、適用処理部12103は、後処理を実行済みであるか判断する(ステップS105)。後処理を実行済みであるか否かは、例えば、再開ポイントに基づき判断される。   On the other hand, when it is determined that restart is included in the post-processing (step S99: Yes route), the application processing unit 12103 determines whether the post-processing has been executed (step S105). Whether post-processing has been executed is determined based on, for example, a restart point.

後処理を実行済みである場合(ステップS105:Yesルート)、ステップS103の処理に移行する。一方、後処理を実行済みではない場合(ステップS105:Noルート)、適用処理部12103は、親仮想環境に再起動通知を送信する(ステップS107)。なお、実際には、親仮想環境にデータを送信する場合、子仮想環境と親仮想環境とが共用する記憶領域にデータが格納される。   When the post-processing has been executed (step S105: Yes route), the process proceeds to step S103. On the other hand, when post-processing has not been executed (step S105: No route), the application processing unit 12103 transmits a restart notification to the parent virtual environment (step S107). Actually, when data is transmitted to the parent virtual environment, the data is stored in a storage area shared by the child virtual environment and the parent virtual environment.

そして、適用処理部12103は、後処理プログラムを実行する(ステップS109)。そして処理を終了する。   Then, the application processing unit 12103 executes a post-processing program (Step S109). Then, the process ends.

以上のような処理を実行すれば、複数の仮想環境に対する修正の適用を自動的に行えるようになる。これにより、管理者の手間を削減するとともに、管理者の高度な知識及びスキルが不要になる。また、誤って修正を適用してしまうことを防止できるようになる。さらに、修正を適用した際に再起動を行うべきである場合にも対処できるようになる。   By executing the processing as described above, it becomes possible to automatically apply corrections to a plurality of virtual environments. This reduces the time and effort of the manager and eliminates the need for advanced knowledge and skills of the manager. In addition, it is possible to prevent the correction from being applied by mistake. Furthermore, it is possible to cope with a case where a restart should be performed when a correction is applied.

本実施の形態によれば、図29Aに示すような順序で各仮想環境に修正が適用されるようになる。図29Aに示すように、適用処理は第1階層の親仮想環境である仮想環境I-aから開始する。仮想環境I-aにおける適用処理部12103は、並列適用が可能である場合は仮想環境II-a及びII-bにおける適用処理部12103を並列で起動する(すなわち、適用指示を送る)。仮想環境II-bにおける適用処理部12103は、並列適用が可能である場合は仮想環境III-c及びIII-dにおける適用処理部12103に並列に適用指示を送る。仮想環境III-c及びIII-dにおける適用処理部12103は、修正の適用を行い、適用結果を仮想環境II-bにおける適用処理部12103に送る。仮想環境II-bにおける適用処理部12103は自仮想環境に対して修正の適用を行い、自仮想環境における適用結果と仮想環境III-c及びIII-dから受け取った適用結果とを仮想環境I-aにおける適用処理部12103に送る。   According to the present embodiment, corrections are applied to each virtual environment in the order shown in FIG. 29A. As shown in FIG. 29A, the application process starts from the virtual environment I-a that is the parent virtual environment of the first hierarchy. When the parallel processing is possible, the application processing unit 12103 in the virtual environment I-a starts up the application processing unit 12103 in the virtual environments II-a and II-b in parallel (that is, sends an application instruction). When the parallel processing is possible, the application processing unit 12103 in the virtual environment II-b sends an application instruction in parallel to the application processing unit 12103 in the virtual environments III-c and III-d. The application processing unit 12103 in the virtual environments III-c and III-d applies the correction, and sends the application result to the application processing unit 12103 in the virtual environment II-b. The application processing unit 12103 in the virtual environment II-b applies the correction to the own virtual environment, and the application result in the own virtual environment and the application result received from the virtual environments III-c and III-d in the virtual environment Ia. The data is sent to the application processing unit 12103.

同様に、仮想環境II-aにおける適用処理部12103は、並列適用が可能である場合は仮想環境III-a及びIII-bにおける適用処理部12103に並列に適用指示を送る。仮想環境III-a及びIII-bにおける適用処理部12103は、修正の適用を行い、適用結果を仮想環境II-aにおける適用処理部12103に送る。仮想環境II-aにおける適用処理部12103は修正の適用を行い、自仮想環境における適用結果と仮想環境III-a及びIII-bから受け取った適用結果とを仮想環境I-aにおける適用処理部12103に送る。   Similarly, the application processing unit 12103 in the virtual environment II-a sends an application instruction in parallel to the application processing unit 12103 in the virtual environments III-a and III-b when parallel application is possible. The application processing unit 12103 in the virtual environments III-a and III-b applies the correction, and sends the application result to the application processing unit 12103 in the virtual environment II-a. The application processing unit 12103 in the virtual environment II-a applies the correction, and sends the application result in the own virtual environment and the application result received from the virtual environments III-a and III-b to the application processing unit 12103 in the virtual environment Ia. .

但し、同じ階層に属する複数の仮想環境に対して修正を並列に適用できない場合もある。図29Bに、同じ階層に属する複数の仮想環境に対して修正を並列に適用できない場合における修正適用の順序の一例を示す。図29Bに示すように、適用処理は第1階層の親仮想環境である仮想環境I-aから開始する。仮想環境I-aにおける適用処理部12103は、適用の順番が仮想環境II-aより前である仮想環境II-bにおける適用処理部12103に適用指示を送る。仮想環境II-bにおける適用処理部12103は、適用の順番が仮想環境III-dより前である仮想環境III-cにおける適用処理部12103に適用指示を送る。仮想環境III-cにおける適用処理部12103は、修正の適用を行い、適用結果を仮想環境II-bにおける適用処理部12103に送る。仮想環境II-bにおける適用処理部12103は、仮想環境III-cから適用結果を受け取ると、仮想環境III-dにおける適用処理部12103に適用指示を送る。仮想環境III-dにおける適用処理部12103は、修正の適用を行い、適用結果を仮想環境II-bにおける適用処理部12103に送る。仮想環境II-bにおける適用処理部12103は、仮想環境III-dから適用結果を受け取ると、修正の適用を行い、自仮想環境における適用結果と仮想環境III-c及びIII-dから受け取った適用結果とを仮想環境I-aにおける適用処理部12103に送る。   However, there are cases where correction cannot be applied in parallel to a plurality of virtual environments belonging to the same hierarchy. FIG. 29B shows an example of the correction application sequence when corrections cannot be applied in parallel to a plurality of virtual environments belonging to the same hierarchy. As illustrated in FIG. 29B, the application process starts from the virtual environment I-a that is the parent virtual environment of the first hierarchy. The application processing unit 12103 in the virtual environment I-a sends an application instruction to the application processing unit 12103 in the virtual environment II-b whose application order is before the virtual environment II-a. The application processing unit 12103 in the virtual environment II-b sends an application instruction to the application processing unit 12103 in the virtual environment III-c whose application order is before the virtual environment III-d. The application processing unit 12103 in the virtual environment III-c applies the correction and sends the application result to the application processing unit 12103 in the virtual environment II-b. Upon receiving the application result from the virtual environment III-c, the application processing unit 12103 in the virtual environment II-b sends an application instruction to the application processing unit 12103 in the virtual environment III-d. The application processing unit 12103 in the virtual environment III-d applies the correction and sends the application result to the application processing unit 12103 in the virtual environment II-b. Upon receiving the application result from the virtual environment III-d, the application processing unit 12103 in the virtual environment II-b applies the correction, and applies the application result in the own virtual environment and the applications received from the virtual environments III-c and III-d. The result is sent to the application processing unit 12103 in the virtual environment Ia.

仮想環境I-aにおける適用処理部12103は、適用結果を仮想環境II-bから受け取ると、適用の順番が仮想環境II-bより後である仮想環境II-aにおける適用処理部12103に適用指示を送る。仮想環境II-aにおける適用処理部12103は、適用の順番が同じである仮想環境III-a及びIII-bに適用指示を送る。仮想環境III-a及びIII-bにおける適用処理部12103は、修正の適用を行い、適用結果を仮想環境II-aにおける適用処理部12103に送る。仮想環境II-aにおける適用処理部12103は修正の適用を行い、自仮想環境における適用結果と仮想環境III-a及びIII-bから受け取った適用結果とを仮想環境I-aにおける適用処理部12103に送る。   Upon receiving the application result from the virtual environment II-b, the application processing unit 12103 in the virtual environment Ia sends an application instruction to the application processing unit 12103 in the virtual environment II-a whose application order is after the virtual environment II-b. . The application processing unit 12103 in the virtual environment II-a sends an application instruction to the virtual environments III-a and III-b having the same application order. The application processing unit 12103 in the virtual environments III-a and III-b applies the correction, and sends the application result to the application processing unit 12103 in the virtual environment II-a. The application processing unit 12103 in the virtual environment II-a applies the correction, and sends the application result in the own virtual environment and the application result received from the virtual environments III-a and III-b to the application processing unit 12103 in the virtual environment Ia. .

以上本発明の一実施の形態を説明したが、本発明はこれに限定されるものではない。例えば、上で説明した情報処理装置1の機能ブロック構成は実際のプログラムモジュール構成に一致しない場合もある。   Although one embodiment of the present invention has been described above, the present invention is not limited to this. For example, the functional block configuration of the information processing apparatus 1 described above may not match the actual program module configuration.

また、上で説明した各テーブルの構成は一例であって、上記のような構成でなければならないわけではない。さらに、処理フローにおいても、処理結果が変わらなければ処理の順番を入れ替えることも可能である。さらに、並列に実行させるようにしても良い。   Further, the configuration of each table described above is an example, and the configuration as described above is not necessarily required. Further, in the processing flow, the processing order can be changed if the processing result does not change. Further, it may be executed in parallel.

また、収集処理においては下層から順に情報を収集するが、収集処理については順序の制約が無いので、他の順序で情報を収集してもよい。   In the collection process, information is collected in order from the lower layer. However, since there is no restriction on the order of the collection process, the information may be collected in another order.

なお、上で述べた情報処理装置1は、コンピュータ装置であって、図30に示すように、メモリ2501とCPU(Central Processing Unit)2503とハードディスク・ドライブ(HDD:Hard Disk Drive)2505と表示装置2509に接続される表示制御部2507とリムーバブル・ディスク2511用のドライブ装置2513と入力装置2515とネットワークに接続するための通信制御部2517とがバス2519で接続されている。オペレーティング・システム(OS:Operating System)及び本実施例における処理を実施するためのアプリケーション・プログラムは、HDD2505に格納されており、CPU2503により実行される際にはHDD2505からメモリ2501に読み出される。CPU2503は、アプリケーション・プログラムの処理内容に応じて表示制御部2507、通信制御部2517、ドライブ装置2513を制御して、所定の動作を行わせる。また、処理途中のデータについては、主としてメモリ2501に格納されるが、HDD2505に格納されるようにしてもよい。本発明の実施例では、上で述べた処理を実施するためのアプリケーション・プログラムはコンピュータ読み取り可能なリムーバブル・ディスク2511に格納されて頒布され、ドライブ装置2513からHDD2505にインストールされる。インターネットなどのネットワーク及び通信制御部2517を経由して、HDD2505にインストールされる場合もある。このようなコンピュータ装置は、上で述べたCPU2503、メモリ2501などのハードウエアとOS及びアプリケーション・プログラムなどのプログラムとが有機的に協働することにより、上で述べたような各種機能を実現する。   The information processing apparatus 1 described above is a computer apparatus, and as shown in FIG. 30, a memory 2501, a CPU (Central Processing Unit) 2503, a hard disk drive (HDD: Hard Disk Drive) 2505, and a display device. A display control unit 2507 connected to 2509, a drive device 2513 for the removable disk 2511, an input device 2515, and a communication control unit 2517 for connecting to a network are connected by a bus 2519. An operating system (OS) and an application program for executing the processing in this embodiment are stored in the HDD 2505, and are read from the HDD 2505 to the memory 2501 when executed by the CPU 2503. The CPU 2503 controls the display control unit 2507, the communication control unit 2517, and the drive device 2513 according to the processing content of the application program, and performs a predetermined operation. Further, data in the middle of processing is mainly stored in the memory 2501, but may be stored in the HDD 2505. In the embodiment of the present invention, an application program for performing the above-described processing is stored in a computer-readable removable disk 2511 and distributed, and installed in the HDD 2505 from the drive device 2513. In some cases, the HDD 2505 may be installed via a network such as the Internet and the communication control unit 2517. Such a computer apparatus realizes various functions as described above by organically cooperating hardware such as the CPU 2503 and the memory 2501 described above and programs such as the OS and application programs. .

以上述べた本発明の実施の形態をまとめると、以下のようになる。   The embodiment of the present invention described above is summarized as follows.

本実施の形態に係る修正適用方法は、複数の仮想環境を階層的に生成するコンピュータにおいて実行される。そして、本仮想環境設定方法は、複数の仮想環境のうち第1の仮想環境で動作する第1処理部が、(A)複数の仮想環境のうち第2の仮想環境から、適用すべき設定の情報を含む設定情報及び仮想環境の設定順序を示す順序情報を受信し、(B)第1の仮想環境より先に設定が適用されるべき仮想環境である第3の仮想環境を順序情報に基づき特定し、設定情報及び順序情報を第3の仮想環境に送信し、(C)適用が完了したことを第3の仮想環境から通知された場合、設定情報に基づき、第1の仮想環境に設定を適用し、(D)第1の仮想環境への設定の適用が完了した場合、第1の仮想環境への設定の適用が完了したことを第2の仮想環境に通知する処理を含む。   The modification application method according to the present embodiment is executed in a computer that hierarchically generates a plurality of virtual environments. Then, in the virtual environment setting method, the first processing unit that operates in the first virtual environment among the plurality of virtual environments has (A) the setting to be applied from the second virtual environment among the plurality of virtual environments. Receiving setting information including information and order information indicating the setting order of the virtual environment, and (B) based on the order information for the third virtual environment, which is a virtual environment to which the setting should be applied before the first virtual environment. Specify, send setting information and order information to the third virtual environment, and (C) when notified from the third virtual environment that the application has been completed, set to the first virtual environment based on the setting information And (D) when the application of the setting to the first virtual environment is completed, the second virtual environment is notified that the application of the setting to the first virtual environment is completed.

このようにすれば、順序情報に従った適用を行えるので、1台の物理サーバ上で階層的に生成された複数の仮想環境に対して適切な順序で設定を適用できるようになる。   In this way, application according to the order information can be performed, so that the settings can be applied in an appropriate order to a plurality of virtual environments generated hierarchically on one physical server.

また、本仮想環境設定方法は、上で述べた第2の仮想環境で動作する第2処理部が、(E)複数の仮想環境の各々から、適用順序の制約に関する制約情報を取得し、(F)記複数の仮想環境の各々から取得した制約情報に基づき、順序情報を生成し、(G)複数の仮想環境のうち第2の仮想環境以外の仮想環境に対して、生成された順序情報を送信する処理をさらに含んでもよい。このようにすれば、各仮想環境において順序情報を利用できるようになる。   Further, in this virtual environment setting method, the second processing unit operating in the second virtual environment described above acquires (E) constraint information related to constraints on the application order from each of the plurality of virtual environments, F) Order information is generated based on the constraint information acquired from each of the plurality of virtual environments. (G) Order information generated for virtual environments other than the second virtual environment among the plurality of virtual environments. May be further included. In this way, order information can be used in each virtual environment.

また、上で述べた制約情報は、仮想環境上で動作するアプリケーションについての情報、仮想環境を生成するためのソフトウエアについての情報、仮想環境の役割についての情報、及び仮想環境の親子関係についての情報の少なくともいずれかを含んでもよい。このようにすれば、適切な順序情報を生成できるようになる。   In addition, the constraint information described above includes information about applications running in the virtual environment, information about software for generating the virtual environment, information about the role of the virtual environment, and parent-child relationships of the virtual environment. It may include at least one of information. In this way, appropriate order information can be generated.

また、本仮想環境設定方法は、上で述べた第2の仮想環境で動作する第2処理部が、(H)複数の仮想環境の各々から、当該仮想環境の現在の設定についての情報を取得し、(I)複数の仮想環境の各々について、当該仮想環境の現在の設定についての情報に基づき、当該仮想環境に適用すべき設定の情報である第2の設定情報を生成し、(J)複数の仮想環境の各々について生成された第2の設定情報を含む設定情報を、複数の仮想環境のうち第2の仮想環境以外の仮想環境に対して送信する処理をさらに含んでもよい。このようにすれば、各仮想環境において設定情報を利用できるようになる。   Further, in this virtual environment setting method, the second processing unit operating in the second virtual environment described above acquires information on the current setting of the virtual environment from each of the (H) virtual environments. (I) For each of the plurality of virtual environments, based on information about the current settings of the virtual environment, generate second setting information that is setting information to be applied to the virtual environment, and (J) You may further include the process which transmits the setting information containing the 2nd setting information produced | generated about each of several virtual environment with respect to virtual environments other than a 2nd virtual environment among several virtual environments. In this way, the setting information can be used in each virtual environment.

また、上で述べた第2の設定情報は、設定を適用するためのプログラムをさらに含んでもよい。このようにすれば、各仮想環境において自動的に設定を適用できるようになる。   Moreover, the second setting information described above may further include a program for applying the setting. In this way, settings can be automatically applied in each virtual environment.

また、上で述べた第2の設定情報は、ソフトウエア毎に、当該ソフトウエアについての設定の適用が完了した後に仮想環境の再起動を実行するか否かを表す情報をさらに含んでもよい。このようにすれば、設定の適用後における再起動を要する場合にも対処できるようになる。   In addition, the second setting information described above may further include, for each software, information indicating whether or not to restart the virtual environment after application of the setting for the software is completed. In this way, it becomes possible to cope with a case where a restart is required after the setting is applied.

また、本仮想環境設定方法は、上で述べた第1処理部が、(K)特定のソフトウエアについての設定が完了した後に第1の仮想環境を再起動する場合、第1の仮想環境を再起動することを第2の仮想環境に通知する処理をさらに実行してもよい。このようにすれば、第2の仮想環境の第2処理部は適用の進捗を確認できるようになる。   Further, in the virtual environment setting method, when the first processing unit described above restarts the first virtual environment after (K) the setting for the specific software is completed, the first virtual environment is set. A process of notifying the second virtual environment of restarting may be further executed. In this way, the second processing unit of the second virtual environment can confirm the progress of application.

また、上で述べた第1の仮想環境は、第2の仮想環境上で生成された仮想環境であり、上で述べた第3の仮想環境は、第1の仮想環境上で生成された仮想環境であってもよい。   The first virtual environment described above is a virtual environment generated on the second virtual environment, and the third virtual environment described above is a virtual environment generated on the first virtual environment. It may be an environment.

なお、上記方法による処理をプロセッサに行わせるためのプログラムを作成することができ、当該プログラムは、例えばフレキシブルディスク、CD−ROM、光磁気ディスク、半導体メモリ、ハードディスク等のコンピュータ読み取り可能な記憶媒体又は記憶装置に格納される。尚、中間的な処理結果はメインメモリ等の記憶装置に一時保管される。   A program for causing the processor to perform the processing according to the above method can be created, and the program can be a computer-readable storage medium such as a flexible disk, a CD-ROM, a magneto-optical disk, a semiconductor memory, a hard disk, or the like. It is stored in a storage device. The intermediate processing result is temporarily stored in a storage device such as a main memory.

以上の実施例を含む実施形態に関し、さらに以下の付記を開示する。   The following supplementary notes are further disclosed with respect to the embodiments including the above examples.

(付記1)
複数の仮想環境を階層的に生成するコンピュータにおいて、
前記複数の仮想環境のうち第1の仮想環境で動作する第1処理部が、
前記複数の仮想環境のうち第2の仮想環境から、適用すべき修正の情報を含む修正情報及び仮想環境の修正順序を示す順序情報を受信し、
前記第1の仮想環境より先に修正が適用されるべき仮想環境である第3の仮想環境を前記順序情報に基づき特定し、前記修正情報及び前記順序情報を前記第3の仮想環境に送信し、
適用が完了したことを前記第3の仮想環境から通知された場合、前記修正情報に基づき、前記第1の仮想環境に修正を適用し、
前記第1の仮想環境への修正の適用が完了した場合、前記第1の仮想環境への修正の適用が完了したことを前記第2の仮想環境に通知する、
処理を実行する修正適用方法。
(Appendix 1)
In a computer that generates multiple virtual environments hierarchically,
A first processing unit that operates in a first virtual environment among the plurality of virtual environments,
Receiving correction information including correction information to be applied and order information indicating a correction order of the virtual environment from the second virtual environment among the plurality of virtual environments;
A third virtual environment that is a virtual environment to be modified prior to the first virtual environment is identified based on the order information, and the modification information and the order information are transmitted to the third virtual environment. ,
When the third virtual environment is notified that the application is completed, based on the correction information, the correction is applied to the first virtual environment;
When the application of the modification to the first virtual environment is completed, the second virtual environment is notified that the application of the modification to the first virtual environment is completed;
Modification application method to execute processing.

(付記2)
前記第2の仮想環境で動作する第2処理部が、
前記複数の仮想環境の各々から、適用順序の制約に関する制約情報を取得し、
前記複数の仮想環境の各々から取得した前記制約情報に基づき、前記順序情報を生成し、
前記複数の仮想環境のうち前記第2の仮想環境以外の仮想環境に対して、生成された前記順序情報を送信する、
付記1記載の修正適用方法。
(Appendix 2)
A second processing unit operating in the second virtual environment;
From each of the plurality of virtual environments, obtain constraint information regarding the constraints of the application order,
Based on the constraint information acquired from each of the plurality of virtual environments, to generate the order information,
Transmitting the generated order information to a virtual environment other than the second virtual environment among the plurality of virtual environments;
The correction application method described in Appendix 1.

(付記3)
前記制約情報は、
仮想環境上で動作するアプリケーションについての情報、仮想環境を生成するためのソフトウエアについての情報、仮想環境の役割についての情報、及び仮想環境の親子関係についての情報の少なくともいずれかを含む
付記2記載の修正適用方法。
(Appendix 3)
The constraint information is
Including at least one of information on an application operating in the virtual environment, information on software for generating the virtual environment, information on the role of the virtual environment, and information on the parent-child relationship of the virtual environment How to apply the fix.

(付記4)
前記第2の仮想環境で動作する第2処理部が、
前記複数の仮想環境の各々から、当該仮想環境上で実行されるソフトウエアについての情報を取得し、
前記複数の仮想環境の各々について、当該仮想環境上で実行されるソフトウエアについての情報に基づき、当該仮想環境に適用すべき修正の情報である第2の修正情報を生成し、
前記複数の仮想環境の各々について生成された前記第2の修正情報を含む前記修正情報を、前記複数の仮想環境のうち前記第2の仮想環境以外の仮想環境に対して送信する、
付記1記載の修正適用方法。
(Appendix 4)
A second processing unit operating in the second virtual environment;
Obtaining information about software executed on the virtual environment from each of the plurality of virtual environments,
For each of the plurality of virtual environments, based on information about software executed on the virtual environment, generate second correction information that is correction information to be applied to the virtual environment;
Transmitting the correction information including the second correction information generated for each of the plurality of virtual environments to a virtual environment other than the second virtual environment among the plurality of virtual environments;
The correction application method described in Appendix 1.

(付記5)
前記第2の修正情報は、修正を適用するためのプログラムをさらに含む
付記4記載の修正適用方法。
(Appendix 5)
The correction application method according to claim 4, wherein the second correction information further includes a program for applying the correction.

(付記6)
前記第2の修正情報は、ソフトウエア毎に、当該ソフトウエアについての修正の適用が完了した後に仮想環境の再起動を実行するか否かを表す情報をさらに含む
付記4記載の修正適用方法。
(Appendix 6)
The correction application method according to claim 4, wherein the second correction information further includes information indicating whether to restart the virtual environment after the application of the correction for the software is completed for each software.

(付記7)
前記第1処理部は、
特定のソフトウエアについての修正が完了した後に前記第1の仮想環境を再起動する場合、前記第1の仮想環境を再起動することを前記第2の仮想環境に通知する、
処理をさらに実行する付記6記載の修正適用方法。
(Appendix 7)
The first processing unit includes:
In a case where the first virtual environment is restarted after the modification of specific software is completed, the second virtual environment is notified to restart the first virtual environment;
The correction application method according to appendix 6, wherein the process is further executed.

(付記8)
前記第1の仮想環境は、前記第2の仮想環境上で生成された仮想環境であり、
前記第3の仮想環境は、前記第1の仮想環境上で生成された仮想環境である、
付記1乃至7のいずれか1つ記載の修正適用方法。
(Appendix 8)
The first virtual environment is a virtual environment generated on the second virtual environment,
The third virtual environment is a virtual environment generated on the first virtual environment.
The correction application method according to any one of appendices 1 to 7.

(付記9)
複数の仮想環境を階層的に生成する情報処理装置であって、
前記複数の仮想環境のうち第1の仮想環境で動作する第1処理部
を有し、
前記第1処理部が、
第2の仮想環境から、適用すべき修正の情報を含む修正情報及び仮想環境の修正順序を示す順序情報を受信し、
前記第1の仮想環境より先に修正が適用されるべき仮想環境である第3の仮想環境を前記順序情報に基づき特定し、前記修正情報及び前記順序情報を前記第3の仮想環境に送信し、
適用が完了したことを前記第3の仮想環境から通知された場合、前記修正情報に基づき、前記第1の仮想環境に修正を適用し、
前記第1の仮想環境への修正の適用が完了した場合、前記第1の仮想環境への修正の適用が完了したことを前記第2の仮想環境に通知する、
処理を実行することを特徴とする情報処理装置。
(Appendix 9)
An information processing apparatus that hierarchically generates a plurality of virtual environments,
A first processing unit that operates in a first virtual environment among the plurality of virtual environments;
The first processing unit is
Receiving, from the second virtual environment, correction information including correction information to be applied and order information indicating the correction order of the virtual environment;
A third virtual environment that is a virtual environment to be modified prior to the first virtual environment is identified based on the order information, and the modification information and the order information are transmitted to the third virtual environment. ,
When the third virtual environment is notified that the application is completed, based on the correction information, the correction is applied to the first virtual environment;
When the application of the modification to the first virtual environment is completed, the second virtual environment is notified that the application of the modification to the first virtual environment is completed;
An information processing apparatus that executes processing.

(付記10)
複数の仮想環境を階層的に生成する情報処理装置におけるプロセッサに、
前記複数の仮想環境のうち第1の仮想環境から、適用すべき修正の情報を含む修正情報及び仮想環境の修正順序を示す順序情報を受信し、
前記複数の仮想環境のうち先に修正が適用されるべき仮想環境である第2の仮想環境を前記順序情報に基づき特定し、前記修正情報及び前記順序情報を前記第2の仮想環境に送信し、
適用が完了したことを前記第2の仮想環境から通知された場合、前記修正情報に基づき、自仮想環境に修正を適用し、
前記自仮想環境への修正の適用が完了した場合、前記自仮想環境への修正の適用が完了したことを前記1の仮想環境に通知する、
処理を実行させるための修正適用プログラム。
(Appendix 10)
In a processor in an information processing apparatus that generates a plurality of virtual environments hierarchically,
Receiving correction information including correction information to be applied and order information indicating the correction order of the virtual environment from the first virtual environment among the plurality of virtual environments;
A second virtual environment that is a virtual environment to which correction is to be applied first is specified based on the order information, and the correction information and the order information are transmitted to the second virtual environment. ,
When the second virtual environment is notified that the application has been completed, the modification is applied to the virtual environment based on the modification information;
When the application of the modification to the own virtual environment is completed, the first virtual environment is notified that the application of the modification to the own virtual environment is completed;
Modification application program to execute processing.

1 情報処理装置 10 ハードウエアリソース
11 仮想化ソフトウエア 121,122 グローバル仮想環境
1210,1211,1212,1220,1221,1222 仮想環境
12101 収集処理部 12102 準備処理部
12103 適用処理部 12111 第1コマンド格納部
12112 第2コマンド格納部 12113 収集データ格納部
12114 修正データ格納部 12115 機構データ格納部
12116 第3コマンド格納部 12117 バージョンデータ格納部
12118 適用データ格納部 12119 適用結果格納部
DESCRIPTION OF SYMBOLS 1 Information processing apparatus 10 Hardware resource 11 Virtualization software 121,122 Global virtual environment 1210,1211,1212,1220,1221,1222 Virtual environment 12101 Collection processing part 12102 Preparation processing part 12103 Application processing part 12111 1st command storage part 12112 Second command storage unit 12113 Collected data storage unit 12114 Correction data storage unit 12115 Mechanism data storage unit 12116 Third command storage unit 12117 Version data storage unit 12118 Application data storage unit 12119 Application result storage unit

Claims (9)

複数の仮想環境を階層的に生成するコンピュータにおいて、
前記複数の仮想環境のうち第1の仮想環境で動作する第1処理部が、
前記複数の仮想環境のうち第2の仮想環境から、適用すべき修正の情報を含む修正情報及び仮想環境の修正順序を示す順序情報を受信し、
前記第1の仮想環境より先に修正が適用されるべき仮想環境である第3の仮想環境を前記順序情報に基づき特定し、前記修正情報及び前記順序情報を前記第3の仮想環境に送信し、
適用が完了したことを前記第3の仮想環境から通知された場合、前記修正情報に基づき、前記第1の仮想環境に修正を適用し、
前記第1の仮想環境への修正の適用が完了した場合、前記第1の仮想環境への修正の適用が完了したことを前記第2の仮想環境に通知する、
処理を実行する修正適用方法。
In a computer that generates multiple virtual environments hierarchically,
A first processing unit that operates in a first virtual environment among the plurality of virtual environments,
Receiving correction information including correction information to be applied and order information indicating a correction order of the virtual environment from the second virtual environment among the plurality of virtual environments;
A third virtual environment that is a virtual environment to be modified prior to the first virtual environment is identified based on the order information, and the modification information and the order information are transmitted to the third virtual environment. ,
When the third virtual environment is notified that the application is completed, based on the correction information, the correction is applied to the first virtual environment;
When the application of the modification to the first virtual environment is completed, the second virtual environment is notified that the application of the modification to the first virtual environment is completed;
Modification application method to execute processing.
前記第2の仮想環境で動作する第2処理部が、
前記複数の仮想環境の各々から、適用順序の制約に関する制約情報を取得し、
前記複数の仮想環境の各々から取得した前記制約情報に基づき、前記順序情報を生成し、
前記複数の仮想環境のうち前記第2の仮想環境以外の仮想環境に対して、生成された前記順序情報を送信する、
請求項1記載の修正適用方法。
A second processing unit operating in the second virtual environment;
From each of the plurality of virtual environments, obtain constraint information regarding the constraints of the application order,
Based on the constraint information acquired from each of the plurality of virtual environments, to generate the order information,
Transmitting the generated order information to a virtual environment other than the second virtual environment among the plurality of virtual environments;
The correction application method according to claim 1.
前記制約情報は、
仮想環境上で動作するアプリケーションについての情報、仮想環境を生成するためのソフトウエアについての情報、仮想環境の役割についての情報、及び仮想環境の親子関係についての情報の少なくともいずれかを含む
請求項2記載の修正適用方法。
The constraint information is
The information about the application which operate | moves on a virtual environment, the information about the software for producing | generating a virtual environment, the information about the role of a virtual environment, and the information about the parent-child relationship of a virtual environment are included at least one How to apply the description.
前記第2の仮想環境で動作する第2処理部が、
前記複数の仮想環境の各々から、当該仮想環境上で実行されるソフトウエアについての情報を取得し、
前記複数の仮想環境の各々について、当該仮想環境上で実行されるソフトウエアについての情報に基づき、当該仮想環境に適用すべき修正の情報である第2の修正情報を生成し、
前記複数の仮想環境の各々について生成された前記第2の修正情報を含む前記修正情報を、前記複数の仮想環境のうち前記第2の仮想環境以外の仮想環境に対して送信する、
請求項1記載の修正適用方法。
A second processing unit operating in the second virtual environment;
Obtaining information about software executed on the virtual environment from each of the plurality of virtual environments,
For each of the plurality of virtual environments, based on information about software executed on the virtual environment, generate second correction information that is correction information to be applied to the virtual environment;
Transmitting the correction information including the second correction information generated for each of the plurality of virtual environments to a virtual environment other than the second virtual environment among the plurality of virtual environments;
The correction application method according to claim 1.
前記第2の修正情報は、修正を適用するためのプログラムをさらに含む
請求項4記載の修正適用方法。
The correction application method according to claim 4, wherein the second correction information further includes a program for applying the correction.
前記第2の修正情報は、ソフトウエア毎に、当該ソフトウエアについての修正の適用が完了した後に仮想環境の再起動を実行するか否かを表す情報をさらに含む
請求項4記載の修正適用方法。
The correction application method according to claim 4, wherein the second correction information further includes information indicating whether to restart the virtual environment after the application of the correction for the software is completed for each software. .
前記第1処理部は、
特定のソフトウエアについての修正が完了した後に前記第1の仮想環境を再起動する場合、前記第1の仮想環境を再起動することを前記第2の仮想環境に通知する、
処理をさらに実行する請求項6記載の修正適用方法。
The first processing unit includes:
In a case where the first virtual environment is restarted after the modification of specific software is completed, the second virtual environment is notified to restart the first virtual environment;
The correction application method according to claim 6, wherein the process is further executed.
複数の仮想環境を階層的に生成する情報処理装置であって、
前記複数の仮想環境のうち第1の仮想環境で動作する第1処理部
を有し、
前記第1処理部が、
第2の仮想環境から、適用すべき修正の情報を含む修正情報及び仮想環境の修正順序を示す順序情報を受信し、
前記第1の仮想環境より先に修正が適用されるべき仮想環境である第3の仮想環境を前記順序情報に基づき特定し、前記修正情報及び前記順序情報を前記第3の仮想環境に送信し、
適用が完了したことを前記第3の仮想環境から通知された場合、前記修正情報に基づき、前記第1の仮想環境に修正を適用し、
前記第1の仮想環境への修正の適用が完了した場合、前記第1の仮想環境への修正の適用が完了したことを前記第2の仮想環境に通知する、
処理を実行することを特徴とする情報処理装置。
An information processing apparatus that hierarchically generates a plurality of virtual environments,
A first processing unit that operates in a first virtual environment among the plurality of virtual environments;
The first processing unit is
Receiving, from the second virtual environment, correction information including correction information to be applied and order information indicating the correction order of the virtual environment;
A third virtual environment that is a virtual environment to be modified prior to the first virtual environment is identified based on the order information, and the modification information and the order information are transmitted to the third virtual environment. ,
When the third virtual environment is notified that the application is completed, based on the correction information, the correction is applied to the first virtual environment;
When the application of the modification to the first virtual environment is completed, the second virtual environment is notified that the application of the modification to the first virtual environment is completed;
An information processing apparatus that executes processing.
複数の仮想環境を階層的に生成する情報処理装置におけるプロセッサに、
前記複数の仮想環境のうち第1の仮想環境から、適用すべき修正の情報を含む修正情報及び仮想環境の修正順序を示す順序情報を受信し、
前記複数の仮想環境のうち先に修正が適用されるべき仮想環境である第2の仮想環境を前記順序情報に基づき特定し、前記修正情報及び前記順序情報を前記第2の仮想環境に送信し、
適用が完了したことを前記第2の仮想環境から通知された場合、前記修正情報に基づき、自仮想環境に修正を適用し、
前記自仮想環境への修正の適用が完了した場合、前記自仮想環境への修正の適用が完了したことを前記1の仮想環境に通知する、
処理を実行させるための修正適用プログラム。
In a processor in an information processing apparatus that generates a plurality of virtual environments hierarchically,
Receiving correction information including correction information to be applied and order information indicating the correction order of the virtual environment from the first virtual environment among the plurality of virtual environments;
A second virtual environment that is a virtual environment to which correction is to be applied first is specified based on the order information, and the correction information and the order information are transmitted to the second virtual environment. ,
When the second virtual environment is notified that the application has been completed, the modification is applied to the virtual environment based on the modification information;
When the application of the modification to the own virtual environment is completed, the first virtual environment is notified that the application of the modification to the own virtual environment is completed;
Modification application program to execute processing.
JP2015035341A 2015-02-25 2015-02-25 Correction application method and program, and information processing apparatus Expired - Fee Related JP6503783B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015035341A JP6503783B2 (en) 2015-02-25 2015-02-25 Correction application method and program, and information processing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015035341A JP6503783B2 (en) 2015-02-25 2015-02-25 Correction application method and program, and information processing apparatus

Publications (2)

Publication Number Publication Date
JP2016157306A true JP2016157306A (en) 2016-09-01
JP6503783B2 JP6503783B2 (en) 2019-04-24

Family

ID=56826270

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015035341A Expired - Fee Related JP6503783B2 (en) 2015-02-25 2015-02-25 Correction application method and program, and information processing apparatus

Country Status (1)

Country Link
JP (1) JP6503783B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020523679A (en) * 2017-06-09 2020-08-06 テレフオンアクチーボラゲット エルエム エリクソン(パブル) Method for coordinating infrastructure upgrades with hosted applications/virtual network functions (VNFs)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014067402A (en) * 2012-09-04 2014-04-17 Fujitsu Ltd Program, information processing apparatus, and schedule determination method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014067402A (en) * 2012-09-04 2014-04-17 Fujitsu Ltd Program, information processing apparatus, and schedule determination method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020523679A (en) * 2017-06-09 2020-08-06 テレフオンアクチーボラゲット エルエム エリクソン(パブル) Method for coordinating infrastructure upgrades with hosted applications/virtual network functions (VNFs)
US11403128B2 (en) 2017-06-09 2022-08-02 Telefonaktiebolaget Lm Ericsson (Publ) Method for coordinating infrastructure upgrade with hosted applications/virtual network functions (VNFs)
US11861391B2 (en) 2017-06-09 2024-01-02 Telefonaktiebolaget Lm Ericsson (Publ) Method for coordinating infrastructure upgrade with hosted applications/virtual network functions (VNFs)

Also Published As

Publication number Publication date
JP6503783B2 (en) 2019-04-24

Similar Documents

Publication Publication Date Title
US11487536B2 (en) System for automating user-defined actions for applications executed using virtual machines in a guest system
US11706296B2 (en) Fault-tolerant and highly available configuration of distributed services
EP3842948A2 (en) Method and apparatus for testing edge computing, device, and readable storage medium
US10191879B2 (en) System and method for creating snapshots in openflame environment
CN108292213B (en) Updating dependent services
US8370802B2 (en) Specifying an order for changing an operational state of software application components
CN104714822B (en) For the method and system for the real-time update for performing operating system
US10216514B2 (en) Identification of a component for upgrade
CN111314125A (en) System and method for fault tolerant communication
JP5518950B2 (en) Virtual machine management system and management method
EP3230865B1 (en) Recovery execution system using programatic generation of actionable workflows
George et al. A scalable and cloud-native hyperparameter tuning system
US20130263143A1 (en) Information processing method and system
JP6503783B2 (en) Correction application method and program, and information processing apparatus
CN112379934B (en) Deployment method and device of cloud computing platform and storage medium
EP3745259B1 (en) Method and electronic generation device for generating at least one configuration file for an automation tool, related computer program
CN107995319B (en) Virtual device configuration method and network device
US11307852B1 (en) Automated generation of dependency graph based on input and output requirements of information
CN111352664A (en) Distributed machine learning task starting method, system, equipment and storage medium
CN115277398A (en) Cluster network configuration method and device
CN114124700A (en) Cluster parameter configuration method and device, electronic equipment and readable storage medium
JP2009175854A (en) Program, method and computer system for securing data consistency
US11113106B2 (en) Coordinating distributed task execution
CN114443218A (en) Desktop cloud fault repairing method and system
Sill When to use standards-based apis (part 2)

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20171215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180822

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180904

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180907

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190311

R150 Certificate of patent or registration of utility model

Ref document number: 6503783

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees