JPH0713783A - Operating method for virtual machine system - Google Patents

Operating method for virtual machine system

Info

Publication number
JPH0713783A
JPH0713783A JP15483193A JP15483193A JPH0713783A JP H0713783 A JPH0713783 A JP H0713783A JP 15483193 A JP15483193 A JP 15483193A JP 15483193 A JP15483193 A JP 15483193A JP H0713783 A JPH0713783 A JP H0713783A
Authority
JP
Japan
Prior art keywords
guest
interrupt
virtual machine
virtual computer
command
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
JP15483193A
Other languages
Japanese (ja)
Inventor
Toshimichi Kojima
利道 小島
Koji Sugano
孝司 菅野
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 JP15483193A priority Critical patent/JPH0713783A/en
Publication of JPH0713783A publication Critical patent/JPH0713783A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To operate plural guest OSs comprehensively with an operation for real machine by conforming an interruption code to the operation in a system comprised of plural kinds of guest OSs, a virtual machine, and the real machine. CONSTITUTION:The real machine 1101 notifies an operating command inputted from a CD 1401 to the virtual machine 1201 in the interruption code. The virtual machine 1201 simulates interruption in accordance with the kind of the guest OS and the interruption code and notifies them to the guest OSs #1-#3. The guest OS executes an OS command string in accordance with the operating command registered in advance dealing with the interruption code. In this way, the comprehensive operation of a computer system when it goes down can be performed with an easy operation, which reduces the burden on an operator.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数種類のゲストOS
を稼働させる仮想計算機システムを一つのコマンドや操
作で停止等ができ、仮想計算機システムの自動運転技術
の一つとしてオペレターのオペレーションの最適な省力
化技術に関する。
The present invention relates to a plurality of guest OSs.
It is possible to stop a virtual computer system that runs a computer with a single command or operation, and relates to optimal labor-saving technology for operation of an operator as one of the automatic operation techniques of the virtual computer system.

【0002】[0002]

【従来の技術】従来技術では、特開平1−17650号
の様に、仮想計算機上の操作手順プログラムにOSのメ
ッセージとこれに応答して実行するOSコマンド列を格
納しておき、OSの自動操作を支援する仮想計算機上の
操作実行プログラムが、指定されたメッセージの出力に
応じて対応するOSコマンドを実行する。このようにし
て各々1つのOSの自動操作を行うことができ、オペレ
ータのオペレーションの省力化を図っている。
2. Description of the Related Art In the prior art, as in Japanese Patent Laid-Open No. 17650/1990, an OS message and an OS command string to be executed in response to the OS message are stored in an operating procedure program on a virtual machine to automatically execute the OS. The operation execution program on the virtual machine that supports the operation executes the corresponding OS command according to the output of the designated message. In this way, one OS can be automatically operated, and the labor of the operation of the operator is reduced.

【0003】[0003]

【発明が解決しようとする課題】前記特開平1−176
50号による技術は、各OSへのコマンド投入を自動的
に行える点で良い。しかし、不定期の操作について仮想
計算機と仮想計算機上のゲストOSを簡単なコマンドや
操作でオペレーションするものは、なかった。
[Patent Document 1] Japanese Patent Application Laid-Open No. 1-176
The technology according to No. 50 is good in that it can automatically input a command to each OS. However, regarding irregular operations, there is no one that operates the virtual computer and the guest OS on the virtual computer with simple commands and operations.

【0004】本発明の目的は、緊急停止等の不定期の操
作で、仮想計算機と仮想計算機上の複数の種類のゲスト
OSを簡単な1つのオペレーションで操作可能な仮想計
算機システムを提供することにある。
An object of the present invention is to provide a virtual computer system capable of operating a virtual computer and a plurality of types of guest OSs on the virtual computer by a simple operation by an irregular operation such as an emergency stop. is there.

【0005】[0005]

【課題を解決するための手段】上記課題を解決するため
に、1台の実計算機上で仮想計算機と複数のゲストOS
が稼働する計算機システムに於いて、計算機が仮想計算
機に割込む割込みコードを操作指示毎に割付け、該割込
みコードにより割り込まれたとき複数のゲストOSへの
割込みをシミュレートする機能を仮想計算機に持ち、該
仮想計算機がゲストOSに割込む割込みコードを該操作
指示ごとに割付け、該割込みコードにより割り込まれた
とき各OSは固有のコマンド列または処理を実行する機
能を各OSに持つ。
In order to solve the above-mentioned problems, a virtual computer and a plurality of guest OSs are provided on one real computer.
In a computer system in which the virtual machine operates, the virtual machine has a function of allocating an interrupt code for the virtual machine to interrupt each virtual machine and simulating interrupts to multiple guest OSs when interrupted by the interrupt code. An interrupt code to be interrupted by the virtual machine to the guest OS is allocated for each operation instruction, and each OS has a function of executing a unique command sequence or processing when interrupted by the interrupt code.

【0006】これにより、実計算機に対しての1つの操
作により、仮想計算機上の複数のOSを一括操作するこ
とを実現する。
Thus, it is possible to collectively operate a plurality of OSs on the virtual computer by one operation on the real computer.

【0007】[0007]

【作用】操作の実行前に、計算機システムの一括操作内
容に対応したコマンド列又は機能を各OSに組み込んで
おく。このコマンド列は、一括操作内容に対応した1つ
又は複数のOSコマンドの列である。前述の機能は、O
Sの構成定義時にOSの一部として組み込む該操作を実
現する機能を有するプログラムである。
Before the operation is executed, the command sequence or function corresponding to the contents of the batch operation of the computer system is installed in each OS. This command string is a string of one or more OS commands corresponding to the contents of the batch operation. The above functions are
It is a program having a function of implementing the operation to be incorporated as a part of the OS when defining the configuration of S.

【0008】実計算機の操作コンソールから一括操作指
示コマンドが入力されると、実計算機は仮想計算機に特
定の割込みコードで割込み、仮想計算機はゲストOSの
種類ごとに割込みをシミュレートする。仮想計算機が、
ゲストOSに割込むと、ゲストOSは割込みコードに対
応したコマンド列又は機能を実行し全ゲストOSが実計
算機に入力された一括操作指示コマンドの操作を実現す
る。
When a batch operation instruction command is input from the operation console of the real computer, the real computer interrupts the virtual computer with a specific interrupt code, and the virtual computer simulates an interrupt for each type of guest OS. Virtual machine
When interrupted to the guest OS, the guest OS executes the command sequence or function corresponding to the interrupt code, and all the guest OSs realize the operation of the batch operation instruction command input to the real computer.

【0009】このようにして、複数のOSと仮想計算機
を含めた計算機システムを、簡単な操作で一括して操作
出来、オペレータの操作負荷を軽減した計算機システム
が提供できる。
In this way, a computer system including a plurality of OSs and virtual computers can be collectively operated by a simple operation, and a computer system in which the operation load on the operator is reduced can be provided.

【0010】[0010]

【実施例】以下、本発明の一実施例を、図1,図2,図
3よりシステム停止を例に説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to FIGS. 1, 2 and 3 by taking a system stop as an example.

【0011】実計算機1101は、予め決められたオペ
レーション(システム停止)に対応した割込みコードを
仮想計算機1201に通知する機構1102を持つ。
The real computer 1101 has a mechanism 1102 for notifying the virtual computer 1201 of an interrupt code corresponding to a predetermined operation (system stop).

【0012】1001のサービスプロセッサ(以下SV
Pと略す。)のコンソールディスプレイ(以下CDと略
す。)1401から入力された停止コマンドは、100
1及び1101で、停止コマンドに対応した割込みと割
込みコードに変換され、既知の割込み発生機構1102
により仮想計算機1201に通知される。
1001 service processor (hereinafter SV
Abbreviated as P. ), The stop command input from the console display (abbreviated as CD hereinafter) 1401 is 100
In 1 and 1101, the interrupt corresponding to the stop command and the interrupt code are converted, and the known interrupt generation mechanism 1102
Is notified to the virtual computer 1201.

【0013】1201は、図3に示す割込み処理をシミ
ュレートする機構1202を持つ。
1201 has a mechanism 1202 for simulating the interrupt processing shown in FIG.

【0014】図3では、3001で割込みが発生する
と、3002で停止コマンドに対応した割込みか判定
し、停止コマンドに対応した割込みならば、3003で
1301〜1303のOS#1〜OS#3に対し、停止
割込みを種類の異なるOSに通知するためOSの種類に
対応した割込みと割込みコードに変換し、各OSに対し
割込みと割込みコードとを既知の機構1202がシミュ
レートする。その後、3004で1201は1301〜
1303の各OSの処理の完了を待つ。3005で、全
ゲストOSに対しシミュレーション処理を行ったかチェ
ックし、未完のゲストOSが有れば3003へ戻る。全
ゲストOSに対し、シミュレーション処理が完了した
ら、3001へ戻る。
In FIG. 3, when an interrupt occurs in 3001, it is determined in 3002 whether the interrupt corresponds to the stop command. If the interrupt corresponds to the stop command, 3003 instructs OS # 1 to OS # 3 of 1301 to 1303. , A stop interrupt is notified to different types of OSs, the interrupts and interrupt codes corresponding to the types of OSs are converted, and the known mechanisms 1202 simulate the interrupts and interrupt codes for each OS. After that, in 3004, 1201 is 1301-
It waits for the completion of the processing of each OS of 1303. In 3005, it is checked whether or not the simulation processing has been performed for all guest OSs, and if there is an incomplete guest OS, the process returns to 3003. When the simulation process is completed for all guest OSs, the process returns to 3001.

【0015】一方、ゲストOS1301〜1303は、
図2に示す割込みによりコマンド列1511〜1513
を実行する機構1311〜1313を持つ。今例えば、
OS#1の1301にシミュレートされた割込みが入っ
た場合を説明する。2001で割込みを待っていたOS
#1の1311は、2002の判定で割込みコードを判
定し、停止処理の割込みコードの場合は、2003でコ
ードの種類により決められた処理を行う。この時、停止
の処理は稼働環境の構築時にOSの中に組み込んでいて
も良く、又コマンド列としてファイル1511に持って
いてもよい。1311は、2003完了後、2004で
既知の方法(例えば割込み)で、仮想計算機1201に
通知する。これにより従来は、1421,1422,1
423で入力すべき停止コマンド列の入力が不要にな
り、オペレーションの省力化が図れる。
On the other hand, the guest OSs 1301-1303 are
Command sequences 1511 to 1513 are generated by the interrupt shown in FIG.
It has mechanisms 1311 to 1313 for executing. Now for example
A case where a simulated interrupt enters the OS # 1 1301 will be described. OS that was waiting for an interrupt in 2001
1311 of # 1 determines the interrupt code in the determination of 2002, and in the case of the interrupt code of the stop processing, performs the processing determined by the code type in 2003. At this time, the stop processing may be incorporated in the OS when the operating environment is constructed, or may be included in the file 1511 as a command string. After completion of 2003, 1311 notifies the virtual computer 1201 by a method known in 2004 (for example, interrupt). As a result, conventionally, 1421, 1422, 1
It is not necessary to input the stop command sequence that should be input in 423, and labor can be saved.

【0016】当方式によれば、実計算機上にOSを稼働
させた場合のパワーオフ操作時にも、パワーオフボタン
によりOSへの割込みを発生させる機構と、正常な停止
処理の完了を待つ機構を組み込むことにより、正常停止
が可能である。
According to this method, even when a power-off operation is performed when the OS is operated on a real computer, a mechanism for generating an interrupt to the OS by the power-off button and a mechanism for waiting for the completion of normal stop processing are provided. By incorporating it, it is possible to stop normally.

【0017】又、割込みコードを停止以外のオペレーシ
ョンに割り付けることにより、様々な一括操作が可能と
成る。
By assigning the interrupt code to an operation other than the stop, various batch operations can be performed.

【0018】[0018]

【発明の効果】本発明によれば、複数種類の複数のオペ
レーティングシステムを稼働させることが出来る仮想計
算機システムの正常な一括停止動作などの一括操作を実
計算機から入力された1つのコマンドにより実現するこ
とを可能とし、オペレータのオペレーション負荷を軽減
することができる。
According to the present invention, a batch operation such as a normal batch stop operation of a virtual computer system capable of operating a plurality of operating systems of a plurality of types is realized by one command input from a real computer. It is possible to reduce the operational load on the operator.

【図面の簡単な説明】[Brief description of drawings]

【図1】本技術を適用する計算機システムの構成例であ
る。
FIG. 1 is a configuration example of a computer system to which the present technology is applied.

【図2】本技術を実現するゲストOSが具備する機能の
処理フローである。
FIG. 2 is a processing flow of functions included in a guest OS that realizes the present technology.

【図3】本技術を実現する仮想計算機が具備する機能の
処理フローである。
FIG. 3 is a processing flow of functions included in a virtual computer that implements the present technology.

【符号の説明】[Explanation of symbols]

1001…サービスプロセッサ(SVP)、 1101…実計算機、 1102…実計算機1101の割込み機構、 1201…仮想計算機、 1202…仮想計算機1201の割込みシミュレート機
構、 1301…ゲストOS#1、 1302…ゲストOS#2、 1303…ゲストOS#3、 1311…ゲストOS#1の割込み処理機構、 1312…ゲストOS#2の割込み処理機構、 1313…ゲストOS#3の割込み処理機構、 1401…実計算機を操作するコンソールディスプレ
イ、 1411…仮想計算機を操作するコンソールディスプレ
イ、 1421…ゲストOS#1を操作するコンソールディス
プレイ、 1422…ゲストOS#2を操作するコンソールディス
プレイ、 1423…ゲストOS#3を操作するコンソールディス
プレイ、 1511…ゲストOS#1を操作するOSコマンド列、 1512…ゲストOS#2を操作するOSコマンド列、 1513…ゲストOS#3を操作するOSコマンド列。
Reference numeral 1001 ... Service processor (SVP), 1101 ... Real computer, 1102 ... Interrupt mechanism of real computer 1101, 1201 ... Virtual computer, 1202 ... Interrupt simulation mechanism of virtual computer 1201, 1301 ... Guest OS # 1, 1302 ... Guest OS # 2, 1303 ... Guest OS # 3, 1311 ... Guest OS # 1 interrupt processing mechanism, 1312 ... Guest OS # 2 interrupt processing mechanism, 1313 ... Guest OS # 3 interrupt processing mechanism, 1401 ... Console for operating real computer Display, 1411 ... Console display for operating virtual computer, 1421 ... Console display for operating guest OS # 1, 1422 ... Console display for operating guest OS # 2, 1423 ... Console display for operating guest OS # 3 , OS command string to operate the 1511 ... guest OS # 1, 1512 ... OS command string to operate the guest OS # 2, OS command string to operate the 1513 ... guest OS # 3.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】仮想計算機及び仮想計算機上の複数種類の
ゲストOSを一括操作する操作指示を、仮想計算機への
割込みコード及び仮想計算機上のゲストOSへの割込み
コードに割当て、仮想計算機は割込みをトリガとしゲス
トOSへの割込みをゲストOSの種類によりシミュレー
トする機能を具備し、各々のゲストOSは該割込みコー
ドにより該ゲストOS固有の操作を実行する機能を具備
し、仮想計算機と仮想計算機上のゲストOSとの連動に
より、仮想計算機と仮想計算機上の複数種類のゲストO
Sを一括操作することを特徴とする仮想計算機システム
の操作方法。
1. An operation instruction for collectively operating a virtual computer and a plurality of guest OSs on the virtual computer is assigned to an interrupt code to the virtual computer and an interrupt code to the guest OS on the virtual computer, and the virtual computer interrupts. The guest OS has a function of simulating an interrupt to the guest OS depending on the type of the guest OS, and each guest OS has a function of executing an operation unique to the guest OS by the interrupt code. By linking with the guest OS of the virtual computer, multiple types of guest O
A method for operating a virtual computer system, comprising operating S collectively.
JP15483193A 1993-06-25 1993-06-25 Operating method for virtual machine system Pending JPH0713783A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15483193A JPH0713783A (en) 1993-06-25 1993-06-25 Operating method for virtual machine system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15483193A JPH0713783A (en) 1993-06-25 1993-06-25 Operating method for virtual machine system

Publications (1)

Publication Number Publication Date
JPH0713783A true JPH0713783A (en) 1995-01-17

Family

ID=15592836

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15483193A Pending JPH0713783A (en) 1993-06-25 1993-06-25 Operating method for virtual machine system

Country Status (1)

Country Link
JP (1) JPH0713783A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009288864A (en) * 2008-05-27 2009-12-10 Fujitsu Ltd Input/output emulation mechanism of virtual machine

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009288864A (en) * 2008-05-27 2009-12-10 Fujitsu Ltd Input/output emulation mechanism of virtual machine

Similar Documents

Publication Publication Date Title
US4819234A (en) Operating system debugger
US5922072A (en) Method and apparatus for creating alternate boot environments in a computer
US7272799B2 (en) Virtual machine system and virtual machine control method
US4675814A (en) Method of switching operating systems for a data processing system
US5365606A (en) Virtual software machine running multiple program modules in a single address space of a target computer
EP0210345B1 (en) Virtual machine
US8671270B2 (en) System connected to a memory for storing an extended firmware having a bios emulator in which the bios emulator is overwritten using a interruption vector for handling a bios call
JPS6017539A (en) Emulation system
JPH0664538B2 (en) A method for interrupting batch task processing in a virtual machine data processing system
ITTO980869A1 (en) PROCESSOR WITH SYSTEM FOR PREPARING A START-UP RECORD WITH CHANGEABLE PARTITION OF THE MEMORY DEVICE.
JPH05216689A (en) Computer apparatus and computer-apparatus operating method
JP2708608B2 (en) Virtual machine IPL processing method
JPH0713783A (en) Operating method for virtual machine system
US6179488B1 (en) Software execution systems
JP3442083B2 (en) Job control system
JP2899009B2 (en) Information processing device
JPH05224894A (en) Switching system for os
JPH02178864A (en) Ipl processing system
JP2556018B2 (en) Channel path group management method
JPH04348412A (en) Interruption clearing system for application of power supply
JPH0638238B2 (en) Virtual computer system
JPS61160147A (en) Virtual computer control system
JPS633348A (en) Data processing simulation system
Bengtson Microcomputer vs. mainframe simulations: a case study
JPH04149741A (en) Automatic operation method for plural operating system os