JPH08241279A - Dbms control system - Google Patents

Dbms control system

Info

Publication number
JPH08241279A
JPH08241279A JP7043829A JP4382995A JPH08241279A JP H08241279 A JPH08241279 A JP H08241279A JP 7043829 A JP7043829 A JP 7043829A JP 4382995 A JP4382995 A JP 4382995A JP H08241279 A JPH08241279 A JP H08241279A
Authority
JP
Japan
Prior art keywords
dbms
monitor
identification data
processing program
definition
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
JP7043829A
Other languages
Japanese (ja)
Inventor
Kenji Kushi
憲治 串
Motoaki Iwasaki
元昭 岩崎
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 JP7043829A priority Critical patent/JPH08241279A/en
Publication of JPH08241279A publication Critical patent/JPH08241279A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE: To reduce the operation load of the start/termination of an on-line system by making only a TP monitor (transaction processing program) have a function controlling a DBMS (data base processing program), without providing a special function by the DBMS. CONSTITUTION: A TP monitor 17 determines the process name of a DBMS 16 from a definition file 13 after the DBMS 16 is started and determines the identification data of the process based on the process information operating on a machine. A DBMS control program prepares the correspondence table composed of the process name and process identification data. Further, the TP monitor 17 monitors the existence of each process composing the DBMS16 at a fixed time interval while the DBMS is working based on the correspondence table of the process name and the process identification data, till a termination instruction is detected. When the process composing the DBMS 16 designated as the definition is abnormally terminated due to a fault, the DBMS 16 is started again after the DBMS 16 is temporarily and compulsorily stopped.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、DBMS制御システム
に関し、特にトランザクション処理プログラム(以下、
「TPモニタ」と呼ぶ)と、データベース処理プログラム
(DBMS)とを有するオンラインシステムにおいて、D
BMSの起動・終了や生存(存在)監視を実行可能とし
て、DBMS利用者の負担を軽減させるようにしたDB
MS制御システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DBMS control system, and more particularly to a transaction processing program (hereinafter,
"TP monitor") and database processing program
In an online system with (DBMS), D
A DB that reduces the burden on the DBMS user by enabling BMS activation / termination and survival (presence) monitoring.
Related to MS control system.

【0002】[0002]

【従来の技術】従来の、一般的なTPモニタとDBMS
とを有するオンラインシステムにおいては、例えば、日
経コンピュータ別冊「UNIX環境のビジネス・システム
構築に向けて」(1993年7月30日刊)135〜139頁に見られる
如く、TPモニタとDBMSの連携についてはX/Ope
n XAインタフェースのような、TPモニタからDBM
Sに行う方向の制御が可能なインタフェースしかなかっ
た。
2. Description of the Related Art Conventional general TP monitor and DBMS
In an online system having the following, for example, as described in Nikkei Computer Supplement “Towards Business System Construction in UNIX Environment” (published on July 30, 1993), pages 135 to 139, regarding the cooperation between the TP monitor and the DBMS, X / Ope
n TP monitor to DBM such as XA interface
There was only an interface that could control the direction to S.

【0003】[0003]

【発明が解決しようとする課題】上記従来技術は、シス
テム運用者が、TPモニタとDBMSとを1つのオンラ
インシステムとして起動・終了するような運用を行うと
いう点については配慮されておらず、システム運用者の
操作を簡単化・効率化するという点についての配慮に欠
けていた。本発明は上記事情に鑑みてなされたもので、
その目的とするところは、従来の技術における上述の如
き問題を解消し、TPモニタとDBMSとを有するオン
ラインシステムにおいて、システム運用者が、TPモニ
タとDBMSとを1つのオンラインシステムとして起動
・終了の運用を行えるDBMS制御システムを提供する
ことにある。
The above prior art does not consider that the system operator operates such that the TP monitor and the DBMS are started and terminated as one online system, and the system is not considered. It lacked consideration for simplifying and improving the efficiency of operator operations. The present invention has been made in view of the above circumstances,
The purpose is to solve the above-mentioned problems in the prior art, and in an online system having a TP monitor and a DBMS, the system operator can start and end the TP monitor and the DBMS as one online system. It is to provide a DBMS control system capable of operating.

【0004】[0004]

【課題を解決するための手段】本発明の上記目的は、T
PモニタとDBMSとを有するオンラインシステムにお
いて、前記TPモニタが、前記DBMSを起動する手段
と、該DBMSの起動完了を待って自らの起動完了とす
る手段と、前記DBMSを終了させる手段と、前記DB
MSを構成する複数のプロセスの名称を定義ファイルか
ら得て、それらのプロセスの存在を監視する手段と、該
監視手段を利用して前記DBMSを構成するプロセスの
少なくとも1つが異常終了したことを検知した場合に、
前記DBMSを再起動させる手段を有し、前記各手段に
より前記DBMSの制御を行うことを特徴とするDBM
S制御システムによって達成される。
The above-mentioned object of the present invention is to
In an online system having a P monitor and a DBMS, the TP monitor starts the DBMS, waits for completion of the start of the DBMS and completes the start of the DBMS, and ends the DBMS. DB
Obtaining the names of a plurality of processes configuring the MS from the definition file, and means for monitoring the existence of these processes and detecting that at least one of the processes configuring the DBMS is abnormally terminated using the monitoring means If you do
A DBMS having means for restarting the DBMS, wherein the DBMS is controlled by the respective means.
This is achieved by the S control system.

【0005】[0005]

【作用】本発明に係るDBMS制御システムにおいて
は、DBMSが特別な機能を提供することなく、TPモ
ニタにのみ、DBMSを制御する機能を持たせることに
より、TPモニタと一般のDBMSからなるオンライン
システムの起動・終了の運用負荷を軽減することが可能
になる。
In the DBMS control system according to the present invention, the DBMS does not provide a special function, and only the TP monitor has the function of controlling the DBMS, so that the online system including the TP monitor and the general DBMS is provided. It is possible to reduce the operation load of starting and ending.

【0006】[0006]

【実施例】以下、本発明の実施例を図面に基づいて詳細
に説明する。図1は、本発明の一実施例に係るTPモニ
タとDBMSを含むオンラインシステムの構成図であ
る。本実施例に係るオンラインシステムにおいては、計
算機システム11に、端末システム14,15およびデ
ータベース111が接続されている。計算機システム1
1では、TPモニタ17とDBMS16およびアプリケ
ーションプログラム112,113,114が動作す
る。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a configuration diagram of an online system including a TP monitor and a DBMS according to an embodiment of the present invention. In the online system according to the present embodiment, the computer system 11 is connected to the terminal systems 14 and 15 and the database 111. Computer system 1
1, the TP monitor 17, the DBMS 16, and the application programs 112, 113, 114 operate.

【0007】TPモニタ内のプログラムであるDBMS
制御プログラム12は、DBMS起動手段12aと、D
BMS終了手段12bと、DBMS監視手段12cと、
該監視手段12cが上記DBMSを構成するプロセスの
少なくとも1つの異常終了を検知した場合に、DBMS
を再起動させる手段12dを有し、システムの利用者が
自己のDB(データベース)の構成に基づいて作成してあ
る定義ファイル13の内容を基に、本実施例の特徴であ
る、DBMSの起動・終了やDBMSのプロセスの生存
確認を行う。
DBMS which is a program in the TP monitor
The control program 12 includes DBMS starting means 12a and D
BMS termination means 12b, DBMS monitoring means 12c,
When the monitoring means 12c detects at least one abnormal end of the processes constituting the DBMS, the DBMS
12d for restarting the system, based on the contents of the definition file 13 created by the user of the system based on the configuration of his / her own DB (database), which is the feature of this embodiment, the starting of the DBMS. -End and confirm the existence of the DBMS process.

【0008】端末システム14または15から入力され
るデータにより、1つのアプリケーションプログラムが
起動され、トランザクションが実行される。データベー
スの参照・更新を伴うものであれば、対応するアプリケ
ーションプログラムがDBMS16を介して、データベ
ース111にアクセスする。図2は、本実施例に係るT
PモニタによるDBMSの起動手順を示すフローチャー
ト、図3は、本実施例に係るTPモニタによるDBMS
プロセスの停止手順を示すフローチャート、図4は、D
BMS障害時の再起動の手順を示すフローチャート、図
5は、上述の定義ファイル13の内容の一例を示す図で
ある。
Data inputted from the terminal system 14 or 15 activates one application program and executes a transaction. If the reference / update of the database is involved, the corresponding application program accesses the database 111 via the DBMS 16. FIG. 2 shows the T according to the present embodiment.
FIG. 3 is a flow chart showing the procedure for starting the DBMS by the P monitor, and FIG. 3 shows the DBMS by the TP monitor according to this embodiment.
A flow chart showing the procedure for stopping the process, FIG.
FIG. 5 is a flowchart showing the procedure of restarting when a BMS failure occurs, and FIG. 5 is a diagram showing an example of the contents of the definition file 13 described above.

【0009】以下、上記各図を用いて、本実施例に係る
オンラインシステムにおける、TPモニタの動作を説明
する。TPモニタ17は、システム起動時に、当該TP
モニタで使用するDBMSが存在するか否かを、定義フ
ァイル13から認識して、使用するDBMSがある場合
には、起動要求があったとき(ステップ21)。定義に記
述された開始コマンド(図5の53)を基に、DBMS1
6を起動する(ステップ22)。TPモニタ17は、DB
MS16を起動後、DBMS16の起動完了を確認して
(ステップ25)、オンライン状態になる。
The operation of the TP monitor in the online system according to this embodiment will be described below with reference to the drawings. When the system is started, the TP monitor 17 displays the TP
Whether or not there is a DBMS to be used by the monitor is recognized from the definition file 13, and if there is a DBMS to be used, there is a start request (step 21). DBMS1 based on the start command (53 in FIG. 5) described in the definition
6 is activated (step 22). TP monitor 17 is a DB
After starting MS16, confirm that the startup of DBMS16 is complete.
(Step 25), it goes online.

【0010】また、TPモニタ17は、DBMS16を
起動した後に、DBMS16のプロセス名称(図5の5
1)を定義ファイル13から求め、マシン上で動作する
プロセス情報を基にして、プロセスの識別子を求める。
そして、DBMS制御プログラムは、プロセス名称(図
6の61)とプロセス識別子(同、62)から成る対応表
を作成する(ステップ23)。そして、TPモニタ17
は、終了指示が検出されるまで(ステップ41)、プロセ
ス名称とプロセス識別子の対応表(図6参照)を基に、D
BMS稼働中、一定時間間隔で、DBMSを構成する各
プロセスの存在を監視する(ステップ42)。
Further, the TP monitor 17 starts the DBMS 16 and then executes the process name of the DBMS 16 (5 in FIG. 5).
1) is obtained from the definition file 13 and the process identifier is obtained based on the process information operating on the machine.
Then, the DBMS control program creates a correspondence table composed of the process name (61 in FIG. 6) and the process identifier (62) (step 23). Then, the TP monitor 17
Until the end instruction is detected (step 41), based on the correspondence table of process names and process identifiers (see FIG. 6), D
During the operation of the BMS, the existence of each process constituting the DBMS is monitored at regular time intervals (step 42).

【0011】TPモニタ17は、定義に指定したDBM
Sを構成するプロセス(図5の51)が障害により異常終
了した場合、一旦、DBMSを定義に記述された強制停
止コマンド(図5の54)を基に強制停止させた(ステッ
プ43)後、再度、DBMSを起動する(ステップ4
4)。DBMS制御プログラムは、最初の起動時と同様
に、プロセス名称とプロセス識別子から成る対応表を作
成する(ステップ45)。また、TPモニタが終了する場
合は、DBMSが起動されているか否かを認識し(ステ
ップ33)、DBMSが起動されている場合は、定義に
記述された停止コマンド(図5の52)を基に、DBMS
を停止する(ステップ34)。
The TP monitor 17 is the DBM specified in the definition.
When the process (51 in FIG. 5) that constitutes S is abnormally terminated due to a failure, once the DBMS is forcibly stopped based on the forced stop command (54 in FIG. 5) described in the definition (step 43), Start the DBMS again (Step 4)
4). The DBMS control program creates a correspondence table composed of process names and process identifiers as in the first activation (step 45). When the TP monitor ends, it is recognized whether or not the DBMS is activated (step 33). When the DBMS is activated, the stop command (52 in FIG. 5) described in the definition is used. In the DBMS
Is stopped (step 34).

【0012】本実施例によれば、上述の如き機能を備え
たTPモニタと特別な機能を備えていない一般のDBM
Sとを1つのオンラインシステムとして構成した場合に
も、システム利用者のシステム起動・終了の運用負荷を
軽減することが可能になる。更に、DBMSの異常終了
に対してもTPモニタが自動的に再起動することがで
き、システム利用者の負荷を軽減することが可能にな
る。なお、上記実施例は本発明の一例を示したものであ
り、本発明はこれに限定されるべきものではないことは
言うまでもないことである。
According to the present embodiment, the TP monitor having the above-mentioned function and the general DBM having no special function are provided.
Even when S and S are configured as one online system, it is possible to reduce the operational load of the system user for starting and ending the system. Furthermore, the TP monitor can be automatically restarted even when the DBMS ends abnormally, and the load on the system user can be reduced. It is needless to say that the above embodiment shows one example of the present invention, and the present invention should not be limited to this.

【0013】[0013]

【発明の効果】以上、詳細に説明した如く、本発明によ
れば、TPモニタとDBMSとを有するオンラインシス
テムにおいて、システム運用者が、TPモニタとDBM
Sとを1つのオンラインシステムとして起動・終了の運
用を行えるDBMS制御システムを実現できるという顕
著な効果を奏するものである。
As described above in detail, according to the present invention, in the online system having the TP monitor and the DBMS, the system operator can operate the TP monitor and the DBMS.
It is possible to realize a DBMS control system in which S and S are used as one online system to perform start / end operations.

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

【図1】本発明の一実施例に係るTPモニタとDBMS
を含むオンラインシステムの構成図である。
FIG. 1 is a TP monitor and a DBMS according to an embodiment of the present invention.
It is a block diagram of an online system including.

【図2】実施例に係るTPモニタによるDBMSの起動
手順を示すフローチャートである。
FIG. 2 is a flowchart showing a procedure for starting a DBMS by a TP monitor according to an embodiment.

【図3】実施例に係るTPモニタによるDBMSの停止
手順を示すフローチャートである。
FIG. 3 is a flowchart showing a procedure for stopping a DBMS by a TP monitor according to an embodiment.

【図4】実施例に係るTPモニタによるDBMS障害時
の再起動の手順を示すフローチャートである。
FIG. 4 is a flowchart showing a procedure of restarting at the time of a DBMS failure by the TP monitor according to the embodiment.

【図5】実施例に係る定義ファイル13の内容の一例を
示す図である。
FIG. 5 is a diagram showing an example of contents of a definition file 13 according to the embodiment.

【図6】実施例Fに係るTPモニタによるDBMSプロ
セス監視用の制御情報の表である。
FIG. 6 is a table of control information for DBMS process monitoring by the TP monitor according to the embodiment F.

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

11 計算機システム 12 DBMS制御プロセス 12a DBMS起動手段 12b DBMS終了手段 12c DBMS監視手段 12d 異常終了時、DBMSを再起動させる手段 13 定義ファイル 14,15 端末システム 16 DBMS 17 TPモニタ 111 デ−タベ−ス 112,113,114 アプリケ−ションプログラム 11 Computer System 12 DBMS Control Process 12a DBMS Starting Means 12b DBMS Ending Means 12c DBMS Monitoring Means 12d Means for Reactivating DBMS at Abnormal Termination 13 Definition File 14, 15 Terminal System 16 DBMS 17 TP Monitor 111 Data Base 112 , 113,114 Application programs

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 トランザクション処理プログラム(TP
モニタ)とデータベース処理プログラム(DBMS)とを
有するオンラインシステムにおいて、前記TPモニタ
が、前記DBMSを起動する手段と、該DBMSの起動
完了を待って自らの起動完了とする手段と、前記DBM
Sを終了させる手段と、前記DBMSを構成する複数の
プロセスの名称を定義ファイルから得て、それらのプロ
セスの存在を監視する手段と、該監視手段を利用して前
記DBMSを構成するプロセスの少なくとも1つが異常
終了したことを検知した場合に、前記DBMSを再起動
させる手段を有し、前記各手段により前記DBMSの制
御を行うことを特徴とするDBMS制御システム。
1. Transaction processing program (TP
Monitor) and a database processing program (DBMS), the TP monitor has means for starting the DBMS, means for waiting for completion of the start of the DBMS to complete its own start, and the DBMS.
At least the means for terminating S, the means for obtaining the names of a plurality of processes configuring the DBMS from the definition file, and monitoring the existence of these processes, and the process for configuring the DBMS using the monitoring means. A DBMS control system comprising: means for restarting the DBMS when one of the terminals is detected to be abnormally terminated, and the DBMS is controlled by the respective means.
JP7043829A 1995-03-03 1995-03-03 Dbms control system Pending JPH08241279A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7043829A JPH08241279A (en) 1995-03-03 1995-03-03 Dbms control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7043829A JPH08241279A (en) 1995-03-03 1995-03-03 Dbms control system

Publications (1)

Publication Number Publication Date
JPH08241279A true JPH08241279A (en) 1996-09-17

Family

ID=12674652

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7043829A Pending JPH08241279A (en) 1995-03-03 1995-03-03 Dbms control system

Country Status (1)

Country Link
JP (1) JPH08241279A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000022527A1 (en) * 1998-10-09 2000-04-20 Sun Microsystems, Inc. Process monitoring in a computer system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000022527A1 (en) * 1998-10-09 2000-04-20 Sun Microsystems, Inc. Process monitoring in a computer system

Similar Documents

Publication Publication Date Title
US5794031A (en) Distributed processing system for system booting and shutdown in distributed processing environment
JP2723068B2 (en) Job re-execution method
JPH07160370A (en) Service interruption controller
JPH08241279A (en) Dbms control system
JPH03100712A (en) Power source disconnection control system for server work station
JP2545763B2 (en) Restart method of batch processing in hot standby system
JP2002312076A (en) Power supply control device for computer system
JPH0713832A (en) Backup management device
KR100286222B1 (en) Auto-rebooting method of network management unit
JPH03252748A (en) Remote output system with monitoring function
JPH0652105A (en) Online operation management system by key-in/key-out simulation processing
JPH02190957A (en) Exchanging system for peripheral device
JPH0756749A (en) Job monitoring system
JPH0619233Y2 (en) Communication node
JPS6385939A (en) Information processing system
JPH0589049A (en) Command executing device
JPH02310733A (en) Execution control system for program in general purpose terminal system
JPS6197750A (en) Restart system for on-line job
JPH09185520A (en) Test diagnostic method for cluster constitution system
JPH03252753A (en) Processing start-up device
JPH0332143A (en) Processor extension method for multiple decentralization control exchange system
JPH08202586A (en) Connection monitoring system
JPH05100884A (en) Switching system at the time of fault occurrence in duplex operation
JPH05181800A (en) Command linkage system
JPH0456347B2 (en)

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040824

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041221