JP2018055160A - Virtual machine management device, method and program - Google Patents
Virtual machine management device, method and program Download PDFInfo
- Publication number
- JP2018055160A JP2018055160A JP2016186903A JP2016186903A JP2018055160A JP 2018055160 A JP2018055160 A JP 2018055160A JP 2016186903 A JP2016186903 A JP 2016186903A JP 2016186903 A JP2016186903 A JP 2016186903A JP 2018055160 A JP2018055160 A JP 2018055160A
- Authority
- JP
- Japan
- Prior art keywords
- virtual machine
- migration
- time
- virtual
- machines
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims description 37
- 230000007423 decrease Effects 0.000 claims abstract description 34
- 238000001514 detection method Methods 0.000 claims abstract description 19
- 238000013508 migration Methods 0.000 claims description 245
- 230000005012 migration Effects 0.000 claims description 245
- 238000007726 management method Methods 0.000 claims description 146
- 230000008569 process Effects 0.000 claims description 29
- 238000012545 processing Methods 0.000 claims description 11
- 238000012546 transfer Methods 0.000 claims description 10
- 238000004364 calculation method Methods 0.000 description 29
- 238000004458 analytical method Methods 0.000 description 23
- 238000010586 diagram Methods 0.000 description 11
- 230000003247 decreasing effect Effects 0.000 description 10
- 230000000875 corresponding effect Effects 0.000 description 8
- 230000007704 transition Effects 0.000 description 8
- 238000013507 mapping Methods 0.000 description 7
- 230000004044 response Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
本発明は、仮想マシン管理装置、方法及びプログラムに関し、特に、稼動中の仮想マシンを移行する仮想マシン管理装置、方法及びプログラムに関する。 The present invention relates to a virtual machine management apparatus, method, and program, and more particularly, to a virtual machine management apparatus, method, and program for migrating an operating virtual machine.
クラウド提供事業者は、物理マシン上で複数の仮想マシンを動作させるというサーバ仮想化技術を用いて、インターネットを介したサーバの提供を行っている。クラウド事業提供者は、自身のサーバリソースを有効活用することや、物理マシンのメンテナンス、消費電力低減のために、仮想マシンのライブマイグレーションを行う場合がある。ここでライブマイグレーションとは、ある物理マシン上の仮想マシンの動作を停止することなく、他の物理マシンに当該仮想マシンを移行する技術をいう。 Cloud providers provide servers via the Internet using server virtualization technology that operates multiple virtual machines on physical machines. In some cases, a cloud business provider performs live migration of a virtual machine in order to effectively use its own server resources, maintain a physical machine, and reduce power consumption. Here, live migration refers to a technology for migrating a virtual machine to another physical machine without stopping the operation of the virtual machine on a certain physical machine.
特許文献1には、ライブマイグレーションの非収束が検出された仮想マシンについては、データ中継装置が当該仮想マシン宛のデータ転送を保留する技術が開示されている。また、特許文献2には、物理計算機のハードウェア資源の過不足がなるべく生じないように仮想計算機を配置する技術が開示されている。
しかしながら、特許文献1には、ライブマイグレーションの実施中に移行元の仮想マシンに対するアクセスが集中した場合には、保留するデータ量が増加し、マイグレーションが失敗するおそれがあるという問題点がある。また、特許文献2では、マイグレーション実施前の資源状態を考慮するものであるため、実施中の変動に伴う上記問題を解決することができない。
However,
本発明は、このような問題点を解決するためになされたものであり、仮想マシンの移行の失敗を低減するための仮想マシン管理装置、方法及びプログラムを提供することを目的とする。 The present invention has been made to solve such problems, and an object of the present invention is to provide a virtual machine management apparatus, method, and program for reducing failure of virtual machine migration.
本発明の第1の態様にかかる仮想マシン管理装置は、
異なる物理マシン内で稼働する複数の仮想マシンのそれぞれについて、アクセス数の増減の規則性を示すアクセスパターンを検出する検出部と、
前記複数の仮想マシンの間で前記アクセスパターンの相関が低い組合せを特定する特定部と、
前記特定された組合せと、各物理マシンのリソースの空き容量とに基づいて、移行対象の仮想マシン及び移行先の物理マシンを決定し、前記アクセスパターンに基づいて、当該移行対象の仮想マシンにおける前記アクセス数が低下する時間帯を移行予定日時として決定する決定部と、
を備える。
A virtual machine management device according to the first aspect of the present invention includes:
For each of a plurality of virtual machines running in different physical machines, a detection unit that detects an access pattern indicating regularity of increase / decrease in the number of accesses,
A specifying unit that specifies a combination having a low correlation of the access patterns among the plurality of virtual machines;
The migration target virtual machine and the migration destination physical machine are determined based on the identified combination and the resource free capacity of each physical machine, and the migration target virtual machine in the migration target virtual machine is determined based on the access pattern. A determination unit that determines a time zone in which the number of accesses decreases as a scheduled transfer date and time,
Is provided.
本発明の第2の態様にかかる仮想マシン管理方法は、
異なる物理マシン内で稼働する複数の仮想マシンのそれぞれについて、アクセス数の増減の規則性を示すアクセスパターンを検出し、
前記複数の仮想マシンの間で前記アクセスパターンの相関が低い組合せを特定し、
前記特定された組合せと、各物理マシンのリソースの空き容量とに基づいて、移行対象の仮想マシン及び移行先の物理マシンを決定し、
前記アクセスパターンに基づいて、当該移行対象の仮想マシンにおける前記アクセス数が低下する時間帯を移行予定日時として決定する。
The virtual machine management method according to the second aspect of the present invention includes:
For each of a plurality of virtual machines running in different physical machines, an access pattern indicating regularity of increase / decrease in the number of accesses is detected,
Identifying a combination with a low correlation of the access patterns among the plurality of virtual machines;
Based on the identified combination and the free capacity of the resources of each physical machine, determine a virtual machine to be migrated and a physical machine to be migrated,
Based on the access pattern, a time zone in which the number of accesses in the migration target virtual machine decreases is determined as a migration scheduled date and time.
本発明の第3の態様にかかる仮想マシン管理プログラムは、
異なる物理マシン内で稼働する複数の仮想マシンのそれぞれについて、アクセス数の増減の規則性を示すアクセスパターンを検出する処理と、
前記複数の仮想マシンの間で前記アクセスパターンの相関が低い組合せを特定する処理と、
前記特定された組合せと、各物理マシンのリソースの空き容量とに基づいて、移行対象の仮想マシン及び移行先の物理マシンを決定する処理と、
前記アクセスパターンに基づいて、当該移行対象の仮想マシンにおける前記アクセス数が低下する時間帯を移行予定日時として決定する処理と、
をコンピュータに実行させる。
A virtual machine management program according to the third aspect of the present invention includes:
For each of a plurality of virtual machines running in different physical machines, processing for detecting an access pattern indicating regularity of increase / decrease in the number of accesses,
A process of identifying a combination having a low correlation of the access patterns among the plurality of virtual machines;
A process of determining a migration target virtual machine and a migration destination physical machine based on the identified combination and the free capacity of the resource of each physical machine;
Based on the access pattern, a process for determining a time zone in which the number of accesses in the migration target virtual machine decreases as a scheduled migration date and time,
Is executed on the computer.
本発明の第4の態様にかかる仮想マシン管理装置は、
物理マシン内で稼働する複数の仮想マシンのうち、アクセス数が上昇傾向にある仮想マシンを検出する検出部と、
前記検出された仮想マシンにおける前記アクセス数に基づいてリソース不足となる推定時刻を算出し、前記仮想マシンのデータ量とネットワーク速度に基づいて当該仮想マシンの物理マシン間の移行に要する移行所要時間を算出し、当該移行所要時間に基づき当該仮想マシンの移行時の限界アクセス数を算出し、前記検出された仮想マシン以外の仮想マシンについて前記移行所要時間を算出し、
前記推定時刻と前記移行所要時間と前記限界アクセス数とに基づいて、前記複数の仮想マシンのうち移行対象の仮想マシンと、移行予定日時とを決定する決定部と、
を備える。
The virtual machine management device according to the fourth aspect of the present invention is:
A detection unit that detects a virtual machine whose number of accesses is increasing among a plurality of virtual machines operating in a physical machine;
Based on the number of accesses in the detected virtual machine, an estimated time when the resource is insufficient is calculated, and based on the data amount and network speed of the virtual machine, the migration time required for migration between physical machines of the virtual machine is calculated. Calculate, calculate the limit access number at the time of migration of the virtual machine based on the migration required time, calculate the migration required time for virtual machines other than the detected virtual machine,
Based on the estimated time, the required migration time, and the limit access number, a determination unit that determines a virtual machine to be migrated among the plurality of virtual machines and a scheduled migration date and time,
Is provided.
本発明の第5の態様にかかる仮想マシン管理方法は、
物理マシン内で稼働する複数の仮想マシンのうち、アクセス数が上昇傾向にある仮想マシンを検出し、
前記検出された仮想マシンにおける前記アクセス数に基づいてリソース不足となる推定時刻を算出し、
前記仮想マシンのデータ量とネットワーク速度に基づいて当該仮想マシンの物理マシン間の移行に要する移行所要時間を算出し、
前記移行所要時間に基づき当該仮想マシンの移行時の限界アクセス数を算出し、
前記検出された仮想マシン以外の仮想マシンについて前記移行所要時間を算出し、
前記推定時刻と前記移行所要時間と前記限界アクセス数とに基づいて、前記複数の仮想マシンのうち移行対象の仮想マシンと、移行予定日時とを決定する。
A virtual machine management method according to the fifth aspect of the present invention includes:
Detects virtual machines whose access count is increasing among multiple virtual machines running in physical machines.
Calculate an estimated time of resource shortage based on the number of accesses in the detected virtual machine,
Based on the amount of data of the virtual machine and the network speed, calculate the time required for migration of the virtual machine between physical machines,
Calculate the limit number of accesses at the time of migration of the virtual machine based on the migration required time,
Calculate the migration time for virtual machines other than the detected virtual machine,
Based on the estimated time, the required migration time, and the limit access number, a virtual machine to be migrated among the plurality of virtual machines and a scheduled migration date and time are determined.
本発明により、仮想マシンの移行の失敗を低減するための仮想マシン管理装置、方法及びプログラムを提供することができる。 According to the present invention, it is possible to provide a virtual machine management apparatus, method, and program for reducing failure of virtual machine migration.
以下では、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。各図面において、同一要素には同一の符号が付されており、説明の明確化のため、必要に応じて重複説明は省略する。 Hereinafter, specific embodiments to which the present invention is applied will be described in detail with reference to the drawings. In the drawings, the same elements are denoted by the same reference numerals, and redundant description will be omitted as necessary for the sake of clarity.
<実施の形態1>
図1は、本発明の実施の形態1にかかる仮想マシン管理装置1000を含む全体構成を示すブロック図である。仮想マシン管理装置1000は、物理マシンpmx、pmy及びpmzと接続され、これらの中で稼働する任意の仮想マシンを管理するものである。ここでは、物理マシンpmx内に仮想マシンvmaが稼働し、物理マシンpmy内に仮想マシンvmbが稼働しているが、これらに限定されない。本実施の形態では、少なくとも異なる物理マシン内で複数の仮想マシンが稼働するものであればよい。
<
FIG. 1 is a block diagram showing an overall configuration including a virtual
仮想マシン管理装置1000は、検出部1100と、特定部1200と、決定部1300とを備える。検出部1100は、仮想マシンvma及びvmbを含む複数の仮想マシンのそれぞれについて、アクセス数とリソース使用状況の増減の規則性を示すアクセスパターンを検出する。特定部1200は、複数の仮想マシンの間でアクセスパターンの相関が低い組合せを特定する。決定部1300は、特定された組合せと、各物理マシンのリソースの空き容量とに基づいて、移行対象の仮想マシン及び移行先の物理マシンを決定する。そして、決定部1300は、アクセスパターンに基づいて、当該移行対象の仮想マシンにおけるアクセス数が低下する時間帯を移行予定日時として決定する。
The virtual
図2は、本発明の実施の形態1にかかる仮想マシン移行管理方法の流れを示すフローチャートである。まず、検出部1100は、複数の仮想マシンのそれぞれについて、アクセス数とリソース使用状況の増減の規則性を示すアクセスパターンを検出する(S11)。次に、特定部1200は、複数の仮想マシンの間でアクセスパターンの相関が低い組合せを特定する(S12)。例えば、仮想マシンvma及びvmyの組合せが特定されたものとする。そして、決定部1300は、特定された組合せと、各物理マシンのリソースの空き容量とに基づいて、移行対象の仮想マシン及び移行先の物理マシンを決定する(S13)。そして、決定部1300は、アクセスパターンに基づいて、当該移行対象の仮想マシンにおけるアクセス数が低下する時間帯を移行予定日時として決定する(S14)。
FIG. 2 is a flowchart showing a flow of the virtual machine migration management method according to the first exemplary embodiment of the present invention. First, the
このように、本実施の形態では、現時点だけではなく、移行実施中のアクセス数の推移を考慮するために、アクセスパターンに基づいて、移行対象の仮想マシンにおけるアクセス数が低下する時間帯を移行予定日時として決定する。そのため、仮想マシンの移行に伴う負荷の影響を極力排除することができ、仮想マシンの移行の失敗を低減することができる。 As described above, in this embodiment, in order to consider not only the current time but also the transition of the number of accesses during migration, the time zone in which the number of accesses in the migration target virtual machine decreases is migrated based on the access pattern. Determined as scheduled date and time. Therefore, it is possible to eliminate the influence of the load accompanying the migration of the virtual machine as much as possible, and to reduce the failure of the migration of the virtual machine.
<実施の形態2>
図3は、本発明の実施の形態2にかかる仮想マシン管理装置2000を含む全体構成を示すブロック図である。図3では、少なくとも物理マシンpmx内に2以上の仮想マシンvma及びvmbが稼働しているものとする。仮想マシン管理装置2000は、物理マシンpmx及びpmyと接続され、これら上で稼働する任意の仮想マシンを管理するものである。
<
FIG. 3 is a block diagram showing an overall configuration including the virtual
仮想マシン管理装置2000は、検出部2100と、算出部2200と、決定部2300とを備える。検出部2100は、物理マシンpmx内で稼働する複数の仮想マシンvma及びvmbのうち、アクセス数が上昇傾向にある仮想マシンを検出する。算出部2200は、検出された仮想マシンにおけるアクセス数に基づいてリソース不足となる推定時刻を算出する。また、算出部2200は、仮想マシンのデータ量とネットワーク速度に基づいて当該仮想マシンの物理マシン間の移行に要する移行所要時間を算出する。また、算出部2200は、当該移行所要時間に基づき当該仮想マシンの移行時の限界アクセス数を算出する。また、算出部2200は、検出された仮想マシン以外の仮想マシンについて移行所要時間を算出する。決定部2300は、推定時刻と移行所要時間と限界アクセス数とに基づいて、複数の仮想マシンのうち移行対象の仮想マシンと、移行予定日時とを決定する。
The virtual
図4は、本発明の実施の形態2にかかる仮想マシン移行管理方法の流れを示すフローチャートである。まず、検出部2100は、物理マシン内で稼働する複数の仮想マシンのうち、アクセス数が上昇傾向にある仮想マシンを検出する(S21)。
FIG. 4 is a flowchart showing a flow of the virtual machine migration management method according to the second exemplary embodiment of the present invention. First, the
次に、算出部2200は、検出された仮想マシンにおけるアクセス数に基づいてリソース不足となる推定時刻を算出し、仮想マシンのデータ量とネットワーク速度に基づいて当該仮想マシンの物理マシン間の移行に要する移行所要時間を算出し、移行所要時間に基づき当該仮想マシンの移行時の限界アクセス数を算出し、検出された仮想マシン以外の仮想マシンについて移行所要時間を算出する(S22)。
Next, the
そして、決定部2300は、推定時刻と移行所要時間と限界アクセス数とに基づいて、複数の仮想マシンのうち移行対象の仮想マシンと、移行予定日時とを決定する(S23)。
Then, the
このように、本実施の形態では、ある物理マシン内の一部の仮想マシンのアクセス数が上昇傾向にある場合に、当該仮想マシンの限界アクセス数から他の物理マシンへ移行させる移行対象の仮想マシンを決定し、リソース不足となる推定時刻と移行所要時間を用いて移行予定日時を決定することができる。そのため、仮想マシンの移行に伴う負荷の影響を極力排除することができ、仮想マシンの移行の失敗を低減することができる。 As described above, in this embodiment, when the number of accesses of a part of virtual machines in a certain physical machine is on an upward trend, the migration target virtual machine to be migrated from the limit access number of the virtual machine to another physical machine. The machine can be determined, and the estimated migration date and time can be determined using the estimated time when the resource is insufficient and the required migration time. Therefore, it is possible to eliminate the influence of the load accompanying the migration of the virtual machine as much as possible, and to reduce the failure of the migration of the virtual machine.
<実施の形態3>
本実施の形態3は、上述した実施の形態1及び2の具体的な実施例である。ここで、解決しようとする課題について改めて説明する。ます、ライブマイグレーション時に、メモリの更新が頻繁に行われる場合、メモリの差分コピーが更新量に追いつかずに、マイグレーションに失敗する場合がある。また、マイグレーションを実施するネットワークがユーザデータ通信ようのネットワークと分離できていない環境において、マイグレーションの実施による負荷が、ユーザデータ通信に影響し、応答速度の遅延やリクエストのリトライ回数超過によるシステム障害を招く可能性がある。
<
The third embodiment is a specific example of the first and second embodiments described above. Here, the problem to be solved will be described again. In addition, if the memory is frequently updated during live migration, the migration may fail because the differential copy of the memory cannot keep up with the update amount. Also, in an environment where the network performing the migration cannot be separated from the network for user data communication, the load caused by the migration affects the user data communication, resulting in a system failure due to a response speed delay or excessive request retry count. There is a possibility of inviting.
そこで、本実施の形態では、リソースの効率化を目的とした仮想マシンの移行と、物理マシンのメンテナンス等を目的とした計画的な仮想マシンの移行とを対象として、それらの移行を効率的、かつユーザのシステム要件を満たす形で失敗を低減させる形で実現する。その一部として例えば、仮想マシン管理装置により一定期間アクセス数を記録し、アクセスパターンを検出することによってライブマイグレーションに適した仮想マシンを選出する。 Therefore, in this embodiment, the migration of virtual machines for the purpose of resource efficiency and the planned migration of virtual machines for the purpose of physical machine maintenance, etc. are targeted efficiently. In addition, the failure is reduced by satisfying the user system requirements. As a part of this, for example, the number of accesses is recorded by a virtual machine management apparatus for a certain period, and a virtual machine suitable for live migration is selected by detecting an access pattern.
特に、前記決定部は、前記組合せにかかる仮想マシンのそれぞれが属する物理マシンのうち、前記リソースの空き容量が十分にある物理マシンを前記移行先として決定する。ここで、リソースの空き容量が十分にある物理マシンとは、前記組合せにかかる仮想マシンの双方を稼働し得るリソースの容量がある物理マシンをいうものとする。 In particular, the determination unit determines, as the migration destination, a physical machine having a sufficient free capacity of the resource among physical machines to which the virtual machines related to the combination belong. Here, a physical machine having a sufficient free capacity of a resource means a physical machine having a capacity of a resource capable of operating both of the virtual machines related to the combination.
また、前記決定部は、前記物理マシンのうちいずれも前記リソースの空き容量が十分にある場合には、前記アクセス数が低下する時間帯におけるアクセス数のより少ない仮想マシンを移行対象として決定することが望ましい。また、前記決定部は、前記物理マシンのうちいずれも前記リソースの空き容量が十分にない場合には、双方の仮想マシンを移行対象とし、当該双方の仮想マシンが属する物理マシン以外の物理マシンを前記移行先として決定することが望ましい。また、外部から移行対象の仮想マシンの指定を受け付ける受付部をさらに備え、前記決定部は、前記検出部により前記指定された仮想マシンについて前記アクセスパターンが検出されなかった場合、当該仮想マシンの前記アクセス数に減少傾向が検出されたタイミングを前記移行予定日時として決定するとよい。 Further, the determination unit determines, as a migration target, a virtual machine having a smaller number of accesses in a time zone in which the number of accesses decreases when all of the physical machines have sufficient free capacity of the resources. Is desirable. Further, when none of the physical machines has sufficient free capacity of the resource, the determination unit sets both virtual machines as migration targets, and selects a physical machine other than the physical machine to which the both virtual machines belong. It is desirable to determine the migration destination. In addition, the image processing apparatus further includes a reception unit that receives designation of a migration target virtual machine from the outside, and the determination unit detects the access pattern of the virtual machine when the detection unit does not detect the access pattern for the designated virtual machine. The timing when the decreasing tendency is detected in the number of accesses may be determined as the scheduled transfer date and time.
図5は、本発明の実施の形態3にかかる仮想マシン管理装置10を含む全体構成を示すブロック図である。仮想マシン管理装置10は、クラウド環境を利用するクライアントCからネットワークNを介して接続されるデータセンタ内に設置された情報処理装置である。当該データセンタには、物理マシン100、200及び300等が設置されている。物理マシン100は、例えば、仮想マシン101から103と、仮想マシン管理部110とを備える。物理マシン200は、例えば、仮想マシン201から203と、仮想マシン管理部210とを備える。物理マシン300は、仮想マシン管理部310を備える。仮想マシン管理部110、210及び310は、自身が属する物理マシン内で稼働する仮想マシンの動作を制御する。
FIG. 5 is a block diagram showing an overall configuration including the virtual
仮想マシン管理装置10は、物理マシン100、200及び300と内部のネットワークにより接続されている。尚、当該データセンタ内には、少なくとも2以上の物理マシンが設置されていればよい。また、当該データセンタ内には、2以上の仮想マシン管理装置10が設置されていてもよく、その場合、仮想マシン管理装置10同士が連携可能である。
The virtual
図6は、本発明の実施の形態3にかかる仮想マシン管理装置10の内部構成を示すブロック図である。仮想マシン管理装置10は、運用管理者入力部11と、移行指令部12と、移行管理部20と、補助記憶装置25と、仮想マシン管理部30とを備える。運用管理者入力部11は、外部端末に接続され、運用操作可能な管理画面を提供する。移行指令部12は、移行管理部20からの入力をもとに、データセンタ内の移行対象の仮想マシンに対して、移行先の物理マシンを指定して移行開始指令を発信する。
FIG. 6 is a block diagram showing an internal configuration of the virtual
補助記憶装置25は、移行管理部20及び仮想マシン管理部30からアクセス可能な記憶装置である。補助記憶装置25は、仮想マシン移行管理情報及びネットワーク負荷状況等を記憶する。
The
図7は、本発明の実施の形態3にかかる仮想マシン移行管理情報の例を示す図である。仮想マシン移行管理情報は、IPアドレスに、ユーザ要件、優先度、移行期限日時及び移行所要時間等を対応付けたテーブルである。IPアドレスは、仮想マシン管理装置10における管理対象の全ての仮想マシンのIPアドレスである。ユーザ要件は、ユーザにより指定されたリトライ回数の上限値や応答時間の上限値である。ユーザ要件は、例えば、クラウド環境利用者がクラウド環境利用開始時に提示するシステムのリトライ回数や応答速度の上限を示す閾値である。
FIG. 7 is a diagram showing an example of virtual machine migration management information according to the third exemplary embodiment of the present invention. The virtual machine migration management information is a table in which user requirements, priority, migration deadline date and time required for migration, and the like are associated with IP addresses. The IP address is an IP address of all virtual machines to be managed in the virtual
優先度は、移行順序を決定するためのものである。優先度は、1から10の整数値で指定可能で、既定値は5とする。また、優先度は、値が小さいほど高いことを表す。優先度は、ユーザにより指定される他、アクセス状況等に応じて適宜、更新されてもよい。移行期限日時は、ユーザにより指定された仮想マシンごとの移行期限の日時である。移行所要時間は、仮想マシンにおける物理マシン間の移行に要する所要時間の予測値である。 The priority is for determining the transfer order. The priority can be specified by an integer value from 1 to 10, and the default value is 5. The priority is higher as the value is smaller. In addition to being designated by the user, the priority may be appropriately updated according to the access status or the like. The migration deadline date and time is the date and time of migration deadline for each virtual machine designated by the user. The required migration time is an estimated value of the required time required for migration between physical machines in a virtual machine.
図9は、本発明の実施の形態3にかかるネットワーク負荷状況の例を示す図である。ネットワーク負荷状況は、仮想マシン管理部30により収集されたリソース使用状況の一例である。例えば、経路aは、クライアントCからネットワークN及び仮想マシン管理装置10を介して仮想マシン101へアクセスされる際のネットワーク速度等である。
FIG. 9 is a diagram illustrating an example of a network load situation according to the third embodiment of the present invention. The network load status is an example of a resource usage status collected by the virtual
移行管理部20は、ユーザ要件管理部22と、算出部23と、移行対象管理部24とを備える。ユーザ要件管理部22は、補助記憶装置25に格納された仮想マシン移行管理情報のユーザ要件を参照し、実際のアクセスがユーザ要件を満たすか否かを監視する。移行対象管理部24は、補助記憶装置25に格納された仮想マシン移行管理情報の優先度や算出された移行予定日時に基づいて、移行対象の仮想マシンを選出し、移行指令部12へ指令を出す。
The migration management unit 20 includes a user
算出部23は、仮想マシン管理部30から情報を受け取り、次のような値を算出する。例えば、算出部23は、仮想マシンのリソース使用状況が、アクセスの増加などにより上昇傾向にある場合、リソース枯渇までの推定時刻を算出する。つまり、算出部23は、アクセス数が上昇傾向にある仮想マシンにおけるアクセス数に基づいて、リソース不足となる推定時刻を算出する。また、算出部23は、リソース使用状況が上昇中の仮想マシンの移行を行う場合に、移行所要時間を算出する。また、算出部23は、リソース使用状況が上昇中の仮想マシンと同一の物理マシンに他の仮想マシンが稼働している場合、他の仮想マシンに対しても移行所要時間を算出する。ここで、算出部23は、仮想マシンのデータ量とネットワーク速度の推移に基づいて移行所要時間を算出してもよい。
The
また、算出部23は、移行所要時間に基づき仮想マシンの移行時の限界アクセス数を算出する。つまり、算出部23は、ライブマイグレーション時にメモリコピーが追い付かずに、失敗すると推測される限界アクセス数を算出する。ここで、算出部23は、ネットワーク速度の推移とメモリ更新量に基づいて限界アクセス数を算出してもよい。また、算出部23は、仮想マシンのアクセス数に増減の規則性がある場合には、上記推定時刻までの間に最も短い時間で移行可能な時間帯を算出する。また、算出部23は、アクセス数が減少傾向にある場合、減少傾向が継続すると予測される継続時間を算出する。
Further, the
仮想マシン管理部30は、データセンタ内のすべての仮想マシンの情報を取得する。仮想マシン管理部30は、リソース管理部31と、アクセス管理部32と、パターン解析部34と、補助記憶装置35とを備える。補助記憶装置35は、移行管理部20及び仮想マシン管理部30からアクセス可能な記憶装置である。補助記憶装置35は、仮想マシンごとのアクセス数、リソース保有量、リソース使用状況、アクセスパターン、仮想マシン間のアクセスパターンの相関を示すマッピングテーブル等を記憶する。図8は、本発明の実施の形態3にかかるマッチングテーブルの例を示す図である。ここで、アクセスパターンは、アクセス数の増減傾向の規則性を示す情報である。特に、規則性とは、例えば、日単位で特定の時間帯を比較した場合に、アクセス数の増加や減少の傾きが近いことや、増減の間隔や回数が近いことが一定の回数、繰り返されていることをいうものとする。また、補助記憶装置35は、仮想マシンごとのアクセスパターンの有無を示す情報を記憶していてもよい。
The virtual
リソース管理部31は、各仮想マシンのリソース保有量及び使用状況を測定し、補助記憶装置35に保存して管理する。ここで、リソース使用状況とは、例えば、CPU(Central Processing Unit)使用率、メモリ使用率、HDD(Hard Disk Drive)使用率、ネットワーク帯域幅等である。また、リソース管理部31は、リソース使用状況が上昇傾向又は減少傾向にある場合、それを検知する。
The
アクセス管理部32は、各仮想マシンのアクセス数、応答時間及びリトライ回数を測定し、補助記憶装置35に保存して管理する。また、アクセス管理部32は、アクセス数が上昇傾向又は減少傾向にある場合、それを検知する。
The
パターン解析部34は、補助記憶装置35を参照し、一定期間について、各仮想マシンのアクセス数とリソース使用率の変化を解析し、時間軸に沿った規則性(アクセスパターン)の有無を検出する。ここで、パターン解析部34は、解析結果や規則性の有無を補助記憶装置35に保存する。尚、パターン解析部34は、各仮想マシンのアクセス数とリソース使用率の相関を算出してもよい。
The
そして、パターン解析部34は、規則性が検出された仮想マシンに対しては、他の規則性のある仮想マシンに対して、リソース使用率の合計がほぼ横ばいになる相手を探し、それらの対応付け(マッピング)を行い、補助記憶装置35にマッピングテーブルとして保存する。具体的には、パターン解析部34は、仮想マシンの間で、アクセスパターンの相関を算出する。そして、アクセスパターンの相関が閾値以下の組合せを特定し、補助記憶装置35に組合せとアクセスパターンの相関をマッピングテーブルとして登録する。
Then, the
また、パターン解析部34は、組合せにかかる仮想マシンの双方のアクセスパターン及びその相関を定期的に確認し、アクセスパターンが検出されなくなった場合や、アクセスパターンの相関が閾値以上になった場合には、マッピングテーブルの登録を削除する。
In addition, the
さらに、パターン解析部34は、移動平均法を用いて、アクセス数とリソース消費量に相関がある場合に、上昇傾向にあるか減少傾向にあるかを判別し、さらにその傾向のその後の継続時間を予測する。
Further, the
ここで、運用が開始されているデータセンタに対して、仮想マシン管理装置10を導入した場合の、導入初期の動作を説明する。図10は、本発明の実施の形態3にかかる登録処理の流れを示すフローチャートである。まず、仮想マシン管理部30は、仮想マシン管理装置10の起動直後に、データセンタ内の管理対象の全ての仮想マシンのIPアドレスの情報及びネットワーク負荷状況を取得する(S41)。例えば、仮想マシン管理部30のリソース管理部31は、パケットのスループット等によりネットワーク負荷状況を測定し、補助記憶装置25に保存する。また、その後、リソース管理部31は、定期的にネットワーク負荷状況を更新する。
Here, an operation at the initial stage of installation when the virtual
そして、仮想マシン管理部30は、取得した仮想マシンのIPアドレスと同じ行数のテーブルを仮想マシン移行管理情報として補助記憶装置25に作成する。そして、仮想マシン管理部30は、当該テーブルに取得したIPアドレスの情報を追加する(S42)。
Then, the virtual
図11は、本発明の実施の形態3にかかるパターン解析処理の流れを示すフローチャートである。リソース管理部31及びアクセス管理部32は、各仮想マシンのリソース使用率とアクセス数について監視を開始する(S51)。これらの情報は、仮想マシン管理部30で得られた仮想マシンの情報に対応付けて収集される。
FIG. 11 is a flowchart showing a flow of pattern analysis processing according to the third embodiment of the present invention. The
リソース管理部31及びアクセス管理部32は、取得した監視対象の情報を、随時、パターン解析部34へ送信する。パターン解析部34は、受信した監視対象の情報に基づいてパターン解析を行う。そして、パターン解析部34は、監視対象の情報と解析結果を補助記憶装置35に保存する(S52)。尚、監視対象の情報及び解析結果は、一定期間経過後に削除するようにしてもよい。
The
図12は、本発明の実施の形態3にかかるユーザ要件入力処理の流れを示すフローチャートである。まず、運用管理者は、運用管理者入力部11から、該当するシステム(仮想マシン)に対してユーザ要件の入力を行う(S61)。ユーザ要件管理部22は、入力されたユーザ要件の情報を仮想マシン移行管理情報に追加して補助記憶装置25を更新する(S62)。
FIG. 12 is a flowchart showing the flow of the user requirement input process according to the third embodiment of the present invention. First, the operation manager inputs user requirements to the corresponding system (virtual machine) from the operation manager input unit 11 (S61). The user
次に、運用管理者により、仮想マシンの移行が計画された場合の動作について説明する。この場合、物理マシンのメンテナンス等を想定しているため、移行対象の仮想マシンは決まっているものとする。図13は、本発明の実施の形態3にかかる移行計画処理の流れを示すフローチャートである。 Next, an operation when a migration of a virtual machine is planned by the operation manager will be described. In this case, since the maintenance of the physical machine is assumed, it is assumed that the migration target virtual machine is determined. FIG. 13 is a flowchart showing the flow of the migration plan process according to the third embodiment of the present invention.
まず、運用管理者は、運用管理者入力部11から移行対象の仮想マシンAに対して、優先度及び移行期限日時を指定する(S71)。例えば、運用管理者は、仮想マシンAの優先度を高く、つまり、小さい値を入力する。これに応じて、移行管理部20は、指定された優先度及び移行期限日時を仮想マシン移行管理情報に追加して補助記憶装置25を更新する。
First, the operation manager designates the priority and the migration deadline date and time for the migration target virtual machine A from the operation manager input unit 11 (S71). For example, the operation manager inputs a higher value for the priority of the virtual machine A, that is, a smaller value. In response to this, the migration management unit 20 updates the
次に、パターン解析部34は、該当の仮想マシンAに対するアクセスパターンの有無を確認する(S72)。具体的には、パターン解析部34は、補助記憶装置35を参照し、仮想マシンに関するアクセスパターンの有無を判定する。
Next, the
ステップS72において、アクセスパターンが無いと確認された場合、ステップS76へ進む。アクセス管理部32は、仮想マシンAのアクセス数が減少傾向にあると検知した場合、移行管理部20へ通知する。仮想マシンAのアクセス数が減少傾向にあると通知された場合、移行管理部20の算出部23は、減少傾向の継続時間の予測を算出する。また、算出部23は、仮想マシンAの移行所要時間を算出する。そして、移行対象管理部24は、算出した継続時間が移行所要時間より長い場合、仮想マシンAの移行を開始するよう指令を行う。つまり、アクセス数の減少傾向が検出されたタイミングを移行予定日時として決定する(S76)。尚、移行先は、仮想マシンAが稼働する物理マシン以外の任意の物理マシンとする。
If it is confirmed in step S72 that there is no access pattern, the process proceeds to step S76. When the
ステップS72において、アクセスパターンが有ると確認された場合、移行対象管理部24は、アクセスパターンに基づいて、アクセス数の少ない時間帯を推奨移行日時として設定する(S73)。尚、推奨移行日時は、別途、算出部23により算出されるリソース枯渇までの推定時刻よりも前である。そして、移行対象管理部24は、推奨移行日時が移行期限日時より前であるか否かを判定する(S74)。推奨移行日時が移行期限日時より前である場合、当該推奨移行日時を移行予定日時に設定する(S75)。一方、ステップS74において、推奨移行日時が移行期限日時より前でない場合、ステップS76へ進み、上述した処理を行う。
When it is confirmed in step S72 that there is an access pattern, the migration
また、ステップS72において、アクセスパターンが有ると確認された場合、ステップS73と並行してステップS77へ進む。パターン解析部34は、補助記憶装置35を参照し、マッピングテーブル内に仮想マシンAのアクセスパターンに対応するパターンを持つ仮想マシンBの有無を確認する(S77)。仮想マシンAに対応する仮想マシンBが有る場合、リソース管理部31は、仮想マシンBの属する物理マシンに十分なリソース空き容量があるか否かを判定する(S78)。十分なリソース空き容量がある場合、移行対象管理部24は、移行先を仮想マシンBが属する物理マシンに設定する(S79)。
If it is confirmed in step S72 that there is an access pattern, the process proceeds to step S77 in parallel with step S73. The
ステップS77において、仮想マシンAに対応する仮想マシンBが無い場合、又は、ステップS78において、仮想マシンBの属する物理マシンに十分なリソース空き容量が無い場合、移行対象管理部24は、移行先を十分なリソース空き容量のある任意の物理マシンに設定する(S80)。
If there is no virtual machine B corresponding to the virtual machine A in step S77, or if there is not enough resource free space in the physical machine to which the virtual machine B belongs in step S78, the migration
続いて、パターンの検出により仮想マシンの移行が計画される場合の動作について説明する。図14は、本発明の実施の形態3にかかる移行計画処理の流れを示すフローチャートである。前提として、処理対象の仮想マシンA及びBの優先度は高いものとする。 Next, an operation when migration of a virtual machine is planned by pattern detection will be described. FIG. 14 is a flowchart showing the flow of the migration plan process according to the third embodiment of the present invention. As a premise, it is assumed that the priority of the virtual machines A and B to be processed is high.
まず、パターン解析部34は、仮想マシンAのアクセス数の変化を時間軸に沿って解析し、アクセスパターンが存在すると判定したものとする(S81)。次に、パターン解析部34は、補助記憶装置35を参照し、マッピングテーブル内に仮想マシンAのアクセスパターンに対応するパターンを持つ仮想マシンBの有無を確認する(S82)。仮想マシンAに対応する仮想マシンBが無い場合、移行せず(S83)、処理を終了する。
First, it is assumed that the
一方、ステップS82において、仮想マシンAに対応する仮想マシンBが有る場合、リソース管理部31は、仮想マシンA及びBのそれぞれが属する物理マシンの両方に十分なリソース空き容量があるか否かを判定する(S84)。
On the other hand, when there is a virtual machine B corresponding to the virtual machine A in step S82, the
物理マシンの両方に十分なリソース空き容量がある場合、移行対象管理部24は、アクセス数が低下する時間帯におけるアクセス数の少ない方の仮想マシンが属する物理マシンを移行対象とする。さらに、移行対象管理部24は、アクセス数の低い時間帯を予定移行日時に設定する(S85)。
When both of the physical machines have sufficient resource free capacity, the migration
一方、ステップS84において、物理マシンの両方には十分なリソース空き容量が無い場合、リソース管理部31は、仮想マシンA及びBのそれぞれが属する物理マシンの片方(例えば仮想マシンB)に十分なリソース空き容量があるか否かを判定する(S86)。
On the other hand, in step S84, when both of the physical machines do not have sufficient resource free space, the
物理マシンの片方に十分なリソース空き容量がある場合、移行対象管理部24は、仮想マシンAを移行対象とする。さらに、移行対象管理部24は、仮想マシンAのアクセス数が低下する時間帯を予定移行日時に設定する(S87)。
When there is sufficient resource free space in one of the physical machines, the migration
一方、ステップS86において、物理マシンのいずれにも十分なリソース空き容量が無い場合、移行対象管理部24は、両者(仮想マシンA及びB)を移行対象とする。そして、移行対象管理部24は、仮想マシンA及びBのそれぞれのアクセス数が低下する時間帯を、それぞれの予定移行日時に設定する(S88)。
On the other hand, in step S86, when there is no sufficient resource free space in any of the physical machines, the migration
次に、アクセス数の上昇が検出されたことを契機に移行が計画される場合について説明する。ここでは、1台の物理マシン内に複数の仮想マシンが稼働していることが前提となる。また、前提として、処理対象の仮想マシンA、B及びCの優先度は高いものとする。図15は、本発明の実施の形態3にかかる移行計画処理の流れを示すフローチャートである。 Next, a description will be given of a case where migration is planned when an increase in the number of accesses is detected. Here, it is assumed that a plurality of virtual machines are operating in one physical machine. Also, as a premise, the priority of the virtual machines A, B, and C to be processed is high. FIG. 15 is a flowchart showing the flow of the migration planning process according to the third embodiment of the present invention.
まず、アクセス管理部32は、仮想マシンAのアクセス数の上昇傾向を検知したものとする(S91)。そして、アクセス数の上昇が継続した場合、算出部23は、リソース枯渇に陥る危険性のある推定時刻dを算出する。さらに、算出部23は、上昇傾向とネットワークの負荷状況からライブマイグレーションに要する移行所要時間Taを算出する。さらに、算出部23は、移行所要時間Taの値から、ライブマイグレーション時にメモリコピーが追い付かなくなる限界アクセス数Nmを算出する。さらに、算出部23は、ユーザ要件を満たした状態でライブマイグレーションを実現できる移行期限日時duを算出する(S92)。尚、移行期限日時duは、推定時刻dより前となるように算出されるものとする。
First, it is assumed that the
その後、仮想マシン管理部30は、仮想マシンAと同じ物理マシン上に、他の仮想マシン
(仮想マシンB及びCとする)が存在するか否かを判定する(S93)。存在しない場合、移行せず(S94)、処理を終了する。
Thereafter, the virtual
一方、ステップS93において、存在する場合、算出部23は、仮想マシンB及びCのライブマイグレーションに要する移行所要時間Tb及びTcを算出する(S95)。そして、移行対象管理部24は、仮想マシンAのその時点でのアクセス数Nrと限界アクセス数Nmとを比較し、NrがNmより大きいか否かを判定する(S96)。
On the other hand, if it exists in step S93, the
NrがNmより大きい場合、移行対象管理部24は、仮想マシンB及びCを移行対象とする。そして、移行対象管理部24は、移行予定日時を移行期限日時duより前とする(S97)。
When Nr is larger than Nm, the migration
一方、NrがNm以下の場合、移行対象管理部24は、仮想マシンAを移行対象とする。そして、移行対象管理部24は、移行予定日時を移行期限日時duより前とする(S98)。
On the other hand, when Nr is Nm or less, the migration
このように、本実施の形態により、ライブマイグレーション失敗確率を低減できる。また、クラウド事業提供者が仮想マシンのリソース使用量を削減できる。さらに、負荷上昇中のシステムに対しても、ライブマイグレーション失敗のリスクを取らずに、リソース不足を解消できる。また、ユーザ要件である応答時間やリトライ回数の上限を考慮することで、ライブマイグレーションによる影響下においても、システムの信頼性を維持できる。 Thus, according to the present embodiment, the live migration failure probability can be reduced. In addition, cloud business providers can reduce virtual machine resource usage. Furthermore, it is possible to solve the resource shortage without taking the risk of failure of live migration even for a system whose load is increasing. Further, by considering the response time and the upper limit of the number of retries as user requirements, the reliability of the system can be maintained even under the influence of live migration.
<その他の実施の形態>
尚、優先度は更新されてもよい。例えば、運用中のシステムにおいて、何かを契機にアクセス数の上昇が発生した場合、まず、アクセス管理部32とリソース管理部31でのアクセス数とリソース使用状況の相関関係が検出される。そして、算出部23によりリソース枯渇の可能性ありと判断された場合に、移行対象管理部24は、リソース枯渇までの推定時刻から、移行期限日時を決定する。移行対象管理部24は、さらにその期限をもとに、優先度が決定される。
<Other embodiments>
The priority may be updated. For example, when an increase in the number of accesses occurs in an operating system, first, a correlation between the number of accesses and the resource usage status in the
また、上述した仮想マシン管理装置1000等を、ネットワークを介して接続された複数のデータセンタを管理下に置く場合にも、データセンタごとに配置された仮想マシン管理装置1000等を連携させることにより、適用できる。
In addition, when the above-described virtual
なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。 Note that the present invention is not limited to the above-described embodiment, and can be changed as appropriate without departing from the spirit of the present invention.
また、上述の実施の形態では、本発明をハードウェアの構成として説明したが、本発明は、これに限定されるものではない。本発明は、任意の処理を、CPU(Central Processing Unit)にコンピュータプログラムを実行させることにより実現することも可能である。 In the above-described embodiments, the present invention has been described as a hardware configuration, but the present invention is not limited to this. The present invention can also realize arbitrary processing by causing a CPU (Central Processing Unit) to execute a computer program.
上述の例において、プログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non-transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD−ROM(Read Only Memory)、CD−R、CD−R/W、DVD(Digital Versatile Disc)、BD(Blu-ray(登録商標) Disc)、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(Random Access Memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。 In the above example, the program can be stored and supplied to a computer using various types of non-transitory computer readable media. Non-transitory computer readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (for example, flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (for example, magneto-optical disks), CD-ROMs (Read Only Memory), CD-Rs, CD-R / W, DVD (Digital Versatile Disc), BD (Blu-ray (registered trademark) Disc), semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM ( Random Access Memory)). The program may also be supplied to the computer by various types of transitory computer readable media. Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.
上記の実施形態の一部又は全部は、以下の付記のようにも記載され得るが、以下には限られない。
(付記1)
異なる物理マシン内で稼働する複数の仮想マシンのそれぞれについて、アクセス数の増減の規則性を示すアクセスパターンを検出する検出部と、
前記複数の仮想マシンの間で前記アクセスパターンの相関が低い組合せを特定する特定部と、
前記特定された組合せと、各物理マシンのリソースの空き容量とに基づいて、移行対象の仮想マシン及び移行先の物理マシンを決定し、前記アクセスパターンに基づいて、当該移行対象の仮想マシンにおける前記アクセス数が低下する時間帯を移行予定日時として決定する決定部と、
を備える仮想マシン管理装置。
(付記2)
前記決定部は、
前記組合せにかかる仮想マシンのそれぞれが属する物理マシンのうち、前記リソースの空き容量が十分にある物理マシンを前記移行先として決定する
付記1に記載の仮想マシン管理装置。
(付記3)
前記決定部は、
前記組合せにかかる仮想マシンの双方を稼働し得るリソースの容量がある物理マシンを、前記リソースの空き容量が十分にある物理マシンとする
付記2に記載の仮想マシン管理装置。
(付記4)
前記決定部は、
前記物理マシンのうちいずれも前記リソースの空き容量が十分にある場合には、前記アクセス数が低下する時間帯におけるアクセス数のより少ない仮想マシンを前記移行対象として決定する
付記2又は3に記載の仮想マシン管理装置。
(付記5)
前記決定部は、
前記物理マシンのうちいずれも前記リソースの空き容量が十分にない場合には、双方の仮想マシンを前記移行対象とし、当該双方の仮想マシンが属する物理マシン以外の物理マシンを前記移行先として決定する
付記2又は3のいずれか1項に記載の仮想マシン管理装置。
(付記6)
外部から移行対象の仮想マシンの指定を受け付ける受付部をさらに備え、
前記決定部は、
前記検出部により前記指定された仮想マシンについて前記アクセスパターンが検出されなかった場合、当該仮想マシンの前記アクセス数に減少傾向が検出されたタイミングを前記移行予定日時として決定する
付記1乃至5のいずれか1項に記載の仮想マシン管理装置。
(付記7)
異なる物理マシン内で稼働する複数の仮想マシンのそれぞれについて、アクセス数の増減の規則性を示すアクセスパターンを検出し、
前記複数の仮想マシンの間で前記アクセスパターンの相関が低い組合せを特定し、
前記特定された組合せと、各物理マシンのリソースの空き容量とに基づいて、移行対象の仮想マシン及び移行先の物理マシンを決定し、
前記アクセスパターンに基づいて、当該移行対象の仮想マシンにおける前記アクセス数が低下する時間帯を移行予定日時として決定する、
仮想マシン管理方法。
(付記8)
異なる物理マシン内で稼働する複数の仮想マシンのそれぞれについて、アクセス数の増減の規則性を示すアクセスパターンを検出する処理と、
前記複数の仮想マシンの間で前記アクセスパターンの相関が低い組合せを特定する処理と、
前記特定された組合せと、各物理マシンのリソースの空き容量とに基づいて、移行対象の仮想マシン及び移行先の物理マシンを決定する処理と、
前記アクセスパターンに基づいて、当該移行対象の仮想マシンにおける前記アクセス数が低下する時間帯を移行予定日時として決定する処理と、
をコンピュータに実行させる仮想マシン管理プログラム。
(付記9)
物理マシン内で稼働する複数の仮想マシンのうち、アクセス数が上昇傾向にある仮想マシンを検出する検出部と、
前記検出された仮想マシンにおける前記アクセス数に基づいてリソース不足となる推定時刻を算出し、前記仮想マシンのデータ量とネットワーク速度に基づいて当該仮想マシンの物理マシン間の移行に要する移行所要時間を算出し、当該移行所要時間に基づき当該仮想マシンの移行時の限界アクセス数を算出し、前記検出された仮想マシン以外の仮想マシンについて前記移行所要時間を算出し、
前記推定時刻と前記移行所要時間と前記限界アクセス数とに基づいて、前記複数の仮想マシンのうち移行対象の仮想マシンと、移行予定日時とを決定する決定部と、
を備える仮想マシン管理装置。
(付記10)
物理マシン内で稼働する複数の仮想マシンのうち、アクセス数が上昇傾向にある仮想マシンを検出し、
前記検出された仮想マシンにおける前記アクセス数に基づいてリソース不足となる推定時刻を算出し、
前記仮想マシンのデータ量とネットワーク速度に基づいて当該仮想マシンの物理マシン間の移行に要する移行所要時間を算出し、
前記移行所要時間に基づき当該仮想マシンの移行時の限界アクセス数を算出し、
前記検出された仮想マシン以外の仮想マシンについて前記移行所要時間を算出し、
前記推定時刻と前記移行所要時間と前記限界アクセス数とに基づいて、前記複数の仮想マシンのうち移行対象の仮想マシンと、移行予定日時とを決定する、
仮想マシン管理方法。
(付記11)
物理マシン内で稼働する複数の仮想マシンのうち、アクセス数が上昇傾向にある仮想マシンを検出する処理と、
前記検出された仮想マシンにおける前記アクセス数に基づいてリソース不足となる推定時刻を算出する処理と、
前記仮想マシンのデータ量とネットワーク速度に基づいて当該仮想マシンの物理マシン間の移行に要する移行所要時間を算出する処理と、
前記移行所要時間に基づき当該仮想マシンの移行時の限界アクセス数を算出する処理と、
前記検出された仮想マシン以外の仮想マシンについて前記移行所要時間を算出する処理と、
前記推定時刻と前記移行所要時間と前記限界アクセス数とに基づいて、前記複数の仮想マシンのうち移行対象の仮想マシンと、移行予定日時とを決定する処理と、
をコンピュータに実行させる仮想マシン管理プログラム。
A part or all of the above embodiments can be described as in the following supplementary notes, but is not limited thereto.
(Appendix 1)
For each of a plurality of virtual machines running in different physical machines, a detection unit that detects an access pattern indicating regularity of increase / decrease in the number of accesses,
A specifying unit that specifies a combination having a low correlation of the access patterns among the plurality of virtual machines;
The migration target virtual machine and the migration destination physical machine are determined based on the identified combination and the resource free capacity of each physical machine, and the migration target virtual machine in the migration target virtual machine is determined based on the access pattern. A determination unit that determines a time zone in which the number of accesses decreases as a scheduled transfer date and time,
A virtual machine management device.
(Appendix 2)
The determination unit
The virtual machine management device according to
(Appendix 3)
The determination unit
The virtual machine management device according to
(Appendix 4)
The determination unit
The virtual machine having a smaller number of accesses in the time zone in which the number of accesses decreases is determined as the migration target when any of the physical machines has sufficient free capacity of the resource. Virtual machine management device.
(Appendix 5)
The determination unit
If none of the physical machines has sufficient free space in the resource, both virtual machines are set as the migration target, and a physical machine other than the physical machine to which the both virtual machines belong is determined as the migration destination. The virtual machine management device according to any one of
(Appendix 6)
It further includes a reception unit that accepts designation of the virtual machine to be migrated from outside,
The determination unit
If the access pattern is not detected for the designated virtual machine by the detection unit, the timing at which a decreasing tendency is detected in the number of accesses of the virtual machine is determined as the scheduled migration date and time. The virtual machine management device according to
(Appendix 7)
For each of a plurality of virtual machines running in different physical machines, an access pattern indicating regularity of increase / decrease in the number of accesses is detected,
Identifying a combination with a low correlation of the access patterns among the plurality of virtual machines;
Based on the identified combination and the free capacity of the resources of each physical machine, determine a virtual machine to be migrated and a physical machine to be migrated,
Based on the access pattern, a time zone in which the number of accesses in the migration target virtual machine decreases is determined as a scheduled migration date and time,
Virtual machine management method.
(Appendix 8)
For each of a plurality of virtual machines running in different physical machines, processing for detecting an access pattern indicating regularity of increase / decrease in the number of accesses,
A process of identifying a combination having a low correlation of the access patterns among the plurality of virtual machines;
A process of determining a migration target virtual machine and a migration destination physical machine based on the identified combination and the free capacity of the resource of each physical machine;
Based on the access pattern, a process for determining a time zone in which the number of accesses in the migration target virtual machine decreases as a scheduled migration date and time,
Virtual machine management program that causes a computer to execute.
(Appendix 9)
A detection unit that detects a virtual machine whose number of accesses is increasing among a plurality of virtual machines operating in a physical machine;
Based on the number of accesses in the detected virtual machine, an estimated time when the resource is insufficient is calculated, and based on the data amount and network speed of the virtual machine, the migration time required for migration between physical machines of the virtual machine is calculated. Calculate, calculate the limit access number at the time of migration of the virtual machine based on the migration required time, calculate the migration required time for virtual machines other than the detected virtual machine,
Based on the estimated time, the required migration time, and the limit access number, a determination unit that determines a virtual machine to be migrated among the plurality of virtual machines and a scheduled migration date and time,
A virtual machine management device.
(Appendix 10)
Detects virtual machines whose access count is increasing among multiple virtual machines running in physical machines.
Calculate an estimated time of resource shortage based on the number of accesses in the detected virtual machine,
Based on the amount of data of the virtual machine and the network speed, calculate the time required for migration of the virtual machine between physical machines,
Calculate the limit number of accesses at the time of migration of the virtual machine based on the migration required time,
Calculate the migration time for virtual machines other than the detected virtual machine,
Based on the estimated time, the required migration time, and the limit access number, determine a virtual machine to be migrated among the plurality of virtual machines, and a scheduled migration date and time,
Virtual machine management method.
(Appendix 11)
A process for detecting a virtual machine whose number of accesses is increasing among a plurality of virtual machines running in a physical machine;
A process of calculating an estimated time of resource shortage based on the number of accesses in the detected virtual machine;
A process of calculating a migration required time required for migration of the virtual machine between physical machines based on the data amount and network speed of the virtual machine;
A process of calculating a limit access number at the time of migration of the virtual machine based on the migration required time;
Processing for calculating the migration required time for virtual machines other than the detected virtual machine;
Based on the estimated time, the required migration time, and the limit access number, a process for determining a migration target virtual machine and a scheduled migration date and time among the plurality of virtual machines;
Virtual machine management program that causes a computer to execute.
1000 仮想マシン管理装置
1100 検出部
1200 特定部
1300 決定部
pmx 物理マシン
pmy 物理マシン
pmz 物理マシン
vma 仮想マシン
vmb 仮想マシン
2000 仮想マシン管理装置
2100 検出部
2200 算出部
2300 決定部
10 仮想マシン管理装置
100 物理マシン
101 仮想マシン
102 仮想マシン
103 仮想マシン
110 仮想マシン管理部
200 物理マシン
201 仮想マシン
202 仮想マシン
203 仮想マシン
210 仮想マシン管理部
300 物理マシン
310 仮想マシン管理部
11 運用管理者入力部
12 移行指令部
20 移行管理部
22 ユーザ要件管理部
23 算出部
24 移行対象管理部
25 補助記憶装置
30 仮想マシン管理部
31 リソース管理部
32 アクセス管理部
34 パターン解析部
35 補助記憶装置
C クライアント
N ネットワーク
1000 virtual
Claims (10)
前記複数の仮想マシンの間で前記アクセスパターンの相関が低い組合せを特定する特定部と、
前記特定された組合せと、各物理マシンのリソースの空き容量とに基づいて、移行対象の仮想マシン及び移行先の物理マシンを決定し、前記アクセスパターンに基づいて、当該移行対象の仮想マシンにおける前記アクセス数が低下する時間帯を移行予定日時として決定する決定部と、
を備える仮想マシン管理装置。 For each of a plurality of virtual machines running in different physical machines, a detection unit that detects an access pattern indicating regularity of increase / decrease in the number of accesses,
A specifying unit that specifies a combination having a low correlation of the access patterns among the plurality of virtual machines;
The migration target virtual machine and the migration destination physical machine are determined based on the identified combination and the resource free capacity of each physical machine, and the migration target virtual machine in the migration target virtual machine is determined based on the access pattern. A determination unit that determines a time zone in which the number of accesses decreases as a scheduled transfer date and time,
A virtual machine management device.
前記組合せにかかる仮想マシンのそれぞれが属する物理マシンのうち、前記リソースの空き容量が十分にある物理マシンを前記移行先として決定する
請求項1に記載の仮想マシン管理装置。 The determination unit
The virtual machine management apparatus according to claim 1, wherein a physical machine having a sufficient free capacity of the resource among physical machines to which the virtual machines related to the combination belong is determined as the migration destination.
前記組合せにかかる仮想マシンの双方を稼働し得るリソースの容量がある物理マシンを、前記リソースの空き容量が十分にある物理マシンとする
請求項2に記載の仮想マシン管理装置。 The determination unit
The virtual machine management apparatus according to claim 2, wherein a physical machine having a capacity of a resource capable of operating both of the virtual machines related to the combination is a physical machine having a sufficient free capacity of the resource.
前記物理マシンのうちいずれも前記リソースの空き容量が十分にある場合には、前記アクセス数が低下する時間帯におけるアクセス数のより少ない仮想マシンを前記移行対象として決定する
請求項2又は3に記載の仮想マシン管理装置。 The determination unit
The virtual machine having a smaller number of accesses in a time zone in which the number of accesses decreases is determined as the migration target when any of the physical machines has sufficient free space for the resource. Virtual machine management device.
前記物理マシンのうちいずれも前記リソースの空き容量が十分にない場合には、双方の仮想マシンを前記移行対象とし、当該双方の仮想マシンが属する物理マシン以外の物理マシンを前記移行先として決定する
請求項2又は3のいずれか1項に記載の仮想マシン管理装置。 The determination unit
If none of the physical machines has sufficient free space in the resource, both virtual machines are set as the migration target, and a physical machine other than the physical machine to which the both virtual machines belong is determined as the migration destination. The virtual machine management apparatus according to claim 2.
前記決定部は、
前記検出部により前記指定された仮想マシンについて前記アクセスパターンが検出されなかった場合、当該仮想マシンの前記アクセス数に減少傾向が検出されたタイミングを前記移行予定日時として決定する
請求項1乃至5のいずれか1項に記載の仮想マシン管理装置。 It further includes a reception unit that accepts designation of the virtual machine to be migrated from outside,
The determination unit
The timing at which a decrease tendency is detected in the number of accesses of the virtual machine is determined as the scheduled migration date and time when the access unit does not detect the specified virtual machine by the detection unit. The virtual machine management device according to any one of the above.
前記複数の仮想マシンの間で前記アクセスパターンの相関が低い組合せを特定し、
前記特定された組合せと、各物理マシンのリソースの空き容量とに基づいて、移行対象の仮想マシン及び移行先の物理マシンを決定し、
前記アクセスパターンに基づいて、当該移行対象の仮想マシンにおける前記アクセス数が低下する時間帯を移行予定日時として決定する、
仮想マシン管理方法。 For each of a plurality of virtual machines running in different physical machines, an access pattern indicating regularity of increase / decrease in the number of accesses is detected,
Identifying a combination with a low correlation of the access patterns among the plurality of virtual machines;
Based on the identified combination and the free capacity of the resources of each physical machine, determine a virtual machine to be migrated and a physical machine to be migrated,
Based on the access pattern, a time zone in which the number of accesses in the migration target virtual machine decreases is determined as a scheduled migration date and time,
Virtual machine management method.
前記複数の仮想マシンの間で前記アクセスパターンの相関が低い組合せを特定する処理と、
前記特定された組合せと、各物理マシンのリソースの空き容量とに基づいて、移行対象の仮想マシン及び移行先の物理マシンを決定する処理と、
前記アクセスパターンに基づいて、当該移行対象の仮想マシンにおける前記アクセス数が低下する時間帯を移行予定日時として決定する処理と、
をコンピュータに実行させる仮想マシン管理プログラム。 For each of a plurality of virtual machines running in different physical machines, processing for detecting an access pattern indicating regularity of increase / decrease in the number of accesses,
A process of identifying a combination having a low correlation of the access patterns among the plurality of virtual machines;
A process of determining a migration target virtual machine and a migration destination physical machine based on the identified combination and the free capacity of the resource of each physical machine;
Based on the access pattern, a process for determining a time zone in which the number of accesses in the migration target virtual machine decreases as a scheduled migration date and time,
Virtual machine management program that causes a computer to execute.
前記検出された仮想マシンにおける前記アクセス数に基づいてリソース不足となる推定時刻を算出し、前記仮想マシンのデータ量とネットワーク速度に基づいて当該仮想マシンの物理マシン間の移行に要する移行所要時間を算出し、当該移行所要時間に基づき当該仮想マシンの移行時の限界アクセス数を算出し、前記検出された仮想マシン以外の仮想マシンについて前記移行所要時間を算出し、
前記推定時刻と前記移行所要時間と前記限界アクセス数とに基づいて、前記複数の仮想マシンのうち移行対象の仮想マシンと、移行予定日時とを決定する決定部と、
を備える仮想マシン管理装置。 A detection unit that detects a virtual machine whose number of accesses is increasing among a plurality of virtual machines operating in a physical machine;
Based on the number of accesses in the detected virtual machine, an estimated time when the resource is insufficient is calculated, and based on the data amount and network speed of the virtual machine, the migration time required for migration between physical machines of the virtual machine is calculated. Calculate, calculate the limit access number at the time of migration of the virtual machine based on the migration required time, calculate the migration required time for virtual machines other than the detected virtual machine,
Based on the estimated time, the required migration time, and the limit access number, a determination unit that determines a virtual machine to be migrated among the plurality of virtual machines and a scheduled migration date and time,
A virtual machine management device.
前記検出された仮想マシンにおける前記アクセス数に基づいてリソース不足となる推定時刻を算出し、
前記仮想マシンのデータ量とネットワーク速度に基づいて当該仮想マシンの物理マシン間の移行に要する移行所要時間を算出し、
前記移行所要時間に基づき当該仮想マシンの移行時の限界アクセス数を算出し、
前記検出された仮想マシン以外の仮想マシンについて前記移行所要時間を算出し、
前記推定時刻と前記移行所要時間と前記限界アクセス数とに基づいて、前記複数の仮想マシンのうち移行対象の仮想マシンと、移行予定日時とを決定する、
仮想マシン管理方法。 Detects virtual machines whose access count is increasing among multiple virtual machines running in physical machines.
Calculate an estimated time of resource shortage based on the number of accesses in the detected virtual machine,
Based on the amount of data of the virtual machine and the network speed, calculate the time required for migration of the virtual machine between physical machines,
Calculate the limit number of accesses at the time of migration of the virtual machine based on the migration required time,
Calculate the migration time for virtual machines other than the detected virtual machine,
Based on the estimated time, the required migration time, and the limit access number, determine a virtual machine to be migrated among the plurality of virtual machines, and a scheduled migration date and time,
Virtual machine management method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016186903A JP6786998B2 (en) | 2016-09-26 | 2016-09-26 | Virtual machine management equipment, methods and programs |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016186903A JP6786998B2 (en) | 2016-09-26 | 2016-09-26 | Virtual machine management equipment, methods and programs |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2018055160A true JP2018055160A (en) | 2018-04-05 |
| JP6786998B2 JP6786998B2 (en) | 2020-11-18 |
Family
ID=61833034
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2016186903A Active JP6786998B2 (en) | 2016-09-26 | 2016-09-26 | Virtual machine management equipment, methods and programs |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP6786998B2 (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120117030A1 (en) * | 2010-11-09 | 2012-05-10 | Ayako Sakuma | Database migration management apparatus and method thereof |
| JP2013182303A (en) * | 2012-02-29 | 2013-09-12 | Nec Corp | Virtual machine management system, method and program |
| WO2013140524A1 (en) * | 2012-03-19 | 2013-09-26 | 富士通株式会社 | Program, administration server, and patch scheduling method |
| JP2014167713A (en) * | 2013-02-28 | 2014-09-11 | Fujitsu Ltd | Information processing device, information processing system, information processing device management program and information processing device management method |
| JP2015152984A (en) * | 2014-02-12 | 2015-08-24 | 日本電信電話株式会社 | Virtual machine placement apparatus, method, and program |
-
2016
- 2016-09-26 JP JP2016186903A patent/JP6786998B2/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20120117030A1 (en) * | 2010-11-09 | 2012-05-10 | Ayako Sakuma | Database migration management apparatus and method thereof |
| JP2012103847A (en) * | 2010-11-09 | 2012-05-31 | Nec Corp | Database migration management device and method for the same |
| JP2013182303A (en) * | 2012-02-29 | 2013-09-12 | Nec Corp | Virtual machine management system, method and program |
| WO2013140524A1 (en) * | 2012-03-19 | 2013-09-26 | 富士通株式会社 | Program, administration server, and patch scheduling method |
| US20140380314A1 (en) * | 2012-03-19 | 2014-12-25 | Fujitsu Limited | Management server, patch scheduling method, and recording medium |
| JP2014167713A (en) * | 2013-02-28 | 2014-09-11 | Fujitsu Ltd | Information processing device, information processing system, information processing device management program and information processing device management method |
| JP2015152984A (en) * | 2014-02-12 | 2015-08-24 | 日本電信電話株式会社 | Virtual machine placement apparatus, method, and program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP6786998B2 (en) | 2020-11-18 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN103649916B (en) | Distribution of virtual machines in the data center | |
| US10122605B2 (en) | Annotation of network activity through different phases of execution | |
| TWI595760B (en) | Server resource management system and management method thereof | |
| JP6079226B2 (en) | Information processing apparatus, server management method, and server management program | |
| US20150201036A1 (en) | Gateway device, file server system, and file distribution method | |
| US8898520B1 (en) | Method of assessing restart approach to minimize recovery time | |
| JP6631710B2 (en) | Virtualization management program, virtualization management device, and virtualization management method | |
| US20230333903A1 (en) | Method and system for performing anomaly detection in a distributed multi-tiered computing environment | |
| CN101662495A (en) | Backup method, master server, backup servers and backup system | |
| JP5609730B2 (en) | Information processing program and method, and transfer processing apparatus | |
| JP2014531690A (en) | Hardware consumption architecture | |
| KR20130019698A (en) | Method for optimizing resource by using migration based on user's scheduler | |
| CN115396291A (en) | A fault self-healing method for redis cluster based on kubernetes hosting | |
| US11994975B2 (en) | Method and system for performing root cause analysis associated with service impairments in a distributed multi-tiered computing environment | |
| JP6176734B2 (en) | Virtual machine placement determination apparatus, method and program thereof | |
| JP2009199122A (en) | Computer environment optimization system, computer environment optimization method, and computer environment optimization program | |
| JP5725191B2 (en) | Power management device, power management method, and power management program | |
| US20150074454A1 (en) | Information processing method and apparatus for migration of virtual disk | |
| JP2011209811A (en) | Virtual machine system and virtual machine arrangement method | |
| CN104536554A (en) | Method and device for controlling power consumption of frame | |
| JP6786998B2 (en) | Virtual machine management equipment, methods and programs | |
| JP2020087060A (en) | Job scheduling device, management system and scheduling method | |
| US20150180779A1 (en) | System and method for power reduction in network equipment | |
| CN104331326A (en) | Scheduling method and system for cloud computing | |
| JP5483784B1 (en) | CONTROL DEVICE, COMPUTER RESOURCE MANAGEMENT METHOD, AND COMPUTER RESOURCE MANAGEMENT PROGRAM |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190807 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20200527 |
|
| 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: 20200929 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20201012 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 6786998 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |