JP6152050B2 - Virtual machine management apparatus, server virtualization system, virtual machine management method and program - Google Patents
Virtual machine management apparatus, server virtualization system, virtual machine management method and program Download PDFInfo
- Publication number
- JP6152050B2 JP6152050B2 JP2013271021A JP2013271021A JP6152050B2 JP 6152050 B2 JP6152050 B2 JP 6152050B2 JP 2013271021 A JP2013271021 A JP 2013271021A JP 2013271021 A JP2013271021 A JP 2013271021A JP 6152050 B2 JP6152050 B2 JP 6152050B2
- Authority
- JP
- Japan
- Prior art keywords
- virtual machine
- machine
- physical
- notification
- normality
- 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)
- Test And Diagnosis Of Digital Computers (AREA)
Description
本発明は、仮想マシン管理装置、サーバ仮想化システム、仮想マシン管理方法及びプログラムに関する。 The present invention relates to a virtual machine management device, a server virtualization system, a virtual machine management method, and a program.
複数の物理マシンを1つの基盤として振る舞わせる仮想化基盤システムにおいては、個々の物理マシンの余剰リソースを極力なくし、リソースを最適化することが求められている。仮想化基盤のリソースの最適化を図るために、仮想マシンを動的に移転させる手法が確立されている(例えば、特許文献1を参照)。このとき、仮想マシンが動的に移転したときに仮想マシンで動作するサービスが正常に動作しているか確認する必要があり、その正常性は保守管理者が手動で確認している。 In a virtualized infrastructure system that allows a plurality of physical machines to behave as a single infrastructure, it is required to optimize resources by minimizing the surplus resources of each physical machine. In order to optimize the resources of the virtualization infrastructure, a technique for dynamically transferring virtual machines has been established (see, for example, Patent Document 1). At this time, it is necessary to confirm whether or not the service operating on the virtual machine is operating normally when the virtual machine is dynamically moved, and the normality is manually confirmed by the maintenance manager.
なお、特許文献2には、所定の運用作業が発生するタイミングで運用者に通知を行う技術が開示されている。また、特許文献3には、システムに障害が発生したときに、障害対策用のジョブを実行する技術が開示されている。また、特許文献4には、ネットワークにおける状況の変化を検知して生じた事象ごとに状況を把握するための手順を実行する技術が開示されている。 Patent Document 2 discloses a technique for notifying an operator at a timing when a predetermined operation work occurs. Patent Document 3 discloses a technique for executing a failure countermeasure job when a failure occurs in the system. Patent Document 4 discloses a technique for executing a procedure for grasping a situation for each event that occurs by detecting a change in the situation in a network.
しかしながら、移転した仮想マシンの正常性を保守管理者が手動で確認する場合、移転から正常性の確認がなされるまでにタイムラグが生じ、また保守管理者の人的コストがかかるという問題がある。
本発明の目的は、上述した課題を解決する仮想マシン管理装置、サーバ仮想化システム、仮想マシン管理方法及びプログラムを提供することにある。
However, when the maintenance manager manually checks the normality of the transferred virtual machine, there is a problem that a time lag occurs between the transfer and the normality confirmation, and the maintenance manager costs human costs.
An object of the present invention is to provide a virtual machine management apparatus, a server virtualization system, a virtual machine management method, and a program that solve the above-described problems.
第1の態様は、仮想マシンをエミュレートする物理マシンから、前記仮想マシンが移転されたことを示す通知を受信する通知受信部と、前記通知受信部が前記通知を受信した場合に、移転された前記仮想マシンの正常性の確認を行う正常性確認部と、前記正常性確認部が、移転された前記仮想マシンの正常性が不良であると判定した場合、移転前の前記物理マシン及び移転後の前記物理マシン以外の物理マシンに、当該仮想マシンの冗長構成である同一仮想マシンを起動させる仮想マシン起動部とを備える仮想マシン管理装置である。 The first aspect is a notification receiving unit that receives a notification indicating that the virtual machine has been transferred from a physical machine that emulates the virtual machine, and the notification is transferred when the notification receiving unit receives the notification. A normality confirmation unit that confirms the normality of the virtual machine, and the normality confirmation unit, when the normality of the transferred virtual machine is determined to be bad, the physical machine and the transfer before the transfer It is a virtual machine management apparatus that includes a virtual machine starting unit that starts a physical machine other than the physical machine later that starts the same virtual machine having a redundant configuration of the virtual machine .
また、第3の態様は、第1の態様において、前記仮想マシン起動部は、移転前の前記物理マシン及び移転後の前記物理マシン以外の物理マシンの中から、CPU使用率またはメモリ使用率の少なくとも一方に基づいて、前記同一仮想マシンを起動させる物理マシンを決定する仮想マシン管理装置である。 In addition, a third aspect is the first aspect, in which the virtual machine activation unit has a CPU usage rate or a memory usage rate out of the physical machine before the transfer and the physical machine other than the physical machine after the transfer. It is a virtual machine management device that determines a physical machine for starting the same virtual machine based on at least one.
また、第4の態様は、第1または第2の態様において、前記同一仮想マシンをエミュレートするためのプログラムが複数の前記物理マシンに記憶され、前記仮想マシン起動部は、移転された前記仮想マシンの冗長構成である同一仮想マシンをエミュレートするためのプログラムを記憶する前記物理マシンを、前記同一仮想マシンを起動させる物理マシンに決定する仮想マシン管理装置である。 According to a fourth aspect, in the first or second aspect, a program for emulating the same virtual machine is stored in a plurality of the physical machines, and the virtual machine activation unit is A virtual machine management apparatus that determines the physical machine that stores a program for emulating the same virtual machine , which is a redundant configuration of the machine , as a physical machine that starts the same virtual machine .
また、第5の態様は、仮想マシンをエミュレートする複数の物理マシンと前記複数の物理マシンを管理する仮想マシン管理装置とを備え、前記物理マシンは、前記仮想マシンを移転した時に、前記仮想マシンが移転されたことを示す通知を発する移転通知部を備え、前記仮想マシン管理装置は、前記物理マシンから、前記仮想マシンが移転されたことを示す通知を受信する通知受信部と、前記通知受信部が前記通知を受信した場合に、移転された前記仮想マシンの正常性の確認を行う正常性確認部と、前記正常性確認部が、移転された前記仮想マシンの正常性が不良であると判定した場合、移転前の前記物理マシン及び移転後の前記物理マシン以外の物理マシンに、当該仮想マシンの冗長構成である同一仮想マシンを起動させる仮想マシン起動部とを備えるサーバ仮想化システムである。 The fifth aspect includes a plurality of physical machines that emulate a virtual machine and a virtual machine management device that manages the plurality of physical machines, and the physical machine transfers the virtual machine when the virtual machine is transferred. A transfer notification unit that issues a notification indicating that the machine has been transferred, wherein the virtual machine management device receives a notification indicating that the virtual machine has been transferred from the physical machine; and the notification When the receiving unit receives the notification, the normality confirmation unit that confirms the normality of the transferred virtual machine, and the normality confirmation unit is defective in the normality of the transferred virtual machine If it is determined that the virtual machine is activated, the physical machine other than the physical machine before the transfer and the physical machine other than the physical machine after the transfer are started with the same virtual machine having a redundant configuration of the virtual machine. A server virtualization system comprising a part.
また、第6の態様は、仮想マシン管理装置の通知受信部が、仮想マシンをエミュレートする物理マシンから、前記仮想マシンが移転されたことを示す通知を受信するステップと、前記通知受信部が前記通知を受信した場合に、前記仮想マシン管理装置の正常性確認部が、移転された前記仮想マシンの正常性の確認を行うステップと、前記正常性確認部が、移転された前記仮想マシンの正常性が不良であると判定した場合、前記仮想マシン管理装置の仮想マシン起動部が、移転前の前記物理マシン及び移転後の前記物理マシン以外の物理マシンに、当該仮想マシンの冗長構成である同一仮想マシンを起動させるステップとを含む仮想マシン管理方法である。 According to a sixth aspect, the notification receiving unit of the virtual machine management apparatus receives a notification indicating that the virtual machine has been transferred from a physical machine that emulates the virtual machine, and the notification receiving unit When the notification is received, the normality confirmation unit of the virtual machine management device confirms the normality of the transferred virtual machine; and When it is determined that the normality is bad, the virtual machine activation unit of the virtual machine management device has a redundant configuration of the virtual machine in the physical machine before the transfer and the physical machine other than the physical machine after the transfer. A virtual machine management method including a step of starting the same virtual machine .
また、第7の態様は、コンピュータを、仮想マシンをエミュレートする物理マシンから、前記仮想マシンが移転されたことを示す通知を受信する通知受信部、前記通知受信部が前記通知を受信した場合に、移転された前記仮想マシンの正常性の確認を行う正常性確認部、前記正常性確認部が、移転された前記仮想マシンの正常性が不良であると判定した場合、移転前の前記物理マシン及び移転後の前記物理マシン以外の物理マシンに、当該仮想マシンの冗長構成である同一仮想マシンを起動させる仮想マシン起動部として機能させるためのプログラムである。 In the seventh aspect, the computer receives a notification indicating that the virtual machine has been transferred from a physical machine that emulates the virtual machine, and the notification receiving unit receives the notification. A normality confirmation unit for confirming the normality of the transferred virtual machine, and when the normality confirmation unit determines that the normality of the transferred virtual machine is bad, This is a program for causing a physical machine other than the machine and the transferred physical machine to function as a virtual machine activation unit that activates the same virtual machine having a redundant configuration of the virtual machine .
上記態様のうち少なくとも1つの態様によれば、仮想マシン管理装置は、仮想マシンが移転した後、保守管理者によらずに、自動的に当該仮想マシンの正常性確認を行うことができる。 According to at least one of the above aspects, the virtual machine management apparatus can automatically check the normality of the virtual machine after the virtual machine has moved, without depending on the maintenance manager.
以下、図面を参照しながら実施形態について詳しく説明する。
図1は、一実施形態によるサーバ仮想化システム1の構成を示す概略図である。
サーバ仮想化システム1は、複数の物理マシン100と、正常性確認サーバ200とを備える。本実施形態において正常性確認サーバ200は、仮想マシン管理装置の一例である。
Hereinafter, embodiments will be described in detail with reference to the drawings.
FIG. 1 is a schematic diagram illustrating a configuration of a server virtualization system 1 according to an embodiment.
The server virtualization system 1 includes a plurality of
各物理マシン100は、仮想マシンプログラムを実行することで、1つまたは複数の仮想マシン110をエミュレートする。また、各物理マシン100は、同一の仮想化基盤プログラムを実行することで、1つの仮想化基盤を構成する。これにより、サーバ仮想化システム1は、複数の物理マシン100間で仮想マシン110を移転させることができる。また、複数の物理マシン100は、それぞれデータセンタ300に格納されている。なお、図1は、サーバ仮想化システム1が2つのデータセンタ300を備え、各データセンタ300が1つずつ物理マシン100を備える例を示すが、これに限られない。例えば、サーバ仮想化システム1は、3つ以上のデータセンタ300を備えていても良いし、1つのデータセンタ300を備えていても良い。また、各データセンタ300は、2つ以上の物理マシン100を備えても良い。
Each
正常性確認サーバ200は、物理マシン100間での仮想マシン110の移転が行われた場合に、移転後の仮想マシン110の動作の正常性を確認する。また、正常性確認サーバ200は、移転後の仮想マシン110の動作が正常でないと判定した場合、他の物理マシン100に当該仮想マシン110と同一の仮想マシン110を起動させる。
The
図2は、サーバ仮想化システム1のソフトウェア構成を示す概略ブロック図である。
各物理マシン100は、仮想化基盤プログラムを実行することで、仮想マシン記憶部101と、仮想マシン制御部102と、移転制御部103と、移転通知部104と、指令受信部105とを備える。
仮想マシン記憶部101は、仮想マシン110をエミュレートするための仮想マシンプログラムを記憶する。
仮想マシン制御部102は、仮想マシン記憶部101が記憶する仮想マシンプログラムを実行することで、仮想マシン110を起動(エミュレートを開始)する。
移転制御部103は、仮想マシン制御部102がエミュレートする仮想マシン110を、他の物理マシン100に移転する。
移転通知部104は、移転制御部103が仮想マシン110の移転を行った場合に、正常性確認サーバ200に移転の通知を発する。
指令受信部105は、正常性確認サーバ200から仮想マシン110の起動指令を受信する。
FIG. 2 is a schematic block diagram showing a software configuration of the server virtualization system 1.
Each
The virtual machine storage unit 101 stores a virtual machine program for emulating the
The virtual
The
The
The
なお、各物理マシン100は、複数の仮想マシンプログラムを仮想マシン記憶部101に記憶しているが、全ての仮想マシンプログラムを実行するとは限らない。複数の物理マシン100には、同一の仮想マシン110をエミュレートする仮想マシンプログラムがそれぞれ記憶されている。これは、ある物理マシン100が仮想マシン110を正常にエミュレートできない場合に、他の物理マシン100で同一の仮想マシン110をエミュレートするための冗長構成である。したがって、ある物理マシン100が正常に仮想マシン110をエミュレートできている場合、同一の仮想マシン110をエミュレート可能な他の物理マシン100は、当該仮想マシン110をエミュレートする必要が無い。
Each
正常性確認サーバ200は、テーブル記憶部201と、通知受信部202と、正常性確認部203と、リソース状況確認部204と、仮想マシン起動部205とを備える。
テーブル記憶部201は、仮想マシン正常性確認テーブルと、物理マシンリソース状態テーブルとを記憶する。仮想マシン正常性確認テーブルは、正常性を確認する対象となる仮想マシン名と当該仮想マシン110の正常性の確認手順とを関連付けて格納する。物理マシンリソース状態テーブルは、物理マシン100ごとに、当該物理マシン100がエミュレート可能な仮想マシン110の名称と、当該仮想マシン110と同一の仮想マシン110の名称と、当該物理マシン100のリソースに係る情報とを格納する。
通知受信部202は、物理マシン100から仮想マシン110の移転の通知を受信する。
正常性確認部203は、テーブル記憶部201が記憶する仮想マシン正常性確認テーブルに基づいて、移転された仮想マシン110の正常性を確認する。具体的には、正常性確認部203は、移転後の物理サーバの仮想マシン制御部102がエミュレートする仮想マシン110にアクセスすることで、当該仮想マシン110の正常性を確認する。
リソース状況確認部204は、物理マシンリソース状態テーブルを確認して、仮想マシン110の起動対象となる物理マシン100を特定する。
仮想マシン起動部205は、リソース状況確認部204が特定した物理マシン100に、仮想マシン110を起動させる。
The
The
The
The
The resource
The virtual
図3は、テーブル記憶部201が記憶する情報の例を示す図である。
仮想マシン正常性確認テーブルは、図3(A)に示すように、仮想マシン名と正常性確認手順とを関連付けて格納する。図3(A)では、正常性確認手順としてURI(Uniform Resource Identifier)が格納されている。これは、当該URIにアクセスして正常な応答を得ることができるか否かによって正常性を確認することを示している。
FIG. 3 is a diagram illustrating an example of information stored in the
As shown in FIG. 3A, the virtual machine normality confirmation table stores virtual machine names and normality confirmation procedures in association with each other. In FIG. 3A, a URI (Uniform Resource Identifier) is stored as a normality confirmation procedure. This indicates that normality is confirmed by whether or not a normal response can be obtained by accessing the URI.
物理マシンリソース状態テーブルは、図3(B)に示すように、物理マシン名、仮想マシン名、NGフラグ、選定フラグ、同一仮想マシン名、物理マシン100のCPU使用率、物理マシン100のメモリ使用率、リソース閾値オーバフラグ、リソース総和、確定フラグを関連付けて格納する。
As shown in FIG. 3B, the physical machine resource state table includes a physical machine name, a virtual machine name, an NG flag, a selection flag, the same virtual machine name, a CPU usage rate of the
ここで、NGフラグとは、当該物理マシン100で仮想マシン110をエミュレートした場合に、当該仮想マシン110の動作が正常でないと判定されたか否かを示すフラグである。つまり、NGフラグが「1」を示す場合、仮想マシン110の動作が正常でないことを示す。
選定フラグとは、仮想マシン110の起動の選定対象であるか否かを示すフラグである。つまり、選定フラグが「1」を示す場合、仮想マシン110が起動の選定対象であることを示す。
リソース閾値オーバフラグは、CPU使用率かメモリ使用率の総和の何れかが所定の閾値を超えるか否かを示すフラグである。つまり、リソース閾値オーバフラグが「1」を示す場合、CPU使用率かメモリ使用率の総和の何れかが所定の閾値を超えていることを示す。
確定フラグは、仮想マシン110の起動対象として確定したか否かを示すフラグである。つまり、確定フラグが「1」を示す場合、当該物理マシン100に仮想マシン110を起動させることが確定したことが分かる。
Here, the NG flag is a flag indicating whether or not it is determined that the operation of the
The selection flag is a flag indicating whether or not the
The resource threshold over flag is a flag indicating whether either the CPU usage rate or the memory usage rate sum exceeds a predetermined threshold value. That is, when the resource threshold value over flag indicates “1”, it indicates that either the CPU usage rate or the sum of the memory usage rates exceeds a predetermined threshold value.
The confirmation flag is a flag indicating whether or not the
次に、本実施形態に係るサーバ仮想化システム1の動作の概略について説明する。
図4は、サーバ仮想化システム1の動作の概略を示すシーケンス図である。
ある物理マシン100(以下、物理マシン100Aという)のリソース不足が生じると、物理マシン100Aの移転制御部103は、自装置でエミュレートしている仮想マシン110をエミュレートするための仮想マシンプログラムを、他の物理マシン100(以下、物理マシン100Bという)に転送する(ステップS1)。次に、物理マシン100Bの移転制御部103は、物理マシン100Aから受信した仮想マシンプログラムを物理マシン100Bの仮想マシン記憶部101に記録する。次に、物理マシン100Bの仮想マシン制御部102は、物理マシン100Bの仮想マシン記憶部101に記録された仮想マシンプログラムを実行することで、当該仮想マシン110をエミュレートする(ステップS2)。物理マシン100Bの仮想マシン制御部102が仮想マシン110のエミュレートを開始すると、物理マシン100Bの移転通知部104は、正常性確認サーバ200に移転の通知を発する(ステップS3)。移転の通知には、移転した仮想マシン110の名称が含まれる。
Next, an outline of the operation of the server virtualization system 1 according to the present embodiment will be described.
FIG. 4 is a sequence diagram illustrating an outline of the operation of the server virtualization system 1.
When a resource shortage of a physical machine 100 (hereinafter referred to as a physical machine 100A) occurs, the
正常性確認サーバ200の通知受信部202が物理マシン100Bから移転の通知を受信すると、正常性確認部203は、テーブル記憶部201が記憶する仮想マシン正常性確認テーブルを参照し、正常性確認手順を特定する(ステップS4)。次に、正常性確認部203は、特定した正常性確認手順に従って移転された仮想マシン110にアクセスし、当該仮想マシン110の正常性を確認する(ステップS5)。次に、正常性確認部203は、仮想マシン110へのアクセス結果に基づいて、正常性の判定を行う(ステップS6)。正常性確認部203は、正常性の判定結果が良好である場合、処理を終了する。
When the
他方、正常性確認部203による正常性の判定結果が不良である場合(OPT:正常性不良)、リソース状況確認部204は、記憶部が記憶する物理マシンリソース状態テーブルを参照し、当該仮想マシン110と同一の仮想マシン110を起動させる物理マシン100(以下、物理マシン100Cという)を特定する(ステップS7)。次に、仮想マシン起動部205は、移転された仮想マシン110と同一の仮想マシン110を起動させる起動指令を物理マシン100Cに送信する(ステップS8)。
On the other hand, when the normality determination result by the
物理マシン100Cの指令受信部105が正常性確認サーバ200から起動指令を受信すると、物理マシン100Cの仮想マシン制御部102は、起動指令が示す仮想マシン110をエミュレートするための仮想マシン110プログラムを実行することで、仮想マシン110を起動する(ステップS9)。
When the
上記手順により、サーバ仮想化システム1は、仮想マシン110が移転した後、自動的に仮想マシン110の正常性確認を行う。これにより、仮想マシン110の移転から正常性を確認するまでの時間を短縮することができる。また、上記手順により、サーバ仮想化システム1は、正常性の確認に失敗した場合、自動的に仮想マシン110を起動してサービスの正常性を確保することができる。これにより、サービスのダウンタイムが極小化するため、サービスを利用するユーザに対し、可用性の高いサービスを提供することができる。
By the above procedure, the server virtualization system 1 automatically checks the normality of the
次に、本実施形態による正常性確認サーバ200の動作について詳述する。
図5は、一実施形態による正常性確認サーバ200の動作を示すフローチャートである。
正常性確認サーバ200の通知受信部202が物理マシン100から仮想マシン110の移転の通知を受信すると、正常性確認部203は、移転の通知に基づいて、テーブル記憶部201が記憶する物理マシンリソース状態テーブルから、移転前の仮想マシン110を示すレコードを特定する。次に、正常性確認部203は、特定したレコードの仮想マシン名に、仮想マシン110を移転したことを示すマークを付す(ステップS101)。例えば、正常性確認部203は、仮想マシン名の末尾にアスタリスクを付すことで、当該仮想マシン110が移転されたことを物理マシンリソース状態テーブルに記録する。
Next, the operation of the
FIG. 5 is a flowchart illustrating the operation of the
When the
次に、正常性確認部203は、移転の通知に基づいて、テーブル記憶部201が記憶する物理マシンリソース状態テーブルに、移転後の仮想マシン110を示すレコードを追加する(ステップS102)。例えば、正常性確認部203は、移転の通知の送信元の物理マシン100と、移転の通知に含まれる仮想マシン名とを関連付けたレコードを、物理マシンリソース状態テーブルに記録する。このとき、正常性確認部203は、当該レコードの同一仮想マシン名として、移転前の仮想マシン110を示すレコードと同じものを用いることができる。
Next, the
次に、正常性確認部203は、テーブル記憶部201が記憶する仮想マシン正常性確認テーブルから、移転の通知に含まれる仮想マシン名に関連付けられた正常性確認手順を読み出す(ステップS103)。次に、正常性確認部203は、特定した正常性確認手順に基づいて仮想マシン110へアクセスし、正常性確認を実施する(ステップS104)。
Next, the
次に、正常性確認部203は、仮想マシン110からアクセス結果を受信すると、当該アクセス結果に基づいて正常性確認の結果が良好であるか否かを判定する(ステップS105)。例えば、正常性確認手順としてHTTPアクセスを行った場合、正常性確認部203は、アクセス結果に含まれるHTTP(HyperText Transfer Protocol)ステータスが200番代(成功)を示す場合に、正常性確認の結果が良好であると判定し、ステータスが400番代(クライアントエラー)または500番代(サーバエラー)を示す場合に、正常性確認の結果が不良であると判定する。
Next, when receiving the access result from the
正常性確認部203は、正常性確認の結果が良好であると判定した場合(ステップS105:YES)、処理を終了する。他方、正常性確認部203は、正常性確認の結果が不良であると判定した場合(ステップS105:NO)、物理マシンリソース状態テーブルの移転後の仮想マシン110を示すレコードのNGフラグを「1」に書き換える(ステップS106)。
When the
次に、リソース状態確認部は、全ての物理マシン100からCPU使用率及びメモリ使用率を収集する(ステップS107)。次に、リソース状態確認部は、収集したCPU使用率及びメモリ使用率を、物理マシンリソース状態テーブルに記録する(ステップS108)。次に、リソース状態確認部は、「CPU使用率」「メモリ使用率」の少なくとも何れかが所定の閾値(例えば、いずれも50%)以上であるレコードのリソース閾値オーバフラグを「1」に書き換える(ステップS109)次に、リソース状態確認部は、物理マシンリソース状態テーブルが格納するレコードのうち、移転元でなく、NGフラグが「1」でなく、かつリソース閾値オーバフラグが「1」でないレコードがあるか否かを判定する(ステップS110)。 Next, the resource state confirmation unit collects the CPU usage rate and the memory usage rate from all the physical machines 100 (step S107). Next, the resource status confirmation unit records the collected CPU usage rate and memory usage rate in the physical machine resource status table (step S108). Next, the resource state confirmation unit rewrites the resource threshold value over flag of a record in which at least one of “CPU usage rate” and “memory usage rate” is equal to or greater than a predetermined threshold (for example, both 50%) to “1” ( Step S109) Next, the resource state confirmation unit includes a record stored in the physical machine resource state table that is not the transfer source, the NG flag is not “1”, and the resource threshold overflag is not “1”. Is determined (step S110).
リソース状態確認部は、移転元でなく、NGフラグが「1」でなく、かつリソース閾値オーバフラグが「1」でないレコードがないと判定した場合(ステップS110:NO)、他の物理マシン100に同一の仮想マシン110を起動させずに処理を終了する。これは、リソースが不足している物理マシン100にさらに仮想マシン110をエミュレートさせることにより、システム全体の性能が劣化することを防ぐためである。
When it is determined that there is no record that is not the transfer source, the NG flag is not “1”, and the resource threshold over flag is not “1” (step S110: NO), the resource state confirmation unit is the same as the other
他方、リソース状態確認部は、移転元でなく、かつNGフラグが「1」でないレコードに、CPU使用率及びメモリ使用率が所定の閾値を下回るものがあると判定した場合(ステップS110:YES)、当該レコードの選定フラグを「1」に書き換える(ステップS111)。 On the other hand, when the resource state confirmation unit determines that there is a record whose CPU usage rate and memory usage rate are lower than the predetermined threshold among records that are not the transfer source and the NG flag is not “1” (step S110: YES). Then, the selection flag of the record is rewritten to “1” (step S111).
次に、リソース状態確認部は、物理マシンリソース状態テーブルから、移転後の仮想マシン110を示すレコードに格納される同一仮想マシン名を読み出す。次に、リソース状態確認部は、選定フラグが「1」を示すレコードのうち、仮想マシン名が移転後の仮想マシン110の同一仮想マシン名に含まれるレコード以外の選定フラグを「0」に書き換える(ステップS112)。
Next, the resource state confirmation unit reads the same virtual machine name stored in the record indicating the
次に、リソース状態確認部は、選定フラグが「1」を示すレコードのそれぞれについて、CPU使用率とメモリ使用率を加算した値を算出し、当該レコードのリソース総和を書き換える。次に、リソース状態確認部は、選定フラグが「1」を示すレコードのうち、リソース総和が最小のものを特定し、当該レコードの確定フラグを「1」に書き換える(ステップS113)。 Next, the resource status confirmation unit calculates a value obtained by adding the CPU usage rate and the memory usage rate for each record in which the selection flag indicates “1”, and rewrites the resource sum of the record. Next, the resource state confirmation unit identifies the record having the smallest resource sum among the records whose selection flag indicates “1”, and rewrites the confirmation flag of the record to “1” (step S113).
次に、仮想マシン起動部205は、物理マシンリソース状態テーブルが格納するレコードのうち、確定フラグが「1」を示すものが示す物理マシン100に、当該レコードが示す仮想マシン110を起動させる起動指示を送信する(ステップS114)。仮想マシン起動部205は、物理マシン100に起動指示を送信すると、物理マシンリソース状態テーブルが格納するすべてのレコードから、選定フラグ、リソース閾値オーバフラグ、リソース総和、及び確定フラグの値をクリアする。また、仮想マシン起動部205は、移転前の仮想マシン110を示すレコードを削除する(ステップS115)。
Next, the virtual
上記手順により、正常性確認サーバ200は、移転した仮想マシン110の正常性確認を自動的に行うことができる。また、上記手順により、正常性確認サーバ200は、正常性の確認に失敗した場合、適切な物理マシン100に、仮想マシン110を起動させることができる。
According to the above procedure, the
以上、図面を参照して一実施形態について詳しく説明してきたが、具体的な構成は上述のものに限られることはなく、様々な設計変更等をすることが可能である。
例えば、上述した実施形態では、正常性確認部203が、正常性確認方法としてアクセスに成功したか否かを判定する場合について説明したが、これに限られない。例えば、他の実施形態では、正常性確認部203は、アクセスに成功したとしても、応答時間が所定の閾値を超える場合には正常でないと判定しても良い。
As described above, the embodiment has been described in detail with reference to the drawings. However, the specific configuration is not limited to that described above, and various design changes and the like can be made.
For example, in the above-described embodiment, the case where the
また、例えば、上述した実施形態では、ステップS113において、リソース状態確認部が、CPU使用率とメモリ使用率とに基づいて仮想マシン110を起動させる物理マシン100を決定する場合について説明したが、これに限られない。例えば、他の実施形態では、当該仮想マシン110が通信する他の仮想マシン110(例えば、データベースなど)が設けられた物理サーバとの間の帯域や、当該他のマシンが同じデータセンタ300に設けられているか否かなどに基づいて仮想マシン110を起動させる物理マシン100を決定しても良い。
Further, for example, in the above-described embodiment, the case where the resource state confirmation unit determines the
また、上述した実施形態では、物理マシン100のリソース不足を契機に仮想マシン110の移転を行う場合について説明したが、これに限られない。例えば、他の実施形態では、物理マシン100は、使用率の低下を契機に仮想マシン110の移転を行っても良い。つまり、物理マシン100の使用率が下がると自動的に仮想マシン110をリソースの空いている物理マシン100に移転し、仮想マシン110が動作していない物理マシン100の電源をオフにすることで消費電力を抑える分散型電源管理システムなどに、本発明に係るサーバ仮想化システム1を適用しても良い。
In the above-described embodiment, the case where the
また、上述した実施形態では、仮想マシンの移転先の物理マシンが移転の通知を発する場合について説明したが、これに限られない。例えば、他の実施形態では、仮想マシンの移転元の物理マシンが移転の通知を発しても良い。この場合、当該移転の通知には、仮想マシン名と移転先の物理マシン名が含まれる。 In the above-described embodiment, the case where the physical machine to which the virtual machine is transferred issues a transfer notification has been described. However, the present invention is not limited to this. For example, in another embodiment, a physical machine that is a transfer source of a virtual machine may issue a transfer notification. In this case, the notification of the transfer includes the virtual machine name and the name of the transfer destination physical machine.
図6は、少なくとも1つの実施形態に係るコンピュータの構成を示す概略ブロック図である。
コンピュータ900は、CPU901、主記憶装置902、補助記憶装置903、インタフェース904を備える。
上述の正常性確認サーバ200及び各物理マシン100は、それぞれコンピュータ900に実装される。そして、上述した各処理部の動作は、プログラムの形式で補助記憶装置903に記憶されている。CPU901は、プログラムを補助記憶装置903から読み出して主記憶装置902に展開し、当該プログラムに従って上記処理を実行する。また、CPU901は、プログラムに従って、上述した各記憶部に対応する記憶領域を主記憶装置902に確保する。
FIG. 6 is a schematic block diagram illustrating a configuration of a computer according to at least one embodiment.
The
The
なお、少なくとも1つの実施形態において、補助記憶装置903は、一時的でない有形の媒体の一例である。一時的でない有形の媒体の他の例としては、インタフェース904を介して接続される磁気ディスク、光磁気ディスク、CD−ROM、DVD−ROM、半導体メモリ等が挙げられる。また、このプログラムが通信回線によってコンピュータ900に配信される場合、配信を受けたコンピュータ900が当該プログラムを主記憶装置902に展開し、上記処理を実行しても良い。
In at least one embodiment, the
また、当該プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、当該プログラムは、前述した機能を補助記憶装置903に既に記憶されている他のプログラムとの組み合わせで実現するもの、いわゆる差分ファイル(差分プログラム)であっても良い。
The program may be for realizing a part of the functions described above. Further, the program may be a so-called difference file (difference program) that realizes the above-described function in combination with another program already stored in the
1…サーバ仮想化システム 100…物理マシン 101…仮想マシン記憶部 102…仮想マシン制御部 103…移転制御部 104…移転通知部 105…指令受信部 110…仮想マシン 200…正常性確認サーバ 201…テーブル記憶部 202…通知受信部 203…正常性確認部 204…リソース状況確認部 205…仮想マシン起動部 300…データセンタ
DESCRIPTION OF SYMBOLS 1 ...
Claims (6)
前記通知受信部が前記通知を受信した場合に、移転された前記仮想マシンの正常性の確認を行う正常性確認部と、
前記正常性確認部が、移転された前記仮想マシンの正常性が不良であると判定した場合、移転前の前記物理マシン及び移転後の前記物理マシン以外の物理マシンに、当該仮想マシンの冗長構成である同一仮想マシンを起動させる仮想マシン起動部と
を備える仮想マシン管理装置。 A notification receiving unit that receives a notification indicating that the virtual machine has been moved from a physical machine that emulates the virtual machine;
A normality confirmation unit for confirming the normality of the transferred virtual machine when the notification reception unit receives the notification ;
When the normality confirmation unit determines that the transferred virtual machine is normal, the redundant configuration of the virtual machine is added to the physical machine other than the physical machine before the transfer and the physical machine after the transfer. A virtual machine management device comprising: a virtual machine activation unit that activates the same virtual machine .
請求項1に記載の仮想マシン管理装置。 The virtual machine activation unit is configured to activate the same virtual machine based on at least one of a CPU usage rate or a memory usage rate from among the physical machine before the transfer and the physical machine other than the physical machine after the transfer. Determine the machine
The virtual machine management apparatus according to claim 1 .
前記仮想マシン起動部は、移転された前記仮想マシンの冗長構成である同一仮想マシンをエミュレートするためのプログラムを記憶する前記物理マシンを、前記同一仮想マシンを起動させる物理マシンに決定する
請求項1または請求項2に記載の仮想マシン管理装置。 A program for emulating the same virtual machine is stored in the plurality of physical machines,
The virtual machine activation unit determines the physical machine that stores a program for emulating the same virtual machine that is a redundant configuration of the transferred virtual machine as a physical machine that activates the same virtual machine. The virtual machine management apparatus according to claim 1 or 2 .
前記複数の物理マシンを管理する仮想マシン管理装置と
を備え、
前記物理マシンは、
前記仮想マシンを移転した時に、前記仮想マシンが移転されたことを示す通知を発する移転通知部
を備え、
前記仮想マシン管理装置は、
前記物理マシンから、前記仮想マシンが移転されたことを示す通知を受信する通知受信部と、
前記通知受信部が前記通知を受信した場合に、移転された前記仮想マシンの正常性の確認を行う正常性確認部と、
前記正常性確認部が、移転された前記仮想マシンの正常性が不良であると判定した場合、移転前の前記物理マシン及び移転後の前記物理マシン以外の物理マシンに、当該仮想マシンの冗長構成である同一仮想マシンを起動させる仮想マシン起動部と
を備えるサーバ仮想化システム。 A plurality of physical machines that emulate a virtual machine, and a virtual machine management device that manages the plurality of physical machines,
The physical machine is
A transfer notification unit for issuing a notification indicating that the virtual machine has been transferred when the virtual machine is transferred;
The virtual machine management device is:
A notification receiving unit for receiving a notification indicating that the virtual machine has been moved from the physical machine;
A normality confirmation unit for confirming the normality of the transferred virtual machine when the notification reception unit receives the notification;
When the normality confirmation unit determines that the transferred virtual machine is normal, the redundant configuration of the virtual machine is added to the physical machine other than the physical machine before the transfer and the physical machine after the transfer. A server virtualization system comprising: a virtual machine activation unit that activates the same virtual machine .
前記通知受信部が前記通知を受信した場合に、前記仮想マシン管理装置の正常性確認部が、移転された前記仮想マシンの正常性の確認を行うステップと、
前記正常性確認部が、移転された前記仮想マシンの正常性が不良であると判定した場合、前記仮想マシン管理装置の仮想マシン起動部が、移転前の前記物理マシン及び移転後の前記物理マシン以外の物理マシンに、当該仮想マシンの冗長構成である同一仮想マシンを起動させるステップと
を含む仮想マシン管理方法。 A notification receiving unit of the virtual machine management device receiving a notification indicating that the virtual machine has been transferred from a physical machine emulating the virtual machine;
When the notification receiving unit receives the notification, the normality confirmation unit of the virtual machine management device confirms the normality of the transferred virtual machine ;
When the normality confirmation unit determines that the normality of the transferred virtual machine is bad, the virtual machine activation unit of the virtual machine management device uses the physical machine before transfer and the physical machine after transfer A virtual machine management method including: causing a physical machine other than the above to start the same virtual machine that is a redundant configuration of the virtual machine .
仮想マシンをエミュレートする物理マシンから、前記仮想マシンが移転されたことを示す通知を受信する通知受信部、
前記通知受信部が前記通知を受信した場合に、移転された前記仮想マシンの正常性の確認を行う正常性確認部、
前記正常性確認部が、移転された前記仮想マシンの正常性が不良であると判定した場合、移転前の前記物理マシン及び移転後の前記物理マシン以外の物理マシンに、当該仮想マシンの冗長構成である同一仮想マシンを起動させる仮想マシン起動部
として機能させるためのプログラム。 Computer
A notification receiving unit that receives a notification indicating that the virtual machine has been moved from a physical machine that emulates the virtual machine;
A normality confirmation unit for confirming the normality of the transferred virtual machine when the notification reception unit receives the notification ;
When the normality confirmation unit determines that the transferred virtual machine is normal, the redundant configuration of the virtual machine is added to the physical machine other than the physical machine before the transfer and the physical machine after the transfer. The program for functioning as a virtual machine starting part which starts the same virtual machine .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013271021A JP6152050B2 (en) | 2013-12-27 | 2013-12-27 | Virtual machine management apparatus, server virtualization system, virtual machine management method and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2013271021A JP6152050B2 (en) | 2013-12-27 | 2013-12-27 | Virtual machine management apparatus, server virtualization system, virtual machine management method and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2015125678A JP2015125678A (en) | 2015-07-06 |
JP6152050B2 true JP6152050B2 (en) | 2017-06-21 |
Family
ID=53536323
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2013271021A Active JP6152050B2 (en) | 2013-12-27 | 2013-12-27 | Virtual machine management apparatus, server virtualization system, virtual machine management method and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6152050B2 (en) |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8458284B2 (en) * | 2009-06-12 | 2013-06-04 | International Business Machines Corporation | Systems and methods for efficient live application migration within bandwidth constrained networks |
-
2013
- 2013-12-27 JP JP2013271021A patent/JP6152050B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2015125678A (en) | 2015-07-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101970839B1 (en) | Replaying jobs at a secondary location of a service | |
CN103999031B (en) | The virtual privately owned storage array service of Cloud Server | |
US20100031258A1 (en) | Virtual machine system and control method of the virtual machine system | |
KR20210060364A (en) | Edge server system supporting hybrid cloud | |
US20110239216A1 (en) | Service providing system, a virtual machine server, a service providing method, and a program thereof | |
CN105159798A (en) | Dual-machine hot-standby method for virtual machines, dual-machine hot-standby management server and system | |
CN107544783B (en) | Data updating method, device and system | |
US9778997B2 (en) | Server backup method and backup system using the method | |
KR20090085058A (en) | Distributed server system, method for execution by a backup manager, and one or more device readable media | |
US10353786B2 (en) | Virtualization substrate management device, virtualization substrate management system, virtualization substrate management method, and recording medium for recording virtualization substrate management program | |
JP6024138B2 (en) | Cluster system | |
EP2645635B1 (en) | Cluster monitor, method for monitoring a cluster, and computer-readable recording medium | |
WO2024213056A1 (en) | Method for controlling high-performance computing cluster, and electronic device and storage medium | |
EP3316518B1 (en) | Method and device for upgrading virtual network element, and computer storage medium | |
JP5999254B2 (en) | Management apparatus, method and program | |
JP6152050B2 (en) | Virtual machine management apparatus, server virtualization system, virtual machine management method and program | |
CN118034588A (en) | Data migration method, device, computer equipment and readable storage medium | |
US20100185761A1 (en) | Service provider node, and computer-readable recording medium storing service provider program | |
CN117931067A (en) | Remote control and disk array management system and method for server | |
CN107995319B (en) | Virtual device configuration method and network device | |
JP5391152B2 (en) | Server system and method for selecting virtual server migration method | |
CN107707665A (en) | A kind of network storage method, device, system and computer-readable recording medium | |
US20030225898A1 (en) | Method of controlling storage control apparatus, storage control apparatus, and computer readable program for controlling the same | |
JP2008250427A (en) | Upgrade apparatus used in information processing system, information processing system including the apparatus, and program for upgrading information processing system | |
JP7314935B2 (en) | System, server, verification method and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20160218 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20161026 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20161115 |
|
A601 | Written request for extension of time |
Free format text: JAPANESE INTERMEDIATE CODE: A601 Effective date: 20170113 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20170120 |
|
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: 20170523 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20170526 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6152050 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |