JP5100883B2 - Computer and computer control method - Google Patents
Computer and computer control method Download PDFInfo
- Publication number
- JP5100883B2 JP5100883B2 JP2011260678A JP2011260678A JP5100883B2 JP 5100883 B2 JP5100883 B2 JP 5100883B2 JP 2011260678 A JP2011260678 A JP 2011260678A JP 2011260678 A JP2011260678 A JP 2011260678A JP 5100883 B2 JP5100883 B2 JP 5100883B2
- Authority
- JP
- Japan
- Prior art keywords
- virtual
- virtual machine
- storage file
- update program
- update
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- Stored Programmes (AREA)
Description
本発明の実施形態は、仮想化マシンが実行される計算機および計算機の制御方法に関する。 Embodiments described herein relate generally to a computer on which a virtual machine is executed and a computer control method.
従来は、ACLを設定することで、“C:\”をユーザ権限では書き込み禁止にすることで、“C:\Users”以外にはファイルを保存できないようにしていた。 Conventionally, by setting ACL, the writing of “C: \” is prohibited by the user authority so that files other than “C: \ Users” cannot be saved.
しかし、ユーザが管理者権限を持っている場合には、書き込みを禁止にできない。また、ユーザが管理者権限を持っていない場合でも、書き込めるフォルダが存在する。また、リバース・ポイント(ジャンクション・ポイント)等を使用している場合書き込みができてしまう。 However, if the user has administrator authority, writing cannot be prohibited. Even if the user does not have administrator authority, there is a folder that can be written. In addition, when a reverse point (junction point) or the like is used, writing can be performed.
特定のフォルダのみにデータを書き込みできるように設定しても、管理者権限を持っていると書き込みを禁止することができなかった。 Even if it was set so that data could be written only to a specific folder, writing could not be prohibited if it had administrator privileges.
本発明の目的は、権限に係わらずにユーザが特定のフォルダのみにデータを保存することが可能な計算機および計算機の制御方法を提供することにある。 An object of the present invention is to provide a computer and a computer control method that allow a user to save data only in a specific folder regardless of authority.
実施形態に係わる計算機は、仮想マシンが動作するように設定された計算機であって、設定手段と、確認手段と、削除手段と、起動手段と、更新手段とを具備する。設定手段は、仮想マシン内で動作するオペレーティングシステムおよび/またはアプリケーションを更新するための更新プログラムがある場合に、パッチ適用モードフラグを設定する。確認手段は、前記仮想マシンの終了時に前記パッチ適用モードフラグの有無を確認する。削除手段は、前記パッチ適用モードフラグが設定されていない場合に、前記仮想マシンに割り当てられている変更差分仮想ストレージファイルから構成される仮想ストレージ内のデータを削除する。起動手段は、前記パッチ適用モードフラグが設定されている場合に、前記仮想マシンを実行するための基本仮想ストレージファイルと、前記仮想マシン内で実行される前記オペレーティングシステムおよび/または前記アプリケーションを更新するための前記基本仮想ストレージファイル内のデータの変更箇所と変更データとを示す差分情報を含む更新差分仮想ストレージファイルとを用いて前記仮想マシンを起動する。更新手段は、前記仮想マシンの起動後に前記パッチ適用モードフラグが設定されている場合に、前記更新プログラムによって前記オペレーティングシステムおよび/または前記アプリケーションを更新した後に、前記仮想マシンを終了させる。 The computer according to the embodiment is a computer set so that a virtual machine operates, and includes a setting unit, a confirmation unit, a deletion unit, an activation unit, and an update unit. The setting means sets a patch application mode flag when there is an update program for updating the operating system and / or application operating in the virtual machine. The confirmation means confirms the presence / absence of the patch application mode flag when the virtual machine is terminated. The deletion unit deletes data in the virtual storage configured from the change difference virtual storage file assigned to the virtual machine when the patch application mode flag is not set. The booting unit updates the basic virtual storage file for executing the virtual machine and the operating system and / or the application executed in the virtual machine when the patch application mode flag is set. The virtual machine is activated using an update difference virtual storage file including difference information indicating the data change location and the change data in the basic virtual storage file. The update unit terminates the virtual machine after updating the operating system and / or the application by the update program when the patch application mode flag is set after the virtual machine is activated.
以下、実施の形態について図面を参照して説明する。 Hereinafter, embodiments will be described with reference to the drawings.
(第1の実施形態)
図1は、第1の実施形態に係わるコンピュータシステムの構成を示すブロック図である。
オフィス内のオフィスネットワーク30に、WSUSサーバ10、管理サーバ11、および複数台のクライアントコンピュータ201〜20n等が接続されている。オフィスネットワーク30は、ゲートウェイ40を介して外部のネットワーク60に接続されている。外部のネットワーク60には更新プログラム・カタログファイル配布サーバ41および更新プログラム配布サーバ42が接続されている。
(First embodiment)
FIG. 1 is a block diagram illustrating a configuration of a computer system according to the first embodiment.
A WSUS server 10, a management server 11, and a plurality of
WSUSサーバ10は、定期的(例えば1日1回)に更新プログラム・カタログファイル配布サーバ41にアクセスし、更新プログラム・カタログファイル配布サーバ41から更新プログラム・カタログファイルを取得して、更新プログラム・カタログファイルを自機が有する記憶装置に格納する。更新プログラム・カタログファイルには、更新プログラムを取得するための情報が格納されている。 The WSUS server 10 accesses the update program / catalog file distribution server 41 periodically (for example, once a day), acquires the update program / catalog file from the update program / catalog file distribution server 41, and updates the program / catalog. Store the file in the storage device of the device itself. The update program / catalog file stores information for acquiring the update program.
更新プログラム・カタログファイル配布サーバ41および更新プログラム配布サーバ42は、マイクロソフト社によって運営されている。WindowsやMicrosoft Officeといったマイクロソフト社の製品の更新プログラムがリリースされると、マイクロソフト社は、更新プログラム・カタログファイルを更新する。更新プログラム配布サーバ42は更新プログラム・カタログファイルに登録されている更新プログラムを配布するために設置されている。 The update program / catalog file distribution server 41 and the update program distribution server 42 are operated by Microsoft Corporation. When an update program for a Microsoft product such as Windows or Microsoft Office is released, Microsoft updates the update program catalog file. The update program distribution server 42 is installed to distribute update programs registered in the update program / catalog file.
クライアントコンピュータ20(201〜20n)は、WSUSサーバ10から更新プログラム・カタログファイルが更新されると、新たな更新プログラム・カタログファイルを取得する。そして、取得した更新プログラム・カタログファイルに登録されている更新プログラムを更新プログラム配布サーバ42から取得し、更新プログラムを用いてオペレーティングシステムまたはアプリケーションプログラムのコードを修正する。 When the update program / catalog file is updated from the WSUS server 10, the client computer 20 (201 to 20n) acquires a new update program / catalog file. The update program registered in the acquired update program / catalog file is acquired from the update program distribution server 42, and the code of the operating system or application program is corrected using the update program.
また、管理サーバ11には、クライアントコンピュータ20によって仮想マシンを実行するためのイメージファイルが格納されている。クライアントコンピュータ20は、起動時に管理サーバからイメージファイルを管理サーバ11から取得することによって、仮想マシンを実行する。仮想マシン内で実行されるオペレーティングシステムは、例えばマイクロソフト社製のWindowsが動作する。また、Windows上でオフィスアプリケーションプログラムとしてMicrosoft Officeが動作する。 In addition, the management server 11 stores an image file for executing a virtual machine by the client computer 20. The client computer 20 executes the virtual machine by acquiring an image file from the management server 11 at the time of startup. As an operating system executed in the virtual machine, for example, Windows made by Microsoft Corporation operates. Also, Microsoft Office operates as an office application program on Windows.
まず、図2を参照して、第1の実施形態に係るコンピュータの構成について説明する。コンピュータ20(201、…、20n)には、例えば、XEN,VMWAREなどで提供される仮想化技術(Virtual Monitor)を実行する環境が整えられている。 First, the configuration of the computer according to the first embodiment will be described with reference to FIG. The computer 20 (201,..., 20n) has an environment for executing a virtualization technology (Virtual Monitor) provided by, for example, XEN, VMWARE, or the like.
コンピュータ20は、ハードウェア層(計算資源)101、仮想化ソフトウェア102、ユーザ用仮想マシン110等を有する。
The computer 20 includes a hardware layer (computation resource) 101,
ハードウェア層101は、ディスプレイ、ハードディスクドライブ(HDD)、ネットワークインターフェスカード、キーボード、およびマウス等を有する。
The
仮想化ソフトウェア102は、ハードウェア層101を管理し、仮想マシン110に対してリソース割り当てを行う。また仮想化ソフトウェア102は、ハードウェア層(計算資源)11を論理的に複数に分割して各仮想マシンを割り当て、各仮想マシンの実行スケジュールと仮想マシンからのI/O要求をハードウェア層101へ振り分ける。
The
ユーザ用仮想マシン110内では、オペレーティングシステム(OS)111、Windowsサービス112、アプリケーション(APP)113等が動作する。オペレーティングシステム111は、ユーザが一般的に使用する環境を提供するためのオペレーティングシステムである。一般的には、オペレーティングシステム111としては、ウインドウズ(登録商標)系のオペレーティングシステムが用いられる。
In the user
Windowsサービス112とは、ユーザが意識することなく特定の機能を実行する。Windowsサービス112はオペレーティングシステム111のブート時に自動適時に起動され、オペレーティングシステムの動作中はバックグラウンドで常時動作する。アプリケーション113は、オペレーティングシステム111上で動作するアプリケーションソフトウェアである。
The Windows
コンピュータ20内の仮想マシンは、イメージファイルとして仮想ハードディスク(VHD(Virtual Hard Disk))を使用する。仮想ハードディスクの使用は、現在マイクロソフト社によって公開されている。 The virtual machine in the computer 20 uses a virtual hard disk (VHD (Virtual Hard Disk)) as an image file. The use of virtual hard disks is now published by Microsoft.
仮想化ソフトウェア102は、仮想ハードディスクファイルを管理しているが、仮想マシン110内で実行されるオペレーティングシステムでは図3に示すように管理される。図3に示すように、オペレーティングシステムは、システムファイルが格納されているディスク0およびユーザデータが格納されるディスク1を管理する。
The
なお、ディスク0は、図4に示すように、基本仮想ハードディスクファイル401、パッチ差分仮想ハードディスクファイル402、およびPC変更差分仮想ハードディスクファイル403の三つの仮想ハードディスクファイルによって構成される仮想ハードディスクである。また、ディスク1は、ユーザデータ仮想ハードディスクファイル411によって構成される仮想ハードディスクである。
As shown in FIG. 4, the disk 0 is a virtual hard disk composed of three virtual hard disk files: a basic virtual
基本仮想ハードディスクファイル401は、管理サーバによって作成された仮想ハードディスクファイルであり、オペレーティングシステムやアプリケーションがインストールされている。
The basic virtual
パッチ差分仮想ハードディスクファイル402は、基本仮想ハードディスクファイル401からの差分を保持したものであり、基本仮想ハードディスクファイル401から構成された仮想ハードディスクに更新プログラムを適用した時の差分情報を保持している。差分情報は、仮想ハードディスクファイルによって構成される仮想ハードディスクの各セクタについてデータが変更されているかを示す変更情報、データが変更されているセクタに格納されるデータとを含む。
The patch difference virtual
PC変更差分仮想ハードディスクファイル403は、基本仮想ハードディスクファイル401およびパッチ差分仮想ハードディスクファイル402から構成される仮想ハードディスクに対する差分情報を保持している。なお、仮想マシンのシャットダウン時にPC変更差分仮想ハードディスクファイル403内の変更情報を全て変更無しにし、変更データを削除する。
The PC change difference virtual
ユーザデータ仮想ハードディスクファイル411によって構成される仮想ハードディスク(ディスク1)は、ユーザデータ仮想ハードディスクファイル411によって構成される仮想ハードディスク(ディスク1)は、Diskpart.exeによって“C:\Users”へマウントされている。そのため、基本仮想ハードディスクファイル401を含む仮想ディスクファイルによって、仮想マシンが起動する度に“C:\Users”内のデータにアクセスすることができる。 The virtual hard disk (disk 1) configured by the user data virtual hard disk file 411 is mounted on “C: \ Users” by Diskpart.exe. Yes. Therefore, the virtual disk file including the basic virtual hard disk file 401 can access data in “C: \ Users” every time the virtual machine is started.
なお、基本仮想ハードディスクファイル401、パッチ差分仮想ハードディスクファイル402、PC変更差分仮想ハードディスクファイル403、およびユーザデータ仮想ハードディスクファイル411は管理サーバ11に格納されている。仮想マシン110を起動する場合に、なお、基本仮想ハードディスクファイル401、パッチ差分仮想ハードディスクファイル402、PC変更差分仮想ハードディスクファイル403、およびユーザデータ仮想ハードディスクファイル411は、管理サーバ11からコンピュータ20には配信される。
The basic virtual
Windowsサービス112は、仮想ハードディスクを構成する仮想ハードディスクファイルの配信前にProfileListレジストリのうち、“S−1−5−21”で始まるデータを“C:\Users”に保存しておく。ProfileListレジストリは以下のパスである。
The
HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList
次に、配信後のWindowsサービス112の処理を図5のフローチャートを参照して説明する。
HKLM \ Software \ Microsoft \ Windows NT \ CurrentVersion \ ProfileList
Next, processing of the
Windowsサービス112は、配信後の“C:\Users”を一旦空にした後(ステップ501)、ディスク1を“C:\Users”にマウントし(ステップ502)、ProfileListレジストリを復元する。その後、C:\Usersだけでなく、ProfileListレジストリを復元することで(ステップ503)、このコンピュータに過去にログオンしたことがあるユーザは、再度ログオン可能となる。
The
“C:\Users”つまり、ユーザデータ仮想ディスクファイルの内容は、仮想化ソフトウェアが仮想マシンのシャットダウン時に管理サーバに保存することで、ユーザがコンピュータを社外に持ち出し時にコンピュータを紛失しても、紛失したコンピュータに残されたデータを復元することができる。 "C: \ Users" In other words, the contents of the user data virtual disk file are saved in the management server when the virtual machine shuts down the virtual machine, so if the user loses the computer when taking it outside the company, it is lost You can restore the data left on the computer.
次に、起動後の仮想マシン110内で実行される処理について図6のフローチャートを参照して説明する。
Next, processing executed in the
仮想マシン110内で実行されるWindowsサービス112は、パッチ適用モードフラグがあるかを判定する(ステップ601)。仮想マシン内で実行されるWindowsサービス112は、例えば“C:\Update”ファイルが存在すると判定されと場合にパッチ適用フラグモードがあると判定する。
The
パッチ適用フラグモードがセットされていると判定した場合(ステップ601のYes)、Windowsサービス112は、WSUSサーバ10から新規更新プログラムをダウンロードし、新規更新プログラムをインストールすることによってオペレーティングシステムおよび/またはアプリケーションプログラムにパッチを当てる(ステップ602)。その後、Windowsサービス112は仮想マシン内で動作するオペレーティングシステムをシャットダウンし、仮想マシン110が終了する(ステップ603)。
If it is determined that the patch application flag mode is set (Yes in step 601), the
パッチ適用フラグモードがセットされていないと判定された場合(ステップ601のNo)、Windowsサービス112は、WUA(Windows Update Agent) APIを使用してWSUSサーバ10に新規更新プログラムがあるかを問い合わせる。問い合わせ結果に応じて、Windowsサービス112は、新規更新プログラムがあるかを判定する(ステップ604)。新規更新プログラムがあると判定された場合(ステップ604のYes)、Windowsサービス112は、パッチ適用モードフラグを設定する(ステップ605)。Windowsサービス112は、例えば“C:\Update”ファイルを作成することによって、パッチ適用モードフラグをセットする。
When it is determined that the patch application flag mode is not set (No in step 601), the
次に、仮想マシン110の起動時および終了時の仮想化ソフトウェア102による処理の手順を図7のフローチャートを参照して説明する。
通常、仮想化ソフトウェア102は、基本仮想ハードディスクファイル401、パッチ差分仮想ハードディスクファイル402、およびPC変更差分仮想ハードディスクファイル403によって構成される仮想ハードディスク、並びにユーザデータ仮想ハードディスクファイル411によって構成される仮想ハードディスクによって仮想マシンを起動する(ステップ701)。
Next, a procedure of processing performed by the
Usually, the
起動後、仮想マシン110の終了時に(ステップ702)、仮想化ソフトウェア102は、パッチ適用モードフラグがセットされているかを判定する(ステップ703)。仮想化ソフトウェア102は、例えば、PC変更差分仮想ハードディスクファイル403をマウントして、“C:\Update”ファイルが存在するか確認することによって、パッチ適用モードフラグがセットされているかを判定する。
After startup, when the
パッチ適用モードフラグがセットされていると判定した場合(ステップ703のYes)、仮想化ソフトウェア102は、基本仮想ハードディスクファイル401、およびパッチ差分仮想ハードディスクファイル402によって構成される仮想ハードディスクによって仮想マシンを起動する(ステップ705)。この時、仮想化ソフトウェア102は、ユーザデータ仮想ハードディスクファイル411によって構成される仮想ハードディスクを仮想マシン110にアタッチしない。ユーザデータ仮想ハードディスクファイル411がアタッチされていないため、“C:\Users”内は空になっており、誤ってユーザがログオンすることがない。
If it is determined that the patch application mode flag is set (Yes in step 703), the
パッチ適用フラグモードがセットされていないと判定した場合(ステップ703のNo)、PC変更差分仮想ハードディスクファイル403内の各セクタに対する変更有無情報を全て変更無しにすると共に、PC変更差分仮想ハードディスクファイル403内の変更データを削除する(ステップ704)。 When it is determined that the patch application flag mode is not set (No in step 703), all the change presence / absence information for each sector in the PC change difference virtual hard disk file 403 is not changed, and the PC change difference virtual hard disk file 403 is changed. The change data is deleted (step 704).
以上が仮想マシン110の起動時および終了時の仮想化ソフトウェア102による処理する動作である。
The above is the operation performed by the
仮想マシン110の終了時に、基本仮想ハードディスクファイル401に対するパッチの適用による変更分をパッチ差分仮想ハードディスクファイル402に格納し、不要なPC変更差分仮想ハードディスクファイル403を廃棄する。このため、決められた場所以外への変更分を削除できるようになる。また、更新プログラム適用モードを設けることで、基本仮想ハードディスクファイル401に対する更新プログラムの変更分は保存できるようになった。
When the
(第2の実施形態)
第1の実施形態では、第1の実施形態ではWSUSサーバ10が存在する場合を想定していた。更新プログラムには、使用許諾が必要なものがあり、WSUSサーバ10で管理者が使用許諾に同意した更新プログラムは、各コンピュータで使用許諾に同意する必要がない。
(Second Embodiment)
In the first embodiment, the case where the WSUS server 10 exists is assumed in the first embodiment. Some update programs require a license, and the update program that the administrator agrees to use with the WSUS server 10 does not need to be agreed with each computer.
第1の実施形態では、各コンピュータにおいて無人で更新プログラムのインストールを行うため、各コンピュータで使用許諾に同意することができない。そこで、WSUSサーバを使用している環境に限定した。 In the first embodiment, since the update program is installed unattended on each computer, it is impossible to agree to the license on each computer. Therefore, it is limited to the environment using the WSUS server.
しかし、WSUSサーバが導入されていない環境で、コンピュータ毎にMicrosoft UpdateまたはWindows Updateサイトから更新プログラムをインストールする環境でも対応可能とするためのWindowsサービス112の動作処理を図8のフローチャートを参照して説明する。
However, with reference to the flowchart of FIG. 8, the operation process of the
仮想マシン内で実行されるWindowsサービス112は、パッチ適用モードフラグがあるかを判定する(ステップ801)。仮想マシン内で実行されるWindowsサービス112は、“C:\Update”ファイルが存在すると判定された場合(ステップ601のYes)、Microsoft UpdateまたはWindows Updateサイトから新規更新プログラムをインストールする(ステップ802)。その後、Windowsサービス112は仮想マシン内で動作するオペレーティングシステムをシャットダウンする(ステップ803)。
The
“C:\Update”ファイルが存在しないと判定された場合(ステップ801のNo)、Windowsサービス112は、新規更新プログラムがあるかを問い合わせる。問合せの結果に応じて、Windowsサービス112は、新規更新プログラムがあるかを判定する(ステップ804)。新規更新プログラムがあると判定された場合(ステップ804のYes)、Windowsサービス112は、全ての更新プログラムに付属している使用許諾書をディスプレイに表示する(ステップ805)。Windowsサービス112は、全ての使用許諾書が同意されたかを判定する(ステップ806)。全て同意されたと判定された場合(ステップ806のYes)、“C:\Update”ファイルを作成することによって、パッチ適用モードフラグを設定する(ステップ805)。全て同意されていないと判定された場合(ステップ806のNo)、Windowsサービス112は、パッチ適用モードフラグを設定しないで、処理を終了する。
If: "C \Update" file is determined to not exist (No in step 801),
ユーザがコンピュータを操作している時点で、更新プログラムの使用許諾の同意を得ることで、WSUSサーバ10が導入されていない環境であっても、更新プログラムの自動インストールが可能になる。 When the user operates the computer and obtains the consent to use the update program, the update program can be automatically installed even in an environment where the WSUS server 10 is not installed.
(第3の実施形態)
基本仮想ハードディスクファイル401を作成して、コンピュータに配信している。しかし、基本仮想ハードディスクファイル401は、親ハードディスクファイルと差分ハードディスクファイルとの組み合わせた複数の仮想ハードディスクファイルによって構成しても良い。
(Third embodiment)
A basic virtual hard disk file 401 is created and distributed to a computer. However, the basic virtual hard disk file 401 may be composed of a plurality of virtual hard disk files that are a combination of the parent hard disk file and the differential hard disk file.
仮想ハードディスクファイルの、親仮想ハードディスクファイルと差分仮想ハードディスクファイルを許可することで、すでに親仮想ハードディスクファイルを保持している端末では、差分仮想ハードディスクファイルだけを配信することで、ネットワークおよびコンピュータの負荷が軽減される。 Of the virtual hard disk file, by allowing the parent virtual hard disk file and the differential virtual hard disk file, already in the terminal that holds the parent virtual hard disk file, by delivering only the difference between the virtual hard disk file, network and computer The load is reduced.
WSUSサーバ10が使用されていない環境において、図9に示すように示すように、ディスク2に更新プログラムリスト仮想ハードディスクファイル421によって構成される仮想ハードディスクを追加するようにしても良い。そして、ディスク2を追加した場合のWindowsサービス112の処理を図10のフローチャートを参照して説明する。
In an environment where the WSUS server 10 is not used, as shown in FIG. 9, a virtual hard disk constituted by the update program list virtual hard disk file 421 may be added to the disk 2. The processing of the
仮想マシン内で実行されるWindowsサービス112は、パッチ適用モードフラグがあるかを判定する(ステップ1001)。仮想マシン内で実行されるWindowsサービス112は、“C:\Update”ファイルが存在すると判定された場合(ステップ601のYes)、更新プログラムリスト仮想ハードディスクファイル421から、新規更新プログラムをインストールする(ステップ1002)。Windowsサービス112は、更新プログラムリストを削除し(ステップ1003)、仮想マシン内で動作するオペレーティングシステムをシャットダウンする(ステップ1004)。
The
“C:\Update”ファイルが存在しないと判定された場合(ステップ1001のNo)、Windowsサービス112は、新規更新プログラムがあるかを問い合わせる。問合せ結果に応じて、Windowsサービス112は、更新プログラムリストに載っていないまたは許諾の確認を行っていない新規更新プログラムがあるかを判定する(ステップ1005)。更新プログラムリストに載っていないまたは許諾の確認を行っていない新規更新プログラムがあると判定された場合(ステップ1004のYes)、Windowsサービス112は、インストールされておらず、且つ許諾の確認を行っていない新規更新プログラムから一つの新規更新プログラムを選択し、選択された新規更新プログラムに使用許諾書があるかを判定する(ステップ1006)。
When it is determined that the “C: \ Update” file does not exist (No in Step 1001), the
Windowsサービス112は、使用許諾書がないと判定された場合(ステップ1006のNo)、Windowsサービス112は、選択された新規更新プログラムを更新プログラムリストに追加する(ステップ1009)。使用許諾書があると判定された場合(ステップ1006のYes)、Windowsサービス112は、選択された新規更新プログラムの使用許諾書をディスプレイに表示する(ステップ1007)。ユーザが同意または非同意を選択した後、Windowsサービス112は、ユーザが同意を選択したかを判定する(ステップ1008)。同意したと判定された場合(ステップ1008のYes)、Windowsサービス112は、選択された新規更新プログラムを更新プログラムリストに追加する(ステップ1009)。
If it is determined that there is no license agreement (No in step 1006), the
ステップ1005において、更新プログラムリストに載っていないまたは許諾の確認を行っていない新規更新プログラムがないと判断された場合(ステップ1005のNo)、Windowsサービス112は、更新プログラムリスト内に適用更新プログラムがあるかを判定する(ステップ1010)。適用更新プログラムがルと判定された場合(ステップ1010のYes)、Windowsサービス112は、パッチ適用モードフラグを設定する(ステップ1011)。
In
更新プログラムリストは、新たにディスク2にファイルとして書き込まれる。更新プログラムリスト内には、以下のようにKB(knowledge base)番号を一行づつ書き込む。 The update program list is newly written as a file on the disk 2. In the update program list, a KB (knowledge base) number is written line by line as follows.
KBxxxxxx
KByyyyyy
…
パッチ適用モードでは、このファイルに記述されたKB番号の更新プログラムファイルのみダウンロードおよびインストールを行う。
KBxxxxxx
KByyyyyy
...
In the patch application mode, only the update program file having the KB number described in this file is downloaded and installed.
本実施形態の場合、更新プログラム毎に使用許諾の同意を得ることで、同意したものと同意不要なものだけをインストールすることができる。 In the case of the present embodiment, by obtaining consent for use permission for each update program, it is possible to install only what has been agreed and what does not require consent.
なお、本発明は上記実施形態そのままに限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で構成要素を変形して具体化できる。また、上記実施形態に開示されている複数の構成要素の適宜な組み合せにより種々の発明を形成できる。例えば、実施形態に示される全構成要素から幾つかの構成要素を削除してもよい。更に、異なる実施形態に亘る構成要素を適宜組み合せてもよい。 Note that the present invention is not limited to the above-described embodiment as it is, and can be embodied by modifying the constituent elements without departing from the scope of the invention in the implementation stage. Further, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the embodiment. For example, some components may be deleted from all the components shown in the embodiment. Furthermore, you may combine suitably the component covering different embodiment.
20…コンピュータ,102…仮想化ソフトウェア,110…仮想マシン,111…オペレーティングシステム,112…サービス,113…アプリケーション,401…基本仮想ハードディスクファイル,402…パッチ差分仮想ハードディスクファイル,403…PC変更差分仮想ハードディスクファイル,411…ユーザデータ仮想ハードディスクファイル,421…更新プログラムリスト仮想ハードディスクファイル。 DESCRIPTION OF SYMBOLS 20 ... Computer, 102 ... Virtualization software, 110 ... Virtual machine, 111 ... Operating system, 112 ... Service, 113 ... Application, 401 ... Basic virtual hard disk file, 402 ... Patch difference virtual hard disk file, 403 ... PC change difference virtual hard disk File, 411 ... user data virtual hard disk file, 421 ... update program list virtual hard disk file.
Claims (13)
仮想マシン内で動作するオペレーティングシステムおよび/またはアプリケーションを更新するための更新プログラムがある場合に、パッチ適用モードフラグを設定する設定手段と、
前記仮想マシンの終了時に前記パッチ適用モードフラグの有無を確認する確認手段と、
前記パッチ適用モードフラグが設定されていない場合に、前記仮想マシンに割り当てられている変更差分仮想ストレージファイルから構成される仮想ストレージ内のデータを削除する削除手段と、
前記パッチ適用モードフラグが設定されている場合に、前記仮想マシンを実行するための基本仮想ストレージファイルと、前記仮想マシン内で実行される前記オペレーティングシステムおよび/または前記アプリケーションを更新するための前記基本仮想ストレージファイル内のデータの変更箇所と変更データとを示す差分情報を含む更新差分仮想ストレージファイルとを用いて前記仮想マシンを起動する起動手段と、
前記仮想マシンの起動後に前記パッチ適用モードフラグが設定されている場合に、前記更新プログラムによって前記オペレーティングシステムおよび/または前記アプリケーションを更新した後に、前記仮想マシンを終了させる更新手段と
を具備する計算機。 A computer configured to run a virtual machine,
Setting means for setting a patch application mode flag when there is an update program for updating an operating system and / or an application operating in the virtual machine;
Confirmation means for confirming the presence or absence of the patch application mode flag at the end of the virtual machine;
A deletion unit that deletes data in the virtual storage configured from the change difference virtual storage file assigned to the virtual machine when the patch application mode flag is not set;
The basic virtual storage file for executing the virtual machine and the basic for updating the operating system and / or the application executed in the virtual machine when the patch application mode flag is set An activation unit that activates the virtual machine using an update difference virtual storage file including difference information indicating a change location and change data of the data in the virtual storage file;
A computer comprising: update means for terminating the virtual machine after the operating system and / or the application is updated by the update program when the patch application mode flag is set after the virtual machine is started.
請求項3に記載の計算機。 The setting means determines whether or not a license is agreed when the virtual hard disk file has the update program, and adds the information indicating the update program to the update program list when the license is agreed. 3. The computer according to 3.
仮想マシン内で実行されるオペレーティングシステムおよび/またはアプリケーションを更新するための更新プログラムがある場合に、前記仮想マシンを実行するため基本仮想ストレージファイルと、前記オペレーティングシステムおよび/または前記アプリケーションを更新するための前記基本仮想ストレージファイル内のデータの変更箇所と変更データとを示す差分情報を含む更新差分仮想ストレージファイルとを用いて前記仮想マシンを起動し、
前記更新プログラムがない場合に、前記基本仮想ストレージファイルと、前記更新差分仮想ストレージファイルと、前記基本仮想ストレージファイルおよび前記更新差分仮想ストレージファイルから構成される仮想ストレージに対する差分情報を保持する変更差分仮想ストレージファイルと、ユーザデータ仮想ストレージファイルとを用いて前記仮想マシンを起動する起動手段と、
前記仮想マシンの終了時、前記更新プログラムがない場合、前記変更差分仮想ストレージファイル内の各セクタに対する変更有無情報を全て変更無しにすると共に、前記変更差分仮想ストレージファイル内の変更データを削除する削除手段と
を具備する計算機。 A computer configured to run a virtual machine,
To update the base virtual storage file and the operating system and / or the application to run the virtual machine when there is an update program for updating the operating system and / or application running in the virtual machine The virtual machine is started using the update difference virtual storage file including the difference information indicating the change location and change data of the data in the basic virtual storage file,
A change difference virtual that holds difference information for the basic virtual storage file, the update difference virtual storage file, and virtual storage composed of the basic virtual storage file and the update difference virtual storage file when there is no update program Booting means for booting the virtual machine using a storage file and a user data virtual storage file;
At the time of termination of the virtual machine, if there is no update program, delete all change presence / absence information for each sector in the change difference virtual storage file and delete change data in the change difference virtual storage file And a computer.
前記仮想マシンの終了時に前記パッチ適用モードフラグの設定の有無を確認し、
前記パッチ適用モードフラグが設定されていない場合に、前記仮想マシンに割り当てられている変更差分仮想ストレージファイルから構成される仮想ストレージ内のデータを削除し、
前記パッチ適用モードフラグが設定されている場合に、前記仮想マシンを実行するための基本仮想ストレージファイルと、前記仮想マシン内で実行されるオペレーティングシステムおよび/またはアプリケーションを更新するための前記基本仮想ストレージファイル内のデータの変更箇所と変更データとを示す差分情報を含む更新差分仮想ストレージファイルとを用いて前記仮想マシンを起動し、
前記仮想マシンの起動後に前記パッチ適用モードフラグが設定されている場合に、前記更新プログラムによって前記オペレーティングシステムおよび/または前記アプリケーションを更新し、
前記オペレーティングシステムおよび/または前記アプリケーションが前記更新プログラムによって更新された場合に、前記仮想マシンを終了させる
計算機の制御方法。 Set the patching mode flag when there is an update to update the operating system and / or applications running in the virtual machine,
Check if the patch application mode flag is set at the end of the virtual machine,
When said patching mode flag is not set, and delete data in the virtual storage configured from the changed allocated to the virtual machine difference virtual your storage file,
When the patch application mode flag is set, a basic virtual storage file for executing the virtual machine and the basic virtual storage for updating an operating system and / or an application executed in the virtual machine The virtual machine is started using an update difference virtual storage file including difference information indicating the change location and change data of the data in the file,
When the patch application mode flag is set after the virtual machine is started, the operating system and / or the application is updated by the update program,
A computer control method for terminating a virtual machine when the operating system and / or the application is updated by the update program.
請求項8に記載の計算機の制御方法。 The computer control method according to claim 8, wherein when there is the update program in the virtual hard disk file, it is determined whether or not a license is agreed, and if it is agreed, the computer control method is added to the update program list.
データ保存用仮想ストレージファイルから構成される第2仮想ストレージを前記仮想マシンに割り当てる手段と、
前記仮想マシンの終了時に前記変更差分仮想ストレージファイル内に含まれる前記差分情報内の変更箇所を全て変更無しにすると共に、前記差分情報内の前記変更データを削除する削除手段と
を具備する計算機。 Difference information indicating a basic virtual storage file for executing a virtual machine and a data change location and changed data in the basic virtual storage file for updating an operating system and / or an application executed in the virtual machine An update difference virtual storage file including a change difference virtual storage file including a change difference virtual storage file including the basic virtual storage file and a data change location and change data in the update difference virtual storage file. Booting means for booting the virtual machine;
Means for allocating a second virtual storage composed of data storage virtual storage files to the virtual machine;
A computer comprising: deletion means for deleting all the changed portions in the difference information included in the changed difference virtual storage file at the end of the virtual machine and deleting the changed data in the difference information.
請求項10に記載の計算機。 The computer according to claim 10, wherein the booting unit boots the virtual machine using a third virtual storage composed of the basic virtual storage file and the update difference virtual storage file.
請求項11に記載の計算機。 Obtaining an update program for updating the operating system and / or application, updating the operating system and / or application by executing the update program, and updating the operating system and / or application before being updated The computer according to claim 11, further comprising a recording unit that records the changed part and changed data of the data of the operating system and / or the application recorded in the update difference virtual storage file.
請求項12に記載の計算機。 The computer according to claim 12, further comprising means for applying the update program when the user is inquired about the application of the update program and agrees to apply the update program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011260678A JP5100883B2 (en) | 2011-11-29 | 2011-11-29 | Computer and computer control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011260678A JP5100883B2 (en) | 2011-11-29 | 2011-11-29 | Computer and computer control method |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010150343 Division | 2010-06-30 | 2010-06-30 |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012069149A JP2012069149A (en) | 2012-04-05 |
JP5100883B2 true JP5100883B2 (en) | 2012-12-19 |
Family
ID=46166249
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011260678A Active JP5100883B2 (en) | 2011-11-29 | 2011-11-29 | Computer and computer control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5100883B2 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3018585A4 (en) * | 2013-07-02 | 2017-02-22 | Fujitsu Limited | Machine provision method, machine provision system, and machine provision program |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8291409B2 (en) * | 2006-05-22 | 2012-10-16 | Microsoft Corporation | Updating virtual machine with patch on host that does not have network access |
JP5446860B2 (en) * | 2007-03-27 | 2014-03-19 | 日本電気株式会社 | Virtual machine operation system, virtual machine operation method and program |
JP2009223787A (en) * | 2008-03-18 | 2009-10-01 | Hitachi Software Eng Co Ltd | Information processor and processing method, and program |
-
2011
- 2011-11-29 JP JP2011260678A patent/JP5100883B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012069149A (en) | 2012-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9229703B1 (en) | User controlled environment updates in server cluster | |
US8381231B2 (en) | Deployment and management of virtual containers | |
US9489266B2 (en) | System and method of storing backup image catalog | |
US8326449B2 (en) | Augmenting a virtual machine hosting environment from within a virtual machine | |
US8543797B1 (en) | Managed desktop system | |
JP5066613B2 (en) | Security management apparatus and method, and program | |
CN102402446B (en) | Method and device for installing application software | |
JP6749094B2 (en) | Container accommodation device, container creation method, and program | |
US9417870B2 (en) | Managing user access to alternative versions of a particular function of a software product from within a current version of the software product | |
US8347071B2 (en) | Converting virtual deployments to physical deployments to simplify management | |
US20090300599A1 (en) | Systems and methods of utilizing virtual machines to protect computer systems | |
US20120089972A1 (en) | Image Based Servicing Of A Virtual Machine | |
US20220156064A1 (en) | Out of band layer scrubbing | |
US9037843B2 (en) | Managing a target computing device | |
US11095505B1 (en) | User controlled environment updates in server cluster | |
JP2008084029A (en) | Virtual machine management system | |
US20160062757A1 (en) | Virtual appliance deployment | |
JP5092046B1 (en) | Information processing apparatus and program | |
US20120005677A1 (en) | Computing Machine and Method for Controlling Computing Machine | |
JP5100883B2 (en) | Computer and computer control method | |
JP6497157B2 (en) | Information management apparatus, information management method, information management program, data structure, and software asset management system | |
JP5439559B2 (en) | Security management apparatus and method, and program | |
von Oven et al. | Horizon Enterprise Edition | |
von Oven | Configuring Virtual Machine Options | |
JP2024510766A (en) | Secure deletion and replacement of virtual machine pools |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120126 |
|
A871 | Explanation of circumstances concerning accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A871 Effective date: 20120126 |
|
A975 | Report on accelerated examination |
Free format text: JAPANESE INTERMEDIATE CODE: A971005 Effective date: 20120208 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120228 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120501 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120529 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120730 |
|
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: 20120828 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120925 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151005 Year of fee payment: 3 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5100883 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20151005 Year of fee payment: 3 |
|
S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313111 Free format text: JAPANESE INTERMEDIATE CODE: R313114 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |