JP2012216008A - Virtual computer device and method for controlling virtual computer device - Google Patents

Virtual computer device and method for controlling virtual computer device Download PDF

Info

Publication number
JP2012216008A
JP2012216008A JP2011080023A JP2011080023A JP2012216008A JP 2012216008 A JP2012216008 A JP 2012216008A JP 2011080023 A JP2011080023 A JP 2011080023A JP 2011080023 A JP2011080023 A JP 2011080023A JP 2012216008 A JP2012216008 A JP 2012216008A
Authority
JP
Japan
Prior art keywords
virtual machine
resource usage
virtual
application
monitoring
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
JP2011080023A
Other languages
Japanese (ja)
Inventor
Toshikazu Watanabe
年和 渡辺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2011080023A priority Critical patent/JP2012216008A/en
Publication of JP2012216008A publication Critical patent/JP2012216008A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To suppress a sprawl phenomenon in which virtual machines disorderly expand in a virtual computer system, and provide flexible management of available resources.SOLUTION: A method for controlling a virtual computer device includes: monitoring resource use states of virtual machines operating in the virtual computer device and applications operating in the virtual machines; and automatically performing changing resource allocation among the virtual machines according to a preset policy, and saving or deleting the virtual machines. When an abnormal condition is detected in the monitored resource use states, for example, a condition change action is to be executed on the corresponding virtual machine.

Description

本発明は仮想計算機装置に関する。   The present invention relates to a virtual machine device.

近年、ハードウェア資源の有効活用、設置スペースや消費電力のコスト削減、柔軟かつ迅速なビジネスニーズへの対応等多様化するITインフラニーズへの対応策として仮想化技術が導入されている。また、今後大きな市場拡大が期待されるクラウドコンピューティングにおける要素技術としても仮想化技術が利用されている。VMware(商標)、Hyper−V(商標)、XenServer(商標)といった仮想化基盤製品においても、仮想マシンのプロビジョニングやセルフサービスポータル等容易に仮想化環境を構築できるような様々な機能が提供されている。   In recent years, virtualization technology has been introduced as a countermeasure for diversifying IT infrastructure needs such as effective utilization of hardware resources, cost reduction of installation space and power consumption, and flexible and quick response to business needs. In addition, virtualization technology is used as an elemental technology in cloud computing, which is expected to expand significantly in the future. Virtual infrastructure products such as VMware (trademark), Hyper-V (trademark), and XenServer (trademark) also provide various functions that allow easy construction of virtual environments such as provisioning of virtual machines and self-service portals. Yes.

特許文献1には、仮想マシン上で動作するアプリケーションをリアルタイムに監視し、アプリケーションおよび仮想マシンの優先順位に応じて動的に仮想マシンへのリソース割当てを実行する方法が提案されている。   Patent Document 1 proposes a method of monitoring an application running on a virtual machine in real time and dynamically allocating resources to the virtual machine according to the priority order of the application and the virtual machine.

特開2009−181578号公報JP 2009-181578 A

従来の仮想計算機システムでは、仮想マシンの複製やテンプレートからのプロビジョニング等の機能により容易に仮想マシンを作成することが可能である為、適切な設計及び管理をおこなわずに仮想化を進めることにより、仮想マシンが無秩序に増殖してしまうスプロール現象が発生し、適切に仮想マシンの管理がおこなえない状態に陥るとともに、利用可能なリソースを無駄に消費してしまう問題がある。しかしながら、不要な仮想マシンにも動作中のアプリケーションがあれば優先順位に応じたリソースが割当てられる為、仮想マシンのスプロール現象を抑える効果はなく、リソースの無駄な消費を抑制することはできない。   In conventional virtual machine systems, it is possible to easily create virtual machines with functions such as virtual machine duplication and provisioning from templates, so by proceeding with virtualization without proper design and management, A sprawl phenomenon in which virtual machines proliferate randomly occurs, resulting in a state in which virtual machines cannot be properly managed, and there is a problem in that available resources are wasted. However, if there is an application running even in an unnecessary virtual machine, resources according to the priority order are allocated. Therefore, there is no effect of suppressing the sprawl phenomenon of the virtual machine, and wasteful consumption of resources cannot be suppressed.

本発明は、かかる実情に鑑み、仮想計算機システムにおける仮想マシンが無秩序に増殖するスプロール現象を抑制し、利用可能なリソースの柔軟な管理を提供しようとするものである。   In view of such circumstances, the present invention is intended to suppress the sprawl phenomenon in which virtual machines in a virtual machine system proliferate in a disorderly manner and to provide flexible management of available resources.

本発明の一実施形態に係る発明は、仮想計算機装置上で動作する仮想マシンおよび仮想マシン上で動作するアプリケーションのリソース使用状況を監視し、事前設定ポリシーに従い仮想マシンへのリソース配分の変更、仮想マシンの保存、削除を自動的におこなう。   The invention according to an embodiment of the present invention monitors the resource usage status of a virtual machine running on a virtual machine device and an application running on the virtual machine, changes resource allocation to the virtual machine according to a preset policy, Automatically save and delete machines.

他の一実施形態に係る発明は、仮想計算機装置上の仮想マシン上で動作するアプリケーションを有する仮想計算機装置において、仮想マシンおよびアプリケーションのリソース使用状況を監視し、事前設定ポリシーに従い有効に利用されていない仮想マシンを検出した場合、仮想マシンへのリソース配分の変更、仮想マシンの停止、保存、削除を自動実行することにより、問題のある仮想マシンを容易に識別可能にするとともに、仮想計算機システムリソースの無駄な消費を抑制し、有効に再利用する為の手段を提供する。   The invention according to another embodiment is used effectively in accordance with a preset policy in a virtual machine device having an application running on a virtual machine on the virtual machine device, monitoring the resource usage status of the virtual machine and the application. If a virtual machine that does not exist is detected, it is possible to easily identify the problematic virtual machine by automatically changing the resource allocation to the virtual machine, stopping, saving, and deleting the virtual machine. A means for suppressing wasteful consumption and effectively reusing it is provided.

また、他の一実施形態に係る発明は、仮想マシンのリソース使用量に応じた動的なリソース再配分や仮想マシンの再配置は、必要とする仮想マシンに対しては有効な手段であるが、不要とする仮想マシンに対しても使用量に応じたリソースが割当てられ続けることになり、リソースの無駄な消費が生じ、仮想マシンのスプロールも抑制できない。本発明では、ポリシーおよびリソース使用状況をベースに不要な仮想マシンを検出し、仮想マシンのリソース再配分だけではなく、停止、削除、保存といったアクションを提供することにより、仮想マシンのスプロール現象の効果的な抑制を実現する。   In the invention according to another embodiment, dynamic resource reallocation according to virtual machine resource usage and virtual machine relocation are effective means for a required virtual machine. Therefore, resources corresponding to the amount of use continue to be allocated to unnecessary virtual machines, resulting in wasteful consumption of resources and preventing sprawl of virtual machines. In the present invention, unnecessary virtual machines are detected based on policies and resource usage statuses, and not only the reallocation of virtual machine resources but also actions such as stop, delete, and save are provided. Real control.

本発明の仮装計算機システムによれば、仮想計算機システムにおける仮想マシンが無秩序に増殖するスプロール現象を抑制し、利用可能なリソースの柔軟な管理を提供する。仮想マシンおよびアプリケーションレベルでリソース使用状況を監視することにより、柔軟かつきめ細やかに仮想マシンの正常/異常判定が可能になる。また、事前設定ポリシーに従い異常な仮想マシンへのリソース配分の変更、仮想マシンの停止、保存、削除を自動実行することにより、無駄に消費されているリソースを効率良く解放し、効果的に再利用することが可能になる。   According to the virtual machine system of the present invention, the sprawl phenomenon in which virtual machines in a virtual machine system proliferate randomly is suppressed, and flexible management of available resources is provided. By monitoring the resource usage status at the virtual machine and application level, it is possible to determine whether the virtual machine is normal or abnormal flexibly and finely. In addition, resource allocation to abnormal virtual machines is automatically changed according to a preset policy, and virtual machines are automatically stopped, saved, and deleted, so that wasted resources are efficiently released and reused effectively. It becomes possible to do.

本発明の一実施形態に係る仮想計算機システムの概略構成を示すブロック図である。1 is a block diagram illustrating a schematic configuration of a virtual machine system according to an embodiment of the present invention. 本実施例における仮想計算機装置100の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the virtual machine apparatus 100 in a present Example. 本実施例におけるアプリケーション監視モジュール122の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the application monitoring module 122 in a present Example. 本実施例におけるアプリケーション情報収集モジュール113の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the application information collection module 113 in a present Example. 本実施例における仮想マシン監視モジュール112の動作を示すフローチャートである。It is a flowchart which shows operation | movement of the virtual machine monitoring module 112 in a present Example. 本実施例におけるポリシー制御モジュール114の情報取得の動作を示すフローチャートである。It is a flowchart which shows the operation | movement of the information acquisition of the policy control module 114 in a present Example. 本実施例において、アプリケーション123の異常状態検出時におけるポリシー制御モジュール114のリソース解放の動作を示すフローチャートである。FIG. 11 is a flowchart illustrating resource release operation of the policy control module 114 when an abnormal state of the application 123 is detected in the present embodiment. 本実施例において、仮想マシン120の異常状態検出時におけるポリシー制御モジュール114のリソース解放の動作を示すフローチャートを示す。9 is a flowchart illustrating resource release operation of the policy control module 114 when an abnormal state of the virtual machine 120 is detected in the present embodiment.

以下、本発明の実施の形態について図面を参照しつつ詳細に説明する。なお、同一の要素には同一の符号を付し、重複する説明を省略する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In addition, the same code | symbol is attached | subjected to the same element and the overlapping description is abbreviate | omitted.

図1は、本発明の一実施形態に係る仮想計算機システムの概略構成を示すブロック図である。図2は、本実施例における仮想計算機装置100の機能構成を示すブロック図である。図1に示すように、仮想計算機装置100は、管理用仮想マシン110と、仮想マシン120とを含んで構成され、履歴情報データベース200及びポリシー情報データベース300と、ネットワークを介して接続されている。また、図2に示すように、管理用仮想マシン110は、OS(オペレーティング・システム)111、仮想マシン監視モジュール112、アプリケーション情報収集モジュール113、及び、ポリシー制御モジュール114を含んで構成される。仮想マシン120は、OS121、アプリケーション監視モジュール122、及び、任意数のアプリケーション123を含んで構成される。仮想マシン120、アプリケーションの数は一例であり、さらに多くの仮想計算機装置100、仮想マシン120、アプリケーション123を備えていてもよい。仮想マシン監視モジュール112とアプリケーション監視モジュール122をあわせて、単に監視モジュールという。   FIG. 1 is a block diagram showing a schematic configuration of a virtual machine system according to an embodiment of the present invention. FIG. 2 is a block diagram illustrating a functional configuration of the virtual machine device 100 according to the present embodiment. As shown in FIG. 1, the virtual machine device 100 includes a management virtual machine 110 and a virtual machine 120, and is connected to a history information database 200 and a policy information database 300 via a network. As shown in FIG. 2, the management virtual machine 110 includes an OS (Operating System) 111, a virtual machine monitoring module 112, an application information collection module 113, and a policy control module 114. The virtual machine 120 includes an OS 121, an application monitoring module 122, and an arbitrary number of applications 123. The number of virtual machines 120 and applications is an example, and more virtual machine apparatuses 100, virtual machines 120, and applications 123 may be provided. The virtual machine monitoring module 112 and the application monitoring module 122 are simply referred to as a monitoring module.

本実施例における仮想計算機システムは、仮想計算機装置100上の仮想マシン上で動作するアプリケーションを有する仮想計算機装置100、リソース使用データおよび仮想マシンの状態変更履歴を格納する履歴情報データベース200、事前設定されたポリシー情報を格納するポリシー情報データベース300を備え、仮想計算機装置において、リソース使用状況監視、仮想マシンへのリソース配分の変更、仮想マシンの停止、保存、削除機能を提供する。   The virtual machine system in this embodiment includes a virtual machine apparatus 100 having an application that operates on a virtual machine on the virtual machine apparatus 100, a history information database 200 that stores resource usage data and a state change history of the virtual machine, and is preset. The policy information database 300 for storing the policy information is provided, and the virtual machine apparatus provides functions for monitoring resource usage, changing resource allocation to virtual machines, stopping, saving, and deleting virtual machines.

管理用仮想マシン110は、仮想計算機装置100上で動作する。一又は複数の仮想マシン120も、仮想計算機装置100上で動作する。なお、図1では、仮想計算機装置100上で2つの仮想マシン120が動作する例を示しているが、仮想計算機装置100上で動作する仮想マシンは2つに限定されず、任意の数の仮想マシンを動作させることができる。   The management virtual machine 110 operates on the virtual computer device 100. One or more virtual machines 120 also operate on the virtual computer apparatus 100. FIG. 1 shows an example in which two virtual machines 120 operate on the virtual computer apparatus 100, but the number of virtual machines operating on the virtual computer apparatus 100 is not limited to two, and an arbitrary number of virtual machines The machine can be operated.

仮想計算機装置100上で動作する各仮想マシン120上のアプリケーション監視モジュール122が、仮想マシン上のOS121と連携し仮想マシン上で動作する各アプリケーション123のリソース使用状況を監視する。なお、各仮想マシン上で動作するアプリケーションの数は2つに限定されず、仮想マシンごとに任意の数のアプリケーションを動作させることができる。   The application monitoring module 122 on each virtual machine 120 operating on the virtual machine device 100 monitors the resource usage status of each application 123 operating on the virtual machine in cooperation with the OS 121 on the virtual machine. Note that the number of applications operating on each virtual machine is not limited to two, and an arbitrary number of applications can be operated for each virtual machine.

また、仮想計算機装置100上で動作する管理用仮想マシン110上のアプリケーション情報収集モジュール113が、各仮想マシン120上のアプリケーション監視モジュール122からアプリケーション123のリソース使用データを取得し、定期的に履歴情報データベース200へ格納する。   In addition, the application information collection module 113 on the management virtual machine 110 operating on the virtual machine device 100 acquires the resource usage data of the application 123 from the application monitoring module 122 on each virtual machine 120, and periodically records the history information. Store in database 200.

管理用仮想マシン110上の仮想マシン監視モジュール112は、管理用仮想マシン110上のOS111または仮想マシンモニタとの連携等により仮想計算機装置100上の各仮想マシン120のリソース使用状況を監視し、監視の結果取得したリソース使用状況に基づいて、履歴情報データベース200へ仮想マシンのリソース使用データを定期的に格納する。   The virtual machine monitoring module 112 on the management virtual machine 110 monitors the resource usage status of each virtual machine 120 on the virtual machine device 100 by cooperating with the OS 111 on the management virtual machine 110 or the virtual machine monitor. Based on the resource usage status acquired as a result of the above, the resource usage data of the virtual machine is periodically stored in the history information database 200.

管理用仮想マシン110上のポリシー制御モジュール114が、履歴情報データベース200からリソース使用データを定期的に読み出して取得する。さらに、同ポリシー制御モジュール114が、ポリシー情報データベース300から事前設定ポリシー情報を定期的に取得する。   The policy control module 114 on the management virtual machine 110 periodically reads and acquires the resource usage data from the history information database 200. Further, the policy control module 114 periodically acquires preset policy information from the policy information database 300.

ポリシー情報データベース300に格納される事前設定ポリシーには、各仮想マシン、アプリケーションのリソース使用状況監視の有効/無効、リソース使用状況監視が有効の場合のリソース使用のしきい値、評価期間、管理者メールアドレス、仮想マシンに対する状態変更アクションの実行オプションとして、仮想マシンへのリソース配分の変更、仮想マシンの停止、保存、削除を含む。   The preset policies stored in the policy information database 300 include the virtual machine and application resource usage monitoring enabled / disabled, the resource usage threshold when the resource usage monitoring is enabled, the evaluation period, the administrator Options for executing the status change action for the email address and virtual machine include changing the resource allocation to the virtual machine, stopping, saving, and deleting the virtual machine.

管理用仮想マシン110上のポリシー制御モジュール114が、履歴情報データベース200から取得したリソース使用データ及びポリシー情報データベース300から取得した事前設定ポリシー情報に基づき、リソース使用状況監視対象の各仮想マシン、アプリケーションのリソース使用の正常/異常を判断する。   Based on the resource usage data acquired from the history information database 200 and the preset policy information acquired from the policy information database 300 by the policy control module 114 on the management virtual machine 110, each virtual machine and application of the resource usage status monitoring target Determine normal / abnormal resource usage.

もし管理用仮想マシン110上のポリシー制御モジュール114が、アプリケーションリソース使用のしきい値を下回る異常状態を検出した場合、事前設定ポリシーに基づき、ポリシー制御モジュール114が管理者メールアドレスに警告メールを発信し、仮想マシンへのリソース配分の変更、仮想マシンの停止、保存、削除といった仮想マシンに対する状態変更アクションを実行することにより、無駄に消費されているリソースを解放する。   If the policy control module 114 on the management virtual machine 110 detects an abnormal state that falls below the application resource usage threshold, the policy control module 114 sends a warning email to the administrator email address based on the preset policy. Then, by executing state change actions for the virtual machine such as changing the resource allocation to the virtual machine, stopping, saving, and deleting the virtual machine, the resources that are wasted are released.

もし管理用仮想マシン110上のポリシー制御モジュール114が、仮想マシンリソース使用のしき値を下回る異常状態を検出した場合、事前設定ポリシーに基づき、ポリシー制御モジュール114が管理者メールアドレスに警告メールを発信し、仮想マシンへのリソース配分の変更、仮想マシンの停止、保存、削除といった仮想マシンに対する状態変更アクションを実行することにより、無駄に消費されているリソースを解放する。   If the policy control module 114 on the management virtual machine 110 detects an abnormal state that is below the threshold for using virtual machine resources, the policy control module 114 sends a warning email to the administrator email address based on the preset policy. Then, by executing state change actions for the virtual machine such as changing the resource allocation to the virtual machine, stopping, saving, and deleting the virtual machine, the resources that are wasted are released.

仮想マシン120に対する状態変更アクションである仮想マシンのリソース配分の変更は、仮想マシン120へのリソース配分を最小限に変更する。仮想マシンの停止は、仮想マシン120をシャットダウンする。仮想マシンの削除は、仮想マシン120をシャットダウン後仮想計算機装置100上から削除する。仮想マシンの保存は、仮想マシン120をシャットダウンし履歴情報データベース200へエクスポート後仮想計算機装置上から削除する。ポリシー制御モジュールが状態変更アクションの実行情報を履歴情報データベース200に格納する。   Changing the resource allocation of the virtual machine, which is a state change action for the virtual machine 120, changes the resource allocation to the virtual machine 120 to the minimum. Stopping the virtual machine shuts down the virtual machine 120. To delete a virtual machine, the virtual machine 120 is deleted from the virtual machine device 100 after being shut down. To save the virtual machine, the virtual machine 120 is shut down, exported to the history information database 200, and then deleted from the virtual computer apparatus. The policy control module stores state change action execution information in the history information database 200.

次に、本実施例における動作について示す。   Next, the operation in this embodiment will be described.

図1及び図2において、仮想計算機装置100上の仮想マシン120上で動作するアプリケーション監視モジュール122が、同仮想マシン上で動作するアプリケーション123のリソース使用状況を監視する。仮想計算機装置100上の管理用仮想マシン110上で動作するアプリケーション情報収集モジュール113が、アプリケーション監視モジュール122からアプリケーションのリソース使用データを取得し、履歴情報データベース200に格納する。   1 and 2, the application monitoring module 122 operating on the virtual machine 120 on the virtual computer device 100 monitors the resource usage status of the application 123 operating on the virtual machine. The application information collection module 113 operating on the management virtual machine 110 on the virtual computer apparatus 100 acquires application resource usage data from the application monitoring module 122 and stores it in the history information database 200.

図3は、本実施例におけるアプリケーション監視モジュール122の動作を示すフローチャートである。アプリケーション監視モジュール122は、まず、仮想マシン120上のアプリケーション123のリソース使用状況を監視する(301)。監視の結果得られたリソース使用状況に基づいて、アプリケーション監視モジュール122は、アプリケーション情報収集モジュール113にアプリケーション123のリソース使用データを提供する(302)。   FIG. 3 is a flowchart showing the operation of the application monitoring module 122 in this embodiment. The application monitoring module 122 first monitors the resource usage status of the application 123 on the virtual machine 120 (301). Based on the resource usage status obtained as a result of the monitoring, the application monitoring module 122 provides the resource usage data of the application 123 to the application information collection module 113 (302).

図4は、本実施例におけるアプリケーション情報収集モジュール113の動作を示すフローチャートである。アプリケーション情報収集モジュール113は、アプリケーション監視モジュール122からアプリケーション123のリソース使用データを取得すると(401)、取得したアプリケーション123のリソース使用データを、履歴情報データベース200に格納する(402)。   FIG. 4 is a flowchart showing the operation of the application information collection module 113 in this embodiment. When the application information collection module 113 acquires the resource usage data of the application 123 from the application monitoring module 122 (401), it stores the acquired resource usage data of the application 123 in the history information database 200 (402).

図5は、本実施例における仮想マシン監視モジュール112の動作を示すフローチャートである。仮想マシン監視モジュール112は、仮想マシン120のリソース使用状況を監視する(501)。そして、監視の結果得られた仮想マシン120のリソース使用状況に基づいて、リソース使用データを履歴情報データベース200に格納する(502)。   FIG. 5 is a flowchart showing the operation of the virtual machine monitoring module 112 in this embodiment. The virtual machine monitoring module 112 monitors the resource usage status of the virtual machine 120 (501). Based on the resource usage status of the virtual machine 120 obtained as a result of the monitoring, the resource usage data is stored in the history information database 200 (502).

図6は、本実施例におけるポリシー制御モジュール114の情報取得の動作を示すフローチャートである。管理用仮想マシン110上で動作するポリシー制御モジュール114は、履歴情報データベース200からリソース使用データを取得する(601)。そして、ポリシー制御モジュール114は、ポリシー情報データベース300から事前設定ポリシー情報を取得し、監視対象の仮想マシンまたはアプリケーションのリソース使用が正常状態であるか異常状態であるかを検出する(602)。   FIG. 6 is a flowchart showing the information acquisition operation of the policy control module 114 in this embodiment. The policy control module 114 operating on the management virtual machine 110 acquires resource usage data from the history information database 200 (601). Then, the policy control module 114 acquires the preset policy information from the policy information database 300, and detects whether the resource usage of the monitored virtual machine or application is normal or abnormal (602).

図7は、本実施例において、アプリケーション123の異常状態検出時におけるポリシー制御モジュール114のリソース解放の動作を示すフローチャートである。ポリシー制御モジュール114は、まず、仮想マシン120上にリソース使用状況監視対象に設定されたアプリケーションが存在するか否かを判断する(701)。リソース使用状況監視対象に設定された各アプリケーション123に対しては、各アプリケーション123が動作する仮想マシン120上のアプリケーション監視モジュール122が、当該各アプリケーション123のリソース使用状況を監視し、監視により取得したリソース使用状況に基づいて、各アプリケーション123のリソース使用が正常状態であるか、あるいは異常状態であるかを判断する(702)。   FIG. 7 is a flowchart showing the resource release operation of the policy control module 114 when an abnormal state of the application 123 is detected in this embodiment. The policy control module 114 first determines whether or not there is an application set as a resource usage monitoring target on the virtual machine 120 (701). For each application 123 set as a resource usage monitoring target, the application monitoring module 122 on the virtual machine 120 on which each application 123 operates monitors the resource usage status of each application 123 and acquires it by monitoring. Based on the resource usage status, it is determined whether the resource usage of each application 123 is normal or abnormal (702).

ポリシー制御モジュール114が、仮想マシン120上で動作するリソース使用状況監視対象アプリケーション123のリソース使用のしきい値を下回る異常状態を検出した場合、ポリシー情報データベース300から取得した事前設定ポリシーに基づき、ポリシー制御モジュール114は、管理者のメールアドレスに警告メールを発信する(703)。そして、ポリシー制御モジュール114は、仮想マシン120に対して状態変更アクションを実行することにより、無駄に消費されているリソースを解放する。また、ポリシー制御モジュール114は、状態変更アクションの実行情報を履歴情報データベース200に格納する(704)。状態変更アクションとしては、仮想マシン120へのリソース配分の変更、仮想マシンの停止、保存、削除が含まれる。   When the policy control module 114 detects an abnormal state that is lower than the resource usage threshold value of the resource usage monitoring target application 123 operating on the virtual machine 120, the policy control module 114 executes the policy based on the preset policy acquired from the policy information database 300. The control module 114 sends a warning mail to the administrator's mail address (703). Then, the policy control module 114 performs a state change action on the virtual machine 120 to release resources that are wasted. Further, the policy control module 114 stores the execution information of the state change action in the history information database 200 (704). The state change action includes changing the resource allocation to the virtual machine 120, stopping, saving, and deleting the virtual machine.

図8は、本実施例において、仮想マシン120の異常状態検出時におけるポリシー制御モジュール114のリソース解放の動作を示すフローチャートを示す。ポリシー制御モジュール114は、まず、仮想マシン120がリソース使用状況監視対象に設定されているか否かを判断する(801)。リソース使用状況監視対象に設定された各仮想マシン120に対しては、管理用仮想マシン110条の仮想マシン監視モジュール112が、当該各仮想マシン120のリソース使用状況を監視し、監視により取得したリソース使用状況に基づいて、各仮想マシン120のリソース使用が正常状態であるか、あるいは異常状態であるかを判断する(802)。   FIG. 8 is a flowchart showing the resource release operation of the policy control module 114 when an abnormal state of the virtual machine 120 is detected in this embodiment. The policy control module 114 first determines whether or not the virtual machine 120 is set as a resource usage monitoring target (801). For each virtual machine 120 set as a resource usage monitoring target, the virtual machine monitoring module 112 of the management virtual machine 110 monitors the resource usage status of each virtual machine 120, and the resource acquired by monitoring Based on the usage status, it is determined whether the resource usage of each virtual machine 120 is normal or abnormal (802).

ポリシー制御モジュール114が、リソース使用状況監視対象の仮想マシン120のリソース使用のしきい値を下回る異常状態を検出した場合、ポリシー情報データベース300から取得した事前設定ポリシーに基づき、ポリシー制御モジュール114は、管理者のメールアドレスに警告メールを発信する(803)。そして、ポリシー制御モジュール114は、仮想マシン120に対して状態変更アクションを実行することにより、無駄に消費されているリソースを解放する。また、ポリシー制御モジュール114は、状態変更アクションの実行情報を履歴情報データベース200に格納する(804)。   When the policy control module 114 detects an abnormal state that is lower than the resource usage threshold of the virtual machine 120 subject to resource usage monitoring, based on the preset policy acquired from the policy information database 300, the policy control module 114 A warning mail is sent to the administrator's mail address (803). Then, the policy control module 114 performs a state change action on the virtual machine 120 to release resources that are wasted. Further, the policy control module 114 stores the execution information of the state change action in the history information database 200 (804).

なお、本発明は、上記した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲内において、他の様々な形で実施することができる。このため、上記実施形態はあらゆる点で単なる例示にすぎず、限定的に解釈されるものではない。例えば、上述の各処理ステップは処理内容に矛盾を生じない範囲で任意に順番を変更して又は並列に実行することができる。   The present invention is not limited to the above-described embodiment, and can be implemented in various other forms without departing from the gist of the present invention. For this reason, the said embodiment is only a mere illustration in all points, and is not interpreted limitedly. For example, the above-described processing steps can be executed in any order or in parallel as long as there is no contradiction in the processing contents.

例えば、他の実施例としては、ポリシー情報データベース300に格納される事前設定ポリシーとして、スプロールVM(バーチャル・マシン)集合サーバとなる仮想計算機装置情報を追加してもよい。本ポリシーに従いポリシー制御モジュールが異常検出した仮想マシンをスプロールVM集合サーバに移動させることにより、異常な仮想マシンの識別が容易となり調査やアクションの実行等迅速かつ効率的に一元管理がおこなえるようになる。   For example, as another embodiment, virtual computer apparatus information that becomes a sprawl VM (virtual machine) aggregate server may be added as a preset policy stored in the policy information database 300. By moving the virtual machine in which the policy control module detects an abnormality according to this policy to the sprawl VM collection server, the abnormal virtual machine can be easily identified and centralized management such as investigation and action execution can be performed quickly and efficiently. .

上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限
られない。
A part or all of the above-described embodiment can be described as in the following supplementary notes, but is not limited thereto.

(付記1)仮想マシンと、仮想マシン上で動作するアプリケーションと、前記仮想マシンまたは前記アプリケーションのリソース使用状況を監視する監視モジュールと、前記監視により取得されたリソース使用状況に基づいて、当該監視対象の仮想マシンまたはアプリケーションのリソース使用状況が異常状態であるか否かを検出し、異常状態を検出した場合、前記仮想マシンに対して状態変更アクションを実行するポリシー制御モジュールと、を備える仮想計算機装置である。   (Additional remark 1) Based on the virtual machine, the application which operate | moves on a virtual machine, the monitoring module which monitors the resource usage status of the said virtual machine or the said application, the said monitoring object based on the resource usage status acquired by the said monitoring A virtual machine device comprising: a policy control module that detects whether or not the resource usage status of the virtual machine or application is in an abnormal state and executes a state change action on the virtual machine when the abnormal state is detected It is.

(付記2)前記状態変更アクションは、仮想マシンへのリソース配分の変更、仮想マシンの停止、仮想マシンの保存、または仮想マシンの削除のうち少なくとも1つを含むことを特徴とする付記1に記載の仮想計算機装置である。   (Additional remark 2) The said state change action contains at least 1 among the change of the resource allocation to a virtual machine, the stop of a virtual machine, the preservation | save of a virtual machine, or the deletion of a virtual machine, The additional note 1 characterized by the above-mentioned. Virtual computer apparatus.

(付記3)前記事前設定ポリシーは、ポリシー情報データベースから取得することを特徴とする付記1または2に記載の仮想計算機装置である。   (Supplementary note 3) The virtual machine apparatus according to Supplementary note 1 or 2, wherein the preset policy is acquired from a policy information database.

(付記4)前記監視モジュールは、監視により取得されたリソース使用状況に関するデータを、履歴情報データベースに格納し、前記ポリシー制御モジュールは、前記履歴情報データベースから、リソース使用状況に関するデータを読み出して取得する、ことを特徴とする付記1乃至3のいずれかに記載の仮想計算機装置である。   (Additional remark 4) The said monitoring module stores the data regarding the resource usage condition acquired by monitoring in a historical information database, The said policy control module reads and acquires the data regarding a resource usage condition from the said historical information database The virtual machine device according to any one of appendices 1 to 3, characterized in that:

(付記5)仮想計算機装置上の仮想マシンまたは前記仮想マシン上で動作するアプリケーションのリソースを管理する方法であって、前記仮想マシンまたは前記アプリケーションのリソース使用状況を監視するステップと、前記監視により取得されたリソース使用状況に基づいて、当該監視対象の仮想マシンまたはアプリケーションのリソース使用状況が異常状態であるか否かを検出するステップと、異常状態を検出した場合、前記仮想マシンに対して状態変更アクションを実行するステップと、を備える方法である。   (Supplementary note 5) A method of managing resources of a virtual machine on a virtual machine device or an application operating on the virtual machine, the step of monitoring resource usage of the virtual machine or the application, and obtaining by the monitoring A step of detecting whether or not the resource usage status of the monitored virtual machine or application is in an abnormal state based on the determined resource usage status, and if an abnormal status is detected, the status of the virtual machine is changed Performing an action.

100 仮想計算機装置、110 管理用仮想マシン、111 OS、112 仮想マシン監視モジュール、113 アプリケーション情報収集モジュール、114 ポリシー制御モジュール、120 仮想マシン、121 OS、122 アプリケーション監視モジュール、123 アプリケーション、200 履歴情報データベース、300 ポリシー情報データベース DESCRIPTION OF SYMBOLS 100 Virtual machine apparatus, 110 Management virtual machine, 111 OS, 112 Virtual machine monitoring module, 113 Application information collection module, 114 Policy control module, 120 Virtual machine, 121 OS, 122 Application monitoring module, 123 Application, 200 History information database , 300 Policy information database

Claims (5)

仮想マシンと、
仮想マシン上で動作するアプリケーションと、
前記仮想マシンまたは前記アプリケーションのリソース使用状況を監視する監視モジュールと、
前記監視により取得されたリソース使用状況に基づいて、当該監視対象の仮想マシンまたはアプリケーションのリソース使用状況が異常状態であるか否かを検出し、異常状態を検出した場合、前記仮想マシンに対して状態変更アクションを実行するポリシー制御モジュールと、
を備える仮想計算機装置。
A virtual machine,
An application running on a virtual machine;
A monitoring module for monitoring resource usage of the virtual machine or the application;
Based on the resource usage status acquired by the monitoring, it is detected whether the resource usage status of the monitored virtual machine or application is in an abnormal state. A policy control module that performs state change actions;
A virtual computer device comprising:
前記状態変更アクションは、仮想マシンへのリソース配分の変更、仮想マシンの停止、仮想マシンの保存、または仮想マシンの削除のうち少なくとも1つを含むことを特徴とする請求項1に記載の仮想計算機装置。   The virtual machine according to claim 1, wherein the state change action includes at least one of a change of resource allocation to the virtual machine, a stop of the virtual machine, a storage of the virtual machine, or a deletion of the virtual machine. apparatus. 前記事前設定ポリシーは、ポリシー情報データベースから取得することを特徴とする請求項1または2に記載の仮想計算機装置。   The virtual computer apparatus according to claim 1, wherein the preset policy is acquired from a policy information database. 前記監視モジュールは、監視により取得されたリソース使用状況に関するデータを、履歴情報データベースに格納し、
前記ポリシー制御モジュールは、前記履歴情報データベースから、リソース使用状況に関するデータを読み出して取得する、
ことを特徴とする請求項1乃至3のいずれかに記載の仮想計算機装置。
The monitoring module stores data related to resource usage obtained by monitoring in a history information database;
The policy control module reads out and acquires data on resource usage status from the history information database.
The virtual computer apparatus according to claim 1, wherein the virtual computer apparatus is a virtual computer apparatus according to claim 1.
仮想計算機装置上の仮想マシンまたは前記仮想マシン上で動作するアプリケーションのリソースを管理する方法であって、
前記仮想マシンまたは前記アプリケーションのリソース使用状況を監視するステップと、
前記監視により取得されたリソース使用状況に基づいて、当該監視対象の仮想マシンまたはアプリケーションのリソース使用状況が異常状態であるか否かを検出するステップと、
異常状態を検出した場合、前記仮想マシンに対して状態変更アクションを実行するステップと、
を備える方法。
A method for managing resources of a virtual machine on a virtual machine device or an application operating on the virtual machine,
Monitoring resource usage of the virtual machine or the application;
Detecting whether or not the resource usage status of the monitored virtual machine or application is in an abnormal state based on the resource usage status acquired by the monitoring; and
If an abnormal state is detected, performing a state change action on the virtual machine;
A method comprising:
JP2011080023A 2011-03-31 2011-03-31 Virtual computer device and method for controlling virtual computer device Pending JP2012216008A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011080023A JP2012216008A (en) 2011-03-31 2011-03-31 Virtual computer device and method for controlling virtual computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011080023A JP2012216008A (en) 2011-03-31 2011-03-31 Virtual computer device and method for controlling virtual computer device

Publications (1)

Publication Number Publication Date
JP2012216008A true JP2012216008A (en) 2012-11-08

Family

ID=47268729

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011080023A Pending JP2012216008A (en) 2011-03-31 2011-03-31 Virtual computer device and method for controlling virtual computer device

Country Status (1)

Country Link
JP (1) JP2012216008A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014170474A (en) * 2013-03-05 2014-09-18 Hitachi Systems Ltd Virtual machine management system
KR20150134717A (en) * 2014-05-22 2015-12-02 엔트릭스 주식회사 System for servicing cloud streaming, method of servicing cloud streaming and server for the same
WO2015189968A1 (en) * 2014-06-12 2015-12-17 株式会社日立製作所 Virtual machine management system and method therefor
WO2016147611A1 (en) * 2015-03-17 2016-09-22 日本電気株式会社 Mobile terminal, method for managing mobile terminal, and recording medium
CN106775929A (en) * 2016-11-25 2017-05-31 中国科学院信息工程研究所 A kind of virtual platform safety monitoring method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004326754A (en) * 2003-04-29 2004-11-18 Internatl Business Mach Corp <Ibm> Management of virtual computer for utilizing shared resource
JP2008165637A (en) * 2006-12-28 2008-07-17 Hitachi Ltd System switching method in server virturalizing environment and computer system
JP2009230549A (en) * 2008-03-24 2009-10-08 Fujitsu Ltd Information processor, information processing method and computer program
JP2011034403A (en) * 2009-08-03 2011-02-17 Ntt Data Corp Apparatus and method for executing service

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004326754A (en) * 2003-04-29 2004-11-18 Internatl Business Mach Corp <Ibm> Management of virtual computer for utilizing shared resource
JP2008165637A (en) * 2006-12-28 2008-07-17 Hitachi Ltd System switching method in server virturalizing environment and computer system
JP2009230549A (en) * 2008-03-24 2009-10-08 Fujitsu Ltd Information processor, information processing method and computer program
JP2011034403A (en) * 2009-08-03 2011-02-17 Ntt Data Corp Apparatus and method for executing service

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014170474A (en) * 2013-03-05 2014-09-18 Hitachi Systems Ltd Virtual machine management system
KR20150134717A (en) * 2014-05-22 2015-12-02 엔트릭스 주식회사 System for servicing cloud streaming, method of servicing cloud streaming and server for the same
KR102111612B1 (en) 2014-05-22 2020-06-08 에스케이플래닛 주식회사 System for servicing cloud streaming, method of servicing cloud streaming and server for the same
WO2015189968A1 (en) * 2014-06-12 2015-12-17 株式会社日立製作所 Virtual machine management system and method therefor
US20170068558A1 (en) * 2014-06-12 2017-03-09 Hitachi, Ltd. Virtual machine management system and method therefor
WO2016147611A1 (en) * 2015-03-17 2016-09-22 日本電気株式会社 Mobile terminal, method for managing mobile terminal, and recording medium
JPWO2016147611A1 (en) * 2015-03-17 2018-01-18 日本電気株式会社 Mobile terminal, mobile terminal management method and program
CN106775929A (en) * 2016-11-25 2017-05-31 中国科学院信息工程研究所 A kind of virtual platform safety monitoring method and system
CN106775929B (en) * 2016-11-25 2019-11-26 中国科学院信息工程研究所 A kind of virtual platform safety monitoring method and system

Similar Documents

Publication Publication Date Title
EP3382543B1 (en) Micro-level monitoring, visibility and control of shared resources internal to a processor of a host machine for a virtual environment
EP3340057B1 (en) Container monitoring method and apparatus
US9405572B2 (en) Optimized resource allocation and management in a virtualized computing environment
US8161260B2 (en) Optimal memory allocation for guested virtual machine(s)
US10241836B2 (en) Resource management in a virtualized computing environment
EP2216732A1 (en) Virtual machine software license management
JP4811830B1 (en) Computer resource control system
US20170083367A1 (en) System and method for resource management
KR20130136449A (en) Controlled automatic healing of data-center services
JP2008293117A (en) Method for monitoring performance of virtual computer, and device using the method
KR20130019698A (en) Method for optimizing resource by using migration based on user&#39;s scheduler
IN2013CH04372A (en)
JP2012216008A (en) Virtual computer device and method for controlling virtual computer device
EP3000024B1 (en) Dynamically provisioning storage
US11385972B2 (en) Virtual-machine-specific failover protection
JP2010211644A (en) Memory power consumption reduction system, method and program
JP2010134557A (en) Virtual machine operation management system, operation management method therefor and program
WO2020214603A1 (en) Distributed in-platform data storage utilizing graphics processing unit (gpu) memory
US20120240111A1 (en) Storage medium storing program for controlling virtual machine, computing machine, and method for controlling virtual machine
US20160147657A1 (en) System and method for optimized disk io ram caching for a vdi environment
US10095533B1 (en) Method and apparatus for monitoring and automatically reserving computer resources for operating an application within a computer environment
US9015418B2 (en) Self-sizing dynamic cache for virtualized environments
JP5257709B2 (en) Virtual computer migration method, virtual computer system, and management server
JP2012243096A (en) Guest os management device, guest os management method, and guest os management program
JP2014002798A (en) Computer system and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140310

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141111

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141112

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150107

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150224

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150623