JP2008084029A - Virtual machine management system - Google Patents

Virtual machine management system Download PDF

Info

Publication number
JP2008084029A
JP2008084029A JP2006263551A JP2006263551A JP2008084029A JP 2008084029 A JP2008084029 A JP 2008084029A JP 2006263551 A JP2006263551 A JP 2006263551A JP 2006263551 A JP2006263551 A JP 2006263551A JP 2008084029 A JP2008084029 A JP 2008084029A
Authority
JP
Japan
Prior art keywords
virtual
guest
image
virtual machine
image file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2006263551A
Other languages
Japanese (ja)
Inventor
Koji Nakayama
晃治 中山
Yoshimitsu Aoyanagi
慶光 青柳
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.)
Hitachi Software Engineering Co Ltd
Original Assignee
Hitachi Software Engineering Co Ltd
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 Hitachi Software Engineering Co Ltd filed Critical Hitachi Software Engineering Co Ltd
Priority to JP2006263551A priority Critical patent/JP2008084029A/en
Publication of JP2008084029A publication Critical patent/JP2008084029A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To easily manage a guest OS and APs driven in the guest OS by unifying image files of the diversified guest OS in a virtual machine management system for managing a plurality of virtual machines and to easily restore an AP environment in updating the guest OS. <P>SOLUTION: Data concerned with a plurality of APs to be driven in the guest OS are separated and stored as one virtual AP image file to unifiedly manage image files of the guest OS. In updating the guest OS, the unified image file of the guest OS is updated only once, and the updated image file is overwritten to the other guest OS image file. Then the virtual AP image file is downloaded to the guest OS whose update is completed and data are read from the AP image file to start the AP. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、複数の仮想マシン及び仮想マシン上で使用されるOSイメージファイルの管理技術に関するものである。   The present invention relates to a technique for managing a plurality of virtual machines and OS image files used on the virtual machines.

仮想マシンは、ある特定のハードウェアをエミュレーションする環境、またはそれによって実現された仮想的なマシン環境のことであり、通常何らかのオペレーティング・システム(以後、OSと記述する)上でエミュレーションソフトを実行することにより実現される。また、仮想マシン上では、前記のOSとは異なるOSやプログラムを動作させることが可能である。このとき、仮想マシンそのものの実行に使われるOSのことを「ホストOS」、仮想マシンの上で実行されるOSのことを「ゲストOS」という。仮想マシンでは、1台の物理コンピュータ上に複数のマシン環境を構築できることから、リソースの効率的使用を目的としたサーバ集約に利用されている。またその他にも、ゲストOSを、1つのイメージファイルとして扱うことが可能であり、イメージファイルのコピーのみで複数のマシン環境を構築することが可能なため、大規模なシステム開発におけるテスト環境の構築等にも利用される。   A virtual machine is an environment that emulates specific hardware, or a virtual machine environment that is realized by the environment, and usually executes emulation software on some operating system (hereinafter referred to as OS). Is realized. Further, on the virtual machine, it is possible to operate an OS or a program different from the OS. At this time, an OS used to execute the virtual machine itself is referred to as a “host OS”, and an OS executed on the virtual machine is referred to as a “guest OS”. Since a virtual machine can construct a plurality of machine environments on one physical computer, it is used for server consolidation for the purpose of efficient use of resources. In addition, since the guest OS can be handled as a single image file and multiple machine environments can be constructed by copying only the image file, a test environment can be constructed for large-scale system development. Etc.

仮想マシンの構築方法として、下記特許文献1では、ゲストOSに適用される設定や、仮想マシンの新規構築・削除等を容易にする手段を提供している。また、複数の仮想マシンを1つの管理コンソール画面上から管理するための仮想マシン管理ツール等も整備されつつある。さらに、Windows(登録商標)のActive Directory(登録商標)等のように、ネットワークで接続されたコンピュータからOSの設定を行う手段が存在し、仮想マシンの構築はいっそう容易になってきている。
特開2005-332223
As a virtual machine construction method, the following Patent Document 1 provides a means for facilitating settings applied to a guest OS, new construction / deletion of a virtual machine, and the like. In addition, a virtual machine management tool for managing a plurality of virtual machines from one management console screen is being prepared. Furthermore, there are means for setting the OS from a computer connected via a network, such as Active Directory (registered trademark) of Windows (registered trademark), and the construction of a virtual machine has become easier.
JP2005-332223

しかし、仮想マシンやゲストOSの複製・設定が容易にできるようになったことで、仮想マシンは増殖し、ゲストOSにおける設定やアプリケーションのインストール状況は多様となるため、管理者は大量、かつ、複雑な管理を行わなければならないという問題がある。   However, since the virtual machines and guest OSs can be easily duplicated and set up, the virtual machines proliferate, and the settings and application installation statuses in the guest OS become diverse. There is a problem that complicated management must be performed.

また、従来の仮想マシン管理システムでは、ゲストOSをアップデートすると仮想マシン上のゲストOSイメージがアップデートしたものに書き替えられてしまうので、それまでに構築したアプリケーション環境を容易に元に戻せないという問題がある。アプリケーション環境を元に戻すためには、再びアプリケーションのインストールから作業を行う必要があった。   In addition, in the conventional virtual machine management system, when the guest OS is updated, the guest OS image on the virtual machine is rewritten with the updated one, so that the application environment constructed so far cannot be easily restored. There is. In order to restore the application environment, it was necessary to start from the installation of the application again.

本発明は、このような問題に鑑みて発明されたものであり、その目的は、多様化するゲストOSのイメージファイルを一元化することで(以後、一元化されたゲストOSのイメージファイルをマスターゲストOSイメージと呼ぶ)、ゲストOS、及び、ゲストOS上で動作するアプリケーションの管理を容易にすることである。また、ゲストOSのアップデートの際にアプリケーション環境を容易に元に戻せるようにすることを目的とする。   The present invention has been invented in view of such a problem, and an object of the present invention is to unify the image files of the diversified guest OS (hereinafter, the image file of the unified guest OS is the master guest OS). (Referred to as an image), guest OS, and management of applications running on the guest OS. It is another object of the present invention to easily restore the application environment when updating the guest OS.

上記目的を達成するため、本発明は、複数の仮想マシンが動作する仮想マシンサーバにおいて、それら複数の仮想マシンを管理する仮想マシン管理システムであって、前記各仮想マシン毎に、その仮想マシン上で動作するゲストOSが管理する仮想ハードディスク上に仮想APイメージファイルを作成する手段と、任意の仮想マシン上で動作する任意のモジュールが、その仮想マシン上で動作するゲストOSが管理する仮想ハードディスク上の任意の領域に対して、任意のデータの書き込みまたは読み込みの処理を試みた場合に、該書き込みまたは読み込みが指示された領域から、前記仮想ハードディスク上に存在する仮想APイメージファイル上の所定の領域にリダイレクトを行い、書き込みまたは読み込み先を変更して書き込みまたは読み込みを実行することにより、前記任意のデータを前記仮想APイメージファイルに分離する手段と、前記仮想APイメージファイルを、前記仮想ハードディスクから、前記仮想マシンサーバ上のホストOSが管理する物理ハードディスク上へ、バックアップする手段と、前記物理ハードディスク上の前記仮想APイメージファイルを、前記仮想ハードディスク上にダウンロードする手段とを備え、前記任意の仮想マシン上で動作するモジュールに関連するデータを前記ゲストOSのイメージファイルから分離することにより、前記ゲストOSのイメージファイルを一元的に扱うことを可能にしたことを特徴とする。   In order to achieve the above object, the present invention provides a virtual machine management system for managing a plurality of virtual machines in a virtual machine server on which a plurality of virtual machines operate. Means for creating a virtual AP image file on a virtual hard disk managed by a guest OS that operates on the virtual OS, and an arbitrary module that operates on an arbitrary virtual machine on a virtual hard disk managed by the guest OS that operates on the virtual machine When an arbitrary data write or read process is attempted with respect to an arbitrary area, a predetermined area on the virtual AP image file existing on the virtual hard disk from the area instructed to write or read To write or read And the means for separating the arbitrary data into the virtual AP image file and the virtual AP image file from the virtual hard disk to a physical hard disk managed by the host OS on the virtual machine server. Means for backing up and means for downloading the virtual AP image file on the physical hard disk onto the virtual hard disk, and data relating to a module operating on the arbitrary virtual machine is stored in the image of the guest OS. By separating from the file, the guest OS image file can be handled in a unified manner.

すなわち、本発明では、ゲストOSのイメージファイルはマスタゲストOSイメージとして一元化する。マスタゲストOSイメージをコピーして作成したゲストOS上で任意のモジュールが動作して仮想HDDに書き込み・読み込みをした場合、それらのデータは仮想APイメージファイルにリダイレクトされる。これにより、ゲストOSイメージと仮想APイメージとが明確に分離できる。   In other words, in the present invention, the guest OS image file is unified as a master guest OS image. When an arbitrary module operates on the guest OS created by copying the master guest OS image and writes / reads data to / from the virtual HDD, the data is redirected to the virtual AP image file. Thereby, the guest OS image and the virtual AP image can be clearly separated.

本発明によれば、ゲストOSにおいてアップデート等の更新が容易である。例えば、ゲストOSをアップデートしたい場合は、マスターゲストOSイメージに対してアップデートを1回行い、仮想マシンサーバ上で動作する任意のゲストOSのイメージファイルを、アップデート済みのマスターゲストOSイメージで上書することで、ゲストOSのアップデートが完了する。この際、アプリケーションに関連する実行コードやデータ等は上記仮想APイメージファイルとして分離されているので、アップデート済みのマスターゲストOSイメージで、ゲストOSのイメージファイルの上書きを行っても、ゲストOS上で動作していたアプリケーション等の任意のモジュールのデータは仮想APイメージファイルとして残されており消えることはない。通常、アプリケーションのインストール状況の異なるゲストOSのアップデートを行う場合、前記のゲストOSを起動して手動、または、自動でアップデート操作を行う必要があったが、本発明においては、マスターゲストOSイメージで上書きするだけで仮想マシンサーバ上に存在する全てのゲストOSのアップデートを完了することが可能となる。また、本発明のシステムを使用すれば、起動していないゲストOSにおいて、ゲストOSを起動させずにアップデートすることも可能となる。   According to the present invention, updating such as updating is easy in the guest OS. For example, if you want to update the guest OS, update the master guest OS image once and overwrite any guest OS image file that runs on the virtual machine server with the updated master guest OS image. This completes the update of the guest OS. At this time, since the execution code and data related to the application are separated as the virtual AP image file, even if the guest OS image file is overwritten with the updated master guest OS image, Data of an arbitrary module such as an operating application is left as a virtual AP image file and does not disappear. Normally, when updating a guest OS with different application installation status, it is necessary to start the guest OS and perform an update operation manually or automatically. In the present invention, however, a master guest OS image is used. It is possible to complete the update of all guest OSs existing on the virtual machine server simply by overwriting. Further, if the system of the present invention is used, it is possible to update a guest OS that has not been started without starting the guest OS.

本発明によれば、多様化するゲストOSのイメージファイルをマスターゲストOSイメージとして一元化することで、ゲストOS及びゲストOS上で動作するアプリケーションの管理が容易になる。また、ゲストOSのアップデートの際に、再びアプリケーションのインストールから作業を行う必要を無くし、アプリケーション環境を容易に元に戻すことが可能になる。   According to the present invention, the management of the guest OS and applications running on the guest OS is facilitated by unifying the diversified guest OS image files as the master guest OS image. In addition, when updating the guest OS, there is no need to perform the work from installing the application again, and the application environment can be easily restored.

以下、図面を用いて、本発明の実施形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の一実施形態である仮想マシン管理システムのシステム構成を示す。なお、以後アプリケーションのことをAPと省略して記述する。   FIG. 1 shows a system configuration of a virtual machine management system according to an embodiment of the present invention. Hereinafter, the application is abbreviated as AP.

図1のシステムは、仮想マシンサーバ100、ホストOS101、仮想マシン管理モジュール102、アップデートモジュール103、仮想マシン104、ゲストOS105、仮想AP化モジュール106、仮想APバックアップモジュール107(以後、仮想APBUモジュールと記述する)、仮想APダウンロードモジュール108(以後、仮想APDLモジュールと記述する)、仮想HDD109、仮想APイメージ110、仮想AP111、物理HDD112、マスターゲストOSイメージ113、ゲストOSイメージ114を備える。   1 includes a virtual machine server 100, a host OS 101, a virtual machine management module 102, an update module 103, a virtual machine 104, a guest OS 105, a virtual AP conversion module 106, and a virtual AP backup module 107 (hereinafter referred to as a virtual APBU module). A virtual AP download module 108 (hereinafter referred to as a virtual APDL module), a virtual HDD 109, a virtual AP image 110, a virtual AP 111, a physical HDD 112, a master guest OS image 113, and a guest OS image 114.

仮想マシンサーバ100は、複数台の仮想マシンを動作させるための物理的なコンピュータである。また、仮想マシンサーバ100は、1つの物理ハードディスク(HDD)112を具備している。本実施形態では、仮想マシン上の仮想HDDと区別するために、仮想マシンサーバ上でホストOSが管理している物理的なハードディスクを物理HDD112と呼ぶ。なお、図1で実際に物理的に存在し動作しているのは、仮想マシンサーバ100、ホストOS101、仮想マシン管理モジュール102、アップデートモジュール103、及び物理HDD112の部分である。点線120内の部分は仮想的に実現されている範囲を示す。また、本実施形態では1台の仮想マシンサーバ100のみを対象とした構成を挙げているが、複数台の仮想マシンサーバが存在する構成でもかまわない。   The virtual machine server 100 is a physical computer for operating a plurality of virtual machines. In addition, the virtual machine server 100 includes one physical hard disk (HDD) 112. In this embodiment, in order to distinguish from a virtual HDD on a virtual machine, a physical hard disk managed by the host OS on the virtual machine server is referred to as a physical HDD 112. In FIG. 1, the parts that actually physically exist and operate are the virtual machine server 100, the host OS 101, the virtual machine management module 102, the update module 103, and the physical HDD 112. A portion within the dotted line 120 indicates a virtually realized range. In the present embodiment, a configuration for only one virtual machine server 100 is given, but a configuration in which a plurality of virtual machine servers exist may be used.

仮想マシン管理モジュール102は、仮想マシン104を管理するためのモジュール(プログラム)であり、ホストOS101上で動作することにより、仮想マシンの追加・削除・起動・停止・設定(例えば、仮想マシンの名前の決定等)等の管理機能を提供する。また、仮想マシン管理モジュール102は、管理者が仮想マシンを管理するためのGUIインターフェースの機能も提供し、任意のタイミングで前記の管理機能を行使することが可能である。   The virtual machine management module 102 is a module (program) for managing the virtual machine 104, and operates on the host OS 101 to add, delete, start, stop, and set a virtual machine (for example, the name of the virtual machine Management functions, etc.). The virtual machine management module 102 also provides a GUI interface function for an administrator to manage a virtual machine, and can exercise the management function at an arbitrary timing.

仮想マシン104は、仮想マシンサーバ100上では、複数台の仮想マシン104を動作させることが可能である。仮想マシン環境を新規に構築するためには、仮想マシン管理モジュール102により、新規に仮想マシン104を作成した後、物理HDD112上にゲストOSイメージ114を新規に作成し、マウントする必要がある。この際、1台の仮想マシン104に対して1つのゲストOSイメージ114が必要である。逆に言えば、1つのゲストOSイメージ114を物理HDD112上に作成することにより1台の仮想マシン104が実現される。ゲストOSイメージ114を新規に作成する方法は、マスターゲストOSイメージ113(後述)を複製することで作成することができる。   The virtual machine 104 can operate a plurality of virtual machines 104 on the virtual machine server 100. In order to construct a new virtual machine environment, it is necessary to create a new guest OS image 114 on the physical HDD 112 and mount it after creating a new virtual machine 104 by the virtual machine management module 102. At this time, one guest OS image 114 is required for one virtual machine 104. In other words, one virtual machine 104 is realized by creating one guest OS image 114 on the physical HDD 112. A method for newly creating the guest OS image 114 can be created by copying a master guest OS image 113 (described later).

ゲストOS105上には、仮想AP化モジュール106、仮想APBUモジュール107、及び仮想APDLモジュール108が常に動作している。   On the guest OS 105, a virtual AP module 106, a virtual APBU module 107, and a virtual APDL module 108 are always operating.

仮想AP化モジュール106とは、ゲストOS105やアプリケーション111等の任意のモジュールが仮想HDD109に対して行うデータの読み込み・書き込み等のファイルI/O操作を監視し、それらのファイルI/Oを仮想APイメージ110(後述)上の任意の領域へリダイレクトする機能と、そのリダイレクトした先を記憶しておき、前記ゲストOS105やアプリケーション111等の任意のモジュールが以前に仮想HDD109上に対して読み込み・書き込みを行ったデータ(実際には、仮想AP化モジュール106により、仮想APイメージ110上に保存されているデータ)に読み込み・書き込みを行った場合、仮想APイメージ110上の当該領域を参照するようにリダイレクトする機能とを持つ。これらの機能は、ゲストOS105上のアプリケーション111に関連するデータ(例えば、図3で説明するような仮想マシン上にインストーラによってインストールされた実行ファイルやドライバやデータ、あるいは図4で説明するような仮想AP111が保存した保存データなど)を1つの仮想APイメージ110として分離することを可能とするものである。   The virtual AP conversion module 106 monitors file I / O operations such as data read / write operations performed by any module such as the guest OS 105 and application 111 on the virtual HDD 109, and these file I / Os are virtual APs. The function of redirecting to an arbitrary area on the image 110 (described later) and the redirected destination are stored, and an arbitrary module such as the guest OS 105 or the application 111 has previously read / written on the virtual HDD 109. When read / write is performed on the performed data (actually, data stored on the virtual AP image 110 by the virtual AP conversion module 106), the redirect is performed so as to refer to the area on the virtual AP image 110. With the function to do. These functions are related to data related to the application 111 on the guest OS 105 (for example, an executable file, driver, or data installed by an installer on a virtual machine as described in FIG. 3 or virtual data as described in FIG. 4). It is possible to separate stored data stored by the AP 111 as one virtual AP image 110.

仮想APBUモジュール107とは、仮想HDD109上に保存されている仮想APイメージ110(後述)を、ホストOS101が管理する物理HDD112上に、バックアップする機能を持つモジュールである。仮想APBUモジュール107は、仮想マシン104が停止する前には必ず仮想APイメージ110のバックアップを行う。115はバックアップされた仮想APイメージを示す。また、仮想APBUモジュール107は、仮想マシン管理モジュール102から任意のタイミングで呼び出すことも可能である。   The virtual APBU module 107 is a module having a function of backing up a virtual AP image 110 (described later) stored on the virtual HDD 109 onto the physical HDD 112 managed by the host OS 101. The virtual APBU module 107 always backs up the virtual AP image 110 before the virtual machine 104 stops. Reference numeral 115 denotes a backed up virtual AP image. The virtual APBU module 107 can also be called from the virtual machine management module 102 at an arbitrary timing.

仮想APDLモジュール108とは、物理HDD112上にバックアップされた仮想APイメージ115を仮想HDD109上にダウンロードしてくる機能を持つモジュールである。仮想APDLモジュール107は、仮想マシン104が起動した直後には必ず仮想APイメージのダウンロード(115から110へのダウンロード)を行う。また、仮想APDLモジュール108は、仮想マシン管理モジュール102から任意のタイミングで呼び出すことも可能である。   The virtual APDL module 108 is a module having a function of downloading the virtual AP image 115 backed up on the physical HDD 112 onto the virtual HDD 109. The virtual APDL module 107 always downloads the virtual AP image (download from 115 to 110) immediately after the virtual machine 104 is activated. The virtual APDL module 108 can be called from the virtual machine management module 102 at an arbitrary timing.

仮想APイメージ110は、仮想マシン104上で動作する複数のアプリケーション111等のモジュールに関連するデータの内、従来の仮想マシン環境では仮想HDD109に保存されるデータを、仮想AP化モジュール106がリダイレクトして書き込むためのイメージファイルである。従来の仮想マシンではこのような仮想APイメージ110は無かったため、仮想マシンにアプリケーションがインストールされたときの実行ファイルや、仮想APが保存したデータなどは、ゲストOSイメージ内に組み込まれてしまい容易に分離できないデータとなっていた。本実施形態のシステムでは、ゲストOS105に対応するゲストOSイメージ114は変更することなく、アプリケーションに関連するデータを仮想APイメージ110として切り離して取り扱えるようにしている。仮想APイメージ110は、1つのゲストOS105に対して1つ存在する。また、1つの仮想APイメージ110内には、ある仮想マシン104上で動作する複数のアプリケーション111に関連するデータが書き込まれている。仮想APイメージ110は、ゲストOS105のインストールが終了した時から、新規にアプリケーション等の任意のモジュールがインストールされるまでの間の任意のタイミングで、仮想AP化モジュール106により1つだけ作成される。   In the virtual AP image 110, the data stored in the virtual HDD 109 in the conventional virtual machine environment among the data related to the modules such as a plurality of applications 111 operating on the virtual machine 104 is redirected by the virtual AP conversion module 106. This is an image file for writing. Since there is no such virtual AP image 110 in the conventional virtual machine, the execution file when the application is installed in the virtual machine and the data saved by the virtual AP are easily incorporated into the guest OS image. The data was inseparable. In the system of the present embodiment, the guest OS image 114 corresponding to the guest OS 105 is not changed, and data related to the application can be separated and handled as the virtual AP image 110. One virtual AP image 110 exists for one guest OS 105. Further, in one virtual AP image 110, data related to a plurality of applications 111 operating on a certain virtual machine 104 is written. Only one virtual AP image 110 is created by the virtual AP conversion module 106 at an arbitrary timing from when the installation of the guest OS 105 is completed until an arbitrary module such as an application is newly installed.

仮想AP111とは、仮想AP化モジュール106により実行ファイルやドライバやデータ等が仮想APイメージ110上に分離されているアプリケーションのことである(図3で詳述する)。仮想マシン104上で、新規にアプリケーションのインストールを行うと、従来の仮想マシン上では、仮想HDD上の任意の場所に保存されるはずのデータが、図1のシステムでは仮想APイメージ110上に保存される。そのため、ゲストOS105のインストール時にインストールされないアプリケーションは全て仮想化され仮想AP111となる。   The virtual AP 111 is an application in which an execution file, a driver, data, and the like are separated on the virtual AP image 110 by the virtual AP conversion module 106 (detailed in FIG. 3). When a new application is installed on the virtual machine 104, data that should be saved in an arbitrary location on the virtual HDD on the conventional virtual machine is saved on the virtual AP image 110 in the system of FIG. Is done. Therefore, all applications that are not installed when the guest OS 105 is installed are virtualized and become virtual APs 111.

マスターゲストOSイメージ113は、全てのゲストOSイメージ114のもととなるゲストOSのイメージファイルである。実際の内容は、仮想AP化モジュール106、仮想APBUモジュール107、及び仮想APDLモジュール108以外の、アプリケーション等の任意のモジュールが新規インストールされていない状態のゲストOSのイメージファイルである。なお、アップデートや設定等に関しては、最新または適切な状態にしておくことが必要である。マスターゲストOSイメージ113は、仮想マシン104にマウントされているゲストOS105のアップデートを行うときに使用される。マスターゲストOSイメージ113のアップデートはアップデートモジュール103により管理されている。アップデートに関しては、動作の説明で詳細に述べる。   The master guest OS image 113 is an image file of a guest OS that is the basis of all the guest OS images 114. The actual content is an image file of a guest OS in a state where any module other than the virtual AP module 106, the virtual APBU module 107, and the virtual APDL module 108 is not newly installed. It should be noted that updates and settings must be kept up to date or appropriate. The master guest OS image 113 is used when the guest OS 105 mounted on the virtual machine 104 is updated. The update of the master guest OS image 113 is managed by the update module 103. The update will be described in detail in the operation description.

アップデートモジュール103は、マスターゲストOSイメージ113のアップデートを行う機能を持っている。アップデートモジュール103は、ゲストOS105にアップデートが生じた場合、マスターゲストOSイメージ113に対してアップデートを1回行い、アップデート済みのマスターゲストOSイメージ113で、物理HDD112上のゲストOSイメージ114を上書きすることで、アップデートを完了する。従来の仮想マシン管理システムでは、ゲストOSのイメージファイルを他のゲストOSのイメージファイルで上書きすると、アプリケーション等の任意のモジュールに関連するデータは消去されてしまうが、図1のシステムでは、仮想AP化モジュール106により、アプリケーション等の任意のモジュールに関連するデータは仮想APイメージ110に分離され、物理HDD113上に保存されるため、アプリケーションのデータが消去されることはない。   The update module 103 has a function of updating the master guest OS image 113. The update module 103 updates the master guest OS image 113 once when the guest OS 105 is updated, and overwrites the guest OS image 114 on the physical HDD 112 with the updated master guest OS image 113. Then complete the update. In the conventional virtual machine management system, when the guest OS image file is overwritten with another guest OS image file, data related to an arbitrary module such as an application is erased. However, in the system of FIG. Data related to an arbitrary module such as an application is separated into the virtual AP image 110 by the conversion module 106 and stored on the physical HDD 113, so that the application data is not erased.

以下、本実施の形態における処理の流れについて、図2〜図6を参照して詳細に説明する。   Hereinafter, the flow of processing in the present embodiment will be described in detail with reference to FIGS.

図2は、マスターゲストOSイメージの作成フローである。マスターゲストOSイメージ113を作成するためには、まず、任意の仮想マシンを起動する(s200)。仮想マシンが存在しない場合は、新規に仮想マシンを作成し起動する。仮想マシンが起動したら、任意のOSのインストールを行う(s201)。インストール作業が終了したら、ゲストOS上に仮想APBUモジュール107、仮想APDLモジュール108、及び仮想AP化モジュール106をインストールする(s202)。次に、アップデート及び設定を最適な状態にする(s203)。最後に、ゲストOSをシャットダウンし、仮想マシンを停止させる(s204)。以上の操作を行うと、物理HDD上にゲストOSイメージが作成され、これをマスターゲストOSイメージ113とする。   FIG. 2 is a flow of creating a master guest OS image. In order to create the master guest OS image 113, first, an arbitrary virtual machine is activated (s200). If the virtual machine does not exist, create a new virtual machine and start it. When the virtual machine is activated, an arbitrary OS is installed (s201). When the installation operation is completed, the virtual APBU module 107, the virtual APDL module 108, and the virtual AP module 106 are installed on the guest OS (s202). Next, the update and setting are brought into an optimum state (s203). Finally, the guest OS is shut down and the virtual machine is stopped (s204). When the above operation is performed, a guest OS image is created on the physical HDD, and this is used as the master guest OS image 113.

図3は、APインストール時におけるAPデータの分離(AP仮想化)を示した図である。ここでは、アプリケーションのインストール時にアプリケーションのデータをゲストOSのイメージファイルから分離する動作について解説する。   FIG. 3 is a diagram showing separation of AP data (AP virtualization) at the time of AP installation. Here, the operation of separating the application data from the guest OS image file when the application is installed will be described.

まず、任意のアプリケーションAとアプリケーションBをインストールするものとし、それぞれのインストーラーをAPインストーラーA300及びAPインストーラーB301とする。APインストーラーAからインストールを開始すると、従来の仮想マシン環境ならば、点線で示すように、インストールデータ(例えば、実行ファイル、ドライバ、レジストリに保存されるデータ等)はゲストOS105が管理する仮想HDD109内の任意の場所(例えば、CドライブのProgramフォルダの下のApplicationAフォルダなど)に保存される(s300)。図3では、実行ファイルA302、ドライバA303、データA304などがそれである。   First, it is assumed that arbitrary application A and application B are installed, and the installers are referred to as AP installer A300 and AP installer B301. When installation is started from the AP installer A, in a conventional virtual machine environment, as shown by a dotted line, installation data (for example, execution files, drivers, data stored in the registry, etc.) is stored in the virtual HDD 109 managed by the guest OS 105. (For example, the ApplicationA folder under the Program folder of the C drive) (s300). In FIG. 3, the execution file A302, the driver A303, the data A304, and the like are those.

一方、本実施形態のシステムでは、仮想AP化モジュール106が、本来保存されるべき領域から、仮想APイメージ110上の所定の領域にリダイレクトして保存する(s301)。図3では、仮想APイメージ110上の実行ファイルA305、ドライバA306、データA307などである。以上により、アプリケーションに関連するデータを仮想APイメージ110上に分離することが可能となる。   On the other hand, in the system of the present embodiment, the virtual AP conversion module 106 redirects and saves from a region that should be originally stored to a predetermined region on the virtual AP image 110 (s301). In FIG. 3, an execution file A305, a driver A306, data A307, and the like on the virtual AP image 110 are shown. As described above, data related to the application can be separated on the virtual AP image 110.

図4は、仮想AP化モジュールの動作例の図である。   FIG. 4 is a diagram illustrating an operation example of the virtual AP module.

まず、仮想AP111が保存データBの書き込みを試みたとする(s400)。仮想AP111は、仮想HDD109上の保存データB401の領域へ書き込みを試みる(s402)。しかし、実際には、仮想AP化モジュール106によりリダイレクトされ、仮想APイメージ110上の保存データB404の領域へ書き込みを行うことになる(s403)。このとき、仮想AP化モジュール106は、本来データが保存される仮想HDD上の保存データB401の領域と、リダイレクトした仮想APイメージ110上の保存データB404の領域との対応関係を記憶しておく。その後、仮想AP111またはゲストOS105上の任意のモジュールが、前記仮想HDD109上の保存データB401に対して読み込み・書き込み処理を行った場合、仮想AP化モジュール106は、仮想APイメージ110上の保存データB404の領域にリダイレクトして読み込み・書き込みを行わせる。以上により、仮想APイメージ110を仮想HDD109から物理HDDへバックアップすることにより、アプリケーションのデータをゲストOSのイメージファイルから分離することが可能となる。よって、個々の仮想マシン上で使用される各ゲストOSのイメージファイルの管理が不要となりOSイメージの管理が容易になる。   First, it is assumed that the virtual AP 111 attempts to write the stored data B (s400). The virtual AP 111 attempts to write to the area of the stored data B401 on the virtual HDD 109 (s402). However, in actuality, the virtual AP conversion module 106 redirects and writes to the area of the storage data B404 on the virtual AP image 110 (s403). At this time, the virtual AP conversion module 106 stores the correspondence relationship between the area of the stored data B401 on the virtual HDD where the data is originally stored and the area of the stored data B404 on the redirected virtual AP image 110. Thereafter, when an arbitrary module on the virtual AP 111 or the guest OS 105 performs read / write processing on the storage data B 401 on the virtual HDD 109, the virtual AP module 106 stores the storage data B 404 on the virtual AP image 110. Redirect to this area to read / write. As described above, by backing up the virtual AP image 110 from the virtual HDD 109 to the physical HDD, the application data can be separated from the image file of the guest OS. Therefore, management of the image file of each guest OS used on each virtual machine becomes unnecessary, and management of the OS image becomes easy.

図5と図6は、ゲストOSのアップデートとそのフローを示している。   5 and 6 show a guest OS update and its flow.

ゲストOSをアップデートする必要が生じた場合、仮想マシン管理モジュール102は仮想マシン104に停止命令を出すが、仮想マシン104上では停止する前に、仮想APBUモジュール107が仮想APイメージ110を物理HDD112上にバックアップする(s500)。その後、仮想マシン104を停止する(s501)。これにより、仮想マシン104上で動作するアプリケーション等の任意のモジュールに関連するデータが全て物理112上にコピーされたことになる。   When the guest OS needs to be updated, the virtual machine management module 102 issues a stop command to the virtual machine 104, but before stopping on the virtual machine 104, the virtual APBU module 107 places the virtual AP image 110 on the physical HDD 112. Backup to (s500). Thereafter, the virtual machine 104 is stopped (s501). As a result, all data related to an arbitrary module such as an application running on the virtual machine 104 is copied onto the physical 112.

次に、アップデートモジュール103は、物理HDD112上に保存されているマスターゲストOSイメージ113のアップデート処理を行う(s502)。マスターゲストOSイメージ113のアップデートの方法に関しては、任意の仮想マシン上にマスターゲストOSイメージ113をマウントして、アップデートを行う方法等が挙げられる。マスターゲストOSイメージ113のアップデートが終了したら、アップデート済みのマスターゲストOSイメージ113でゲストOSイメージ114を上書きする(s503)。その後、仮想マシン管理モジュール102は、仮想マシン104にゲストOSイメージ114をマウントし起動させる(s504)。   Next, the update module 103 performs an update process for the master guest OS image 113 stored on the physical HDD 112 (s502). As a method for updating the master guest OS image 113, there is a method in which the master guest OS image 113 is mounted on an arbitrary virtual machine and updated. When the update of the master guest OS image 113 is completed, the guest OS image 114 is overwritten with the updated master guest OS image 113 (s503). Thereafter, the virtual machine management module 102 mounts and activates the guest OS image 114 on the virtual machine 104 (s504).

起動後、仮想APDLモジュール108は、物理HDD112上にバックアップされている仮想APイメージ115を仮想HDD109上にダウンロードし、仮想APイメージ110として配置する(s505)。仮想APイメージ110のダウンロード後、ゲストOS105は、仮想アプリケーション111の起動に必要な実行ファイル、ドライバ、データ等をメモリ上に配置してアプリケーションを起動する(s506)。この際、ゲストOS105は、仮想HDD109上の任意の場所へ実行ファイル、ドライバ、データの読み込みを試みるが、仮想AP化モジュール106のリダイレクト機能により、仮想HDD109上の仮想APイメージ110から読み込みが行われ、メモリ上に配置される。以上により、ゲストOSのアップデートが完了する。   After startup, the virtual APDL module 108 downloads the virtual AP image 115 backed up on the physical HDD 112 onto the virtual HDD 109 and arranges it as the virtual AP image 110 (s505). After downloading the virtual AP image 110, the guest OS 105 places an execution file, driver, data, and the like necessary for starting the virtual application 111 on the memory and starts the application (s506). At this time, the guest OS 105 tries to read the execution file, driver, and data to an arbitrary location on the virtual HDD 109, but is read from the virtual AP image 110 on the virtual HDD 109 by the redirect function of the virtual AP conversion module 106. Arranged on the memory. Thus, the update of the guest OS is completed.

本発明の実施形態のシステム構成図System configuration diagram of an embodiment of the present invention マスターゲストOSイメージ作成フロー図Master guest OS image creation flow chart APインストール時におけるAPデータの分離(AP仮想化)図AP data separation (AP virtualization) diagram during AP installation 仮想AP化モジュール及び仮想APイメージの使用例の図Illustration of usage example of virtual AP module and virtual AP image 本発明におけるゲストOSのアップデート図Update diagram of guest OS in the present invention 本発明におけるゲストOSのアップデートフロー図Guest OS update flowchart in the present invention

符号の説明Explanation of symbols

100…仮想マシン管理サーバ、101…ホストOS、102…仮想マシン管理モジュール、103…アップデートモジュール、104…仮想マシン、105…ゲストOS、106…仮想AP化モジュール、107…仮想APBUモジュール、108仮想APDLモジュール、109…仮想HDD、110…仮想APイメージ、111…仮想AP、112…物理HDD、113…マスターゲストOSイメージ、114…ゲストOSイメージ。   DESCRIPTION OF SYMBOLS 100 ... Virtual machine management server, 101 ... Host OS, 102 ... Virtual machine management module, 103 ... Update module, 104 ... Virtual machine, 105 ... Guest OS, 106 ... Virtual AP conversion module, 107 ... Virtual APBU module, 108 Virtual APDL Module 109 109 virtual HDD 110 virtual AP image 111 virtual AP 112 physical HDD 113 master guest OS image 114 guest OS image

Claims (1)

複数の仮想マシンが動作する仮想マシンサーバにおいて、それら複数の仮想マシンを管理する仮想マシン管理システムであって、
前記各仮想マシン毎に、その仮想マシン上で動作するゲストOSが管理する仮想ハードディスク上に仮想APイメージファイルを作成する手段と、
任意の仮想マシン上で動作する任意のモジュールが、その仮想マシン上で動作するゲストOSが管理する仮想ハードディスク上の任意の領域に対して、任意のデータの書き込みまたは読み込みの処理を試みた場合に、該書き込みまたは読み込みが指示された領域から、前記仮想ハードディスク上に存在する仮想APイメージファイル上の所定の領域にリダイレクトを行い、書き込みまたは読み込み先を変更して書き込みまたは読み込みを実行することにより、前記任意のデータを前記仮想APイメージファイルに分離する手段と、
前記仮想APイメージファイルを、前記仮想ハードディスクから、前記仮想マシンサーバ上のホストOSが管理する物理ハードディスク上へ、バックアップする手段と、
前記物理ハードディスク上の前記仮想APイメージファイルを、前記仮想ハードディスク上にダウンロードする手段とを備え、
前記任意の仮想マシン上で動作するモジュールに関連するデータを前記ゲストOSのイメージファイルから分離することにより、前記ゲストOSのイメージファイルを一元的に扱うことを可能にしたことを特徴とする仮想マシン管理システム。
In a virtual machine server on which a plurality of virtual machines operate, a virtual machine management system that manages the plurality of virtual machines,
Means for creating a virtual AP image file on a virtual hard disk managed by a guest OS operating on the virtual machine for each virtual machine;
When an arbitrary module operating on an arbitrary virtual machine attempts to write or read arbitrary data to an arbitrary area on the virtual hard disk managed by the guest OS operating on the virtual machine , By redirecting from the area where writing or reading is instructed to a predetermined area on the virtual AP image file existing on the virtual hard disk, by changing the writing or reading destination and executing writing or reading, Means for separating the arbitrary data into the virtual AP image file;
Means for backing up the virtual AP image file from the virtual hard disk to a physical hard disk managed by a host OS on the virtual machine server;
Means for downloading the virtual AP image file on the physical hard disk onto the virtual hard disk,
A virtual machine characterized in that the guest OS image file can be handled in a unified manner by separating data related to a module operating on the arbitrary virtual machine from the guest OS image file. Management system.
JP2006263551A 2006-09-27 2006-09-27 Virtual machine management system Pending JP2008084029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006263551A JP2008084029A (en) 2006-09-27 2006-09-27 Virtual machine management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006263551A JP2008084029A (en) 2006-09-27 2006-09-27 Virtual machine management system

Publications (1)

Publication Number Publication Date
JP2008084029A true JP2008084029A (en) 2008-04-10

Family

ID=39354842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006263551A Pending JP2008084029A (en) 2006-09-27 2006-09-27 Virtual machine management system

Country Status (1)

Country Link
JP (1) JP2008084029A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010108260A (en) * 2008-10-30 2010-05-13 Fujitsu Ltd Virtual machine system, management method thereof, program and recording medium
JP2010257429A (en) * 2009-04-28 2010-11-11 Toshiba Corp Computing machine
JP2011501270A (en) * 2007-10-12 2011-01-06 マイクロソフト コーポレーション Managing updates to create virtual machine clones
JP2011210151A (en) * 2010-03-30 2011-10-20 Hitachi Solutions Ltd Server device, method for controlling information processing system, and program
CN101727331B (en) * 2008-10-24 2013-03-20 国际商业机器公司 Method and equipment for upgrading client operating system of active virtual machine
WO2013073029A1 (en) * 2011-11-16 2013-05-23 富士通株式会社 Information provision device, information provision method, and information provision program
US8656126B2 (en) 2010-09-30 2014-02-18 International Business Machines Corporation Managing snapshots of virtual server
JP2014203234A (en) * 2013-04-04 2014-10-27 日本電気株式会社 Virtual machine management method and device
JP2015038644A (en) * 2010-06-30 2015-02-26 株式会社東芝 Computer and method of updating virtual machine
JP2015149090A (en) * 2015-04-02 2015-08-20 株式会社日立製作所 management computer
WO2017014578A1 (en) * 2015-07-21 2017-01-26 삼성전자 주식회사 Method and device for sharing disk image between operation systems
KR20180098842A (en) * 2017-02-27 2018-09-05 한국전자통신연구원 Apparatus and method for updating software on the virtualized environment

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011501270A (en) * 2007-10-12 2011-01-06 マイクロソフト コーポレーション Managing updates to create virtual machine clones
US10114630B2 (en) 2007-10-12 2018-10-30 Microsoft Technology Licensing, Llc Management of software and operating system updates required for the process of creating a virtual machine facsimile of an existing physical or virtual machine
CN101727331B (en) * 2008-10-24 2013-03-20 国际商业机器公司 Method and equipment for upgrading client operating system of active virtual machine
JP2010108260A (en) * 2008-10-30 2010-05-13 Fujitsu Ltd Virtual machine system, management method thereof, program and recording medium
JP2010257429A (en) * 2009-04-28 2010-11-11 Toshiba Corp Computing machine
JP2011210151A (en) * 2010-03-30 2011-10-20 Hitachi Solutions Ltd Server device, method for controlling information processing system, and program
JP2015038644A (en) * 2010-06-30 2015-02-26 株式会社東芝 Computer and method of updating virtual machine
US8656126B2 (en) 2010-09-30 2014-02-18 International Business Machines Corporation Managing snapshots of virtual server
WO2013073029A1 (en) * 2011-11-16 2013-05-23 富士通株式会社 Information provision device, information provision method, and information provision program
JPWO2013073029A1 (en) * 2011-11-16 2015-04-02 富士通株式会社 Information providing apparatus, method, and program
US9756145B2 (en) 2011-11-16 2017-09-05 Fujitsu Limited Information providing apparatus, information providing method, and computer product
JP2014203234A (en) * 2013-04-04 2014-10-27 日本電気株式会社 Virtual machine management method and device
JP2015149090A (en) * 2015-04-02 2015-08-20 株式会社日立製作所 management computer
WO2017014578A1 (en) * 2015-07-21 2017-01-26 삼성전자 주식회사 Method and device for sharing disk image between operation systems
KR20170011071A (en) * 2015-07-21 2017-02-02 삼성전자주식회사 Method and device for sharing a disk image between operating systems
US10621017B2 (en) 2015-07-21 2020-04-14 Samsung Electronics Co., Ltd. Method and device for sharing a disk image between operating systems
KR102322033B1 (en) 2015-07-21 2021-11-04 삼성전자주식회사 Method and device for sharing a disk image between operating systems
KR20180098842A (en) * 2017-02-27 2018-09-05 한국전자통신연구원 Apparatus and method for updating software on the virtualized environment
KR101954623B1 (en) * 2017-02-27 2019-03-06 한국전자통신연구원 Apparatus and method for updating software on the virtualized environment
US10318275B2 (en) 2017-02-27 2019-06-11 Electronics And Telecommunications Research Institute Software update apparatus and method in virtualized environment

Similar Documents

Publication Publication Date Title
JP2008084029A (en) Virtual machine management system
CN102402446B (en) Method and device for installing application software
US8347137B1 (en) System and method for bare metal restore of a computer over a network
US8839228B2 (en) System and method for updating an offline virtual machine
US8489552B1 (en) Generic granular restore of application data from a volume image backup
US10481984B1 (en) Backup of virtual machines from storage snapshot
JP5026509B2 (en) Converting a machine to a virtual machine
US10606800B1 (en) Policy-based layered filesystem management
US8381231B2 (en) Deployment and management of virtual containers
JP5649184B2 (en) Method, computer program and system for managing multiple software images by relocation of boot blocks
US8543797B1 (en) Managed desktop system
CN102591675B (en) Method and system for management of multiple software images with shared memory blocks
US20120144391A1 (en) Provisioning a virtual machine
WO2010035596A1 (en) Firmware update device and method
US20110208929A1 (en) In-place virtualization during operating system installation
WO2019119850A1 (en) Application software deployment method and device, and virtual machine
JP6072352B2 (en) Disk distribution system
JP5728812B2 (en) Distributed information processing system and distributed storage system
US9846621B1 (en) Disaster recovery—multiple restore options and automatic management of restored computing devices
JP2010134941A (en) Method and system for creating operating system image on target medium, and recovery medium
MX2008014860A (en) Updating virtual machine with patch or the like.
US9619340B1 (en) Disaster recovery on dissimilar hardware
KR101835431B1 (en) Data update method of containers in virtual system and apparatus thereof
KR102423056B1 (en) Method and system for swapping booting disk
CN100547550C (en) Install and be written into the system and method for installation system supervisory routine behind the operating system of user