JPH02171833A - Fault recovering system for virtual space - Google Patents

Fault recovering system for virtual space

Info

Publication number
JPH02171833A
JPH02171833A JP32483488A JP32483488A JPH02171833A JP H02171833 A JPH02171833 A JP H02171833A JP 32483488 A JP32483488 A JP 32483488A JP 32483488 A JP32483488 A JP 32483488A JP H02171833 A JPH02171833 A JP H02171833A
Authority
JP
Japan
Prior art keywords
task
virtual space
failure
child task
slave
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
JP32483488A
Other languages
Japanese (ja)
Inventor
Hiroyuki Harada
博之 原田
Seiji Onishi
誠司 大西
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 JP32483488A priority Critical patent/JPH02171833A/en
Publication of JPH02171833A publication Critical patent/JPH02171833A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To recover the fault of a virtual space without stopping the virtual space by providing a slave task, which executes work, and a master task to monitor this slave task in the virtual space and regenerating the slave task by the master task when the slave task is reduced by the fault. CONSTITUTION:A slave task 4 and a master task 5 are provided on a virtual space 2 and the master task 5 generates the slave task 4 by slave task generation function 6 and monitors this slave task. When the fault is generated while the slave task 4 executes the work, extinguishment information 10 are generated and the slave task is extinguished. When the master task 5 detects the extinguishment, the extinguishment cause of the slave task 4 is analyzed by end decision function 11 and the slave task 4 is regenerated by the function 6. The slave task 4 executes a work program which is newly given from a control space. Thus, without stopping the virtual space, the fault can be recovered. Then, a recovery time is shortened and the operation efficiency of a system is improved.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、多重仮想記憶方式の電子計算機を用いたオン
ラインシステムまたはデータベースシステム等の情報処
理システムに係り、特に、障害回復時間の短縮、運用面
での操作性の向上を可能とした多重仮想記憶方式上での
仮想空間の障害回復方式に関する。
[Detailed Description of the Invention] [Industrial Application Field] The present invention relates to an information processing system such as an online system or a database system using a multi-virtual storage type electronic computer, and particularly relates to an information processing system such as an online system or a database system that uses a computer with multiple virtual memory, and particularly to This invention relates to a failure recovery method for virtual space on a multiple virtual memory system that enables improved operability on the surface.

〔従来の技術〕[Conventional technology]

この種多重仮想記憶方式の情報処理システムに関する従
来技術として、例えば、「最新のデータベースシステム
とその応用(弁室出版 btt別冊 1984年1月)
」等に記載された技術が知られている。この種従来技術
は、仮想空間で実行されているプログラムに障害等が発
生すると、その仮想空間を停止させ、該仮想空間を再起
動させることにより、障害の回復を行うものである。
As a conventional technology related to this kind of multiple virtual storage type information processing system, for example, "Latest database system and its application (Benshi Publishing BTT special issue January 1984)"
” and the like are known. In this type of conventional technology, when a fault or the like occurs in a program being executed in a virtual space, the virtual space is stopped and the virtual space is restarted to recover from the fault.

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

前記従来技術は、仮想空間の停止、再起動によって、障
害の回復を行うものであるので、障害回復のために、仮
想空間の停止、再起動の操作を行う必要があり、運用、
操作がわずられしく、また、このために、障害回復に多
くの時間を要するという問題点があった。
The above-mentioned conventional technology recovers from a failure by stopping and restarting the virtual space, so it is necessary to stop and restart the virtual space in order to recover from the failure.
There is a problem in that the operation is cumbersome and it takes a lot of time to recover from a failure.

本発明の目的は、前記従来技術の問題点を解決し、仮想
空間の障害回復時間を短縮し、仮想空間の起動、停止と
いったわずられしい運用を排除できる多重仮想記憶方式
上での仮想空間の障害回復方式を提供することにある。
It is an object of the present invention to solve the problems of the prior art described above, to shorten the failure recovery time of virtual spaces, and to eliminate troublesome operations such as starting and stopping virtual spaces. The objective is to provide a disaster recovery method.

〔課題を解決するための手段〕[Means to solve the problem]

本発明によれば、前記目的は、仮想空間内に、業務を遂
行する子タスクと、それを監視する親タスクとを備え、
子タスクが障害で消滅したときには、親タスクが新たに
子タスクを再生成することにより達成される。
According to the present invention, the purpose is to provide a child task in a virtual space for performing a task and a parent task for monitoring the child task,
When a child task disappears due to a failure, this is achieved by the parent task regenerating a new child task.

〔作 用〕[For production]

仮想空間内に子タスクと親タスクとを備えることにより
、業務を遂行する子タスクが障害により消滅しても、親
タスクが存続できるので、仮想空間を停止しないように
制御することができる。親タスクは、子タスクが消滅し
たことを検知し、以前に生成したと同じ方法で、新たに
子タスクを再生成する。
By providing a child task and a parent task in the virtual space, even if the child task that performs the task disappears due to a failure, the parent task can continue, so it is possible to control the virtual space so that it does not stop. The parent task detects the death of a child task and regenerates a new child task in the same way it previously created it.

これらにより、仮想空間を停止させることなく、仮想空
間の障害回復を行うことができる。
With these, failure recovery of the virtual space can be performed without stopping the virtual space.

〔実施例〕〔Example〕

以下、本発明による多重仮想記憶方式上での仮想空間の
障害回復方式の一実施例を図面により詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a virtual space failure recovery method on a multiple virtual storage system according to the present invention will be described in detail below with reference to the drawings.

第1図は本発明の一実施例の機能と処理を説明する図、
第2図は本発明の一実施例のシステム構成を示すブ【I
ツク図、第3図は動作を説明するフローチャートである
。第1図、第2図において、1は多重仮想記憶空間、2
は仮想空間、3は業務プロゲラJ4.4は子タスク、5
は親タスク、6は子タスク生成8!能、7は子タスク監
視機能、8は障害、9は障1f後処理、10は子タスク
消滅通知、11は終了判定機能、12は子タスク障害回
復機能、13は端末装置、14は通信制御装置、15は
中央処理装置、16は制御空間、17は業務処理空間群
、18はデータベース、19は仮想空間障害回復機能で
ある。
FIG. 1 is a diagram explaining the functions and processing of an embodiment of the present invention;
FIG. 2 shows a block [I] showing the system configuration of an embodiment of the present invention.
The block diagram and FIG. 3 are flowcharts explaining the operation. In Figures 1 and 2, 1 is a multiple virtual storage space, 2 is
is a virtual space, 3 is a business progera J4.4 is a child task, 5
is the parent task, 6 is the child task generation 8! 7 is a child task monitoring function, 8 is a failure, 9 is a failure 1f post-processing, 10 is a child task disappearance notification, 11 is an end determination function, 12 is a child task failure recovery function, 13 is a terminal device, 14 is a communication control 15 is a central processing unit, 16 is a control space, 17 is a business processing space group, 18 is a database, and 19 is a virtual space failure recovery function.

本発明によるオンラインシステム1、データベースシス
テム等の処理システムの一実施例は、第2図に示すよう
に、中央処理装置15、通信制御装置!14、複数の端
末装置13及びデータベース18を備えて構成される。
An embodiment of a processing system such as an online system 1 and a database system according to the present invention includes a central processing unit 15, a communication control device, etc., as shown in FIG. 14, it is configured with a plurality of terminal devices 13 and a database 18.

中央処理装置15内に構成される多重仮想記憶空間1は
、複数の仮想空間2による業務処理空間群17と、この
業務処理空間群17の制御を行う制御空間16とにより
構築2図において、端末装置13からメツセージが入力
されると、そのメツセージは、通信制御装置14を介し
て、中央処理装置15内の多重仮想記憶空間l内に構築
されているオンラインシステムまたはデータベースシス
テムに渡される。II?II空間16は、このメツセー
ジの内容により、行うべき業務処理を決定し、業務処理
空間群17の中から最適な1つの仮想空間2を決定し、
その仮想空間2に業務の実行を行わせる。仮想空間2は
、制御空間16の指示により、業務プログラム3を実行
し、データベース18のアクセス等を行って業務処理を
実行する。仮想空間2内の仮想空間障害回復機能19は
、その仮想空間2内で行われる業務処理の実行を監視し
、障害発生時に、その仮想空間2の障害回復の処理を行
う。
A multiple virtual storage space 1 configured within the central processing unit 15 is constructed by a business processing space group 17 made up of a plurality of virtual spaces 2 and a control space 16 that controls this business processing space group 17. When a message is input from the device 13, the message is passed via the communication control device 14 to an online system or database system built in multiple virtual storage spaces l within the central processing unit 15. II? The II space 16 determines the business process to be performed based on the content of this message, determines the most suitable virtual space 2 from the business process space group 17,
The virtual space 2 is caused to execute the business. The virtual space 2 executes the business program 3 according to instructions from the control space 16, accesses the database 18, etc., and executes business processing. The virtual space failure recovery function 19 in the virtual space 2 monitors the execution of business processes performed within the virtual space 2, and performs failure recovery processing for the virtual space 2 when a failure occurs.

次に、各仮想空間2の構成と動作の詳細を第1図により
説明する。
Next, the configuration and operation of each virtual space 2 will be explained in detail with reference to FIG.

各仮想空間2内には、業務プログラム3を遂行する子タ
スク4と、それを監視する親タスク5とが備えられる。
Each virtual space 2 is provided with a child task 4 that executes the business program 3 and a parent task 5 that monitors the child task 4.

親タスク5は、子タスク生成機能6により子タスク4を
生成し、その後子タスク監視機能7により子タスク4の
監視を行う。
The parent task 5 generates a child task 4 using the child task generation function 6, and then monitors the child task 4 using the child task monitoring function 7.

子タスク4は、業務プログラム3の実行中にプログラム
ネ良等の障害8が発生すると、障害後処理9を実行した
後、子タスク消滅通知10を発して消滅する。親タスク
5は、子タスク4からの子タスク消滅通知10をタスク
監視機能7で受は取り、子タスクの消滅を検知すると、
終了判定機能11により、子タスクの消滅要因の分析を
行う。
When a fault 8 such as a program failure occurs during execution of the business program 3, the child task 4 executes post-failure processing 9, issues a child task disappearance notification 10, and disappears. When the parent task 5 receives the child task disappearance notification 10 from the child task 4 using the task monitoring function 7 and detects the disappearance of the child task,
The termination determination function 11 analyzes the cause of disappearance of the child task.

この障害判定機能11は、子タスク4の障害後処理9と
子タスク消滅通知10等により、障害が発生しているこ
とを判定し、必要に応じ、子タスク障害回復機能12を
実行させる。その後、親タスク5は、子タスク生成機能
6により子タスク4を再生成し、子タスク4の業務処理
の監視を子タスク監視機能7により実行する。再生成さ
れた子タスク4は、新たに制御空間16より与えられる
業務プログラムの実行を行う。
The failure determination function 11 determines that a failure has occurred based on the post-failure processing 9 of the child task 4 and the child task disappearance notification 10, and executes the child task failure recovery function 12 as necessary. Thereafter, the parent task 5 regenerates the child task 4 using the child task generation function 6, and monitors the business processing of the child task 4 using the child task monitoring function 7. The regenerated child task 4 executes the business program newly given from the control space 16.

本発明の一実施例は、前述のように動作することにより
、仮想空間2の障害回復を行うことができる。
One embodiment of the present invention can perform failure recovery in the virtual space 2 by operating as described above.

前述した実施例における障害後処理9により行われる代
表的な処理は、障害8に関する情報の利用者への提供、
例えば、コンソール装置への障害概略情報の表示、プリ
ンタ装置への仮想領域の内容の編集出力等を行うこと、
子タスク4に関する資源の解放、例えば、仮想領域の解
放、確保している遂次使用資源の解放等を行うこと等で
ある。
Typical processes performed by the post-failure process 9 in the embodiment described above include providing information about the failure 8 to the user;
For example, displaying failure summary information on a console device, editing and outputting the contents of a virtual area to a printer device, etc.
This includes releasing the resources related to the child task 4, for example, releasing the virtual area, releasing the reserved sequentially used resources, etc.

また、子タスク障害回復機能12により行われる代表的
な処理は、子タスク生成機能6、子タスク駆視機能7及
び終了判定機能11の間に確保した親タスク5に関する
資源の解放、例えば、子タスク生成用作業領域の解放、
オープンしたファイル装置、プリンタ装置のクローズを
行うこと等である。
Further, a typical process performed by the child task failure recovery function 12 is to release the resources related to the parent task 5 secured between the child task generation function 6, the child task viewing function 7, and the termination determination function 11, for example, Releasing work area for task generation,
This includes closing opened file devices and printer devices.

次に、前述した本発明の一実施例の動作を第3図に示す
フローチャートを参照してさらに説明する。
Next, the operation of the embodiment of the present invention described above will be further explained with reference to the flowchart shown in FIG.

(1)仮想空間2内の親タスク5は、処理開始後、まず
、例えば、プリンタ装置のオーブン等の前処理を実行す
る。この処理は、子タスク4により実行される業務プロ
グラム3の処理結果、障害情報等をプリンタ装置に受は
入れ可能とさせる処理である(ステップ31)。
(1) After starting the process, the parent task 5 in the virtual space 2 first performs pre-processing of the oven of the printer device, etc., for example. This process allows the printer device to receive the processing results of the business program 3 executed by the child task 4, failure information, etc. (step 31).

(2)次に、親タスク5は、子タスク生成機能6により
子タスク4を生成し、その後、タスク監視機能7により
、子タスク4からのタスク消滅用事象連絡ブロックへの
連絡を待つ状態となる(ステップ32.33)。
(2) Next, the parent task 5 uses the child task generation function 6 to generate a child task 4, and then the task monitoring function 7 enters a state in which it waits for the child task 4 to contact the task disappearance event communication block. (steps 32 and 33).

(3)ステップ32で、子タスク4が生成されると、子
タスク4は、処理を開始し、まず、障害処理用出口の登
録を行い、業務プログラムへリンクして、業務プログラ
ム3の実行を開始する(ステップ37.38)。
(3) When the child task 4 is generated in step 32, the child task 4 starts processing, first registers an exit for failure handling, links to the business program, and executes the business program 3. Start (steps 37.38).

(4)業務プログラム3の実行途中に障害8が発生する
と、ステップ37で登録された障害処理用出口に処理が
移行し、障害フラグをONとし、コンソール装置への障
害情報の表示を行い、プリンタ装置への仮想領域の内容
を編集して出力する等の障害後処理を実行する(ステッ
プ39〜42)。
(4) When a failure 8 occurs during the execution of the business program 3, the process moves to the failure processing exit registered in step 37, turns on the failure flag, displays failure information on the console device, and displays the failure information on the printer. Post-failure processing such as editing and outputting the contents of the virtual area to the device is executed (steps 39 to 42).

(5)子タスク4は、前述したステップ40〜42によ
る障害後処理を実行した後、タスク消滅用事象連絡ブロ
ックへ自タスクの消滅の連絡を行って、消滅する(ステ
ップ43)。
(5) After executing the post-failure processing in steps 40 to 42 described above, the child task 4 notifies the event communication block for task disappearance of the disappearance of its own task, and disappears (step 43).

(6)親タスク5は、前述のステップ33で、子タスク
4からの子タスク4の消滅を検出すると、障害フラグが
ONとなっていることを確認する(ステップ34)。
(6) When the parent task 5 detects the disappearance of the child task 4 from the child tasks 4 in step 33 described above, it confirms that the failure flag is ON (step 34).

(7)親タスク5は、障害フラグがONであることを確
認した後、例えば、プリンタ装置のクローズ等の障害後
処理を行い、ステップ31に戻る。
(7) After confirming that the failure flag is ON, the parent task 5 performs post-failure processing, such as closing the printer, and returns to step 31.

この処理は、ステップ42で出力された内容を、予め確
保しであるプリンタ装置へ確実に出力するための処理で
ある(ステップ36)。
This process is a process for reliably outputting the content output in step 42 to a previously reserved printer device (step 36).

(8)aタスク5は、子タスク4により行われる業務プ
ログラム3の処理の全てが、障害を生じることなく終了
すれば、仮想空間2を停止してその処理を終了する(ス
テップ35)。
(8) When all of the processing of the business program 3 performed by the child task 4 is completed without any failure, the a-task 5 stops the virtual space 2 and ends the processing (step 35).

本発明の実施例は、前述したように、仮想空間2内に、
業務プログラム3を実行する子タスク4と、子タスク4
の消滅を監視する親タスク5とを備えており、子タスク
4がプログラム障害等により消滅した場合にも、親タス
クが、直ちに新たな子タスクを再生成することができる
ので、仮想空間2を停止させることなく、次の業務プロ
グラムの実行が可能となる。
As mentioned above, in the embodiment of the present invention, in the virtual space 2,
Child task 4 that executes business program 3 and child task 4
The parent task 5 monitors the disappearance of the child task 4, and even if the child task 4 disappears due to a program failure, the parent task can immediately regenerate a new child task. It becomes possible to execute the next business program without stopping it.

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

以上説明したように、本発明によれば、多重仮想記憶方
式を利用したオンラインシステムあるいはデータベース
システムにおいて、ユーザプログラム等に障害が発生し
ても、そのユーザプログラム等により利用されていた仮
想空間を停止させることなく、その仮想空間の障害回復
を行うことが可能であるので、障害回復に要する時間を
短縮することができるとともに、仮想空間の停止、起動
といった煩わしいシステムの運用を排除することができ
、システムの運用効率の向上を図ることができる。
As explained above, according to the present invention, even if a failure occurs in a user program, etc. in an online system or database system using a multiplexed virtual memory method, the virtual space used by the user program, etc. is stopped. Since it is possible to recover from a fault in the virtual space without having to run the virtual space, the time required for fault recovery can be shortened, and troublesome system operations such as stopping and starting the virtual space can be eliminated. It is possible to improve the operational efficiency of the system.

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

第1図は本発明の一実施例の機能と処理を説明する図、
第2図は本発明の一実施例のシステム構成を示すブロッ
ク図、第3図は動作を説明するフローチャートである。 1・・・・・・・・・多重仮想記憶空間、2・・・・・
・・・・仮想空間、3・・・・・・・・・業務プログラ
ム、4・・・・・・・・・子タスク、5・・・・・・・
・・親タスク、6・・・・・・・・・子タスク生成機能
、7・・・・・・・・・子タスク監視機能、8・・・・
・・・・・障害、9・・・・・・・・・障害後処理、1
0・・・・・・・・・子タスク消滅通知、11・・・・
・・・・・終了判定機能、12・・・・・・・・・子タ
スク障害回復機能、13・・・・・・・・・端末装置、
工4・・・・・・・・・通信制御装置、15・・・・・
・・・・中央処理装置、16・・・・・・・・・制御空
間、17・・・・・・・・・業務処理空間群、18・・
・・・・・・・データベース、19・・・・・・・・・
仮想空間障害回復機能。 第 1 多を佐4JI記楕、7開 イ々づ853戸、1 マJ疹アロ7ラム 条り又り 親タスク )タスク法、A梗I叱 図 7 手り又7uJLl憾Tこ 8°階嘗 9:障省徨処遅 IO=″I−9人り通*ti堰Q ll′謔り判芝機厄 12 +2ス2庫′#回槽#に脂 第2図 第3図 鵠未藏! L信制鴎賞1 中に処碧茨K ・別#笠藺 I7゛叢務処理空間群 1B  7’−タギース 19 伍!!J9間陣害9檜磯肱
FIG. 1 is a diagram explaining the functions and processing of an embodiment of the present invention;
FIG. 2 is a block diagram showing the system configuration of an embodiment of the present invention, and FIG. 3 is a flow chart explaining the operation. 1...Multiple virtual storage space, 2...
...Virtual space, 3... Business program, 4... Child task, 5...
... Parent task, 6... Child task generation function, 7... Child task monitoring function, 8...
...Failure, 9...Fault post-processing, 1
0... Child task disappearance notification, 11...
...End determination function, 12... Child task failure recovery function, 13... Terminal device,
Engineering 4...Communication control device, 15...
... Central processing unit, 16 ... Control space, 17 ... Business processing space group, 18 ...
・・・・・・Database, 19・・・・・・・・・
Virtual space failure recovery function. 1st Tawosa 4JI record, 7 openings 853 houses, 1 MaJara 7 Ramu Rimata parent task) task method, A I scolding figure 7 Terimata 7u JLl regret T this 8° floor 9: IO = ``I-9 people's way *ti weir Q 12 + 2 s 2 store'' ! L Shin System Ou Sho 1 Nakadokoro Aoi Ibara K ・Another #Kasaya I7゛Complex Processing Space Group 1B 7'-Taguis 19 5!!

Claims (1)

【特許請求の範囲】[Claims] 1、多重仮想記憶方式を使用したデータ処理システムに
おいて、仮想空間内に業務を遂行する子タスクと、該子
タスクを監視する親タスクとを備え、プログラム障害等
による子タスクの異常終了時、親タスクは、その仮想空
間を停止させることなく、子タスクを再生成することを
特徴とする仮想空間の障害回復方式。
1. A data processing system using a multiplexed virtual memory method is equipped with a child task that performs work in a virtual space and a parent task that monitors the child task. A virtual space failure recovery method characterized in that a task regenerates child tasks without stopping the virtual space.
JP32483488A 1988-12-24 1988-12-24 Fault recovering system for virtual space Pending JPH02171833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32483488A JPH02171833A (en) 1988-12-24 1988-12-24 Fault recovering system for virtual space

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32483488A JPH02171833A (en) 1988-12-24 1988-12-24 Fault recovering system for virtual space

Publications (1)

Publication Number Publication Date
JPH02171833A true JPH02171833A (en) 1990-07-03

Family

ID=18170205

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32483488A Pending JPH02171833A (en) 1988-12-24 1988-12-24 Fault recovering system for virtual space

Country Status (1)

Country Link
JP (1) JPH02171833A (en)

Similar Documents

Publication Publication Date Title
CN104391777B (en) Cloud platform and its operation and monitoring method and device based on (SuSE) Linux OS
JPH04139544A (en) Data restoring method
JP2005242404A (en) Method for switching system of computer system
JPH02171833A (en) Fault recovering system for virtual space
JPH05314075A (en) On-line computer system
JP3022768B2 (en) Virtual computer system
JPH0756793A (en) Automatic restoration system for file fault
JPS62284440A (en) Software resource maintenance system for terminal equipment
CN110955556B (en) Database recovery method and device, storage medium and database system
JPH02310633A (en) Fault restoration processing system for virtual computer system
JPS638834A (en) Operating condition control system for automatic trouble recovery in computer system
JP2021064181A (en) Information processing device and program
JPH032957A (en) Starting process system for composite computer system
JPS6149225A (en) Operation of information processing system
JPH0877121A (en) Hot standby information handing-over system
JPH02196341A (en) Fault restoring system for information processor
JPS6238945A (en) Information process system
JPH08328989A (en) Managing system for input/output controller
JPH02150194A (en) Collected/distributed data supervising device for communication supervising system
JPH06187217A (en) System for synchronization between data base and normal file
JPH01216434A (en) Multitask control system for transaction processing
JPS62276652A (en) Function restoring system
JPH04365149A (en) File backup system for information processing system
JPS61183769A (en) System recovery controlling system
JPS5927355A (en) Information processing system