JP2011100263A - Virtual computer system, virtual computer management method and management program - Google Patents

Virtual computer system, virtual computer management method and management program Download PDF

Info

Publication number
JP2011100263A
JP2011100263A JP2009254046A JP2009254046A JP2011100263A JP 2011100263 A JP2011100263 A JP 2011100263A JP 2009254046 A JP2009254046 A JP 2009254046A JP 2009254046 A JP2009254046 A JP 2009254046A JP 2011100263 A JP2011100263 A JP 2011100263A
Authority
JP
Japan
Prior art keywords
job
data
virtual computer
virtual
server
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
JP2009254046A
Other languages
Japanese (ja)
Other versions
JP5446746B2 (en
Inventor
Kosuke Hideshima
功介 秀島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2009254046A priority Critical patent/JP5446746B2/en
Publication of JP2011100263A publication Critical patent/JP2011100263A/en
Application granted granted Critical
Publication of JP5446746B2 publication Critical patent/JP5446746B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a virtual computer system configured to easily change the structure of a job flow or data in a computer virtualized environment, to facilitate batch processing. <P>SOLUTION: The system includes: a virtual machine control means 151 which changes the configuration of a plurality of virtual computers; a job flow generation means 152 which changes, in response to a configuration change of virtual computers, the virtual computers to execute each job; a data management means 154 which assigns a data file corresponding to a data label name preliminarily defined as a data file to be formed or referred to in each job, to a shared storage; a storage means 102 which stores a data location database 170 storing location information of the data file in association with the data label name; and a job flow execution means 153 which refers to the data management means for the location information corresponding to the data label name, and transmits it to the virtual computer which executes each job. <P>COPYRIGHT: (C)2011,JPO&amp;INPIT

Description

本発明は、コンピュータでのジョブフローの実行に関し、特に仮想化環境にあるコンピュータでのジョブフローの実行に関する。   The present invention relates to execution of a job flow on a computer, and more particularly to execution of a job flow on a computer in a virtual environment.

ジョブフローとは、コンピュータで実行される複数のジョブを相互に実行順序および関連を付け、その流れを示すものである。1つのジョブフローの中に、複数のジョブを同時に実行する並列実行や、特定のジョブの実行結果に基づいて以後の実行内容が変化する条件分岐などが含まれる場合もある。たとえば、コンピュータの利用者の少ない夜間や休日に、定型化されたバッチ処理を該コンピュータで一括して実行するなどのような用途に、このジョブフローによる処理が利用される。   A job flow refers to the flow of a plurality of jobs executed on a computer, with the execution order and association being associated with each other. One job flow may include parallel execution in which a plurality of jobs are executed at the same time, conditional branching in which subsequent execution contents change based on the execution result of a specific job, and the like. For example, this job flow process is used for such purposes as performing routine batch processing on the computer at night or on holidays when there are few users of the computer.

また、企業においてはコンピュータの仮想化環境が多く利用されるようになっている。データセンタで仮想コンピュータを動作させて、ジョブフローによる処理を行うことができれば、その企業のあちこちの部署におけるバッチ処理を一カ所のデータセンタに集約して効率的に実行することができるので、その実行にかかる時間やコスト、消費電力などを削減できると考えられている。また、データのバックアップ処理も一括して行うことができるので、障害などの発生時にも容易に対応できると考えられている。   In companies, computer virtualization environments are often used. If you can operate a virtual computer in the data center and perform processing by job flow, batch processing in various departments of the company can be concentrated in one data center and executed efficiently. It is thought that the time, cost, power consumption, etc. required for execution can be reduced. In addition, since data backup processing can be performed in a lump, it is considered that it is possible to easily cope with a failure or the like.

たとえば、バッチ処理にかかる負荷が少ない場合には、複数台の仮想コンピュータを少ない台数の物理コンピュータにまとめて、実際に通電されて稼働する物理コンピュータの台数を少なく抑える。逆に特定の仮想コンピュータに多くの負荷がかかる場合には、稼働する物理コンピュータの台数を増やして、より多くの仮想コンピュータを動作させて、その処理にかけることのできるコンピュータ資源を増加させる。コンピュータの仮想化環境では、それらのような仮想コンピュータの構成の動的変更が容易にできるので、実行にかかる効率を向上することができると考えられている。   For example, when the load applied to batch processing is small, a plurality of virtual computers are combined into a small number of physical computers, and the number of physical computers that are actually energized and operated is reduced. On the other hand, when a large load is applied to a specific virtual computer, the number of operating physical computers is increased and more virtual computers are operated to increase computer resources that can be used for the processing. In the computer virtualization environment, it is considered that the dynamic change of the configuration of such virtual computers can be easily performed, and thus the efficiency of execution can be improved.

これに関連すると思われる技術として、次のものがある。特許文献1には、ジョブを実行できる機器がネットワーク上にない場合に、代替可能な装置を検索して、必要な場合に指示書を変更して実行できるという連携指示情報生成システムが記載されている。特許文献2には、GUI(Graphic User Interface)によってジョブフローを作成して実行できる作成装置が記載されている。   Technologies that may be related to this include: Patent Document 1 describes a linkage instruction information generation system in which when a device that can execute a job is not on the network, an alternative device can be searched and an instruction can be changed and executed if necessary. Yes. Japanese Patent Application Laid-Open No. 2004-228561 describes a creation device that can create and execute a job flow using a GUI (Graphic User Interface).

特開2005−078563号公報Japanese Patent Laying-Open No. 2005-077853 特開平09−044346号公報Japanese Patent Application Laid-Open No. 09-044346

しかしながら、バッチ処理にかかるジョブフローは各々の業務における処理に特化されて作られていて、その処理で利用されるデータについても各々の業務における処理に特化された構成を持つ。従って、このバッチ処理を実行する仮想コンピュータの構成を動的に変更した場合には、それに合わせてジョブフローやデータ構成を変更する必要が出てくる。この構成変更を自動化することは困難である。   However, the job flow related to batch processing is created specifically for processing in each business, and the data used in the processing also has a configuration specialized for processing in each business. Therefore, when the configuration of the virtual computer that executes the batch processing is dynamically changed, it is necessary to change the job flow and the data configuration accordingly. It is difficult to automate this configuration change.

特に定型化されたバッチ処理は、前述のようにコンピュータの利用者の少ない夜間や休日にまとめて実行できることが求められるので、人手をかけずに実行できるものである必要がある。従って、そのような仮想コンピュータの構成の変更に伴う自動化困難なジョブフローやデータ構成の変更があると、その処理はバッチ処理で行うこと自体が困難となる。この変更が容易にできないと、仮想化環境でこのジョブフローを効率的に実行することは困難である。   In particular, the standardized batch process is required to be executed without manpower since it is required to be executed at night or on holidays when there are few users of the computer as described above. Accordingly, if there is a change in the job flow or data configuration that is difficult to automate due to such a change in the configuration of the virtual computer, it is difficult to perform the processing itself by batch processing. If this change cannot be made easily, it is difficult to efficiently execute this job flow in a virtual environment.

特許文献1〜2に記載された発明は、いずれも仮想コンピュータの構成変更に伴うジョブフローやデータの構成変更に関するものではないので、この問題を解決するものではない。   None of the inventions described in Patent Documents 1 and 2 relate to a job flow and a data configuration change accompanying a configuration change of a virtual computer, and thus do not solve this problem.

本発明の目的は、コンピュータの仮想化環境で仮想コンピュータの構成を動的に変更しても、それに伴うジョブフローやデータの構成を容易に変更して、バッチ処理を容易に実行することを可能とする仮想コンピュータシステム、仮想コンピュータ管理方法および管理プログラムを提供することにある。   It is an object of the present invention to easily execute batch processing by easily changing the job flow and data configuration accompanying the dynamic configuration of the virtual computer in a computer virtualization environment. A virtual computer system, a virtual computer management method, and a management program.

上記目的を達成するため、本発明に係る仮想コンピュータ管理装置は、仮想コンピュータを動作させることが可能な物理的なコンピュータ装置である物理マシンおよび仮想コンピュータからアクセス可能な記憶装置である共通ストレージと、物理マシン上の仮想コンピュータの動作を管理する管理サーバを備え、管理サーバが、物理マシン上で動作する複数台の仮想コンピュータの設定および変更を指令する仮想マシン制御手段と、仮想マシン制御手段から仮想コンピュータの設定および変更の指令を受けたことに対応して仮想コンピュータで実行可能な複数個のジョブによって予め構成されたジョブフローで各ジョブを実行する仮想コンピュータを変更するジョブフロー生成手段と、各々のジョブで作成もしくは参照されるデータファイルとしてあらかじめ定義されたデータラベル名に対応するデータファイルを共通ストレージ上に割り当てるデータ管理手段と、データファイルの格納場所情報をデータラベル名に対応させて格納するデータ格納場所データベースを記憶する記憶手段と、データラベル名に対応する格納場所情報をデータ管理手段に照会すると共にこれをジョブを実行する仮想コンピュータに伝達するジョブフロー実行手段とを有することを特徴とする。   To achieve the above object, a virtual computer management device according to the present invention includes a physical machine that is a physical computer device capable of operating a virtual computer and a common storage that is a storage device accessible from the virtual computer, A management server for managing the operation of the virtual computer on the physical machine, the management server instructing to set and change a plurality of virtual computers operating on the physical machine; Job flow generation means for changing a virtual computer that executes each job in a job flow configured in advance by a plurality of jobs that can be executed by the virtual computer in response to receiving a setting and change command of the computer, and Data files created or referenced by other jobs Data management means for allocating a data file corresponding to a data label name defined in advance on the common storage, and storage means for storing a data storage location database for storing data file storage location information in association with the data label name And job flow execution means for inquiring the storage location information corresponding to the data label name to the data management means and transmitting the inquiry to the virtual computer that executes the job.

上記目的を達成するため、本発明に係る仮想コンピュータ管理方法は、仮想コンピュータを動作させることが可能な物理的なコンピュータ装置である物理マシンと、仮想コンピュータからアクセス可能な記憶装置である共通ストレージと、物理マシン上の仮想コンピュータの動作を管理する管理サーバとが相互に接続された仮想コンピュータシステムにあって、物理マシン上で動作する複数台の仮想コンピュータの設定および変更を仮想マシン制御手段が指令し、仮想コンピュータの構成変更に反応して仮想コンピュータで実行可能な複数個のジョブによって予め構成されたジョブフローで各ジョブを実行する仮想コンピュータをジョブフロー生成手段が変更し、各々のジョブで作成もしくは参照されるデータファイルとしてあらかじめ定義されたデータラベル名に対応するデータファイルをデータ管理手段が共通ストレージ上に割り当てると共にデータファイルの格納場所情報をデータラベル名に対応させて記憶し、データラベル名に対応する格納場所情報をジョブフロー実行手段がジョブを実行する仮想コンピュータに伝達することを特徴とする。   To achieve the above object, a virtual computer management method according to the present invention includes a physical machine that is a physical computer device capable of operating a virtual computer, and a common storage that is a storage device accessible from the virtual computer. In a virtual computer system interconnected with a management server that manages the operation of a virtual computer on a physical machine, the virtual machine control means instructs setting and changing of a plurality of virtual computers operating on the physical machine. The job flow generation means changes the virtual computer that executes each job in a job flow that is configured in advance by a plurality of jobs that can be executed by the virtual computer in response to the configuration change of the virtual computer, and is created by each job. Or pre-defined as referenced data file The data management means allocates the data file corresponding to the specified data label name on the common storage, stores the storage location information of the data file in association with the data label name, and stores the storage location information corresponding to the data label name in the job flow. The execution means transmits the job to a virtual computer that executes the job.

上記目的を達成するため、本発明に係る仮想コンピュータ管理プログラムは、仮想コンピュータを動作させることが可能な物理的なコンピュータ装置である物理マシンと、仮想コンピュータからアクセス可能な記憶装置である共通ストレージと、物理マシン上の仮想コンピュータの動作を管理する管理サーバとが相互に接続された仮想コンピュータシステムにあって、管理サーバが備えるコンピュータに、物理マシン上で動作する複数台の仮想コンピュータの構成を変更する手順、仮想コンピュータの構成変更に反応して仮想コンピュータで実行可能な複数個のジョブによって予め構成されたジョブフローで各ジョブを実行する仮想コンピュータを変更する手順、各々のジョブで作成もしくは参照されるデータファイルとしてあらかじめ定義されたデータラベル名に対応するデータファイルを共通ストレージ上に割り当てる手順、データファイルの格納場所情報をデータラベル名に対応させて記憶する手順、およびデータラベル名に対応する格納場所情報をジョブを実行する仮想コンピュータに伝達する手順を実行させることを特徴とする。   To achieve the above object, a virtual computer management program according to the present invention includes a physical machine that is a physical computer device capable of operating a virtual computer, and a common storage that is a storage device accessible from the virtual computer. In a virtual computer system interconnected with a management server that manages the operation of virtual computers on a physical machine, the configuration of multiple virtual computers that operate on the physical machine is changed to a computer that the management server has A procedure for changing a virtual computer that executes each job in a job flow pre-configured by a plurality of jobs that can be executed by the virtual computer in response to a change in the configuration of the virtual computer, created or referenced in each job Predefined as a data file Execute the job to assign the data file corresponding to the specified data label name on the common storage, to store the data file storage location information corresponding to the data label name, and the storage location information corresponding to the data label name A procedure for transmitting to a virtual computer is executed.

上述したように本発明は、ジョブフローを構成する各ジョブで作成されるデータファイルにデータラベル名を付与して、これによって仮想コンピュータがそのデータファイルにアクセスするように構成したので、各ジョブを実行する仮想コンピュータの構成が変更されても、それに伴うジョブフローやデータの構成変更を容易に行うことができ、しかもこの構成変更は自動化可能である。これによって、バッチ処理を容易に実行することを可能であるという、優れた特徴を持つ仮想コンピュータシステム、仮想コンピュータ管理方法および管理プログラムを提供することができる。   As described above, according to the present invention, since a data label name is assigned to a data file created by each job constituting the job flow, and thus the virtual computer accesses the data file, each job is configured. Even if the configuration of the virtual computer to be executed is changed, it is possible to easily change the job flow and data configuration associated therewith, and this configuration change can be automated. Accordingly, it is possible to provide a virtual computer system, a virtual computer management method, and a management program having an excellent feature that batch processing can be easily executed.

本発明の第1の実施形態に係るデータセンタの構成を示す説明図である。It is explanatory drawing which shows the structure of the data center which concerns on the 1st Embodiment of this invention. 図1に示したジョブフロー生成手段、ジョブフロー実行手段、データ管理手段、ジョブ情報データベースおよびデータ格納場所データベースのより詳細な構成を示す説明図である。FIG. 2 is an explanatory diagram showing more detailed configurations of a job flow generation unit, a job flow execution unit, a data management unit, a job information database, and a data storage location database shown in FIG. 1. 図2に示したサーバ用途情報テーブルのデータ構成およびその具体例を示す説明図である。FIG. 3 is an explanatory diagram showing a data configuration of a server usage information table shown in FIG. 2 and a specific example thereof. 図2に示したサーバ用途確認部の詳細な動作を示すフローチャートである。It is a flowchart which shows the detailed operation | movement of the server use confirmation part shown in FIG. 図2に示した用途別実行ジョブ情報テーブルのデータ構成およびその具体例を示す説明図である。FIG. 3 is an explanatory diagram showing a data configuration of a use-specific execution job information table shown in FIG. 2 and a specific example thereof. 図2に示した実行ジョブ抽出部の詳細な動作を示すフローチャートである。3 is a flowchart showing a detailed operation of an execution job extraction unit shown in FIG. 2. 図2に示したジョブ並列度情報テーブルのデータ構成およびその具体例を示す説明図である。FIG. 3 is an explanatory diagram illustrating a data configuration of the job parallelism information table illustrated in FIG. 2 and a specific example thereof. 図2に示したジョブ並列度確認部の詳細な動作を示すフローチャートである。3 is a flowchart showing a detailed operation of a job parallelism confirmation unit shown in FIG. 2. 図2に示したジョブ依存関係情報テーブルおよびジョブ実行情報テーブルのデータ構成およびその具体例を示す説明図である。FIG. 3 is an explanatory diagram illustrating a data configuration of a job dependency relationship information table and a job execution information table illustrated in FIG. 2 and a specific example thereof. 図2に示したジョブ依存関係確認部の詳細な動作を示すフローチャートである。3 is a flowchart showing a detailed operation of a job dependency confirmation unit shown in FIG. 2. 図2に示したジョブフロー情報の具体例を示す説明図である。図11(a)は、図4、6、8、10に示した一連の処理を行う前のジョブフロー情報を示し、図11(b)は、その処理を行った後のジョブフロー情報を示す。FIG. 3 is an explanatory diagram illustrating a specific example of job flow information illustrated in FIG. 2. 11A shows job flow information before the series of processing shown in FIGS. 4, 6, 8, and 10 is performed, and FIG. 11B shows job flow information after the processing is performed. . 図2に示したジョブフロー制御部の詳細な動作を示すフローチャートである。3 is a flowchart showing a detailed operation of a job flow control unit shown in FIG. 2. 図2に示したジョブ投入部の詳細な動作を示すフローチャートである。3 is a flowchart showing detailed operations of a job input unit shown in FIG. 2. 図1〜2に示したデータ格納場所データベースのより詳細な構成を示す説明図である。It is explanatory drawing which shows the more detailed structure of the data storage location database shown to FIGS. 図2に示したデータ格納場所割り当て部の詳細な動作を示すフローチャートである。It is a flowchart which shows the detailed operation | movement of the data storage location allocation part shown in FIG. 図2に示したデータ格納場所問い合わせ部の詳細な動作を示すフローチャートである。3 is a flowchart showing detailed operations of a data storage location inquiry unit shown in FIG. 2. 本発明の第2の実施形態に係るデータセンタの構成を示す説明図である。It is explanatory drawing which shows the structure of the data center which concerns on the 2nd Embodiment of this invention. 図17に示したジョブフロー生成手段、ジョブフロー実行手段、データ管理手段、ジョブ情報データベースおよびデータ格納場所データベースのより詳細な構成を示す説明図である。It is explanatory drawing which shows the more detailed structure of the job flow production | generation means shown in FIG. 17, a job flow execution means, a data management means, a job information database, and a data storage location database. 図18に示したデータ格納場所テーブルおよびラベル参照情報テーブルのデータ構成およびその具体例を示す説明図である。It is explanatory drawing which shows the data structure of the data storage location table shown in FIG. 18, and a label reference information table, and its specific example. 図18に示したデータラベルカウント部の詳細な動作を示すフローチャートである。It is a flowchart which shows the detailed operation | movement of the data label count part shown in FIG. 図18に示したデータ格納場所割り当て部の詳細な動作を示すフローチャートである。It is a flowchart which shows the detailed operation | movement of the data storage location allocation part shown in FIG. 図18に示したデータ格納場所問い合わせ部の詳細な動作を示すフローチャートである。It is a flowchart which shows the detailed operation | movement of the data storage location inquiry part shown in FIG.

(第1の実施形態)
以下、本発明の第1の実施形態の構成について添付図1〜2に基づいて説明する。
最初に、本実施形態の基本的な内容について説明し、その後でより具体的な内容について説明する。
本実施形態に係る仮想コンピュータシステム(データセンタ10)は、仮想コンピュータを動作させることが可能な物理的なコンピュータ装置である物理マシン111〜11mおよび仮想コンピュータからアクセス可能な記憶装置である共通ストレージ131と、物理マシン上の仮想コンピュータの動作を管理する管理サーバ100を備える。この管理サーバ100は、物理マシン上で動作する複数台の仮想コンピュータの設定および変更を指令する仮想マシン制御手段151と、仮想マシン制御手段から仮想コンピュータの設定および変更の指令を受けたことに対応して仮想コンピュータで実行可能な複数個のジョブによって予め構成されたジョブフローで各ジョブを実行する仮想コンピュータを変更するジョブフロー生成手段152と、各々のジョブで作成もしくは参照されるデータファイルとしてあらかじめ定義されたデータラベル名に対応するデータファイルを共有ストレージ上に割り当てるデータ管理手段154と、データファイルの格納場所情報をデータラベル名に対応させて格納するデータ格納場所データベース170を記憶する記憶手段102と、データラベル名に対応する格納場所情報をデータ管理手段に照会すると共にこれをジョブを実行する仮想コンピュータに伝達するジョブフロー実行手段153とを有する。
(First embodiment)
Hereinafter, the structure of the 1st Embodiment of this invention is demonstrated based on attached FIGS. 1-2.
First, the basic content of the present embodiment will be described, and then more specific content will be described.
The virtual computer system (data center 10) according to the present embodiment includes physical machines 111 to 11m, which are physical computer devices capable of operating a virtual computer, and a common storage 131, which is a storage device accessible from the virtual computer. And a management server 100 that manages the operation of the virtual computer on the physical machine. The management server 100 corresponds to a virtual machine control unit 151 that commands setting and changing of a plurality of virtual computers operating on a physical machine, and a command to set and change a virtual computer from the virtual machine control unit. A job flow generation unit 152 that changes a virtual computer that executes each job in a job flow that is configured in advance by a plurality of jobs that can be executed by the virtual computer, and a data file that is created or referred to by each job in advance Data management means 154 for allocating a data file corresponding to the defined data label name on the shared storage, and storage means 102 for storing a data storage location database 170 for storing data file storage location information in association with the data label name And the data label name And a job flow execution unit 153 to transmit the location information to respond to a virtual machine that executes the job so as to query the data management means.

また記憶手段102は、仮想コンピュータの用途について記憶するサーバ用途情報テーブル161と、仮想コンピュータの用途に対応する実行ジョブおよび該実行ジョブで作成もしくは参照されるデータファイルのデータラベル名について記憶する用途別実行ジョブ情報テーブル162とを含むジョブ情報データベース160を記憶し、ジョブフロー生成手段152が、サーバ用途情報テーブルを参照して仮想マシン制御手段が構成変更した仮想コンピュータの用途を確認するサーバ用途確認部152aと、用途別実行ジョブ情報テーブルを参照して構成変更された仮想コンピュータの用途に対応するデータラベル名を抽出する実行ジョブ抽出部152bと、構成変更された仮想コンピュータに対応するようジョブフロー情報を変更するジョブ依存関係確認部152dとを有する。   The storage unit 102 stores a server usage information table 161 for storing the usage of the virtual computer, an execution job corresponding to the usage of the virtual computer, and a data label name of a data file created or referred to by the execution job. A server usage confirmation unit that stores a job information database 160 including an execution job information table 162 and in which the job flow generation unit 152 refers to the server usage information table and confirms the usage of the virtual computer whose configuration has been changed by the virtual machine control unit. 152a, an execution job extraction unit 152b that extracts a data label name corresponding to the usage of the virtual computer whose configuration has been changed by referring to the usage-specific execution job information table, and job flow information corresponding to the virtual computer whose configuration has been changed. Change the job And a dependency check unit 152d.

ジョブ情報データベース160はさらに、ジョブフローを構成する各ジョブが並列実行可能か否かを示す並列実行可否について記憶するジョブ並列度情報テーブル163を含み、
ジョブフロー生成手段152は、ジョブ並列度情報テーブル163を参照して並列実行可能であるジョブについて並列実行するようにジョブフロー情報を変更するジョブ依存関係確認部152cを有する。
The job information database 160 further includes a job parallelism information table 163 that stores whether or not each job constituting the job flow can be executed in parallel.
The job flow generation unit 152 includes a job dependency confirmation unit 152c that refers to the job parallel degree information table 163 and changes job flow information so that jobs that can be executed in parallel are executed in parallel.

以上の構成を備えることにより、仮想コンピュータ管理装置100は、仮想コンピュータの構成が変更されても、それに伴うジョブフローやデータの構成変更を容易に行うことが可能となる。
以下、これをより詳細に説明する。
With the above configuration, the virtual computer management apparatus 100 can easily change the job flow and data configuration associated therewith even when the configuration of the virtual computer is changed.
Hereinafter, this will be described in more detail.

図1は、本発明の第1の実施形態に係るデータセンタ10の構成を示す説明図である。データセンタ10は、データセンタ10全体を管理する管理サーバ100と、管理サーバ100の管理によって後述の仮想マシンが構築される物理的なコンピュータ装置であるm台の物理マシン111〜11mと、管理サーバ100および物理マシン111〜11mからアクセス可能なファイルサーバ130とが、内部ネットワーク140によって相互に接続されて構成されている。   FIG. 1 is an explanatory diagram showing the configuration of the data center 10 according to the first embodiment of the present invention. The data center 10 includes a management server 100 that manages the entire data center 10, m physical machines 111 to 11 m that are physical computer devices on which virtual machines to be described later are constructed by management of the management server 100, and a management server 100 and a file server 130 accessible from the physical machines 111 to 11m are connected to each other by an internal network 140.

物理マシン111〜11m上に、n台の仮想マシン121〜12nが管理サーバ100の管理によって構築される。仮想マシン121〜12nのいずれからも、ファイルサーバ130にアクセス可能である。ここでmおよびnはいずれも整数であり、m=nであってもm≠nであってもよい。また、物理マシンごとに構築される仮想マシンの台数が異なっていてもよい。   On the physical machines 111 to 11m, n virtual machines 121 to 12n are constructed by management of the management server 100. The file server 130 can be accessed from any of the virtual machines 121 to 12n. Here, m and n are both integers, and m = n or m ≠ n. Further, the number of virtual machines constructed for each physical machine may be different.

管理サーバ100は、コンピュータプログラムを実行する演算装置であるプロセッサ101と、プログラムやデータを記憶する記憶装置102とで構成されるコンピュータ装置である。プロセッサ101では、後述する仮想マシン制御手段151、ジョブフロー生成手段152、ジョブフロー実行手段153、データ管理手段154といった各手段が、各々コンピュータプログラムとして動作する。   The management server 100 is a computer device that includes a processor 101 that is an arithmetic device that executes a computer program, and a storage device 102 that stores programs and data. In the processor 101, each unit such as a virtual machine control unit 151, a job flow generation unit 152, a job flow execution unit 153, and a data management unit 154, which will be described later, operates as a computer program.

また、記憶装置102には、ジョブフロー生成手段152およびジョブフロー実行手段153で利用されるジョブ情報データベース160と、データ管理手段154で利用されるデータ格納場所データベース170が記憶されている。これら各データベースの詳細な内容についても後述する。   Further, the storage device 102 stores a job information database 160 used by the job flow generation unit 152 and job flow execution unit 153 and a data storage location database 170 used by the data management unit 154. The detailed contents of each database will also be described later.

仮想マシン制御手段151は、物理マシン111〜11m上に仮想マシン121〜12nを追加および削除する動作を行う。これは仮想マシン121〜12nの負荷などによって動的に行うことができる。場合によっては物理マシン111〜11mの起動および停止を伴ってもよい。仮想マシン121〜12nを追加もしくは削除した場合、仮想マシン制御手段151はその旨をジョブフロー生成手段152に通知する。   The virtual machine control unit 151 performs an operation of adding and deleting the virtual machines 121 to 12n on the physical machines 111 to 11m. This can be performed dynamically according to the load of the virtual machines 121 to 12n. In some cases, the physical machines 111 to 11m may be started and stopped. When the virtual machines 121 to 12n are added or deleted, the virtual machine control unit 151 notifies the job flow generation unit 152 to that effect.

ジョブフロー生成手段152は、仮想マシン制御手段151からの仮想マシン121〜12nの追加通知または削除通知に反応してジョブフローを生成および変更して、そのジョブフローをジョブフロー実行手段153に渡して実行させる。そして、そのジョブフローを実行する際に、ジョブフロー実行手段153は参照もしくは作成するデータファイルの所在をデータ管理手段154に問い合わせ、その問い合わせに対して返答された位置にデータファイルの参照もしくは作成を行う。   The job flow generation unit 152 generates and changes the job flow in response to the notification of addition or deletion of the virtual machines 121 to 12n from the virtual machine control unit 151, and passes the job flow to the job flow execution unit 153. Let it run. Then, when executing the job flow, the job flow execution means 153 inquires the data management means 154 about the location of the data file to be referred to or created, and refers to or creates the data file at the position returned in response to the inquiry. Do.

ファイルサーバ130は、管理サーバ100、物理マシン111〜11m、仮想マシン121〜12nの全てからアクセス可能な記憶装置である共通ストレージ131を内蔵している。本実施形態では、実際のデータファイルは共通ストレージ131に記憶されているという例を示しているが、データファイルの所在は管理サーバ100および仮想マシン121〜12nがアクセス可能な記憶装置上であればどこでもよい。   The file server 130 includes a common storage 131 that is a storage device accessible from all of the management server 100, the physical machines 111 to 11m, and the virtual machines 121 to 12n. In the present embodiment, an example is shown in which an actual data file is stored in the common storage 131, but the data file is located on a storage device accessible by the management server 100 and the virtual machines 121 to 12n. Anywhere.

図2は、図1に示したジョブフロー生成手段152、ジョブフロー実行手段153、データ管理手段154、ジョブ情報データベース160およびデータ格納場所データベース170のより詳細な構成を示す説明図である。ジョブフロー生成手段152には、サーバ用途確認部152a、実行ジョブ抽出部152b、ジョブ並列度確認部152c、ジョブ依存関係確認部152dといった各機能部が存在する。   FIG. 2 is an explanatory diagram showing a more detailed configuration of the job flow generation unit 152, job flow execution unit 153, data management unit 154, job information database 160, and data storage location database 170 shown in FIG. The job flow generation unit 152 includes functional units such as a server usage confirmation unit 152a, an execution job extraction unit 152b, a job parallelism confirmation unit 152c, and a job dependency confirmation unit 152d.

ジョブフロー実行手段153には、ジョブフロー制御部153a、ジョブ投入部153bといった各機能部が存在する。データ管理手段154には、データ格納場所割り当て部154a、データ格納場所問い合わせ部154bといった各機能部が存在する。これら各機能部の動作については後述する。   The job flow execution unit 153 includes functional units such as a job flow control unit 153a and a job input unit 153b. The data management unit 154 includes functional units such as a data storage location assignment unit 154a and a data storage location inquiry unit 154b. The operations of these functional units will be described later.

ジョブ情報データベース160は、サーバ用途情報テーブル161、用途別実行ジョブ情報テーブル162、ジョブ並列度情報テーブル163、ジョブ依存関係情報テーブル164、ジョブ実行情報テーブル165、ジョブフロー情報166といった各テーブルおよび情報を含む。データ格納場所データベース170は、データ格納場所テーブル171を含む。これら各々に記憶されるデータおよびその具体例についても後述する。   The job information database 160 includes each table and information such as a server usage information table 161, a usage-specific execution job information table 162, a job parallelism information table 163, a job dependency relationship information table 164, a job execution information table 165, and job flow information 166. Including. The data storage location database 170 includes a data storage location table 171. The data stored in each of these and specific examples thereof will also be described later.

(ジョブフロー生成手段)
図3は、図2に示したサーバ用途情報テーブル161のデータ構成およびその具体例を示す説明図である。サーバ用途情報テーブル161は、各仮想マシン121〜12nに割り振られているサーバ名161aと、その各々が担当する用途161bとが記憶されている。仮想マシン制御手段151は、仮想マシン121〜12nの追加通知または削除通知に伴って、追加通知の場合は追加されたサーバについてサーバ名161aとその用途161bをサーバ用途情報テーブル161に追加する。削除通知の場合は、削除されたサーバについてサーバ名161aとその用途161bを削除する。
(Job flow generation means)
FIG. 3 is an explanatory diagram showing a data configuration of the server usage information table 161 shown in FIG. 2 and a specific example thereof. The server usage information table 161 stores a server name 161a allocated to each of the virtual machines 121 to 12n, and a usage 161b assigned to each of the server names 161a. The virtual machine control unit 151 adds the server name 161a and the usage 161b of the added server to the server usage information table 161 in the case of the addition notification in response to the addition notification or deletion notification of the virtual machines 121 to 12n. In the case of a deletion notification, the server name 161a and its usage 161b are deleted for the deleted server.

図4は、図2に示したサーバ用途確認部152aの詳細な動作を示すフローチャートである。サーバ用途確認部152aは、サーバ用途情報テーブル161を読み込んで(ステップS201)、各仮想マシン121〜12nに対応する用途161bを決定して(ステップS202)実行ジョブ抽出部152bに処理を渡す。   FIG. 4 is a flowchart showing a detailed operation of the server usage confirmation unit 152a shown in FIG. The server usage confirmation unit 152a reads the server usage information table 161 (step S201), determines the usage 161b corresponding to each of the virtual machines 121 to 12n (step S202), and passes the processing to the execution job extraction unit 152b.

図5は、図2に示した用途別実行ジョブ情報テーブル162のデータ構成およびその具体例を示す説明図である。用途別実行ジョブ情報テーブル162は、サーバ用途情報テーブル161に記録された各サーバの用途161bと、これに対応する実行バッチジョブ162aと、その実行バッチジョブ162aを実行する際に作成すべきデータファイルのデータラベル名について示す作成データ情報162bと、同じく参照すべきデータファイルのデータラベル名について示す参照データ情報162cとが記憶されている。   FIG. 5 is an explanatory diagram showing a data configuration of the execution job information table for each use 162 shown in FIG. 2 and a specific example thereof. The execution job information table 162 classified by usage includes the usage 161b of each server recorded in the server usage information table 161, an execution batch job 162a corresponding to the usage 161b, and a data file to be created when the execution batch job 162a is executed. Creation data information 162b indicating the data label name and reference data information 162c indicating the data label name of the data file to be referred to are stored.

ここでいう「データラベル名」とは、そのデータファイルについて一意に示すことのできる任意の名称であり、実際のデータファイルのファイル名やディレクトリ名などと一致している必要はない。   The “data label name” here is an arbitrary name that can be uniquely indicated for the data file, and does not need to match the file name or directory name of the actual data file.

図6は、図2に示した実行ジョブ抽出部152bの詳細な動作を示すフローチャートである。実行ジョブ抽出部152bは、用途別実行ジョブ情報テーブル162を読み込んで(ステップS211)、各サーバに実行させる実行バッチジョブ162aとその際に作成および参照されるデータラベル名である作成データ情報162b、参照データ情報162cを抽出して(ステップS212)ジョブ並列度確認部152cに処理を渡す。   FIG. 6 is a flowchart showing a detailed operation of the execution job extraction unit 152b shown in FIG. The execution job extraction unit 152b reads the application-specific execution job information table 162 (step S211), and executes the execution batch job 162a to be executed by each server and the creation data information 162b which is the data label name created and referred to at that time. The reference data information 162c is extracted (step S212), and the process is passed to the job parallelism confirmation unit 152c.

図7は、図2に示したジョブ並列度情報テーブル163のデータ構成およびその具体例を示す説明図である。ジョブ並列度情報テーブル163は、用途別実行ジョブ情報テーブル162に記録された実行バッチジョブ162aと、そのジョブが並列実行可能か否かを示す並列実行可否163aとが記憶されている。   FIG. 7 is an explanatory diagram showing a data configuration of the job parallelism information table 163 shown in FIG. 2 and a specific example thereof. The job parallelism information table 163 stores an execution batch job 162a recorded in the application-specific execution job information table 162 and a parallel execution availability 163a indicating whether or not the job can be executed in parallel.

図8は、図2に示したジョブ並列度確認部152cの詳細な動作を示すフローチャートである。ジョブ並列度確認部152cは、まずジョブ並列度情報テーブル163を読み込んで(ステップS221)、サーバごとに同一サーバで実行すべきジョブが複数存在するか否かを判断し(ステップS222)、複数存在しなければそのまま処理を終了する。複数存在する場合には、並列実行可否163aが並列実行「可能」を示しているか否かを判断する(ステップS223)。   FIG. 8 is a flowchart showing a detailed operation of the job parallelism confirmation unit 152c shown in FIG. The job parallelism confirmation unit 152c first reads the job parallelism information table 163 (step S221), and determines whether there are a plurality of jobs to be executed on the same server for each server (step S222). If not, the process ends. If there is a plurality, it is determined whether or not the parallel execution permission / inhibition 163a indicates that the parallel execution is possible (step S223).

ステップS223で、並列実行「可能」であれば、並列実行するようにジョブフロー情報166を変更して(ステップS224)処理を終了する。並列実行「可能」でなければ、ジョブフロー情報166の変更を行わずに処理を終了する。以上の処理が終了した後、ジョブ依存関係確認部152dに処理を渡す。   If parallel execution is “possible” in step S223, the job flow information 166 is changed to execute in parallel (step S224), and the process is terminated. If the parallel execution is not possible, the process ends without changing the job flow information 166. After the above processing is completed, the processing is passed to the job dependency confirmation unit 152d.

図9は、図2に示したジョブ依存関係情報テーブル164およびジョブ実行情報テーブル165のデータ構成およびその具体例を示す説明図である。ジョブ依存関係情報テーブル164は、用途別実行ジョブ情報テーブル162に記録された実行バッチジョブ162aと、そのジョブに先行して行わなければならない先行バッチジョブ164aとが記憶されている。ジョブ実行情報テーブル165は、用途別実行ジョブ情報テーブル162に記録された実行バッチジョブ162a、即ちジョブフローを構成する各々のジョブが、実行済であるか否かを示す実行済情報165aが記録されている。   FIG. 9 is an explanatory diagram showing the data structure of the job dependency relationship information table 164 and the job execution information table 165 shown in FIG. 2 and specific examples thereof. The job dependency relationship information table 164 stores an execution batch job 162a recorded in the execution job information table 162 for each use and a preceding batch job 164a that must be performed prior to the job. In the job execution information table 165, execution batch job 162a recorded in the use job execution information table 162, that is, executed information 165a indicating whether each job constituting the job flow has been executed is recorded. ing.

図10は、図2に示したジョブ依存関係確認部152dの詳細な動作を示すフローチャートである。ジョブ依存関係確認部152dは、まずジョブ依存関係情報テーブル164とジョブ実行情報テーブル165とを読み込んで(ステップS231)、仮想マシン制御手段151から受けた通知が仮想マシン121〜12nの追加通知であるか削除通知であるかを判断する(ステップS232)。削除通知であれば削除された仮想マシンの用途161bに対応する実行バッチジョブ162aを削除したジョブフロー情報166を作成して(ステップS233)処理を終了する。   FIG. 10 is a flowchart showing a detailed operation of the job dependency confirmation unit 152d shown in FIG. The job dependency confirmation unit 152d first reads the job dependency information table 164 and the job execution information table 165 (step S231), and the notification received from the virtual machine control unit 151 is an additional notification of the virtual machines 121 to 12n. It is determined whether the notification is a deletion notification (step S232). If it is a deletion notification, job flow information 166 is created by deleting the execution batch job 162a corresponding to the deleted use 161b of the virtual machine (step S233), and the process is terminated.

追加通知であれば、ジョブ依存関係確認部152dは、追加された仮想マシンの用途161bに対応する実行バッチジョブ162aに対応する先行バッチジョブ164aが「−(無し)」、またはこの先行バッチジョブ164に対応する実行済情報165aが「実行済」、のいずれかに該当するか否かを判断する(ステップS234)。   If it is an addition notification, the job dependency confirmation unit 152d determines that the preceding batch job 164a corresponding to the execution batch job 162a corresponding to the added usage 161b of the virtual machine is “-(none)” or this preceding batch job 164. It is determined whether or not the executed information 165a corresponding to the above corresponds to any of “executed” (step S234).

先行バッチジョブ164aが「−(無し)」、またはこれに対応する実行済情報165aが「実行済」であれば、その実行バッチジョブ162aを追加したジョブフロー情報166を作成して(ステップS235)処理を終了する。先行バッチジョブ164aが存在し、かつこれに対応する実行済情報165aが「未実行」であるなら、ジョブフロー情報166の作成および変更は行わずに処理を終了する。   If the preceding batch job 164a is “-(none)” or the corresponding executed information 165a is “executed”, job flow information 166 to which the executed batch job 162a is added is created (step S235). The process ends. If the preceding batch job 164a exists and the executed information 165a corresponding to the preceding batch job 164a is “not executed”, the process ends without creating or changing the job flow information 166.

図11は、図2に示したジョブフロー情報166の具体例を示す説明図である。図11(a)は、図4、6、8、10に示した一連の処理を行う前のジョブフロー情報166を示す。ここでのジョブフロー情報166は、用途161bが「AP(アプリケーション)サーバ」、実行バッチジョブ162aが「帳票データ作成」であるサーバ名161a「サーバA」から、用途161bが「仕分けサーバ」、実行バッチジョブ162aが「データ仕分け」であるサーバ名161a「サーバC」に処理が渡り、その後で用途161bが「帳票サーバ」、実行バッチジョブ162aが「帳票作成」であるサーバ名161a「サーバD」に処理を渡して実行を終了するという一連の動作を示している。   FIG. 11 is an explanatory diagram showing a specific example of the job flow information 166 shown in FIG. FIG. 11A shows job flow information 166 before the series of processing shown in FIGS. The job flow information 166 here is that the usage 161b is “AP (application) server”, the execution batch job 162a is “form data creation”, the server name 161a “server A”, and the usage 161b is “sorting server”. The processing is transferred to the server name 161a “server C” whose batch job 162a is “data sorting”, and thereafter the server name 161a “server D” whose usage 161b is “form server” and whose execution batch job 162a is “form creation”. A series of operations is shown in which processing is passed to and execution is terminated.

図3、図5、図7、図9に示した各テーブルには、この例に対応したデータが記憶されている。この状態で、ジョブフロー生成手段152が仮想マシン制御手段151から「仮想マシン追加通知」を受けた。より具体的には、用途が「APサーバ」である「サーバB」という仮想マシンを追加したという通知である。仮想マシン制御手段151は、この通知と共に、サーバ用途情報テーブル161の用途161bは「APサーバ」に対応するサーバ名161aに「サーバB」を追加している。   Data corresponding to this example is stored in each table shown in FIG. 3, FIG. 5, FIG. 7, and FIG. In this state, the job flow generation unit 152 receives a “virtual machine addition notification” from the virtual machine control unit 151. More specifically, the notification is that a virtual machine “server B” whose usage is “AP server” is added. The virtual machine control unit 151 adds “server B” to the server name 161 a corresponding to “AP server” in the usage 161 b of the server usage information table 161 together with this notification.

サーバ用途確認部152aは、図4に示したように、サーバ用途情報テーブル161を読み込むと(ステップS201)、新しく追加されたサーバ名161a「サーバB」の用途161bは「APサーバ」である(ステップS202)。この情報を受けた実行ジョブ抽出部152bは、図6に示したように、用途別実行ジョブ情報テーブル162を読み込んで(ステップS211)、用途161b「APサーバ」に対応する実行バッチジョブ162a「帳票データ作成」、作成データ情報162b「データファイルA」、参照データ情報162c「−(無し)」を抽出する(ステップS212)。   As shown in FIG. 4, when the server usage confirmation unit 152a reads the server usage information table 161 (step S201), the usage 161b of the newly added server name 161a “Server B” is “AP server” ( Step S202). Upon receiving this information, the execution job extraction unit 152b reads the application-specific execution job information table 162 as shown in FIG. 6 (step S211), and executes the execution batch job 162a “form” corresponding to the application 161b “AP server”. “Create data”, created data information 162b “data file A”, and reference data information 162c “-(none)” are extracted (step S212).

この情報を受けたジョブ並列度確認部152cは、図8に示したように、ジョブ並列度情報テーブル163を読み込んで(ステップS221)、各サーバで実行すべきジョブが複数存在するか否かを判断する(ステップS222)。この例では「APサーバ」である「サーバA」「サーバB」で実行すべきジョブは「帳票データ作成」以外にないので、そのまま処理を終了してジョブ依存関係確認部152dに処理を渡す。   Upon receiving this information, the job parallelism confirmation unit 152c reads the job parallelism information table 163 as shown in FIG. 8 (step S221), and determines whether or not there are a plurality of jobs to be executed in each server. Judgment is made (step S222). In this example, since there are no jobs other than “create form data” other than “server A” and “server B”, which are “AP servers”, the process is terminated and the process is transferred to the job dependency confirmation unit 152d.

処理を渡されたジョブ依存関係確認部152dは、図10に示したように、ジョブ依存関係情報テーブル164とジョブ実行情報テーブル165とを読み込む(ステップS231)、仮想マシン制御手段151から受けた通知は仮想マシン「サーバB」の追加通知であり(ステップS232)、かつ「サーバB」の用途161b「APサーバ」に対応する実行バッチジョブ162a「帳票データ作成」に対応する先行バッチジョブ164が「−(無し)」であるので(ステップS234)、この「サーバB」を追加したジョブフロー情報166を作成して(ステップS235)処理を終了する。   As shown in FIG. 10, the job dependency confirmation unit 152d to which the process has been passed reads the job dependency information table 164 and the job execution information table 165 (step S231), and receives the notification received from the virtual machine control unit 151. Is an addition notification of the virtual machine “server B” (step S232), and the preceding batch job 164 corresponding to the “execution batch job 162a“ form data creation ”corresponding to the usage 161b“ AP server ”of the“ server B ”is“ -(None) "(step S234), the job flow information 166 to which this" server B "is added is created (step S235), and the process is terminated.

図11(b)は、図4、6、8、10に示した処理を行った後のジョブフロー情報166を示す。これは、図11(a)で示したジョブフロー情報166に対して、図10までに示した処理を行って、「帳票データ作成」を行う「APサーバ」である「サーバB」が追加された後の状態のジョブフロー情報166である。   FIG. 11B shows job flow information 166 after the processing shown in FIGS. This is because “server B”, which is “AP server” for performing “form data creation”, is added to the job flow information 166 shown in FIG. 11A by performing the processing shown in FIG. This is the job flow information 166 in the state after the check.

(ジョブフロー実行手段)
図12は、図2に示したジョブフロー制御部153aの詳細な動作を示すフローチャートである。ジョブフロー制御部153aは、まずジョブフロー情報166を読み込み、またジョブ実行情報テーブル165の実行済情報165aを読み込んで(ステップS251)、実行済情報165aが「未済」であるものの中でこのジョブフローに記載された順序が最も早いものを実行ジョブとして決定する(ステップS252)。
(Job flow execution means)
FIG. 12 is a flowchart showing detailed operations of the job flow control unit 153a shown in FIG. First, the job flow control unit 153a reads the job flow information 166, and also reads the executed information 165a of the job execution information table 165 (step S251). Is determined as an execution job (step S252).

ジョブフロー制御部153aは、この実行ジョブをジョブ投入部153bに渡して対応するサーバ名161aのサーバに実行させ(ステップS253)、その実行ジョブの実行完了を待ち合わせる(ステップS254)。そして、そのジョブがジョブフロー情報166に記載された順序で最終のジョブであるか否かを判断し(ステップS255)、最終のジョブであれば該ジョブフローの実行を終了する。最終のジョブでなければ、ステップS252に戻って後続のジョブを実行する。   The job flow control unit 153a passes this execution job to the job input unit 153b and causes the corresponding server name 161a to execute the job (step S253), and waits for the execution job to be completed (step S254). Then, it is determined whether or not the job is the final job in the order described in the job flow information 166 (step S255). If the job is the final job, execution of the job flow is ended. If it is not the final job, the process returns to step S252 to execute the subsequent job.

図13は、図2に示したジョブ投入部153bの詳細な動作を示すフローチャートである。ジョブ投入部153bは、ジョブフロー制御部153aから渡された実行ジョブ(実行バッチジョブ162a)について、データの作成を伴うジョブであるか否か、即ち用途別実行ジョブ情報テーブル162で作成データ情報162bが登録されているジョブであるか否かを判断する(ステップS261)。作成データ情報162bが登録されていれば、そのデータの格納場所を割り当てるよう、データ格納場所割り当て部154aに依頼する(ステップS262)。   FIG. 13 is a flowchart showing detailed operations of the job input unit 153b shown in FIG. The job input unit 153b determines whether or not the execution job (execution batch job 162a) passed from the job flow control unit 153a is a job accompanied by data creation, that is, the creation data information 162b in the use-specific execution job information table 162. Is a registered job (step S261). If the created data information 162b is registered, the data storage location allocation unit 154a is requested to allocate the storage location of the data (step S262).

ジョブ投入部153bはこれと同様に、この実行ジョブがデータの参照を伴うジョブであるか否か、即ち用途別実行ジョブ情報テーブル162で参照データ情報162cが登録されているジョブであるか否かを判断する(ステップS263)。参照データ情報162cが登録されていれば、その参照データの登録された場所がどこであるかを、データ格納場所問い合わせ部154bに問い合わせる(ステップS264)。   Similarly, the job input unit 153b determines whether or not this execution job is a job with reference to data, that is, whether or not the reference data information 162c is registered in the execution job information table 162 for each use. Is determined (step S263). If the reference data information 162c is registered, the data storage location inquiry unit 154b is inquired about where the reference data is registered (step S264).

データ格納場所割り当て部154aおよびデータ格納場所問い合わせ部154bからは、データの格納場所についての情報が返されるので、ジョブ投入部153bはこの情報に基づいてこの実行ジョブを対応するサーバ名161aのサーバに実行させる(ステップS265)。   Since the data storage location allocation unit 154a and the data storage location inquiry unit 154b return information about the data storage location, the job input unit 153b sends the execution job to the server of the corresponding server name 161a based on this information. This is executed (step S265).

(データ管理手段)
図14は、図1〜2に示したデータ格納場所データベース170のより詳細な構成を示す説明図である。データ格納場所データベース170は、データ格納場所テーブル171を含む。データ格納場所テーブル171は、作成データ情報162bまたは参照データ情報162cに対応するデータラベル名171aと、実際にそのデータが格納されている場所(コンピュータ名、ディレクトリ名、ファイル名など)を示す格納場所情報171bとを含む。
(Data management means)
FIG. 14 is an explanatory diagram showing a more detailed configuration of the data storage location database 170 shown in FIGS. The data storage location database 170 includes a data storage location table 171. The data storage location table 171 is a storage location indicating the data label name 171a corresponding to the created data information 162b or the reference data information 162c and the location (computer name, directory name, file name, etc.) where the data is actually stored. Information 171b.

図15は、図2に示したデータ格納場所割り当て部154aの詳細な動作を示すフローチャートである。データ格納場所割り当て部154aは、ステップS262でジョブ投入部153bからデータ格納場所の割り当て依頼を受けた場合に(ステップS271)、そこで受け取った作成データ情報162bをデータラベル名171aとしてデータ格納場所の割り当てを行って、そのデータをデータ格納場所テーブル171に保存し(ステップS272)、格納場所情報171bをジョブ投入部153bに返す(ステップS273)。   FIG. 15 is a flowchart showing a detailed operation of the data storage location assignment unit 154a shown in FIG. When the data storage location allocation unit 154a receives a data storage location allocation request from the job input unit 153b in step S262 (step S271), the data storage location allocation unit 154a allocates the data storage location as the data label name 171a. The data is stored in the data storage location table 171 (step S272), and the storage location information 171b is returned to the job input unit 153b (step S273).

図16は、図2に示したデータ格納場所問い合わせ部154bの詳細な動作を示すフローチャートである。データ格納場所問い合わせ部154bは、ステップS264でジョブ投入部153bからデータ格納場所の問い合わせを受けた場合に(ステップS281)、そこで受け取った参照データ情報162cをデータラベル名171aの中から検索して、その検索でヒットしたデータラベル名171aに対応する格納場所情報171bをジョブ投入部153bに返す(ステップS282)。   FIG. 16 is a flowchart showing a detailed operation of the data storage location inquiry unit 154b shown in FIG. When the data storage location inquiry unit 154b receives an inquiry about the data storage location from the job input unit 153b in step S264 (step S281), the data storage location inquiry unit 154b searches the received data reference name 162c from the data label name 171a. The storage location information 171b corresponding to the data label name 171a hit in the search is returned to the job input unit 153b (step S282).

前述の例で、「帳票データ作成」を担当する「APサーバ」である「サーバB」という仮想マシンが追加された場合も、この「帳票データ作成」という実行バッチジョブ162aは作成データ情報162bが「データA」を作成するとあるので、このジョブフローを実行するジョブフロー制御部153aはこのジョブフローのジョブフロー情報166を読み込み(ステップS251)、該ジョブフローの最初に記載された「帳票データ作成」のジョブを実行することを決定して(ステップS252)、この実行ジョブをジョブ投入部153bに渡す(ステップS253)。   In the above example, even when a virtual machine called “Server B”, which is an “AP server” in charge of “form data creation”, is added, the execution batch job 162 a “form data creation” has the created data information 162 b. Since “data A” is to be created, the job flow control unit 153a that executes this job flow reads the job flow information 166 of this job flow (step S251), and “form data creation” described at the beginning of the job flow is performed. "Is executed (step S252), and the execution job is transferred to the job input unit 153b (step S253).

「帳票データ作成」のジョブを受け取ったジョブ投入部153bは、このジョブは作成データ情報162bに「データA」が登録されているジョブであるので(ステップS261)、データ格納場所割り当て部154aにこの「データA」の格納場所を割り当てるよう依頼する(ステップS262)。この依頼を受けたデータ格納場所割り当て部154aは、データラベル171aを「データA」として、これに対応するデータ格納場所の割り当てを行い、実際に割り当てられた格納場所情報171bをジョブ投入部153bに返す(ステップS272)。   The job input unit 153b that has received the “form data creation” job is a job in which “data A” is registered in the created data information 162b (step S261), and therefore this data is stored in the data storage location allocation unit 154a. A request is made to allocate a storage location for “data A” (step S262). Upon receiving this request, the data storage location assignment unit 154a assigns the data storage location corresponding to the data label 171a as “data A”, and sends the actually assigned storage location information 171b to the job input unit 153b. Return (step S272).

ジョブ投入部153bはこれを受けて、この格納場所情報171bを対応するサーバ名161a「サーバA」および「サーバB」のサーバに渡して、実行バッチジョブ162a「帳票データ作成」のジョブを実行させる(ステップS265)。これが実行できたら、ジョブフロー制御部153aおよびジョブ投入部153bは、それに続く「データ仕分け」および「帳票作成」のジョブを順番に実行させる。   In response to this, the job input unit 153b passes the storage location information 171b to the corresponding server names 161a “server A” and “server B”, and executes the job of the execution batch job 162a “form data creation”. (Step S265). If this can be executed, the job flow control unit 153a and the job input unit 153b sequentially execute the subsequent “data sorting” and “form creation” jobs.

以上の例で述べたように、「サーバB」なる仮想マシンが追加された場合も、その追加の前後でジョブの依存関係には変化はなく、またデータの参照関係にも変化はない。ただ、サーバ用途情報テーブル161の、新たに担当させたい用途161b「APサーバ」に対応するサーバ名161aに「サーバB」を追加するだけで、その他の各テーブルのデータには変更される点は無い。   As described in the above example, even when a virtual machine “server B” is added, there is no change in the job dependency before and after the addition, and there is no change in the data reference relationship. However, only by adding “Server B” to the server name 161a corresponding to the application 161b “AP server” to be newly assigned in the server application information table 161, the data in the other tables is changed. No.

即ち、この1点の変更のみで、ジョブフロー情報166で定義された「APサーバ」が担当する「帳票データ作成」のジョブを、図11(a)に示すような「サーバA」のみでの実行から、図11(b)に示すように「サーバA」および「サーバB」の2台で並行して実行するように問題なく変更することができるのである。逆に図11(b)に示したジョブフロー情報166の状態から「サーバB」を削除して、図11(a)に示すように「帳票データ作成」のジョブを「サーバA」のみで実行させるようにする場合についても同様の動作で可能である。   That is, only by this one change, a “form data creation” job handled by the “AP server” defined in the job flow information 166 can be performed only by “server A” as shown in FIG. From execution, as shown in FIG. 11 (b), it can be changed without any problem so that it is executed in parallel on two servers "server A" and "server B". Conversely, “server B” is deleted from the state of the job flow information 166 shown in FIG. 11B, and the “form data creation” job is executed only by “server A” as shown in FIG. 11A. The same operation is possible for the case of making them.

(第1の実施形態の全体的な動作)
次に、上記の実施形態の全体的な動作について説明する。本実施形態に係る仮想コンピュータ管理方法は、仮想コンピュータを動作させることが可能な物理的なコンピュータ装置である物理マシン111〜11mと、仮想コンピュータからアクセス可能な記憶装置である共有ストレージ131と、物理マシン上の仮想コンピュータの動作を管理する管理サーバ100とが相互に接続された仮想コンピュータシステムにあって、物理マシン上で動作する複数台の仮想コンピュータの設定および変更を仮想マシン制御手段151が指令し、仮想コンピュータの構成変更に反応して仮想コンピュータで実行可能な複数個のジョブによって予め構成されたジョブフローで各ジョブを実行する仮想コンピュータをジョブフロー生成手段152が変更し、各々のジョブで作成もしくは参照されるデータファイルとしてあらかじめ定義されたデータラベル名に対応するデータファイルをデータ管理手段154が共有ストレージ上に割り当てると共にデータファイルの格納場所情報をデータラベル名に対応させて記憶し、データラベル名に対応する格納場所情報をジョブフロー実行手段153がジョブを実行する仮想コンピュータに伝達する。
(Overall operation of the first embodiment)
Next, the overall operation of the above embodiment will be described. The virtual computer management method according to the present embodiment includes physical machines 111 to 11m that are physical computer devices capable of operating a virtual computer, a shared storage 131 that is a storage device accessible from the virtual computer, In a virtual computer system interconnected with a management server 100 that manages the operation of a virtual computer on a machine, the virtual machine control means 151 instructs setting and changing of a plurality of virtual computers operating on a physical machine. Then, the job flow generation unit 152 changes the virtual computer that executes each job in a job flow configured in advance by a plurality of jobs that can be executed by the virtual computer in response to the change in the configuration of the virtual computer. Data files to be created or referenced The data management unit 154 allocates the data file corresponding to the data label name previously defined on the shared storage, stores the data file storage location information in association with the data label name, and stores the data file in correspondence with the data label name. The job flow execution means 153 transmits the information to the virtual computer that executes the job.

ここで、上記各動作ステップについては、これをコンピュータで実行可能にプログラム化し、これらを前記各ステップを直接実行するコンピュータである管理サーバ100に実行させるようにしてもよい。
この構成および動作により、本実施形態は以下のような効果を奏する。
Here, each of the above-described operation steps may be programmed to be executable by a computer, and may be executed by the management server 100 which is a computer that directly executes each of the steps.
With this configuration and operation, the present embodiment has the following effects.

従来技術では、仮想マシンの追加や削除に伴って、ジョブの依存関係やデータの参照関係などについて複雑に変化させる必要があった。本実施形態では、そのような複雑な変更処理を必要とはしない。従って、夜間や休日などに人手をかけずに一括して実行することが求められるバッチ処理に適した環境を、本実施形態では提供することができる。仮想マシンの追加や削除も、各物理マシンにかかる処理負荷や消費電力などに基づいて自動的に行うことができるので、前述したような仮想化による効率化が容易に実現可能である。   In the prior art, it has been necessary to make complicated changes in job dependency, data reference relationship, and the like as virtual machines are added or deleted. In the present embodiment, such complicated change processing is not required. Therefore, this embodiment can provide an environment suitable for batch processing that is required to be executed in a lump without manpower at night or on holidays. Since addition and deletion of virtual machines can be automatically performed based on the processing load and power consumption applied to each physical machine, it is possible to easily realize the efficiency by virtualization as described above.

(第2の実施形態)
本発明の第2の実施形態に係る仮想コンピュータシステム(データセンタ310)は、前述した第1の実施形態の構成に加えて、データ格納場所データベース470が、ジョブの名称、仮想コンピュータの名称およびデータラベル名に対応した子番号を共に記憶し、ジョブフロー生成手段452が、異なるジョブおよび仮想コンピュータが同一のデータラベル名を使用する場合に、互いに異なる子番号を採番してデータ格納場所データベースに記憶させるデータラベルカウント部452dを有する構成とした。
(Second Embodiment)
In the virtual computer system (data center 310) according to the second embodiment of the present invention, in addition to the configuration of the first embodiment described above, the data storage location database 470 includes a job name, a virtual computer name, and data. The child number corresponding to the label name is stored together, and when the job flow generation unit 452 uses the same data label name for different jobs and virtual computers, the child number is assigned to the data storage location database. A data label count unit 452d to be stored is included.

これによって、別々のジョブが同一のデータラベル名でデータファイルを使用する場合にも、そのデータラベル名が重複することに伴う不都合を防止することができる。以下、これをより詳しく説明する。   As a result, even when different jobs use data files with the same data label name, it is possible to prevent inconvenience associated with duplication of the data label name. This will be described in more detail below.

図17は、本発明の第2の実施形態に係るデータセンタ310の構成を示す説明図である。データセンタ310は、前述した第1の実施形態に係るデータセンタ10と概ね同一の構成を有するが、このデータセンタを管理する管理サーバの動作が異なるので、これを管理サーバ400という。物理マシン111〜11m、n台の仮想マシン121〜12n、ファイルサーバ130、内部ネットワーク140は第1の実施形態と同一である。   FIG. 17 is an explanatory diagram showing the configuration of the data center 310 according to the second embodiment of this invention. Although the data center 310 has substantially the same configuration as the data center 10 according to the first embodiment described above, the operation of the management server that manages this data center is different, and this is called the management server 400. The physical machines 111 to 11m, the n virtual machines 121 to 12n, the file server 130, and the internal network 140 are the same as those in the first embodiment.

管理サーバ400の構成は、前述した第1の実施形態に係る管理サーバ100とハードウェア的には全く同一であり、ソフトウェア的にも概ね同一であるが、プロセッサ101で動作するジョブフロー生成手段、データ管理手段、および記憶装置102に記憶されるデータ格納場所データベースの内容が異なる。これらを各々ジョブフロー生成手段452、データ管理手段454、データ格納場所データベース470という。これら以外の仮想マシン制御手段151、ジョブフロー実行手段153、ジョブ情報データベース160は第1の実施形態と同一である。   The configuration of the management server 400 is completely the same as the management server 100 according to the first embodiment described above in terms of hardware and generally the same in terms of software, but job flow generation means that operates on the processor 101, The contents of the data management means and the data storage location database stored in the storage device 102 are different. These are referred to as job flow generation means 452, data management means 454, and data storage location database 470, respectively. Other virtual machine control means 151, job flow execution means 153, and job information database 160 are the same as those in the first embodiment.

図18は、図17に示したジョブフロー生成手段452、ジョブフロー実行手段153、データ管理手段454、ジョブ情報データベース160およびデータ格納場所データベース470のより詳細な構成を示す説明図である。ジョブフロー生成手段452は、第1の実施形態で説明したサーバ用途確認部152a、実行ジョブ抽出部152b、ジョブ並列度確認部152c、ジョブ依存関係確認部152dに加えて(これらは第1の実施形態で説明したものと同一の動作をするので、参照番号も全く同一とする)、さらにデータラベルカウント部452eという機能部が存在する。   18 is an explanatory diagram showing more detailed configurations of the job flow generation unit 452, the job flow execution unit 153, the data management unit 454, the job information database 160, and the data storage location database 470 shown in FIG. The job flow generation unit 452 is in addition to the server usage confirmation unit 152a, execution job extraction unit 152b, job parallelism confirmation unit 152c, and job dependency confirmation unit 152d described in the first embodiment (these are the first implementations). Since the same operation as described in the embodiment is performed, the reference numbers are also completely the same), and there is a functional unit called a data label count unit 452e.

データ管理手段454は、データ格納場所割り当て部454a、データ格納場所問い合わせ部454bを備える。データ格納場所データベース470は、データ格納場所テーブル471と、ラベル参照情報テーブル472とを備える。   The data management means 454 includes a data storage location assignment unit 454a and a data storage location inquiry unit 454b. The data storage location database 470 includes a data storage location table 471 and a label reference information table 472.

図19は、図18に示したデータ格納場所テーブル471およびラベル参照情報テーブル472のデータ構成およびその具体例を示す説明図である。データ格納場所テーブル471は、第1の実施形態で説明したデータラベル名171aと格納場所情報171bに加えて、後述の子番号471aが記録される。   FIG. 19 is an explanatory diagram showing the data structures of the data storage location table 471 and the label reference information table 472 shown in FIG. 18 and specific examples thereof. In the data storage location table 471, a child number 471a described later is recorded in addition to the data label name 171a and the storage location information 171b described in the first embodiment.

ラベル参照情報テーブル472は、用途別実行ジョブ情報テーブル162に記録された実行バッチジョブ162aと、そのバッチジョブを実行するサーバ名161a、およびそれらに対応する前述のデータラベル名171aと子番号471aとが記録される。   The label reference information table 472 includes an execution batch job 162a recorded in the application-specific execution job information table 162, a server name 161a that executes the batch job, and the data label name 171a and child number 471a corresponding to the server name 161a. Is recorded.

図20は、図18に示したデータラベルカウント部452eの詳細な動作を示すフローチャートである。データラベルカウント部452eは、ジョブ依存関係確認部152dが図10のステップS235の動作でジョブフロー情報166を作成したことに反応して、追加された実行バッチジョブ162aとサーバ名161aに対応するデータラベル名171aを、ラベル参照情報テーブル472に記憶する。   FIG. 20 is a flowchart showing a detailed operation of the data label count unit 452e shown in FIG. The data label counting unit 452e responds to the job dependency confirmation unit 152d creating the job flow information 166 by the operation of step S235 in FIG. 10, and the data corresponding to the added execution batch job 162a and the server name 161a. The label name 171a is stored in the label reference information table 472.

その際、まず同一のデータラベル名171aのデータが既にラベル参照情報テーブル472に存在するか否かを判断し(ステップS501)、存在しなければそのまま実行バッチジョブ162a、サーバ名161a、データラベル名171aをラベル参照情報テーブル472に記憶する(ステップS502)。その際、子番号471aはたとえば「01」などのような初期値にする。   At that time, first, it is determined whether or not the data of the same data label name 171a already exists in the label reference information table 472 (step S501). If it does not exist, the execution batch job 162a, server name 161a, and data label name are left as they are. 171a is stored in the label reference information table 472 (step S502). At this time, the child number 471a is set to an initial value such as “01”, for example.

同一のデータラベル名171aのデータが既に存在していれば、その既存のデータと実行バッチジョブ162aとサーバ名161aが異なるか否かを判断する(ステップS503)。異なっていれば、子番号471aをその既存データと被らないように付けて(たとえば既存データの子番号471aに+1するなど)(ステップS504)、ステップS502に進んでデータを記憶する。同一のデータラベル名171aで実行バッチジョブ162aとサーバ名161aが異ならないなら、そのまま処理を終了する。   If data with the same data label name 171a already exists, it is determined whether the existing data, the execution batch job 162a, and the server name 161a are different (step S503). If they are different, the child number 471a is attached so as not to cover the existing data (for example, the child number 471a of the existing data is incremented by 1) (step S504), and the process proceeds to step S502 to store the data. If the execution batch job 162a and the server name 161a are not different with the same data label name 171a, the processing is ended as it is.

図21は、図18に示したデータ格納場所割り当て部454aの詳細な動作を示すフローチャートである。データ格納場所割り当て部454aは、ステップS262でジョブ投入部153bからデータ格納場所の割り当て依頼を受けた場合に(ステップS271)、そこで受け取った作成データ情報162bをデータラベル名171aとして、これと同時に通知される実行バッチジョブ162aとサーバ名161aとから、ラベル参照情報テーブル472を参照してこれに対応する子番号471aを検索する(ステップS511)。   FIG. 21 is a flowchart showing a detailed operation of the data storage location allocation unit 454a shown in FIG. When receiving a data storage location allocation request from the job input unit 153b in step S262 (step S271), the data storage location allocation unit 454a notifies the received created data information 162b as a data label name 171a at the same time. From the executed batch job 162a and the server name 161a, the label reference information table 472 is referred to and the corresponding child number 471a is searched (step S511).

このデータラベル名171aと子番号471aに対応してデータ格納場所の割り当てを行って、そのデータをデータ格納場所テーブル171に保存し(ステップS512)、格納場所情報171bをジョブ投入部153bに返す(ステップS273)。   The data storage location is assigned corresponding to the data label name 171a and the child number 471a, the data is stored in the data storage location table 171 (step S512), and the storage location information 171b is returned to the job input unit 153b ( Step S273).

図22は、図18に示したデータ格納場所問い合わせ部454bの詳細な動作を示すフローチャートである。データ格納場所問い合わせ部154bは、ステップS264でジョブ投入部153bからデータ格納場所の問い合わせを受けた場合に(ステップS281)、そこで受け取った参照データ情報162cをデータラベル名171aとして、これと同時に通知される実行バッチジョブ162aとサーバ名161aとから、ラベル参照情報テーブル472を参照してこれに対応する子番号471aを検索する(ステップS521)。   FIG. 22 is a flowchart showing a detailed operation of the data storage location inquiry unit 454b shown in FIG. When the data storage location inquiry unit 154b receives an inquiry about the data storage location from the job input unit 153b in step S264 (step S281), the received reference data information 162c is notified as the data label name 171a at the same time. From the execution batch job 162a and the server name 161a, the label reference information table 472 is referred to and the corresponding child number 471a is searched (step S521).

このデータラベル名171aと子番号471aに対応する格納場所情報171bをジョブ投入部153bに返す(ステップS522)。なお、図21〜22については、図15〜16に示した処理と同一の処理については、同一の参照番号で示している。   The storage location information 171b corresponding to the data label name 171a and the child number 471a is returned to the job input unit 153b (step S522). 21 to 22, the same processes as those illustrated in FIGS. 15 to 16 are denoted by the same reference numerals.

本実施形態では、別々のジョブが同一のデータラベル名171aで定義されるデータファイルを作成もしくは参照するように指定していたとしても、実行バッチジョブ162aとサーバ名161aが異なれば別々の子番号471aが付与されて別々のデータとして扱われる。   In the present embodiment, even if different jobs are specified to create or refer to data files defined by the same data label name 171a, if the execution batch job 162a and the server name 161a are different, different child numbers are used. 471a is assigned and handled as separate data.

図19に示したデータ例では、サーバ名161a「サーバA」で実行される実行バッチジョブ162a「帳票データ作成」と、サーバ名161a「サーバX」で実行される実行バッチジョブ162a「その他」の両方に、データラベル名171a「データA」が割り当てられていた。この場合も、前者には子番号471a=「01」、後者には子番号471a=「02」として、別々のデータファイルを作成して作業するようになるので、データラベル名171aが被ることに起因する間違いは生じない。   In the data example shown in FIG. 19, an execution batch job 162a “form data creation” executed by the server name 161a “server A” and an execution batch job 162a “other” executed by the server name 161a “server X”. The data label name 171a “data A” was assigned to both. In this case as well, a separate data file is created with the child number 471a = “01” for the former and the child number 471a = “02” for the latter, so the data label name 171a is incurred. The resulting mistakes do not occur.

これまで本発明について図面に示した特定の実施形態をもって説明してきたが、本発明は図面に示した実施形態に限定されるものではなく、本発明の効果を奏する限り、これまで知られたいかなる構成であっても採用することができる。   The present invention has been described with reference to the specific embodiments shown in the drawings. However, the present invention is not limited to the embodiments shown in the drawings, and any known hitherto provided that the effects of the present invention are achieved. Even if it is a structure, it is employable.

本発明は、コンピュータの仮想化環境でジョブフローを実行する場合に適用することができる。   The present invention can be applied when a job flow is executed in a virtual environment of a computer.

10、310 データセンタ
100、400 管理サーバ
101 プロセッサ
102 記憶装置
111、11m 物理マシン
121、11n 仮想マシン
130 ファイルサーバ
131 共通ストレージ
140 内部ネットワーク
151 仮想マシン制御手段
152、452 ジョブフロー生成手段
152a サーバ用途確認部
152b 実行ジョブ抽出部
152c ジョブ並列度確認部
152d ジョブ依存関係確認部
153 ジョブフロー実行手段
153a ジョブフロー制御部
153b ジョブ投入部
154、454 データ管理手段
154a、454a データ格納場所割り当て部
154b、454b データ格納場所問い合わせ部
160 ジョブ情報データベース
161 サーバ用途情報テーブル
161a サーバ名
161b 用途
162 用途別実行ジョブ情報テーブル
162a 実行バッチジョブ
162b 作成データ情報
162c 参照データ情報
163 ジョブ並列度情報テーブル
163a 並列実行可否
164 ジョブ依存関係情報テーブル
164a 先行バッチジョブ
165 ジョブ実行情報テーブル
165a 実行済情報
166 ジョブフロー情報
170、470 データ格納場所データベース
171、471 データ格納場所テーブル
171a データラベル名
171b 格納場所情報
452e データラベルカウント部
471a 子番号
472 ラベル参照情報テーブル
10, 310 Data center 100, 400 Management server 101 Processor 102 Storage device 111, 11m Physical machine 121, 11n Virtual machine 130 File server 131 Common storage 140 Internal network 151 Virtual machine control means 152, 452 Job flow generation means 152a Server usage confirmation Unit 152b execution job extraction unit 152c job parallelism confirmation unit 152d job dependency confirmation unit 153 job flow execution unit 153a job flow control unit 153b job input unit 154, 454 data management unit 154a, 454a data storage location allocation unit 154b, 454b data Storage location inquiry section 160 Job information database 161 Server usage information table 161a Server name 161b Usage 162 Actual by usage Job information table 162a Execution batch job 162b Created data information 162c Reference data information 163 Job parallelism information table 163a Parallel execution availability 164 Job dependency information table 164a Predecessor batch job 165 Job execution information table 165a Executed information 166 Job flow information 170, 470 Data storage location database 171, 471 Data storage location table 171a Data label name 171b Storage location information 452e Data label count unit 471a Child number 472 Label reference information table

Claims (6)

仮想コンピュータを動作させることが可能な物理的なコンピュータ装置である物理マシンおよび前記仮想コンピュータからアクセス可能な記憶装置である共通ストレージと、前記物理マシン上の前記仮想コンピュータの動作を管理する管理サーバを備え、
前記管理サーバが、
前記物理マシン上で動作する複数台の前記仮想コンピュータの設定および変更を指令する仮想マシン制御手段と、
前記仮想マシン制御手段から前記仮想コンピュータの設定および変更の指令を受けたことに対応して前記仮想コンピュータで実行可能な複数個のジョブによって予め構成されたジョブフローで各ジョブを実行する前記仮想コンピュータを変更するジョブフロー生成手段と、
各々の前記ジョブで作成もしくは参照されるデータファイルとしてあらかじめ定義されたデータラベル名に対応する前記データファイルを前記共通ストレージ上に割り当てるデータ管理手段と、
前記データファイルの格納場所情報を前記データラベル名に対応させて格納するデータ格納場所データベースを記憶する記憶手段と、
前記データラベル名に対応する前記格納場所情報を前記データ管理手段に照会すると共にこれを前記ジョブを実行する前記仮想コンピュータに伝達するジョブフロー実行手段とを有することを特徴とする仮想コンピュータシステム。
A physical machine that is a physical computer device capable of operating a virtual computer, a common storage that is a storage device accessible from the virtual computer, and a management server that manages the operation of the virtual computer on the physical machine Prepared,
The management server is
Virtual machine control means for instructing setting and changing of the plurality of virtual computers operating on the physical machine;
The virtual computer that executes each job in a job flow that is configured in advance by a plurality of jobs that can be executed by the virtual computer in response to receiving a command to set and change the virtual computer from the virtual machine control unit Job flow generation means for changing
Data management means for allocating the data file corresponding to a data label name defined in advance as a data file created or referred to in each job on the common storage;
Storage means for storing a data storage location database for storing storage location information of the data file in association with the data label name;
A virtual computer system comprising: job flow execution means for querying the data management means for the storage location information corresponding to the data label name and transmitting the information to the virtual computer for executing the job.
前記記憶手段が、前記仮想コンピュータの用途について記憶するサーバ用途情報テーブルと、前記仮想コンピュータの前記用途に対応する実行ジョブおよび該実行ジョブで作成もしくは参照されるデータファイルの前記データラベル名について記憶する用途別実行ジョブ情報テーブルとを含むジョブ情報データベースを記憶し、
前記ジョブフロー生成手段が、前記サーバ用途情報テーブルを参照して前記仮想マシン制御手段が構成変更した前記仮想コンピュータの用途を確認するサーバ用途確認部と、前記用途別実行ジョブ情報テーブルを参照して前記構成変更された前記仮想コンピュータの前記用途に対応する前記データラベル名を抽出する実行ジョブ抽出部と、前記構成変更された仮想コンピュータに対応するようジョブフロー情報を変更するジョブ依存関係確認部とを有することを特徴とする、請求項1に記載の仮想コンピュータシステム。
The storage means stores a server usage information table for storing the usage of the virtual computer, an execution job corresponding to the usage of the virtual computer, and the data label name of a data file created or referred to by the execution job. Stores job information database including job information table by usage
The job flow generation means refers to the server usage information table, refers to the server usage information table, and checks the usage of the virtual computer whose configuration has been changed by the virtual machine control means. An execution job extraction unit that extracts the data label name corresponding to the usage of the reconfigured virtual computer, and a job dependency confirmation unit that changes job flow information to correspond to the reconfigured virtual computer; The virtual computer system according to claim 1, comprising:
前記ジョブ情報データベースが、前記ジョブフローを構成する各ジョブが並列実行可能か否かを示す並列実行可否について記憶するジョブ並列度情報テーブルを含み、
前記ジョブフロー生成手段が、前記ジョブ並列度情報テーブルを参照して並列実行可能であるジョブについて並列実行するように前記ジョブフロー情報を変更するジョブ依存関係確認部を有することを特徴とする、請求項2に記載の仮想コンピュータシステム。
The job information database includes a job parallelism information table for storing whether or not each job constituting the job flow can be executed in parallel;
The job flow generation unit includes a job dependency confirmation unit that changes the job flow information so that jobs that can be executed in parallel with reference to the job parallelism information table are executed in parallel. Item 3. The virtual computer system according to Item 2.
前記データ格納場所データベースが、前記ジョブの名称、前記仮想コンピュータの名称および前記データラベル名に対応した子番号を共に記憶し、
前記ジョブフロー生成手段が、異なる前記ジョブおよび前記仮想コンピュータが同一の前記データラベル名を使用する場合に、互いに異なる前記子番号を採番して前記データ格納場所データベースに記憶させるデータラベルカウント部を有することを特徴とする、請求項1に記載の仮想コンピュータシステム。
The data storage location database stores both the job name, the virtual computer name, and the child number corresponding to the data label name,
A data label counting unit that, when the different job and the virtual computer use the same data label name, assigns a different child number and stores it in the data storage location database; The virtual computer system according to claim 1, further comprising:
仮想コンピュータを動作させることが可能な物理的なコンピュータ装置である物理マシンと、前記仮想コンピュータからアクセス可能な記憶装置である共通ストレージと、前記物理マシン上の前記仮想コンピュータの動作を管理する管理サーバとが相互に接続された仮想コンピュータシステムにあって、
前記物理マシン上で動作する複数台の前記仮想コンピュータの設定および変更を仮想マシン制御手段が指令し、
前記仮想コンピュータの構成変更に反応して前記仮想コンピュータで実行可能な複数個のジョブによって予め構成されたジョブフローで各ジョブを実行する前記仮想コンピュータをジョブフロー生成手段が変更し、
各々の前記ジョブで作成もしくは参照されるデータファイルとしてあらかじめ定義されたデータラベル名に対応する前記データファイルをデータ管理手段が前記共通ストレージ上に割り当てると共に前記データファイルの格納場所情報を前記データラベル名に対応させて記憶し、
前記データラベル名に対応する前記格納場所情報をジョブフロー実行手段が前記ジョブを実行する前記仮想コンピュータに伝達することを特徴とする仮想コンピュータ管理方法。
A physical machine that is a physical computer device capable of operating a virtual computer, a common storage that is a storage device accessible from the virtual computer, and a management server that manages the operation of the virtual computer on the physical machine In a virtual computer system connected to each other,
The virtual machine control means commands the setting and change of the plurality of virtual computers operating on the physical machine,
Job flow generation means changes the virtual computer that executes each job in a job flow configured in advance by a plurality of jobs that can be executed by the virtual computer in response to the configuration change of the virtual computer,
The data management unit allocates the data file corresponding to the data label name defined in advance as a data file created or referred to in each job on the common storage, and stores the storage location information of the data file in the data label name Remember to correspond to
A virtual computer management method, wherein job flow execution means transmits the storage location information corresponding to the data label name to the virtual computer that executes the job.
仮想コンピュータを動作させることが可能な物理的なコンピュータ装置である物理マシンと、前記仮想コンピュータからアクセス可能な記憶装置である共通ストレージと、前記物理マシン上の前記仮想コンピュータの動作を管理する管理サーバとが相互に接続された仮想コンピュータシステムにあって、
前記管理サーバが備えるコンピュータに、
前記物理マシン上で動作する複数台の前記仮想コンピュータの構成を変更する手順、
前記仮想コンピュータの構成変更に反応して前記仮想コンピュータで実行可能な複数個のジョブによって予め構成されたジョブフローで各ジョブを実行する前記仮想コンピュータを変更する手順、
各々の前記ジョブで作成もしくは参照されるデータファイルとしてあらかじめ定義されたデータラベル名に対応する前記データファイルを前記共通ストレージ上に割り当てる手順、
前記データファイルの格納場所情報を前記データラベル名に対応させて記憶する手順、
および前記データラベル名に対応する前記格納場所情報を前記ジョブを実行する前記仮想コンピュータに伝達する手順
を実行させることを特徴とする仮想コンピュータ管理プログラム。
A physical machine that is a physical computer device capable of operating a virtual computer, a common storage that is a storage device accessible from the virtual computer, and a management server that manages the operation of the virtual computer on the physical machine In a virtual computer system connected to each other,
In the computer provided in the management server,
A procedure for changing the configuration of a plurality of the virtual computers operating on the physical machine;
A procedure for changing the virtual computer that executes each job in a job flow configured in advance by a plurality of jobs that can be executed by the virtual computer in response to the configuration change of the virtual computer;
A procedure for allocating the data file corresponding to a data label name defined in advance as a data file created or referenced in each job on the common storage;
A procedure for storing storage location information of the data file in association with the data label name;
And a procedure for transmitting the storage location information corresponding to the data label name to the virtual computer that executes the job.
JP2009254046A 2009-11-05 2009-11-05 Virtual computer system, virtual computer management method, and management program Expired - Fee Related JP5446746B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009254046A JP5446746B2 (en) 2009-11-05 2009-11-05 Virtual computer system, virtual computer management method, and management program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009254046A JP5446746B2 (en) 2009-11-05 2009-11-05 Virtual computer system, virtual computer management method, and management program

Publications (2)

Publication Number Publication Date
JP2011100263A true JP2011100263A (en) 2011-05-19
JP5446746B2 JP5446746B2 (en) 2014-03-19

Family

ID=44191393

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009254046A Expired - Fee Related JP5446746B2 (en) 2009-11-05 2009-11-05 Virtual computer system, virtual computer management method, and management program

Country Status (1)

Country Link
JP (1) JP5446746B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014006729A1 (en) * 2012-07-05 2014-01-09 富士通株式会社 Information processing device, information processing method, information processing program, and recording medium
JP2014215765A (en) * 2013-04-24 2014-11-17 株式会社三菱東京Ufj銀行 Control device
US9442765B2 (en) 2013-04-12 2016-09-13 Hitachi, Ltd. Identifying shared physical storage resources having possibility to be simultaneously used by two jobs when reaching a high load
JP2016219068A (en) * 2016-09-28 2016-12-22 富士通株式会社 Information processing apparatus, method, and program
US11062681B2 (en) 2016-11-25 2021-07-13 Mitsubishi Electric Corporation Monitoring system, data model management device, and method of generating display data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04312131A (en) * 1991-04-11 1992-11-04 Hitachi Ltd Job executing control system
JPH07262024A (en) * 1994-03-18 1995-10-13 Hitachi Ltd Data succeeding method
JP2000148451A (en) * 1998-11-18 2000-05-30 Nec Corp Batch job load decentralization method and system therefor
JP2008226181A (en) * 2007-03-15 2008-09-25 Fujitsu Ltd Parallel execution program, recording medium storing it, parallel execution device, and parallel execution method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04312131A (en) * 1991-04-11 1992-11-04 Hitachi Ltd Job executing control system
JPH07262024A (en) * 1994-03-18 1995-10-13 Hitachi Ltd Data succeeding method
JP2000148451A (en) * 1998-11-18 2000-05-30 Nec Corp Batch job load decentralization method and system therefor
JP2008226181A (en) * 2007-03-15 2008-09-25 Fujitsu Ltd Parallel execution program, recording medium storing it, parallel execution device, and parallel execution method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014006729A1 (en) * 2012-07-05 2014-01-09 富士通株式会社 Information processing device, information processing method, information processing program, and recording medium
JPWO2014006729A1 (en) * 2012-07-05 2016-06-02 富士通株式会社 Information processing apparatus, information processing method, information processing program, and recording medium
US9442765B2 (en) 2013-04-12 2016-09-13 Hitachi, Ltd. Identifying shared physical storage resources having possibility to be simultaneously used by two jobs when reaching a high load
JP2014215765A (en) * 2013-04-24 2014-11-17 株式会社三菱東京Ufj銀行 Control device
JP2016219068A (en) * 2016-09-28 2016-12-22 富士通株式会社 Information processing apparatus, method, and program
US11062681B2 (en) 2016-11-25 2021-07-13 Mitsubishi Electric Corporation Monitoring system, data model management device, and method of generating display data

Also Published As

Publication number Publication date
JP5446746B2 (en) 2014-03-19

Similar Documents

Publication Publication Date Title
US8832130B2 (en) System and method for implementing on demand cloud database
US9952782B1 (en) Method and system for accessing data between different virtual disk formats in a virtualization environment
WO2016199232A1 (en) Storage management computer and management method for storage device
JP2015001828A (en) Allocation program, allocation device, and allocation method
US10572449B2 (en) Systems, devices, and methods for software discovery using application ID tags
JP5352890B2 (en) Computer system operation management method, computer system, and computer-readable medium storing program
US9705986B2 (en) Elastic scalability of a content transformation cluster
JP2007220064A (en) Controller and method of controlling information system
US11665221B2 (en) Common services model for multi-cloud platform
JP5446746B2 (en) Virtual computer system, virtual computer management method, and management program
US20190079982A1 (en) Content transformations using a transformation node cluster
JP5396339B2 (en) Resource control method and resource control system
CN102360314A (en) System and method for managing resources of data center
CN105637489A (en) Asynchronous garbage collection in a distributed database system
US8626799B2 (en) Mapping data structures
JP4798395B2 (en) Resource automatic construction system, automatic construction method, and management terminal therefor
JP5646511B2 (en) Method, system and computer readable recording medium for providing a distributed programming environment using a distributed space
JP6418419B2 (en) Method and apparatus for hard disk to execute application code
JP2008293278A (en) Distributed processing program, distributed processor, and the distributed processing method
US20130318102A1 (en) Data Handling in a Cloud Computing Environment
CN104281486A (en) Processing method and device of VM (virtual machine)
US10430216B1 (en) Virtual machine automated selection
US10956506B1 (en) Query-based data modification
Ali et al. Supporting bioinformatics applications with hybrid multi-cloud services
EP4350529A1 (en) Object-based transportation across tenants

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20121011

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20131004

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20131008

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20131118

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131216

R150 Certificate of patent or registration of utility model

Ref document number: 5446746

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees