[go: up one dir, main page]

JP2018055160A - Virtual machine management device, method and program - Google Patents

Virtual machine management device, method and program Download PDF

Info

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
Application number
JP2016186903A
Other languages
Japanese (ja)
Other versions
JP6786998B2 (en
Inventor
彩子 佐久間
Ayako Sakuma
彩子 佐久間
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2016186903A priority Critical patent/JP6786998B2/en
Publication of JP2018055160A publication Critical patent/JP2018055160A/en
Application granted granted Critical
Publication of JP6786998B2 publication Critical patent/JP6786998B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce the failure in a shift of a virtual machine.SOLUTION: A virtual machine management device comprises: a detection unit for detecting an access pattern indicating regularity of increase/decrease of access number, for each of a plurality of virtual machines operating in different physical machines; a specification unit for specifying combinations with low correlation in the access patterns between the plurality of virtual machines; and a determination unit for determining the virtual machine as a shift object and the physical machine as a shift destination, on the basis of the specified combination and free capacity of resource of each physical machine, and determining a time zone where the access number in the virtual machine as the shift object is reduced as a shift scheduled date, on the basis of the access pattern.SELECTED DRAWING: Figure 1

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には、物理計算機のハードウェア資源の過不足がなるべく生じないように仮想計算機を配置する技術が開示されている。   Patent Document 1 discloses a technique in which a data relay device holds a data transfer addressed to a virtual machine for which a non-convergence of live migration is detected. Patent Document 2 discloses a technique for arranging virtual computers so that hardware resources of physical computers do not become excessive or insufficient as much as possible.

特開2013−047920号公報JP 2013-047920 A 国際公開第2012/053393号International Publication No. 2012/053393

しかしながら、特許文献1には、ライブマイグレーションの実施中に移行元の仮想マシンに対するアクセスが集中した場合には、保留するデータ量が増加し、マイグレーションが失敗するおそれがあるという問題点がある。また、特許文献2では、マイグレーション実施前の資源状態を考慮するものであるため、実施中の変動に伴う上記問題を解決することができない。   However, Patent Document 1 has a problem that if the access to the migration source virtual machine is concentrated during the live migration, the amount of data to be suspended increases and the migration may fail. Further, in Patent Document 2, since the resource state before the migration is taken into consideration, the above-mentioned problem due to the fluctuation during the implementation cannot be solved.

本発明は、このような問題点を解決するためになされたものであり、仮想マシンの移行の失敗を低減するための仮想マシン管理装置、方法及びプログラムを提供することを目的とする。   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.

本発明の実施の形態1にかかる仮想マシン管理装置を含む全体構成を示すブロック図である。It is a block diagram which shows the whole structure containing the virtual machine management apparatus concerning Embodiment 1 of this invention. 本発明の実施の形態1にかかる仮想マシン移行管理方法の流れを示すフローチャートである。It is a flowchart which shows the flow of the virtual machine migration management method concerning Embodiment 1 of this invention. 本発明の実施の形態2にかかる仮想マシン管理装置を含む全体構成を示すブロック図である。It is a block diagram which shows the whole structure containing the virtual machine management apparatus concerning Embodiment 2 of this invention. 本発明の実施の形態2にかかる仮想マシン移行管理方法の流れを示すフローチャートである。It is a flowchart which shows the flow of the virtual machine transfer management method concerning Embodiment 2 of this invention. 本発明の実施の形態3にかかる仮想マシン管理装置を含む全体構成を示すブロック図である。It is a block diagram which shows the whole structure containing the virtual machine management apparatus concerning Embodiment 3 of this invention. 本発明の実施の形態3にかかる仮想マシン管理装置の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the virtual machine management apparatus concerning Embodiment 3 of this invention. 本発明の実施の形態3にかかる仮想マシン移行管理情報の例を示す図である。It is a figure which shows the example of the virtual machine transfer management information concerning Embodiment 3 of this invention. 本発明の実施の形態3にかかるマッチングテーブルの例を示す図である。It is a figure which shows the example of the matching table concerning Embodiment 3 of this invention. 本発明の実施の形態3にかかるネットワーク負荷状況の例を示す図である。It is a figure which shows the example of the network load condition concerning Embodiment 3 of this invention. 本発明の実施の形態3にかかる登録処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the registration process concerning Embodiment 3 of this invention. 本発明の実施の形態3にかかるパターン解析処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the pattern analysis process concerning Embodiment 3 of this invention. 本発明の実施の形態3にかかるユーザ要件入力処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the user requirement input process concerning Embodiment 3 of this invention. 本発明の実施の形態3にかかる移行計画処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the migration plan process concerning Embodiment 3 of this invention. 本発明の実施の形態3にかかる移行計画処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the migration plan process concerning Embodiment 3 of this invention. 本発明の実施の形態3にかかる移行計画処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the migration plan process concerning Embodiment 3 of this invention.

以下では、本発明を適用した具体的な実施の形態について、図面を参照しながら詳細に説明する。各図面において、同一要素には同一の符号が付されており、説明の明確化のため、必要に応じて重複説明は省略する。   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が稼働しているが、これらに限定されない。本実施の形態では、少なくとも異なる物理マシン内で複数の仮想マシンが稼働するものであればよい。
<Embodiment 1>
FIG. 1 is a block diagram showing an overall configuration including a virtual machine management apparatus 1000 according to the first embodiment of the present invention. The virtual machine management apparatus 1000 is connected to the physical machines pmx, pmy, and pmz, and manages an arbitrary virtual machine that operates in these. Here, the virtual machine vma is running in the physical machine pmx and the virtual machine vmb is running in the physical machine pmy, but is not limited thereto. In the present embodiment, it is sufficient that a plurality of virtual machines operate in at least different physical machines.

仮想マシン管理装置1000は、検出部1100と、特定部1200と、決定部1300とを備える。検出部1100は、仮想マシンvma及びvmbを含む複数の仮想マシンのそれぞれについて、アクセス数とリソース使用状況の増減の規則性を示すアクセスパターンを検出する。特定部1200は、複数の仮想マシンの間でアクセスパターンの相関が低い組合せを特定する。決定部1300は、特定された組合せと、各物理マシンのリソースの空き容量とに基づいて、移行対象の仮想マシン及び移行先の物理マシンを決定する。そして、決定部1300は、アクセスパターンに基づいて、当該移行対象の仮想マシンにおけるアクセス数が低下する時間帯を移行予定日時として決定する。   The virtual machine management apparatus 1000 includes a detection unit 1100, a specification unit 1200, and a determination unit 1300. The detection unit 1100 detects an access pattern indicating regularity of increase / decrease in the number of accesses and resource usage status for each of a plurality of virtual machines including the virtual machines vma and vmb. The specifying unit 1200 specifies a combination having a low access pattern correlation among a plurality of virtual machines. The determining unit 1300 determines the virtual machine to be migrated and the physical machine to be migrated based on the identified combination and the free capacity of the resources of each physical machine. Based on the access pattern, the determination unit 1300 determines a time zone in which the number of accesses in the migration target virtual machine decreases as the scheduled migration date and time.

図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 detection unit 1100 detects an access pattern indicating regularity of increase / decrease in the number of accesses and resource usage status for each of a plurality of virtual machines (S11). Next, the specifying unit 1200 specifies a combination having a low correlation of access patterns among a plurality of virtual machines (S12). For example, it is assumed that a combination of virtual machines vma and vmy is specified. Then, the determining unit 1300 determines the virtual machine to be migrated and the physical machine to be migrated based on the identified combination and the free capacity of the resources of each physical machine (S13). Based on the access pattern, the determination unit 1300 determines a time zone in which the number of accesses in the migration target virtual machine decreases as the scheduled migration date and time (S14).

このように、本実施の形態では、現時点だけではなく、移行実施中のアクセス数の推移を考慮するために、アクセスパターンに基づいて、移行対象の仮想マシンにおけるアクセス数が低下する時間帯を移行予定日時として決定する。そのため、仮想マシンの移行に伴う負荷の影響を極力排除することができ、仮想マシンの移行の失敗を低減することができる。   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と接続され、これら上で稼働する任意の仮想マシンを管理するものである。
<Embodiment 2>
FIG. 3 is a block diagram showing an overall configuration including the virtual machine management apparatus 2000 according to the second embodiment of the present invention. In FIG. 3, it is assumed that at least two virtual machines vma and vmb are operating in at least the physical machine pmx. The virtual machine management apparatus 2000 is connected to the physical machines pmx and pmy, and manages an arbitrary virtual machine operating on them.

仮想マシン管理装置2000は、検出部2100と、算出部2200と、決定部2300とを備える。検出部2100は、物理マシンpmx内で稼働する複数の仮想マシンvma及びvmbのうち、アクセス数が上昇傾向にある仮想マシンを検出する。算出部2200は、検出された仮想マシンにおけるアクセス数に基づいてリソース不足となる推定時刻を算出する。また、算出部2200は、仮想マシンのデータ量とネットワーク速度に基づいて当該仮想マシンの物理マシン間の移行に要する移行所要時間を算出する。また、算出部2200は、当該移行所要時間に基づき当該仮想マシンの移行時の限界アクセス数を算出する。また、算出部2200は、検出された仮想マシン以外の仮想マシンについて移行所要時間を算出する。決定部2300は、推定時刻と移行所要時間と限界アクセス数とに基づいて、複数の仮想マシンのうち移行対象の仮想マシンと、移行予定日時とを決定する。   The virtual machine management apparatus 2000 includes a detection unit 2100, a calculation unit 2200, and a determination unit 2300. The detection unit 2100 detects a virtual machine whose number of accesses tends to increase among a plurality of virtual machines vma and vmb operating in the physical machine pmx. The calculation unit 2200 calculates an estimated time when the resource is insufficient based on the detected number of accesses in the virtual machine. In addition, the calculation unit 2200 calculates a migration required time required for migration of the virtual machine between physical machines based on the data amount of the virtual machine and the network speed. In addition, the calculation unit 2200 calculates the limit access number at the time of migration of the virtual machine based on the required migration time. In addition, the calculation unit 2200 calculates the migration required time for virtual machines other than the detected virtual machine. The determination unit 2300 determines a virtual machine to be migrated and a scheduled migration date and time among a plurality of virtual machines based on the estimated time, the migration required time, and the limit access number.

図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 detection unit 2100 detects a virtual machine whose number of accesses tends to increase among a plurality of virtual machines operating in the physical machine (S21).

次に、算出部2200は、検出された仮想マシンにおけるアクセス数に基づいてリソース不足となる推定時刻を算出し、仮想マシンのデータ量とネットワーク速度に基づいて当該仮想マシンの物理マシン間の移行に要する移行所要時間を算出し、移行所要時間に基づき当該仮想マシンの移行時の限界アクセス数を算出し、検出された仮想マシン以外の仮想マシンについて移行所要時間を算出する(S22)。   Next, the calculation unit 2200 calculates an estimated time of resource shortage based on the detected number of accesses in the virtual machine, and shifts between physical machines of the virtual machine based on the data amount and network speed of the virtual machine. The required migration time is calculated, the limit access number at the time of migration of the virtual machine is calculated based on the migration required time, and the migration required time is calculated for virtual machines other than the detected virtual machine (S22).

そして、決定部2300は、推定時刻と移行所要時間と限界アクセス数とに基づいて、複数の仮想マシンのうち移行対象の仮想マシンと、移行予定日時とを決定する(S23)。   Then, the determination unit 2300 determines a virtual machine to be migrated and a scheduled migration date and time among a plurality of virtual machines based on the estimated time, the migration required time, and the limit access number (S23).

このように、本実施の形態では、ある物理マシン内の一部の仮想マシンのアクセス数が上昇傾向にある場合に、当該仮想マシンの限界アクセス数から他の物理マシンへ移行させる移行対象の仮想マシンを決定し、リソース不足となる推定時刻と移行所要時間を用いて移行予定日時を決定することができる。そのため、仮想マシンの移行に伴う負荷の影響を極力排除することができ、仮想マシンの移行の失敗を低減することができる。   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の具体的な実施例である。ここで、解決しようとする課題について改めて説明する。ます、ライブマイグレーション時に、メモリの更新が頻繁に行われる場合、メモリの差分コピーが更新量に追いつかずに、マイグレーションに失敗する場合がある。また、マイグレーションを実施するネットワークがユーザデータ通信ようのネットワークと分離できていない環境において、マイグレーションの実施による負荷が、ユーザデータ通信に影響し、応答速度の遅延やリクエストのリトライ回数超過によるシステム障害を招く可能性がある。
<Embodiment 3>
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 machine management apparatus 10 according to the third embodiment of the present invention. The virtual machine management apparatus 10 is an information processing apparatus installed in a data center connected via a network N from a client C that uses a cloud environment. In the data center, physical machines 100, 200, and 300 are installed. The physical machine 100 includes, for example, virtual machines 101 to 103 and a virtual machine management unit 110. The physical machine 200 includes, for example, virtual machines 201 to 203 and a virtual machine management unit 210. The physical machine 300 includes a virtual machine management unit 310. The virtual machine management units 110, 210, and 310 control the operation of a virtual machine that operates in the physical machine to which the virtual machine management unit 110, 210, and 310 belongs.

仮想マシン管理装置10は、物理マシン100、200及び300と内部のネットワークにより接続されている。尚、当該データセンタ内には、少なくとも2以上の物理マシンが設置されていればよい。また、当該データセンタ内には、2以上の仮想マシン管理装置10が設置されていてもよく、その場合、仮想マシン管理装置10同士が連携可能である。   The virtual machine management apparatus 10 is connected to the physical machines 100, 200, and 300 via an internal network. Note that at least two or more physical machines may be installed in the data center. In addition, two or more virtual machine management devices 10 may be installed in the data center. In this case, the virtual machine management devices 10 can cooperate with each other.

図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 machine management apparatus 10 according to the third embodiment of the present invention. The virtual machine management device 10 includes an operation manager input unit 11, a migration command unit 12, a migration management unit 20, an auxiliary storage device 25, and a virtual machine management unit 30. The operation manager input unit 11 is connected to an external terminal and provides a management screen that can be operated. Based on the input from the migration management unit 20, the migration command unit 12 specifies a migration destination physical machine and sends a migration start command to the migration target virtual machine in the data center.

補助記憶装置25は、移行管理部20及び仮想マシン管理部30からアクセス可能な記憶装置である。補助記憶装置25は、仮想マシン移行管理情報及びネットワーク負荷状況等を記憶する。   The auxiliary storage device 25 is a storage device that can be accessed from the migration management unit 20 and the virtual machine management unit 30. The auxiliary storage device 25 stores virtual machine migration management information, network load status, and the like.

図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 machine management apparatus 10. The user requirement is an upper limit value of the number of retries specified by the user or an upper limit value of the response time. The user requirement is, for example, a threshold value indicating the upper limit of the number of retries and the response speed of the system that the cloud environment user presents when starting to use the cloud environment.

優先度は、移行順序を決定するためのものである。優先度は、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 machine management unit 30. For example, the path a is a network speed when the virtual machine 101 is accessed from the client C via the network N and the virtual machine management apparatus 10.

移行管理部20は、ユーザ要件管理部22と、算出部23と、移行対象管理部24とを備える。ユーザ要件管理部22は、補助記憶装置25に格納された仮想マシン移行管理情報のユーザ要件を参照し、実際のアクセスがユーザ要件を満たすか否かを監視する。移行対象管理部24は、補助記憶装置25に格納された仮想マシン移行管理情報の優先度や算出された移行予定日時に基づいて、移行対象の仮想マシンを選出し、移行指令部12へ指令を出す。   The migration management unit 20 includes a user requirement management unit 22, a calculation unit 23, and a migration target management unit 24. The user requirement management unit 22 refers to the user requirements of the virtual machine migration management information stored in the auxiliary storage device 25 and monitors whether actual access satisfies the user requirements. The migration target management unit 24 selects a virtual machine to be migrated based on the priority of the virtual machine migration management information stored in the auxiliary storage device 25 and the calculated planned migration date and time, and issues a command to the migration command unit 12. put out.

算出部23は、仮想マシン管理部30から情報を受け取り、次のような値を算出する。例えば、算出部23は、仮想マシンのリソース使用状況が、アクセスの増加などにより上昇傾向にある場合、リソース枯渇までの推定時刻を算出する。つまり、算出部23は、アクセス数が上昇傾向にある仮想マシンにおけるアクセス数に基づいて、リソース不足となる推定時刻を算出する。また、算出部23は、リソース使用状況が上昇中の仮想マシンの移行を行う場合に、移行所要時間を算出する。また、算出部23は、リソース使用状況が上昇中の仮想マシンと同一の物理マシンに他の仮想マシンが稼働している場合、他の仮想マシンに対しても移行所要時間を算出する。ここで、算出部23は、仮想マシンのデータ量とネットワーク速度の推移に基づいて移行所要時間を算出してもよい。   The calculation unit 23 receives information from the virtual machine management unit 30 and calculates the following values. For example, when the resource usage status of the virtual machine is increasing due to an increase in access or the like, the calculation unit 23 calculates an estimated time until resource depletion. That is, the calculation unit 23 calculates the estimated time when the resource is insufficient based on the number of accesses in the virtual machine whose number of accesses is increasing. In addition, the calculation unit 23 calculates the required migration time when performing migration of a virtual machine whose resource usage is increasing. In addition, when another virtual machine is operating on the same physical machine as the virtual machine whose resource usage is increasing, the calculation unit 23 also calculates the migration required time for the other virtual machine. Here, the calculation unit 23 may calculate the required migration time based on the transition of the data amount of the virtual machine and the network speed.

また、算出部23は、移行所要時間に基づき仮想マシンの移行時の限界アクセス数を算出する。つまり、算出部23は、ライブマイグレーション時にメモリコピーが追い付かずに、失敗すると推測される限界アクセス数を算出する。ここで、算出部23は、ネットワーク速度の推移とメモリ更新量に基づいて限界アクセス数を算出してもよい。また、算出部23は、仮想マシンのアクセス数に増減の規則性がある場合には、上記推定時刻までの間に最も短い時間で移行可能な時間帯を算出する。また、算出部23は、アクセス数が減少傾向にある場合、減少傾向が継続すると予測される継続時間を算出する。   Further, the calculation unit 23 calculates the limit number of accesses at the time of migration of the virtual machine based on the required migration time. In other words, the calculation unit 23 calculates the limit access number that is estimated to fail without the memory copy being caught up during live migration. Here, the calculation unit 23 may calculate the limit access number based on the transition of the network speed and the memory update amount. Further, when there is regularity of increase / decrease in the number of accesses of the virtual machine, the calculation unit 23 calculates a time zone in which the transition can be performed in the shortest time until the estimated time. In addition, when the number of accesses tends to decrease, the calculation unit 23 calculates a duration time in which the decreasing trend is predicted to continue.

仮想マシン管理部30は、データセンタ内のすべての仮想マシンの情報を取得する。仮想マシン管理部30は、リソース管理部31と、アクセス管理部32と、パターン解析部34と、補助記憶装置35とを備える。補助記憶装置35は、移行管理部20及び仮想マシン管理部30からアクセス可能な記憶装置である。補助記憶装置35は、仮想マシンごとのアクセス数、リソース保有量、リソース使用状況、アクセスパターン、仮想マシン間のアクセスパターンの相関を示すマッピングテーブル等を記憶する。図8は、本発明の実施の形態3にかかるマッチングテーブルの例を示す図である。ここで、アクセスパターンは、アクセス数の増減傾向の規則性を示す情報である。特に、規則性とは、例えば、日単位で特定の時間帯を比較した場合に、アクセス数の増加や減少の傾きが近いことや、増減の間隔や回数が近いことが一定の回数、繰り返されていることをいうものとする。また、補助記憶装置35は、仮想マシンごとのアクセスパターンの有無を示す情報を記憶していてもよい。   The virtual machine management unit 30 acquires information on all virtual machines in the data center. The virtual machine management unit 30 includes a resource management unit 31, an access management unit 32, a pattern analysis unit 34, and an auxiliary storage device 35. The auxiliary storage device 35 is a storage device that can be accessed from the migration management unit 20 and the virtual machine management unit 30. The auxiliary storage device 35 stores a number of accesses for each virtual machine, a resource holding amount, a resource usage status, an access pattern, a mapping table indicating a correlation of access patterns between virtual machines, and the like. FIG. 8 is a diagram illustrating an example of a matching table according to the third embodiment of the present invention. Here, the access pattern is information indicating the regularity of the increasing / decreasing tendency of the number of accesses. In particular, regularity means, for example, that when a specific time zone is compared on a daily basis, the increase or decrease in the number of accesses is close, or the interval or number of increases or decreases is repeated a certain number of times. It means that The auxiliary storage device 35 may store information indicating the presence / absence of an access pattern for each virtual machine.

リソース管理部31は、各仮想マシンのリソース保有量及び使用状況を測定し、補助記憶装置35に保存して管理する。ここで、リソース使用状況とは、例えば、CPU(Central Processing Unit)使用率、メモリ使用率、HDD(Hard Disk Drive)使用率、ネットワーク帯域幅等である。また、リソース管理部31は、リソース使用状況が上昇傾向又は減少傾向にある場合、それを検知する。   The resource management unit 31 measures the resource holding amount and usage status of each virtual machine, and saves and manages them in the auxiliary storage device 35. Here, the resource usage status includes, for example, a CPU (Central Processing Unit) usage rate, a memory usage rate, an HDD (Hard Disk Drive) usage rate, a network bandwidth, and the like. Moreover, the resource management part 31 detects it, when a resource usage condition exists in the upward tendency or the decreasing tendency.

アクセス管理部32は、各仮想マシンのアクセス数、応答時間及びリトライ回数を測定し、補助記憶装置35に保存して管理する。また、アクセス管理部32は、アクセス数が上昇傾向又は減少傾向にある場合、それを検知する。   The access management unit 32 measures the number of accesses, the response time, and the number of retries of each virtual machine, and stores them in the auxiliary storage device 35 for management. Further, the access management unit 32 detects when the number of accesses tends to increase or decrease.

パターン解析部34は、補助記憶装置35を参照し、一定期間について、各仮想マシンのアクセス数とリソース使用率の変化を解析し、時間軸に沿った規則性(アクセスパターン)の有無を検出する。ここで、パターン解析部34は、解析結果や規則性の有無を補助記憶装置35に保存する。尚、パターン解析部34は、各仮想マシンのアクセス数とリソース使用率の相関を算出してもよい。   The pattern analysis unit 34 refers to the auxiliary storage device 35, analyzes changes in the number of accesses and resource usage of each virtual machine for a certain period, and detects the presence or absence of regularity (access pattern) along the time axis. . Here, the pattern analysis unit 34 stores the analysis result and the presence / absence of regularity in the auxiliary storage device 35. The pattern analysis unit 34 may calculate a correlation between the number of accesses of each virtual machine and the resource usage rate.

そして、パターン解析部34は、規則性が検出された仮想マシンに対しては、他の規則性のある仮想マシンに対して、リソース使用率の合計がほぼ横ばいになる相手を探し、それらの対応付け(マッピング)を行い、補助記憶装置35にマッピングテーブルとして保存する。具体的には、パターン解析部34は、仮想マシンの間で、アクセスパターンの相関を算出する。そして、アクセスパターンの相関が閾値以下の組合せを特定し、補助記憶装置35に組合せとアクセスパターンの相関をマッピングテーブルとして登録する。   Then, the pattern analysis unit 34 searches for a virtual machine in which the regularity is detected and searches for a partner whose total resource usage rate is almost the same as the other regular virtual machines, and deals with them. Addition (mapping) is performed and the auxiliary storage device 35 stores the mapping table. Specifically, the pattern analysis unit 34 calculates the correlation of access patterns between virtual machines. Then, a combination in which the correlation between the access patterns is equal to or less than the threshold is specified, and the correlation between the combination and the access pattern is registered in the auxiliary storage device 35 as a mapping table.

また、パターン解析部34は、組合せにかかる仮想マシンの双方のアクセスパターン及びその相関を定期的に確認し、アクセスパターンが検出されなくなった場合や、アクセスパターンの相関が閾値以上になった場合には、マッピングテーブルの登録を削除する。   In addition, the pattern analysis unit 34 periodically checks both access patterns of the virtual machines related to the combination and the correlation thereof, and when the access pattern is no longer detected or when the correlation of the access pattern exceeds a threshold value. Deletes the mapping table registration.

さらに、パターン解析部34は、移動平均法を用いて、アクセス数とリソース消費量に相関がある場合に、上昇傾向にあるか減少傾向にあるかを判別し、さらにその傾向のその後の継続時間を予測する。   Further, the pattern analysis unit 34 uses the moving average method to determine whether the number of accesses and the resource consumption are correlated, and determines whether the trend is increasing or decreasing, and the subsequent duration of the trend Predict.

ここで、運用が開始されているデータセンタに対して、仮想マシン管理装置10を導入した場合の、導入初期の動作を説明する。図10は、本発明の実施の形態3にかかる登録処理の流れを示すフローチャートである。まず、仮想マシン管理部30は、仮想マシン管理装置10の起動直後に、データセンタ内の管理対象の全ての仮想マシンのIPアドレスの情報及びネットワーク負荷状況を取得する(S41)。例えば、仮想マシン管理部30のリソース管理部31は、パケットのスループット等によりネットワーク負荷状況を測定し、補助記憶装置25に保存する。また、その後、リソース管理部31は、定期的にネットワーク負荷状況を更新する。   Here, an operation at the initial stage of installation when the virtual machine management apparatus 10 is installed in a data center that has started operation will be described. FIG. 10 is a flowchart showing the flow of registration processing according to the third embodiment of the present invention. First, immediately after the virtual machine management device 10 is activated, the virtual machine management unit 30 acquires information on IP addresses and network load conditions of all virtual machines to be managed in the data center (S41). For example, the resource management unit 31 of the virtual machine management unit 30 measures the network load status based on the packet throughput and the like, and stores it in the auxiliary storage device 25. After that, the resource management unit 31 periodically updates the network load status.

そして、仮想マシン管理部30は、取得した仮想マシンのIPアドレスと同じ行数のテーブルを仮想マシン移行管理情報として補助記憶装置25に作成する。そして、仮想マシン管理部30は、当該テーブルに取得したIPアドレスの情報を追加する(S42)。   Then, the virtual machine management unit 30 creates a table with the same number of rows as the acquired IP address of the virtual machine in the auxiliary storage device 25 as virtual machine migration management information. Then, the virtual machine management unit 30 adds the acquired IP address information to the table (S42).

図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 resource management unit 31 and the access management unit 32 start monitoring the resource usage rate and the number of accesses of each virtual machine (S51). These pieces of information are collected in association with the virtual machine information obtained by the virtual machine management unit 30.

リソース管理部31及びアクセス管理部32は、取得した監視対象の情報を、随時、パターン解析部34へ送信する。パターン解析部34は、受信した監視対象の情報に基づいてパターン解析を行う。そして、パターン解析部34は、監視対象の情報と解析結果を補助記憶装置35に保存する(S52)。尚、監視対象の情報及び解析結果は、一定期間経過後に削除するようにしてもよい。   The resource management unit 31 and the access management unit 32 transmit the acquired monitoring target information to the pattern analysis unit 34 as needed. The pattern analysis unit 34 performs pattern analysis based on the received monitoring target information. Then, the pattern analysis unit 34 stores the information to be monitored and the analysis result in the auxiliary storage device 35 (S52). The information to be monitored and the analysis result may be deleted after a certain period of time.

図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 requirement management unit 22 updates the auxiliary storage device 25 by adding the input user requirement information to the virtual machine migration management information (S62).

次に、運用管理者により、仮想マシンの移行が計画された場合の動作について説明する。この場合、物理マシンのメンテナンス等を想定しているため、移行対象の仮想マシンは決まっているものとする。図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 auxiliary storage device 25 by adding the specified priority and migration deadline date to the virtual machine migration management information.

次に、パターン解析部34は、該当の仮想マシンAに対するアクセスパターンの有無を確認する(S72)。具体的には、パターン解析部34は、補助記憶装置35を参照し、仮想マシンに関するアクセスパターンの有無を判定する。   Next, the pattern analysis unit 34 checks whether or not there is an access pattern for the corresponding virtual machine A (S72). Specifically, the pattern analysis unit 34 refers to the auxiliary storage device 35 to determine whether there is an access pattern related to the virtual machine.

ステップ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 access management unit 32 detects that the number of accesses of the virtual machine A is decreasing, it notifies the migration management unit 20. When notified that the number of accesses of the virtual machine A is in a decreasing trend, the calculation unit 23 of the migration management unit 20 calculates a prediction of a decreasing trend duration. In addition, the calculation unit 23 calculates the migration required time of the virtual machine A. Then, the migration target management unit 24 issues a command to start migration of the virtual machine A when the calculated duration time is longer than the migration required time. That is, the timing at which the decreasing tendency of the number of accesses is detected is determined as the scheduled transfer date (S76). Note that the migration destination is an arbitrary physical machine other than the physical machine on which the virtual machine A operates.

ステップS72において、アクセスパターンが有ると確認された場合、移行対象管理部24は、アクセスパターンに基づいて、アクセス数の少ない時間帯を推奨移行日時として設定する(S73)。尚、推奨移行日時は、別途、算出部23により算出されるリソース枯渇までの推定時刻よりも前である。そして、移行対象管理部24は、推奨移行日時が移行期限日時より前であるか否かを判定する(S74)。推奨移行日時が移行期限日時より前である場合、当該推奨移行日時を移行予定日時に設定する(S75)。一方、ステップS74において、推奨移行日時が移行期限日時より前でない場合、ステップS76へ進み、上述した処理を行う。   When it is confirmed in step S72 that there is an access pattern, the migration target management unit 24 sets a time zone with a small number of accesses as a recommended migration date and time based on the access pattern (S73). The recommended transition date and time is separately before the estimated time until resource depletion calculated by the calculation unit 23. Then, the migration target management unit 24 determines whether the recommended migration date / time is before the migration deadline date / time (S74). If the recommended migration date is before the migration deadline date, the recommended migration date is set as the scheduled migration date (S75). On the other hand, if it is determined in step S74 that the recommended migration date / time is not earlier than the migration deadline date / time, the process proceeds to step S76 and the above-described processing is performed.

また、ステップ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 pattern analysis unit 34 refers to the auxiliary storage device 35 and checks whether there is a virtual machine B having a pattern corresponding to the access pattern of the virtual machine A in the mapping table (S77). When there is a virtual machine B corresponding to the virtual machine A, the resource management unit 31 determines whether the physical machine to which the virtual machine B belongs has sufficient resource free space (S78). When there is sufficient resource free capacity, the migration target management unit 24 sets the migration destination to the physical machine to which the virtual machine B belongs (S79).

ステップ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 target management unit 24 sets the migration destination. An arbitrary physical machine with sufficient resource free space is set (S80).

続いて、パターンの検出により仮想マシンの移行が計画される場合の動作について説明する。図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 pattern analysis unit 34 analyzes the change in the number of accesses of the virtual machine A along the time axis and determines that an access pattern exists (S81). Next, the pattern analysis unit 34 refers to the auxiliary storage device 35 and checks whether there is a virtual machine B having a pattern corresponding to the access pattern of the virtual machine A in the mapping table (S82). If there is no virtual machine B corresponding to the virtual machine A, the process is terminated without migrating (S83).

一方、ステップ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 resource management unit 31 determines whether there is sufficient resource free capacity in both of the physical machines to which the virtual machines A and B belong. Determine (S84).

物理マシンの両方に十分なリソース空き容量がある場合、移行対象管理部24は、アクセス数が低下する時間帯におけるアクセス数の少ない方の仮想マシンが属する物理マシンを移行対象とする。さらに、移行対象管理部24は、アクセス数の低い時間帯を予定移行日時に設定する(S85)。   When both of the physical machines have sufficient resource free capacity, the migration target management unit 24 sets the physical machine to which the virtual machine with the smaller number of accesses in the time zone in which the number of accesses decreases belongs to the migration target. Furthermore, the migration target management unit 24 sets a time zone with a low number of accesses as the scheduled migration date (S85).

一方、ステップ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 resource management unit 31 has sufficient resources for one of the physical machines to which each of the virtual machines A and B (for example, the virtual machine B) belongs. It is determined whether there is free space (S86).

物理マシンの片方に十分なリソース空き容量がある場合、移行対象管理部24は、仮想マシンAを移行対象とする。さらに、移行対象管理部24は、仮想マシンAのアクセス数が低下する時間帯を予定移行日時に設定する(S87)。   When there is sufficient resource free space in one of the physical machines, the migration target management unit 24 sets the virtual machine A as the migration target. Further, the migration target management unit 24 sets a time zone during which the number of accesses of the virtual machine A is reduced to the scheduled migration date (S87).

一方、ステップ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 target management unit 24 sets both (virtual machines A and B) as migration targets. Then, the migration target management unit 24 sets the time zone in which the access numbers of the virtual machines A and B are reduced to the respective scheduled migration dates and times (S88).

次に、アクセス数の上昇が検出されたことを契機に移行が計画される場合について説明する。ここでは、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 access management unit 32 detects a rising trend in the number of accesses of the virtual machine A (S91). Then, when the increase in the number of accesses continues, the calculation unit 23 calculates an estimated time d at which there is a risk of resource exhaustion. Furthermore, the calculation unit 23 calculates a required transition time Ta required for live migration from the upward trend and the load state of the network. Further, the calculation unit 23 calculates the limit access number Nm at which the memory copy cannot catch up during the live migration from the value of the required transition time Ta. Further, the calculation unit 23 calculates a migration deadline date du that can realize live migration in a state where the user requirements are satisfied (S92). The transition deadline date du is calculated so as to be before the estimated time d.

その後、仮想マシン管理部30は、仮想マシンAと同じ物理マシン上に、他の仮想マシン
(仮想マシンB及びCとする)が存在するか否かを判定する(S93)。存在しない場合、移行せず(S94)、処理を終了する。
Thereafter, the virtual machine management unit 30 determines whether other virtual machines (referred to as virtual machines B and C) exist on the same physical machine as the virtual machine A (S93). If it does not exist, the process is terminated without shifting (S94).

一方、ステップ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 calculation unit 23 calculates the required migration times Tb and Tc required for live migration of the virtual machines B and C (S95). Then, the migration target management unit 24 compares the current access count Nr of the virtual machine A with the limit access count Nm, and determines whether Nr is greater than Nm (S96).

NrがNmより大きい場合、移行対象管理部24は、仮想マシンB及びCを移行対象とする。そして、移行対象管理部24は、移行予定日時を移行期限日時duより前とする(S97)。   When Nr is larger than Nm, the migration target management unit 24 sets the virtual machines B and C as migration targets. Then, the migration target management unit 24 sets the scheduled migration date and time before the migration deadline date and time du (S97).

一方、NrがNm以下の場合、移行対象管理部24は、仮想マシンAを移行対象とする。そして、移行対象管理部24は、移行予定日時を移行期限日時duより前とする(S98)。   On the other hand, when Nr is Nm or less, the migration target management unit 24 sets the virtual machine A as the migration target. Then, the migration target management unit 24 sets the scheduled migration date and time before the migration deadline date and time du (S98).

このように、本実施の形態により、ライブマイグレーション失敗確率を低減できる。また、クラウド事業提供者が仮想マシンのリソース使用量を削減できる。さらに、負荷上昇中のシステムに対しても、ライブマイグレーション失敗のリスクを取らずに、リソース不足を解消できる。また、ユーザ要件である応答時間やリトライ回数の上限を考慮することで、ライブマイグレーションによる影響下においても、システムの信頼性を維持できる。   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 access management unit 32 and the resource management unit 31 is detected. When the calculation unit 23 determines that there is a possibility of resource exhaustion, the migration target management unit 24 determines the migration expiration date and time from the estimated time until resource exhaustion. The transfer target management unit 24 further determines the priority based on the time limit.

また、上述した仮想マシン管理装置1000等を、ネットワークを介して接続された複数のデータセンタを管理下に置く場合にも、データセンタごとに配置された仮想マシン管理装置1000等を連携させることにより、適用できる。   In addition, when the above-described virtual machine management apparatus 1000 or the like is placed under the management of a plurality of data centers connected via a network, the virtual machine management apparatus 1000 or the like arranged for each data center is linked. Applicable.

なお、本発明は上記実施の形態に限られたものではなく、趣旨を逸脱しない範囲で適宜変更することが可能である。   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 claim 1, wherein, among the physical machines to which the virtual machines related to the combination belong, a physical machine having a sufficient free capacity of the resource is determined as the migration destination.
(Appendix 3)
The determination unit
The virtual machine management device according to attachment 2, wherein a physical machine having a resource capacity capable of operating both of the virtual machines according to the combination is a physical machine having a sufficient free capacity of the resource.
(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 2 or 3.
(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 claim 1.
(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 machine management apparatus 1100 detection unit 1200 identification unit 1300 determination unit pmx physical machine pmy physical machine pms physical machine vma virtual machine vmb virtual machine 2000 virtual machine management apparatus 2100 detection unit 2200 calculation unit 2300 determination unit 10 virtual machine management apparatus 100 physical Machine 101 virtual machine 102 virtual machine 103 virtual machine 110 virtual machine management unit 200 physical machine 201 virtual machine 202 virtual machine 203 virtual machine 210 virtual machine management unit 300 physical machine 310 virtual machine management unit 11 operation administrator input unit 12 migration command unit DESCRIPTION OF SYMBOLS 20 Migration management part 22 User requirement management part 23 Calculation part 24 Migration object management part 25 Auxiliary storage device 30 Virtual machine management part 31 Resource management part 32 Access management part 3 Pattern analysis unit 35 the auxiliary storage device C client N Network

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.
JP2016186903A 2016-09-26 2016-09-26 Virtual machine management equipment, methods and programs Active JP6786998B2 (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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&#39;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