JPH0235528A - Control system for virtual computer system - Google Patents
Control system for virtual computer systemInfo
- Publication number
- JPH0235528A JPH0235528A JP18616288A JP18616288A JPH0235528A JP H0235528 A JPH0235528 A JP H0235528A JP 18616288 A JP18616288 A JP 18616288A JP 18616288 A JP18616288 A JP 18616288A JP H0235528 A JPH0235528 A JP H0235528A
- Authority
- JP
- Japan
- Prior art keywords
- virtual machine
- operating system
- virtual
- termination
- monitor
- 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
Links
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は仮想計算機システムの制御方式に関する。特に
、オペレーティングシステムの制御下でプロセスとして
仮想計算機モニタを動作させ、その上で複数の仮想計算
機を擬似しているジョブ型板想計算機システムの制御方
式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a control method for a virtual computer system. In particular, the present invention relates to a control method for a job-based board-based computer system in which a virtual computer monitor operates as a process under the control of an operating system and simulates a plurality of virtual computers.
本発明は特殊な制御プログラムを使用して一つの計算機
システムの中に複数個の仮想計算機を作り出し、個々の
仮想計算機の上で異なるオペレーティングシステムの動
作を可能にする仮想計算機システムの制御方式において
、
主オペレーティングシステムが動作不能となって終了す
る直前に仮想計算機モニタに制御を移行し、仮想計算機
モニタで動作している仮想計算機に、その仮想計算機上
のオペレーティングシステムの起動時にあらかじめ登録
された終了通知用入力データを投入することにより、
仮想計算機上で動作しているオペレーティングシステム
の終了処理を実行し、復旧時の引継ぎ情報を正しく設定
して再実行時に正しく立ち上るようにしたものである。The present invention is a control method for a virtual computer system that uses a special control program to create a plurality of virtual computers in one computer system and allows different operating systems to operate on each virtual computer. Control is transferred to the virtual machine monitor just before the main operating system becomes inoperable and terminates, and a termination notification is sent to the virtual machine running on the virtual machine monitor, which is registered in advance when the operating system on that virtual machine starts. By inputting the input data for the virtual machine, the operating system running on the virtual machine is terminated, and the recovery information is set correctly so that it will start up correctly when restarted.
従来、オペレーティングシステムの制御下でプロセスと
して動作する仮想計算機モニタが複数の仮想計算機を擬
似しその上でオペレーティングシステムを動作させてい
るジョブ型板想計算機システムが用いられている。BACKGROUND ART Conventionally, a job-based board computer system has been used in which a virtual computer monitor that operates as a process under the control of an operating system simulates a plurality of virtual computers and runs an operating system on them.
このような従来の仮想計算機システムでは、オペレーテ
ィングシステムがハードウェアあるいはプログラムの障
害でそれ以上の動作が不可能になったとき、終了処理を
実行し、障害情報を収集し、中央処理装置を停止するよ
うになっているが、仮想計算機モニタによって擬似され
ている仮想計算機上で動作しているオペレーティングシ
ステムの終了処理が実行されていないため、ファイル状
態が中途半端な状態であったり、復旧時の引継ぎ情報が
正しく設定されていなし)ために再度仮想計算機上のオ
ペレーティングシステムを実行しようとしたときに正し
く立ち上らない問題がある。In such conventional virtual computer systems, when the operating system becomes unable to operate any further due to a hardware or program failure, it executes termination processing, collects failure information, and shuts down the central processing unit. However, because the termination process of the operating system running on the virtual machine simulated by the virtual machine monitor has not been executed, the file status may be in an incomplete state or the takeover during recovery may be incomplete. There is a problem where the operating system on the virtual machine does not start up correctly when trying to run the operating system on the virtual machine again because the information is not set correctly.
すなわち、仮想計算機上のオペレーティングシステムの
終了処理が実行されないままでオペレーティングシステ
ムが停止してしまうために、再度仮想計算機のオペレー
ティングシステムを実行しようとしたときに正しく動作
しないことがある欠点を有している。In other words, because the operating system on the virtual machine stops without the termination process being executed, it has the disadvantage that when you try to run the operating system on the virtual machine again, it may not work properly. There is.
本発明はこのような欠点を除去するもので、オペレーテ
ィングシステムがなんらかの障害により動作不能になっ
たときに終了処理を確実に実行して復旧時の引継ぎ情報
を正しく設定し、再実行時に正しく立ち上げることがで
きる方式を提供することを目的とする。The present invention eliminates these drawbacks by ensuring that when the operating system becomes inoperable due to some kind of failure, it reliably executes termination processing, correctly sets the inheritance information upon recovery, and correctly bootstraps the operating system upon re-execution. The purpose is to provide a method that can be used.
本発明は、中央処理装置と、複数の周辺装置に接続され
た入出力制御装置と、この中央処理装置およびこの入出
力制御装置に接続された主記憶装置と、この主記憶装置
上に、主オペレーティングシステムに障害が発生したと
きにその障害を検出するシステム障害検出手段と、仮想
計算機モニタにより擬似される複数の仮想計算機とを備
え、上記主オペレーティングシステムが障害により動作
不能になったときに上記中央処理装置を停止する手段を
含む仮想計算機システムの制御方式において、上記仮想
計算機に、上記オペレーティングシステムの終了を上記
仮想計算機モニタに通知する手段と、上記仮想計算機が
自己のオペレーティングシステムを動作するときにその
オペレーティングシステムに終了通知を与える入力デー
タを登録する手段とを備え、上記仮想計算機モニタに、
上記主オペレーティングシステムが終了したときに上記
入力データを上記仮想計算機の入力装置から入力し、上
記仮想計算機上のオペレーティングシステムへの終了通
知を指示する手段を備えたことを特徴とする。The present invention provides a central processing unit, an input/output control device connected to a plurality of peripheral devices, a main storage device connected to the central processing unit and this input/output control device, and a main storage device on the main storage device. A system failure detection means for detecting a failure when a failure occurs in the operating system, and a plurality of virtual machines simulated by a virtual machine monitor, and the system detects the failure when the main operating system becomes inoperable due to a failure. In a control method for a virtual computer system including means for stopping a central processing unit, means for notifying the virtual machine monitor of termination of the operating system in the virtual machine, and when the virtual machine runs its own operating system. means for registering input data for giving a termination notification to the operating system;
The present invention is characterized by comprising means for inputting the input data from the input device of the virtual machine and instructing the operating system on the virtual machine to notify the completion when the main operating system is terminated.
オペレーティングシステムの制御下でプロセスとして仮
想計算機モニタが動作中に、主オペレーティングシステ
ムがハードウェアあるいはプログラムの障害その他によ
りそれ以上の動作が不可能になることが有り得る。この
とき、この主オペレーティングシステムが動作不能とな
って終了する直前に仮想計算機モニタに終了を通知する
。While the virtual machine monitor is operating as a process under the control of the operating system, the main operating system may become unable to operate any further due to a hardware or program failure. At this time, just before the main operating system becomes inoperable and ends, the virtual machine monitor is notified of the end.
この通知により、仮想計算機モニタは仮想計算機に含ま
れているオペレーティング/ステムの起動時にあらかじ
め登録されている終了通知用入力データを仮想計算機モ
ニタにより動作している仮想計算機に仮想入力装置から
投入し、仮想計算機に含まれているオペレーティングシ
ステムの終了処理を実行する。In response to this notification, the virtual machine monitor inputs input data for termination notification that has been registered in advance at the startup of the operating system/system included in the virtual machine to the virtual machine running by the virtual machine monitor from the virtual input device. Executes termination processing of the operating system included in the virtual machine.
この終了処理により、ファイル状態が整えられ、また復
旧時の引継ぎ情報が正しく設定され、再度オペレーティ
ングシステムを実行するときに正しく立ち上けることが
できる。Through this termination process, the file status is adjusted, the inheritance information at the time of recovery is set correctly, and the operating system can be started correctly when the operating system is executed again.
次に、本発明実施例を図面に基づいて説明する。 Next, embodiments of the present invention will be described based on the drawings.
第1図は本発明実施例の構成を示すブロック図である。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
本発明実施例は、中央処理装置1と、主記憶装置2と、
入出力制御装置3と、周辺装置4とを備える。The embodiment of the present invention includes a central processing unit 1, a main storage device 2,
It includes an input/output control device 3 and a peripheral device 4.
主記憶装置2には主オペレーティングシステム5と、仮
想計算機モニタ7と、システム障害検出部6とを含み、
仮想計算機モニタ7には擬似している仮想計算機9と、
仮想計算機終了処理制御部8とを含み、仮想計算機9に
はオペレーティングシステム10と、オペレーティング
システム10を終了させるだめの終了通知用入力データ
(指示データ)12と、この終了通知用入力データ12
を入力する仮想入力装置11とを含む。The main storage device 2 includes a main operating system 5, a virtual machine monitor 7, and a system failure detection unit 6,
The virtual computer monitor 7 has a simulated virtual computer 9,
The virtual machine 9 includes an operating system 10, termination notification input data (instruction data) 12 for terminating the operating system 10, and input data 12 for termination notification.
and a virtual input device 11 for inputting.
主オペレーティングシステム5がハードウェア障害また
はプログラム障害によりそれ以上の動作が不能になった
とき、主オペレーティングシステム5にあらかじめ登録
されているシステム障害検出部6にその内容が報告され
る。システム障害検出部6では主オペレーティングシス
テム5の終了処理障害情報の収集を行い、システム停止
をする直前仮想計算機モニタ71ご主オペレーティング
システム5が障害になったことを通知する。通知する手
段としては主オペレーティングシステム5が仮想計算機
モニタ7に制御を移行するときに、ある特定レジスタX
に特定パターンYを設定することによって実施する。When the main operating system 5 becomes unable to operate any further due to a hardware failure or a program failure, the contents are reported to a system failure detection unit 6 registered in advance in the main operating system 5. The system failure detection unit 6 collects termination processing failure information of the main operating system 5, and notifies the virtual machine monitor 71 that the main operating system 5 has failed immediately before the system is to be stopped. As a means of notification, when the main operating system 5 transfers control to the virtual machine monitor 7, a specific register
This is implemented by setting a specific pattern Y to .
障害の通知をされた仮想計算機モニタ7は特定レジスタ
Zの内容が特定パターンYであるか否かを比較し、同じ
であれば仮想計算機モニタ7内にある仮想計算機終了処
理制御部8へ制御を移行する。仮想計算機終了処理制御
部8は仮想計算機9に終了を指示する。仮想計算機9で
は実行しているオペレーティング/ステム10に仮想計
算機9上で起動されるときにあらかじめ登録されている
終了通知用入力データ12を仮想計算機9が制御してい
る仮想入力装置11から入力しオペレーティングシステ
ム10への終了処理の実行を指示する。仮想計算機9は
その後オペレーティングシステム10の終了を定期的に
監視し、オペレーティングシステム10が終了したとき
にその旨を仮想計算機終了処理制御部8Δ2通知する。The virtual machine monitor 7 that has been notified of the failure compares whether the contents of the specific register Z match the specific pattern Y, and if they are the same, sends control to the virtual machine termination processing control unit 8 in the virtual machine monitor 7. Transition. The virtual machine termination processing control unit 8 instructs the virtual machine 9 to terminate. In the virtual machine 9, when the operating system 10 that is running is started on the virtual machine 9, input data 12 for termination notification registered in advance is input from the virtual input device 11 controlled by the virtual machine 9. Instructs the operating system 10 to execute termination processing. The virtual machine 9 then periodically monitors the termination of the operating system 10, and notifies the virtual machine termination processing control unit 8Δ2 when the operating system 10 has terminated.
仮想計算機終了処理制御部8は動作している仮想計算機
9のすべてからオペレーティングシステム10の終了処
理通知をもらったときに中央処理装置1を停止する。The virtual machine termination process control unit 8 stops the central processing unit 1 when it receives notifications of the termination process of the operating system 10 from all of the operating virtual machines 9.
第2図は本発明実施例の動作の流れを示すフローチャー
トである。主オペレーティングシステム5が障害状態に
なり、この主オペレーティングシステム5のシステム障
害検出部6が障害を検出し、仮想計算機モニタ7に通知
後の仮想計算機モニタ7、仮想計算機終了処理制御部8
、および仮想計算機9の動作を示したものである。FIG. 2 is a flowchart showing the flow of operation of the embodiment of the present invention. The main operating system 5 enters a fault state, the system fault detection unit 6 of the main operating system 5 detects the fault, and the virtual machine monitor 7 and the virtual machine termination processing control unit 8 after notifying the virtual machine monitor 7 of the fault.
, and the operation of the virtual machine 9.
ステップaおよびステップjは仮想計算機モニタ7、ス
テップbおよびステップfは仮想計算機終了処理制御部
8、ステップc −eまでは仮想計算機9の動作を示し
ている。Steps a and j show the operations of the virtual machine monitor 7, steps b and f show the operations of the virtual machine termination processing control unit 8, and steps c to e show the operations of the virtual machine 9.
マス、主オペレーティングシステム5内のシステム障害
検出部6からレジスタXにパターンYを設定し、仮想計
算機モニタ7の制御を移行する。A pattern Y is set in the register X from the system failure detection unit 6 in the main operating system 5, and control of the virtual machine monitor 7 is transferred.
仮想計算機モニタ7では開始点でレジスタXにパターン
Yが入っているかどうかチエツクする(ステップa)。At the starting point, the virtual machine monitor 7 checks whether pattern Y is stored in register X (step a).
Y以外の内容であれば仮想計算機モニタ7の通常処理を
実行し、Yであれば仮想計算機終了処理制御部8を実行
する。If the content is other than Y, the normal processing of the virtual machine monitor 7 is executed, and if the content is Y, the virtual machine termination processing control unit 8 is executed.
仮想計算機終了処理制御部8ではそのときに動作してい
るすべての仮想計算機9に対して終了処理を通知する(
ステップb)。通知する手段としては仮想計算機9の一
部メモリに終了通知表示を実行することにより実施する
。The virtual machine termination process control unit 8 notifies all virtual machines 9 that are operating at that time of the termination process (
Step b). The notification is carried out by displaying a completion notification in a part of the memory of the virtual machine 9.
終了通知された仮想計算機9はオペレーティングシステ
ム10が動作しているかをチエツクしくステップC)、
動作していればあらかじめ仮想計算機9内に登録されて
いる終了通知用入力データ12を仮想入力装置11から
投入する(ステップd)。The virtual machine 9 that has been notified of termination checks whether the operating system 10 is running (step C).
If it is running, input data 12 for termination notification registered in advance in the virtual machine 9 is input from the virtual input device 11 (step d).
仮想計算機9上にある終了通知用入力データ12はオペ
レーティングシステム10が起動された際に、そのオペ
レーティングシステム10の種類およびハードウェア構
成を定義されたときに仮想計算機9が判断して自動的に
作成する方式と、オペレータ介入によって入力してもら
う方式がある。The termination notification input data 12 on the virtual machine 9 is automatically created when the operating system 10 is started and the virtual machine 9 determines when the type and hardware configuration of the operating system 10 is defined. There are two methods: one in which the information is input by an operator, and the other in which the information is entered through operator intervention.
その後仮想計算機9はオペレーティングシステム10の
終了を監視する(ステップf)。仮想計算機9がオペレ
ーティングシステム10がいなくなったことを検出した
ときにその旨を仮想計算機終了処理制御部8に通知する
。仮想計算機終了処理制御部8はステップbで終了指示
をしたすべての仮想計算機9から完了通知されるのを待
つ(ステップJ)。すべての完了通知が仮想計算機終了
処理制御部8に通知されたときその旨を仮想計算機モニ
タ7に通知して中央処理装置lを停止する(ステップk
)。After that, the virtual machine 9 monitors the termination of the operating system 10 (step f). When the virtual machine 9 detects that the operating system 10 is missing, it notifies the virtual machine termination processing control unit 8 of this fact. The virtual machine termination processing control unit 8 waits for completion notifications from all the virtual machines 9 to which termination instructions were given in step b (step J). When all completion notifications are notified to the virtual machine termination processing control unit 8, this is notified to the virtual machine monitor 7 and the central processing unit 1 is stopped (step k
).
以上説明したように本発明によれば、主オペレーティン
グシステムが終了する直前に仮想計算機モニタに制御を
移行し、仮想計算機モニタで動作している仮想計算機に
オペレーティングシステムの起動時にあらかじめ登録さ
れている終了通知用入力データを仮想入力装置から投入
することにより、主オペレーティングシステムが障害な
どによりそれ以上動作が不可能になったときに、オペレ
ーティングシステムの終了処理を確実に実行してファイ
ル状態を整え、復旧時の引継ぎ情報を正しく設定し、再
度仮想計算機上のオペレーティングシステムを実行する
ときに正しく立ち上げることができる効果がある。As explained above, according to the present invention, control is transferred to the virtual machine monitor immediately before the main operating system terminates, and the termination is registered in advance in the virtual machine running on the virtual machine monitor when the operating system is started. By inputting notification input data from a virtual input device, when the main operating system becomes unable to operate due to a failure, etc., the operating system can be reliably terminated, the file status adjusted, and recovered. This has the effect of correctly setting the time takeover information and allowing the operating system on the virtual machine to start up correctly when it is executed again.
第1図は本発明実施例の全体の構成を示すブロック図。
第2図は本発明実施例の動作の流れを示すフローチャー
ト。
1・・・中央処理装置、2・・・主記憶装置、3・・・
入出力制御装置、4・・・周辺装置、5・・・主オペレ
ーティングシステム、6・・・システム障害検出部、7
・・・仮想計算機モニタ、8・・・仮想計算機終了処理
制御部、9・・・仮想計算機、10・・・オペレーティ
ングシステム、11・・・仮想入力装置、12・・・終
了通知用入力データ (指示データ)。FIG. 1 is a block diagram showing the overall configuration of an embodiment of the present invention. FIG. 2 is a flowchart showing the operation flow of the embodiment of the present invention. 1...Central processing unit, 2...Main storage device, 3...
Input/output control device, 4... Peripheral device, 5... Main operating system, 6... System failure detection unit, 7
. . . Virtual machine monitor, 8 . . Virtual computer termination processing control unit, 9 . . . Virtual machine, 10 . instruction data).
Claims (1)
)と、 この中央処理装置およびこの入出力制御装置に接続され
た主記憶装置(2)と、 この主記憶装置上に、 主オペレーティングシステム(5)に障害が発生したと
きにその障害を検出するシステム障害検出手段(6)と
、 仮想計算機モニタ(7)により擬似される複数の仮想計
算機(9)と を備え、 上記主オペレーティングシステムが障害により動作不能
になったときに上記中央処理装置を停止する手段を含む
仮想計算機システムの制御方式において、 上記仮想計算機に、 上記オペレーティングシステムの終了を上記仮想計算機
モニタに通知する手段と、 上記仮想計算機が自己のオペレーティングシステムを動
作するときにそのオペレーティングシステムに終了通知
を与える入力データを登録する手段と を備え、 上記仮想計算機モニタに、 上記主オペレーティングシステムが終了したときに上記
入力データを上記仮想計算機の入力装置から入力し、上
記仮想計算機上のオペレーティングシステム(10)へ
の終了通知を指示する手段を備えたことを特徴とする仮
想計算機システムの制御方式。[Claims] 1. A central processing unit (1) and an input/output control device (3) connected to a plurality of peripheral devices (4).
), a main storage device (2) connected to this central processing unit and this input/output control device, and a device on this main storage device that detects a failure when it occurs in the main operating system (5). comprising a system fault detection means (6) and a plurality of virtual machines (9) simulated by a virtual machine monitor (7), and stops the central processing unit when the main operating system becomes inoperable due to a fault. In the control method for a virtual computer system, the control method includes means for notifying the virtual machine monitor of termination of the operating system of the virtual machine; and means for notifying the virtual machine monitor of termination of the operating system of the virtual machine; and means for registering input data for giving a termination notification, inputting the input data into the virtual machine monitor from the input device of the virtual machine when the main operating system is terminated, and controlling the operating system on the virtual machine. (10) A control method for a virtual computer system, comprising means for instructing a termination notification to a computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18616288A JPH0235528A (en) | 1988-07-25 | 1988-07-25 | Control system for virtual computer system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP18616288A JPH0235528A (en) | 1988-07-25 | 1988-07-25 | Control system for virtual computer system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH0235528A true JPH0235528A (en) | 1990-02-06 |
Family
ID=16183473
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP18616288A Pending JPH0235528A (en) | 1988-07-25 | 1988-07-25 | Control system for virtual computer system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH0235528A (en) |
-
1988
- 1988-07-25 JP JP18616288A patent/JPH0235528A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2723068B2 (en) | Job re-execution method | |
DE10232919A1 (en) | Computer system with backup management for handling an embedded processor failure | |
JPH0235528A (en) | Control system for virtual computer system | |
JPH05314075A (en) | On-line computer system | |
JPS62249259A (en) | Computer system | |
JPH02196341A (en) | Fault restoring system for information processor | |
US20240403188A1 (en) | Computer system and method for processing debug message of computer system | |
JPS6139138A (en) | Multiplexing system | |
JPH07200334A (en) | Duplicate synchronization operation system | |
JP2545763B2 (en) | Restart method of batch processing in hot standby system | |
JPS63255742A (en) | data processing equipment | |
JPH0690693B2 (en) | Channel failure recovery controller | |
JP2002244885A (en) | Computer system monitoring system | |
JPH01120652A (en) | Setting system for monitor time of input/output device | |
JPH09152978A (en) | Restart processing system for information processor | |
JPH0332143A (en) | Processor extension method for multiple decentralization control exchange system | |
JPS61101845A (en) | Test system of information processor | |
JPS62245456A (en) | Time monitor and control system | |
JPH02310634A (en) | System for supervising runaway of program | |
JPH03266133A (en) | Line system fault processing system in hot stand-by system | |
JPS6128116A (en) | Automatic restoration control system of slave processor | |
JPS63211854A (en) | Emergency control circuit testing method for decentralized control processor | |
Hackel et al. | Supervisory Tasks on Operating Distributed Computing Systems | |
JPS61253551A (en) | Rising system for multi-processor system | |
JPH02244208A (en) | Information processor control system |