JP2008107966A - Computer system - Google Patents

Computer system Download PDF

Info

Publication number
JP2008107966A
JP2008107966A JP2006288636A JP2006288636A JP2008107966A JP 2008107966 A JP2008107966 A JP 2008107966A JP 2006288636 A JP2006288636 A JP 2006288636A JP 2006288636 A JP2006288636 A JP 2006288636A JP 2008107966 A JP2008107966 A JP 2008107966A
Authority
JP
Japan
Prior art keywords
computer
guest
execution environment
user
snapshot image
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
JP2006288636A
Other languages
Japanese (ja)
Inventor
Naoshi Suzuki
直志 鈴木
Kenji Matsubara
健二 松原
Yukiharu Yoshimura
行晴 吉村
Hiroki Kumahora
宏樹 熊洞
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 Ltd
Original Assignee
Hitachi 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 Ltd filed Critical Hitachi Ltd
Priority to JP2006288636A priority Critical patent/JP2008107966A/en
Publication of JP2008107966A publication Critical patent/JP2008107966A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To securely and efficiently provide user execution environment for processing a service request of a user. <P>SOLUTION: In this computer system, dynamic/static computer resource information and information about an execution environment snapshot image storing a state that a plurality of cooperative operating programs and a guest OS are started are stored and consolidated in a storage device. The guest OS having an application program for processing service according to the user request is loaded onto a computer from the storage device, and is dynamically allocated onto a host OS, and an environment for executing the application program on the guest OS is provided to the user. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、計算機システムに係り、特にユーザの要求に応じてサービス利用環境をセキュアに保ちながら仮想的な計算機資源を効率的に配分し、かつユーザの実行環境の管理を容易にする計算機システム及び計算機の制御方法に関する。   The present invention relates to a computer system, and in particular, a computer system that efficiently allocates virtual computer resources while keeping a service use environment secure according to a user's request, and facilitates management of a user's execution environment. The present invention relates to a computer control method.

近年、複数の分散されたホモジニアスな計算機をクラスタ管理ミドルウェアが管理するクラスタリングシステムにアプリケーションプログラムを搭載し、そのアプリケーションプログラムを多数のユーザが利用できるサービスが実用化されて来ている。また、複数の分散されたホモジニアスまたはヘテロニアスな計算機をグリッドミドルウェアが管理することで計算機資源を仮想化し、ユーザが計算機資源を意識することなく、かつセキュアにさまざまなアプリケーションプログラムをサービスとして利用するグリッドコンピューティングシステムと呼ばれるシステムが注目されている。   In recent years, a service in which an application program is installed in a clustering system in which a plurality of distributed homogeneous computers are managed by cluster management middleware and the application program can be used by many users has been put into practical use. In addition, grid middleware manages multiple distributed homogeneous or heterogeneous computers by virtualizing computer resources, and users can use various application programs securely as services without being aware of computer resources. A system called an operating system is drawing attention.

このシステム環境では、計算機に搭載された1つのOS(Operating System)上に複数のユーザ実行環境が構築される。つまり、異なるユーザのプロセスやデータは同じOS上で管理されることになる。そのため、例えば資本の異なる複数の企業ユーザが同じクラスタリングシステムまたはグリッドコンピューティングシステム上のサービスを利用する場合、相互のプロセスを参照でき、他の企業ユーザからアプリケーションプログラムでの処理内容の一部を知られてしまい、十分なセキュリティを確保することができないという問題が生じる。
また、前提とするOS条件の異なる複数のアプリケーションを1つの計算機で処理することが出来ないため、1つの計算機で処理できるサービスが制限され、計算機資源の利用が非効率になる。
In this system environment, a plurality of user execution environments are constructed on one OS (Operating System) mounted on the computer. That is, processes and data of different users are managed on the same OS. Therefore, for example, when multiple corporate users with different capital use services on the same clustering system or grid computing system, they can refer to each other's processes and know part of the processing contents in the application program from other corporate users. As a result, there arises a problem that sufficient security cannot be ensured.
In addition, since a plurality of applications having different preconditions of OS conditions cannot be processed by one computer, services that can be processed by one computer are limited, and the use of computer resources becomes inefficient.

この問題を解決する1つの方法として、最近、VMWare(R)、VirtualPC(R)、Xen(R)といった仮想化ソフトウェアを用いる方法が提唱されている。仮想化ソフトウェアは、計算機上のOSをホストOSとして、このホストOS上に複数のゲストOSを含む仮想化システムを構築するソフトウェア技術である。この技術により、1つのゲストOS上に1つのユーザ実行環境を構築することが出来るため、1つの計算機にセキュリティを確保した複数のユーザ実行環境を搭載することが可能となり、また、1つの計算機上で前提OS条件の異なる複数のアプリケーションを動作させることが可能となる。
なお、ゲストOSとホストOSの間の通信メカニズムに言及した仮想マシン環境に関する技術として、特開2006−18820公報(特許文献1)が知られている。
As one method for solving this problem, a method using virtualization software such as VMWare (R), Virtual PC (R), and Xen (R) has been recently proposed. The virtualization software is a software technique for constructing a virtualization system including a plurality of guest OSs on the host OS, using the OS on the computer as the host OS. With this technology, since one user execution environment can be constructed on one guest OS, it is possible to install a plurality of user execution environments that ensure security on one computer, and on one computer. Thus, a plurality of applications having different prerequisite OS conditions can be operated.
Note that Japanese Unexamined Patent Application Publication No. 2006-18820 (Patent Document 1) is known as a technology related to a virtual machine environment that refers to a communication mechanism between a guest OS and a host OS.

特開2006−18820公報JP 2006-18820 A

上記従来技術によれば、複数のゲストOSを1つのホストOS上に共存させているので、アプリケーションプログラムが実行されない時にも、それぞれのゲストOSがプロセッサやメモリ、I/Oインターフェースといったハードウェア資源を一定量占有している。そのため、あるユーザのアプリケーションプログラム実行要求があっても、そのアプリケーションプログラムを処理するユーザ実行環境を含むゲストOSに対して効率的に計算機資源が割り当てられないという問題が生じる。   According to the above prior art, since a plurality of guest OSs coexist on one host OS, even when an application program is not executed, each guest OS uses hardware resources such as a processor, a memory, and an I / O interface. Occupies a certain amount. Therefore, even if there is a request for executing an application program of a certain user, there arises a problem that computer resources cannot be efficiently allocated to the guest OS including the user execution environment for processing the application program.

そこで、クラスタリングシステムやグリッドコンピューティングシステムにさまざまなアプリケーションプログラムを搭載し、遠隔地の複数のユーザが、これらアプリケーションプログラムをセキュアに利用でき、かつ、アプリケーションプログラムを処理するユーザ実行環境に対して効率的に計算機資源を割り当てるしくみが求められる。   Therefore, various application programs are installed in the clustering system and grid computing system, so that multiple remote users can use these application programs securely and are efficient for the user execution environment that processes the application programs. A system for allocating computer resources is required.

本発明の目的は、ユーザのサービス要求を処理するユーザ実行環境をセキュアかつ効率的に実現する、仮想化計算機システム及び計算機の制御方法を提供することにある。   An object of the present invention is to provide a virtual computer system and a computer control method that can securely and efficiently realize a user execution environment for processing user service requests.

本発明に係る計算機システムは、好ましくは、ネットワークを介してユーザの端末からアクセスされる少なくとも1つの計算機を含み、ユーザ要求に応じて仮想的な計算機資源を提供する計算機システムにおいて、ホストOSとユーザ要求に応じてホストOS上で実行可能なゲストOSを搭載することができる計算機と、ゲストOS及びユーザ要求に応じたサービスを実現するアプリケーションプログラムを含む複数の仮想化された実行環境スナップショットイメージを記憶するストレージ装置と、ユーザ要求に応じて、ストレージ装置に記憶された実行環境スナップショットイメージを選択して計算機にロードし、ホストOS上にゲストOSを搭載するための制御を行う制御手段と、を有し、計算機は、ロードされたゲストOS上でアプリケーションを実行する実行環境をユーザに提供することを特徴とする計算機システムとして構成される。
好ましい例では、ユーザ要求を処理した後に、ホストOS上の実行環境スナップショットイメージが占有していた計算機資源を解放する。
また、好ましくは、先に計算機にロードされた実行環境スナップショットイメージを他の実行環境スナップショットイメージに切り替える手段と有し、切替え手段は、ユーザ要求に応じて、複数の計算機から適合するある計算機の資源利用を予約し、資源が開放される時に、ユーザ要求に応じた実行環境スナップショットイメージを前記ストレージ装置から選択して、計算機のホストOS上に配備する。
また、好ましくは、前記ストレージ装置は、既に起動された状態のゲストOSを含む実行環境スナップショットイメージを記憶し、計算機は既に起動された状態のゲストOSをロードして、ゲストOS上でアプリケーションを実行する。
The computer system according to the present invention preferably includes at least one computer accessed from a user's terminal via a network, and provides a virtual computer resource in response to a user request. A plurality of virtualized execution environment snapshot images including a computer on which a guest OS that can be executed on a host OS according to a request and an application program that implements a service according to a guest OS and a user request A storage device to be stored, and a control unit that performs control for loading a guest OS on the host OS by selecting an execution environment snapshot image stored in the storage device in response to a user request, loading the computer into the computer, and And the computer uses the application on the loaded guest OS Configured as a computer system and providing an execution environment for executing Shon user.
In a preferred example, after processing the user request, the computer resources occupied by the execution environment snapshot image on the host OS are released.
Preferably, the execution environment snapshot image previously loaded in the computer has means for switching to another execution environment snapshot image, and the switching means is adapted from a plurality of computers according to a user request. When the resource is released, the execution environment snapshot image corresponding to the user request is selected from the storage device and deployed on the host OS of the computer.
Preferably, the storage device stores an execution environment snapshot image including a guest OS that has already been activated, and the computer loads the guest OS that has already been activated to execute an application on the guest OS. Execute.

本発明に係る計算機の制御方法は、ホストOS、及びホストOS上で実行可能なゲストOSを搭載し、ユーザ要求に応じて仮想的な計算機資源を提供することができる計算機の制御方法において、既に起動された状態のゲストOS、及びユーザ要求に応じたサービスを実現するアプリケーションプログラムを含む複数の仮想化された実行環境スナップショットイメージを予めストレージ装置に記憶して用意するステップと、ユーザ要求に応じて、ストレージ装置に記憶されたある実行環境スナップショットイメージを選択して計算機にロードして、ホストOS上にゲストOSを搭載するステップと、ロードされたゲストOS上でアプリケーションをする実行環境をユーザに提供するステップと、を有することを特徴とする計算機の制御方法として構成される。   The computer control method according to the present invention includes a host OS and a guest OS that can be executed on the host OS, and is a computer control method that can provide virtual computer resources in response to a user request. A plurality of virtualized execution environment snapshot images including an activated guest OS and an application program that implements a service in response to a user request in advance stored in a storage device; and in response to a user request The user selects the execution environment snapshot image stored in the storage device, loads it into the computer, loads the guest OS on the host OS, and executes the application environment on the loaded guest OS. And a computer control method characterized by comprising: Composed of Te.

本発明によれば、サービスを処理するアプリケーションプログラムおよびゲストOSを含んだ実行環境スナップショットイメージをホストOS上に動的に割り当て、かつユーザ要求ごとに実行環境スナップショットイメージを動的に切り替えることができる。これにより、ユーザのサービス要求を処理するユーザ実行環境を、セキュアかつ効率的に提供することが可能となる。   According to the present invention, an execution environment snapshot image including an application program for processing a service and a guest OS is dynamically allocated on the host OS, and the execution environment snapshot image is dynamically switched for each user request. it can. This makes it possible to provide a user execution environment for processing user service requests in a secure and efficient manner.

以下、図面を参照して本発明の一実施例について説明する。
本発明の実施例は、ネットワーク上に分散された複数のホモジニアスまたはヘテロジニアスな計算機を備え、複数のユーザがネットワークを経由して複数複種類のサービスを利用する計算機システムに適用することができる。
図1は、一実施例による計算機システムの構成を示す。計算機システムは、1台の管理サーバ310、3台の計算機410〜430、及びネットワーク共有型ストレージ装置500が、ネットワーク210〜230を通して接続して構成される。
An embodiment of the present invention will be described below with reference to the drawings.
The embodiment of the present invention can be applied to a computer system including a plurality of homogeneous or heterogeneous computers distributed on a network, and a plurality of users using a plurality of types of services via the network.
FIG. 1 shows a configuration of a computer system according to an embodiment. The computer system is configured by connecting one management server 310, three computers 410 to 430, and a network shared storage apparatus 500 through networks 210 to 230.

管理サーバ310は計算機システム全体を管理するサーバであり、ネットワーク210を介して複数のユーザ実行端末110〜120に接続されると共に、ネットワーク210を介して計算機410〜430に接続される。とりわけ、ユーザ端末からのサービス要求に応じて計算機410〜430を制御し、ユーザ端末に対して仮想化計算機システムを提供する。管理サーバ310は、制御プログラム部311と情報管理プログラム部312を有する。   The management server 310 is a server that manages the entire computer system, and is connected to the plurality of user execution terminals 110 to 120 via the network 210 and is connected to the computers 410 to 430 via the network 210. In particular, the computers 410 to 430 are controlled in response to a service request from the user terminal, and a virtual computer system is provided to the user terminal. The management server 310 includes a control program unit 311 and an information management program unit 312.

ここで、制御プログラム部311は、ユーザからのサービス要求に応じて最適なゲストOSの実行環境を準備して提供する機能を有する。すなわち、遠隔地の複数のユーザからの要求に応じて、情報管理プログラム部310と連携しユーザの要求を処理するアプリケーションプログラムおよびゲストOSを含んだ実行環境スナップショットイメージと該当実行環境スナップショットイメージの動作に最適な計算機を検出して、その計算機を予約する。そして、その計算機の処理が空いた後に実行環境スナップショットイメージをその計算機のホストOSの仮想化ソフトウェアを用いてストレージ装置500からロードして、実行環境を同期させ、ユーザ要求を実行環境上のアプリケーションプログラムで処理する。処理が終了すると、ユーザに実行結果を通知するとともに実行環境スナップショットイメージが占有していた計算資源を解放する、といった一連の処理を動的に制御する。また、制御プログラム部311は、ゲストOSが起動された状態を保存した実行環境スナップショットイメージを、ユーザまたは計算機システム管理者が複製・削除・変更する機能を備える。   Here, the control program unit 311 has a function of preparing and providing an optimal execution environment for the guest OS in response to a service request from the user. That is, an execution environment snapshot image including an application program and a guest OS that process a user request in cooperation with the information management program unit 310 and a corresponding execution environment snapshot image in response to requests from a plurality of remote users. A computer that is most suitable for operation is detected and the computer is reserved. Then, after the processing of the computer becomes available, the execution environment snapshot image is loaded from the storage device 500 using the virtualization software of the host OS of the computer, the execution environment is synchronized, and the user request is transmitted to the application on the execution environment. Process by program. When the process ends, a series of processes such as notifying the user of the execution result and releasing the computing resources occupied by the execution environment snapshot image are dynamically controlled. In addition, the control program unit 311 has a function of allowing a user or a computer system administrator to copy, delete, or change an execution environment snapshot image in which the guest OS is activated.

情報管理プログラム312は、計算機410〜430で実行されるジョブのステータスを管理する機能を有する。すなわち、計算機410〜430間で共有されるストレージ装置500に記憶されたユーザ単位・サービス単位に異なる実行環境スナップショットイメージの情報と、どこにどのような計算機が存在するかを明確にする静的な計算機資源情報と、その計算機資源が現在どのように利用・予約されているかを確認する動的な計算機資源情報を一元的に管理する。ここで、静的な計算機資源情報とは、使用されるCPUの数や計算速度、メモリの容量に関する情報をいう。また、動的な計算機資源情報とは、ジョブの実行時間等をいう。   The information management program 312 has a function of managing the status of jobs executed by the computers 410 to 430. In other words, information on execution environment snapshot images different in user units and service units stored in the storage apparatus 500 shared among the computers 410 to 430 and static information that clarifies where and what computers exist. Centrally manages computer resource information and dynamic computer resource information for confirming how the computer resource is currently used and reserved. Here, static computer resource information refers to information on the number of CPUs used, calculation speed, and memory capacity. Dynamic computer resource information refers to job execution time and the like.

次に、3台の計算機410〜430は、ハードウェア仕様の同じホモジニアスな計算機群、または、ハードウェア仕様が多種多様なヘテロジニアスな計算機群である。計算機410は、ホストOS部411と、ジョブの実行のステータスを監視するモニタプログラム部412と、ロードされたゲストOSを実行させる例えばVMwareのような仮想化ソフトウェア部413、ユーザの要求を処理するアプリケーションプログラムおよびゲストOSを含んだ実行環境スナップショットイメージを搭載するスナップショットイメージ搭載部414を有する。なお、計算機420及び430も同様の構成であり、それぞれホストOS部421,431、モニタプログラム部422,432、仮想化ソフトウェア部423,433、スナップショットイメージ搭載部424,434を有する。   Next, the three computers 410 to 430 are a homogeneous computer group having the same hardware specification or a heterogeneous computer group having various hardware specifications. The computer 410 includes a host OS unit 411, a monitor program unit 412 that monitors a job execution status, a virtualization software unit 413 such as a VMware that executes a loaded guest OS, and an application that processes a user request. A snapshot image mounting unit 414 for mounting an execution environment snapshot image including a program and a guest OS is included. The computers 420 and 430 have the same configuration, and include host OS units 421 and 431, monitor program units 422 and 432, virtualization software units 423 and 433, and snapshot image mounting units 424 and 434, respectively.

ここで、計算機410のホストOS部411は例えばWindows(登録商標)であり、それに搭載されるゲストOS(スナップショットイメージ510、520中のゲストOS部)はLinuxであったり、他のOSであったりする。また、計算機420、430のホストOS部421,431はLinuxであり、それに搭載されるゲストOSはWindows(登録商標)であったり、他のOSであったりする。勿論、共通型ストレージ装置500からロードされるゲストOSの種類は、ユーザ要求に応じて適宜変わることがある。   Here, the host OS unit 411 of the computer 410 is, for example, Windows (registered trademark), and the guest OS (the guest OS unit in the snapshot images 510 and 520) mounted on the computer 410 is Linux or another OS. Or In addition, the host OS units 421 and 431 of the computers 420 and 430 are Linux, and the guest OS installed therein is Windows (registered trademark) or another OS. Of course, the type of guest OS loaded from the common type storage apparatus 500 may change as appropriate according to a user request.

ネットワーク共有型ストレージ装置500は、計算機410〜430からネットワーク230経由で同時に参照可能なファイルシステムを有するストレージ装置である。共有型ストレージ装置のハードウェア自体は、単体形式でも、分散形式でもどちらでもよい。ネットワーク共有型ストレージ装置500は、ユーザ実行環境スナップショットイメージ510、520を記憶する。   The network shared storage apparatus 500 is a storage apparatus having a file system that can be simultaneously referenced from the computers 410 to 430 via the network 230. The hardware of the shared storage device itself may be either a single type or a distributed type. The network shared storage apparatus 500 stores user execution environment snapshot images 510 and 520.

実行環境スナップショットイメージ510、520は、ユーザA及びBからのサービス要求A,Bを処理可能な、アプリケーションプログラムおよびゲストOSを有する実行環境である。図示の例では、ユーザAに対しては、実行環境スナップショットイメージ510を記憶しているが、1つのユーザBに対しては、異なる2つの実行環境スナップショットイメージ520を記憶している。すなわち、実行環境スナップショットイメージ510は、ユーザ#AゲストOS部511、ユーザ#Aアプリケーションプログラム部512を有する。ユーザ#B実行環境スナップショットイメージ520は、ユーザ#Bサービス要求B−1,及びB−2が処理可能な実行環境であり、それぞれゲストOS部5211,5212、アプリケーションプログラム部5221,5222を有する。   The execution environment snapshot images 510 and 520 are execution environments having an application program and a guest OS that can process service requests A and B from users A and B. In the illustrated example, the execution environment snapshot image 510 is stored for the user A, but two different execution environment snapshot images 520 are stored for one user B. That is, the execution environment snapshot image 510 includes a user #A guest OS unit 511 and a user #A application program unit 512. The user #B execution environment snapshot image 520 is an execution environment that can be processed by the user #B service requests B-1 and B-2, and includes guest OS units 5211 and 5212 and application program units 5221 and 5222, respectively.

次に、計算機システムの制御動作について説明する。
以下の例では、ユーザ#A実行端末110から発行されるサービス要求A、及びユーザ#B実行端末120から発行されるサービス要求Bに対して、管理サーバ310が、ゲストOSの最適な仮想化実行環境を提供する場合について説明する。ここで、サービス要求Aを処理するために、アプリケーションプログラム#A−1部512を1セット実行することとし、また、サービス要求Bを処理するために、アプリケーションプログラム#B−1部5221及びアプリケーションプログラム#B−2部5222を連動させながら実行するものとする。
Next, the control operation of the computer system will be described.
In the following example, for the service request A issued from the user #A execution terminal 110 and the service request B issued from the user #B execution terminal 120, the management server 310 performs optimal virtualization execution of the guest OS. The case where an environment is provided will be described. Here, in order to process service request A, one set of application program # A-1 unit 512 is executed, and in order to process service request B, application program # B-1 unit 5221 and application program It is assumed that # B-2 unit 5222 is executed in conjunction with each other.

また、アプリケーションプログラム#A−1部512を含む実行環境#A−1スナップショットイメージ510は計算機410のスナップショットイメージ搭載部414に搭載することが可能であり、アプリケーションプログラム#B−1部5221を含む実行環境#B−1スナップショットイメージ520は計算機420のスナップショットイメージ搭載部424に搭載することが可能であり、アプリケーションプログラム#B−2部5222を含む実行環境#B−2スナップショットイメージ520は計算機430のスナップショットイメージ搭載部434に搭載することが可能であるとする。   The execution environment # A-1 snapshot image 510 including the application program # A-1 section 512 can be mounted on the snapshot image mounting section 414 of the computer 410, and the application program # B-1 section 5221 is installed. The execution environment # B-1 snapshot image 520 including the execution environment # B-2 snapshot image 520 including the application program # B-2 unit 5222 can be mounted on the snapshot image mounting unit 424 of the computer 420. Can be mounted on the snapshot image mounting unit 434 of the computer 430.

さて、実行端末110からサービス要求Aが発行されると、まず、管理サーバ310の制御プログラム部311は、ネットワーク210を経由してサービス要求Aを受け付け、情報管理プログラム部312にアクセスする。
情報管理プログラム部312は、サービス要求Aを処理可能な実行環境#A−1スナップショットイメージ510の静的な情報、510が搭載可能な計算機410の静的な情報、モニタプログラム部412と422から情報管理プログラム312に提供される各計算機利用の動的なステータス情報を、制御プログラム311に対して提供する。
When a service request A is issued from the execution terminal 110, first, the control program unit 311 of the management server 310 receives the service request A via the network 210 and accesses the information management program unit 312.
The information management program unit 312 includes the static information of the execution environment # A-1 snapshot image 510 capable of processing the service request A, the static information of the computer 410 on which the 510 can be installed, and the monitor program units 412 and 422. Dynamic status information for each computer use provided to the information management program 312 is provided to the control program 311.

制御プログラム311は、情報管理プログラム部312より提供される情報を基に、サービス要求Aを処理する最適な計算機として計算機410を選択し、計算機を予約する。計算機システムに対して予約されたキューは、制御プログラム311が一元管理する。計算機の予約の管理は、例えば予約キューをテーブルに順次登録していき、ある計算機の処理が終了した時に、次のサービス要求をその計算機に割り当てて実行するようにする。   The control program 311 selects the computer 410 as the optimum computer for processing the service request A based on the information provided from the information management program unit 312 and reserves the computer. The control program 311 centrally manages the queue reserved for the computer system. For managing the reservation of a computer, for example, a reservation queue is sequentially registered in a table, and when the processing of a certain computer is completed, the next service request is assigned to the computer and executed.

例えば、予約の順番がサービス要求Aを処理する順番になると、実行環境#A−1スナップショットイメージ510−1が、仮想化ソフトウェア部413を介して、計算機410のスナップショットイメージ搭載部414にロードされる。この際、モニタプログラム412は、情報管理プログラム部312に対してスナップショットイメージがロード中のステータスであることを報告する。
ロードが完了すると、計算機410のスナップショットイメージ搭載部414の実行環境#A−1スナップショットイメージ510に含まれるゲストOS#A−1部511とアプリケーションプログラム#A−1部512がアクティブとなる。計算機410の搭載部414でアクティブとなったゲストOS#A−1部511は、サービス要求Aを処理する実行環境を整えるためにネットワーク220上の汎用的なサーバにアクセスして時刻の同期、IPアドレスやホスト名の動的な設定を行う。
For example, when the reservation order is the order in which the service request A is processed, the execution environment # A-1 snapshot image 510-1 is loaded into the snapshot image mounting unit 414 of the computer 410 via the virtualization software unit 413. Is done. At this time, the monitor program 412 reports to the information management program unit 312 that the snapshot image is being loaded.
When the loading is completed, the guest OS # A-1 unit 511 and the application program # A-1 unit 512 included in the execution environment # A-1 snapshot image 510 of the snapshot image mounting unit 414 of the computer 410 become active. The guest OS # A-1 unit 511 activated by the mounting unit 414 of the computer 410 accesses a general-purpose server on the network 220 to prepare an execution environment for processing the service request A, and synchronizes time, IP Set the address and host name dynamically.

スナップショットイメージ搭載部414のゲストOS#A−1部511の実行環境が整った後、制御プログラム部311は、サービス要求Aをアプリケーションプログラム#A−1で実行可能な形式に翻訳し、計算機410のスナップショットイメージ搭載部414のアプリケーションプログラム#A−1部511でサービス要求Aを処理する。この際、モニタプログラム412は、情報管理プログラム部312に対して、スナップショットイメージがサービス要求処理中のステータスであることを報告する。   After the execution environment of the guest OS # A-1 unit 511 of the snapshot image mounting unit 414 is prepared, the control program unit 311 translates the service request A into a format that can be executed by the application program # A-1, and the computer 410 The service request A is processed by the application program # A-1 unit 511 of the snapshot image mounting unit 414. At this time, the monitor program 412 reports to the information management program unit 312 that the snapshot image is in a service request processing status.

サービス要求Aの処理が正常終了または異常終了すると、実行環境#A−1スナップショットイメージ510はサービス要求Aに対する処理結果を制御プログラム311に報告する。制御プログラム部311は仮想化ソフトウェア413に対してスナップショットイメージ搭載部414の実行環境#Aスナップショットイメージ510が占有している計算機資源を解放するよう命令する。   When the processing of service request A ends normally or abnormally, execution environment # A-1 snapshot image 510 reports the processing result for service request A to control program 311. The control program unit 311 instructs the virtualization software 413 to release the computer resources occupied by the execution environment #A snapshot image 510 of the snapshot image mounting unit 414.

仮想化ソフトウェア413は、高速な実行環境スナップショットイメージの切り替えを実現するため、ゲストOS#A−1部511の終了処理を行わず、強制的に実行環境#Aスナップショットイメージ510が占有している計算機資源を解放する。計算機資源の解放が完了すると、モニタプログラム412は、情報管理プログラム部312に対して、サービス要求受け付け可能なステータスであることを報告する。
制御プログラム311は、サービス要求Aに対する処理結果を受けると、その結果をユーザ#A実行端末110に返してサービス要求Aに対する一連の処理を終了する。
The virtualization software 413 does not perform the termination process of the guest OS # A-1 unit 511 and forcibly occupies the execution environment #A snapshot image 510 to realize high-speed execution environment snapshot image switching. Release the computer resources that are present. When the release of computer resources is completed, the monitor program 412 reports to the information management program unit 312 that the service request can be accepted.
Upon receiving the processing result for the service request A, the control program 311 returns the result to the user #A execution terminal 110 and ends the series of processing for the service request A.

さらに、ユーザ#Bサービス要求Bに対する制御動作も、実質的には同様である。ユーザ#Bサービス要求Bを処理するためには、アプリケーションプログラム#B−1部5221と、アプリケーションプログラム#B−2部5222を連動させながら実行するものとしているので、この場合、例えば計算機420と430を並列して動作させる必要がある。管理サーバ310は、計算機420,430に、実行環境#B−1スナップショットイメージ520、及び実行環境#B−2スナップショットイメージ520をそれぞれロードして実行させる。計算機20,430の予約や、予約された計算機への実行環境スナップショットイメージ520のロードの動作、及び計算機で実行されるジョブのステータスの管理等は、上述したユーザ#Bサービス要求Aに対する処理と同様である。   Further, the control operation for the user #B service request B is substantially the same. In order to process the user #B service request B, the application program # B-1 unit 5221 and the application program # B-2 unit 5222 are executed in conjunction with each other. In this case, for example, the computers 420 and 430 are executed. Must be operated in parallel. The management server 310 causes the computers 420 and 430 to load and execute the execution environment # B-1 snapshot image 520 and the execution environment # B-2 snapshot image 520, respectively. The reservation of the computers 20 and 430, the operation of loading the execution environment snapshot image 520 to the reserved computer, the management of the status of the job executed by the computer, and the like are the processing for the user #B service request A described above. It is the same.

このようにして、複数の実行端末からの複数のサービス要求に対して、複数の計算機410〜430を用いて、それぞれ異なるゲストOSの実行環境を提供することができる。すなわち、ゲストOSとサービスを実現するアプリケーションプログラムを有する複数の仮想化された実行環境スナップショットイメージを記憶する共有型ストレージ装置から、ユーザのサービスの要求に適合するホストOS上の仮想化された実行環境スナップショットイメージを、選択された計算機にロードして動作させることで、ユーザのサービス利用環境をセキュアに保ちかつ計算機資源を効率的に管理してユーザの実行環境を実現することができる。   In this way, different guest OS execution environments can be provided using a plurality of computers 410 to 430 in response to a plurality of service requests from a plurality of execution terminals. That is, virtualized execution on a host OS that meets a user's service request from a shared storage device that stores a plurality of virtualized execution environment snapshot images having a guest OS and an application program that implements the service By loading the environment snapshot image to the selected computer and operating it, the user's execution environment can be realized by keeping the user's service usage environment secure and efficiently managing the computer resources.

以上説明したように、本実施例によれば、既に起動された状態のゲストOSをロードすることによりゲストOSの起動にかかる時間を省略することができる。また、実行環境スナップショットイメージが占有していた計算機資源を解放する場合に要求サービス処理完了時のゲストOSおよびアプリケーションプログラムの状態を該当の実行環境スナップショットイメージに反映しないことによりゲストOSの終了にかかる時間を削減することができ、実行環境スナップショットイメージ切り替えの時間を高速化することが可能である。   As described above, according to the present embodiment, it is possible to omit the time required for starting the guest OS by loading the guest OS that has already been started. In addition, when the computer resources occupied by the execution environment snapshot image are released, the guest OS and application program states at the completion of the requested service processing are not reflected in the corresponding execution environment snapshot image, thereby terminating the guest OS. This time can be reduced, and the execution environment snapshot image switching time can be increased.

なお、本発明は上記した実施例に限定されずに、種々変形して実施することができる。例えば、図1の計算機システムでは、複数の計算機410〜430を用いているが、1台の計算機の場合でも本発明の趣旨は変わらない。1台の計算機を用いたシステムの場合、ユーザ要求に対する予約のキューは増加する可能性があるが、複数のユーザ要求にそれぞれ適合する仮想化実行環境スナップショットイメージを共有型ストレージ装置から、順番に計算機にロードしてその実行環境を実現することができる。   In addition, this invention is not limited to an above-described Example, It can implement in various deformation | transformation. For example, in the computer system of FIG. 1, a plurality of computers 410 to 430 are used, but the gist of the present invention does not change even with a single computer. In the case of a system using a single computer, there is a possibility that the reservation queue for user requests may increase, but virtualized execution environment snapshot images that respectively match a plurality of user requests are obtained in order from the shared storage device. It can be loaded into a computer to realize its execution environment.

また、本発明の他の例によれば、実行環境スナップショットイメージの情報の一元的な管理に関して、複種類のマスタとなる実行環境スナップショットイメージを管理し、異なる複数のユーザが、マスタとなる実行環境スナップショットイメージを複製することにより、ユーザが容易に新しい実行環境を作成することもできる。   In addition, according to another example of the present invention, with respect to centralized management of execution environment snapshot image information, execution environment snapshot images serving as a plurality of types of masters are managed, and a plurality of different users become masters. By duplicating the execution environment snapshot image, the user can easily create a new execution environment.

一実施例による計算機システムの構成を示すブロック図。The block diagram which shows the structure of the computer system by one Example.

符号の説明Explanation of symbols

110、120:実行端末 111、121:サービス要求 210、220、230:ネットワーク 310:管理サーバ 311:制御プログラム部 312:情報管理プログラム部 410、420、430:計算機 411、421、431:ホストOS部 412、422、432:モニタプログラム部 413、423、433:仮想化ソフトウェア部 414、424、434:スナップショットイメージ搭載部 500:ネットワーク共有型ストレージ装置 414、424、434:スナップショットイメージ搭載部 510、520:実行環境スナップショットイメージ 511、5211,5212:ゲストOS部 512、5221、5222:アプリケーションプログラム部。 110, 120: Execution terminal 111, 121: Service request 210, 220, 230: Network 310: Management server 311: Control program unit 312: Information management program unit 410, 420, 430: Computer 411, 421, 431: Host OS unit 412, 422, 432: Monitor program unit 413, 423, 433: Virtualization software unit 414, 424, 434: Snapshot image mounting unit 500: Network shared storage device 414, 424, 434: Snapshot image mounting unit 510, 520: Execution environment snapshot image 511, 5211, 5212: Guest OS part 512, 5221, 5222: Application program part.

Claims (5)

ネットワークを介してユーザの端末からアクセスされる少なくとも1つの計算機を含み、ユーザ要求に応じて仮想的な計算機資源を提供する計算機システムにおいて、
ホストOSと、ユーザ要求に応じて該ホストOS上で実行可能なゲストOSを搭載することができる該計算機と、
ゲストOS、及びユーザ要求に応じたサービスを実現するアプリケーションプログラムを含む複数の仮想化された実行環境スナップショットイメージを記憶するストレージ装置と、
ユーザ要求に応じて、該ストレージ装置に記憶された実行環境スナップショットイメージを選択して該計算機にロードし、該ホストOS上に該ゲストOSを搭載するための制御を行う制御手段と、を有し、
該計算機は、ロードされた該ゲストOS上で該アプリケーションを実行する実行環境をユーザに提供することを特徴とする計算機システム。
In a computer system including at least one computer accessed from a user terminal via a network and providing virtual computer resources in response to a user request,
A host OS and a computer capable of mounting a guest OS executable on the host OS in response to a user request;
A storage system for storing a plurality of virtualized execution environment snapshot images including a guest OS and an application program that implements a service according to a user request;
Control means for selecting an execution environment snapshot image stored in the storage device in accordance with a user request, loading it into the computer, and performing control for mounting the guest OS on the host OS. And
The computer system provides a user with an execution environment for executing the application on the loaded guest OS.
該ユーザ要求を処理した後に、該ホストOS上の該実行環境スナップショットイメージが占有していた計算機資源を解放することを特徴とする請求項1記載の計算機システム。 2. The computer system according to claim 1, wherein after processing the user request, the computer resources occupied by the execution environment snapshot image on the host OS are released. 先に該計算機にロードされた実行環境スナップショットイメージを他の実行環境スナップショットイメージに切り替える手段と有し、該切替え手段は、ユーザ要求に応じて、複数の計算機から適合するある計算機の資源利用を予約し、該資源が開放される時に、ユーザ要求に応じた実行環境スナップショットイメージを前記ストレージ装置から選択して、該計算機の該ホストOS上に配備することを特徴とする請求項1記載の計算機システム。 Means for switching an execution environment snapshot image previously loaded on the computer to another execution environment snapshot image, and the switching means uses a resource of a computer adapted from a plurality of computers in response to a user request. 2. When a resource is released, an execution environment snapshot image corresponding to a user request is selected from the storage device and deployed on the host OS of the computer. Computer system. 前記ストレージ装置は、既に起動された状態のゲストOSを含む実行環境スナップショットイメージを記憶し、該計算機は既に起動された状態のゲストOSをロードして、該ゲストOS上でアプリケーションを実行する請求項1乃至3のいずれかの計算機システム。 The storage device stores an execution environment snapshot image including a guest OS that has already been activated, and the computer loads the guest OS that has already been activated and executes an application on the guest OS. Item 4. The computer system according to any one of Items 1 to 3. ホストOS、及び該ホストOS上で実行可能なゲストOSを搭載し、ユーザ要求に応じて仮想的な計算機資源を提供することができる計算機の制御方法において、
既に起動された状態のゲストOS、及びユーザ要求に応じたサービスを実現するアプリケーションプログラムを含む複数の仮想化された実行環境スナップショットイメージを予めストレージ装置に記憶して用意するステップと、
ユーザ要求に応じて、該ストレージ装置に記憶されたある実行環境スナップショットイメージを選択して該計算機にロードして、該ホストOS上に該ゲストOSを搭載するステップと、
ロードされた該ゲストOS上で該アプリケーションをする実行環境をユーザに提供するステップと、を有することを特徴とする計算機の制御方法。
In a computer control method that includes a host OS and a guest OS that can be executed on the host OS and can provide virtual computer resources in response to a user request,
A plurality of virtualized execution environment snapshot images including a guest OS that has already been activated and an application program that implements a service in response to a user request are stored and prepared in advance in a storage device;
In response to a user request, a certain execution environment snapshot image stored in the storage device is selected and loaded into the computer, and the guest OS is mounted on the host OS;
And providing a user with an execution environment for executing the application on the loaded guest OS.
JP2006288636A 2006-10-24 2006-10-24 Computer system Pending JP2008107966A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006288636A JP2008107966A (en) 2006-10-24 2006-10-24 Computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006288636A JP2008107966A (en) 2006-10-24 2006-10-24 Computer system

Publications (1)

Publication Number Publication Date
JP2008107966A true JP2008107966A (en) 2008-05-08

Family

ID=39441286

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006288636A Pending JP2008107966A (en) 2006-10-24 2006-10-24 Computer system

Country Status (1)

Country Link
JP (1) JP2008107966A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009098909A1 (en) * 2008-02-04 2009-08-13 Nec Corporation Virtual appliance assignment system
JP2011524053A (en) * 2008-06-13 2011-08-25 マイクロソフト コーポレーション Virtual machine and application life cycle synchronization
JP2011253350A (en) * 2010-06-02 2011-12-15 Mitsubishi Electric Corp Virtual computer control system
JP2012118827A (en) * 2010-12-02 2012-06-21 Internatl Business Mach Corp <Ibm> Information processing system, information processing apparatus, preparation method, program and recording medium
JP2012133650A (en) * 2010-12-22 2012-07-12 Fujitsu Ten Ltd Information processor and information processing method
JP2014130591A (en) * 2012-12-28 2014-07-10 Hon Hai Precision Industry Co Ltd Computing system for virtual machine and method therefor
JP2016018555A (en) * 2014-07-07 2016-02-01 レノボ・シンガポール・プライベート・リミテッド Operating environment switching method, computer, and computer program
CN113849240A (en) * 2021-09-30 2021-12-28 济南浪潮数据技术有限公司 Operating system determination method and device, electronic equipment and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009098909A1 (en) * 2008-02-04 2009-08-13 Nec Corporation Virtual appliance assignment system
JP5288334B2 (en) * 2008-02-04 2013-09-11 日本電気株式会社 Virtual appliance deployment system
JP2011524053A (en) * 2008-06-13 2011-08-25 マイクロソフト コーポレーション Virtual machine and application life cycle synchronization
JP2011253350A (en) * 2010-06-02 2011-12-15 Mitsubishi Electric Corp Virtual computer control system
JP2012118827A (en) * 2010-12-02 2012-06-21 Internatl Business Mach Corp <Ibm> Information processing system, information processing apparatus, preparation method, program and recording medium
JP2012133650A (en) * 2010-12-22 2012-07-12 Fujitsu Ten Ltd Information processor and information processing method
JP2014130591A (en) * 2012-12-28 2014-07-10 Hon Hai Precision Industry Co Ltd Computing system for virtual machine and method therefor
JP2016018555A (en) * 2014-07-07 2016-02-01 レノボ・シンガポール・プライベート・リミテッド Operating environment switching method, computer, and computer program
US9910677B2 (en) 2014-07-07 2018-03-06 Lenovo (Singapore) Pte. Ltd. Operating environment switching between a primary and a secondary operating system
CN113849240A (en) * 2021-09-30 2021-12-28 济南浪潮数据技术有限公司 Operating system determination method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US8762999B2 (en) Guest-initiated resource allocation request based on comparison of host hardware information and projected workload requirement
JP4769484B2 (en) Method and system for migrating virtual machines
EP3073374B1 (en) Thread creation method, service request processing method and related device
US7620953B1 (en) System and method for allocating resources of a core space among a plurality of core virtual machines
US8671403B2 (en) Pre-creating virtual machines in a grid environment
JP5510556B2 (en) Method and system for managing virtual machine storage space and physical hosts
US20080263390A1 (en) Cluster system and failover method for cluster system
US20150277993A1 (en) Task Processing Method and Virtual Machine
JP2008107966A (en) Computer system
US20110004687A1 (en) Information processing apparatus, information processing system, setting program transmission method and server setting program
JP6840099B2 (en) Service provision system, resource allocation method, and resource allocation program
US10897428B2 (en) Method, server system and computer program product for managing resources
JP2016541072A (en) Resource processing method, operating system, and device
JP2016541072A5 (en)
JP2022516486A (en) Resource management methods and equipment, electronic devices, and recording media
JP2010147929A (en) Address allocation method, computer, and program
CN111213127A (en) Virtualization operation for directly assigned devices
JP5151509B2 (en) Virtual machine system and virtual machine distribution method used therefor
US20160253200A1 (en) Server virtualization method of multi node system and apparatus thereof
US8442939B2 (en) File sharing method, computer system, and job scheduler
Matsumoto et al. FastContainer: A homeostatic system architecture high-speed adapting execution environment changes
US7669202B1 (en) Resource management
JP2010026828A (en) Method for controlling virtual computer
EP3786797A1 (en) Cloud resource marketplace
Byun et al. DynaGrid: A dynamic service deployment and resource migration framework for WSRF-compliant applications