[go: up one dir, main page]

JPH04149741A - How to automatically operate multiple OS - Google Patents

How to automatically operate multiple OS

Info

Publication number
JPH04149741A
JPH04149741A JP27330590A JP27330590A JPH04149741A JP H04149741 A JPH04149741 A JP H04149741A JP 27330590 A JP27330590 A JP 27330590A JP 27330590 A JP27330590 A JP 27330590A JP H04149741 A JPH04149741 A JP H04149741A
Authority
JP
Japan
Prior art keywords
program
oss
specified
operating
procedure program
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
JP27330590A
Other languages
Japanese (ja)
Inventor
Toshiharu Tanaka
俊治 田中
Hidenori Umeno
梅野 英典
Naoko Ikegaya
池ケ谷 直子
Masatoshi Haraguchi
原口 政敏
Hiroshi Hirotaka
広隆 太司
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 JP27330590A priority Critical patent/JPH04149741A/en
Publication of JPH04149741A publication Critical patent/JPH04149741A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To enable automatic operation while establishing the synchronization of plural OSs by providing an operation execution program operating the OS according to an operation procedure program. CONSTITUTION:A real calculator 100 composed of a central processing unit or the like, a virtual machine monitor (VMM) 200 controlling the travelling of each OS of an operation OS 300 and OS group 400 to be operated, an operation control file 500 holding the operation control program, an operation procedure file 600 holding the operation procedure program, and TSS (Time Sharing System) terminal groups 700, are provided. First, the operation procedure program to operate plural OSs is prepared considering the synchronizing point of plural OSs. The operation execution program decides the output of a message designated by the operation procedure program to the console device of OS for output decision object, and a series of commands designated according to this is executed on the OS for execution. Thus, the automatic operation can be performed while taking the synchronization of plural OSs.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、1台の計X、機りで複数のオペレーティング
・システム(OS : Operating Syst
em)の操作を自動的に行なうのに好適な複数OSの自
動操作方法に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention provides a system for operating multiple operating systems (OS) on a single machine.
The present invention relates to an automatic operating method for multiple OSs suitable for automatically operating em).

〔従来の技術〕[Conventional technology]

1台の計算機」二で複数のOSが動作可能なシステムと
して、仮想計算機システム(VMS:Virtual 
Machine System)がある。仮想計算機シ
ステムは、特開昭57−212680号公報に記載され
ているように、1台の計算機上で論理的な計算機である
複数の仮想計算機(V M : Virtual Ma
chine)を実現し、各VM上での0.5の走行を可
能とする。
A virtual computer system (VMS) is a system that can run multiple OSs on a single computer.
Machine System). As described in Japanese Unexamined Patent Publication No. 57-212680, a virtual computer system is a system in which a single computer has multiple virtual computers (VM) which are logical computers.
chine) and allows 0.5 runs on each VM.

この各V M f、でのOSの走行を時分割等により制
御するとともに、VM上のOSが発行した特権命令やO
Sへの割込み等のシミュレーションを行なうのが仮想計
算機モニタ(VM、Mニジirtua1Machine
 Mon1tor)である。
In addition to controlling the running of the OS on each VM f by time-sharing, etc., the execution of privileged commands and operating systems issued by the OS on the VM is
The virtual machine monitor (VM, IRTUA1Machine) simulates interrupts to S, etc.
Mon1tor).

先願の特願平1−17650号には、このVM技術を応
用したOS操作自動化方法を開示している。このOS操
作自動化方法によれば、操作手順プログラムにOSのメ
ツセージとこれに応答して実行するOSコマンドの列を
格納しておく。そして、OSの自動操作を支援するVM
上で動作する操作実行プログラムが、被操作OSのメツ
セージを監視し、指定されたメツセージの出力に応じて
対応するOSコマンドを実行する。このようにして、各
操作手順は、各々1つのOSの自動操作を行うことが出
来る。
The earlier patent application No. 1-17650 discloses an OS operation automation method that applies this VM technology. According to this OS operation automation method, a series of OS messages and OS commands to be executed in response to the messages are stored in the operation procedure program. A VM that supports automatic operation of the OS
An operation execution program running above monitors messages from the operated OS and executes a corresponding OS command in response to the output of a specified message. In this way, each operation procedure can each perform automatic operation of one OS.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

前記特願平1〜17650号による技術は、従来逐次的
に手操作で行なっていた各OSへのコマンド投入を自動
的に行なえる点でよい。しかし、疎結合マルチプロセッ
サシステム(L CM P : LooselyCou
pled Multi−Processor)を構成す
るときのように複数のO3が連携を取りながら動作する
場合。
The technique disclosed in Japanese Patent Application Nos. 1 to 17650 is advantageous in that commands can be automatically input to each OS, which had conventionally been done manually one after another. However, loosely coupled multiprocessor systems (LCMP)
When multiple O3s operate in coordination, such as when configuring a multi-processor (multi-processor).

次の機能を有することが望ましい。It is desirable to have the following functions.

(1)複数のOSが連携を取りながら動作する場合、第
1の(1) Sの操作状況に従って、第2のOSの操作
を行なう必要がある。従って、複数のOSの同期を取り
ながら自動操作可能であること。
(1) When a plurality of OSs operate in cooperation with each other, it is necessary to operate the second OS according to the operation status of the first (1) S. Therefore, automatic operation is possible while synchronizing multiple OSs.

(2)複数のOSが連携を取りながら動作する場合、特
に、1つの操作手順プログラムにより複数のOSの自動
操作が可能であること。
(2) When a plurality of OSs operate in cooperation with each other, it is possible to automatically operate the plurality of OSes using one operating procedure program.

(3)複数のOSが連携を取りながら動作する場合2特
に、前記OSの同期点を記述する操作制御プログラムに
より前記複数のOSの自動操作が可能であること。
(3) When a plurality of OSs operate in cooperation with each other (2) In particular, the plurality of OSs should be able to be automatically operated by an operation control program that describes the synchronization points of the OSs.

本発明の目的は、複数のOSの同期をとりがら自動操作
可能な仮想計算機システムを提供することにある。
An object of the present invention is to provide a virtual computer system that can automatically operate a plurality of OSs while synchronizing them.

また、本発明の別の目的は、複数のOSが連携を取りな
がら動作する場合に、1つの操作手順プログラムにより
複数のOSの自動操作が11能な仮想計算機システムを
提供することにある。
Another object of the present invention is to provide a virtual computer system capable of automatically operating a plurality of OSs using a single operation procedure program when the plurality of OSes operate in cooperation with each other.

また、本発明の別の目的は、複数のOSが連携を取りな
がら動作する場合に、複数のO5の同期点を記述する操
作制御プログラムによりi?i記複数のOSの自@操作
が可能な仮想3f算機システムを提供すること番こある
Another object of the present invention is to provide i? It is our turn to provide a virtual 3F computer system that is capable of self-operating multiple OS's.

〔課題を解決するための手段〕 上記課題を解決するために、1台の計算機」−で複数の
OSが走行する計算機システムにおいて508識別子が
指定されたメソセージとコマンドからなる操作手順プロ
グラムと、前記操作手順プログラムに従って前記OSを
操作する操作実行プログラムを設け、 前記操作実行プログラムは、前記操作手順プログラムに
指定されたOSが指定されたメツセージを出力したか否
かを判定し、 前記操作手順プログラムに指定されたOSが指定された
メツセージを出力したことに応して、前記操作実行プロ
グラムは前記操作手順プログラムに指定されたOS対し
て、指定されたコマンドを実行する。
[Means for Solving the Problems] In order to solve the above problems, an operating procedure program consisting of messages and commands with a 508 identifier specified in a computer system running multiple OS on one computer, and An operation execution program is provided to operate the OS according to the operation procedure program, and the operation execution program determines whether or not the OS specified in the operation procedure program outputs a specified message; In response to the specified OS outputting the specified message, the operation execution program executes the specified command on the OS specified in the operation procedure program.

また、1台の計算機上で複数のOSが走行する計算機シ
ステムにおいて、 前記複数のOSの動作の同期点を記述する操作制御プロ
グラムと、前記○S毎の操作手順プログラムと前記操作
制御プログラムに従って前記OSを操作する操作実行プ
ログラムを設け、前記操作実行プログラムは、前記OS
を前記操作制御プログラムが記述する同期点まで各OS
の操作手順プログラムに従って操作した後前記OSの操
作を中断し、 全ての前記○Sが同期点に到達した時点で前記複数のO
Sの操作を再開する。
Further, in a computer system in which a plurality of OSs run on one computer, an operation control program that describes the synchronization point of the operation of the plurality of OSes, an operation procedure program for each ○S, and the operation control program according to the operation control program. An operation execution program for operating the OS is provided, and the operation execution program operates on the OS.
for each OS up to the synchronization point described by the operation control program.
After operating according to the operating procedure program, the operation of the OS is interrupted, and when all the ○Ss reach the synchronization point, the multiple OSs are
Resume operation of S.

〔作用〕[Effect]

(A)第1の作用 複数のOSの自動操作に先だって、複数のOSを操作す
るための操作手順プログラムを、複数のOSの同期点を
考慮して作成しておく。この操作手順プログラムは、出
力判定対象のOSが指定されたメツセージと実行対象”
iD OSが指定された一連のコしンドから構成されて
いる。
(A) First effect Prior to automatic operation of multiple OSes, an operating procedure program for operating multiple OSes is created in consideration of synchronization points of multiple OSes. This operating procedure program is based on a message that specifies the OS to be output judged and the execution target.
The iD OS consists of a specified series of commands.

操作実行プログラムは、この操作手順プログラムを次の
ように実行する。まず、操作実行プログラムは、前記操
作手順プログラムに指定されたメツセージが出力判定対
象のOSのコンソール装置に出力されたか否かを判定す
る。次に、出力判定対象のOSのコンソール装置に前記
メツセージが出力されたことに応じて、操作実行プログ
ラムは操作手順プログラムに指定された一連のコマンド
を前記実行対象のOSに実行する。
The operation execution program executes this operation procedure program as follows. First, the operation execution program determines whether the message specified in the operation procedure program has been output to the console device of the OS to be output determined. Next, in response to the message being output to the console device of the OS to be output determined, the operation execution program executes a series of commands specified in the operation procedure program to the OS to be executed.

このようにして、複数のOSの同期を取りながら自動操
作可能な仮想計算機システムを提供することができる。
In this way, it is possible to provide a virtual computer system that can be automatically operated while synchronizing multiple OSs.

また、複数のOSが連携を取りながら動作する場合に、
1つの操作手順プログラムにより複数のOSの自動操作
が可能な仮想計算機システムを提供することができる。
Also, when multiple OSes work together,
It is possible to provide a virtual computer system in which multiple OSs can be automatically operated using one operating procedure program.

(B)第2の作用 同期を取りながら動作する複数のOSの自動操作に先だ
って、これらのOSの同期点を記述する操作制御プログ
ラムを作成しておく。
(B) Second Operation Prior to automatic operation of a plurality of OSs operating in synchronization, an operation control program is created that describes the synchronization points of these OSes.

操作実行プログラムは、各OSを前記操作制御プログラ
ムが記述する同期点まで操作手順プログラムに従って操
作した後、OSの操作を中断し、全ての前記OSが同期
点に到達した時点で前記複数のOSの操作を再開する。
The operation execution program operates each OS according to the operation procedure program up to the synchronization point described by the operation control program, then suspends the operation of the OS, and when all the OSs reach the synchronization point, the operation execution program Resume operation.

このようにして、複数の○Sが連携を取りながら動作す
る場合に、複数のOSの同期点を記述する操作制御プロ
グラムを用いることにより前記複数のOSの自動操作が
可能な仮想計算機システムを提供することができる。
In this way, when a plurality of ○Ss operate in coordination, a virtual computer system is provided in which the plurality of OSs can be automatically operated by using an operation control program that describes the synchronization points of the plurality of OSes. can do.

〔実施例〕〔Example〕

以下、本発明の2つの実施例を図を用いて詳細に説明す
る。
Hereinafter, two embodiments of the present invention will be described in detail using figures.

A  1の 本実施例では、1つの操作手順プログラムが複数のOS
を制御することに特徴が有る。
In this embodiment of A1, one operating procedure program can be used on multiple OSs.
It is characterized by its control.

第1図に示した仮想計算機システムにおいて。In the virtual computer system shown in FIG.

100は中央処理装置等から構成される実計算機、20
0は操作05300及び被操作OS群400の各OSの
走行を制御する仮想計算機モニタ(VMM)、500は
第2の実施例で後述する操作制御プログラムを保持する
操作制御ファイル、600は操作手順プログラムを保持
する操作手順ファイル。
100 is a real computer consisting of a central processing unit, etc.; 20
0 is a virtual machine monitor (VMM) that controls the operation of the operating system 05300 and each OS of the operated OS group 400, 500 is an operation control file that holds an operation control program to be described later in the second embodiment, and 600 is an operation procedure program. An operating procedure file that holds the.

700はT S S (Time Sharing S
ystem )端末群である。説明を簡単にするために
、第1図では、実計算機100の一部である操作制御フ
ァイル500、操作手順ファイル6oO1および、 T
SS端末群700を、操作08300に接続した表わし
た。
700 is TSS (Time Sharing S
system) is a group of terminals. To simplify the explanation, in FIG. 1, the operation control file 500, operation procedure file 6oO1, and T
SS terminal group 700 is shown connected to operation 08300.

前述の特願平1−17650号、あるいは、特開昭60
−69737号公報に記載されているように、各被操作
OS群400のコンソール装置の制御画面には仮想計算
機モニタ200固有の制御を行なうためのCP (Co
ntrol Program )画面と、OS固有の制
御を行なうためのOS画面とが有る。CP画面では、仮
想計算機モニタ200が提供するコマンドを入力可能で
あり、仮想計算機モニタ200からのメツセージが出力
される。また、OS画面では、OSコマンドを入力可能
であり、そのコンソール装置で制御しているOSからの
メツセージが出力される。この2つの画面の切替えは、
被操作OS群400の各OSのコンソール装置となるT
SS端末群700中のTSS端末のキー操作等により行
なわれる。仮想計算機モニタ200は。
The above-mentioned Japanese Patent Application No. 1-17650 or Japanese Unexamined Patent Publication No. 1983
As described in Japanese Patent Application No. 69737, the control screen of the console device of each operated OS group 400 has a CP (Copyright) for controlling specific to the virtual machine monitor 200.
There is an OS screen for performing OS-specific control. On the CP screen, commands provided by the virtual machine monitor 200 can be input, and messages from the virtual machine monitor 200 are output. Further, on the OS screen, OS commands can be input, and messages from the OS controlled by the console device are output. To switch between these two screens,
T serving as a console device for each OS of the operated OS group 400
This is performed by key operations on the TSS terminals in the SS terminal group 700. The virtual machine monitor 200 is.

以下に述べる部分から構成される。It consists of the parts described below.

(a)操作○5300および被操作OS群400の各O
Sのコンソール装置の画面制御を行なうコンソール画面
制御部210 (b)被操作OS群400の各OSのコンソール装置の
02画面から投入された仮想計算機モニタ200のコマ
ンドおよびOS画面から投入されたOSコマンドを処理
するコマンド制御部220(c)各OSの入出力処理を
制御する入出力制御部(d)操作08300とのインタ
フェースである操作OSSインタフニ一部240 また、操作08300は、以下に述べる部分から構成さ
れる。
(a) Operation ○ 5300 and each O of the operated OS group 400
Console screen control unit 210 that controls the screen of the console device of S (b) Virtual machine monitor 200 commands input from the 02 screen of the console device of each OS in the operated OS group 400 and OS commands input from the OS screen Command control unit 220 (c) that processes the input/output processing of each OS (d) Operation OSS interface part 240 that is an interface with operation 08300 Also, operation 08300 includes the following parts: configured.

(e)操作制御ファイル500内の操作制御プログラム
および操作手順ファイル600内の操作手順プログラム
に従って被操作OS群400のOSの操作を行なう操作
実行プログラム310(f)被操作08群400内のO
Sのコンソール装置として使用されるTSS端末群70
0と被操作OS群400との対応関係を保持する端末1
0S対応テーブル320 (g)被操作08群400内の各OSのOS画面と02
画面を保持する画面バッファ330(h)仮想計算機モ
ニタ200とのインタフェースであるVMMインタフェ
ース部340 (i)画面バッファ330の制御を行なうTSS画面制
御部350 端末/○S対応テーブル320は、TSS端末群700
内の1つのTSS端末を指定する端末アドレスと、端末
アドレスが示すTSS端末を現在使用しているOSの識
別子を保持するカレントVMIDと、操作手順プログラ
ムによる制御が及ぶOSの範囲を規定する従属VMID
のフィールドからなる1例えば、第】図の端末10S対
応テーブル320は、端末アドレス(020) (7)
TSS端末71.0は呪在諏別子がVM−AのOSが使
用しており、識別子がVM−HのOSにも操作手順プロ
グラムによる制御が及ぶこと、また、端末アトL/X 
(021)(7)TSS端末720は識別子がVM−C
のOSが使用していることを示している。
(e) An operation execution program 310 that operates the OS of the operated OS group 400 according to the operation control program in the operation control file 500 and the operation procedure program in the operation procedure file 600. (f) The operation execution program 310 that operates the OS of the operated OS group 400
TSS terminal group 70 used as a console device for S
Terminal 1 that maintains the correspondence between 0 and the operated OS group 400
0S correspondence table 320 (g) OS screen of each OS in the operated 08 group 400 and 02
Screen buffer 330 that holds the screen (h) VMM interface unit 340 that is an interface with the virtual machine monitor 200 (i) TSS screen control unit 350 that controls the screen buffer 330 The terminal/○S correspondence table 320 shows the TSS terminal group 700
A terminal address that specifies one TSS terminal within the TSS terminal, a current VMID that holds the identifier of the OS that is currently using the TSS terminal indicated by the terminal address, and a dependent VMID that defines the range of OS that is controlled by the operating procedure program.
For example, the terminal 10S correspondence table 320 in FIG.
The TSS terminal 71.0 is used by the OS of VM-A, and the OS with the identifier VM-H is also controlled by the operating procedure program.
(021) (7) The TSS terminal 720 has an identifier of VM-C
This indicates that the OS is using the OS.

操作05300は以下に述べるようにして、被操作OS
群400の各OSの02画面とOS画面を画面バッファ
330に保持している。
Operation 05300 is performed by operating the operated OS as described below.
The 02 screen and OS screen of each OS in the group 400 are held in the screen buffer 330.

(1)被操作08群400中のOSからコンソール装置
へのメツセージ出力要求は、入出力制御部230に割り
出され、コンソール画面制御部210が各OSのOS画
面を保持する。さらに。
(1) A message output request from the OS in the 08 operated group 400 to the console device is determined by the input/output control unit 230, and the console screen control unit 210 maintains the OS screen of each OS. moreover.

このOS画面の更新は、操作OSSインタフニ一部24
0およびVMMインタフェース部340を介して、TS
S画面制御部350に送られ、TSS画面制御部350
が画面バッファ330内の対応するOS画面にOSのメ
ツセージを保持する。
Updating this OS screen is part of the operation OSS interface 24.
0 and the VMM interface section 340, the TS
S screen control unit 350 and TSS screen control unit 350
maintains the OS message in the corresponding OS screen in the screen buffer 330.

(2)仮想計算機モニタ200から02画面へのメソセ
ージ出力要求は、コンソール画面制御部210において
各OSの02画面に保持される。
(2) A message output request from the virtual machine monitor 200 to the 02 screen is held in the 02 screen of each OS in the console screen control unit 210.

この02画面の更新は、操作OSSインタフニ一部24
0およびVMMインタフェース部340を介して、TS
S画面制御部350に通知され、TSS画面制御部35
0が画面バッファ330内の対応するOSの02画面に
VMMのメツセージを保持する。
This 02 screen update is part 24 of the operation OSS interface.
0 and the VMM interface section 340, the TS
The S screen control unit 350 is notified, and the TSS screen control unit 35
0 holds the VMM message on the 02 screen of the corresponding OS in the screen buffer 330.

(3)TSS端末群700内のTSS端末がO5画面の
ときに投入したOSコマンドに対し、 TSS画面制御
部350は、画面バッファ330内の対応するOS画面
を更新する。また、TSS画面制御部350は、VMM
インタフェース部340および操作OSSインタフニ一
部240に介して、OSコマンド実行要求をコンソール
画面制御部210に送る。コンソール画面制御部210
は、対応するOSのOS画面を更新し、コマンド制御部
220に制御を移す、その後。
(3) In response to an OS command input when a TSS terminal in the TSS terminal group 700 is on the O5 screen, the TSS screen control unit 350 updates the corresponding OS screen in the screen buffer 330. Further, the TSS screen control unit 350
An OS command execution request is sent to the console screen control section 210 via the interface section 340 and the operation OSS interface section 240. Console screen control unit 210
updates the OS screen of the corresponding OS, transfers control to the command control unit 220, and thereafter.

コマンド制御部220が該当OSに対してコマンド投入
のシミュレーション処理を行ない、1の結果、TSS端
末で指定されたOSコマンドが実行される。
The command control unit 220 performs a simulation process of inputting a command to the corresponding OS, and as a result of step 1, the OS command specified by the TSS terminal is executed.

(4)TSS端末群700内のTSS端末がcp晒面の
ときに投入した仮想計算機モニタ2001Zコマンドに
対し、TSS画面制御部350は。
(4) The TSS screen control unit 350 responds to the virtual machine monitor 2001Z command input when the TSS terminal in the TSS terminal group 700 is exposed to CP.

画面バッファ330内の対応するOSの02画面を更新
する。また、TSS画面制御部350は、VMMインタ
フェース部340および操作OSインタフェース部24
0を介して、VMMコマンド実行要求をコンソール画面
制御部210に送る。コンソール画面制御部210は、
対応するOSの02画面を更新し、コマンド制御部22
0において、指定されたVMMコマンドを実行する。
The corresponding OS 02 screen in the screen buffer 330 is updated. The TSS screen control unit 350 also interfaces with the VMM interface unit 340 and the operation OS interface unit 24.
0, a VMM command execution request is sent to the console screen control unit 210. The console screen control unit 210 is
Update the 02 screen of the corresponding OS and update the command control unit 22.
0, execute the specified VMM command.

以上のように画面バッファ330に被操作OS群400
の各OSの02画面とOS画面を保持することにより、
操作実行プログラム310は、被操作OS群400の各
OSの02画面とOS画面のメツセージを監視すること
が可能である。また各制御画面における仮想計算機モニ
タコマンドの投入とOSコマンドの投入のシミュレーシ
ョンを、操作実行プログラム310がTSS画面制御部
350に対して行なうことにより、操作手順プログラム
に記述されたOSコマンドおよびVMMコマンドをコマ
ンド制御部220は実行可能である。
As described above, the operated OS group 400 is stored in the screen buffer 330.
By maintaining the 02 screen and OS screen of each OS,
The operation execution program 310 can monitor messages on the 02 screen and the OS screen of each OS in the operated OS group 400. In addition, the operation execution program 310 simulates the input of virtual machine monitor commands and OS commands on each control screen for the TSS screen control unit 350, so that the OS commands and VMM commands written in the operation procedure program can be executed. Command control unit 220 is executable.

第2図を用いて、本発明による操作手順プログラムを説
明する。操作手順プログラム2000は、出力判定対象
のOSが指定されたメツセージと実行対象のOSが指定
された一連のコしンドを記述した文から構成される。
The operating procedure program according to the present invention will be explained using FIG. The operating procedure program 2000 is composed of a message specifying an OS to be output judged and a series of commands specifying an OS to be executed.

第2図においてPROC文2100とEND文2700
は、操作手順プログラム2000の開始と終了を示す。
In Figure 2, PROC statement 2100 and END statement 2700
indicates the start and end of the operating procedure program 2000.

また、PROC文2100につけられたラベル“IPL
”は、この操作手順プログラム2000のプロシジャ名
を示す、また、2200から2600の文は実行文であ
り、実行文2200その他のCOMMAND文はその文
に記述されたコマンドの実行を、また、実行文2400
のMATCH文はその文に記述されたメツセージが出力
されるまで、次の文の実行を待つことを示す。文の最後
に指定された’cp″は、COMMAND文ならばVM
Mコマンドの実行を、また、MATCH文ならば02画
面の監視を示す。また、本実施例では現われないが文の
最後に’os’ が指定された場合。
Also, the label “IPL” attached to PROC statement 2100
” indicates the procedure name of this operating procedure program 2000. Also, the statements from 2200 to 2600 are executable statements, and the executable statement 2200 and other COMMAND statements execute the command described in the statement. 2400
The MATCH statement indicates that execution of the next statement is to be waited until the message written in the statement is output. 'cp' specified at the end of the statement is VM if it is a COMMAND statement.
It indicates the execution of the M command, and if it is a MATCH statement, indicates the monitoring of the 02 screen. Also, although it does not appear in this embodiment, 'os' is specified at the end of the sentence.

COMMAND文ならばOSコマンドの実行を、また、
MATCH文な−らばOS画面の監視を示す。
If it is a COMMAND statement, execute the OS command, or
A MATCH statement indicates monitoring of the OS screen.

さらに、各文における実行対象のOSの指定は次のとお
りである。
Furthermore, the OS to be executed in each statement is specified as follows.

(1)&&指定の文はこの操作手順プログラムの実行を
開始したTSS端末に対応する端末10S対応テーブル
330のエントリに保持された全てのVM(即ち、カレ
ント■MIDと従属VMIDに対応するVM)に対して
実行する0例えば、操作手順プログラム2000をTS
S端末710から実行開始したとき、実行文2200は
、VM−AおよびVM−Bに対して実行する。
(1) The statement && specifies all the VMs held in the entries of the terminal 10S correspondence table 330 corresponding to the TSS terminal that started execution of this operating procedure program (that is, the VMs corresponding to the current ■MID and dependent VMID) For example, the operating procedure program 2000 is executed on the TS
When execution is started from the S terminal 710, the executable statement 2200 is executed for VM-A and VM-B.

(2)&VMID指定ノ文指定0之ハ指定MIDを識別
子に持つVMに対して実行する。例えば、実行文260
0は、VM−Bに対して実行する。
(2) &VMID specification statement specification 0 to C Execute for the VM whose identifier is the specified MID. For example, executable statement 260
0 is executed for VM-B.

(3)&&および&VM I Dの指定がない場合には
、操作手順プログラムの実行を開始したTSS端末を現
在使用しているVM(即ち、カレントVMIDに対応す
るVM)に対して文を実行する0例えば、操作手順プロ
グラム2000をTS−3端末710から実行開始した
とき、実行文2500は、VM−Aに対して実行する。
(3) If && and &VM ID are not specified, execute the statement on the VM currently using the TSS terminal that started execution of the operating procedure program (i.e., the VM corresponding to the current VM ID). 0 For example, when execution of the operating procedure program 2000 is started from the TS-3 terminal 710, the executable statement 2500 is executed on the VM-A.

第2図の操作手順プログラム200oにおいて実行文2
200 (7)DEFINE CTCA :I7 ンド
は、VMに対して指定されたアドレス(実行文2200
ではアドレスCIFが指定されている)の仮想CTC^
(Channel To Channeel Adap
ter)を生成するVl[コマンドであり、実行文23
00のCOυPLEコマンドは2つのVM上で各々生成
した仮想CTCAを論理的に接続するVMMコマンドで
ある。従って。
In the operating procedure program 200o in FIG.
200 (7) DEFINE CTCA:I7 The command executes the address specified for the VM (executable statement 2200
, the virtual CTC of address CIF is specified)
(Channel To Channel Adap
Vl [command, executable statement 23
The COυPLE command 00 is a VMM command that logically connects virtual CTCAs generated on two VMs. Therefore.

C0UPLEコマンドはDEFINE CTCAコマン
ドを両方のVMで実行完了後でなければ、実行すること
はできない。第2図の操作手順プログラム2000は、
この複数のOSの操作の同期点を考慮して作成している
The C0UPLE command cannot be executed until after the DEFINE CTCA command has been executed on both VMs. The operating procedure program 2000 in FIG.
It is created taking into account the synchronization points of the operations of these multiple OSs.

次に、第3図に示した本発明による操作実行プログラム
310により、第2図の操作手順プログラム2000が
どのように実行されるかを説明する。端末アドレス(0
20)のTSS端末71.0からVMMの5TART 
IP[、、、コマンドにより操作手順プロゲラA200
0の実行開始を指示すると、操作実行プログラム300
0はS T 、A RTコマンドのオペランドで指定さ
れたプロシジャ名がIPLの操作手順プログラム200
0を操作手順ファイル600から読み込み(ステップ3
100)、実行文を取り出す(ステップ3100)。こ
の実行文は&&桁指定COMMAND文2200である
。このためステップ3300の判定はNO,ステップ3
400での判定はYESとなり端末/○S対応テーブル
330において端末アドレス(020)のTSS端末7
10と関係付けられているVMAおよびVM−Bに対し
て、VMMコマンドのDEFINE CTCA CIF
を実行する(ステップ3500)。
Next, a description will be given of how the operation procedure program 2000 shown in FIG. 2 is executed by the operation execution program 310 according to the present invention shown in FIG. Terminal address (0
20) TSS terminal 71.0 to VMM's 5TART
IP[,,,operation procedure by command Progera A200
0, the operation execution program 300
0 is ST, A The procedure name specified by the operand of the RT command is the operating procedure program 200 of IPL.
0 from the operation procedure file 600 (step 3
100), and extracts the executable statement (step 3100). This executable statement is && digit specification COMMAND statement 2200. Therefore, the determination in step 3300 is NO, step 3
The determination at 400 is YES, and the TSS terminal 7 with the terminal address (020) in the terminal/○S correspondence table 330
For VMA and VM-B associated with 10, the VMM command DEFINE CTCA CIF
(step 3500).

この実行は、前述のように画面バッファ330内のVM
−AおよびVM−Bに対応するCP画面にDEFINE
 CTCA CIFを書込み、”I−S S画面制御部
350、VMMインタフェース部340と操作OSイン
タフェース部240を介して、コンソール制御部210
にコマンド実行要求を通知することにより行なわれる。
This execution is performed using the VM in the screen buffer 330 as described above.
DEFINE on the CP screen corresponding to -A and VM-B
Write the CTCA CIF and write the “I-SS” to the console control unit 210 via the
This is done by notifying the command execution request to.

次に1次の実行文であるCOMMAND文2300を取
り出す(ステップ3200) 。
Next, the COMMAND statement 2300, which is the first executable statement, is extracted (step 3200).

この場合も、ステップ3300の判定はNoとなり、端
末アドレス(020)のTSS端末710のカレントV
M(即ち、端末アドレス(020)に対応するカレント
VM丁りであるVM−A)に対して、VMMコマンドの
C0UPLEコマンドを実行する(ステップ3500)
。次に、MATCH文2300を実行する(ステップ3
600)、すなわち1画面バッファ330内のVM−A
の02画面4:CTCA CIF C0UPLE To
 VM−B と出力されるまで次の文の実行を待つ。こ
のメツセージは、C0UPLEコマンドが正常に終了し
たことを示すV M Mのメツセージである。その後、
実行文2500に示されたVMMコマンドであるI P
 L、コマンドの実行によりVM−A上のOSをアドレ
ス(D26)の記憶装置から初期プログラムロート(I
Pl、)L、また、実行文2600に示されたVMMコ
マンドであるI P L、、コマンドの実行によりVM
−B上のOSをアドレス(D60)の記憶装置から初期
プログラムロード(IPL)する。そして、END文2
700を検出した時点で(ステップ3300)操作手順
プログラム2000の実行を終了する。
In this case as well, the determination in step 3300 is No, and the current V of the TSS terminal 710 with the terminal address (020) is
The C0UPLE command of the VMM command is executed for M (that is, VM-A, which is the current VM corresponding to the terminal address (020)) (step 3500).
. Next, execute the MATCH statement 2300 (step 3
600), that is, VM-A in one screen buffer 330
02 screen 4: CTCA CIF C0UPLE To
Wait for execution of the next statement until VM-B is output. This message is a VMM message indicating that the C0UPLE command has completed normally. after that,
I P which is the VMM command shown in the executable statement 2500
L. By executing the command, the OS on VM-A is loaded from the storage device at address (D26) to the initial program load (I).
Pl,)L, and by executing the VMM command IPL,, which is the VMM command shown in the executable statement 2600, the VM
- Initial program load (IPL) the OS on B from the storage device at address (D60). And END statement 2
700 is detected (step 3300), the execution of the operating procedure program 2000 ends.

このように本実施例によれば、複数のOSの同期を取り
ながら自動操作可能な仮想計算機システムを提供するこ
とができる。また本実施例によれば、複数のOSが連携
を取りながら動作する場合に、1つの操作手順プログラ
ムにより複数のOSの自動操作が可能な仮想計算機シス
テムを提供することができる。
As described above, according to this embodiment, it is possible to provide a virtual computer system that can be automatically operated while synchronizing a plurality of OSs. Further, according to the present embodiment, when a plurality of OSs operate in cooperation with each other, it is possible to provide a virtual computer system in which the plurality of OSs can be automatically operated by one operation procedure program.

11−第影9遠遭 本実施例では、複数のOSの同期点を記述する操作制御
プログラムを用いて前記複数のOSの同期制御を可能と
することに特徴が有る。
11 - Ninth Distant Encounter This embodiment is characterized in that it is possible to synchronously control the plurality of OSs by using an operation control program that describes the synchronization points of the plurality of OSes.

第2の実施例における操作手順プログラムは第4図(B
)に示したVM−Aの操作手順プログラム4200およ
び第4図(C)に示したV M−Cの操作手順プログラ
ム4300である。
The operating procedure program in the second embodiment is shown in Figure 4 (B
) and the operating procedure program 4300 for VM-A shown in FIG. 4(C).

仮想計算機システムの構成は、第4図(A)の操作制御
プログラム4100が操作制御ファイル500に格納さ
れている点と、操作実行プログラムは第5図のものであ
る点を除いて、第1の実施例における構成と何ら変わら
ない。
The configuration of the virtual computer system is the same as the first one, except that the operation control program 4100 shown in FIG. 4(A) is stored in the operation control file 500, and the operation execution program is the one shown in FIG. The configuration is no different from the configuration in the embodiment.

また、第4図(B)および第4図(C)の操作手順プロ
グラム4200および4300においてPROC文、E
ND文、および、 CO)’IMAND文の意味は第1
の実施例のものと同じである。ただし、各実行文の先頭
に、ラベル名を付けられる点のみが異なっている。第4
図(A)は、2つの操作手順プログラム4200および
4300の同期点をラベル名を用いて記述した本発明に
よる操作制御プログラム4100である。例えば、操作
制御プログラム4100の実行文4120は、■M−C
をプロシジャ名が1. I P L操作手順プログラム
4300の最初の実行文からラベル名IPLの前の実行
文までに従って操作することを示しており、また、実行
文4150はVM−Cを操作手順プログラム4300の
中断点からラベル名JSS4の前の実行文までに従って
操作することを示してしする。
In addition, in the operating procedure programs 4200 and 4300 of FIG. 4(B) and FIG. 4(C), the PROC statement, E
The meaning of the ND statement and the CO)'IMAND statement is
It is the same as that of the embodiment. However, the only difference is that a label name can be added to the beginning of each executable statement. Fourth
Figure (A) shows an operation control program 4100 according to the present invention in which synchronization points of two operation procedure programs 4200 and 4300 are described using label names. For example, the executable statement 4120 of the operation control program 4100 is
If the procedure name is 1. It shows that the operation is to be performed according to the first executable statement of the IPL operation procedure program 4300 to the executable statement before the label name IPL, and the executable statement 4150 moves the VM-C from the interruption point of the operation procedure program 4300 to the label This indicates that the operation is to be performed up to the executable statement before the name JSS4.

第5図の操作実行プログラム310に従って、VM−A
およびVM−C上の○Sがどのように自動操作されるか
を、操作制御プログラム4100、および、2つの操作
手順プログラム4200および4300を用いて説明す
る。
According to the operation execution program 310 in FIG.
How ○S on VM-C is automatically operated will be explained using an operation control program 4100 and two operation procedure programs 4200 and 4300.

端末7FL/X (020)(7)TSS端末71oか
らVM−Aを開始し、端末アドレス(021)のTSS
端末720からVM−Cを開始した後、5TART M
IPLコマンドによりプロシジャ名がMIPLの操作制
御プログラム4100の実行開始を指示したとする。こ
の結果、操作実行プログラム310はプロシジャ名がM
IPLの操作制御プログラム4100を操作制御ファイ
ル500から読み込み(ステップ5100)、操作制御
プログラム4100の実行文を取り出す(ステップ52
00)。この実行文4120はVM−Cに対して、プロ
シジャ名LIPLのテスト手順プログラム4300の最
初からラベルがIPLの直前までの実行文の実行を指示
している。そこで、ステップ5300の判定はNoとな
り、プロシジャ名LIPLの操作手順プログラム430
0を操作手順ファイル600から取り出す(ステップ5
300)、次に実行文4120のラベルの有無を判定し
くステップ5500)、実行文4120にはラベル名“
IPL”の指定があるのでテスト手順プログラム43o
OのラベルがIPLの直前までの実行文(即ち、実行文
4320)を実行する(ステップ5600)。次に、実
行文4に0を取り出す。
Terminal 7FL/X (020) (7) TSS Start VM-A from terminal 71o, and connect TSS to terminal address (021).
After starting VM-C from terminal 720, 5TART M
Assume that the IPL command instructs the start of execution of the operation control program 4100 whose procedure name is MIPL. As a result, the operation execution program 310 has a procedure name of M.
The IPL operation control program 4100 is read from the operation control file 500 (step 5100), and the executable statement of the operation control program 4100 is extracted (step 52).
00). This executable statement 4120 instructs the VM-C to execute the executable statements from the beginning of the test procedure program 4300 with the procedure name LIPL to just before the label IPL. Therefore, the determination at step 5300 is No, and the operating procedure program 430 with the procedure name LIPL
0 from the operating procedure file 600 (step 5
300), then determine whether the executable statement 4120 has a label (step 5500), and the executable statement 4120 has a label name "
IPL” is specified, so the test procedure program 43o
The executable statement whose label O is just before IPL (ie, executable statement 4320) is executed (step 5600). Next, extract 0 for executable statement 4.

実行文4にoは、VM−Aに対して、プロシジャ名GI
PLのテスト手順プログラム4200の最初からラベル
がIPLの直前までの実行文の実行を指示している。そ
こで、プロシジャ名GIPLの操作手順プログラム42
00を操作手順ファイル600から取り出す(ステップ
5400)、次に、実行文4に0のラベルの有無を判定
しくステップ5500)、実行文4に0にはラベル” 
I P L ”の指定があるので操作手順プログラム4
200のラベルがIPLの直航までの実行文(即ち、実
行文4220および4230)を実行する(ステップ5
600)。次に、同様にして、実行文4140および実
行文4150の実行により、ラベルJSS4の前までの
操作手順プログラム(即ち、実行文4240から425
0の直前までと、実行文4330から4340の直前ま
で)を実行し、最後にラベル指定無しの実行文4160
および4170を実行することによって、2つの操作手
順プログラム4200および4300を最後まで実行す
る(ステップ5700)。そして実行文4180の実行
によって、操作制御プログラム4100の実行を終了す
る。
o in executable statement 4 is the procedure name GI for VM-A.
The label instructs execution of executable statements from the beginning of the PL test procedure program 4200 to just before the IPL. Therefore, the operating procedure program 42 with the procedure name GIPL
00 from the operation procedure file 600 (step 5400). Next, it is determined whether executable statement 4 has a label of 0 (step 5500).
I P L” is specified, so the operating procedure program 4
The label 200 executes the executable statements (i.e., executable statements 4220 and 4230) up to the IPL direct line (step 5
600). Next, in the same way, by executing the executable statement 4140 and the executable statement 4150, the operating procedure program up to the label JSS4 (i.e., the executable statement 4240 to 425
0 and immediately before executable statements 4330 to 4340), and finally executes executable statement 4160 without label specification.
and 4170, the two operating procedure programs 4200 and 4300 are executed to the end (step 5700). By executing the executable statement 4180, the execution of the operation control program 4100 is ended.

このように本実施例によれば、複数のOSが連携を取り
ながら動作する場合に、複数の○Sの同期点を記述する
操作制御プログラムを用いることにより前記複数の○S
の自動操作が可能な仮想計算機システムを提供すること
ができる。
As described above, according to this embodiment, when a plurality of OSs operate in cooperation with each other, the operation control program that describes the synchronization points of the plurality of ○Ss is used to control the ○Ss.
It is possible to provide a virtual computer system that can automatically operate.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、複数のOSの同期を取りながら自動操
作可能な仮想計算機システムを提供することができる。
According to the present invention, it is possible to provide a virtual computer system that can automatically operate a plurality of OSs while synchronizing them.

また、本発明によれば、複数のOSが連携を取りながら
動作する場合に、1つの操作手順プログラム↓こより複
数のOSの自動操作が可能な仮想計算機システムを提供
することができる。
Further, according to the present invention, when a plurality of OSs operate in cooperation with each other, it is possible to provide a virtual computer system in which the plurality of OSs can be automatically operated using a single operating procedure program.

さらに、本発明によれば、複数のOSが連携を取りなが
ら動作する場合に、複数のOSの同期点を記述する操作
制御プログラムにより前記複数のOSの自動操作が可能
な仮想計算機システムを提供することができる。
Further, according to the present invention, there is provided a virtual computer system in which when a plurality of OSs operate in cooperation with each other, the plurality of OSs can be automatically operated by an operation control program that describes synchronization points of the plurality of OSes. be able to.

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

第1図は本発明における仮想計算機システムの構成を示
すブロック図、第2図は本発明の第1の実施例における
操作手順プログラムの説明図、第3図は本発明の第1の
実施例における操作実行プログラムのフローチャート、
第4図は本発明の第2の実施例における操作制御プログ
ラムと操作手順プログラムの説明図、第5図は本発明の
第2の実施例における操作実行プログラムのフローチャ
ートである。 100・・・実計算機、200・仮想計算機モニタ、3
00・・・操作OS,400・被操作OS群、500・
・・操作制御ファイル、600・・・操作手順ファイル
。 700・・・TSS端末群。           7
/7メ
FIG. 1 is a block diagram showing the configuration of a virtual computer system according to the present invention, FIG. 2 is an explanatory diagram of an operating procedure program according to the first embodiment of the present invention, and FIG. 3 is a block diagram showing the configuration of a virtual computer system according to the present invention. Flowchart of operation execution program,
FIG. 4 is an explanatory diagram of an operation control program and an operation procedure program in the second embodiment of the invention, and FIG. 5 is a flowchart of the operation execution program in the second embodiment of the invention. 100...Real computer, 200-Virtual computer monitor, 3
00...Operating OS, 400・Operated OS group, 500・
. . . Operation control file, 600 . . . Operation procedure file. 700...TSS terminal group. 7
/7me

Claims (1)

【特許請求の範囲】 1、1台の計算機上で複数のOSが走行する計算機シス
テムにおいて、 OS識別子が指定されたメッセージとコマンドからなる
操作手順プログラムと、前記操作手順プログラムに従っ
て前記OSを操作する操作実行プログラムを設け、 前記操作実行プログラムは、前記操作手順プログラムに
指定されたOSが指定されたメッセージを出力したか否
かを判定し、 前記操作手順プログラムに指定されたOSが指定された
メッセージを出力したことに応じて、前記操作実行プロ
グラムは前記操作手順プログラムに指定されたOS対し
て、指定されたコマンドを実行する複数OSの自動操作
方法。 2、1台の計算機上で複数のOSが走行する計算機シス
テムにおいて、 前記複数のOSの動作の同期点を記述する操作制御プロ
グラムと、前記OS毎の操作手順プログラムと前記操作
制御プログラムに従って前記OSを操作する操作実行プ
ログラムを設け、前記操作実行プログラムは、前記OS
を前記操作制御プログラムが記述する同期点まで各OS
の操作手順プログラムに従って操作した後前記OSの操
作を中断し、 全ての前記OSが同期点に到達した時点で前記複数のO
Sの操作を再開する複数OSの自動操作方法。 3、特許請求の範囲第1項において、 前記計算機の複数の端末と前記複数OSとの対応表を設
け、 前記端末から実行を開始した前記操作手順プログラムの
OS識別子が指定されていないメッセージは、前記端末
との対応が前記対応表に登録されたOSに対してメッセ
ージ監視を実行し、OS識別子が指定されていないコマ
ンドは、前記端末との対応が前記対応表に登録されたO
Sに対して実行する複数OSの自動操作方法。 4、特許請求の範囲第2項において、 前記操作手順プログラム内の文にラベルを付け、 前記操作制御プログラムは各操作手順プログラムのラベ
ルを使用して同期点を記述する複数OSの自動操作方法
[Scope of Claims] 1. In a computer system in which a plurality of OSs run on one computer, an operating procedure program consisting of messages and commands in which an OS identifier is specified, and operating the OS according to the operating procedure program. An operation execution program is provided, and the operation execution program determines whether an OS specified in the operation procedure program outputs a specified message, and outputs a message specified by the OS specified in the operation procedure program. The operation execution program executes a specified command on an OS specified in the operation procedure program in response to the output of the operation procedure program. 2. In a computer system in which a plurality of OSs run on one computer, an operation control program that describes synchronization points of the operations of the plurality of OSes, an operation procedure program for each OS, and an operation control program that operates the OS according to the operation control program. An operation execution program for operating the OS is provided, and the operation execution program operates the OS.
for each OS up to the synchronization point described by the operation control program.
After operating according to the operating procedure program, the operation of the OS is interrupted, and when all the OSs reach a synchronization point, the operation of the plurality of OSs is
Automatic operation method for multiple OS to resume operation of S. 3. In claim 1, a correspondence table is provided between a plurality of terminals of the computer and the plurality of OSs, and a message in which the OS identifier of the operating procedure program started from the terminal is specified is: Message monitoring is executed for the OS whose correspondence with the terminal is registered in the correspondence table, and commands for which no OS identifier is specified are executed with respect to the OS whose correspondence with the terminal is registered in the correspondence table.
A method for automatically operating multiple OSs on S. 4. The automatic operation method for multiple OSs according to claim 2, wherein sentences in the operating procedure program are labeled, and the operation control program describes a synchronization point using the label of each operating procedure program.
JP27330590A 1990-10-15 1990-10-15 How to automatically operate multiple OS Pending JPH04149741A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP27330590A JPH04149741A (en) 1990-10-15 1990-10-15 How to automatically operate multiple OS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP27330590A JPH04149741A (en) 1990-10-15 1990-10-15 How to automatically operate multiple OS

Publications (1)

Publication Number Publication Date
JPH04149741A true JPH04149741A (en) 1992-05-22

Family

ID=17526017

Family Applications (1)

Application Number Title Priority Date Filing Date
JP27330590A Pending JPH04149741A (en) 1990-10-15 1990-10-15 How to automatically operate multiple OS

Country Status (1)

Country Link
JP (1) JPH04149741A (en)

Similar Documents

Publication Publication Date Title
US4819234A (en) Operating system debugger
JPH0792761B2 (en) Input / output control method for virtual computer system
JPS61206043A (en) Interrupt control method in virtual computer system
JPS60136833A (en) Operating system switching method
EP0290942B1 (en) Guest machine execution control system for virtual machine system
JPH04149741A (en) How to automatically operate multiple OS
JPH0410081B2 (en)
JPH09282196A (en) Program run control method for complex logic processor system.
JPS61184643A (en) Starting control system for virtual computer
JP2899009B2 (en) Information processing device
JP2556018B2 (en) Channel path group management method
JP2507789B2 (en) Logical simulation processing method of virtual machine
JPH0638238B2 (en) Virtual computer system
JP3022398B2 (en) Virtual computer system
JPS5835648A (en) Program execution controlling system
JPH0754470B2 (en) Control method for virtual computer system
JPH02178864A (en) Ipl processing system
JPH0447854B2 (en)
JPS6267638A (en) Emulation method
JPH09265407A (en) Program run control method for virtual processor system
JPS62125437A (en) Additional processor control method
JPH0247730A (en) Virtual computer system
JPH04367038A (en) How to operate multiple OS
JPH0390936A (en) Conversion system for hardware interruption level
JPH0772874B2 (en) Interrupt receiving device