JP3185446B2 - Computer system - Google Patents

Computer system

Info

Publication number
JP3185446B2
JP3185446B2 JP05040093A JP5040093A JP3185446B2 JP 3185446 B2 JP3185446 B2 JP 3185446B2 JP 05040093 A JP05040093 A JP 05040093A JP 5040093 A JP5040093 A JP 5040093A JP 3185446 B2 JP3185446 B2 JP 3185446B2
Authority
JP
Japan
Prior art keywords
processing
power failure
power supply
computer system
shutdown
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.)
Expired - Fee Related
Application number
JP05040093A
Other languages
Japanese (ja)
Other versions
JPH06266478A (en
Inventor
譲 真矢
英明 源馬
公稔 山田
俊之 木下
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 JP05040093A priority Critical patent/JP3185446B2/en
Publication of JPH06266478A publication Critical patent/JPH06266478A/en
Application granted granted Critical
Publication of JP3185446B2 publication Critical patent/JP3185446B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、計算機システムに係
り、特に、無停電電源装置を備えた計算機システムに関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system, and more particularly to a computer system having an uninterruptible power supply.

【0002】[0002]

【従来の技術】近年、計算機システムにおけるオンライ
ントランザクション処理の普及により、システムを停止
させないで、処理を継続させる要求が強くなっている。
電源障害についても、同様であり、電源障害が発生した
場合であっても、システムを停止させないで、処理を継
続させることが要求されている。
2. Description of the Related Art In recent years, with the spread of online transaction processing in computer systems, there has been an increasing demand for continuing processing without stopping the system.
The same applies to a power failure, and even when a power failure occurs, it is required to continue processing without stopping the system.

【0003】従来、電源障害の対策のために無停電電源
装置を装備した計算機システムでは、電源障害が発生す
ると、無停電電源装置に切り替えるとともに、OSは、
再立ち上げができるようにシャットダウン処理を実行
し、その後システムを停止する。このような電源バック
アップ方式は、例えば、東芝レビュー(1992 Vo
l.47 No.11 p.883〜p.886)ある
いは、あるいは特開平3−288220号公報に開示さ
れている。
Conventionally, in a computer system equipped with an uninterruptible power supply as a measure against a power failure, when a power failure occurs, the computer is switched to the uninterruptible power supply and the OS
Executes shutdown processing so that it can be restarted, and then stops the system. Such a power supply backup method is described in, for example, Toshiba Review (1992 Vo
l. 47 No. 11 p. 883-p. 886) Or, alternatively, it is disclosed in JP-A-3-288220.

【0004】[0004]

【発明が解決しようとする課題】上記の従来の方法で
は、電源障害が発生し、シャットダウン処理実行中に、
電源障害から回復しても、シャットダウン処理を継続
し、無条件にシステムを停止させてしまうという問題が
あった。
In the above conventional method, when a power failure occurs and the shutdown process is executed,
Even after recovery from a power failure, there is a problem that the shutdown process is continued and the system is stopped unconditionally.

【0005】従って、本発明の目的は、このような従来
技術における技術課題を解決し、OSのシャットダウン
処理中に電源障害から回復した場合に、シャットダウン
処理を終了させ、電源障害によるシャットダウン処理開
始前の処理を継続することが可能な電源バックアップ装
置、および電源バックアップ方法を提供することにあ
る。
Accordingly, an object of the present invention is to solve such a technical problem in the related art, and to terminate the shutdown processing when the power supply failure is recovered during the shutdown processing of the OS and to start the shutdown processing due to the power failure. A power supply backup device and a power supply backup method capable of continuing the above processing.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、本発明の電源バックアップ装置は、無停電電源装置
を装備し、電源障害発生時に処理装置がシステムを停止
するためのシャットダウン処理を実行する計算機システ
ムにおいて、前記無停電電源装置に電源障害からの回復
を検出する手段と、該検出手段により検出された電源障
害からの回復を前記処理装置に通知する手段とを設け、
前記処理装置は、前記シャットダウン処理実行中に前記
電源障害からの回復の通知を受信した場合、実行中のシ
ャットダウン処理を中止し、電源障害発生前に実行して
いた処理を再開することを特徴としている。
In order to achieve the above object, a power supply backup device of the present invention is provided with an uninterruptible power supply, and executes a shutdown process for stopping a system when a power failure occurs. In the computer system, a means for detecting recovery from a power failure in the uninterruptible power supply, and means for notifying the processing apparatus of recovery from a power failure detected by the detection means,
The processing device, when receiving the notification of recovery from the power failure during the execution of the shutdown process, suspends the shutdown process that is being performed, and restarts the process that was being performed before the power failure occurred I have.

【0007】[0007]

【作用】本発明では、計算機システムに無停電電源装置
を装備する。電源障害が発生すると、計算機システムは
無停電電源装置に切り替え、OSはシャットダウン処理
を実行する。シャットダウン処理中に、電源障害から回
復すると、無停電電源装置は電源障害から回復したこと
を検出し、そのことを処理装置に通知する。処理装置で
は復電割込みを受信すると、シャットダウン処理を終了
して、メモリの内容を参照し、再開命令を発行し、電源
障害発生前に実行していた処理を再開する。
According to the present invention, a computer system is equipped with an uninterruptible power supply. When a power failure occurs, the computer system switches to the uninterruptible power supply, and the OS executes a shutdown process. When recovering from the power failure during the shutdown process, the uninterruptible power supply detects that the power failure has been recovered, and notifies the processing device of the recovery. Upon receiving the power restoration interrupt, the processing device ends the shutdown process, refers to the contents of the memory, issues a restart instruction, and restarts the process that was being executed before the occurrence of the power failure.

【0008】これにより、シャットダウン処理中に電源
障害から回復すると、システムを停止させることなく、
電源障害発生の直前の処理を継続させることができる。
[0008] Thus, when the power supply recovers from the power failure during the shutdown processing, the system can be stopped without stopping.
Processing immediately before the occurrence of a power failure can be continued.

【0009】[0009]

【実施例】以下、本発明について図面を用い詳細に説明
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings.

【0010】図1は本発明を適用した計算機システムの
一実施例の構成図である。
FIG. 1 is a configuration diagram of an embodiment of a computer system to which the present invention is applied.

【0011】図1において、1は商用電源、2は無停電
電源装置、3は電源装置2により電源が供給される計算
機システムである。無停電電源装置2は、充電装置2−
1、電源障害/復電検出回路2−2およびスイッチ2−
3から構成される。
In FIG. 1, reference numeral 1 denotes a commercial power supply, 2 denotes an uninterruptible power supply, and 3 denotes a computer system to which power is supplied from the power supply 2. The uninterruptible power supply 2 is a charging device 2-
1. Power failure / recovery detection circuit 2-2 and switch 2-
3

【0012】通常時、計算機システム3は、無停電電源
装置2を介して商用電源1から電力線6により電力の供
給を受けている。商用電源1で障害が発生すると、無停
電電源装置2は、電源障害/復電検出回路2−2により
電源障害が発生したことを検出し、電源障害信号線4を
介して電源障害の発生を計算機システム3に通知する。
また、これとともに、スイッチ2−3を制御して充電装
置2−1から電力の供給を開始する。同様に電源障害が
発生した後、復電した場合には、復電信号線5を介して
電源障害から回復したことを計算機システム3に通知す
る。
Normally, the computer system 3 is supplied with power from the commercial power supply 1 via the power line 6 via the uninterruptible power supply 2. When a failure occurs in the commercial power supply 1, the uninterruptible power supply 2 detects that the power failure has occurred by the power failure / recovery detection circuit 2-2, and detects the occurrence of the power failure via the power failure signal line 4. Notify the computer system 3.
At the same time, the switch 2-3 is controlled to start supplying power from the charging device 2-1. Similarly, when the power is restored after the occurrence of the power failure, the computer system 3 is notified via the power restoration signal line 5 that the computer system 3 has recovered from the power failure.

【0013】図2は、計算機システム3の一例を示す構
成図である。計算機システム3は、プロセッサ10、プ
ロセッサ10上で走るOS20、OS20により実行さ
れるアプリケーションプログラム(AP)を保持するメ
モリ11、システム監視装置12、電源制御装置13、
I/Oを制御するIOP14、IOP14に接続された
およびディスク装置15を含んで構成されている。図1
に示す電源障害信号線4及び復電信号線5は、電源制御
装置13に接続している。
FIG. 2 is a configuration diagram showing an example of the computer system 3. The computer system 3 includes a processor 10, an OS 20 running on the processor 10, a memory 11 for holding an application program (AP) executed by the OS 20, a system monitoring device 12, a power control device 13,
It includes an IOP 14 for controlling I / O, and a disk device 15 connected to the IOP 14. FIG.
The power failure signal line 4 and the restoration signal line 5 shown in FIG.

【0014】システム監視装置12は、電源障害信号線
4を介して電源障害の発生の通知を無停電電源装置2か
ら受けると、電源障害割込み30を発生しプロセッサ1
0に電源障害の発生を通知する。また、システム監視装
置12は、復電信号線5を介して電源障害からの回復の
通知を受けると、復電割込み31を発生して、それをプ
ロセッサ10に通知する。
When the system monitoring device 12 receives a notification of the occurrence of a power failure from the uninterruptible power supply 2 via the power failure signal line 4, the system monitoring device 12 generates a power failure interrupt 30 and
0 is notified of the occurrence of a power failure. Further, upon receiving the notification of the recovery from the power failure via the power recovery signal line 5, the system monitoring device 12 generates a power recovery interrupt 31 and notifies the processor 10 of it.

【0015】以下に、電源障害が発生し、回復するまで
の処理手順について示す。
The processing procedure from the occurrence of a power failure to its recovery will be described below.

【0016】図3は、電源障害が発生し回復するまでの
動作の概要図である。
FIG. 3 is a schematic diagram showing the operation from the occurrence of a power failure until recovery.

【0017】まず、商用電源1で障害が発生する(処理
100)。無停電電源装置2の電源障害/復電検出回路
が、電源障害を検出し、計算機システム3への電力の供
給を商用電源から無停電電源装置2に切り替える(処理
101)。無停電電源装置2からの電力供給により、計
算機システム3の動作は保証される(処理102)。
First, a failure occurs in the commercial power supply 1 (process 100). The power failure / restoration detection circuit of the uninterruptible power supply 2 detects the power failure and switches the power supply to the computer system 3 from the commercial power supply to the uninterruptible power supply 2 (process 101). The operation of the computer system 3 is guaranteed by the power supply from the uninterruptible power supply 2 (process 102).

【0018】システム監視装置12は、無停電電源装置
2から電源障害信号線4を介して電源障害を受信すし
(処理103)、電源障害割込み30を発生させて電源
障害発生をプロセッサ10で実行されているOS20に
通知する(処理104)。
The system monitor 12 receives a power failure from the uninterruptible power supply 2 via the power failure signal line 4 (process 103), generates a power failure interrupt 30, and causes the processor 10 to execute the power failure. The OS 20 is notified (step 104).

【0019】この時、ソフトウェアはAP(業務プログ
ラム)21を実行している(処理105)。プロセッサ
10上で動作中のOS20は電源障害割込み30を受信
するとAP21の処理を中断し(処理106)、メモリ
11の内容をディスク装置15に退避するシャットダウ
ン処理を続行する(処理107)。
At this time, the software is executing the AP (business program) 21 (process 105). Upon receiving the power failure interrupt 30, the OS 20 running on the processor 10 suspends the processing of the AP 21 (processing 106) and continues the shutdown processing for saving the contents of the memory 11 to the disk device 15 (processing 107).

【0020】OS20がシャットダウン処理を実行中
に、商用電源1が障害から回復する(処理110)。無
停電電源装置2の電源障害/復電検出回路2−2は商用
電源1が障害から回復したことを検出し、計算機システ
ム3への電力供給源を商用電源1に切り替える(処理1
11)。
While the OS 20 is executing the shutdown process, the commercial power supply 1 recovers from the failure (process 110). The power failure / recovery detection circuit 2-2 of the uninterruptible power supply 2 detects that the commercial power supply 1 has recovered from the failure, and switches the power supply source to the computer system 3 to the commercial power supply 1 (Process 1).
11).

【0021】システム監視装置12は、無停電電源装置
2から復電信号線5を介して電源障害から回復したこと
を受信する(処理112)。さらに、システム監視装置
12は、復電割込み31を発生し、電源障害から回復し
たことをプロセッサ上でシャットダウン処理を実行中の
OS20に通知する(処理113)。
The system monitoring device 12 receives from the uninterruptible power supply 2 via the restoration signal line 5 that the power supply has recovered from the power failure (process 112). Further, the system monitoring device 12 generates a power restoration interrupt 31 and notifies the OS 20 that is executing shutdown processing on the processor that the power supply has been recovered from the power failure (process 113).

【0022】OS20は、復電割込み31を受けると、
シャットダウン処理を終了して、メモリ11の内容を参
照し、AP21に処理の再開命令を発行する。これによ
り、AP21は、電源障害割込み30により中断した処
理を再開する(処理114)。
When the OS 20 receives the power restoration interrupt 31,
After terminating the shutdown process, the process refers to the contents of the memory 11 and issues a process restart instruction to the AP 21. Thereby, the AP 21 resumes the process interrupted by the power failure interrupt 30 (process 114).

【0023】以降、図4から図6を用いて、OS20が
シャットダウン処理を実行中に商用電源1が障害から回
復した場合の処理手順について、さらに詳細に説明す
る。
Hereinafter, a processing procedure when the commercial power supply 1 recovers from the failure while the OS 20 is executing the shutdown processing will be described in more detail with reference to FIGS.

【0024】まず、ここで前提とするOS20のシャッ
トダウン処理の例として2つの方法について説明する。
First, two methods will be described as examples of the shutdown processing of the OS 20 assumed here.

【0025】(1)方式1 OS20は、電源障害割込み30を受けると、実行中の
すべてのAP21に対して、終了処理を要求する。AP
21はこれに応じて終了処理を実行し、それが完了する
と、OS20に完了通知を戻す。そして、OS20はA
P21から完了通知を受けると、メモリ11の内容をデ
ィスク装置15に格納してシステムを停止する。
(1) Method 1 When the OS 20 receives the power failure interrupt 30, the OS 20 requests all the APs 21 that are being executed to perform termination processing. AP
21 executes end processing in response thereto, and upon completion thereof, returns a completion notification to the OS 20. And OS20 is A
Upon receiving the completion notification from P21, the contents of the memory 11 are stored in the disk device 15, and the system is stopped.

【0026】再度、システムを立ち上げる場合には、O
S20はディスク装置15から立ち上げる。
To start up the system again, O
S20 is started from the disk device 15.

【0027】(2)方式2 この方式では、OS20はAP21に対する終了要求の
発行は行なわない。OS20は、電源障害割込み30を
受けると、メモリ11の内容をメモリイメージでそのま
まディスク装置15に退避して、システムを停止する。
これにより、シャットダウン処理開始前のAP21の実
行中の状態情報は、ディスク装置15にそのまま格納さ
れる。システムを立ち上げる場合には、ディスク装置1
5に退避した情報をメモリ11に転送することにより、
シャットダウン処理開始直前のシステム状態を再現して
システムを立ち上げることが可能である。
(2) Method 2 In this method, the OS 20 does not issue an end request to the AP 21. Upon receiving the power failure interrupt 30, the OS 20 saves the contents of the memory 11 as a memory image to the disk device 15 and stops the system.
As a result, the status information of the AP 21 being executed before the start of the shutdown process is stored in the disk device 15 as it is. When starting up the system, the disk device 1
By transferring the information saved in 5 to the memory 11,
It is possible to start up the system by reproducing the system state immediately before the start of the shutdown processing.

【0028】以下、上記の2方式を例にして、OS20
のシャットダウン処理中に電源障害から回復する場合の
処理手順を説明する。
Hereinafter, the OS 20
A procedure for recovering from a power failure during the shutdown process of FIG.

【0029】まず、方式1のシャットダウン処理を適用
した場合について述べる。
First, a case where the shutdown processing of the method 1 is applied will be described.

【0030】図4は、方式1のシャットダウン処理を適
用した場合の処理手順を示す図である。
FIG. 4 is a diagram showing a processing procedure when the shutdown processing of the method 1 is applied.

【0031】OS20は、システム監視装置12から電
源障害割込み30を受信すると、シャットダウン処理を
開始する。
When the OS 20 receives the power failure interrupt 30 from the system monitoring device 12, the OS 20 starts a shutdown process.

【0032】OS20はまず、実行中のAP21に対し
終了処理を要求する(処理150)。AP21はこれに
応じて終了処理を実行し(処理151)、終了処理が終
了するとそれをOS20に通知する(処理152)。次
に、OS20は電源障害から回復したことを示す復電割
込み31が発生したか否か判定する(処理153)。復
電割込み31が発生していれば、終了させたAP21を
起動させ(処理154)、起動終了後メモリの内容を参
照して、電源障害割込み30が発生する直前に実行され
た命令の次の命令から処理を再開する(処理155)。
The OS 20 first requests the currently executing AP 21 to perform an end process (process 150). The AP 21 executes end processing in response to this (step 151), and notifies the OS 20 when the end processing ends (step 152). Next, the OS 20 determines whether or not the power restoration interrupt 31 indicating that the power has recovered from the power failure has occurred (Step 153). If the power restoration interrupt 31 has occurred, the terminated AP 21 is activated (process 154), and after the activation is completed, the contents of the memory are referred to and the next to the instruction executed immediately before the power failure interruption 30 occurs. The process is restarted from the instruction (process 155).

【0033】この時点で復電割込み31が発生していな
ければ、メモリ11の領域を分割し(処理156)、1
領域毎にメモリ11の内容をディスク装置15に転送す
る(処理157)。そして、メモリ内容の転送中にも、
復電割込み31が発生したかどうか判定し(処理15
8)、もし、復電割込み31が発生していれば、ディス
ク装置15に書き込んだ内容を無効にする。(処理15
9)。その後、終了させたAP21を起動させ(処理1
54)、起動終了後メモリ11の内容を参照して、電源
障害割込み30が発生する直前に実行された命令の次の
命令から処理を再開する(処理155)。
If the power restoration interrupt 31 has not occurred at this time, the area of the memory 11 is divided (step 156).
The contents of the memory 11 are transferred to the disk device 15 for each area (process 157). And during the transfer of memory contents,
It is determined whether or not the power restoration interrupt 31 has occurred (step 15
8) If the power restoration interrupt 31 has occurred, the contents written to the disk device 15 are invalidated. (Process 15
9). Thereafter, the terminated AP 21 is activated (Process 1).
54) After the startup, referring to the contents of the memory 11, the processing is restarted from the instruction following the instruction executed immediately before the occurrence of the power failure interrupt 30 (process 155).

【0034】処理158においても復電割込み31が発
生していなければ、メモリ11の内容をすべてディスク
装置15に格納したかどうか判定する(処理160)。
メモリ11内の内容をすべてディスク装置15に格納し
ていなければ、処理157から処理160の処理を繰り
返し実行する。
If the power restoration interrupt 31 has not occurred in the process 158, it is determined whether or not all the contents of the memory 11 have been stored in the disk device 15 (process 160).
If all the contents in the memory 11 are not stored in the disk device 15, the processing of the processing 157 to the processing 160 is repeatedly executed.

【0035】メモリ11の内容をすべてディスク装置1
5に格納した後、さらに、復電割込み31が発生したか
どうか判定する(処理162)、ここで復電割込み(3
1)が発生していれば、処理159に進み、ディスク装
置15に書き込んだ内容を無効にし、処理157および
処理158を実行してAP21を起動、処理を再開す
る。このとき、AP21を継続して起動せず、ディスク
装置15からシステムを立ち上げるようにしてもよい
(処理163)。
All contents of the memory 11 are stored in the disk device 1
After that, it is further determined whether or not the power restoration interrupt 31 has occurred (step 162).
If 1) has occurred, the process proceeds to step 159, in which the contents written to the disk device 15 are invalidated, the processes 157 and 158 are executed, the AP 21 is started, and the process is restarted. At this time, the system may be started from the disk device 15 without continuously starting the AP 21 (process 163).

【0036】処理162において復電割込み31がなけ
れば、電源障害は依然として続いているので、計算機シ
ステム3を停止させて処理を終了する(処理 16
4)。
If there is no power restoration interrupt 31 in step 162, the power failure still continues, so the computer system 3 is stopped and the processing is terminated (step 16).
4).

【0037】次に、図5と図6を用いて、方式2のシャ
ットダウン処理を適用する場合について説明する。
Next, a case where the shutdown processing of the method 2 is applied will be described with reference to FIGS.

【0038】まず、図5の実施例について説明する。First, the embodiment of FIG. 5 will be described.

【0039】OS20は、システム監視装置12から電
源障害割込み30を受信してシャットダウン処理を開始
すると、まず、メモリ11の領域を分割する(処理20
0)。メモリ11の内容をメモリイメージのまま1領域
分ディスク装置15に転送する(処理201)。そし
て、復電割込み31が発生したかどうか判定し(処理2
02)、復電割込み31が発生していれば、ディスク装
置15に書き込んだ内容を無効にして(処理203)、
メモリ11の内容を参照して、電源障害割込み30が発
生する直前に実行された命令の次の命令から処理をから
再開する(処理204)。復電割込み31が発生してい
なければ、続いて、メモリ11の内容をすべてディスク
装置15に転送したか判定する(処理205)。
When the OS 20 receives the power failure interrupt 30 from the system monitoring device 12 and starts the shutdown processing, it first divides the area of the memory 11 (processing 20
0). The contents of the memory 11 are transferred to the disk device 15 for one area as a memory image (process 201). Then, it is determined whether or not the power restoration interrupt 31 has occurred (processing 2
02), if the power restoration interrupt 31 has occurred, invalidate the content written in the disk device 15 (process 203).
With reference to the contents of the memory 11, the processing is restarted from the instruction following the instruction executed immediately before the occurrence of the power failure interrupt 30 (process 204). If the power restoration interrupt 31 has not occurred, subsequently, it is determined whether or not all the contents of the memory 11 have been transferred to the disk device 15 (process 205).

【0040】メモリ11の内容をすべてディスク装置1
5に転送していなければ、処理201に戻って、メモリ
11の内容の転送、復電割込み31の発生の判定を繰り
返し実施する。
All contents of the memory 11 are stored in the disk device 1
If not, the process returns to the process 201 to repeatedly execute the transfer of the contents of the memory 11 and the determination of the occurrence of the power restoration interrupt 31.

【0041】復電割込み31を受信しないまま処理20
5においてメモリ内容全ての転送終了が判定されたとき
は、計算機システム3を停止させて処理を終了する(処
理207)。
Processing 20 without receiving power restoration interrupt 31
If it is determined in step 5 that the transfer of all the memory contents has been completed, the computer system 3 is stopped and the processing is terminated (processing 207).

【0042】図5に示した実施例では、メモリ11の内
容をディスク装置15に1領域分格納する毎に、復電割
込み31が発生したかどうかチェックしているが、メモ
リ11の内容全てをディスク装置15に転送した後に、
復電割込み31のチェックを行なうようにすることもで
きる。この場合の処理の様子を図6を用いて説明する。
In the embodiment shown in FIG. 5, every time the contents of the memory 11 are stored in the disk device 15 for one area, it is checked whether or not the power restoration interrupt 31 has occurred. After transferring to the disk device 15,
A check for the power restoration interrupt 31 may be performed. The state of the process in this case will be described with reference to FIG.

【0043】OS20は、システム監視装置12から電
源障害割込み30を受信すると、シャットダウン処理を
開始する。OS20は、まず、メモリ11の内容を、メ
モリイメージでディスク装置15に転送する(処理23
0)。そして、メモリ11の内容全てをディスク装置1
5に転送し終えると、復電割込み31が発生したかどう
か判定する(処理231)。処理231においては復電
割込み31を受信していれば、OS20は、ディスク装
置15に書き込んだ内容を無効にし(処理232)、メ
モリ11の内容を参照して、電源障害割込み30が発生
する直前に実行した命令の次の命令から処理を再開する
(処理233)。
When the OS 20 receives the power failure interrupt 30 from the system monitoring device 12, the OS 20 starts a shutdown process. The OS 20 first transfers the contents of the memory 11 to the disk device 15 as a memory image (Process 23).
0). Then, the entire contents of the memory 11 are stored in the disk device 1.
Upon completion of the transfer to S.5, it is determined whether or not the power restoration interrupt 31 has occurred (process 231). In the process 231, if the power recovery interrupt 31 is received, the OS 20 invalidates the content written in the disk device 15 (process 232), and refers to the content of the memory 11 and immediately before the power failure interrupt 30 occurs. Then, the processing is restarted from the instruction following the instruction executed (step 233).

【0044】OS20は、メモリ内容のディスク装置1
5への転送後、復電割込み31を受信しない場合には、
計算機システム3を停止させ(処理234)処理を終え
る。
The OS 20 stores the disk contents 1 of the memory contents.
If the power recovery interrupt 31 is not received after the transfer to
The computer system 3 is stopped (process 234), and the process ends.

【0045】[0045]

【発明の効果】本発明によれば、電源障害が発生後、シ
ャットダウン処理を実行中に電源障害から回復した場合
に、システムを停止することなくシャットダウン処理を
終了させるので、電源障害発生時に中断した業務プログ
ラムを引き続き継続することができるという効果があ
る。
According to the present invention, after a power failure occurs, when the power supply recovers from the power failure while the shutdown processing is being executed, the shutdown processing is terminated without stopping the system. There is an effect that the business program can be continued.

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

【図1】本発明の一実施例によるシステム構成図であ
る。
FIG. 1 is a system configuration diagram according to an embodiment of the present invention.

【図2】図1の計算機システムの構成図である。FIG. 2 is a configuration diagram of the computer system of FIG. 1;

【図3】処理手順の概要図である。FIG. 3 is a schematic diagram of a processing procedure.

【図4】第1のシャットダウン処理を適用する場合の処
理手順を示す図である。
FIG. 4 is a diagram illustrating a processing procedure when the first shutdown processing is applied.

【図5】第2のシャットダウン処理を適用する場合の第
1の処理手順を示す図である。
FIG. 5 is a diagram illustrating a first processing procedure when a second shutdown processing is applied;

【図6】第2のシャットダウン処理を適用する場合の第
2の処理手順を示す図である。
FIG. 6 is a diagram illustrating a second processing procedure when the second shutdown processing is applied.

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

1…商用電源、2…無停電電源装置、3…計算機システ
ム。
1 ... commercial power supply, 2 ... uninterruptible power supply, 3 ... computer system.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 山田 公稔 神奈川県横浜市戸塚区戸塚町5030番地 株式会社 日立製作所 ソフトウェア開 発本部内 (72)発明者 木下 俊之 神奈川県川崎市麻生区王禅寺1099番地 株式会社 日立製作所 システム開発研 究所内 (56)参考文献 特開 平3−29015(JP,A) 特開 平1−103129(JP,A) 特開 平3−50615(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 1/30 G06F 1/26 ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Kiminori Yamada 5030 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Within Hitachi, Ltd.Software Development Division (72) Inventor Toshiyuki Kinoshita 1099 Ozenji, Aso-ku, Kawasaki-shi, Kanagawa Prefecture Hitachi, Ltd., System Development Laboratory (56) References JP-A-3-29015 (JP, A) JP-A-1-103129 (JP, A) JP-A-3-50615 (JP, A) (58) Field surveyed (Int.Cl. 7 , DB name) G06F 1/30 G06F 1/26

Claims (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】無停電電源装置を装備し、電源障害発生時
に処理装置がシステムを停止するためのシャットダウン
処理を実行する計算機システムにおいて、前記無停電電
源装置に電源障害からの回復を検出する手段と、該検出
手段により検出された電源障害からの回復を前記処理装
置に通知する手段とを設け、前記処理装置は、前記シャ
ットダウン処理実行中に前記電源障害からの回復の通知
の有無をチェックし、前記電源障害からの回復の通知を
受信した場合、実行中のシャットダウン処理を中止し、
電源障害発生前に実行していた処理を再開することを特
徴とする計算機システム。
1. A computer system equipped with an uninterruptible power supply, wherein a processing unit executes a shutdown process for stopping a system when a power failure occurs, a means for detecting recovery from the power failure in the uninterruptible power supply. And means for notifying the processing device of the recovery from the power failure detected by the detection means, wherein the processing device notifies the recovery from the power failure during the execution of the shutdown processing.
Check the presence or absence, if the notification of recovery from the power failure is received, stop the shutdown process that is being performed,
A computer system characterized by restarting processing that was being performed before a power failure occurred.
【請求項2】前記シャットダウン処理は、前記電源障害
からの回復の通知をチェックしながら、前記処理装置が
備える主記憶中の情報を前記処理装置に接続された外部
記憶装置に転送する処理を含むことを特徴とする請求項
1記載の計算機システム。
2. The power supply system according to claim 2, wherein
2. The computer system according to claim 1, further comprising a process of transferring information in a main memory included in the processing device to an external storage device connected to the processing device while checking a notification of recovery from the processing device.
【請求項3】前記シャットダウン処理は、前記転送処理
に先立って、実行中の業務プログラムの終了処理を行な
うことを特徴とする請求項2記載の計算機システム。
3. The computer system according to claim 2, wherein said shutdown processing performs an end processing of a running business program prior to said transfer processing.
JP05040093A 1993-03-11 1993-03-11 Computer system Expired - Fee Related JP3185446B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05040093A JP3185446B2 (en) 1993-03-11 1993-03-11 Computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05040093A JP3185446B2 (en) 1993-03-11 1993-03-11 Computer system

Publications (2)

Publication Number Publication Date
JPH06266478A JPH06266478A (en) 1994-09-22
JP3185446B2 true JP3185446B2 (en) 2001-07-09

Family

ID=12857825

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05040093A Expired - Fee Related JP3185446B2 (en) 1993-03-11 1993-03-11 Computer system

Country Status (1)

Country Link
JP (1) JP3185446B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB0516457D0 (en) * 2005-08-10 2005-09-14 Symbian Software Ltd Reversible power transitions in a computing device
JP2010026789A (en) * 2008-07-18 2010-02-04 Casio Comput Co Ltd Sales data processor and program

Also Published As

Publication number Publication date
JPH06266478A (en) 1994-09-22

Similar Documents

Publication Publication Date Title
JP3020833B2 (en) Checkpoint acquisition system
EP1137987B1 (en) Initializing and restarting operating systems
JPH0458047B2 (en)
JP5392594B2 (en) Virtual machine redundancy system, computer system, virtual machine redundancy method, and program
JP3185446B2 (en) Computer system
JP3231561B2 (en) Backup memory control method
JP3317361B2 (en) Battery backup control method for memory
JP2785992B2 (en) Server program management processing method
JPH05143248A (en) Data backup system for semiconductor disk device
JP2879480B2 (en) Switching system when redundant computer system loses synchronization
JPH02297237A (en) Automatic restarting device for electronic computer system
JPH0721091A (en) Service interruption processing method for electronic computer
JPH08202633A (en) Data processor
JP2001125687A (en) Computer system
JPH05216855A (en) Multi-cpu control system
JPH0395634A (en) Restart control system for computer system
JPH07200334A (en) Duplicate synchronization operation system
JP2002244885A (en) Computer system monitoring system
JPH035832A (en) System for processing fault of information processor
JPH0830520A (en) Computer system
JP2000353104A (en) Data backup system and its method
JP3346670B2 (en) Central processing unit switching method and switching system
JPH11154040A (en) Information processor and power control method thereof, and storage medium where program for allowing computer to implement same method is recorded
JPH082740Y2 (en) Language-equipped computer equipment
JPS585856A (en) Error recovery system for logical device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees