JP2010026828A - Method for controlling virtual computer - Google Patents

Method for controlling virtual computer Download PDF

Info

Publication number
JP2010026828A
JP2010026828A JP2008188067A JP2008188067A JP2010026828A JP 2010026828 A JP2010026828 A JP 2010026828A JP 2008188067 A JP2008188067 A JP 2008188067A JP 2008188067 A JP2008188067 A JP 2008188067A JP 2010026828 A JP2010026828 A JP 2010026828A
Authority
JP
Japan
Prior art keywords
virtual
server
physical
management
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.)
Pending
Application number
JP2008188067A
Other languages
Japanese (ja)
Inventor
Ayumi Sato
歩 佐藤
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 JP2008188067A priority Critical patent/JP2010026828A/en
Publication of JP2010026828A publication Critical patent/JP2010026828A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To dispense with a physical server for a management server to reduce the cost for physical computers and facilitate operation management of virtual computers by a manager by using and assigning surplus resources of a physical server to a virtual server for management. <P>SOLUTION: A virtual computer system in which a plurality of virtual computers and a virtual computer for management of the system are operated on a physical computer under the control of a control program includes means for collecting and storing load information of the virtual computers operated on the physical computer, and the CPU capability and memory capacity of the physical computer; and means for the virtual computer for management to read the stored load information of the virtual computers and CPU capability and memory capacity of the physical computer. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、計算機の管理方法に関し、特に特に仮想計算機システムにおいて無駄になっているCPU、メモリ資源を有効利用する方法に関する。   The present invention relates to a computer management method, and more particularly to a method for effectively utilizing CPU and memory resources that are wasted in a virtual computer system.

企業の計算機システム及び企業のデータセンタにおいて、サーバの保有台数が増大している。これに伴って、サーバの運用管理コストが増大している。   The number of servers held in enterprise computer systems and enterprise data centers is increasing. Along with this, the operation management cost of the server is increasing.

この問題を解決するため、サーバを仮想化する技術が知られている。サーバを仮想化する技術は、複数の仮想サーバが単一の物理サーバで稼働できる技術である。具体的には、物理サーバに備わるプロセッサ(CPU)及びメモリ等のリソースが分割され、分割された物理サーバのリソースが、それぞれ複数の仮想サーバに割り当てられる。そして、単一の物理サーバで複数の仮想サーバが同時に稼動する。   In order to solve this problem, a technique for virtualizing a server is known. The technology for virtualizing a server is a technology in which a plurality of virtual servers can operate on a single physical server. Specifically, resources such as a processor (CPU) and a memory included in the physical server are divided, and the divided resources of the physical server are allocated to a plurality of virtual servers, respectively. A plurality of virtual servers operate simultaneously on a single physical server.

今日、CPUの処理性能が向上したこと及びメモリ等のリソースのコストが低下したことによって、サーバを仮想化する技術に関する需要が増大している。   Today, demand for technology for virtualizing servers is increasing due to improved processing performance of CPUs and lower costs of resources such as memory.

また、サーバを仮想化する技術は、複数の仮想サーバが単一の物理サーバで稼働できるというメリットの他に、複数の仮想サーバでワークロード管理することによって、物理サーバのリソースをより有効に利用することができる。   In addition to the advantage that multiple virtual servers can operate on a single physical server, the technology for virtualizing servers makes more effective use of physical server resources by managing workload on multiple virtual servers. can do.

ここで、ワークロード管理とは、仮想サーバの負荷等の状況に応じて、仮想サーバに割り当てられる物理サーバのCPUやメモリ等のリソースの量を変更する。例えば、ある仮想サーバの負荷が高くなった場合に、同じ物理サーバで稼働する負荷の低い仮想サーバに割り当てられている物理サーバのリソースを負荷の高い仮想サーバに割り当てる。これによって、物理サーバのリソースを有効に利用できる。   Here, the workload management is to change the amount of resources such as the CPU and memory of the physical server allocated to the virtual server according to the situation such as the load on the virtual server. For example, when the load of a certain virtual server increases, the physical server resources allocated to the low-load virtual server operating on the same physical server are allocated to the high-load virtual server. As a result, the resources of the physical server can be used effectively.

従来、単一または複数の物理サーバ上で稼動する複数の仮想サーバのワークロード管理は、単一の物理サーバからなる管理サーバを用いて行っていた(特許文献1参照)。   Conventionally, workload management of a plurality of virtual servers operating on a single or a plurality of physical servers has been performed using a management server composed of a single physical server (see Patent Document 1).

特開2007−323245号公報JP 2007-323245 A

仮想サーバの負荷等の状況に応じて、仮想サーバに割り当てられる物理サーバのリソースの量を変更するワークロード管理を行うためには、仮想サーバ毎に必要となる物理サーバのリソース量を事前に見積り、見積りに従って計算機システム全体での物理サーバのリソース量を決定する必要がある。   In order to perform workload management that changes the amount of physical server resources allocated to the virtual server according to the status of the virtual server load, etc., estimate the physical server resource amount required for each virtual server in advance. Therefore, it is necessary to determine the resource amount of the physical server in the entire computer system according to the estimate.

また、物理サーバのリソース量の見積りでは、高負荷に耐えうるだけの十分なリソースを、あらかじめ用意しておく必要がある。   In addition, when estimating the resource amount of the physical server, it is necessary to prepare in advance enough resources to withstand a high load.

もし、十分なリソースが割り当てられず、許容以上の負荷が計算機システムへと掛かった場合、一般的にスローダウンと呼ばれる仮想サーバの処理が極端に遅くなる等の重大な問題が生じることがある。   If sufficient resources are not allocated and an excessive load is applied to the computer system, a serious problem such as extremely slow processing of a virtual server generally called slowdown may occur.

しかし、スローダウンを防ぐため、リソースを与え過ぎれば、低負荷時には十分にリソースが活用されず無駄となってしまい、コストパフォーマンスが低いという問題が生じる。   However, if too much resources are provided to prevent slowdown, the resources are not fully utilized at low loads and are wasted, resulting in a problem of low cost performance.

本発明の目的は、この無駄になっている余剰リソースを、システム全体のモニタリング又は保守管理用として動作する仮想サーバに割り当て、稼働管理などに有効に利用することである。   An object of the present invention is to allocate this wasteful surplus resource to a virtual server that operates for monitoring or maintenance management of the entire system, and effectively uses it for operation management and the like.

演算処理をするプロセッサと、プロセッサに接続されるメモリと、メモリに接続されるインタフェースとを備える複数の物理計算機と、物理計算機で稼動する複数の仮想計算機と、システムの管理用の仮想計算機が制御プログラムの制御下で動作する仮想計算機システムであって、制御プログラムは、前記物理計算機で稼動する仮想計算機の負荷情報を収集し格納する仮想計算機負荷情報記憶手段と、物理計算機のCPU能力、メモリ容量を収集し格納する物理計算機性能情報記憶手段を備え、仮想計算機負荷情報記憶手段により格納された仮想計算機の負荷情報と物理計算機性能情報記憶手段により格納された物理計算機のCPU能力、メモリ容量を管理用の仮想計算機が読み出す手段を備えることを特徴とする仮想計算機システム。   Controlled by a plurality of physical computers having a processor for performing arithmetic processing, a memory connected to the processor, and an interface connected to the memory, a plurality of virtual computers operating on the physical computer, and a virtual computer for system management A virtual computer system that operates under the control of a program, the control program collecting virtual computer load information storage means for collecting and storing load information of the virtual computer operating on the physical computer, and CPU capacity and memory capacity of the physical computer Physical computer performance information storage means for collecting and storing virtual machine load information stored in the virtual machine load information storage means, and the CPU capacity and memory capacity of the physical computer stored in the physical computer performance information storage means are managed. A virtual computer system comprising means for reading by a virtual computer for use.

本発明の形態によると、物理サーバの余剰リソースを利用して管理用の仮想サーバに割り当てることにより、管理サーバ用の物理サーバを必要とせず、物理サーバのコストの削減と管理者の仮想サーバの運用管理を容易にすることが可能となる。   According to the embodiment of the present invention, by using the surplus resources of the physical server and allocating to the management virtual server, the physical server for the management server is not required, the cost of the physical server is reduced, and the administrator's virtual server Operation management can be facilitated.

以下、本発明の実施例を図面により詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の第1の実施の形態の計算機システムの構成を示す図である。   FIG. 1 is a diagram showing a configuration of a computer system according to the first embodiment of this invention.

本実施の形態の計算機システムは、物理サーバ100と、クライアント端末114とを備える。物理サーバ100と、クライアント端末114はネットワーク113に接続されている。   The computer system according to this embodiment includes a physical server 100 and a client terminal 114. The physical server 100 and the client terminal 114 are connected to the network 113.

クライアント端末114は、システム管理者により操作される端末であり、表示部、入力部、通信制御部等を備えるコンピュータから構成され、システム管理者が物理サーバ100の管理を行う場合に、クライアント端末114からネットワーク113を介して物理サーバ100の操作を行う。   The client terminal 114 is a terminal operated by a system administrator, and is configured from a computer including a display unit, an input unit, a communication control unit, and the like. When the system administrator manages the physical server 100, the client terminal 114 is used. To operate the physical server 100 via the network 113.

物理サーバ100内のサーバ仮想化プログラムラム110によって、一つの物理サーバ100に複数の仮想サーバ111と仮想管理サーバ112が構築される。仮想管理サーバ112は、本発明で新たに設けた保守管理用の仮想サーバである。なお、サーバ仮想化プログラム110は、例えば、ハイパバイザ又はオペレーティングシステムで動作する仮想サーバ111を構築するアプリケーションソフトウェアであってもよい。   A plurality of virtual servers 111 and a virtual management server 112 are constructed in one physical server 100 by the server virtualization program ram 110 in the physical server 100. The virtual management server 112 is a maintenance management virtual server newly provided in the present invention. Note that the server virtualization program 110 may be application software that constructs a virtual server 111 that operates on a hypervisor or an operating system, for example.

図2は、本発明の第1の実施の形態の物理サーバ100のブロック図である。   FIG. 2 is a block diagram of the physical server 100 according to the first embodiment of this invention.

物理サーバ100は、メモリ200と、CPU(CentralProcessingUnit)201と、ネットワークI/F( Interface)202と、SCSI I / F(SmallComputerSystemI n t e r f a c e )203、BMC(BaseboardManagementController)204とを備える。   The physical server 100 includes a memory 200, a CPU (Central Processing Unit) 201, a network I / F (Interface) 202, a SCSI I / F (Small Computer System Information) 203, a BMC (Baseboard Management Control) 204, and the like.

メモリ200、ネットワークI/F202 、SCSI I /F203は、CPU201に接続される。   The memory 200, the network I / F 202, and the SCSI I / F 203 are connected to the CPU 201.

メモリ200には、サーバ仮想化プログラム110が格納される。   A server virtualization program 110 is stored in the memory 200.

物理サーバ100は、ネットワークI/F202によって、ネットワーク113に接続される。また、BMC204もネットワーク113に接続される。SCSI I/F203は、物理サーバ100で実行されるプログラムを格納するハードディスク装置(HDD)205に接続される。ネットワークI/F202は、物理サーバ100上で実行されるプログラムと外部の装置との通信のためのインタフェースである。   The physical server 100 is connected to the network 113 by the network I / F 202. The BMC 204 is also connected to the network 113. The SCSI I / F 203 is connected to a hard disk device (HDD) 205 that stores a program executed by the physical server 100. The network I / F 202 is an interface for communication between a program executed on the physical server 100 and an external device.

また、BMC204は、主にCPU201及びメモリ200等の物理サーバ100のハードウェアの状態を管理する。例えば、BMC204は、CPU201の障害を検出すると、CPU201に障害が発生したことを、ネットワーク113を介して他の装置に通知する。また、BMC204は、サーバ仮想化プログラム110及びファームウェア206と通信可能な手段を有している。サーバ仮想化プログラム110とファームウェア206とのやりとりはファームウェアの提供する関数をコールすることにより行う。   The BMC 204 mainly manages the hardware status of the physical server 100 such as the CPU 201 and the memory 200. For example, when the BMC 204 detects a failure of the CPU 201, the BMC 204 notifies other devices via the network 113 that a failure has occurred in the CPU 201. In addition, the BMC 204 has means capable of communicating with the server virtualization program 110 and the firmware 206. The exchange between the server virtualization program 110 and the firmware 206 is performed by calling a function provided by the firmware.

物理サーバ100が起動すると、サーバ仮想化プログラム110がハードディスク装置205からメモリ200にローディングされ、サーバ仮想化プログラム110が起動する。そして、サーバ仮想化プログラム110は、複数の仮想サーバ111及び仮想管理サーバ112を構築する。   When the physical server 100 is activated, the server virtualization program 110 is loaded from the hard disk device 205 to the memory 200, and the server virtualization program 110 is activated. Then, the server virtualization program 110 constructs a plurality of virtual servers 111 and a virtual management server 112.

具体的には、サーバ仮想化プログラム110は、物理サーバ100のCPU201、メモリ200等のリソースを仮想サーバ111及び仮想管理サーバ112に分割して割り当てることによって、物理サーバ100に複数の仮想サーバ111及び仮想管理サーバ112構築する。構築された各仮想サーバ111及び仮想管理サーバ112は、OS( OperatingSystem)207を稼働できる。   Specifically, the server virtualization program 110 divides and allocates resources such as the CPU 201 and the memory 200 of the physical server 100 to the virtual server 111 and the virtual management server 112, whereby a plurality of virtual servers 111 and The virtual management server 112 is constructed. Each constructed virtual server 111 and virtual management server 112 can run an OS (Operating System) 207.

仮想サーバ111で稼動するOS207上には、負荷情報収集エージェント(PM)208があり、仮想サーバ111の負荷情報が定期的に取得される。また、仮想管理サーバ112で稼動するOS207上には、管理マネージャ209があり、仮想サーバ111の負荷情報の管理を行う。   A load information collection agent (PM) 208 is provided on the OS 207 running on the virtual server 111, and load information of the virtual server 111 is periodically acquired. A management manager 209 is provided on the OS 207 running on the virtual management server 112 to manage load information of the virtual server 111.

また、サーバ仮想化プログラム110は、初期化処理部210とリソース管理部211を含む。初期化処理部210とリソース管理部211は、サーバ仮想化プログラム110のサブプログラムである。   The server virtualization program 110 includes an initialization processing unit 210 and a resource management unit 211. The initialization processing unit 210 and the resource management unit 211 are subprograms of the server virtualization program 110.

初期化処理部210は、仮想サーバ111と仮想管理サーバ112を構築したり、物理サーバ100のCPU、メモリのリソースの仮想サーバ111と仮想管理サーバ112への割当量を設定する。リソース管理部211は、仮想サーバ111の負荷情報の収集と格納及び物理サーバ100のCPU能力、メモリ容量の収集と格納を行う。   The initialization processing unit 210 constructs the virtual server 111 and the virtual management server 112, and sets the allocation amount of the CPU and memory resources of the physical server 100 to the virtual server 111 and the virtual management server 112. The resource management unit 211 collects and stores load information of the virtual server 111 and collects and stores the CPU capacity and memory capacity of the physical server 100.

図3は、サーバ仮想化プログラム110に含まれる初期化処理部210とリソース管理部211の構成を示す。初期化処理部210には、管理サーバ初期化部301と仮想サーバ初期化部302が含まれる。管理サーバ初期化部301は、仮想管理サーバ112の初期処理及び活性化と物理サーバ100のCPU201とメモリ200のリソースの仮想管理サーバ112への割当量の設定を行い、仮想サーバ初期化部302は、仮想サーバ111の初期処理及び活性化と物理サーバ100のCPU201とメモリ200のリソースの仮想サーバ111への割当量の設定を行う。   FIG. 3 shows the configuration of the initialization processing unit 210 and the resource management unit 211 included in the server virtualization program 110. The initialization processing unit 210 includes a management server initialization unit 301 and a virtual server initialization unit 302. The management server initialization unit 301 performs initial processing and activation of the virtual management server 112, sets the allocation amount of the resources of the CPU 201 and the memory 200 of the physical server 100 to the virtual management server 112, and the virtual server initialization unit 302 Then, initial processing and activation of the virtual server 111 and setting of the allocation amount of the resources of the CPU 201 and the memory 200 of the physical server 100 to the virtual server 111 are performed.

また、リソース管理部211には、仮想サーバ負荷情報部303と物理サーバ性能情報部304がある。仮想サーバ負荷情報部303は、負荷情報収集エージェント(PM)208により取得された各仮想サーバ111上の負荷情報収集の収集と格納を行う。物理サーバ性能情報部304は、物理サーバ100のCPU能力、メモリ容量の収集と格納を行う。   The resource management unit 211 includes a virtual server load information unit 303 and a physical server performance information unit 304. The virtual server load information unit 303 collects and stores load information collection on each virtual server 111 acquired by the load information collection agent (PM) 208. The physical server performance information unit 304 collects and stores the CPU capacity and memory capacity of the physical server 100.

図4はメモリ200のデータの格納状態を示す。   FIG. 4 shows the data storage state of the memory 200.

サーバ仮想化プログラム110の起動時に、ハードディスク装置205に格納されているサーバ仮想化プログラム110がメモリ200の該当部(400)にローディングされる。仮想サーバ負荷情報401には、仮想サーバ負荷情報部303にて収集された情報が格納される。物理サーバ性能情報402には、物理サーバ性能情報部304にて収集された情報が格納される。仮想サーバ負荷情報401と物理サーバ性能情報402は、仮想管理サーバ112で稼動する管理マネージャ209から読み出すことが、サーバ仮想化プログラム110により特別に許可されている。   When the server virtualization program 110 is activated, the server virtualization program 110 stored in the hard disk device 205 is loaded into the corresponding section (400) of the memory 200. The virtual server load information 401 stores information collected by the virtual server load information unit 303. The physical server performance information 402 stores information collected by the physical server performance information unit 304. The server virtualization program 110 specifically permits the virtual server load information 401 and the physical server performance information 402 to be read from the management manager 209 operating on the virtual management server 112.

403は仮想サーバ管理モードフラグであり、物理サーバ100上の仮想サーバ111が自分が属する物理サーバ内にある仮想管理サーバで管理されているのか、他の物理サーバにある仮想管理サーバから管理されているのかを示すフラグが格納される。   Reference numeral 403 denotes a virtual server management mode flag. Whether the virtual server 111 on the physical server 100 is managed by a virtual management server in the physical server to which the virtual server 111 belongs or is managed from a virtual management server in another physical server. A flag indicating whether or not there is stored.

404は仮想サーバ情報テーブルであり、各仮想サーバに割り当てる物理サーバ100のCPU201、メモリ200のリソースの配分の情報が格納される。   Reference numeral 404 denotes a virtual server information table that stores information on resource allocation of the CPU 201 and memory 200 of the physical server 100 allocated to each virtual server.

405及び406にはそれぞれ、仮想管理サーバ112及び仮想サーバ111の使用する領域が割り当てられる。   Areas used by the virtual management server 112 and the virtual server 111 are allocated to 405 and 406, respectively.

図5はリソース管理部211の、仮想管理サーバ112で稼動する管理マネージャ209からの仮想サーバ負荷情報401と物理サーバ性能情報402の読み出し要求に対する処理手順を示す。   FIG. 5 shows a processing procedure of the resource management unit 211 in response to a read request for the virtual server load information 401 and the physical server performance information 402 from the management manager 209 operating on the virtual management server 112.

まず、管理マネージャ209からの仮想サーバ負荷情報401または、物理サーバ性能情報402の読み出し要求のコールを受け付ける(ステップ501)。ここで、読み出し要求のコールには、情報要求元である仮想管理サーバ112のIDと、読み出し要求対象が仮想サーバ負荷情報401の読み出し要求かまたは物理サーバ性能情報402の要求かを示すフラグを引数として与えている。   First, a call for reading the virtual server load information 401 or the physical server performance information 402 from the management manager 209 is accepted (step 501). Here, in the call for the read request, an ID of the virtual management server 112 that is the information request source, and a flag indicating whether the read request target is a read request for the virtual server load information 401 or a request for the physical server performance information 402 are arguments. As given.

次に、リソース管理部211は、情報要求元のIDから読み出し要求コールの要求元の判定を行う(ステップ502)。管理マネージャ209以外の他の仮想サーバからの要求の場合には、読み出しを行わずに処理を終了する。管理マネージャ209からの読み出し要求コールの場合は、次に、仮想サーバ負荷情報401の読み出し要求か、物理サーバ性能情報402の要求か、コールの引数から読み出したい情報の判定を行う(ステップ503、504)。仮想サーバ負荷情報401の読み出し要求の場合には、仮想サーバ負荷情報401のデータを、物理サーバ性能情報402の読み出し要求の場合には、物理サーバ性能情報402のデータをそれぞれ返信する(ステップ505、506)。   Next, the resource management unit 211 determines the request source of the read request call from the information request source ID (step 502). In the case of a request from a virtual server other than the management manager 209, the process is terminated without reading. In the case of a read request call from the management manager 209, next, it is determined whether the request to read the virtual server load information 401, the request for the physical server performance information 402, or information to be read from the call argument (steps 503 and 504). ). In the case of a read request of the virtual server load information 401, the data of the virtual server load information 401 is returned, and in the case of the read request of the physical server performance information 402, the data of the physical server performance information 402 is returned (step 505, 506).

仮想管理サーバ112で稼動する管理マネージャ209は、リソース管理部211から読み出した仮想サーバ負荷情報401と物理サーバ性能情報402を用いて、仮想サーバ111の負荷情報の管理を行い、仮想サーバの負荷の状況に応じて、仮想サーバに割り当てられる物理サーバ100のCPU201、メモリ200等のリソースの量の変更をサーバ仮想化プログラム110の仮想サーバ情報テーブル404に対して行い、ワークロード管理を行う。   The management manager 209 operating on the virtual management server 112 manages the load information of the virtual server 111 using the virtual server load information 401 and the physical server performance information 402 read from the resource management unit 211, and controls the load of the virtual server. Depending on the situation, the amount of resources such as the CPU 201 and the memory 200 of the physical server 100 allocated to the virtual server is changed in the virtual server information table 404 of the server virtualization program 110 to perform workload management.

図6は仮想サーバ情報テーブル404の詳細を示す。ここでは、2つの仮想サーバ1と仮想サーバ2が存在している場合の例で説明する。601は仮想サーバ名称欄である。602はメモリ容量設定欄、605はCPUリソース設定欄であり、ユーザまたは管理マネージャ209が指定する各仮想サーバに与えられるメモリ容量とCPUリソース配分の割合を示す。603、606は実際に仮想サーバに割り当てられるメモリ容量とCPUリソース配分を示す。604、607は、まだ割り当てられていないメモリ容量とCPUリソース配分(未割り当て)を示す。   FIG. 6 shows details of the virtual server information table 404. Here, an example in which two virtual servers 1 and 2 exist will be described. Reference numeral 601 denotes a virtual server name column. Reference numeral 602 denotes a memory capacity setting field, and reference numeral 605 denotes a CPU resource setting field, which indicates a memory capacity given to each virtual server designated by the user or the management manager 209 and a CPU resource allocation ratio. Reference numerals 603 and 606 indicate the memory capacity and CPU resource allocation actually allocated to the virtual server. Reference numerals 604 and 607 indicate memory capacity that has not yet been allocated and CPU resource allocation (unallocated).

ここで、ユーザまたは管理マネージャ209が指定するメモリ容量設定欄602、CPUリソース設定欄605と未割り当てのメモリ容量604、CPUリソース配分607との間には、(数1)式、(数2)式、(数3)式、(数4)式、(数5)式の関係がある。
(数1)
ma=100−(m1+m2)R
(数2)
0<m1+m2≦100
(数3)
ca=100−(c1+c2)R
(数4)
0<c1+c2≦100
(数5)
R=(0.9+0.1k)
ここで、(数5)式のkは、仮想サーバ管理モードフラグ403の値であり、仮想サーバ111が自分が属する物理サーバ内にある仮想管理サーバで管理されている場合にはk=0となり、他の物理サーバにある仮想管理サーバから管理されている場合にはk=1となる。仮想サーバ管理モードフラグ403の初期値としては、k=0が設定される。
Here, between the memory capacity setting field 602 and the CPU resource setting field 605 specified by the user or the manager 209 and the unallocated memory capacity 604 and the CPU resource allocation 607, (Equation 1), (Equation 2) There is a relationship of Formula (Formula 3), Formula (4), and Formula (5).
(Equation 1)
ma = 100- (m1 + m2) R
(Equation 2)
0 <m1 + m2 ≦ 100
(Equation 3)
ca = 100- (c1 + c2) R
(Equation 4)
0 <c1 + c2 ≦ 100
(Equation 5)
R = (0.9 + 0.1k)
Here, k in equation (5) is the value of the virtual server management mode flag 403, and k = 0 when the virtual server 111 is managed by a virtual management server in the physical server to which the virtual server 111 belongs. When managed from a virtual management server in another physical server, k = 1. As an initial value of the virtual server management mode flag 403, k = 0 is set.

例えば、仮想サーバ管理モードフラグ403により、仮想サーバ111が自分が属する物理サーバ内にある仮想管理サーバ112で管理されている場合(k=0)には、物理サーバ内のメモリ容量、CPUリソース配分のそれぞれの全体を100%とした場合に、m1=60%、m2=40%、c1=50%、c2=50%と、物理サーバ内の全て(100%)のリソースを指定した場合には、実際に仮想サーバに割り当てられるメモリ容量とCPUリソース配分は、m1R=54%(60%×0.9)、m2R=36%(40%×0.9)、c1R=45%(50%×0.9)、c2R=45%(50%×0.9)となり、未割り当てのメモリとCPUは、ma=10%、ca=10%となる。このma=10%、ca=10%が仮想管理サーバ112に割り当てられる。   For example, when the virtual server 111 is managed by the virtual management server 112 in the physical server to which the virtual server 111 belongs by the virtual server management mode flag 403 (k = 0), the memory capacity and CPU resource allocation in the physical server When all of these are 100%, m1 = 60%, m2 = 40%, c1 = 50%, c2 = 50% and all (100%) resources in the physical server are specified. The memory capacity and CPU resource allocation actually allocated to the virtual server are as follows: m1R = 54% (60% × 0.9), m2R = 36% (40% × 0.9), c1R = 45% (50% × 0.9), c2R = 45% (50% × 0.9), and unallocated memory and CPU have ma = 10% and ca = 10%. This ma = 10% and ca = 10% are allocated to the virtual management server 112.

次に、本実施例におけるメモリ、CPUリソースの設定方法を説明する。   Next, a method for setting memory and CPU resources in this embodiment will be described.

物理サーバ100が起動し、サーバ仮想化プログラム110が起動すると、サーバ仮想化プログラム110内の初期化処理部210が仮想サーバ111と仮想管理サーバ112を構築したり、物理サーバ100のCPU、メモリのリソースの仮想サーバ111と仮想管理サーバ112への割当量を設定する。   When the physical server 100 is activated and the server virtualization program 110 is activated, the initialization processing unit 210 in the server virtualization program 110 constructs the virtual server 111 and the virtual management server 112, and the CPU and memory of the physical server 100 The amount of resources allocated to the virtual server 111 and the virtual management server 112 is set.

図7は初期化処理部210によるメモリ、CPUリソースの設定方法のフローチャートである。   FIG. 7 is a flowchart of a memory and CPU resource setting method by the initialization processing unit 210.

まず、メモリ200にある仮想サーバ管理モードフラグ403を読み出す(ステップ701)。   First, the virtual server management mode flag 403 in the memory 200 is read (step 701).

次に、仮想サーバ情報テーブル404の値を(数1)から(数5)式の計算により決定し、仮想サーバ111と仮想管理サーバ112に割り当てるCPUとメモリのリソースを確保する(ステップ702)。   Next, the values of the virtual server information table 404 are determined by calculating the formulas (1) to (5), and CPU and memory resources allocated to the virtual server 111 and the virtual management server 112 are secured (step 702).

次に、仮想サーバ管理モードフラグ403の値の判定を行う(ステップ703)。仮想サーバ管理モードフラグ403の値がk=0の場合には、次に、仮想サーバ情報テーブル404の未割り当てのメモリ容量とCPUリソース配分604、607を仮想管理サーバ112に割り当て、仮想管理サーバ112の活性化を行う(ステップ704)。仮想サーバ管理モードフラグ403の値がk=1の場合には、ステップ704をスキップする。次に、メモリ容量とCPUリソース配分603、606を仮想サーバ111に割り当て、活性化を行う(ステップ705)。   Next, the value of the virtual server management mode flag 403 is determined (step 703). If the value of the virtual server management mode flag 403 is k = 0, then the unallocated memory capacity and CPU resource allocation 604 and 607 in the virtual server information table 404 are allocated to the virtual management server 112, and the virtual management server 112 Is activated (step 704). If the value of the virtual server management mode flag 403 is k = 1, step 704 is skipped. Next, the memory capacity and CPU resource allocation 603 and 606 are allocated to the virtual server 111 and activated (step 705).

物理サーバと仮想サーバが混在する環境での仮想サーバへの物理サーバのリソースの割当に関する制御。   Control related to allocation of physical server resources to virtual servers in an environment where both physical servers and virtual servers coexist.

本発明の第1の実施の形態の計算機システムを示す図である。It is a figure which shows the computer system of the 1st Embodiment of this invention. 本発明の第1の実施の形態の物理サーバのブロック図である。It is a block diagram of the physical server of the 1st Embodiment of this invention. 図2における初期化処理部とリソース管理部の構成を示す図である。It is a figure which shows the structure of the initialization process part and resource management part in FIG. 図2におけるメモリのデータの格納状態を示す図である。It is a figure which shows the storage state of the data of the memory in FIG. 図3におけるリソース管理部の処理手順を示す図である。It is a figure which shows the process sequence of the resource management part in FIG. 図4における仮想サーバ情報テーブル詳細を示す図である。It is a figure which shows the virtual server information table detail in FIG. 図3における初期化処理部の処理手順を示す図である。It is a figure which shows the process sequence of the initialization process part in FIG.

符号の説明Explanation of symbols

100…物理サーバ、110…サーバ仮想化プログラムラム、111…仮想サーバ、112…仮想管理サーバ、113…ネットワーク、114…クライアント端末、200…メモリ、201…CPU、202…ネットワークI/F、203…SCSI I/F、204…BMC、205…ハードディスク装置、206…ファームウェア、207…OS、208…負荷情報収集エージェント、209…管理マネージャ、210…初期化処理部、211…リソース管理部。   DESCRIPTION OF SYMBOLS 100 ... Physical server, 110 ... Server virtualization program ram, 111 ... Virtual server, 112 ... Virtual management server, 113 ... Network, 114 ... Client terminal, 200 ... Memory, 201 ... CPU, 202 ... Network I / F, 203 ... SCSI I / F, 204 ... BMC, 205 ... hard disk device, 206 ... firmware, 207 ... OS, 208 ... load information collection agent, 209 ... management manager, 210 ... initialization processing unit, 211 ... resource management unit.

Claims (3)

演算処理をするプロセッサと、前記プロセッサに接続されるメモリと、前記メモリに接続されるインタフェースとを備える複数の物理計算機と、前記物理計算機で稼動する複数の仮想計算機と、システムの管理用の仮想計算機が制御プログラムの制御下で動作する仮想計算機システムであって、
前記制御プログラムは、前記物理計算機で稼動する仮想計算機の負荷情報を収集し格納する仮想計算機負荷情報記憶手段と、前記物理計算機のCPU能力、メモリ容量を収集し格納する物理計算機性能情報記憶手段を備え、前記仮想計算機負荷情報記憶手段により格納された前記仮想計算機の負荷情報と前記物理計算機性能情報記憶手段により格納された前記物理計算機のCPU能力、メモリ容量を前記管理用の仮想計算機が読み出す手段を備えることを特徴とする仮想計算機システム。
A plurality of physical computers including a processor for performing arithmetic processing, a memory connected to the processor, and an interface connected to the memory, a plurality of virtual computers operating on the physical computer, and a virtual for system management A virtual computer system in which a computer operates under the control of a control program,
The control program includes virtual machine load information storage means for collecting and storing load information of a virtual machine operating on the physical computer, and physical computer performance information storage means for collecting and storing the CPU capacity and memory capacity of the physical computer. Means for reading the load information of the virtual machine stored by the virtual machine load information storage means and the CPU capacity and memory capacity of the physical computer stored by the physical computer performance information storage means by the management virtual machine A virtual computer system comprising:
前記読み出された仮想計算機の負荷情報に基づいて、前記管理用の仮想計算機は、前記仮想計算機に割り当てられる前記物理計算機のCPU能力、メモリ容量の割当率を変更することを特徴とする請求項1記載の仮想計算機システム。   The management virtual machine changes a CPU capacity and a memory capacity allocation rate of the physical machine allocated to the virtual machine based on the read load information of the virtual machine. 1. The virtual machine system according to 1. 前記制御プログラムは、前記管理用の仮想計算機に割り当てられる前記物理計算機のCPU能力、メモリ容量の割当率を優先的に確保する手段を備えることを特徴とする請求項1記載の仮想計算機システム。   The virtual computer system according to claim 1, wherein the control program includes means for preferentially securing a CPU capacity and a memory capacity allocation rate of the physical computer allocated to the management virtual computer.
JP2008188067A 2008-07-22 2008-07-22 Method for controlling virtual computer Pending JP2010026828A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008188067A JP2010026828A (en) 2008-07-22 2008-07-22 Method for controlling virtual computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008188067A JP2010026828A (en) 2008-07-22 2008-07-22 Method for controlling virtual computer

Publications (1)

Publication Number Publication Date
JP2010026828A true JP2010026828A (en) 2010-02-04

Family

ID=41732599

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008188067A Pending JP2010026828A (en) 2008-07-22 2008-07-22 Method for controlling virtual computer

Country Status (1)

Country Link
JP (1) JP2010026828A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015165406A (en) * 2010-10-13 2015-09-17 ゼットティーイー (ユーエスエー) インコーポレイテッド System and method for multimedia multi-party peering (m2p2)
JP2016025364A (en) * 2014-07-16 2016-02-08 株式会社東芝 Function provision device and function provision program
JP5867499B2 (en) * 2011-03-01 2016-02-24 日本電気株式会社 Virtual server system, management server device, and system management method
JP2019185749A (en) * 2018-03-30 2019-10-24 ザ・ボーイング・カンパニーTheBoeing Company Virtualized avionics systems for operational environments

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015165406A (en) * 2010-10-13 2015-09-17 ゼットティーイー (ユーエスエー) インコーポレイテッド System and method for multimedia multi-party peering (m2p2)
JP2017062827A (en) * 2010-10-13 2017-03-30 ゼットティーイー (ユーエスエー) インコーポレイテッド System and method for multimedia multi-party peering (m2p2)
JP5867499B2 (en) * 2011-03-01 2016-02-24 日本電気株式会社 Virtual server system, management server device, and system management method
US9461933B2 (en) 2011-03-01 2016-10-04 Nec Corporation Virtual server system, management server device, and system managing method
JP2016025364A (en) * 2014-07-16 2016-02-08 株式会社東芝 Function provision device and function provision program
JP2019185749A (en) * 2018-03-30 2019-10-24 ザ・ボーイング・カンパニーTheBoeing Company Virtualized avionics systems for operational environments
JP7427366B2 (en) 2018-03-30 2024-02-05 ザ・ボーイング・カンパニー Virtualized avionics system for production environments

Similar Documents

Publication Publication Date Title
EP3036625B1 (en) Virtual hadoop manager
US9183016B2 (en) Adaptive task scheduling of Hadoop in a virtualized environment
JP4519098B2 (en) Computer management method, computer system, and management program
US9304803B2 (en) Cooperative application workload scheduling for a consolidated virtual environment
JP5577412B2 (en) Computer system, migration method and management server
JP4240062B2 (en) Computer system, performance measurement method, and management server device
JP5117120B2 (en) Computer system, method and program for managing volume of storage device
US8291430B2 (en) Optimizing system performance using spare cores in a virtualized environment
JP5400482B2 (en) Management computer, resource management method, resource management program, recording medium, and information processing system
US10191771B2 (en) System and method for resource management
EP2418578A1 (en) A computer system, resource management server of a computer system, and resource management method of a computer system
WO2012056596A1 (en) Computer system and processing control method
JP2001331333A (en) Computer system and method for controlling computer system
US8332611B2 (en) Method and system for managing memory
US8677374B2 (en) Resource management in a virtualized environment
JP2006350780A (en) Cache allocation control method
KR102513961B1 (en) Electronic Device having Multiple Operating Systems and Dynamic Memory Management Method thereof
JP2011186701A (en) Resource allocation apparatus, resource allocation method and resource allocation program
JP5151509B2 (en) Virtual machine system and virtual machine distribution method used therefor
CN107528871B (en) Data analysis in storage systems
JP2010026828A (en) Method for controlling virtual computer
US20230195335A1 (en) Optimizing memory to storage capacity division on a dc persistent memory module (dcpmm) in mixed mode
WO2020234917A1 (en) Virtualization base control device, virtualization base control method, and virtualization base control program
JP2014157476A (en) Measurement device and measurement method