JP4292220B2 - Virtual computer system - Google Patents
Virtual computer system Download PDFInfo
- Publication number
- JP4292220B2 JP4292220B2 JP2007106658A JP2007106658A JP4292220B2 JP 4292220 B2 JP4292220 B2 JP 4292220B2 JP 2007106658 A JP2007106658 A JP 2007106658A JP 2007106658 A JP2007106658 A JP 2007106658A JP 4292220 B2 JP4292220 B2 JP 4292220B2
- Authority
- JP
- Japan
- Prior art keywords
- lpar
- screen
- user
- host
- task
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Description
本発明は、仮想計算機システムに関し、特にサーバやPCによる仮想計算機システムのユーザインタフェースに関する。 The present invention relates to a virtual machine system, and more particularly to a user interface of a virtual machine system using a server or a PC.
大形計算機はシステムの保守操作を行うためのSVP(サービスプロセッサ)を有し、該SVPにはユーザがデータの入出力を行うためのコンソールディスプレイ装置が備えられている。従来の大形計算機による仮想計算機システムは、ユーザがSVPのコンソールディスプレイ装置上で、仮想計算機を定義し、各仮想計算機の処理能力の割合や使用される処理装置の資源等を指定することにより制御される。SVPによる仮想計算機システムのユーザインタフェースに関しては、例えば特開平6−250858号公報がある。 Large computers have an SVP (service processor) for performing system maintenance operations, and the SVP is provided with a console display device for a user to input and output data. A conventional virtual computer system using a large computer is controlled by a user defining a virtual computer on the console display device of the SVP and specifying a processing capacity ratio of each virtual computer, resources of a processing device to be used, and the like. Is done. For example, JP-A-6-250858 discloses a user interface of a virtual machine system based on SVP.
サーバやPC上に仮想計算機システムを実現するにあたり、大形計算機での仮想計算機システムと同等のユーザインタフェースを提供する必要があるが、サーバやPCに大形計算機が備えているSVP等を付加することは困難である。 In order to realize a virtual computer system on a server or a PC, it is necessary to provide a user interface equivalent to the virtual computer system in a large computer, but an SVP or the like provided in the large computer is added to the server or PC. It is difficult.
本発明の目的は、サーバ及びPC上の仮想計算機システムにおけるユーザインタフェース機能を、SVP等を用いることなく提供することにある。 An object of the present invention is to provide a user interface function in a virtual computer system on a server and a PC without using an SVP or the like.
本発明は、入力装置と表示装置を備えた物理計算機上で複数のLPARが仮想計算機制御プログラムの制御下で動作する仮想計算機システムにおいて、前記複数のLPARにはユーザにより前記物理計算機の処理能力や資源の割当(以下、構成情報と呼ぶ。)が指定されて特定の仮想計算機として定義される1又は2以上のユーザ定義LPARと、ユーザが前記ユーザ定義LPARの構成情報を指定するためのホストLPARとが含まれ、前記仮想計算機制御プログラムは各ユーザ定義LPARにて動作する論理IPタスク群と前記ホストLPARで動作するホストLPARタスクから構成され、該ホストLPARタスクは前記ユーザ定義LPARの構成情報の指定及び表示のための制御スクリーンを前記表示装置上に表示する機能を有し、前記表示装置には前記ホストLPARの制御スクリーン又は各ユーザ定義LPARに対応する画面スクリーンのいずれかが入力装置からの画面切り換え指示に従って排他的に表示され、前記ホストLPARタスクはシステムの立ち上げ時に前記仮想計算機制御プログラムにより生成されることを特徴とする仮想計算機システムである。 The present invention provides a virtual computer system in which a plurality of LPARs operate under the control of a virtual computer control program on a physical computer having an input device and a display device. One or more user-defined LPARs that are defined as a specific virtual machine with resource allocation (hereinafter referred to as configuration information) specified, and a host LPAR for the user to specify configuration information of the user-defined LPAR The virtual machine control program includes a logical IP task group that operates in each user-defined LPAR and a host LPAR task that operates in the host LPAR. The host LPAR task includes configuration information of the user-defined LPAR. A function of displaying a control screen for designation and display on the display device; Either the control screen of the host LPAR or the screen screen corresponding to each user-defined LPAR is exclusively displayed on the display device in accordance with a screen switching instruction from the input device, and the host LPAR task is displayed when the system is started up. A virtual computer system generated by a virtual computer control program .
又、本発明は、前記制御スクリーンが、前記ユーザ定義LPARの構成情報を指定するエリヤと動作させるユーザ定義LPARをACTIVEにしてブートする指示を出すコマンド入力エリアを有するものである。 According to the present invention, the control screen has a command input area for issuing an instruction to boot the user-defined LPAR to be operated with an area for designating the configuration information of the user-defined LPAR .
本発明によれば、サーバ及びPC上の仮想計算機システムにおけるユーザインタフェース機能を、SVP等を用いることなくソフトウエアの適用だけで提供することができる。また、ユーザインタフェース機能を1つのLPARとして実現することにより、他のLPARの画面切り替えと同様な処理にて実現でき、処理の煩雑さが低減できる。 According to the present invention, a user interface function in a virtual computer system on a server and a PC can be provided only by application of software without using SVP or the like. Further, by realizing the user interface function as one LPAR, it can be realized by a process similar to the screen switching of another LPAR, and the complexity of the process can be reduced.
以下、本発明の実施の形態を詳細に説明する。 Hereinafter, embodiments of the present invention will be described in detail.
図1は、本発明に係るサーバ又はPC上の仮想計算機システム(以下、PC−LPARと呼ぶ。)及びその表示装置上の画面の切り替えの様子を示したものである。PC−LPARは、複数の論理的プラットホームを提供するために、メインフレームの仮想計算機システムと同様に、仮想計算機制御プログラム(以下HYPERVISORと呼ぶ。)によって複数の仮想計算機(以下、LPARと呼ぶ。)を制御する。 FIG. 1 shows a state of switching a virtual computer system (hereinafter referred to as PC-LPAR) on a server or PC according to the present invention and a screen on the display device. In order to provide a plurality of logical platforms, the PC-LPAR is provided with a plurality of virtual machines (hereinafter referred to as LPAR) by a virtual machine control program (hereinafter referred to as HYPERVISOR) in the same manner as a mainframe virtual machine system. To control.
図1では、論理的プラットホームを提供するための仮想計算機として、LPAR−A101とLPAR−C102が動作していて、そのうちLPAR−A101の画面スクリーンが表示されている状態を示している(表示107)。このとき同時に動作していて画面に表示されていないLPAR−C102の画面データは、HYPERVISOR103内のLPAR毎に用意されている画面バッファ104に格納される。尚、画面に表示中のLPAR(以後、画面所有LPARと呼ぶ。)の画面データについては、画面バッファに格納せず、画面入出力命令をHYPERVISOR103がシミュレーション処理後表示する。
FIG. 1 shows a state in which LPAR-A 101 and LPAR-C 102 are operating as virtual machines for providing a logical platform, and the screen screen of LPAR-A 101 is displayed (display 107). . At this time, the screen data of the LPAR-C 102 operating simultaneously and not displayed on the screen is stored in the
画面スクリーンを他のLPAR(例えばLPAR−C)に切り替える場合はキーボードからの特別なキー入力操作により行う。HYPERVISOR101は切り替え操作を認識すると、画面所有LPAR情報105を次に表示するLPAR−C102に更新して、LPAR−Cの画面バッファからLPAR−Cの画面スクリーンを表示する(表示108)。またそれ以降LPAR−A101の画面データは画面バッファ104に格納される。
When switching the screen screen to another LPAR (for example, LPAR-C), it is performed by a special key input operation from the keyboard. When the
同様にキーボードからの切り替え操作を行い、画面所有LPAR情報105を次に表示するLPARに更新する。本ケースでは、LPAR構成情報106を表示するホストLPAR110に切り替える。ホストLPAR110は、定義されているLPAR構成情報106をHYPERVISOR103内部または外部の媒体から取り出し(本例ではHYPERVISOR103内部)、その内容を表示する(表示109)。表示内容の詳細については図2で説明する。
Similarly, the switching operation from the keyboard is performed, and the screen possessing
図2は、各仮想計算機を定義したLPAR構成情報を表示するLPAR制御スクリーン201を示す。図2では、3LPARが定義され、その中で2LPARが動作中であることを示している。
FIG. 2 shows an
LP#202はLPARを識別するための番号(LPAR番号)を示す。表示される最大LPAR番号までシステムはLPARを定義でき、実行できる。LPNAME203はLPAR番号に対応したLPARの名称を示す。LPAR名称はユーザが自由に設定することが可能である。ST204は現在のLPARの状態を表している。AはそのLPARが活性化されていることを示し、Dは非活性化されていることを示す。UはそのLPARが未定義であることを表している。RAM205はそのLPARに割り当てるメモリ容量(MB単位)を指定する。BOOT206はそのLPARのプラットホームとなる基本ソフトを含んだデバイスの識別子を指定する。SRV207はシステムにおけるプロセッサ資源のうちそのLPARにサービスする相対性能比を指定する。MODE209はそのLPARに割り当てるプロセッサ資源を各LPARで共用(SHR)するか、占有(DED)するか指定する。PROC208はMODE209がDEDの時の占有プロセッサの数を指定する。IRQ210は各LPARで占有して使用するPCIデバイスの識別子を指定する。Command211は各LPARへの操作指示を出すコマンド入力エリアを示す。
図3に画面データに着目したHYPERVISORの内部構造の概要を示す。
HYPERVISOR301を構成するタスクとしては、ホストLPARタスク302及び各LPAR303、305にて動作する論理IPタスク群304、306がある。本実施例では2LPARが動作中の場合を示している。
FIG. 3 shows an outline of the internal structure of HYPERVISOR focusing on screen data.
As tasks constituting the
ホストLPARタスク302は各LPARの構成情報等の管理とユーザ表示・ユーザ設定が必要な構成情報の画面表示を制御する。画面所有LPARがホストLPARである場合は、表示用データをLPAR構成情報エリア307から取り出し、画面データエリア308に画面データを作成して画面表示する。 The host LPAR task 302 controls the configuration information and the like of each LPAR and the screen display of configuration information that requires user display / user setting. If the screen-owning LPAR is the host LPAR, display data is extracted from the LPAR configuration information area 307, screen data is created in the screen data area 308, and is displayed on the screen.
論理IPタスクは各LPARの動作を司りかつ直接プロセッサ実行できない命令をシミュレーションする。画面処理に関する命令はすべてHYPERVISOR制御下で処理され、そのLPARが画面所有LPARであれば、命令シミュレーションによって画面表示される。そうでない場合は事前に用意してある各LPARの画面バッファ309,310にその画面データを書き込み、そのLPARに制御を返す。キーボード及びマウスの制御権は画面所有LPARが所有し、キーボード及びマウスに対する割り込み及び処理に関する命令をHYPERVISORがシミュレーションして、その画面所有LPARに制御を返す。
The logical IP task controls the operation of each LPAR and simulates an instruction that cannot be directly executed by the processor. All instructions relating to screen processing are processed under HYPERVISOR control, and if the LPAR is a screen-owning LPAR, it is displayed on the screen by instruction simulation. Otherwise, the screen data is written in the
ホストLPARタスク302はLPAR制御スクリーン201からの操作に従い、当該LPARの各論理IPタスク群304,306に対して、その操作要求を出すことも行う。
In accordance with the operation from the
図4は、本実施例のシステム構成図を示す。通常のPC等と同様に、CPU401、メモリ402、HDD(0)403、FDD404、CDROM405等から構成され、さらにLPARをブートするOSを格納するHDD(1)406を各LPAR毎に用意する。CPU401は1又は複数のプロセッサから構成される。システムを構成する部位のうち各LPARで共用するものとしては、メモリ402及びCPU401があり、スクリーン407、キーボード408、マウス409等のI/Oデバイスについてはそれぞれ各LPARで、指定に従い、独立に割り当てて制御する。
FIG. 4 shows a system configuration diagram of this embodiment. As with a normal PC or the like, a CPU 401, a memory 402, an HDD (0) 403, an FDD 404, a CDROM 405, and the like, and an HDD (1) 406 for storing an OS for booting an LPAR are prepared for each LPAR. The CPU 401 is composed of one or a plurality of processors. Among the parts constituting the system, those shared by each LPAR include the memory 402 and the CPU 401, and the I / O devices such as the screen 407, the keyboard 408, the
図5は、HYPERVISORのブート及び初期化処理の処理フローを示す。
PC−LPARとしてシステムを立ち上げる場合、事前に図6に示す記録媒体(FD等)601にローダ603を含めたHYPERVISOR本体604を格納しておく。その記録媒体601をシステム装置に挿入し(ステップ501)、システム装置の電源をONにする(ステップ502)。システム装置の電源をONにすると記録媒体に起動がかかり、記録媒体内のMBR(MASTER BOOT RECORD)602がハードウェアにより自動的にメモリに読み込まれ、MBR602自身でローダ603をメモリに読み込む(503)。次にローダ603自身でHYPERVISOR本体604をメモリにロード後、HYPERVISORに起動をかける(ステップ504)。次にHYPERVISORは制御に必要なテーブルの作成及び各タスクの生成及びそれらの初期設定を行う(ステップ505)。初期処理後ホストLPARタスクに起動をかけ、起動されたホストLPARタスクが図2で示すようなLPAR制御スクリーン201を表示する(ステップ506)。
FIG. 5 shows a processing flow of HYPERVISOR boot and initialization processing.
When starting up the system as a PC-LPAR, the HYPERVISOR
尚、HYPERVISORはメモリに常駐され、初期処理にてHYPERVISOR自身がその構成で使用するメモリを確保する。従って、各LPARで使用可能なメモリはシステム搭載メモリからHYPERVISOR使用部分を除いた容量となる。 The HYPERVISOR is resident in the memory, and the memory used by the HYPERVISOR itself in the configuration is secured in the initial process. Therefore, the memory that can be used in each LPAR is the capacity obtained by excluding the HYPERVISOR using part from the system-mounted memory.
図7は、HYPERVISORの動作処理概要フローを示す。
ホストLPARによって表示されたLPAR制御スクリーンにて各LPARの構成情報をユーザが設定(既設定時は不要)する(ステップ701)。LPAR制御スクリーンにて動作させるLPARをACTIVEにしてHDDからメモリにブートする(ステップ702)。その後ブートしたLPARが動作を開始する(ステップ703)。ゲスト上で直接実行できない命令及びホストへの各種割り込み(タイマ、I/O、命令トラップ等)に対してHYPERVISORがシミュレーションを実行する(ステップ704)。その後HYPERVISORは各タスクに制御を戻す(ステップ705)。以後、HYPERVISORはステップ704とステップ705の処理を繰り返す。
FIG. 7 shows an outline of HYPERVISOR operation processing.
The user sets the configuration information of each LPAR on the LPAR control screen displayed by the host LPAR (not required when already set) (step 701). The LPAR operated on the LPAR control screen is set to ACTIVE to boot from the HDD to the memory (step 702). Thereafter, the booted LPAR starts operation (step 703). The HYPERVISOR executes a simulation for an instruction that cannot be executed directly on the guest and various interrupts (timer, I / O, instruction trap, etc.) to the host (step 704). Thereafter, HYPERVISOR returns control to each task (step 705). Thereafter, HYPERVISOR repeats the processing of
図8は、表示画面切り替え時の動作処理を示す。図8では、コンソール画面の表示をLPAR1からLPAR2に切り替える際の動作処理を示している。ここでLPAR1では基本ソフトウェアとしてOS1が動作し、LPAR2ではOS2が動作している。
LPAR2(OS2)が実行中に(1)、LPAR1の画面からLPAR2の画面への切り替えのキー操作が行われると(2)、キー操作による割り込みが受付けられて制御がOS2からHYPERVISORに移動する(3)。HYPERVISORはOS2の中断情報を退避し(4)、キー操作をLPAR2画面への切替え指示として認識し(5)、画面所有LPAR情報をLPAR2(OS2)に更新し(6)、LPAR2の画面バッファをコンソール出力に変更すると共にLPAR1のコンソール出力を画面バッファに変更する(7)。これにより、コンソール画面の表示がLPAR2に切り替わる。次に、HYPERVISORが退避した中断情報を回復して制御がHYPERVISORからLPAR2(OS)に移動し(8)、LPAR2(OS)の実行が再開される(9)。
FIG. 8 shows an operation process when the display screen is switched. FIG. 8 shows an operation process when switching the display of the console screen from LPAR1 to LPAR2. Here, in LPAR1, OS1 operates as basic software, and in LPAR2, OS2 operates.
When LPAR2 (OS2) is being executed (1) and a key operation for switching from the LPAR1 screen to the LPAR2 screen is performed (2), an interrupt by the key operation is accepted and control is transferred from OS2 to HYPERVISOR ( 3). HYPERVISOR saves the interruption information of OS2 (4), recognizes the key operation as an instruction to switch to the LPAR2 screen (5), updates the screen-owned LPAR information to LPAR2 (OS2) (6), and sets the screen buffer of LPAR2 The console output of LPAR1 is changed to the screen buffer as well as the console output (7). Thereby, the display of the console screen is switched to LPAR2. Next, the interruption information saved by HYPERVISOR is recovered, control is transferred from HYPERVISOR to LPAR2 (OS) (8), and execution of LPAR2 (OS) is resumed (9).
101 LPAR−A
102 LPAR−C
103 HYPERVISOR
104 画面バッファ
106 LPAR構成情報
110 ホストLPAR
201 LPAR制御スクリーン
407 ディスプレイ
408 キーボード
601 記録媒体
101 LPAR-A
102 LPAR-C
103 HYPERVISOR
104 Screen buffer 106 LPAR configuration information 110 Host LPAR
201 LPAR control screen 407 display 408
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007106658A JP4292220B2 (en) | 2007-04-16 | 2007-04-16 | Virtual computer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007106658A JP4292220B2 (en) | 2007-04-16 | 2007-04-16 | Virtual computer system |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001120468A Division JP4291964B2 (en) | 2001-04-19 | 2001-04-19 | Virtual computer system |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008134948A Division JP4548514B2 (en) | 2008-05-23 | 2008-05-23 | Control method of virtual computer system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007242039A JP2007242039A (en) | 2007-09-20 |
JP4292220B2 true JP4292220B2 (en) | 2009-07-08 |
Family
ID=38587445
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007106658A Expired - Fee Related JP4292220B2 (en) | 2007-04-16 | 2007-04-16 | Virtual computer system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4292220B2 (en) |
-
2007
- 2007-04-16 JP JP2007106658A patent/JP4292220B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2007242039A (en) | 2007-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4291964B2 (en) | Virtual computer system | |
JP4921384B2 (en) | Method, apparatus and system for dynamically reallocating memory from one virtual machine to another | |
US8830228B2 (en) | Techniques for enabling remote management of servers configured with graphics processors | |
US20150169346A1 (en) | Method for controlling a virtual machine and a virtual machine system | |
US20090265708A1 (en) | Information Processing Apparatus and Method of Controlling Information Processing Apparatus | |
US20140325202A1 (en) | Intelligent boot device selection and recovery | |
JP2011100431A (en) | Device and method for controlling virtual machine | |
Takemura et al. | The book of Xen: a practical guide for the system administrator | |
JP2014059733A (en) | Information processing system, and image processor | |
CN112286633A (en) | Virtual machine creating method, device, equipment and storage medium based on CloudStack platform | |
US8549545B2 (en) | Abstraction of computer disk image cloning capabilities from bootable media | |
KR101564293B1 (en) | Method for device virtualization and apparatus therefor | |
JP4292220B2 (en) | Virtual computer system | |
US20160179553A1 (en) | Execution of multiple operating systems without rebooting | |
CN110941408A (en) | KVM virtual machine graphical interface output method and device | |
JP4548514B2 (en) | Control method of virtual computer system | |
US20240427619A1 (en) | Maintaining live state of virtual function during virtual machine save and restore operations | |
JP2010128943A (en) | Information processing apparatus and method of controlling the same | |
JP2017068824A (en) | Information processing device | |
JP2006276962A (en) | Design development method utilizing computer, computer utilizing method, and system | |
JP5343489B2 (en) | Computer system, legacy application execution method, and program | |
US20190012128A1 (en) | Multi-monitor alignment on a thin client | |
Opsahl | A Comparison of Management of Virtual Machines with z/VM and ESX Server | |
Baclit et al. | Linux Virtualization | |
JP2003280938A (en) | Updating method and start-up method of operating system and recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071113 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080115 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080401 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080523 |
|
A911 | Transfer to examiner for re-examination before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20080716 |
|
A912 | Re-examination (zenchi) completed and case transferred to appeal board |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20080808 |
|
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: 20090406 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120410 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120410 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130410 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130410 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140410 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |