JP2013235317A - Virtual computer system - Google Patents
Virtual computer system Download PDFInfo
- Publication number
- JP2013235317A JP2013235317A JP2012105743A JP2012105743A JP2013235317A JP 2013235317 A JP2013235317 A JP 2013235317A JP 2012105743 A JP2012105743 A JP 2012105743A JP 2012105743 A JP2012105743 A JP 2012105743A JP 2013235317 A JP2013235317 A JP 2013235317A
- Authority
- JP
- Japan
- Prior art keywords
- snapshot
- virtual
- virtual machine
- state
- guest
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
この発明は、物理計算機のホストOS上で動作する仮想マシンを備えた仮想計算機システムにおいて、この仮想マシン上で動作するゲストOSに障害が発生した場合に、ゲストOSの状態を復元できる仮想計算機システムに関するものである。 The present invention relates to a virtual machine system including a virtual machine that operates on a host OS of a physical machine, and can restore the state of the guest OS when a failure occurs in the guest OS that operates on the virtual machine. It is about.
従来の計算機システムとして、例えば特許文献1に示される仮想計算機システム及び同システムにおける仮想マシン復元方法がある。
この仮想計算機システムでは、定期的に仮想マシンのスナップショット全体を取得して、その後の入出力を適用することによって仮想マシンを障害発生前の状態に復元する方法が記載されている。
As a conventional computer system, for example, there is a virtual computer system disclosed in Patent Document 1 and a virtual machine restoration method in the system.
In this virtual machine system, a method is described in which the entire virtual machine snapshot is periodically acquired and the subsequent input / output is applied to restore the virtual machine to the state before the failure.
特許文献1に記載の仮想計算機システムでは、定期的に仮想マシン全体のスナップショットを保存することが記載されている。
すべてのメモリイメージおよびゲストOS用仮想ディスクのイメージのサイズは大きく、定期的に仮想マシン全体のスナップショットを取得すると、ゲストOSの性能に対する影響が大きく、高性能で高価なハードウェアでなければ適用できないという課題があった。
The virtual machine system described in Patent Literature 1 describes that snapshots of the entire virtual machine are periodically saved.
All memory images and guest OS virtual disk images are large in size, and taking a snapshot of the entire virtual machine on a regular basis has a large impact on guest OS performance. There was a problem that it was not possible.
この発明は上記のような課題を解決するためになされたものであり、定期的に保存するスナップショットのサイズを小さくすることにより、ゲストOSの性能に対する影響を少なくすることができる仮想計算機システムを提供することを目的とする。 The present invention has been made to solve the above-described problems. A virtual machine system capable of reducing the influence on the performance of a guest OS by reducing the size of a snapshot to be periodically saved is provided. The purpose is to provide.
この発明に係る、仮想計算機システムは、
物理計算機のホストOS上で動作する仮想マシン上で、ゲストOSを動作させる仮想計算機システムにおいて、
仮想マシンは、
ゲストOSに対する、仮想マシンの仮想CPUの動作状態と仮想マシンの使用する仮想メモリの状態と仮想マシンの使用する仮想ディスクの状態をベーススナップショットとしてディスク装置に記録するベーススナップショット取得手段及び、ベーススナップショットを取得後に更新された仮想CPUの動作状態の更新内容と仮想メモリの更新内容と仮想ディスクの更新内容を有する差分スナップショットを取得してディスク装置に記録する差分スナップショット取得手段を備えたスナップショット実行部と、
差分スナップショットを管理する更新差分管理部と、
ディスク装置に保存されたベーススナップショットと差分スナップショットを用いてゲストOSに対する、仮想マシンの仮想CPUの動作状態と仮想マシンの使用する仮想メモリの状態と仮想マシンの使用するゲストOS用仮想ディスクの状態を復元するスナップショット復元部とを備えたものである。
According to the present invention, a virtual machine system includes:
In a virtual machine system that runs a guest OS on a virtual machine that runs on a host OS of a physical machine,
The virtual machine
Base snapshot acquisition means for recording the operating state of the virtual CPU of the virtual machine, the state of the virtual memory used by the virtual machine, and the state of the virtual disk used by the virtual machine as a base snapshot in the disk device, and a base Provided is a differential snapshot acquisition means for acquiring a differential snapshot having the updated contents of the operating state of the virtual CPU, the updated contents of the virtual memory, and the updated contents of the virtual disk, which are updated after acquiring the snapshot, and recording them in the disk device A snapshot execution unit;
An update difference management unit for managing the difference snapshot;
The operating state of the virtual CPU of the virtual machine, the state of the virtual memory used by the virtual machine, and the virtual disk for the guest OS used by the virtual machine for the guest OS using the base snapshot and the differential snapshot stored in the disk device A snapshot restoring unit for restoring the state.
この発明に係る、仮想計算機システムの仮想マシンは、
ゲストOSに対する、仮想マシンの仮想CPUの動作状態と仮想マシンの使用する仮想メモリの状態と仮想マシンの使用する仮想ディスクの状態をベーススナップショットとしてディスク装置に記録するベーススナップショット取得手段及び、ベーススナップショットを取得後に更新された仮想CPUの動作状態の更新内容と仮想メモリの更新内容と仮想ディスクの更新内容を有する差分スナップショットを取得してディスク装置に記録する差分スナップショット取得手段を備えたスナップショット実行部と、
差分スナップショットを管理する更新差分管理部と、
ディスク装置に保存されたベーススナップショットと差分スナップショットを用いてゲストOSに対する、仮想マシンの仮想CPUの動作状態と仮想マシンの使用する仮想メモリの状態と仮想マシンの使用するゲストOS用仮想ディスクの状態を復元するスナップショット復元部とを備えたものなので、
仮想マシンのゲストOSに対する全体の状態を最初にベーススナップショットとして取得し、更新差分のみを定周期で差分スナップショットとして保存するため、スナップショット全体のサイズを小さくすることができる。
The virtual machine of the virtual machine system according to the present invention is:
Base snapshot acquisition means for recording the operating state of the virtual CPU of the virtual machine, the state of the virtual memory used by the virtual machine, and the state of the virtual disk used by the virtual machine as a base snapshot in the disk device, and a base Provided is a differential snapshot acquisition means for acquiring a differential snapshot having the updated contents of the operating state of the virtual CPU, the updated contents of the virtual memory, and the updated contents of the virtual disk, which are updated after acquiring the snapshot, and recording them in the disk device A snapshot execution unit;
An update difference management unit for managing the difference snapshot;
The operating state of the virtual CPU of the virtual machine, the state of the virtual memory used by the virtual machine, and the virtual disk for the guest OS used by the virtual machine for the guest OS using the base snapshot and the differential snapshot stored in the disk device Since it has a snapshot restoration part that restores the state,
Since the entire state of the virtual machine with respect to the guest OS is first acquired as a base snapshot and only the update difference is stored as a differential snapshot at a fixed period, the size of the entire snapshot can be reduced.
実施の形態1.
以下、本発明の実施の形態1に係る仮想計算機システムを図を用いて説明する。
図1は、仮想計算機システム100の構成を示すブロック図である。
仮想計算機システム100は、計算機本体1上のホストOS2上に仮想マシン3を搭載し、その上でアプリケーション4を実行するゲストOS5を動作させる構成をとっている。
Embodiment 1 FIG.
Hereinafter, a virtual machine system according to Embodiment 1 of the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram showing the configuration of the
The
ゲストOS5は、仮想計算機システム100のハードウェア資源であるメモリ6やディスク装置7には直接アクセスできず、仮想マシン3を経由して間接的にこれらのハードウェア資源にアクセスする。
ゲストOS5は、ゲストOS用仮想ディスク71を記録手段として使用する。
本実施の形態では、仮想マシン3は、ホストOS2上に搭載されるものとしているが、ホストOS2を必要としない仮想マシンであるハイパーバイザであっても良い。
The guest OS 5 cannot directly access the memory 6 and the
The guest OS 5 uses the guest OS virtual disk 71 as a recording unit.
In this embodiment, the
仮想マシン3は、ゲストOS5に対する仮想マシン3の仮想CPUの動作状態、仮想マシン3が使用する仮想メモリの状態、仮想マシン3が使用するゲストOS用仮想ディスク71の状態(以下、仮想マシンの状態と称す)をスナップショット(複写)として保存するスナップショット実行部31を備える。
スナップショット実行部31のベーススナップショット取得手段31aは、ある時点における、ゲストOS5に対する仮想マシン3の仮想CPUの全ての動作状態、仮想マシン3が使用する仮想メモリの全ての状態、仮想マシン3が使用するゲストOS用仮想ディスク71の全ての状態を取り込んで、ベーススナップショット72としてディスク装置7に保存する機能を提供する。
The
The base snapshot acquisition unit 31a of the snapshot execution unit 31 is configured so that all the operating states of the virtual CPU of the
更新差分管理部33は、ベーススナップショット72取得後の仮想マシン3の状態の更新分を管理する機能を提供する。
更新差分一時保存バッファ34は、ベーススナップショット72取得後の仮想マシン3の状態の更新分を一時的に保存するバッファである。
The update difference management unit 33 provides a function of managing an update of the state of the
The update difference
スナップショット実行部31の差分スナップショット取得手段31bは、所定の周期で更新差分一時保存バッファ34の内容を、ディスク装置7に差分スナップショット74として保存する機能を提供する。
The differential snapshot acquisition unit 31b of the snapshot execution unit 31 provides a function of storing the contents of the update differential
ディスク装置7には、ベーススナップショット72および差分スナップショット74の管理情報であるスナップショット管理情報73が保存されている。
仮想マシン3のスナップショット復元部32は、ゲストOS5に障害が発生した時に、ディスク装置7に保存されたベーススナップショット72及び差分スナップショット74から障害発生前の状態に仮想マシン3のゲストOS5を復元する機能を提供する。
The
When a failure occurs in the guest OS 5, the snapshot restoration unit 32 of the
次に、実施の形態1に係る仮想計算機システムの動作について、図1、図2を用いて説明する。
まず、仮想マシン3のスナップショット実行部31のベーススナップショット取得手段31aは、任意の時点で、仮想マシン3の状態を取得して(ST01)ベーススナップショット72としてディスク装置7に保存する。(ST02)
この時、同時にベーススナップショット72の取得日時等の各種情報をスナップショット管理情報73に記録する。
また、同時に更新差分管理部33は、最初に更新差分一時保存バッファ34をクリアしてから、仮想マシン3の状態のこれ以降の更新分を、更新差分一時保存バッファ34に逐次保存する。(ST03)
Next, the operation of the virtual computer system according to the first embodiment will be described with reference to FIGS.
First, the base snapshot acquisition unit 31a of the snapshot execution unit 31 of the
At this time, various information such as the acquisition date and time of the
At the same time, the update difference management unit 33 first clears the update difference
具体的には、ゲストOS5に対する仮想マシン3の仮想CPUのレジスタ値等の更新、ゲストOS5からのメモリ6の更新およびゲストOS用仮想ディスク71の更新が行われると、更新差分管理部33は、更新内容を更新差分一時保存バッファ34に保存する。
Specifically, when the update of the register value of the virtual CPU of the
スナップショット実行部31の差分スナップショット取得手段31bは、定周期もしくは更新差分一時保存バッファ34が一杯になった時点で、更新差分一時保存バッファ34の内容を読み出し(ST04)、差分スナップショット74としてディスク装置7に保存し(ST05)、スナップショット管理情報73に、この差分スナップショット74の保存日時等を記録する。(ST06)
差分スナップショット74は、保存単位毎に新たに割り当てられる。
そして、ST06の処理を終了するとST03の処理に戻ってST06までの処理を繰り返す。
The difference snapshot acquisition means 31b of the snapshot execution unit 31 reads the contents of the update difference
The differential snapshot 74 is newly assigned for each storage unit.
When the process of ST06 is completed, the process returns to ST03 and repeats the processes up to ST06.
ゲストOS5で障害が発生した場合、スナップショット復元部32は、スナップショット管理情報73を参照し、障害が発生した直前のベーススナップショット72および差分スナップショット74の内容を読み出し、ゲストOS5のメモリ6とゲストOS用仮想ディスク71およびゲストOS5に対する仮想マシン3の仮想CPUの状態を復元し、障害が発生した直前からの動作を実行する。
When a failure occurs in the guest OS 5, the snapshot restoration unit 32 refers to the
本実施の形態に係る仮想計算機システム100によれば、仮想マシン3のゲストOS5に対する全体の状態を最初にベーススナップショット72として取得し、更新差分のみを定周期で差分スナップショット74として保存するため、スナップショット全体のサイズを小さくすることができる。
これにより、スナップショット実行部31の動作が、ゲストOS5の性能に対して及ぼす影響を小さくすることができる。
また、仮想マシン3のゲストOS5に対する状態のみを保存するので、1つの仮想マシン3をホストOS2に搭載するだけで全ての処理を完結できる。
また、仮想マシン3のゲストOS5に対する状態を障害発生直前の状態に復元できるようにしたので、ゲストOS5に対する障害の再現を容易に行うことができる。
According to the
As a result, the influence of the operation of the snapshot execution unit 31 on the performance of the guest OS 5 can be reduced.
In addition, since only the state of the
In addition, since the state of the
実施の形態2.
以下、本発明の実施の形態2に係る仮想計算機システムを図を用いて実施の形態1と異なる部分を中心に説明する。
図3は、仮想計算機システム200の構成を示すブロック図である。
実施の形態1では、仮想マシン3の状態をベーススナップショット72及び差分スナップショット74として保存することで、スナップショット全体のサイズを小さくし、ゲストOS5の性能に対する影響を少なくし、障害直前の状態に復元できるようにした仮想計算機システム100について説明した。
Hereinafter, the virtual computer system according to the second embodiment of the present invention will be described with reference to the drawings, focusing on the differences from the first embodiment.
FIG. 3 is a block diagram showing a configuration of the
In the first embodiment, the state of the
本実施の形態では更に、任意の時点を指定するだけで、複数の差分スナップショット74の中から、その時点の直前における仮想マシン203の状態を復元するために必要な差分スナップショット74を自動選択するシステム構成とした。
ベーススナップショット72と選択された差分スナップショット74により、障害発生の要因が入り込む以前の状態からの障害再現を行うことができる。
In the present embodiment, it is also possible to automatically select a differential snapshot 74 necessary for restoring the state of the virtual machine 203 immediately before that time from a plurality of differential snapshots 74 simply by specifying an arbitrary time point. System configuration.
With the
仮想計算機システム200では、スナップショット復元部232に、スナップショット選択手段232aを備えている。
スナップショット選択手段232aは、ユーザによって指定された時点における直近の差分スナップショット74をスナップショット管理情報73の内容を参照して決定する。
仮想マシン203の状態の復元に必要なベーススナップショット72および、このベーススナップショット72の記録後、当該直近の差分スナップショット74の記録前に記録されたすべての差分スナップショット74の内容を読み出し、仮想マシン203の状態を復元し、障害が発生した直前の時点からの動作を実行する。
In the
The snapshot selection means 232a determines the latest differential snapshot 74 at the time designated by the user with reference to the contents of the
Read the contents of the
本実施の形態に係る仮想計算機システム200によれば、保存されたベーススナップショット及び差分スナップショットを利用して、複数の時点における仮想マシン203の状態を復元して、その時点からの処理を再現できる。
これにより、実施の形態1で述べた効果の他に、効率よく障害の原因を解析できる効果がある。
According to the
Thereby, in addition to the effect described in the first embodiment, there is an effect that the cause of the failure can be efficiently analyzed.
実施の形態3.
以下、本発明の実施の形態3に係る仮想計算機システムを図を用いて実施の形態2と異なる部分を中心に説明する。
図4は、仮想計算機システム300の構成を示すブロック図である。
本実施の形態では、仮想マシン303に、複数の差分スナップショット74を併合するスナップショット管理部35を備えている。
Hereinafter, the virtual computer system according to the third embodiment of the present invention will be described with reference to the drawings, focusing on the differences from the second embodiment.
FIG. 4 is a block diagram showing the configuration of the
In the present embodiment, the virtual machine 303 includes a snapshot management unit 35 that merges a plurality of differential snapshots 74.
仮想計算機システム300を長時間に渡って運用すると、大量の差分スナップショット74が保存され、大容量のディスク容量を必要とする。
そこで、スナップショットを管理する機能を設け、取得から一定時間が経過した差分スナップショット74の内容をベーススナップショット72に統合することで、ディスクスペースの消費を抑制し、差分スナップショット74を順次保存、統合しながら仮想計算機システム300の運用を継続することができる。
When the
Therefore, a function for managing snapshots is provided, and the contents of the differential snapshot 74 after a certain period of time have been integrated into the
スナップショット管理部35が提供する機能について説明する。
スナップショット管理部35は、スナップショット管理情報73を参照し、保存されている差分スナップショット74が、その取得後一定時間経過しているかどうかを判定する。
一定時間経過している差分スナップショット74が検出された場合には、ベーススナップショット72に、古いもの(図4のグレーで示す差分スナップショット74)から順に、仮想マシン303の状態の差分として反映し、反映した差分スナップショット74を削除する。
それ以外の動作については、実施の形態2と同様である。
本発明の実施の形態3に係る仮想計算機システム300によれば、更にディスクスペースを節約した仮想計算機システムを提供できる。
Functions provided by the snapshot management unit 35 will be described.
The snapshot management unit 35 refers to the
When a differential snapshot 74 that has passed for a certain period of time is detected, it is reflected in the
Other operations are the same as those in the second embodiment.
According to the
実施の形態4.
以下、本発明の実施の形態4に係る仮想計算機システムを図を用いて実施の形態3と異なる部分を中心に説明する。
図5は、仮想計算機システム400の構成を示すブロック図である。
本実施の形態では、更新差分一時保存バッファ34とベーススナップショット72及び差分スナップショット74をそのままゲストOS用仮想ディスク71の代用として使用する。
これにより、ゲストOS用仮想ディスク71への書き込みをなくし、仮想計算機システム400の動作の性能劣化を軽減することができる。
Embodiment 4 FIG.
Hereinafter, the virtual computer system according to the fourth embodiment of the present invention will be described with reference to the drawings, focusing on the differences from the third embodiment.
FIG. 5 is a block diagram showing a configuration of the
In this embodiment, the update difference
As a result, writing to the guest OS virtual disk 71 can be eliminated, and performance degradation of the operation of the
更新差分管理処理について説明する。
仮想計算機システム400の仮想マシン403の更新差分管理部33は、ゲストOS5からのディスクアクセスを検出すると、スナップショット内検索処理手段33aにより、アクセスがリード要求かライト要求かを判断する。
そして、リード要求の場合は、まず更新差分一時保存バッファ34に該当のデータブロックが存在するかどうか検索する。
存在しない場合は、スナップショット管理情報73を参照し、差分スナップショット74の記録時刻の新しい順に該当のデータブロックが存在するかどうかを検索する。
ここにも目的のデータブロックが存在しない場合は、ベーススナップショット72にアクセスして該当のデータブロックを取得して、ゲストOS5に対してデータを転送する。
なお、ライト要求の場合は実施の形態1と同様に、更新差分一時保存バッファ34に変更データが記載される。
それ以外の動作については、実施の形態3と同様である。
The update difference management process will be described.
When the update difference management unit 33 of the virtual machine 403 of the
In the case of a read request, first, it is searched whether or not the corresponding data block exists in the update difference
If it does not exist, the
If the target data block does not exist here, the
In the case of a write request, change data is described in the update difference
Other operations are the same as those in the third embodiment.
本発明の実施の形態4に係る仮想計算機システム400によれば、更新差分一時保存バッファ34とベーススナップショット72および差分スナップショット74を、そのままゲストOS用仮想ディスクとして使用することにより、ゲストOS用仮想ディスク71を設ける必要が無くなり、更新差分一時保存バッファ34をキャッシュとして使用することによりディスク装置7へのアクセスも低減できる。
According to the
実施の形態5.
以下、本発明の実施の形態5に係る仮想計算機システムを図を用いて実施の形態4と異なる部分を中心に説明する。
図6は、仮想計算機システム500の構成を示すブロック図である。
本実施の形態では更に、障害発生後にスナップショットにより仮想マシン503の状態を、障害前の状態に復元した後で、通常動作時には性能への影響を考慮して有効にしていないゲストOS5のトレース機能を有効にする。
そして仮想マシン503上でゲストOS5の動作を再開することにより障害検証時の解析性の向上を図る。
Embodiment 5 FIG.
Hereinafter, a virtual machine system according to the fifth embodiment of the present invention will be described with a focus on differences from the fourth embodiment with reference to the drawings.
FIG. 6 is a block diagram showing a configuration of the
In the present embodiment, the trace function of the guest OS 5 that is not enabled in consideration of the influence on performance during normal operation after the state of the virtual machine 503 is restored to the state before the failure by a snapshot after the failure has occurred. Enable
Then, by resuming the operation of the guest OS 5 on the virtual machine 503, the analysis at the time of failure verification is improved.
トレース取得指示処理について説明する。
仮想計算機システム500の仮想マシン503は、スナップショット復元部32内にゲストOSトレース取得指示手段36を備えている。
スナップショット復元部32は、仮想マシン503の状態を、障害発生前の状態に復元させた後、ゲストOSトレース取得指示手段36を呼び出す。
ゲストOSトレース取得指示手段36は、ゲストOS5内のトレース有効フラグ551をONに設定する。
ゲストOS5のトレース処理部552は、周期的にトレース有効フラグ551を参照している。
トレース有効フラグ551がONになると、ゲストOS5のトレースをゲストOS5内のトレースバッファ553に逐次保存する。
障害が再現されると、トレースバッファ553の内容を参照することで、障害再現までのゲストOS5の動作を確認することができる。
それ以外の動作については、実施の形態4で述べたとおりである。
The trace acquisition instruction process will be described.
The virtual machine 503 of the
The snapshot restoration unit 32 calls the guest OS trace acquisition instruction unit 36 after restoring the state of the virtual machine 503 to the state before the occurrence of the failure.
The guest OS trace acquisition instructing unit 36 sets the trace valid flag 551 in the guest OS 5 to ON.
The
When the trace valid flag 551 is turned ON, the guest OS5 trace is sequentially stored in the trace buffer 553 in the guest OS5.
When the failure is reproduced, the operation of the guest OS 5 up to the failure reproduction can be confirmed by referring to the contents of the trace buffer 553.
Other operations are as described in the fourth embodiment.
本発明の実施の形態5に係る仮想計算機システム500によれば、トレース処理機能を利用して、障害の検証をスムーズにおこなえる。
According to the
尚、本発明は、その発明の範囲内において、各実施の形態を自由に組み合わせたり、各実施の形態を適宜、変形、省略することが可能である。 It should be noted that the present invention can be freely combined with each other within the scope of the invention, and each embodiment can be appropriately modified or omitted.
100,200,300,400,500 仮想計算機システム、1 計算機本体、
2 ホストOS、3,203,303,403,503 仮想マシン、
31 スナップショット実行部、31a ベーススナップショット取得手段、
31b 差分スナップショット取得手段、32,232 スナップショット復元部、
232a スナップショット選択手段、33 更新差分管理部、
33a スナップショット内検索処理手段、34 更新差分一時保存バッファ、
35 スナップショット管理部、36 ゲストOSトレース取得指示手段、
4 アプリケーション、5 ゲストOS、551 トレース有効フラグ、
552 トレース処理部、553 トレースバッファ、6 メモリ、7 ディスク装置、
71 ゲストOS用仮想ディスク、72 ベーススナップショット、
73 スナップショット管理情報、74 差分スナップショット。
100, 200, 300, 400, 500 Virtual computer system, 1 computer body,
2 Host OS, 3, 203, 303, 403, 503 Virtual machine,
31 snapshot execution part, 31a base snapshot acquisition means,
31b Differential snapshot acquisition means, 32, 232 snapshot restoration unit,
232a snapshot selection means, 33 update difference management section,
33a In-snapshot search processing means, 34 update difference temporary storage buffer,
35 snapshot management unit, 36 guest OS trace acquisition instruction means,
4 Application, 5 Guest OS, 551 Trace valid flag,
552 Trace processing unit, 553 trace buffer, 6 memory, 7 disk device,
71 Virtual disk for guest OS, 72 base snapshot,
73 Snapshot management information, 74 Differential snapshot.
Claims (7)
前記仮想マシンは、
前記ゲストOSに対する、前記仮想マシンの仮想CPUの動作状態と前記仮想マシンの使用する仮想メモリの状態と前記仮想マシンの使用する仮想ディスクの状態をベーススナップショットとしてディスク装置に記録するベーススナップショット取得手段及び、前記ベーススナップショットを取得後に更新された前記仮想CPUの動作状態の更新内容と前記仮想メモリの更新内容と前記仮想ディスクの更新内容を有する差分スナップショットを取得して前記ディスク装置に記録する差分スナップショット取得手段を備えたスナップショット実行部と、
前記差分スナップショットを管理する更新差分管理部と、
前記ディスク装置に保存された前記ベーススナップショットと前記差分スナップショットを用いて前記ゲストOSに対する、前記仮想マシンの前記仮想CPUの動作状態と前記仮想マシンの使用する前記仮想メモリの状態と前記仮想マシンの使用する前記ゲストOS用の前記仮想ディスクの状態を復元するスナップショット復元部とを備えた仮想計算機システム。 In a virtual machine system that runs a guest OS on a virtual machine that runs on a host OS of a physical machine,
The virtual machine is
Base snapshot acquisition that records the operating state of the virtual CPU of the virtual machine, the state of the virtual memory used by the virtual machine, and the state of the virtual disk used by the virtual machine as a base snapshot for the guest OS And a differential snapshot having the updated contents of the operating state of the virtual CPU, the updated contents of the virtual memory, and the updated contents of the virtual disk updated after the base snapshot is acquired and recorded in the disk device A snapshot execution unit having a differential snapshot acquisition means to perform,
An update difference management unit for managing the difference snapshot;
The operating state of the virtual CPU of the virtual machine, the state of the virtual memory used by the virtual machine, and the virtual machine for the guest OS using the base snapshot and the differential snapshot stored in the disk device A virtual machine system comprising: a snapshot restoration unit that restores the state of the virtual disk for the guest OS used by.
前記更新差分一時保存バッファから、前記差分スナップショットを前記ディスク装置に転記する更新差分管理部を備えた請求項1又は請求項2に記載の仮想計算機システム。 The virtual machine includes an update difference temporary storage buffer that temporarily stores the difference snapshot,
The virtual machine system according to claim 1, further comprising an update difference management unit that transfers the difference snapshot from the update difference temporary storage buffer to the disk device.
前記ベーススナップショットと、選択された前記差分スナップショット及び、前記ベーススナップショットの記録後、当該差分スナップショットの記録前に記録したすべての前記差分スナップショットを使用して前記ゲストOSに対する、前記仮想マシンの前記仮想CPUの動作状態と前記仮想マシンの使用する前記仮想メモリの状態と前記仮想マシンの使用する前記仮想ディスクの状態を前記仮想マシン内に復元する請求項1乃至請求項3のいずれか1項に記載の仮想計算機システム。 The snapshot restoration unit includes snapshot selection means for selecting the differential snapshot saved immediately before the time point from a plurality of the differential snapshots based on the designated time point,
The virtual snapshot for the guest OS using the base snapshot, the selected differential snapshot, and all the differential snapshots recorded after recording the base snapshot and before recording the differential snapshot. The operation state of the virtual CPU of the machine, the state of the virtual memory used by the virtual machine, and the state of the virtual disk used by the virtual machine are restored in the virtual machine. The virtual machine system according to item 1.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012105743A JP2013235317A (en) | 2012-05-07 | 2012-05-07 | Virtual computer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012105743A JP2013235317A (en) | 2012-05-07 | 2012-05-07 | Virtual computer system |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2013235317A true JP2013235317A (en) | 2013-11-21 |
Family
ID=49761414
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012105743A Pending JP2013235317A (en) | 2012-05-07 | 2012-05-07 | Virtual computer system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2013235317A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9606872B2 (en) | 2014-09-12 | 2017-03-28 | Fuji Xerox Co., Ltd. | Virtual computer system, printer control system, virtual computation method, printer control method, and storage media |
CN110737546A (en) * | 2019-10-17 | 2020-01-31 | 深信服科技股份有限公司 | consistency snapshot checking method, device, equipment and storage medium |
JP2022040156A (en) * | 2021-01-06 | 2022-03-10 | バイドゥ ユーエスエイ エルエルシー | Virtual machine transition method by check point authentication in virtualized environment |
-
2012
- 2012-05-07 JP JP2012105743A patent/JP2013235317A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9606872B2 (en) | 2014-09-12 | 2017-03-28 | Fuji Xerox Co., Ltd. | Virtual computer system, printer control system, virtual computation method, printer control method, and storage media |
CN110737546A (en) * | 2019-10-17 | 2020-01-31 | 深信服科技股份有限公司 | consistency snapshot checking method, device, equipment and storage medium |
JP2022040156A (en) * | 2021-01-06 | 2022-03-10 | バイドゥ ユーエスエイ エルエルシー | Virtual machine transition method by check point authentication in virtualized environment |
JP7331080B2 (en) | 2021-01-06 | 2023-08-22 | バイドゥ ユーエスエイ エルエルシー | How to migrate a virtual machine with checkpoint authentication in a virtualization environment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11789823B2 (en) | Selective processing of file system objects for image level backups | |
US10055146B1 (en) | Virtual machine rollback | |
US9348827B1 (en) | File-based snapshots for block-based backups | |
US7472139B2 (en) | Database recovery method applying update journal and database log | |
US9842032B2 (en) | Memory first live snapshot | |
JP4363676B2 (en) | Computer system | |
US9430333B2 (en) | Recovery of application from snapshot | |
JP4530059B2 (en) | Disk array device, firmware exchange method, and firmware exchange program | |
US9069701B2 (en) | Virtual machine failover | |
WO2020223112A1 (en) | Systems and methods for continuous data protection | |
US11249655B1 (en) | Data resychronization methods and systems in continuous data protection | |
EP3577564B1 (en) | Efficient retrieval of memory values during trace replay | |
US11256533B1 (en) | Transparent disk caching for virtual machines and applications | |
KR101738965B1 (en) | Apparatus and method for journaling based on garbage collection | |
US9336250B1 (en) | Systems and methods for efficiently backing up data | |
JP2013235317A (en) | Virtual computer system | |
TW201516655A (en) | System and method for recovering distributed file system | |
US20140297594A1 (en) | Restarting a Batch Process From an Execution Point | |
US20170357545A1 (en) | Information processing apparatus and information processing method | |
WO2014147707A1 (en) | Informaton processing device, information processing method, and information processing program | |
US11163665B2 (en) | Indexing and replaying time-travel traces using diffgrams | |
US9952807B1 (en) | Virtual machine back-up | |
JP2014006845A (en) | Management method, management device and management program | |
US20230315593A1 (en) | Remote direct memory access (rdma)-based recovery of dirty data in remote memory | |
US10423351B1 (en) | System and method for capacity and network traffic efficient data protection on distributed storage system |