JP5396339B2 - Resource control method and resource control system - Google Patents

Resource control method and resource control system Download PDF

Info

Publication number
JP5396339B2
JP5396339B2 JP2010147060A JP2010147060A JP5396339B2 JP 5396339 B2 JP5396339 B2 JP 5396339B2 JP 2010147060 A JP2010147060 A JP 2010147060A JP 2010147060 A JP2010147060 A JP 2010147060A JP 5396339 B2 JP5396339 B2 JP 5396339B2
Authority
JP
Japan
Prior art keywords
business
job
space
resource
computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2010147060A
Other languages
Japanese (ja)
Other versions
JP2011118864A (en
Inventor
幸祐 柴田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2010147060A priority Critical patent/JP5396339B2/en
Publication of JP2011118864A publication Critical patent/JP2011118864A/en
Application granted granted Critical
Publication of JP5396339B2 publication Critical patent/JP5396339B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Description

本発明は、仮想化システム環境における仮想マシンへのリソース割り当て方法の技術に関しする。   The present invention relates to a technique of a method for assigning resources to virtual machines in a virtual system environment.

業務アプリケーションが動作している複数のマシンを仮想化し、1台の物理的なマシンに集約することで、ITにかかるコストを削減する取り組みが活発におこなわれている。例えば、ある業務が物理的に3台のマシンで構成されたシステムで稼働する場合、当該業務を1台の物理マシン上に3台の仮想マシンを構築して稼働させることで、ITにかかるコストを従来の3分の1に削減することができる。   Active efforts are being made to reduce IT costs by virtualizing multiple machines running business applications and consolidating them into a single physical machine. For example, if a certain business runs on a system that is physically composed of three machines, it costs IT costs by constructing and operating three virtual machines on one physical machine. Can be reduced to one-third of the conventional value.

ここで、物理的なマシン1台あたりの仮想マシンの数(集約度)は、削減できるコストに直結するので、集約度を更に大きくするためには、各仮想マシンが必要とする「平均」リソース量の総和が、物理的なマシンが有するリソース量と等しくなる程度に物理的なマシン上に仮想マシンを配置することが多い。こうすることで、リソースの限られた物理的なマシン上に更に多くの仮想マシンを配置することが可能となる。そのため、逆に業務アプリケーションを稼働する各仮想マシンが必要とする「最大」リソース量の総和は、物理的なマシンが有するリソース量よりも大きくなるのが一般的である。   Here, the number of virtual machines (aggregation level) per physical machine is directly linked to the cost that can be reduced, so in order to further increase the degree of aggregation, the “average” resource required by each virtual machine In many cases, a virtual machine is arranged on a physical machine so that the total amount is equal to the resource amount of the physical machine. This makes it possible to place more virtual machines on a physical machine with limited resources. Therefore, on the contrary, the sum of the “maximum” resource amount required by each virtual machine that operates a business application is generally larger than the resource amount that a physical machine has.

仮想マシンの必要とする最大リソース量の総和が、物理的なマシンの持つリソース量を越えるような場合、各仮想マシンに割り当てるリソースの量を適宜かつ適切に決定する必要がある。   When the sum of the maximum resource amounts required by the virtual machine exceeds the resource amount of the physical machine, it is necessary to appropriately and appropriately determine the amount of resources allocated to each virtual machine.

従来の技術では、特許文献1に示すように、各仮想マシンに対して、あらかじめ決められた比率あるいは固定値にしたがって、各仮想マシンに割り当てるリソースの量を決定する。さらに、ある仮想マシンにおいて余剰リソースがある場合には、余剰リソースを回収したうえで、不足している仮想マシンに余剰リソースの再割り当てをおこなう。   In the conventional technique, as shown in Patent Document 1, the amount of resources allocated to each virtual machine is determined according to a predetermined ratio or a fixed value for each virtual machine. Furthermore, when there is a surplus resource in a certain virtual machine, the surplus resource is collected, and then the surplus resource is reassigned to the lacking virtual machine.

特開2005−309644 リソース制御方法及びそのシステムPatent application title: Resource control method and system

すでに運用している業務システムを仮想化集約する場合、ひとつの仮想マシンで複数の業務アプリケーションが動作する場合や、さらにひとつの業務が複数の仮想マシンにまたがって実行される場合がある。このような場合、ある業務で使用可能なリソースは、同一仮想マシン上で実行される他の業務により影響を受ける可能性がある。しかし、従来技術では、リソースの割当が仮想マシンを単位として行われているため、他の業務により影響を受ける場合の考慮がなされていない。従来技術での仮想マシン単位でのリソース割り当てでは、このような同一仮想マシン上で実行される業務の影響を考慮した業務視点でリソースの割り当てをおこなうことができない。   When a business system that is already in operation is virtualized and consolidated, a plurality of business applications may operate on a single virtual machine, or a single business may be executed across a plurality of virtual machines. In such a case, a resource that can be used in a certain job may be affected by another job executed on the same virtual machine. However, in the prior art, since resource allocation is performed in units of virtual machines, consideration is not given to cases where they are affected by other business operations. With resource allocation in units of virtual machines in the prior art, it is not possible to allocate resources from a business viewpoint that takes into account the impact of business operations executed on the same virtual machine.

本発明では、このように、ひとつのマシンで複数の業務が実行される場合や、さらにひとつの業務が複数のマシンにまたがって実行される場合に、業務視点でリソースの割り当てを可能にすることを目的とする。   In the present invention, when a plurality of tasks are executed on one machine or when one task is executed across a plurality of machines, resources can be allocated from a task viewpoint. With the goal.

本発明では、物理的なマシンの中の仮想空間内に、業務を実行するための空間として「業務空間」を定義し、業務空間に対してリソースの割り当てをおこなう。
前述の業務空間内に、当該業務の実行に必要な仮想マシンの複製を配置し、業務空間に割り当てられたリソースを用いてこれらの仮想マシンを動作させる。業務空間に配置された仮想マシンには、当該業務のみを実行させることにより、各業務を実行するマシンを業務空間内に集約し、各業務に対して一定のリソースを割り当てることができる。
In the present invention, a “business space” is defined as a space for executing a business in a virtual space in a physical machine, and resources are allocated to the business space.
A copy of a virtual machine necessary for execution of the business is placed in the business space described above, and these virtual machines are operated using resources allocated to the business space. By causing only virtual machines arranged in the business space to execute the business, the machines that execute the business can be aggregated in the business space, and a certain resource can be allocated to each business.

このとき、各業務空間に割り当てた業務を構成するジョブの実行状況から、業務空間および業務空間内に配置した仮想マシンに対するリソース割り当てを制御する。実際のリソース使用状況ではなく、ジョブの実行状況を利用することで、業務に対して必要なリソース量を正しく把握し、適切なリソースの割り当てをおこなうことができる。   At this time, the resource allocation to the business space and the virtual machine arranged in the business space is controlled from the execution status of the job constituting the business allocated to each business space. By using the job execution status instead of the actual resource usage status, it is possible to correctly grasp the amount of resources required for the business and perform appropriate resource allocation.

本発明によれば、仮想化システムにおいて、ひとつの仮想マシンで複数の業務が実行される場合や、さらにひとつの業務が複数の仮想マシンにまたがって実行される場合に、業務視点でリソースの割り当てをおこなうことができる。   According to the present invention, in a virtualization system, when a plurality of tasks are executed on one virtual machine, or when one task is executed across a plurality of virtual machines, resource allocation is performed from a task viewpoint. Can be done.

実施例1での全体構成を示した説明図Explanatory drawing which showed the whole structure in Example 1. 実施例1の業務空間の詳細を示した説明図Explanatory drawing which showed the detail of the work space of Example 1. 実施例1の記憶部の詳細を示した説明図Explanatory drawing which showed the detail of the memory | storage part of Example 1. FIG. 実施例1におけるジョブの概念図Conceptual diagram of jobs in the first embodiment 実施例1におけるジョブ管理テーブルJob management table in the first embodiment 実施例1における業務別リソース割当管理テーブルResource allocation management table by business in Example 1 実施例1における業務空間管理テーブルBusiness space management table in the first embodiment 実施例1における業務空間リソース割当管理テーブルBusiness space resource allocation management table in the first embodiment 実施例1におけるジョブ実行状況管理テーブルJob execution status management table in the first embodiment 実施例1における業務空間割り当ての流れを示したフローチャートFlow chart showing the flow of business space allocation in the first embodiment 実施例1におけるジョブ実行の流れを示したフローチャートFlowchart showing the flow of job execution in the first embodiment 実施例1におけるリソース割り当ての流れを示したフローチャートFlowchart showing the flow of resource allocation in the first embodiment 実施例1における業務空間への割り当てを示した概念図Conceptual diagram showing assignment to business space in Example 1 実施例1におけるリソース割り当て管理テーブルResource allocation management table in Embodiment 1 実施例1におけるジョブ実行状況およびリソース割り当て状況を表示する画面Screen that displays the job execution status and resource allocation status in Example 1 実施例2における全体構成を示した説明図Explanatory drawing which showed the whole structure in Example 2. 実施例2における管理マネージャの詳細を示した説明図Explanatory drawing which showed the detail of the management manager in Example 2. 実施例2における管理マネージャの記憶部の詳細を示した説明図Explanatory drawing which showed the detail of the memory | storage part of the management manager in Example 2. FIG. 実施例2における管理マネージャ用ジョブ管理テーブルJob management table for management manager in embodiment 2 実施例2における管理マネージャ用業務別リソース割当管理テーブルResource allocation management table for business managers according to the second embodiment 実施例2における管理マネージャ用業務空間管理テーブルBusiness manager management space management table in the second embodiment 実施例2における管理マネージャ用業務空間リソース割当管理テーブルBusiness manager resource allocation management table for management manager in embodiment 2 実施例2における管理マネージャ用ジョブ実行状況管理テーブルManagement manager job execution status management table in the second embodiment 実施例2における管理マネージャ用マシンリソース管理テーブルMachine resource management table for management manager in embodiment 2 実施例2において各業務に業務空間を割り当て、各実行マシンに業務空間を割り当てる流れの概要を示したフローチャートThe flowchart which showed the outline | summary of the flow which allocates a business space to each operation | work in Example 2, and allocates a business space to each execution machine. 実施例2において各業務に業務空間を割り当てる流れを示したフローチャートThe flowchart which showed the flow which allocates work space to each work in Example 2. 実施例2において各実行マシンに業務空間を割り当てる流れを示したフローチャートThe flowchart which showed the flow which allocates business space to each execution machine in Example 2. 実施例2において各実行マシンに対して業務空間の割り当て(更新)をおこなう流れを示したフローチャートThe flowchart which showed the flow which allocates (updates) business space with respect to each execution machine in Example 2. 実施例2においてジョブを実行する際の流れを示したフローチャートThe flowchart which showed the flow at the time of performing a job in Example 2. 実施例2において業務空間にジョブを投入する際の流れを示したフローチャートThe flowchart which showed the flow at the time of submitting a job to work space in Example 2. 実施例2において業務空間の移動をおこなう流れを示したフローチャートThe flowchart which showed the flow which moves work space in Example 2. 実施例2において業務空間の削除をおこなう流れを示したフローチャートThe flowchart which showed the flow which deletes work space in Example 2.

以下、本発明におけるシステムの実施例について、図面を用いて説明する。   Embodiments of the system according to the present invention will be described below with reference to the drawings.

まず、以下で使用する用語について説明する。
ジョブとは、業務やサービスを構成する手順のひとつであり、業務アプリケーションやコマンド、スクリプトの実行などが該当する。ジョブの実行内容を定義したものをジョブ定義といい、ジョブ定義を識別するための識別子をジョブIDという。
First, terms used below will be described.
A job is one of procedures for configuring a business or service, and includes business application, command, script execution, and the like. A job definition that defines job execution content is called a job definition, and an identifier for identifying the job definition is called a job ID.

業務とは、複数のジョブの集合であり、ジョブを実行する契機や、あるジョブの実行後に継続して実行するジョブを定義することにより、一連の手順を実行することができる。この一連の手順の定義を業務定義といい、業務定義を識別するための識別子を業務IDという。   A business is a set of a plurality of jobs, and a series of procedures can be executed by defining a trigger for executing a job or a job that is continuously executed after execution of a certain job. The definition of this series of procedures is called a business definition, and an identifier for identifying the business definition is called a business ID.

仮想マシンとは、仮想化技術により物理的なマシンの中で動作する論理的なマシンであり、独立したOSを持ち、物理的なマシンと同様に動作する。仮想マシンの動作に必要なリソースは、物理的なマシンのリソースを、該物理的なマシンの中で動作する複数の仮想マシンで共有し、各仮想マシンには仮想的なリソースとして割り当てて使用される。このとき、物理的なマシンのリソースをどの仮想マシンにどれだけ割り当てるかを決めることができる。複数の仮想マシンで共有するリソースとして、CPUやメモリがあげられる。   A virtual machine is a logical machine that operates in a physical machine by virtualization technology, has an independent OS, and operates in the same way as a physical machine. The resources required for virtual machine operation are shared by multiple virtual machines operating in the physical machine, and each virtual machine is allocated and used as a virtual resource. The At this time, it is possible to decide how many physical machine resources are allocated to which virtual machine. A resource shared by a plurality of virtual machines includes a CPU and a memory.

また、仮想マシンの複製は、仮想マシンを構成する論理ボリュームを複製することにより容易に作成することができる。   In addition, a virtual machine copy can be easily created by copying a logical volume constituting the virtual machine.

本実施例では、各業務に対して割り当て量の調整をおこなうリソースを、CPUとメモリとし、それぞれ割り当ての比率が同じである場合について説明する。管理対象のリソースを減らすこと、これ以外のリソースについて管理対象として加えること、また業務への割り当て比をリソースごとに決定することも本発明の考え方において可能である。   In the present embodiment, a case will be described in which resources for adjusting the allocation amount for each business are a CPU and a memory, and the allocation ratio is the same. It is also possible in the concept of the present invention to reduce the resources to be managed, add other resources as management targets, and determine the allocation ratio to work for each resource.

また、本実施例では、複数の物理的なマシンに対して本発明を適用する場合に、各実行マシン上でのジョブの実行状況に応じた業務空間および業務空間上で実行される仮想マシンへのリソースの割り当てについては、各実行マシンで制御する方法を説明する。これらの制御を管理マネージャにおいて一括でおこなうことも、本発明の考え方において可能である。   Also, in this embodiment, when the present invention is applied to a plurality of physical machines, a business space corresponding to the execution status of a job on each execution machine and a virtual machine executed on the business space A method of controlling the resource allocation in each execution machine will be described. It is also possible in the concept of the present invention to collectively perform these controls in the management manager.

図1は、本発明の実施例1の全体構成を示した説明図である。物理コンピュータ100に仮想化システムを構成した例を示している。
物理コンピュータ100は、ディスクインタフェース110、通信インタフェース111、CPU112、メモリ113、表示インタフェース114を備える。また、ディスクインタフェース110を通して記憶部101と、通信インタフェース111を通してネットワーク102と、表示インタフェース114を通して表示装置103と接続している。メモリ113には、OS120、ジョブ管理部121、業務空間管理部122、仮想化部123がロードされ、後述する業務空間124、125が確保される。業務空間には、ひとつまたは複数の仮想マシンが割り当てられる。業務空間の詳細については図2、記憶部の詳細については図3で説明する。
FIG. 1 is an explanatory diagram showing the overall configuration of the first embodiment of the present invention. An example in which a virtual system is configured in the physical computer 100 is shown.
The physical computer 100 includes a disk interface 110, a communication interface 111, a CPU 112, a memory 113, and a display interface 114. The storage unit 101 is connected through the disk interface 110, the network 102 is connected through the communication interface 111, and the display device 103 is connected through the display interface 114. The memory 113 is loaded with the OS 120, job management unit 121, business space management unit 122, and virtualization unit 123, and business spaces 124 and 125 described later are secured. One or more virtual machines are assigned to the business space. Details of the business space will be described with reference to FIG. 2, and details of the storage unit will be described with reference to FIG.

ジョブ管理部121は、図3に示すジョブ管理テーブル300、業務別リソース割当管理テーブル301の情報をもとに、業務ごとに業務空間を割り当て、割り当てた業務空間で仮想マシンを稼働させて、当該仮想マシンでジョブを実行し、これらの実行状況を管理する処理部である。これらの処理の詳細については、図10、図11に示している。   Based on the information in the job management table 300 and the business-specific resource allocation management table 301 shown in FIG. 3, the job management unit 121 allocates a business space for each business, operates a virtual machine in the allocated business space, It is a processing unit that executes jobs in a virtual machine and manages the execution status thereof. Details of these processes are shown in FIGS.

業務空間管理部122は、図3に示す業務空間管理テーブル302、業務空間リソース割当管理テーブル303、ジョブ実行状況管理テーブル304の情報をもとに、業務空間、仮想マシンごとのリソースの割り当て管理をおこなう処理部である。この処理の詳細については、図12に示している。   The business space management unit 122 manages resource allocation for each business space and virtual machine based on the information in the business space management table 302, the business space resource allocation management table 303, and the job execution status management table 304 shown in FIG. It is a processing part to perform. Details of this processing are shown in FIG.

図2は、業務空間の詳細な構成を示した説明図である。説明を簡単にするため、仮想マシンは1台としている。
業務空間124は、業務空間で使用するリソースである論理CPU200、論理メモリ201を備え、ひとつまたは複数の仮想マシン130と、ひとつまたは複数の仮想ディスク131が割り当てられる。
FIG. 2 is an explanatory diagram showing a detailed configuration of the business space. In order to simplify the explanation, a single virtual machine is assumed.
The business space 124 includes a logical CPU 200 and a logical memory 201 which are resources used in the business space, and one or a plurality of virtual machines 130 and one or a plurality of virtual disks 131 are allocated thereto.

仮想マシン130は、記憶部101に論理ボリュームとして記録されており、必要に応じてメモリ中にロードすることで仮想マシンとして動作する。仮想マシン130は、論理ディスクインタフェース210、論理通信インタフェース211、論理CPU212、論理メモリ213、論理表示インタフェース214を備える。また、論理ディスクインタフェース210を通して仮想ディスク131と接続している。論理メモリ213には、OS220、ジョブ実行部221、ひとつまたは複数の業務アプリケーション222がロードされる。   The virtual machine 130 is recorded as a logical volume in the storage unit 101, and operates as a virtual machine by loading it into memory as necessary. The virtual machine 130 includes a logical disk interface 210, a logical communication interface 211, a logical CPU 212, a logical memory 213, and a logical display interface 214. Further, it is connected to the virtual disk 131 through the logical disk interface 210. The logical memory 213 is loaded with the OS 220, the job execution unit 221, and one or more business applications 222.

仮想ディスク131は、記憶部101に論理ボリュームとして記録されており、仮想マシン130の論理ディスクインタフェースを通して読み書きされる内容は、記憶部101内の論理ボリュームに反映される。   The virtual disk 131 is recorded as a logical volume in the storage unit 101, and contents read and written through the logical disk interface of the virtual machine 130 are reflected in the logical volume in the storage unit 101.

図3は、記憶部101の詳細な構成を示した説明図である。
記憶部101には、ジョブ管理テーブル300、業務別リソース割当管理テーブル301、業務空間管理テーブル302、業務空間リソース割当管理テーブル303、ジョブ実行状況管理テーブル304、リソース割り当て管理テーブル305が格納される。また、仮想マシンや仮想ディスクの論理ボリュームとして、仮想マシン論理ボリューム310、312、仮想ディスク論理ボリューム311、313が格納される。
FIG. 3 is an explanatory diagram showing a detailed configuration of the storage unit 101.
The storage unit 101 stores a job management table 300, a business-specific resource allocation management table 301, a business space management table 302, a business space resource allocation management table 303, a job execution status management table 304, and a resource allocation management table 305. In addition, virtual machine logical volumes 310 and 312 and virtual disk logical volumes 311 and 313 are stored as logical volumes of virtual machines and virtual disks.

図4は、本実施例で実行される業務と、業務を構成するジョブおよびその実行ホスト、実行順序を表した概念図である。図中の丸はジョブを、矢印はジョブの実行順序を表す。この情報は、図5に示すジョブ管理テーブル300の形式で管理される。   FIG. 4 is a conceptual diagram showing the business executed in the present embodiment, the job constituting the business, its execution host, and the execution order. Circles in the figure represent jobs, and arrows represent job execution order. This information is managed in the form of a job management table 300 shown in FIG.

本実施例では、業務1(410)〜業務4(440)が、ホストA、ホストB、ホストCの3つのホストで実行される。
業務1(410)は、ジョブ1A(411)、ジョブ1B(412)、ジョブ1C(413)で構成され、この順序で実行される。同様に、業務2(420)は、ジョブ2A1(421)、ジョブ2A2(422)、ジョブ2C(423)で、業務3は、ジョブ3A1(431)、ジョブ3A2(432)、ジョブ3C(433)で、業務4(440)は、ジョブ4C(441)で構成される。ジョブ1A(411)、ジョブ2A1(421)、ジョブ2A2(422)は、ホストA上で実行される。同様に、ジョブ1B(412)、ジョブ3B1(431)、ジョブ3B2(432)は、ホストB上で、ジョブ1C(413)、ジョブ2C(423)、ジョブ3C(433)、ジョブ4C(441)は、ホストC上で実行される。
In this embodiment, business 1 (410) to business 4 (440) are executed on three hosts, host A, host B, and host C.
The business 1 (410) includes a job 1A (411), a job 1B (412), and a job 1C (413), which are executed in this order. Similarly, job 2 (420) is job 2A1 (421), job 2A2 (422), job 2C (423), and job 3 is job 3A1 (431), job 3A2 (432), job 3C (433). The business 4 (440) is composed of a job 4C (441). Job 1A (411), job 2A1 (421), and job 2A2 (422) are executed on host A. Similarly, job 1B (412), job 3B1 (431), and job 3B2 (432) are job 1C (413), job 2C (423), job 3C (433), and job 4C (441) on host B. Is executed on the host C.

図5は、ジョブ管理テーブル300の詳細を示したものである。
業務を構成するジョブと、ジョブの実行内容を管理するテーブルで、業務ID500、ジョブID501、各ジョブが実行するコマンドの内容502、ジョブを実行するホスト503、そのジョブを実行した後に実行するジョブのジョブID504、そのジョブを実行する前に実行するジョブのジョブID505の情報を持つ。図5は、図4に示す業務の定義が格納された例を示している。
FIG. 5 shows details of the job management table 300.
A table for managing jobs and job execution contents. A job ID 500, a job ID 501, command contents 502 executed by each job, a host 503 for executing the job, and a job executed after the job is executed. It has job ID 504 and information of job ID 505 of the job to be executed before executing the job. FIG. 5 shows an example in which the business definition shown in FIG. 4 is stored.

図6は、業務別リソース割当管理テーブル301の詳細を示したものである。業務IDごとのリソース割当量を管理するテーブルで、業務ID600、リソース割当比率601の情報を持つ。リソース割当比率601は、即ち業務の優先度を数値化したものにも相当する。またリソース割当比率601は、計算機リソース全体を100%としたときのリソース配分量であるので、業務毎に割当てるべきリソース量そのものを決定している。本実施例では、リソース割当比率601、もしくは当該割当比率から算出された具体的なリソース量を業務リソース量と呼ぶ。また業務リソース量は予めユーザの設定画面を通じて変更することも可能である。   FIG. 6 shows details of the business-specific resource allocation management table 301. This table manages the resource allocation amount for each business ID, and has information on the business ID 600 and the resource allocation ratio 601. The resource allocation ratio 601 corresponds to a numerical value of the business priority. The resource allocation ratio 601 is a resource allocation amount when the entire computer resource is 100%, and therefore determines the resource amount to be allocated for each business. In this embodiment, the resource allocation ratio 601 or a specific resource amount calculated from the allocation ratio is referred to as a business resource amount. The business resource amount can be changed in advance through a user setting screen.

図7は、業務空間管理テーブル302の詳細を示したものである。業務空間に所属する業務と、業務空間を構成するホストを管理するテーブルで、業務ID700、業務空間ID701、構成ホスト702の情報を持つ。業務空間管理テーブル302は、図10に示す手順で作成される。   FIG. 7 shows details of the business space management table 302. A table for managing a business belonging to a business space and a host constituting the business space, and has information of a business ID 700, a business space ID 701, and a configuration host 702. The business space management table 302 is created by the procedure shown in FIG.

図8は、業務空間リソース割当管理テーブル303の詳細を示したものである。業務空間ごとに割り当てる計算機リソースの割当比率を管理するテーブルで、業務空間ID800、リソース割当比率801の情報を持つ。業務空間リソース割当管理テーブル303は、図10に示す手順で作成される。リソース割当比率は、計算機リソース全体を100%とした場合の、業務空間毎に割り当てるべきリソース量である。これにより、業務の優先度に応じた業務空間へのリソース割当を行う。本実施例では、リソース割当比率801、もしくは当該割当比率から算出された具体的なリソース量を空間リソース量と呼ぶ。   FIG. 8 shows details of the business space resource allocation management table 303. This table manages the allocation ratio of computer resources allocated to each business space, and has information on business space ID 800 and resource allocation ratio 801. The business space resource allocation management table 303 is created by the procedure shown in FIG. The resource allocation ratio is a resource amount to be allocated for each business space when the entire computer resource is 100%. Thereby, resources are allocated to the business space according to the business priority. In this embodiment, the resource allocation ratio 801 or a specific resource amount calculated from the allocation ratio is referred to as a spatial resource amount.

図9は、ジョブ実行状況管理テーブル304の詳細を示したものである。
業務空間ごとの実行中のジョブを管理するテーブルで、業務空間ID900、ジョブ実行ID901、ジョブID902、実行ホスト903の情報を持つ。
ジョブ実行状況管理テーブル304は、図11に示す手順で作成される。
FIG. 9 shows details of the job execution status management table 304.
This table manages jobs being executed for each business space, and has information on business space ID 900, job execution ID 901, job ID 902, and execution host 903.
The job execution status management table 304 is created by the procedure shown in FIG.

図10は、ジョブ管理部121が、各業務に業務空間を割り当てる流れを示したフローチャートである。割り当て方法の一例を示しているが、割り当て方法はこの限りではない。   FIG. 10 is a flowchart illustrating a flow in which the job management unit 121 assigns a business space to each business. Although an example of the allocation method is shown, the allocation method is not limited to this.

ジョブ管理部121は、ジョブ管理テーブル300と業務別リソース割当管理テーブル301を参照し、優先度の高い業務から順に業務空間への割り当て処理をおこなう(1000)。まず、業務を割り当てるための業務空間を新たに定義する(1001)。定義した業務空間には、管理のために業務空間IDを割り振る。業務空間の割り当てがおこなわれていない業務のうち、もっとも優先度の高い業務を、1001で定義した業務空間に割り当て、業務空間管理テーブル302を更新する(1002)。業務空間管理テーブル302を参照し、業務空間を構成するために必要なマシンを算出する(1003)。業務空間管理テーブル302と、業務別リソース割当管理テーブル301を参照し、業務空間に対する優先度を算出し、業務空間リソース割当管理テーブル303を更新する(1004)。定義された業務空間が、以下の数1を満たすか検査する(1005)。業務空間の構成に必要な仮想マシンの動作に必要なリソースが、業務空間に割り当てられたリソースに対して十分に小さいかを検査することで、業務空間の割り当てを効率的におこなうことができる。式中の「係数」は、リソースや、物理的なマシンの特性によってあらかじめ決定される。   The job management unit 121 refers to the job management table 300 and the task-specific resource allocation management table 301 and performs allocation processing to the task space in order from the task with the highest priority (1000). First, a new work space for assigning work is defined (1001). A business space ID is allocated to the defined business space for management. Among the tasks that have not been assigned a business space, the business with the highest priority is assigned to the business space defined in 1001, and the business space management table 302 is updated (1002). The business space management table 302 is referred to, and a machine necessary for configuring the business space is calculated (1003). Referring to the business space management table 302 and the business resource allocation management table 301, the priority for the business space is calculated, and the business space resource allocation management table 303 is updated (1004). It is checked whether the defined business space satisfies the following formula 1 (1005). By checking whether the resources necessary for the operation of the virtual machine required for the configuration of the business space are sufficiently small with respect to the resources allocated to the business space, the business space can be allocated efficiently. The “coefficient” in the equation is determined in advance according to resources and physical machine characteristics.

Figure 0005396339

数1を満たす場合、業務空間への業務の割り当てを確定とし、次の業務空間の定義と業務の割り当てのため、1000に戻る(1007)。この場合、1002で割り当てられた業務が、1001で定義した業務空間を占有する。数1を満たさない場合、業務空間の割り当てがおこなわれていない業務のうち次に優先度の高い業務を、1001で定義した業務空間に追加で割り当て、業務空間管理テーブル302を更新した後、1003の手順から繰り返す(1006)。この場合、1001で定義した業務空間は、数1を満たすように複数の業務で共有される。以上の処理を、すべての業務について業務空間が割り当てられるまで繰り返す(1008)。
Figure 0005396339

If Equation 1 is satisfied, the assignment of the work to the work space is confirmed, and the process returns to 1000 for the definition of the next work space and the assignment of the work (1007). In this case, the business assigned in 1002 occupies the business space defined in 1001. If the number 1 is not satisfied, a task having the next highest priority among tasks that have not been assigned a task space is additionally allocated to the task space defined in 1001, and the task space management table 302 is updated, and then 1003 The above procedure is repeated (1006). In this case, the business space defined in 1001 is shared by a plurality of businesses so as to satisfy Equation 1. The above processing is repeated until a business space is assigned for all business operations (1008).

割り当て処理の完了後、ジョブ管理部121は、仮想化部123に対して、業務空間と、必要な仮想マシンの複製を作成するよう通知する(1009)。仮想化部123は、業務空間管理テーブルを参照し、記憶部101に記録されている仮想マシン論理ボリュームと、仮想ディスク論理ボリュームの複製を作成し、業務空間と、必要な仮想マシンをメモリ中に展開する。   After the completion of the assignment process, the job management unit 121 notifies the virtualization unit 123 to create a business space and a necessary virtual machine copy (1009). The virtualization unit 123 refers to the business space management table, creates a copy of the virtual machine logical volume and virtual disk logical volume recorded in the storage unit 101, and stores the business space and the required virtual machine in the memory. expand.

図4に示す業務を、以上の流れにしたがって業務空間に割り当てた例を図13に示す。   FIG. 13 shows an example in which the work shown in FIG. 4 is assigned to the work space according to the above flow.

図11は、ジョブ管理部121が、ジョブを実行する流れを示したフローチャートである。ジョブ管理部121は、まず、ジョブ管理テーブル300から、業務IDおよびジョブの実行ホストを取得する(1100)。業務空間管理テーブル302を参照し、業務IDから、ジョブを実行する業務空間を取得する(1101)。ジョブ管理部121は、1101で取得した業務空間内の実行ホスト上にあるジョブ実行部221に対し、実行するジョブの情報を通知し、業務空間内の仮想マシン上でジョブを実行させる(1102)。   FIG. 11 is a flowchart illustrating a flow in which the job management unit 121 executes a job. First, the job management unit 121 acquires a job ID and a job execution host from the job management table 300 (1100). With reference to the business space management table 302, the business space for executing the job is acquired from the business ID (1101). The job management unit 121 notifies the job execution unit 221 on the execution host in the business space acquired in 1101 of the information of the job to be executed, and causes the job to be executed on the virtual machine in the business space (1102). .

ジョブ管理部121は、ジョブ実行状況管理テーブル304に、実行ジョブのエントリーを追加する(1103)。ジョブ管理部121は、定期的にジョブ実行部221に対し、ジョブの実行状況を確認する(1104)。ジョブの実行が終了していた場合、ジョブ管理部121は、ジョブ実行状況管理テーブル304から、実行ジョブのエントリーを削除する(1105、1107)。ジョブの実行が終了していなかった場合、ジョブ実行状況管理テーブル304の情報を更新し、1004に戻る(1106)。これにより、ジョブ実行状況管理テーブルには、常に実行中のジョブのエントリーのみが記録されることになる。   The job management unit 121 adds an execution job entry to the job execution status management table 304 (1103). The job management unit 121 periodically checks the job execution status with the job execution unit 221 (1104). When the job execution has been completed, the job management unit 121 deletes the entry of the execution job from the job execution status management table 304 (1105, 1107). If the job execution has not ended, the information in the job execution status management table 304 is updated, and the process returns to 1004 (1106). As a result, only the entry of the job being executed is always recorded in the job execution status management table.

ジョブ管理テーブル300を参照し、次ジョブが定義されているか確認する(1108)。次ジョブが定義されている場合、次ジョブIDに指定されているジョブを実行させ、当該ジョブの実行を終了する(1109)。次ジョブが定義されていない場合、そのまま当該ジョブの実行を終了する。   With reference to the job management table 300, it is confirmed whether the next job is defined (1108). If the next job is defined, the job specified by the next job ID is executed, and the execution of the job is terminated (1109). If the next job is not defined, the execution of the job is terminated as it is.

図12は、業務空間管理部122が、各業務空間、各仮想マシンに対してリソースを割り当てる流れを示したフローチャートである。割り当て方法の一例を示しているが、割り当て方法はこの限りではない。   FIG. 12 is a flowchart showing a flow in which the business space management unit 122 allocates resources to each business space and each virtual machine. Although an example of the allocation method is shown, the allocation method is not limited to this.

業務空間管理部122は、すべての業務空間について、順にリソースの割り当て処理をおこなう(1200)。まず、業務空間管理部122は、業務空間リソース割当管理テーブル303から、業務空間への割り当てリソースを取得し、業務空間の論理CPU200、論理メモリ201へ割り当て量を決定する(1201)。業務空間管理部122は、ジョブ実行状況管理テーブル304から、業務空間で実行中のジョブの数を取得する(1202)。業務空間管理部122は、業務空間管理テーブル302から業務空間内のホストを取得し、業務空間内のすべてのホストについて、順にリソースの割り当て処理をおこなう(1203)。業務空間管理部122は、ジョブ実行状況管理テーブル304から、ジョブ実行情報を取得する。例えば、ホストで実行中のジョブの数を取得する(1204)。ホストに割り当てるリソースの量を、以下の数2により決定する(1205)。業務空間に割り当てられたリソースを、実行中のジョブの数に応じてホストに配分することになる。   The business space management unit 122 performs resource allocation processing in order for all business spaces (1200). First, the business space management unit 122 obtains resources allocated to the business space from the business space resource allocation management table 303, and determines the allocation amounts to the logical CPU 200 and the logical memory 201 in the business space (1201). The business space management unit 122 acquires the number of jobs being executed in the business space from the job execution status management table 304 (1202). The business space management unit 122 acquires a host in the business space from the business space management table 302, and sequentially performs resource allocation processing for all the hosts in the business space (1203). The business space management unit 122 acquires job execution information from the job execution status management table 304. For example, the number of jobs being executed on the host is acquired (1204). The amount of resources allocated to the host is determined by the following formula 2 (1205). Resources allocated to the business space are allocated to the hosts according to the number of jobs being executed.

Figure 0005396339

以上の手順で決定したホストごとのリソース割り当て量で、リソース割り当て管理テーブル305を更新する(1206)。これを、業務空間と、各業務空間を構成するホストの数だけ繰り返す(1207、1208)。
Figure 0005396339

The resource allocation management table 305 is updated with the resource allocation amount for each host determined by the above procedure (1206). This is repeated by the number of business spaces and the number of hosts constituting each business space (1207, 1208).

業務空間管理部122は、仮想化部123に対して、リソースの割り当てを要求する(1209)。仮想化部123は、リソース割り当て管理テーブル305の情報にしたがい、仮想ホストへのリソースの割り当てをおこなう。先の図8、図9の例では、業務空間3では、ジョブ実行IDが003、006、007の3個のジョブが実行中であり、各ジョブに対して業務空間3に割り当てられたリソース20%を均等に6.66%ずつ割り当てる。ジョブ実行IDが003のジョブはホストBで、ジョブ実行IDが006、007のジョブはホストCで実行中のため、各ホストに割り当てられるリソースは、ホストBが6.67%、ホストCが13.33%となる。   The business space management unit 122 requests the virtualization unit 123 to allocate resources (1209). The virtualization unit 123 allocates resources to the virtual host according to the information in the resource allocation management table 305. In the example shown in FIGS. 8 and 9, three jobs having job execution IDs 003, 006, and 007 are being executed in the business space 3, and the resource 20 assigned to the business space 3 for each job. % Is evenly allocated by 6.66%. Since the job with the job execution ID 003 is being executed by the host B and the jobs with the job execution IDs 006 and 007 are being executed by the host C, the resources allocated to each host are 6.67% for the host B and 13 for the host C. .33%.

また、例えば業務空間3で実行していた全てのジョブが終了した場合、業務空間3に割当てられている空間リソース量を、現在実行中のジョブを有する他の業務空間に再配分することも可能である。   For example, when all jobs executed in the business space 3 are completed, the amount of space resources allocated to the business space 3 can be redistributed to other business spaces having jobs currently being executed. It is.

Figure 0005396339

業務空間3で実行していた全てのジョブが終了した場合、現在実行中のジョブを有する業務空間は、業務空間1と業務空間2となる。図8の業務空間リソース割当管理テーブル303に定義する業務空間1の50%と業務空間2の30%との割合を維持しながら、再配分すればよい。上述数3に基づいて再配分すると、業務空間1に対して62.5%、業務空間2に対して37.5%を配分する。この再配分された空間リソース量に基づいて、各業務空間で実行中のジョブを稼働するホストに対するリソース量を再計算すればよい。また新たに業務空間3の業務3を稼働させたい場合は、上述のように実行中のジョブの状況を再確認し、業務空間に割当てるべき空間リソース量を上述数3に基づいて再調整することで、実現できる。このように、業務空間に対して割当てるべき空間リソース量を、業務の優先度に応じて適宜調整することで、業務を遂行する仮想マシンに対するリソース量を、他の優先度の高い業務への空間リソース量を配慮し、維持しながら適宜自由に設定することができる。
Figure 0005396339

When all the jobs that have been executed in the business space 3 are completed, the business spaces having the job that is currently being executed are the business space 1 and the business space 2. Redistribution may be performed while maintaining the ratio of 50% of the business space 1 and 30% of the business space 2 defined in the business space resource allocation management table 303 of FIG. When reallocation is performed based on the above equation 3, 62.5% is allocated to the business space 1 and 37.5% is allocated to the business space 2. Based on the redistributed space resource amount, the resource amount for the host operating the job being executed in each business space may be recalculated. In addition, when the business 3 in the business space 3 is newly operated, the status of the job being executed is reconfirmed as described above, and the amount of space resources to be allocated to the business space is readjusted based on the above formula 3. It can be realized. In this way, by appropriately adjusting the amount of space resources that should be allocated to the work space according to the priority of the work, the amount of resources for the virtual machine that performs the work is reduced to the space for other high-priority work. It can be set freely as needed while considering and maintaining the amount of resources.

業務別リソース割当管理テーブル301は、前述した通り、ユーザからの設定画面により変更することも可能であるので、システムを稼働中に業務リソース量を変更した場合は、上述の手順で空間リソース量を再設定し、実行中の仮想マシンに対するリソース量を変更することも可能である。このように、業務空間に割当ら得る空間リソース量は、実行中のジョブの状態に応じて適宜変更することができる。   As described above, the business-specific resource allocation management table 301 can be changed on the setting screen from the user. Therefore, when the business resource amount is changed while the system is operating, the spatial resource amount is determined according to the above procedure. It is possible to reconfigure and change the amount of resources for a running virtual machine. Thus, the amount of space resources that can be allocated to the business space can be changed as appropriate according to the status of the job being executed.

図13は、図4に示す業務を、図10に示す流れにしたがって業務空間に割り当てた例を示す概念図である。業務空間1(1300)で業務1が、業務空間2(1310)で業務2が、業務空間3(1320)で業務3と業務4が実行される。業務空間1(1300)には、業務1の実行に必要な仮想マシンの複製が配置され、それぞれの仮想マシンでは、業務1に関連するジョブ1A(411)、ジョブ1B(412)、ジョブ1C(413)のみが実行される。業務空間2(1310)には、業務2の実行に不要なホストBの仮想マシンの複製は配置されない。業務空間3(1320)に配置されたホストCでは、業務3を構成するジョブ3C(433)、業務4を構成するジョブ4C(441)の両方が実行される。   FIG. 13 is a conceptual diagram showing an example in which the work shown in FIG. 4 is assigned to the work space according to the flow shown in FIG. Business 1 is executed in business space 1 (1300), business 2 is executed in business space 2 (1310), and business 3 and business 4 are executed in business space 3 (1320). In the business space 1 (1300), virtual machine replicas necessary for execution of the business 1 are arranged. In each virtual machine, a job 1A (411), a job 1B (412), a job 1C (related to the business 1) are stored. Only 413) is executed. In the business space 2 (1310), a replica of the virtual machine of the host B that is unnecessary for the execution of the business 2 is not arranged. In the host C arranged in the business space 3 (1320), both the job 3C (433) constituting the business 3 and the job 4C (441) constituting the business 4 are executed.

図14は、リソース割り当て管理テーブル305の詳細を示したものである。
業務空間に配置されているホストと、各ホストへのリソース割り当て状況を管理するテーブルで、業務空間ID1400、ホスト名1401、リソース割り当て量1402の情報を持つ。リソース割り当て管理テーブル305は、図12に示す手順で作成される。
FIG. 14 shows details of the resource allocation management table 305.
It is a table for managing the hosts arranged in the business space and the resource allocation status to each host, and has information on business space ID 1400, host name 1401, and resource allocation amount 1402. The resource allocation management table 305 is created by the procedure shown in FIG.

図15は、業務空間の割り当て状況、ジョブの実行状況およびリソースの割り当て状況を管理者に表示するための画面を示す図である。表示装置103に表示される。   FIG. 15 is a diagram showing a screen for displaying the business space allocation status, job execution status, and resource allocation status to the administrator. It is displayed on the display device 103.

生成された業務空間および各業務空間内に複製されたホストの状況が、それぞれ1500〜1502、1510〜1516で示される。実行中の業務の状況が、1520〜1535で示される。1520〜1535がジョブを表し、1520のように実行中のジョブが色などで識別できるように表示される。これにより、どの業務のどのジョブが、どのホストでいくつ実行中か、視覚的に確認することができる。また、ジョブの実行状況は、1540〜1542の表でも示され、一覧形式でも確認できる。   The generated business space and the status of the host replicated in each business space are indicated by 1500 to 1502 and 1510 to 1516, respectively. The status of the business being executed is indicated by 1520 to 1535. Reference numerals 1520 to 1535 represent jobs, and a job being executed is displayed so that it can be identified by a color or the like, such as 1520. As a result, it is possible to visually confirm how many jobs of which business are being executed on which host. The job execution status is also shown in tables 1540 to 1542 and can be confirmed in a list format.

各仮想ホストへのリソースの割り当て状況は、1510〜1516の中に示され、ジョブの実行状況とあわせて視覚的に確認できる。   The resource allocation status to each virtual host is shown in 1510 to 1516 and can be visually confirmed together with the job execution status.

図16は、本発明を複数の物理的なマシンに適用する場合の実施例2における全体構成を示した説明図である。業務を実行可能な物理コンピュータ100、1610が、コンピュータ資源1600として確保されている。説明を簡単にするため、コンピュータ資源として確保される物理コンピュータを2台としている。物理コンピュータ100、1610の詳細な構成は図1で説明したとおりである。コンピュータ資源として確保された物理コンピュータは、ネットワーク102を通して、管理マネージャと接続されている。管理マネージャの詳細については図17で説明する。   FIG. 16 is an explanatory diagram showing the overall configuration of the second embodiment when the present invention is applied to a plurality of physical machines. Physical computers 100 and 1610 capable of executing business are secured as computer resources 1600. In order to simplify the explanation, two physical computers are secured as computer resources. The detailed configuration of the physical computers 100 and 1610 is as described with reference to FIG. A physical computer secured as a computer resource is connected to the management manager through the network 102. Details of the management manager will be described with reference to FIG.

図17は、本発明を複数の物理的なマシンに適用する場合に、全体の業務空間、ジョブおよびリソースの割り当てを制御する管理マネージャの詳細を示した説明図である。管理マネージャを物理コンピュータ1700に構成した例を示している。   FIG. 17 is an explanatory diagram showing details of a management manager that controls the assignment of the entire business space, jobs, and resources when the present invention is applied to a plurality of physical machines. An example in which the management manager is configured in a physical computer 1700 is shown.

物理コンピュータ1700は、ディスクインタフェース1710、通信インタフェース1711、CPU1712、メモリ1713、表示インタフェース1714を備える。また、ディスクインタフェース1710を通して記憶部1701と、通信インタフェース1711を通してネットワーク102と、表示インタフェース1714を通して表示装置1703と接続している。メモリ1713には、OS1720、管理マネージャ用ジョブ管理部1721、管理マネージャ用実行マシン管理部1722がロードされ、コンピュータ資源として確保されている業務を実行する物理コンピュータ(以下、実行マシンと記載)のジョブおよびリソースの割り当てを制御する。管理マネージャは、実行マシンに対して業務空間の割り当て、当該業務空間に対するリソースの割り当ておよび当該業務空間へのジョブの投入を制御するが、当該実行マシン上でのジョブの実行状況に応じた業務空間および業務空間上で実行される仮想マシンへのリソースの割り当ては、先に示した手順により、各実行マシンでおこなわれる。   The physical computer 1700 includes a disk interface 1710, a communication interface 1711, a CPU 1712, a memory 1713, and a display interface 1714. Further, the storage unit 1701 is connected through the disk interface 1710, the network 102 is connected through the communication interface 1711, and the display device 1703 is connected through the display interface 1714. The memory 1713 is loaded with an OS 1720, a management manager job management unit 1721, and a management manager execution machine management unit 1722, and jobs of a physical computer (hereinafter referred to as an execution machine) that executes a task secured as a computer resource. And control resource allocation. The management manager controls the allocation of the business space to the execution machine, the allocation of resources to the business space, and the submission of jobs to the business space, but the business space according to the job execution status on the execution machine In addition, the allocation of resources to virtual machines executed on the business space is performed on each execution machine according to the procedure described above.

図18は、記憶部1701の詳細を示した説明図である。記憶部1701には、管理マネージャ用ジョブ管理テーブル1800、管理マネージャ用業務別リソース割当管理テーブル1801、管理マネージャ用業務空間管理テーブル1802、管理マネージャ用業務空間リソース割当管理テーブル1803、管理マネージャ用ジョブ実行状況管理テーブル1804、管理マネージャ用マシンリソース管理テーブル1805が格納される。また、仮想マシンや仮想ディスクの論理ボリュームとして、仮想マシン論理ボリューム1810、1812、仮想ディスク論理ボリューム1811、1813が格納される。   FIG. 18 is an explanatory diagram showing details of the storage unit 1701. The storage unit 1701 includes a management manager job management table 1800, a management manager business resource allocation management table 1801, a management manager business space management table 1802, a management manager business space resource allocation management table 1803, and a management manager job execution. A status management table 1804 and a management manager machine resource management table 1805 are stored. Further, virtual machine logical volumes 1810 and 1812 and virtual disk logical volumes 1811 and 1813 are stored as logical volumes of virtual machines and virtual disks.

管理マネージャを用いて複数の実行マシンを制御する場合、実行マシンで定義していたジョブ管理テーブル300、業務別リソース割当管理テーブル301は、管理マネージャのそれぞれ管理マネージャ用ジョブ管理テーブル1800、管理マネージャ用業務別リソース割当管理テーブル1801で定義する。実行マシンのジョブ管理テーブル300、業務空間管理テーブル302、業務空間リソース割当管理テーブル303は管理マネージャから更新される。また、仮想マシンや仮想ディスクの論理ボリュームも、管理マネージャが必要に応じて実行マシンへ転送する。したがって、運用に必要な定義はすべて管理マネージャでおこなう。   When a plurality of execution machines are controlled using the management manager, the job management table 300 and the job-specific resource allocation management table 301 defined on the execution machine are the management manager job management table 1800 and the management manager respectively. This is defined in the business-specific resource allocation management table 1801. The job management table 300, the business space management table 302, and the business space resource allocation management table 303 of the execution machine are updated from the management manager. In addition, the logical volume of the virtual machine or virtual disk is transferred to the execution machine by the management manager as necessary. Therefore, all definitions necessary for operation are performed by the management manager.

図19は、管理マネージャ用ジョブ管理テーブル1800の詳細を示したものである。業務を構成するジョブと、ジョブの実行内容を管理するテーブルで、管理する内容は、図5で示したジョブ管理テーブル300と同じであり、業務ID1900、ジョブID1901、各ジョブが実行するコマンドの内容1902、ジョブを実行するホスト1903、そのジョブを実行した後に実行するジョブのジョブID1904、そのジョブを実行する前に実行するジョブのジョブID1905の情報を持つ。ジョブ管理テーブル300が当該物理コンピュータ上で実行するジョブの情報のみを管理するのに対して、管理マネージャ用ジョブ管理テーブル1800はコンピュータ資源全体で実行するジョブの情報を管理する。本情報は、ユーザの設定画面を通じて事前に定義することが可能で、また、ユーザの設定画面を通じて変更することも可能である。説明を簡単にするため、業務1〜業務6が定義されている例を示している。   FIG. 19 shows details of the management manager job management table 1800. The job management table and the job execution contents are the same as those in the job management table 300 shown in FIG. 5. The job ID 1900, the job ID 1901, and the contents of the command executed by each job. 1902, the host 1903 that executes the job, the job ID 1904 of the job that is executed after the job is executed, and the job ID 1905 of the job that is executed before the job is executed. The job management table 300 manages only information on jobs executed on the physical computer, whereas the management manager job management table 1800 manages information on jobs executed on the entire computer resource. This information can be defined in advance through the user setting screen, and can be changed through the user setting screen. In order to simplify the explanation, an example in which business 1 to business 6 are defined is shown.

図20は、管理マネージャ用業務別リソース割当管理テーブル1801の詳細を示したものである。業務ごとのリソース割当量を管理するテーブルで、業務ID2000、リソース割当量2001、最小多重度2002、最大多重度2003の情報を持つ。リソース割当量2001は、図6で示した業務別リソース割当管理テーブル301のリソース割当比率601が当該実行マシンの持つリソースに対する相対的な比率で表しているのに対し、複数の実行マシンの持つリソース差異に対応するために絶対的なリソース量で表すものである。最小多重度2002は、当該業務を実行するにあたり最低いくつの業務空間を作成するかを定義したものである。また最大多重度2003は、当該業務を実行するにあたり最大いくつの業務空間を作成するかを定義したものである。本情報は、ユーザの設定画面を通じて事前に定義することが可能で、また、ユーザの設定画面を通じて変更することも可能である。   FIG. 20 shows details of the business manager resource allocation management table 1801 for management manager. It is a table for managing the resource allocation amount for each business, and has information of business ID 2000, resource allocation amount 2001, minimum multiplicity 2002, and maximum multiplicity 2003. The resource allocation amount 2001 represents the resource allocation ratio 601 in the business-specific resource allocation management table 301 shown in FIG. 6 as a relative ratio to the resources of the execution machine, whereas the resources of a plurality of execution machines In order to cope with the difference, it is expressed by an absolute resource amount. The minimum multiplicity 2002 defines the minimum number of business spaces to be created when executing the business. The maximum multiplicity 2003 defines how many business spaces are created when executing the business. This information can be defined in advance through the user setting screen, and can be changed through the user setting screen.

図21は、管理マネージャ用業務空間管理テーブル1802の詳細を示したものである。業務空間別に、当該業務空間で実行する業務と、業務空間を構成するホスト、業務空間の実行マシンおよび業務空間の実行に必要なリソース割当量を管理するテーブルで、業務空間ID2100、業務ID2101、構成ホスト2102、実行マシン2103、リソース割当量2104の情報を持つ。管理マネージャ用業務空間管理テーブル1802は、図26および図27に示す手順で作成される。また、図29、図31、図32に示す手順で、それぞれ追加、変更、削除される。   FIG. 21 shows the details of the management manager business space management table 1802. A table for managing a business to be executed in the business space, a host constituting the business space, an execution machine of the business space, and a resource allocation amount necessary for executing the business space, and a business space ID 2100, a business ID 2101, and a configuration. It has information on the host 2102, the execution machine 2103, and the resource allocation amount 2104. The management manager business space management table 1802 is created according to the procedure shown in FIGS. In addition, addition, change, and deletion are performed in the procedures shown in FIGS. 29, 31, and 32, respectively.

図22は、管理マネージャ用業務空間リソース割当管理テーブル1803の詳細を示したものである。実行マシン別に、業務空間ごとのリソースの割当量および業務空間での業務の実行状況から判断した現在必要なリソース量を管理するテーブルで、実行マシン2200、業務空間ID2201、リソース割当量2202、必要リソース量2203の情報を持つ。必要リソース量2203は、業務空間でのジョブの実行状況から判断した、実際に割り当てが必要なリソース量を表す。すなわち、業務空間に対してリソースが割り当てられている場合でも、当該業務空間でジョブが実行されていない場合、当該業務空間に対するリソースの割り当ては不要であり、ジョブの実行状況を加味することで求められる、その時点で実際に必要なリソース量を表している。管理マネージャ用業務空間リソース割当管理テーブル1803は、図27に示す手順で作成される。また、図30および図31に示す手順で変更、図32に示す手順で削除される。   FIG. 22 shows the details of the management manager business space resource allocation management table 1803. A table for managing the resource allocation amount for each execution space and the currently required resource amount determined from the execution status of the operation in the operation space for each execution machine. The execution machine 2200, the operation space ID 2201, the resource allocation amount 2202, and the required resources It has information of amount 2203. The required resource amount 2203 represents the resource amount that actually needs to be allocated, determined from the job execution status in the business space. In other words, even if resources are allocated to the business space, if a job is not executed in the business space, it is not necessary to allocate resources to the business space, and it can be obtained by considering the job execution status. Represents the amount of resources actually required at that time. The management manager business space resource allocation management table 1803 is created according to the procedure shown in FIG. Moreover, it is changed by the procedure shown in FIGS. 30 and 31, and is deleted by the procedure shown in FIG.

図23は、管理マネージャ用ジョブ実行状況管理テーブル1804の詳細を示したものである。業務別に、業務空間ごとの実行中のジョブおよび新規ジョブの投入可否を管理するテーブルで、業務ID2300、業務空間ID2301、ジョブ実行ID2302、ジョブ投入可否2303の情報を持つ。ジョブ投入可否2303は、当該業務空間に新規ジョブの投入が可能かを示し、業務空間の削除をおこなう場合に、新規ジョブの投入を抑止し、業務空間を空けるために使用する。管理マネージャ用ジョブ実行状況管理テーブル1804は、図26に示す手順で作成される。また、図29、図30、図32に示す手順で、それぞれ追加、変更、削除される。   FIG. 23 shows the details of the management manager job execution status management table 1804. It is a table for managing whether or not a job being executed and a new job can be submitted for each business space, and includes information on a business ID 2300, a business space ID 2301, a job execution ID 2302, and a job submission availability 2303. The job submission availability 2303 indicates whether a new job can be submitted to the business space. When deleting the business space, the job submission permission / prohibition 2303 is used to prevent the new job from being submitted and free up the business space. The management manager job execution status management table 1804 is created according to the procedure shown in FIG. In addition, they are added, changed, and deleted by the procedures shown in FIGS. 29, 30, and 32, respectively.

図24は、管理マネージャ用マシンリソース管理テーブル1805の詳細を示したものである。実行マシンごとの保有リソース量と、未割り当てのリソース量および業務空間での業務の実行状況から判断した現在余剰となっているリソース量を管理するテーブルで、実行マシン2400、保有リソース量2401、未割当リソース量2402、余剰リソース量2403の情報を持つ。保有リソース量2401は、当該マシンの持つリソース量を絶対的な値で表したものである。未割当リソース量2402は、業務空間に明示的に割り当てられていないリソース量で、当該マシンに業務空間を追加するときに割り当て可能なリソース量を表す。業務実行時の業務空間の追加判断や、ユーザが業務空間の移動をおこなう際に移動先の決定の参考にするために使用する。余剰リソース量2403は、当該実行マシンの保有リソース量2401から、図22の管理マネージャ用業務空間リソース割当管理テーブル1803で示した必要リソース量2203の当該実行マシン分の総和を減じて求められ、当該マシンで現在実行中の各業務に必要なリソースを割り当てたうえで余剰となるリソース量を表す。なお、実際には、図12に示す手順により、余剰リソースは業務を実行中の業務空間に割り振られ、実行中のジョブで利用される。   FIG. 24 shows details of the management manager machine resource management table 1805. A table that manages the amount of resources held for each execution machine, the amount of unallocated resources, and the amount of resources that are currently surplus determined from the execution status of tasks in the business space. It has information on the allocated resource amount 2402 and the surplus resource amount 2403. The possessed resource amount 2401 represents the resource amount of the machine as an absolute value. The unallocated resource amount 2402 is a resource amount that is not explicitly allocated to the business space, and represents a resource amount that can be allocated when the business space is added to the machine. It is used to determine whether to add a business space when executing a business or to determine the destination when a user moves the business space. The surplus resource amount 2403 is obtained by subtracting the total amount for the execution machine of the required resource amount 2203 shown in the management manager business space resource allocation management table 1803 in FIG. 22 from the resource amount 2401 of the execution machine. Represents the surplus resource amount after allocating the necessary resources for each job currently being executed on the machine. In practice, the surplus resources are allocated to the business space where the business is being executed and are used by the job being executed according to the procedure shown in FIG.

管理マネージャ用マシンリソース管理テーブル1805の情報のうち、実行マシン2400および保有リソース量2401は、コンピュータ資源として確保された実行マシンの情報をもとに、あらかじめユーザにより定義される。未割当リソース量2402、余剰リソース量2403については、図27に示す手順で設定される。また、図30、図31、図32に示す手順で変更される。   Of the information in the management manager machine resource management table 1805, the execution machine 2400 and the owned resource amount 2401 are defined in advance by the user based on the information of the execution machine secured as computer resources. The unallocated resource amount 2402 and the surplus resource amount 2403 are set according to the procedure shown in FIG. Moreover, it changes in the procedure shown in FIG.30, FIG.31, FIG.32.

図25は、管理マネージャが、各業務に業務空間を割り当て、各実行マシンに業務空間を割り当てる流れを示したフローチャートである。割り当て方法の一例を示しているが、割り当て方法はこの限りではない。   FIG. 25 is a flowchart showing a flow in which the management manager allocates a business space to each business and allocates a business space to each execution machine. Although an example of the allocation method is shown, the allocation method is not limited to this.

管理マネージャ用ジョブ管理部1721が、各業務に対して業務空間の割り当てをおこなう(2500)。この処理については、図26で詳細に説明する。次に、管理マネージャ用実行マシン管理部1722が、各業務空間に対して実行マシンの割り当てをおこなう(2501)。この処理については、図27で詳細に説明する。実行マシンに対して業務空間の割り当てが完了した後、すべての実行マシンについて業務空間の更新をおこなう(2502)。各実行マシンに対して必要な管理テーブルや論理ボリュームを転送し、業務空間を追加、削除するよう各実行マシンの仮想化部123に指示する(2503)。この処理については、図28で詳細に説明する。すべての実行マシンについて業務空間の更新が完了するまで2503の処理を繰り返す(2504)。   The management manager job management unit 1721 assigns a business space to each business (2500). This process will be described in detail with reference to FIG. Next, the execution machine management unit 1722 for management manager assigns execution machines to each business space (2501). This process will be described in detail with reference to FIG. After assignment of the business space to the execution machine is completed, the business space is updated for all execution machines (2502). A necessary management table or logical volume is transferred to each execution machine, and the virtualization unit 123 of each execution machine is instructed to add or delete a business space (2503). This process will be described in detail with reference to FIG. The processing of 2503 is repeated until the update of the business space is completed for all execution machines (2504).

図26は、管理マネージャ用ジョブ管理部1721が、各業務に業務空間を割り当てる流れを示したフローチャートである。割り当て方法の一例を示しているが、割り当て方法はこの限りではない。   FIG. 26 is a flowchart illustrating a flow in which the management manager job management unit 1721 allocates a business space to each business. Although an example of the allocation method is shown, the allocation method is not limited to this.

管理マネージャ用ジョブ管理部1721は、管理マネージャ用ジョブ管理テーブル1800と管理マネージャ用業務別リソース割当管理テーブル1801を参照し、業務空間への割り当て処理をおこなう。   The management manager job management unit 1721 refers to the management manager job management table 1800 and the management manager task-specific resource allocation management table 1801 and performs allocation processing to a task space.

最初に、最大多重度が2以上のすべての業務について、業務空間への割り当て処理をおこなう(2600)。最大多重度が2以上の業務については、業務空間の追加、削除がおこなわれるため、当該業務単独で業務空間を割り当てる。まず、業務を割り当てるための業務空間を新たに定義し、業務空間の割り当てがおこなわれていない業務について、定義した業務空間に割り当てる(2601)。このとき、定義した業務空間には、管理のためにユニークになるように業務空間IDを割り振る。2601での割り当て結果にしたがい、業務空間ID、業務IDについて、管理マネージャ用業務空間管理テーブル1802を更新する(2602)。2601での定義および割り当て結果に従い、管理マネージャ用ジョブ実行状況管理テーブル1804に割り当て結果を追加する(2603)。このとき、ジョブ実行IDはなし、ジョブ投入可否は「可」とする。   First, for all tasks having a maximum multiplicity of 2 or more, allocation processing to the task space is performed (2600). For a task having a maximum multiplicity of 2 or more, a task space is added or deleted, and therefore the task space is allocated by the task alone. First, a new work space for assigning work is defined, and work for which work space is not assigned is assigned to the defined work space (2601). At this time, a business space ID is assigned to the defined business space so as to be unique for management. In accordance with the assignment result in 2601, the management manager business space management table 1802 is updated for the business space ID and the business ID (2602). In accordance with the definition and assignment result in 2601, the assignment result is added to the management manager job execution status management table 1804 (2603). At this time, there is no job execution ID, and whether or not a job can be submitted is “enabled”.

次に、業務空間を構成するために必要なマシンを算出する(2604)。管理マネージャ用業務別リソース割当管理テーブル1801を参照し、業務空間に対するリソース割当量を取得する(2605)。構成ホスト、リソース割当量について、業務空間管理マネージャ用業務空間管理テーブル1802を更新する(2606)。最小多重度の数になるよう、業務空間管理マネージャ用業務空間管理テーブル1802業務空間の定義を複製する(2607)。このとき、業務空間IDのみ、ユニークになるよう更新する。以上の処理を、最大多重度が2以上のすべての業務について業務空間が割り当てられるまで繰り返す(2608)。   Next, a machine necessary for configuring the business space is calculated (2604). With reference to the business manager resource allocation management table 1801 for the manager, the resource allocation amount for the business space is acquired (2605). The business space management table for business space management manager 1802 is updated for the configuration host and resource allocation (2606). The business space management table 1802 for the business space management manager is duplicated so that the number of minimum multiplicity is reached (2607). At this time, only the business space ID is updated to be unique. The above processing is repeated until a business space is allocated for all business operations having a maximum multiplicity of 2 or more (2608).

次に、業務空間を未割り当てのすべての業務について、優先度の高い業務から順に業務空間への割り当て処理をおこなう(2609)。本割り当て処理は、図10で示したものとほぼ同じである。まず、業務を割り当てるための業務空間を新たに定義し、業務空間の割り当てがおこなわれていない業務のうち、もっとも優先度の高い業務について、定義した業務空間に割り当てる(2610)。定義した業務空間には、管理のためにユニークになるように業務空間IDを割り振る。構成ホスト、リソース割当量について、管理マネージャ用業務空間管理テーブル1802を更新する(2611)。2610もしくは後述する2616での割り当て結果にしたがい、管理マネージャ用ジョブ実行状況管理テーブル1804に割り当て結果を追加する(2612)。管理マネージャ用業務空間管理テーブル1802を参照し、当該業務空間で実行される業務から、業務空間を構成するために必要なマシンを算出する(2613)。管理マネージャ用業務空間管理テーブル1802と、管理マネージャ用業務別リソース割当管理テーブル1801を参照し、業務空間に対するリソース割当量を算出する(2614)。定義された業務空間が、数1を満たすか検査する(2615)。数1は実施例1と同じ式を用いる。図10の場合と同様に、業務空間の構成に必要な仮想マシンの動作に必要なリソースが、業務空間に割り当てられたリソースに対して十分に小さいかを検査することで、業務空間の割り当てを効率的におこなうことができる。式中の「係数」は、リソースや、コンピュータ資源1600に確保された実行マシンの特性によってあらかじめ決定される。   Next, for all the tasks that have not been assigned a business space, assignment processing to the business space is performed in order from the business with the highest priority (2609). This allocation process is almost the same as that shown in FIG. First, a business space for assigning a business is newly defined, and a business with the highest priority is assigned to the defined business space among business for which business space is not assigned (2610). A business space ID is assigned to the defined business space so as to be unique for management. The management manager business space management table 1802 is updated for the configuration host and resource allocation amount (2611). In accordance with the assignment result in 2610 or 2616 described later, the assignment result is added to the job execution status management table for management manager 1804 (2612). The management manager business space management table 1802 is referred to, and a machine required to configure the business space is calculated from the business executed in the business space (2613). With reference to the management manager business space management table 1802 and the management manager business resource allocation management table 1801, the resource allocation amount for the business space is calculated (2614). It is checked whether the defined business space satisfies Equation 1 (2615). Equation 1 uses the same formula as in the first embodiment. As in the case of FIG. 10, the allocation of the business space is performed by checking whether the resources necessary for the operation of the virtual machine required for the configuration of the business space are sufficiently small with respect to the resources allocated to the business space. Can be done efficiently. The “coefficient” in the formula is determined in advance according to the resource and the characteristics of the execution machine secured in the computer resource 1600.

数1を満たす場合、業務空間への業務の割り当てを確定とし、構成ホスト、リソース割当量について、管理マネージャ用業務空間管理テーブル1802を更新する(2616)。その後、次の業務空間の定義と業務の割り当てのため、2609に戻る(2617)。この場合、2610での割り当て結果が確定し、2610で定義した業務空間を1つの業務が占有する。   When Equation 1 is satisfied, the assignment of the work to the work space is confirmed, and the work space management table for management manager 1802 is updated for the configuration host and the resource allocation amount (2616). After that, the process returns to 2609 to define the next business space and assign the business (2617). In this case, the assignment result in 2610 is confirmed, and one business occupies the business space defined in 2610.

数1を満たさない場合、業務空間の割り当てがおこなわれていない業務のうち次に優先度の高い業務を、2610で定義した業務空間に追加で割り当てた後、2611の手順から繰り返す(2616)。この場合、2610で定義した業務空間は、数1を満たすように複数の業務で共有される。以上の処理を、すべての業務について業務空間が割り当てられるまで繰り返す(2618)。   If the number 1 is not satisfied, a task having the next highest priority among tasks that have not been assigned a task space is additionally allocated to the task space defined in 2610, and then the procedure of 2611 is repeated (2616). In this case, the business space defined in 2610 is shared by a plurality of businesses so as to satisfy Equation 1. The above processing is repeated until a business space is assigned for all business operations (2618).

図27は、管理マネージャ用実行マシン管理部1722が、各実行マシンに業務空間を割り当てる流れを示したフローチャートである。割り当て方法の一例を示しているが、割り当て方法はこの限りではない。   FIG. 27 is a flowchart illustrating a flow in which the management manager execution machine management unit 1722 allocates a business space to each execution machine. Although an example of the allocation method is shown, the allocation method is not limited to this.

管理マネージャ用実行マシン管理部1722は、管理マネージャ用業務空間管理テーブル1802と管理マネージャ用業務空間リソース割当管理テーブル1803を参照し、業務空間の割り当て処理をおこなう。実行マシンを未割当のすべての業務空間について、リソース割当量の多いものから順に実行マシンへの割り当て処理をおこなう(2700)。まず、業務空間を割り当てる実行マシンを決定するため、実行マシンのうち、未割り当てのリソースがもっとも多いものを検索する(2701)。検索された実行マシン上で、同一業務を実行する他の業務空間が割り当てられていないことを確認する(2702)。もし、検索された実行マシン上で、同一業務を実行する他の業務空間がすでに割り当て済みの場合、実行マシンのうち、未割り当てのリソースが次に多いものを検索し、2702に戻って再度評価をおこなう(2703)。2702の評価で、検索された実行マシン上で、同一業務を実行する他の業務空間が割り当てられていないことが確認された場合、当該実行マシンに業務空間の割り当てをおこなう(2704)。   The management manager execution machine management unit 1722 refers to the management manager business space management table 1802 and the management manager business space resource allocation management table 1803 and performs business space allocation processing. For all business spaces to which no execution machine is allocated, allocation processing to the execution machines is performed in descending order of resource allocation (2700). First, in order to determine the execution machine to which the business space is allocated, the execution machine having the largest number of unallocated resources is searched (2701). On the retrieved execution machine, it is confirmed that no other business space for executing the same business is assigned (2702). If another business space that executes the same business has already been allocated on the searched execution machine, a search is made for the next largest unallocated resource among the execution machines, and the evaluation is returned to 2702 and evaluated again. (2703). If it is confirmed in the evaluation of 2702 that no other business space for executing the same business is allocated on the searched execution machine, the business space is allocated to the execution machine (2704).

決定した割り当てにしたがい、実行マシンについて、管理マネージャ用業務空間管理テーブル1802を更新する(2705)。実行マシン、業務空間ID、リソース割当量、必要リソース量について、管理マネージャ用業務空間リソース割当管理テーブル1803を更新する。ここで、新規に追加する業務空間については、必要リソース量は0とする(2706)。未割当リソース量、余剰リソース量について、管理マネージャ用マシンリソース管理テーブル1805を更新する。余剰リソース量は、保有リソース量から、当該実行マシンの必要リソース量を引いたもので求められ、ここでは余剰リソース量と同じとする(2707)。
以上の処理を、すべての業務空間について実行マシンが割り当てられるまで繰り返す(2708)。
According to the determined allocation, the management manager business space management table 1802 is updated for the execution machine (2705). The management manager business space resource allocation management table 1803 is updated for the execution machine, business space ID, resource allocation amount, and required resource amount. Here, for the business space to be newly added, the required resource amount is set to 0 (2706). The management manager machine resource management table 1805 is updated for the unallocated resource amount and the surplus resource amount. The surplus resource amount is obtained by subtracting the necessary resource amount of the execution machine from the retained resource amount, and is assumed to be the same as the surplus resource amount (2707).
The above processing is repeated until execution machines are assigned to all the business spaces (2708).

図28は、管理マネージャ用実行マシン管理部1722が、各実行マシンに対して業務空間の割り当て(更新)をおこなう流れを示したフローチャートである。割り当て方法の一例を示しているが、割り当て方法はこの限りではない。   FIG. 28 is a flowchart showing a flow in which the management manager execution machine management unit 1722 assigns (updates) a business space to each execution machine. Although an example of the allocation method is shown, the allocation method is not limited to this.

管理マネージャ用実行マシン管理部1722が、実行マシンのジョブ管理テーブル300の内容を更新する(2800)。当該実行マシンで実行する業務のジョブ定義については、管理マネージャから実行マシンに転送し、更新を反映する。当該実行マシンで実行しない業務のジョブ定義がジョブ管理テーブル300にある場合は、当該ジョブ定義を削除する。   The management machine execution machine management unit 1722 updates the contents of the job management table 300 of the execution machine (2800). The job definition of the job executed on the execution machine is transferred from the management manager to the execution machine, and the update is reflected. If the job management table 300 has a job definition for a job that is not executed on the execution machine, the job definition is deleted.

管理マネージャ用実行マシン管理部1722が、実行マシンの業務空間管理テーブル302の内容を更新する(2801)。当該マシンで実行する業務空間について、管理マネージャ用業務空間管理テーブル1802から、業務空間ID、業務ID、構成ホストの情報を、実行マシンの業務空間管理テーブル302に転送し、更新を反映する。当該実行マシンで実行しない業務空間の定義が業務空間管理テーブル302にある場合は、当該定義を削除する。   The management machine execution machine management unit 1722 updates the contents of the business space management table 302 of the execution machine (2801). For the business space executed on the machine, the business space ID, the business ID, and the configuration host information are transferred from the management manager business space management table 1802 to the business space management table 302 of the execution machine, and the update is reflected. If the business space management table 302 has a business space definition that is not executed on the execution machine, the definition is deleted.

管理マネージャ用実行マシン管理部1722が、実行マシンの業務空間リソース割当管理テーブル303の内容を更新する(2802)。当該マシンで実行する業務空間について、管理マネージャ用リソース割当管理テーブル1801および管理マネージャ用マシンリソース管理テーブル1805から、実行マシンでの優先度を計算し、業務空間リソース割当管理テーブル303のリソース割り当て比とする。当該実行マシンで実行しない業務空間の定義が業務空間リソース割当管理テーブル303にある場合は、当該定義を削除する。   The execution machine management unit 1722 for management manager updates the contents of the business space resource allocation management table 303 of the execution machine (2802). For the business space executed on the machine, the priority on the execution machine is calculated from the management manager resource allocation management table 1801 and the management manager machine resource management table 1805, and the resource allocation ratio in the business space resource allocation management table 303 is calculated. To do. If the business space definition that is not executed on the execution machine is in the business space resource allocation management table 303, the definition is deleted.

次に、当該実行マシンで削除する業務空間があるか評価する(2803)。削除すべき業務空間がない場合、次の処理2805に進む。削除すべき業務空間がある場合、実行マシンの仮想化部123に、当該業務空間を削除するよう指示をおこなった後、次の処理2805に進む(2804)。   Next, it is evaluated whether there is a business space to be deleted on the execution machine (2803). If there is no business space to be deleted, the process proceeds to the next process 2805. If there is a business space to be deleted, the virtual machine 123 of the execution machine is instructed to delete the business space, and the process proceeds to the next process 2805 (2804).

実行マシンで使用する仮想マシン論理ボリュームについて、不足しているものを管理マネージャから実行マシンへ転送する。当該実行マシンで実行しない仮想マシンの論理ボリュームがある場合は、当該仮想マシン論理ボリュームを削除する(2805)。   Transfer the missing virtual machine logical volumes used on the execution machine from the management manager to the execution machine. If there is a logical volume of a virtual machine that is not executed by the execution machine, the virtual machine logical volume is deleted (2805).

実行マシンで使用する仮想ディスク論理ボリュームについて、不足しているものを管理マネージャから実行マシンへ転送する。当該実行マシンで実行しない仮想マシンの仮想ディスク論理ボリュームがある場合は、当該仮想ディスク論理ボリュームを削除する(2806)。   Transfer the missing virtual disk logical volumes used on the execution machine from the management manager to the execution machine. If there is a virtual disk logical volume of a virtual machine that is not executed by the execution machine, the virtual disk logical volume is deleted (2806).

次に、当該実行マシンで追加する業務空間があるか評価する(2807)。追加すべき業務空間がない場合、業務空間の更新処理が完了する。追加すべき業務空間がある場合、実行マシンの仮想化部123に、当該業務空間を追加するよう指示をおこなった後、業務空間の更新処理が完了する(2808)。   Next, it is evaluated whether there is a business space to be added on the execution machine (2807). If there is no business space to be added, the business space update processing is completed. If there is a business space to be added, the virtual machine 123 of the execution machine is instructed to add the business space, and the business space update processing is completed (2808).

図29は、管理マネージャ用ジョブ管理部1721が、ジョブを実行する際の流れを示したフローチャートである。ジョブの実行方法の一例を示しているが、実行方法はこの限りではない。   FIG. 29 is a flowchart showing a flow when the management manager job management unit 1721 executes a job. Although an example of a job execution method is shown, the execution method is not limited to this.

管理マネージャ用ジョブ管理部1721は、管理マネージャ用リソース割当管理テーブル1801、管理マネージャ用ジョブ実行状況管理テーブル1804を参照し、当該業務についてすでに最大多重度の業務空間を割り当てているかを評価する(2900)。   The management manager job management unit 1721 refers to the management manager resource allocation management table 1801 and the management manager job execution status management table 1804, and evaluates whether the business space of the maximum multiplicity has already been allocated for the business (2900). ).

当該業務についてすでに最大多重度の業務空間を割り当てている場合、管理マネージャ用ジョブ実行状況管理テーブル1804を参照し、当該業務用の業務空間でジョブ投入可否が「可」の業務空間のうち、実行中のジョブ数がもっとも少ない業務空間を検索する(2901)。2901で検索された業務空間を、ジョブ投入対象の業務空間として決定する(2902)。   If the business space with the maximum multiplicity has already been assigned for the business, refer to the job execution status management table for management manager 1804, and execute the job in the business space for which the job submission is possible. The business space with the smallest number of jobs is searched (2901). The business space searched in 2901 is determined as the business space to be submitted (2902).

当該業務についてまだ最大多重度の業務空間を割り当てていない場合、管理マネージャ用マシンリソース管理テーブル1805を参照し、実行マシンのうち未割り当てのリソース量がもっとも多いものを検索する(2903)。2903で検索された実行マシンに対し、新たに業務空間を割り当て可能か検査する(2904)。割り当て不可の場合、2901からの処理を実行する。割り当て可能な場合、2903で検索された実行マシン上で、同一業務を実行する他の業務空間が割り当てられていないことを確認する(2905)。もし、検索された実行マシン上で、同一業務を実行する他の業務空間がすでに割り当て済みの場合、実行マシンのうち、未割り当てのリソースが次に多いものを検索し、2904に戻って再度評価をおこなう(2906)。2905の評価で、検索された実行マシン上で、同一業務を実行する他の業務空間が割り当てられていないことが確認された場合、当該実行マシンに業務空間の割り当てをおこなう(2907)。
割り当てにしたがい、業務空間ID、業務ID、構成ホスト、リソース割当量について、管理マネージャ用業務空間管理テーブル1802を更新する(2908)。
When the business space of the maximum multiplicity has not been allocated for the business, the management manager machine resource management table 1805 is referred to and the execution machine having the largest amount of unallocated resources is searched (2903). It is checked whether a new business space can be allocated to the execution machine searched in 2903 (2904). When assignment is impossible, the processing from 2901 is executed. If allocation is possible, it is confirmed that no other business space for executing the same business is allocated on the execution machine searched in 2903 (2905). If another business space that executes the same business has already been allocated on the execution machine that has been searched, the next execution machine that has the next highest number of unallocated resources is searched, and the evaluation returns to 2904 for evaluation again. (2906). If it is confirmed in the evaluation of 2905 that no other business space for executing the same business is assigned on the searched execution machine, the business space is assigned to the execution machine (2907).
In accordance with the allocation, the management manager business space management table 1802 is updated for the business space ID, business ID, configuration host, and resource allocation amount (2908).

当該業務について業務空間を追加するよう、管理マネージャ用ジョブ実行状況管理テーブル1804を更新する(2909)。
追加した定義にしたがい、実行マシンに対して必要な管理テーブルや論理ボリュームを転送し、業務空間を追加するよう実行マシンの仮想化部123に指示する(2910)。この処理については、図28で詳細に説明した。業務空間の作成が完了したら、作成した業務空間をジョブ投入対象の業務空間として決定する(2911)。ジョブ投入対象として2902で決定された既存の業務空間または2911で決定された新規に作成した業務空間に対して、ジョブの投入をおこなう(2912)。この処理については、図30で詳細に説明する。
The management manager job execution status management table 1804 is updated so as to add a business space for the business (2909).
In accordance with the added definition, necessary management tables and logical volumes are transferred to the execution machine, and the virtualization unit 123 of the execution machine is instructed to add a business space (2910). This process has been described in detail with reference to FIG. When the creation of the business space is completed, the created business space is determined as the job submission target business space (2911). A job is submitted to an existing business space determined in 2902 as a job input target or a newly created business space determined in 2911 (2912). This process will be described in detail with reference to FIG.

図30は、管理マネージャ用ジョブ管理部1721が、業務空間にジョブを投入する際の流れを示したフローチャートである。
管理マネージャ用ジョブ管理部1721は、投入するジョブを識別するためのユニークなジョブ実行IDを採番し、ジョブ実行IDについて、管理マネージャ用ジョブ実行状況管理テーブル1804を更新する(3000)。
ジョブの実行状態から、必要リソース量について、管理マネージャ用業務空間リソース割当管理テーブル1803を更新する(3001)。更新後の必要リソース量は、業務空間内で実行されている業務ごとのリソース割当量の総和になる。
3001で計算された必要リソース量から、管理マネージャ用マシンリソース管理テーブル1805の余剰リソース量を更新する(3002)。実行マシンのジョブ管理部に対して、当該ジョブの実行を指示する(3003)。この際、ジョブ実行IDも通知し、管理マネージャと実行マシンで同一のジョブ実行IDで管理する。その後、実行マシンでのジョブの実行状況を監視する(3004)。一連のジョブが終了するまで、監視を継続する(3005)。一連のジョブが終了したら、ジョブ実行IDについて、管理マネージャ用ジョブ実行状況管理テーブル1804から削除する(3006)。ジョブの実行状態から、必要リソース量について、管理マネージャ用業務空間リソース割当管理テーブル1803を更新する(3007)。更新後の必要リソース量は、業務空間内で実行されている業務ごとのリソース割当量の総和になる。3007で計算された必要リソース量から、管理マネージャ用マシンリソース管理テーブル1805の余剰リソース量を更新する(3008)。
FIG. 30 is a flowchart showing a flow when the management manager job management unit 1721 submits a job to the business space.
The management manager job management unit 1721 assigns a unique job execution ID for identifying a job to be submitted, and updates the management manager job execution status management table 1804 for the job execution ID (3000).
From the job execution status, the management manager business space resource allocation management table 1803 is updated for the required resource amount (3001). The required resource amount after the update is the sum of the resource allocation amounts for each business being executed in the business space.
The surplus resource amount in the management manager machine resource management table 1805 is updated from the required resource amount calculated in 3001 (3002). The job management unit of the execution machine is instructed to execute the job (3003). At this time, the job execution ID is also notified, and the management manager and the execution machine manage with the same job execution ID. Thereafter, the execution status of the job on the execution machine is monitored (3004). Monitoring is continued until a series of jobs are completed (3005). When the series of jobs is completed, the job execution ID is deleted from the management manager job execution status management table 1804 (3006). From the job execution status, the management manager business space resource allocation management table 1803 is updated for the required resource amount (3007). The required resource amount after the update is the sum of the resource allocation amounts for each business being executed in the business space. The surplus resource amount in the management manager machine resource management table 1805 is updated from the required resource amount calculated in 3007 (3008).

図31は、管理マネージャ用実行マシン管理部1722が、業務空間を実行するマシンの移動をおこなう流れを示したフローチャートである。移動の方法の一例を示しているが、移動の方法はこの限りではない。   FIG. 31 is a flowchart illustrating a flow in which the management manager execution machine management unit 1722 moves a machine that executes a business space. Although an example of the moving method is shown, the moving method is not limited to this.

まず、管理マネージャ用実行マシン管理部1722が、管理マネージャ用業務空間管理テーブル1802および管理マネージャ用マシンリソース管理テーブル1805を参照し、移動先マシンの未割当リソース量が十分か確認をおこなう(3100)。未割当リソースが十分でない場合、移動処理はおこなわない。未割当リソースが十分ある場合、移動元マシンで、移動対象の業務空間を停止させるため、移動元マシンの仮想化部123に、業務空間の停止を指示する(3101)。移動対象業務空間で使用するジョブ管理テーブル300の内容を、移動元マシンから、移動先マシンへ転送する(3102)。移動対象業務空間で使用する業務空間管理テーブル302の内容を、移動元マシンから、移動先マシンへ転送する(3103)。移動元マシンの業務空間リソース割当管理テーブル303から、移動対象業務空間の情報を削除する(3104)。移動先マシンの業務空間リソース割当管理テーブル303に、移動対象業務空間の情報を追加する(3105)。このとき、管理マネージャ用リソース割当管理テーブル1801および管理マネージャ用マシンリソース管理テーブル1805から、移動先マシンでの優先度を計算し、業務空間リソース割当管理テーブル303のリソース割り当て比とする。移動対象業務空間で使用するジョブ実行状況管理テーブル304の内容を、移動元マシンから、移動先マシンへ転送する(3106)。移動対象業務空間で使用する仮想マシン論理ボリュームを、移動元マシンから、移動先マシンへ転送する(3107)。移動対象業務空間で使用する仮想ディスク論理ボリュームを、移動元マシンから、移動先マシンへ転送する(3108)。業務空間の移動結果にしたがって、実行マシンについて、管理マネージャ用業務空間管理テーブル1802を更新する(3109)。   First, the management manager execution machine management unit 1722 refers to the management manager work space management table 1802 and the management manager machine resource management table 1805 to check whether the unallocated resource amount of the migration destination machine is sufficient (3100). . If there are not enough unallocated resources, the migration process is not performed. If there are enough unallocated resources, the migration source machine is instructed to stop the business space to the virtualization unit 123 of the migration source machine in order to stop the migration target business space (3101). The contents of the job management table 300 used in the migration target business space are transferred from the migration source machine to the migration destination machine (3102). The contents of the work space management table 302 used in the move target work space are transferred from the move source machine to the move destination machine (3103). The information on the migration target business space is deleted from the business space resource allocation management table 303 of the migration source machine (3104). Information of the migration target business space is added to the business space resource allocation management table 303 of the migration destination machine (3105). At this time, the priority at the migration destination machine is calculated from the management manager resource allocation management table 1801 and the management manager machine resource management table 1805, and is set as the resource allocation ratio of the business space resource allocation management table 303. The contents of the job execution status management table 304 used in the migration target business space are transferred from the migration source machine to the migration destination machine (3106). The virtual machine logical volume used in the migration target business space is transferred from the migration source machine to the migration destination machine (3107). The virtual disk logical volume used in the migration target business space is transferred from the migration source machine to the migration destination machine (3108). In accordance with the result of the business space movement, the management manager business space management table 1802 is updated for the execution machine (3109).

業務空間の移動結果にしたがって、業務空間ID、リソース割当量、必要リソース量について、管理マネージャ用業務空間リソース割当管理テーブル1803を更新する(3110)。移動元マシンから当該業務空間の情報を削除し、移動先マシンに当該業務空間の情報を追加する。移動前後で、リソース割当量、必要リソース量は、変化しない。3110で変更された業務空間の割り当てから、移動元マシン、移動先マシンそれぞれについて、管理マネージャ用マシンリソース管理テーブル1805の余剰リソース量を更新する(3111)。移動先マシンで、移動対象の業務空間を再開させる。移動先マシンの仮想化部123に、業務空間の再開を指示する(3112)。   In accordance with the result of the business space movement, the management manager business space resource allocation management table 1803 is updated for the business space ID, resource allocation amount, and required resource amount (3110). Delete the business space information from the source machine and add the business space information to the destination machine. The resource allocation amount and required resource amount do not change before and after movement. The surplus resource amount in the management manager machine resource management table 1805 is updated for each of the migration source machine and the migration destination machine from the assignment of the business space changed in 3110 (3111). Resume the work space to be moved on the destination machine. The virtual machine 123 of the destination machine is instructed to resume the business space (3112).

図32は、管理マネージャ用ジョブ管理部1721が、業務空間の削除をおこなう流れを示したフローチャートである。業務空間の削除の方法の一例を示しているが、削除の方法はこの限りではない。   FIG. 32 is a flowchart showing a flow in which the management manager job management unit 1721 deletes a business space. An example of a method of deleting a business space is shown, but the method of deleting is not limited to this.

管理マネージャ用ジョブ管理部1721が、まず、当該業務空間について、管理マネージャ用ジョブ実行状況管理テーブル1804のジョブ投入可否を「不可」に更新する(3200)。業務空間の使用状況を確認する。管理マネージャ用ジョブ実行状況管理テーブル1804を確認し、当該業務空間で実行中のジョブ実行IDを監視する(3201)。ジョブ実行IDがある場合、当該業務空間でジョブが実行中のため、3201に戻ってジョブの実行完了を待つ(3202)。ジョブ実行IDがない場合、業務空間の削除をおこなう。まず、管理マネージャ用業務空間管理テーブル1802から当該業務空間の情報を削除する(3203)。管理マネージャ用業務空間リソース割当管理テーブル1803から当該業務空間の情報を削除する(3204)。当該業務空間を実行していた実行ホストについて、管理マネージャ用マシンリソース管理テーブル1805の未割当リソース量、余剰リソース量を更新する(2305)。余剰リソース量は、保有リソース量から、当該実行マシンの必要リソース量を引いたもので求められる。管理マネージャ用ジョブ実行状況管理テーブル1804から当該業務空間の情報を削除する(3206)。更新した定義にしたがい、業務空間を削除するよう実行マシンの仮想化部123に指示する(3207)。この処理については、図28で詳細に説明した。   First, the management manager job management unit 1721 updates the job submission availability in the management manager job execution status management table 1804 to “impossible” for the business space (3200). Check the usage status of the business space. The management manager job execution status management table 1804 is checked, and the job execution ID being executed in the business space is monitored (3201). If there is a job execution ID, since the job is being executed in the business space, the process returns to 3201 and waits for completion of the job (3202). If there is no job execution ID, the business space is deleted. First, information on the business space is deleted from the business space management table for management manager 1802 (3203). The business space information is deleted from the management manager business space resource allocation management table 1803 (3204). For the execution host that was executing the business space, the unallocated resource amount and the surplus resource amount in the management manager machine resource management table 1805 are updated (2305). The surplus resource amount is obtained by subtracting the necessary resource amount of the execution machine from the retained resource amount. The business space information is deleted from the management manager job execution status management table 1804 (3206). In accordance with the updated definition, the virtual machine 123 of the execution machine is instructed to delete the business space (3207). This process has been described in detail with reference to FIG.

以上から、各業務空間に対してリソースを一旦割当て、当該割当てられたリソースの範囲で仮想マシンを稼働させてジョブを実行するので、別の業務を遂行するためにリソースを割当てる場合においても、実行中のジョブに直接影響しない。また、別業務の業務空間に対するリソースの割当ては、業務の優先度に応じてなされるので、例えば重要なジョブを実行している最中に、別業務の実行を開始しなければならない場合にも、重要なジョブへ影響を及ぼさない。   From the above, once a resource is allocated to each business space, a virtual machine is operated within the allocated resource range and the job is executed. Therefore, even when a resource is allocated to perform another job, it is executed. There is no direct impact on the jobs inside. In addition, resources are allocated to the business space of another business according to the priority of the business. For example, even when an important job is being executed, the execution of another business must be started. Does not affect important jobs.

また、業務を実行する業務空間を定義することにより、図6で示すように業務毎にリソースを割当てることができる。これは、複数かつ複雑な業務を遂行する業務システムにおいて、実行状態を事前に加味する必要がない点で有効である。例えば、稼働中の業務システムにおいて、新たな業務を加えたい場合にも、図6で示すリソース割当比率を、その業務の優先度に応じて設定し、他の業務に対するリソース比率を変更することが可能となる。   Also, by defining a business space for executing business, resources can be allocated for each business as shown in FIG. This is effective in that it is not necessary to consider the execution state in advance in a business system that performs a plurality of complicated tasks. For example, in a working business system, even when a new business is to be added, the resource allocation ratio shown in FIG. 6 can be set according to the priority of the business and the resource ratio for other business can be changed. It becomes possible.

また先の実施例では、業務の実行を開始する以前に予め定義する点を説明したが、これを業務の実行を開始するときに業務リソース量を変更することも可能である。業務に対するリソース割当ての量(業務リソース量)は一旦業務空間へのリソース割当て量(空間リソース量)に変換するので、その結果を用いて実行中の仮想マシンに割当てられたリソースを変更すればよい。これにより、業務の実行状態に合わせて計算機全体のリソース配分を調整することができる。   In the previous embodiment, the points defined in advance before starting the execution of the business have been described. However, it is also possible to change the amount of business resources when starting the execution of the business. Since the amount of resource allocation for business (business resource amount) is once converted into the resource allocation amount (spatial resource amount) to the business space, the resource allocated to the running virtual machine can be changed using the result . Thereby, it is possible to adjust the resource allocation of the entire computer in accordance with the execution state of the business.

このように、複雑なジョブを構成する業務を遂行する業務システムにおいては、同時に複数の業務を並行して実施する中で、業務の優先度に応じた適切なリソース割当を実施しなければならない。本発明のように、業務と仮想マシンとの間に「業務空間」を定義することで、業務に対して適切なリソースの割当を行うことができ、業務実行時に適切に割り当てられたリソースに基づいて仮想マシンを実行することができるようになる。   As described above, in a business system that performs a task that constitutes a complex job, it is necessary to perform appropriate resource allocation according to the priority of the task while simultaneously performing a plurality of tasks. As in the present invention, by defining a “business space” between a business and a virtual machine, it is possible to assign an appropriate resource to the business, and based on the resource appropriately allocated at the time of business execution You will be able to run virtual machines.

複数の実行マシンを利用する場合も、業務空間を定義することで、業務に対して割り当てたリソースに基づいて業務空間が適切な実行マシンに確保され、業務空間に対して割り当てられたリソースに基づいて仮想マシンが実行される。各実行マシンへの業務空間の割り当て状況から未割当リソース量が、各業務空間でのジョブの実行状況から余剰リソース量が算出される。ユーザは、業務の実行計画と、それらの情報を利用して、特定の業務を実行する業務空間について、未割当リソース量や余剰リソース量の多い実行マシンに移動することができる。   Even when multiple execution machines are used, by defining the business space, the business space is secured on the appropriate execution machine based on the resources allocated to the business, and based on the resources allocated to the business space. The virtual machine is executed. The unallocated resource amount is calculated from the assignment status of the business space to each execution machine, and the surplus resource amount is calculated from the job execution status in each business space. Using the business execution plan and the information, the user can move a business space for executing a specific business to an execution machine with a large amount of unallocated resources and surplus resources.

なお、先の実施例では、業務空間を、リソースを持つ論理的な空間として説明したが、単に複数の仮想マシンをグループ化してリソースの割り当て量を算出するための論理的な単位として考えることも可能である。この場合も、業務空間および業務空間内の各仮想マシンでのジョブの実行状況をもとに、まず業務空間に対するリソース割り当て量を算出した後、業務空間内での各仮想マシンへのリソースの割り当てをおこなう点は同様である。   In the previous embodiment, the business space has been described as a logical space having resources. However, it may be considered as a logical unit for simply calculating a resource allocation amount by grouping a plurality of virtual machines. Is possible. In this case as well, after calculating the resource allocation amount for the business space based on the business space and the job execution status of each virtual machine in the business space, the resource allocation to each virtual machine in the business space The point to perform is the same.

100、1610 物理コンピュータ
101、1611 記憶部
102 ネットワーク
103 表示装置
110 物理コンピュータのディスクインタフェース
111 物理コンピュータの通信インタフェース
112 物理コンピュータのCPU
113 物理コンピュータのメモリ
114 物理コンピュータの表示インタフェース
120 ホストOS
121 ジョブ管理部
122 業務空間管理部
123 仮想化部
124、125 仮想化部123により管理される業務空間
130、132 仮想化部123により管理される仮想マシン
131、133 仮想化部123により管理される仮想ディスク
200 業務空間に割り当てられた論理CPU
201 業務空間に割り当てられた論理メモリ
210 仮想マシンの論理ディスクインタフェース
211 仮想マシンの論理通信インタフェース
212 仮想マシンの論理CPU
213 仮想マシンの論理メモリ
214 仮想マシンの論理表示インタフェース
220 仮想マシン上のゲストOS
221 仮想マシン上のジョブ実行部
222 仮想マシン上の業務アプリケーション
300 ジョブ管理テーブル
301 業務別リソース割当管理テーブル
302 業務空間管理テーブル
303 業務空間リソース割当管理テーブル
304 ジョブ実行状況管理テーブル
305 リソース割り当て管理テーブル
310、312 仮想マシンの論理ボリューム
311、313 仮想ディスクの論理ボリューム
1600 コンピュータ資源
1700 物理コンピュータ
1701 記憶部
1703 表示装置
1710 物理コンピュータのディスクインタフェース
1711 物理コンピュータの通信インタフェース
1712 物理コンピュータのCPU
1713 物理コンピュータのメモリ
1714 物理コンピュータの表示インタフェース
1720 OS
1721 管理マネージャ用ジョブ管理部
1722 管理マネージャ用実行マシン管理部
1800 管理マネージャ用ジョブ管理テーブル
1801 管理マネージャ用業務別リソース割当管理テーブル
1802 管理マネージャ用業務空間管理テーブル
1803 管理マネージャ用業務空間リソース割当管理テーブル
1804 管理マネージャ用ジョブ実行状況管理テーブル
1805 管理マネージャ用マシンリソース管理テーブル
1810、1812 仮想マシンの論理ボリューム
1811、1813 仮想ディスクの論理ボリューム
100, 1610 Physical computer 101, 1611 Storage unit 102 Network 103 Display device 110 Disk interface 111 of physical computer 111 Communication interface 112 of physical computer CPU of physical computer
113 Physical Computer Memory 114 Physical Computer Display Interface 120 Host OS
121 Job management unit 122 Business space management unit 123 Virtualization units 124 and 125 Business space 130 and 132 managed by the virtualization unit 123 Virtual machines 131 and 133 managed by the virtualization unit 123 Managed by the virtualization unit 123 Virtual disk 200 Logical CPU assigned to the business space
201 Logical memory allocated to business space 210 Logical disk interface 211 of virtual machine Logical communication interface 212 of virtual machine Logical CPU of virtual machine
213 Virtual machine logical memory 214 Virtual machine logical display interface 220 Guest OS on the virtual machine
221 Job execution unit on virtual machine 222 Business application 300 on virtual machine Job management table 301 Business resource allocation management table 302 Business space management table 303 Business space resource allocation management table 304 Job execution status management table 305 Resource allocation management table 310 , 312 Virtual machine logical volume 311, 313 Virtual disk logical volume 1600 Computer resource 1700 Physical computer 1701 Storage unit 1703 Display device 1710 Physical computer disk interface 1711 Physical computer communication interface 1712 Physical computer CPU
1713 Physical Computer Memory 1714 Physical Computer Display Interface 1720 OS
1721 Management manager job management unit 1722 Management manager execution machine management unit 1800 Management manager job management table 1801 Management manager task-specific resource allocation management table 1802 Management manager task space management table 1803 Management manager task space resource allocation management table 1804 Management manager job execution status management table 1805 Management manager machine resource management tables 1810 and 1812 Virtual machine logical volumes 1811 and 1813 Virtual disk logical volumes

Claims (12)

ある計算機上で仮想マシンを稼働させて業務を実行するのに必要なリソースの割当てを行うリソース制御方法であって、
前記計算機は、
業務と前記業務の優先度と前記業務を構成する少なくとも1つ以上のジョブとの対応関係を記憶し、
前記業務と前記業務を実行する業務空間との対応関係を記憶し、
前記計算機で実行中のジョブの状態を示すジョブ実行情報を取得し、
取得した前記ジョブ実行情報と、実行中の前記ジョブが所属する前記業務空間と、実行中の前記ジョブが所属する前記業務の優先度との対応関係から、実行中の前記ジョブが所属する前記業務空間に割当てるリソース量を算出し、
前記算出したリソース量から、前記業務空間で実行中の前記ジョブが稼働する仮想マシンに対して割当てるべきリソース量を算出することを特徴とするリソース制御方法。
A resource control method for allocating resources necessary to run a virtual machine on a computer and execute business,
The calculator is
Storing a correspondence relationship between a job, a priority of the job, and at least one job constituting the job;
Storing the correspondence between the business and the business space for executing the business;
Obtain job execution information indicating the status of the job being executed on the computer,
Based on the correspondence relationship between the acquired job execution information, the business space to which the job being executed belongs, and the priority of the job to which the job being executed belongs, the job to which the job being executed belongs Calculate the amount of resources allocated to the space,
A resource control method, comprising: calculating a resource amount to be allocated to a virtual machine on which the job being executed in the business space is operating from the calculated resource amount.
前記業務の優先度は、前記計算機の有するリソースの配分量で表すことを特徴とする、
請求項1に記載のリソース制御方法。
The priority of the business is represented by the resource allocation amount of the computer,
The resource control method according to claim 1.
前記計算機は、更に、
実行すべきジョブを稼働するための仮想マシンを複製によって生成し、前記仮想マシンに対するリソース量を算出して実行することを特徴とする、
請求項2に記載のリソース制御方法。
The calculator further includes:
A virtual machine for operating a job to be executed is generated by duplication, and a resource amount for the virtual machine is calculated and executed.
The resource control method according to claim 2.
ある計算機上で仮想マシンを稼働させて業務を実行するのに必要なリソースの割当てを行うリソース制御システムであって、
前記計算機は、
業務と前記業務の優先度と前記業務を構成する少なくとも1つ以上のジョブとの対応関係を記憶する業務管理記憶部と、
前記業務と前記業務が実行する業務空間との対応関係を記憶する業務空間記憶部と、
前記計算機上で実行中のジョブの状態を示すジョブ実行情報を取得するジョブ実行情報取得部と、
前記ジョブ実行情報取得部で取得した前記ジョブ実行情報と、実行中の前記ジョブが所属する前記業務空間と、実行中の前記ジョブが所属する前記業務の優先度とを、前記業務管理記憶部と前記業務空間記憶部で記憶された対応関係から参照して、実行中の前記ジョブが所属する前記業務空間に割当てるリソース量を算出する業務空間リソース割当部と、
前記業務空間リソース割当部で算出したリソース量から、前記業務空間で実行中の前記ジョブが稼働する仮想マシンに対して割当てるべきリソース量を算出する仮想マシンリソース割当部と、
を有することを特徴とするリソース制御システム。
A resource control system for allocating resources necessary to run a virtual machine on a computer and execute business,
The calculator is
A business management storage unit that stores a correspondence relationship between a business, the priority of the business, and at least one job constituting the business;
A business space storage unit for storing a correspondence relationship between the business and the business space executed by the business;
A job execution information acquisition unit for acquiring job execution information indicating a status of a job being executed on the computer;
The job execution information acquired by the job execution information acquisition unit, the job space to which the job being executed belongs, and the priority of the job to which the job being executed belongs, and the job management storage unit, A business space resource allocation unit that calculates a resource amount to be allocated to the business space to which the job being executed belongs by referring to the correspondence relationship stored in the business space storage unit;
A virtual machine resource allocation unit for calculating a resource amount to be allocated to a virtual machine on which the job being executed in the business space operates, from the resource amount calculated by the business space resource allocation unit;
A resource control system comprising:
前記業務管理記憶部で記憶されている前記業務の前記優先度は、前記計算機の有するリソースの配分量で表すことを特徴とする、
請求項4に記載のリソース制御システム。
The priority of the business stored in the business management storage unit is represented by a resource allocation amount of the computer,
The resource control system according to claim 4.
前記仮想マシンリソース割当部は、
更にジョブを稼働させるのに必要な仮想マシンを複製よって生成し、算出した前記仮想マシンに対するリソース量を算出して実行することを更に有することを特徴とする、
請求項5に記載のリソース制御システム。
The virtual machine resource allocation unit
Further, the virtual machine necessary for operating the job is generated by duplication, and further includes calculating and executing the calculated resource amount for the virtual machine,
The resource control system according to claim 5.
複数の計算機上で仮想マシンを稼働させて業務を実行するのに必要なリソースの割当てを行う制御装置におけるリソース制御方法であって、
前記制御装置は、
業務を実行する計算機の保有するリソース量を記憶し、
業務と前記業務に割当てるリソース量と最小多重度、最大多重度および前記業務を構成する少なくとも1つ以上のジョブとの対応関係を記憶し、
前記業務と前記業務を実行する少なくとも1つ以上の業務空間との対応関係を記憶し、
前記業務空間と前記業務空間を実行する前記計算機との対応関係を記憶し、
前記業務と前記業務を実行する業務空間との対応関係と、前記業務と前記業務に割当てるリソース量との対応関係から、前記業務空間に割当てるリソース量を算出し、
算出された前記業務空間に割当てるリソース量と、前記業務空間と前記業務空間を実行する前記計算機との対応関係から、前記計算機で必要なリソース量を算出し、
算出された前記計算機で必要なリソース量と、前記計算機の保有するリソース量との対応関係から、前記計算機で割当て可能なリソース量を算出し、
算出された前記計算機で割当て可能なリソース量から、前記業務を実行する業務空間を追加するべき計算機を算出することを特徴とするリソース制御方法。
A resource control method in a control device for allocating resources necessary to run a virtual machine on a plurality of computers and execute a job,
The control device includes:
Stores the amount of resources held by computers that execute business,
Storing the correspondence relationship between the business and the amount of resources allocated to the business, the minimum multiplicity, the maximum multiplicity, and at least one job constituting the business;
Storing a correspondence relationship between the business and at least one business space for executing the business;
Storing a correspondence relationship between the business space and the computer executing the business space;
From the correspondence between the business and the business space for executing the business, and the correspondence between the business and the resource amount allocated to the business, the resource amount allocated to the business space is calculated,
From the calculated resource amount to be allocated to the business space and the correspondence between the business space and the computer that executes the business space, calculate the resource amount necessary for the computer,
From the correspondence between the calculated resource amount necessary for the computer and the resource amount possessed by the computer, the resource amount that can be allocated by the computer is calculated,
A resource control method characterized in that a computer to which a business space for executing the business is to be added is calculated from the calculated resource amount that can be allocated by the computer.
前記業務空間の前記計算機への割当ては、更に、
前記計算機の保有するリソース量と、前記業務空間に割当てるリソース量との対応関係から、前記計算機での優先度を算出し、
前記計算機でリソース制御をおこなうことを特徴とする、
請求項7に記載のリソース制御方法。
The assignment of the business space to the computer further includes:
From the correspondence between the amount of resources held by the computer and the amount of resources allocated to the business space, the priority in the computer is calculated,
Resource control is performed by the computer.
The resource control method according to claim 7.
前記制御装置は、更に、
前記計算機で実行中のジョブの状態を示すジョブ実行情報を取得し、
取得した前記ジョブ実行情報と、実行中の前記ジョブが所属する前記業務空間との対応関係から、新たに前記業務のジョブを実行するべき業務空間を算出し、
算出された業務空間から、前記業務のジョブを実行するべき計算機を算出することを特徴とする、
請求項7に記載のリソース制御方法。
The control device further includes:
Obtain job execution information indicating the status of the job being executed on the computer,
Based on the correspondence between the acquired job execution information and the business space to which the job being executed belongs, a business space in which the job for the business is newly executed is calculated,
Calculating a computer to execute the job of the business from the calculated business space,
The resource control method according to claim 7.
複数の計算機上で仮想マシンを稼働させて業務を実行するのに必要なリソースの割当てを行う制御装置におけるリソース制御システムであって、
前記制御装置は、
前記複数の計算機の各々が保有する保有リソース量を記憶する計算機リソース管理記憶部と、
業務と前記業務に割当てる必要リソース量と前記業務の多重度および前記業務を構成する少なくとも1つ以上のジョブとの対応関係を記憶する業務管理記憶部と、
前記業務と前記業務を実行する少なくとも1つ以上の業務空間との対応関係を記憶する業務空間記憶部と、
前記業務空間と前記業務空間を実行する前記計算機との対応関係を記憶する実行計算機記憶部と、
前記業務と前記業務を実行する業務空間との対応関係を業務空間記憶部から参照し、前記業務と前記業務に割当てるリソース必要量との対応関係を業務管理記憶部から参照し、
前記業務空間に割当てるリソース割当量を算出する業務空間リソース割当部と、
前記リソース割当量と、前記業務空間と前記業務空間を実行する前記計算機との対応関係を実行計算機記憶部から参照し、前記計算機で必要なリソース必要量を算出し、
前記リソース必要量と、前記計算機の保有する前記保有リソース量との対応関係を計算機リソース管理記憶部から参照し、前記計算機で割当て可能な割当可能リソース量を算出する計算機リソース管理部と、
前記割当可能リソース量から、前記業務を実行する業務空間を追加するべき計算機を前記複数の計算機から特定する実行計算機割当部とを有することを特徴とするリソース制御システム。
A resource control system in a control device that allocates resources necessary to run a virtual machine on a plurality of computers and execute a business,
The control device includes:
A computer resource management storage unit for storing the amount of resources held by each of the plurality of computers;
A business management storage unit for storing a correspondence relationship between a business, a required resource amount allocated to the business, a multiplicity of the business, and at least one job constituting the business;
A business space storage unit that stores a correspondence relationship between the business and at least one business space that executes the business;
An execution computer storage unit that stores a correspondence relationship between the business space and the computer that executes the business space;
Referencing the correspondence between the business and the business space for executing the business from the business space storage unit, referring to the correspondence between the business and the resource requirement allocated to the business from the business management storage unit,
A business space resource allocation unit for calculating a resource allocation amount to be allocated to the business space;
Referencing the resource allocation amount and the correspondence between the business space and the computer executing the business space from the execution computer storage unit, and calculating the required resource amount necessary for the computer,
A computer resource management unit that references a correspondence relationship between the required resource amount and the retained resource amount held by the computer from a computer resource management storage unit, and calculates an allocatable resource amount that can be allocated by the computer;
A resource control system, comprising: an execution computer allocation unit that identifies, from the plurality of computers, a computer to which a business space for executing the business is to be added based on the allocatable resource amount.
前記実行計算機割当部は、更に、
前記計算機の保有する前記保有リソース量を前記計算機リソース管理記憶部から取得し、前記業務空間リソース割当部で算出した前記リソース割当量との対応関係から、前記複数の計算機毎の優先度を算出することを特徴とする、
請求項10に記載のリソース制御システム。
The execution computer allocation unit further includes:
The retained resource amount held by the computer is acquired from the computer resource management storage unit, and the priority for each of the plurality of computers is calculated from the correspondence with the resource allocation amount calculated by the business space resource allocation unit. It is characterized by
The resource control system according to claim 10.
前記制御システムは、更に、
前記計算機で実行中のジョブの状態を示すジョブ実行情報を取得するジョブ実行情報取得部と、
前記ジョブ実行情報取得部で取得した前記ジョブ実行情報と、実行中の前記ジョブが所属する前記業務空間との対応関係を記憶するジョブ実行状況管理記憶部と、
前記ジョブ実行状況管理記憶部から参照したジョブの実行状況から、新たに前記業務のジョブを実行するべき業務空間を算出する実行業務空間検索部と、
算出された業務空間から、前記業務のジョブを実行するべき計算機を前記複数の計算機から特定する実行計算機検索部とを有することを特徴とする、
請求項10に記載のリソース制御システム。
The control system further comprises:
A job execution information acquisition unit for acquiring job execution information indicating a status of a job being executed on the computer;
A job execution status management storage unit for storing a correspondence relationship between the job execution information acquired by the job execution information acquisition unit and the business space to which the job being executed belongs;
An execution business space search unit that calculates a business space in which the job of the job is to be newly executed from the execution status of the job referenced from the job execution status management storage unit;
An execution computer search unit that specifies, from the plurality of computers, a computer that should execute the job of the business from the calculated business space,
The resource control system according to claim 10.
JP2010147060A 2009-10-28 2010-06-29 Resource control method and resource control system Active JP5396339B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010147060A JP5396339B2 (en) 2009-10-28 2010-06-29 Resource control method and resource control system

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2009247198 2009-10-28
JP2009247198 2009-10-28
JP2010147060A JP5396339B2 (en) 2009-10-28 2010-06-29 Resource control method and resource control system

Publications (2)

Publication Number Publication Date
JP2011118864A JP2011118864A (en) 2011-06-16
JP5396339B2 true JP5396339B2 (en) 2014-01-22

Family

ID=44284069

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010147060A Active JP5396339B2 (en) 2009-10-28 2010-06-29 Resource control method and resource control system

Country Status (1)

Country Link
JP (1) JP5396339B2 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9176788B2 (en) * 2011-08-16 2015-11-03 Esds Software Solution Pvt. Ltd. Method and system for real time detection of resource requirement and automatic adjustments
JP5722247B2 (en) * 2012-02-10 2015-05-20 株式会社野村総合研究所 Virtual server management system
US10157073B2 (en) 2013-05-29 2018-12-18 Nec Corporation Virtual-machine control device, virtual-machine control method, computer-readable recording medium recording program for virtual-machine control method, and data center
JP6180866B2 (en) * 2013-09-24 2017-08-16 株式会社東芝 Scheduling apparatus, system, apparatus, method and program
JPWO2015146104A1 (en) * 2014-03-27 2017-04-13 日本電気株式会社 Virtual machine system, control method thereof, and control program thereof
JP5857144B2 (en) * 2015-03-04 2016-02-10 株式会社野村総合研究所 Virtual server management system
JP6926768B2 (en) * 2017-07-20 2021-08-25 富士フイルムビジネスイノベーション株式会社 Information processing equipment and information processing system
JP7084894B2 (en) * 2019-06-26 2022-06-15 株式会社日立製作所 Resource management system, resource allocation method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4519098B2 (en) * 2006-03-30 2010-08-04 株式会社日立製作所 Computer management method, computer system, and management program

Also Published As

Publication number Publication date
JP2011118864A (en) 2011-06-16

Similar Documents

Publication Publication Date Title
JP5396339B2 (en) Resource control method and resource control system
JP5801189B2 (en) Computer system and control method thereof
US20130339956A1 (en) Computer system and optimal arrangement method of virtual machine in computer system
JP5368285B2 (en) Computer system, computer resource management method and program
JP5439581B2 (en) Storage system, storage apparatus, and storage system optimization method for storage system
US10108460B2 (en) Method and system for integrated deployment planning for virtual appliances
WO2017072933A1 (en) Management system and management method for computer system
JP2015001828A (en) Allocation program, allocation device, and allocation method
JP5973089B2 (en) Storage system migration method and migration method
US20150234671A1 (en) Management system and management program
JP6383861B2 (en) Storage management computer
WO2012039053A1 (en) Method of managing computer system operations, computer system and computer-readable medium storing program
WO2015114745A1 (en) Computer and computer i/o control method
US7194594B2 (en) Storage area management method and system for assigning physical storage areas to multiple application programs
US20080184247A1 (en) Method and System for Resource Allocation
US8151079B2 (en) Computer system, storage area allocation method, and management computer
CN109725838A (en) For managing the method, apparatus and computer-readable medium of multiple disks
JP2008102672A (en) Computer system, management computer, and method of setting operation control information
JP5492731B2 (en) Virtual machine volume allocation method and computer system using the method
JP2017215884A (en) Virtual machine arrangement device and resource management method
JP2011100263A (en) Virtual computer system, virtual computer management method and management program
JP5558615B2 (en) Computer system, computer resource management method and program
WO2017002185A1 (en) Server storage system management system and management method
JP6696052B2 (en) Storage device and storage area management method
JP5744287B2 (en) Computer system and computer resource management method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120305

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130806

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130807

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130905

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20131021

R151 Written notification of patent or utility model registration

Ref document number: 5396339

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151