JP5396339B2 - Resource control method and resource control system - Google Patents
Resource control method and resource control system Download PDFInfo
- 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
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
すでに運用している業務システムを仮想化集約する場合、ひとつの仮想マシンで複数の業務アプリケーションが動作する場合や、さらにひとつの業務が複数の仮想マシンにまたがって実行される場合がある。このような場合、ある業務で使用可能なリソースは、同一仮想マシン上で実行される他の業務により影響を受ける可能性がある。しかし、従来技術では、リソースの割当が仮想マシンを単位として行われているため、他の業務により影響を受ける場合の考慮がなされていない。従来技術での仮想マシン単位でのリソース割り当てでは、このような同一仮想マシン上で実行される業務の影響を考慮した業務視点でリソースの割り当てをおこなうことができない。 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.
以下、本発明におけるシステムの実施例について、図面を用いて説明する。 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
The
ジョブ管理部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
業務空間管理部122は、図3に示す業務空間管理テーブル302、業務空間リソース割当管理テーブル303、ジョブ実行状況管理テーブル304の情報をもとに、業務空間、仮想マシンごとのリソースの割り当て管理をおこなう処理部である。この処理の詳細については、図12に示している。
The business
図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
仮想マシン130は、記憶部101に論理ボリュームとして記録されており、必要に応じてメモリ中にロードすることで仮想マシンとして動作する。仮想マシン130は、論理ディスクインタフェース210、論理通信インタフェース211、論理CPU212、論理メモリ213、論理表示インタフェース214を備える。また、論理ディスクインタフェース210を通して仮想ディスク131と接続している。論理メモリ213には、OS220、ジョブ実行部221、ひとつまたは複数の業務アプリケーション222がロードされる。
The
仮想ディスク131は、記憶部101に論理ボリュームとして記録されており、仮想マシン130の論理ディスクインタフェースを通して読み書きされる内容は、記憶部101内の論理ボリュームに反映される。
The
図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
The
図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
図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
図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
図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
図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
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
ジョブ管理部121は、ジョブ管理テーブル300と業務別リソース割当管理テーブル301を参照し、優先度の高い業務から順に業務空間への割り当て処理をおこなう(1000)。まず、業務を割り当てるための業務空間を新たに定義する(1001)。定義した業務空間には、管理のために業務空間IDを割り振る。業務空間の割り当てがおこなわれていない業務のうち、もっとも優先度の高い業務を、1001で定義した業務空間に割り当て、業務空間管理テーブル302を更新する(1002)。業務空間管理テーブル302を参照し、業務空間を構成するために必要なマシンを算出する(1003)。業務空間管理テーブル302と、業務別リソース割当管理テーブル301を参照し、業務空間に対する優先度を算出し、業務空間リソース割当管理テーブル303を更新する(1004)。定義された業務空間が、以下の数1を満たすか検査する(1005)。業務空間の構成に必要な仮想マシンの動作に必要なリソースが、業務空間に割り当てられたリソースに対して十分に小さいかを検査することで、業務空間の割り当てを効率的におこなうことができる。式中の「係数」は、リソースや、物理的なマシンの特性によってあらかじめ決定される。
The
数1を満たす場合、業務空間への業務の割り当てを確定とし、次の業務空間の定義と業務の割り当てのため、1000に戻る(1007)。この場合、1002で割り当てられた業務が、1001で定義した業務空間を占有する。数1を満たさない場合、業務空間の割り当てがおこなわれていない業務のうち次に優先度の高い業務を、1001で定義した業務空間に追加で割り当て、業務空間管理テーブル302を更新した後、1003の手順から繰り返す(1006)。この場合、1001で定義した業務空間は、数1を満たすように複数の業務で共有される。以上の処理を、すべての業務について業務空間が割り当てられるまで繰り返す(1008)。
If
割り当て処理の完了後、ジョブ管理部121は、仮想化部123に対して、業務空間と、必要な仮想マシンの複製を作成するよう通知する(1009)。仮想化部123は、業務空間管理テーブルを参照し、記憶部101に記録されている仮想マシン論理ボリュームと、仮想ディスク論理ボリュームの複製を作成し、業務空間と、必要な仮想マシンをメモリ中に展開する。
After the completion of the assignment process, the
図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
ジョブ管理部121は、ジョブ実行状況管理テーブル304に、実行ジョブのエントリーを追加する(1103)。ジョブ管理部121は、定期的にジョブ実行部221に対し、ジョブの実行状況を確認する(1104)。ジョブの実行が終了していた場合、ジョブ管理部121は、ジョブ実行状況管理テーブル304から、実行ジョブのエントリーを削除する(1105、1107)。ジョブの実行が終了していなかった場合、ジョブ実行状況管理テーブル304の情報を更新し、1004に戻る(1106)。これにより、ジョブ実行状況管理テーブルには、常に実行中のジョブのエントリーのみが記録されることになる。
The
ジョブ管理テーブル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
業務空間管理部122は、すべての業務空間について、順にリソースの割り当て処理をおこなう(1200)。まず、業務空間管理部122は、業務空間リソース割当管理テーブル303から、業務空間への割り当てリソースを取得し、業務空間の論理CPU200、論理メモリ201へ割り当て量を決定する(1201)。業務空間管理部122は、ジョブ実行状況管理テーブル304から、業務空間で実行中のジョブの数を取得する(1202)。業務空間管理部122は、業務空間管理テーブル302から業務空間内のホストを取得し、業務空間内のすべてのホストについて、順にリソースの割り当て処理をおこなう(1203)。業務空間管理部122は、ジョブ実行状況管理テーブル304から、ジョブ実行情報を取得する。例えば、ホストで実行中のジョブの数を取得する(1204)。ホストに割り当てるリソースの量を、以下の数2により決定する(1205)。業務空間に割り当てられたリソースを、実行中のジョブの数に応じてホストに配分することになる。
The business
以上の手順で決定したホストごとのリソース割り当て量で、リソース割り当て管理テーブル305を更新する(1206)。これを、業務空間と、各業務空間を構成するホストの数だけ繰り返す(1207、1208)。
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
また、例えば業務空間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.
業務空間3で実行していた全てのジョブが終了した場合、現在実行中のジョブを有する業務空間は、業務空間1と業務空間2となる。図8の業務空間リソース割当管理テーブル303に定義する業務空間1の50%と業務空間2の30%との割合を維持しながら、再配分すればよい。上述数3に基づいて再配分すると、業務空間1に対して62.5%、業務空間2に対して37.5%を配分する。この再配分された空間リソース量に基づいて、各業務空間で実行中のジョブを稼働するホストに対するリソース量を再計算すればよい。また新たに業務空間3の業務3を稼働させたい場合は、上述のように実行中のジョブの状況を再確認し、業務空間に割当てるべき空間リソース量を上述数3に基づいて再調整することで、実現できる。このように、業務空間に対して割当てるべき空間リソース量を、業務の優先度に応じて適宜調整することで、業務を遂行する仮想マシンに対するリソース量を、他の優先度の高い業務への空間リソース量を配慮し、維持しながら適宜自由に設定することができる。
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
業務別リソース割当管理テーブル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.
図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
図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
生成された業務空間および各業務空間内に複製されたホストの状況が、それぞれ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.
各仮想ホストへのリソースの割り当て状況は、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.
図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
物理コンピュータ1700は、ディスクインタフェース1710、通信インタフェース1711、CPU1712、メモリ1713、表示インタフェース1714を備える。また、ディスクインタフェース1710を通して記憶部1701と、通信インタフェース1711を通してネットワーク102と、表示インタフェース1714を通して表示装置1703と接続している。メモリ1713には、OS1720、管理マネージャ用ジョブ管理部1721、管理マネージャ用実行マシン管理部1722がロードされ、コンピュータ資源として確保されている業務を実行する物理コンピュータ(以下、実行マシンと記載)のジョブおよびリソースの割り当てを制御する。管理マネージャは、実行マシンに対して業務空間の割り当て、当該業務空間に対するリソースの割り当ておよび当該業務空間へのジョブの投入を制御するが、当該実行マシン上でのジョブの実行状況に応じた業務空間および業務空間上で実行される仮想マシンへのリソースの割り当ては、先に示した手順により、各実行マシンでおこなわれる。
The
図18は、記憶部1701の詳細を示した説明図である。記憶部1701には、管理マネージャ用ジョブ管理テーブル1800、管理マネージャ用業務別リソース割当管理テーブル1801、管理マネージャ用業務空間管理テーブル1802、管理マネージャ用業務空間リソース割当管理テーブル1803、管理マネージャ用ジョブ実行状況管理テーブル1804、管理マネージャ用マシンリソース管理テーブル1805が格納される。また、仮想マシンや仮想ディスクの論理ボリュームとして、仮想マシン論理ボリューム1810、1812、仮想ディスク論理ボリューム1811、1813が格納される。
FIG. 18 is an explanatory diagram showing details of the
管理マネージャを用いて複数の実行マシンを制御する場合、実行マシンで定義していたジョブ管理テーブル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
図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
図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
図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
図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
図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
管理マネージャ用マシンリソース管理テーブル1805の情報のうち、実行マシン2400および保有リソース量2401は、コンピュータ資源として確保された実行マシンの情報をもとに、あらかじめユーザにより定義される。未割当リソース量2402、余剰リソース量2403については、図27に示す手順で設定される。また、図30、図31、図32に示す手順で変更される。
Of the information in the management manager machine resource management table 1805, the
図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
図26は、管理マネージャ用ジョブ管理部1721が、各業務に業務空間を割り当てる流れを示したフローチャートである。割り当て方法の一例を示しているが、割り当て方法はこの限りではない。
FIG. 26 is a flowchart illustrating a flow in which the management manager
管理マネージャ用ジョブ管理部1721は、管理マネージャ用ジョブ管理テーブル1800と管理マネージャ用業務別リソース割当管理テーブル1801を参照し、業務空間への割り当て処理をおこなう。
The management manager
最初に、最大多重度が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
次に、業務空間を未割り当てのすべての業務について、優先度の高い業務から順に業務空間への割り当て処理をおこなう(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).
数1を満たす場合、業務空間への業務の割り当てを確定とし、構成ホスト、リソース割当量について、管理マネージャ用業務空間管理テーブル1802を更新する(2616)。その後、次の業務空間の定義と業務の割り当てのため、2609に戻る(2617)。この場合、2610での割り当て結果が確定し、2610で定義した業務空間を1つの業務が占有する。
When
数1を満たさない場合、業務空間の割り当てがおこなわれていない業務のうち次に優先度の高い業務を、2610で定義した業務空間に追加で割り当てた後、2611の手順から繰り返す(2616)。この場合、2610で定義した業務空間は、数1を満たすように複数の業務で共有される。以上の処理を、すべての業務について業務空間が割り当てられるまで繰り返す(2618)。
If the
図27は、管理マネージャ用実行マシン管理部1722が、各実行マシンに業務空間を割り当てる流れを示したフローチャートである。割り当て方法の一例を示しているが、割り当て方法はこの限りではない。
FIG. 27 is a flowchart illustrating a flow in which the management manager execution
管理マネージャ用実行マシン管理部1722は、管理マネージャ用業務空間管理テーブル1802と管理マネージャ用業務空間リソース割当管理テーブル1803を参照し、業務空間の割り当て処理をおこなう。実行マシンを未割当のすべての業務空間について、リソース割当量の多いものから順に実行マシンへの割り当て処理をおこなう(2700)。まず、業務空間を割り当てる実行マシンを決定するため、実行マシンのうち、未割り当てのリソースがもっとも多いものを検索する(2701)。検索された実行マシン上で、同一業務を実行する他の業務空間が割り当てられていないことを確認する(2702)。もし、検索された実行マシン上で、同一業務を実行する他の業務空間がすでに割り当て済みの場合、実行マシンのうち、未割り当てのリソースが次に多いものを検索し、2702に戻って再度評価をおこなう(2703)。2702の評価で、検索された実行マシン上で、同一業務を実行する他の業務空間が割り当てられていないことが確認された場合、当該実行マシンに業務空間の割り当てをおこなう(2704)。
The management manager execution
決定した割り当てにしたがい、実行マシンについて、管理マネージャ用業務空間管理テーブル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
管理マネージャ用実行マシン管理部1722が、実行マシンのジョブ管理テーブル300の内容を更新する(2800)。当該実行マシンで実行する業務のジョブ定義については、管理マネージャから実行マシンに転送し、更新を反映する。当該実行マシンで実行しない業務のジョブ定義がジョブ管理テーブル300にある場合は、当該ジョブ定義を削除する。
The management machine execution
管理マネージャ用実行マシン管理部1722が、実行マシンの業務空間管理テーブル302の内容を更新する(2801)。当該マシンで実行する業務空間について、管理マネージャ用業務空間管理テーブル1802から、業務空間ID、業務ID、構成ホストの情報を、実行マシンの業務空間管理テーブル302に転送し、更新を反映する。当該実行マシンで実行しない業務空間の定義が業務空間管理テーブル302にある場合は、当該定義を削除する。
The management machine execution
管理マネージャ用実行マシン管理部1722が、実行マシンの業務空間リソース割当管理テーブル303の内容を更新する(2802)。当該マシンで実行する業務空間について、管理マネージャ用リソース割当管理テーブル1801および管理マネージャ用マシンリソース管理テーブル1805から、実行マシンでの優先度を計算し、業務空間リソース割当管理テーブル303のリソース割り当て比とする。当該実行マシンで実行しない業務空間の定義が業務空間リソース割当管理テーブル303にある場合は、当該定義を削除する。
The execution
次に、当該実行マシンで削除する業務空間があるか評価する(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
実行マシンで使用する仮想マシン論理ボリュームについて、不足しているものを管理マネージャから実行マシンへ転送する。当該実行マシンで実行しない仮想マシンの論理ボリュームがある場合は、当該仮想マシン論理ボリュームを削除する(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
図29は、管理マネージャ用ジョブ管理部1721が、ジョブを実行する際の流れを示したフローチャートである。ジョブの実行方法の一例を示しているが、実行方法はこの限りではない。
FIG. 29 is a flowchart showing a flow when the management manager
管理マネージャ用ジョブ管理部1721は、管理マネージャ用リソース割当管理テーブル1801、管理マネージャ用ジョブ実行状況管理テーブル1804を参照し、当該業務についてすでに最大多重度の業務空間を割り当てているかを評価する(2900)。
The management manager
当該業務についてすでに最大多重度の業務空間を割り当てている場合、管理マネージャ用ジョブ実行状況管理テーブル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
当該業務についてまだ最大多重度の業務空間を割り当てていない場合、管理マネージャ用マシンリソース管理テーブル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
図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
The management manager
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
まず、管理マネージャ用実行マシン管理部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
業務空間の移動結果にしたがって、業務空間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
図32は、管理マネージャ用ジョブ管理部1721が、業務空間の削除をおこなう流れを示したフローチャートである。業務空間の削除の方法の一例を示しているが、削除の方法はこの限りではない。
FIG. 32 is a flowchart showing a flow in which the management manager
管理マネージャ用ジョブ管理部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
以上から、各業務空間に対してリソースを一旦割当て、当該割当てられたリソースの範囲で仮想マシンを稼働させてジョブを実行するので、別の業務を遂行するためにリソースを割当てる場合においても、実行中のジョブに直接影響しない。また、別業務の業務空間に対するリソースの割当ては、業務の優先度に応じてなされるので、例えば重要なジョブを実行している最中に、別業務の実行を開始しなければならない場合にも、重要なジョブへ影響を及ぼさない。 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
113 Physical Computer Memory 114 Physical
121
201 Logical memory allocated to
213 Virtual machine
221 Job execution unit on
1713
1721 Management manager
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.
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)
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)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4519098B2 (en) * | 2006-03-30 | 2010-08-04 | 株式会社日立製作所 | Computer management method, computer system, and management program |
-
2010
- 2010-06-29 JP JP2010147060A patent/JP5396339B2/en active Active
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 |