JP2001229053A - Computer with dump acquiring mechanism - Google Patents

Computer with dump acquiring mechanism

Info

Publication number
JP2001229053A
JP2001229053A JP2000041375A JP2000041375A JP2001229053A JP 2001229053 A JP2001229053 A JP 2001229053A JP 2000041375 A JP2000041375 A JP 2000041375A JP 2000041375 A JP2000041375 A JP 2000041375A JP 2001229053 A JP2001229053 A JP 2001229053A
Authority
JP
Japan
Prior art keywords
memory
dump
storage device
auxiliary storage
area
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.)
Granted
Application number
JP2000041375A
Other languages
Japanese (ja)
Other versions
JP3903678B2 (en
Inventor
Masahiko Yamauchi
雅彦 山内
Hideki Murayama
秀樹 村山
Kazuo Horikawa
和雄 堀川
Hiroshi Yashiro
寛 屋代
Yusuke Suganami
雄介 菅波
Daisuke Sasaki
大介 佐々木
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 JP2000041375A priority Critical patent/JP3903678B2/en
Publication of JP2001229053A publication Critical patent/JP2001229053A/en
Application granted granted Critical
Publication of JP3903678B2 publication Critical patent/JP3903678B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a computer for improving the operating time of a computer system by shortening the time from the computer system halt until completion of activation of the computer system. SOLUTION: This computer is provided with an instruction file for indicating the minimum memory quantity necessary for reactivating a computer system and a memory constitution information managing the area of a memory to be used by the computer system. In storing the memory contents when failure is caused into a dump storage area, part of the memory contents is stored in an auxiliary storage device on the basis of the instruction file, and the preserved memory area is set in the memory constitution information. In the reactivation of the computer system, the reactivation is completed by using only part of memory contents stored in the auxiliary storage device. After the reactivation is completed, the memory contents which are not stored in the auxiliary storage device are converted into a file.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、障害が発生した計
算機システムの障害情報の取得、及び障害が発生した計
算機システムの再起動に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to obtaining fault information of a computer system in which a failure has occurred, and to restarting the computer system in which the failure has occurred.

【0002】[0002]

【従来の技術】従来、オペレーティングシステムはシス
テム動作中にデータの整合性等をチェックしており、何
らかの障害によりデータの不整合が発生した場合、計算
機システムを緊急停止するためにパニック処理を実行す
る。
2. Description of the Related Art Conventionally, an operating system checks data consistency and the like during operation of a system. If data inconsistency occurs due to some kind of failure, an operating system executes a panic process for urgently stopping the computer system. .

【0003】パニック処理では、システム管理者が後で
障害の原因を突き止めることができるように、障害発生
時のメモリ内容をハードディスク等の補助記憶装置に保
存する。メモリ内容を補助記憶装置に保存する処理はダ
ンプ処理と呼ばれており、ダンプ処理終了後、計算機シ
ステムは再起動される。
In the panic processing, the memory contents at the time of occurrence of a failure are stored in an auxiliary storage device such as a hard disk so that the system administrator can later find out the cause of the failure. The process of saving the contents of the memory in the auxiliary storage device is called a dump process, and after the completion of the dump process, the computer system is restarted.

【0004】ダンプ処理では、計算機システムのすべて
のメモリをダンプする場合(全ダンプ)と、一部分のメ
モリをダンプする場合がある。メモリを全ダンプする場
合には、一部分のメモリをダンプする場合と比較して、
ダンプ処理に要する時間が長い。ダンプ処理時間を短縮
するために、一部分のメモリを選択し、選択したメモリ
のみをダンプする技術については、特開昭64―252
55号公報に記載されている。
In the dump processing, there are cases where all the memories of the computer system are dumped (all dumps) and cases where a part of the memories is dumped. When dumping all memory, compared to dumping part of memory,
The time required for dump processing is long. Japanese Patent Application Laid-Open No. 64-252 discloses a technique for selecting a part of the memory and dumping only the selected memory in order to shorten the dump processing time.
No. 55 is described.

【0005】システム再起動処理では、ハードディスク
等の補助記憶装置に保存したメモリ内容を、システム管
理者等が障害原因を解析可能なファイル形式に変換す
る。補助記憶装置の使用容量を節約するために、ファイ
ル形式変換時にファイルの圧縮処理を実行する場合もあ
る。
[0005] In the system restart processing, the contents of the memory stored in an auxiliary storage device such as a hard disk are converted into a file format in which a system administrator or the like can analyze the cause of the failure. In order to save the used capacity of the auxiliary storage device, a file compression process may be executed at the time of file format conversion.

【0006】計算機システムで障害が発生した後、計算
機システムを再起動するまでの一連の処理は、「Pan
ic! UNIXシステムクラッシュの追跡と対策」
(1997)、ISBN4−7561−1912−3の
第27ページから第33ページに記載されている。
[0006] A series of processes from the occurrence of a failure in the computer system to the restart of the computer system is described in "Pan
ic! Tracking and Countermeasures for UNIX System Crashes "
(1997), ISBN 4-7561-1912-3, pages 27-33.

【0007】[0007]

【発明が解決しようとする課題】近年、計算機システム
に搭載するメモリ量が増加し、計算機システムで障害が
発生してから再起動するまでに必要な時間が増加してい
る。
In recent years, the amount of memory mounted on a computer system has increased, and the time required from the occurrence of a failure in the computer system to the restart thereof has increased.

【0008】先に述べたように、一部分のメモリを選択
してダンプすることで、全ダンプする場合と比較して、
ダンプする必要のあるメモリ量は少ない。しかし、障害
発生時のメモリ内容を解析する前に、障害に関連するメ
モリ範囲を特定するのは困難な場合がある。さらに、一
部分のメモリを選択してダンプしても、選択したメモリ
をすべてダンプ完了するまで再起動処理を実行できな
い。
As described above, by selecting a part of the memory and dumping it, compared with the case of full dumping,
The amount of memory that needs to be dumped is small. However, it may be difficult to identify the memory range associated with the failure before analyzing the memory contents at the time of the failure. Further, even if a part of the memory is selected and dumped, the restart process cannot be executed until the dump of all the selected memories is completed.

【0009】また、先に述べたように、補助記憶装置の
使用容量を節約するため、再起動時にファイル圧縮処理
を実行する場合には、再起動に必要な時間がさらに増大
する。計算機システムで障害が発生してから再起動を終
了するまでの間、計算機システムはサービスをユーザに
提供できない。そのため、ある一定期間における計算機
システムの稼動時間は減少し、利用効率が下がるという
課題があった。
Further, as described above, when the file compression processing is executed at the time of restart in order to save the used space of the auxiliary storage device, the time required for restart is further increased. The computer system cannot provide services to the user from the occurrence of the failure in the computer system to the end of the restart. For this reason, there has been a problem that the operating time of the computer system during a certain period is reduced, and the utilization efficiency is reduced.

【0010】本発明の目的は、計算機システムで障害が
発生してから再起動を終了するまでの時間を短縮し、計
算機システムの稼働率を向上すると共に、障害原因の分
析に必要なメモリ内容をシステム管理者等に提供するこ
とにある。
An object of the present invention is to reduce the time from the occurrence of a failure in a computer system to the end of restart, improve the operation rate of the computer system, and reduce the memory contents necessary for analyzing the cause of the failure. The purpose is to provide it to a system administrator or the like.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するため
に本発明は、初期化するメモリの領域を指定するアドレ
スまたはメモリ量を示すメモリ範囲指定情報およびメモ
リのアドレスまたはメモリ量によりメモリを複数の領域
に分割する数値を示すメモリ構成情報を有し、ダンプ取
得範囲指定手段が1回目のダンプ処理で保存するメモリ
範囲を指定し、ダンプ取得手段が該ダンプ取得範囲指定
手段で指定された範囲のメモリ内容を該ダンプ格納領域
に保存し、さらに、ダンプファイル生成手段は、該ダン
プ格納領域に保存したメモリ内容をファイルに変換す
る。そして、計算機システムで障害が発生した場合に、
該ダンプ取得手段が該ダンプ取得範囲指定手段で指定さ
れるメモリ範囲の内容を該ダンプ格納領域に保存し、計
算機システムを再起動する時は、障害発生時に保存した
メモリ範囲のみを初期化し、該ダンプファイル生成手段
が該ダンプ格納領域の内容をファイルに変換し、計算機
システムの再起動が完了した後、障害発生時に保存しな
かったメモリ内容を該ダンプ格納領域に保存すると共
に、該ダンプ格納領域の内容をファイルに変換する。
SUMMARY OF THE INVENTION In order to achieve the above object, the present invention relates to a method of storing a plurality of memories based on memory range designation information indicating an address or a memory amount for designating a memory area to be initialized and a memory address or a memory amount. And memory configuration information indicating a numerical value to be divided into areas, the dump acquisition range designating unit designates a memory range to be saved in the first dump processing, and the dump acquisition unit designates a range designated by the dump acquisition range designating unit. Is stored in the dump storage area, and the dump file generation means converts the memory content stored in the dump storage area into a file. And if a failure occurs in the computer system,
The dump acquisition unit saves the contents of the memory range specified by the dump acquisition range designation unit in the dump storage area, and when restarting the computer system, initializes only the memory range saved when a failure occurs, The dump file generating means converts the contents of the dump storage area into a file, and after the restart of the computer system is completed, saves the memory contents not saved at the time of failure occurrence in the dump storage area, and Convert the contents of to a file.

【0012】[0012]

【発明の実施の形態】本発明における実施例を説明す
る。
Embodiments of the present invention will be described.

【0013】図1は、本発明の一実施例を示す計算機シ
ステムのブロック図である。本図において、計算機シス
テム124は、プログラム命令列やデータを永続的に格
納するための磁気ディスク等の補助記憶装置111、プ
ログラム命令列やデータを永続的に格納するためのEE
PROM(Electrically Erasabl
e Programmable Read Only Me
mory)等の不揮発性メモリ101、プログラム命令
列やデータを格納するためのメモリ107、不揮発性メ
モリ101やメモリ107に格納したプログラム命令列
を実行するプロセッサ100、計算機の各ブロック間の
伝送路であるバス110から構成される。
FIG. 1 is a block diagram of a computer system showing one embodiment of the present invention. In the figure, a computer system 124 includes an auxiliary storage device 111 such as a magnetic disk for permanently storing a program instruction sequence and data, and an EE for permanently storing a program instruction sequence and data.
PROM (Electrically Erasable)
e Programmable Read Only Me
memory) for storing a program instruction sequence and data, a processor 100 for executing the program instruction sequence stored in the nonvolatile memory 101 and the memory 107, and a transmission path between each block of the computer. It is composed of a certain bus 110.

【0014】補助記憶装置111には、計算機システム
の障害発生時に保存するメモリ107の範囲を指定する
ダンプ取得範囲指定ファイル112、計算機システム1
24の補助記憶装置111やメモリ107等の資源を管
理するオペレーティングシステム(OS)のプログラム
命令列やデータを格納するためのOS格納領域113、
障害が発生した際のメモリ内容を保存するダンプ格納領
域114を持つ。ダンプ格納領域114には、最初の1
回目のダンプ処理で使用する1次ダンプ格納領域116
と、2回目のダンプ処理で使用する2次ダンプ格納領域
115を持つ。本実施例中では、ダンプ格納領域114
に2つの格納領域115、116を持つ計算機システム
について説明しているが、必要に応じて2つ以上の複数
の格納領域を備えていてもよい。
The auxiliary storage device 111 includes a dump acquisition range designation file 112 for designating a range of the memory 107 to be saved when a failure occurs in the computer system, the computer system 1
An OS storage area 113 for storing a program instruction sequence and data of an operating system (OS) for managing resources such as 24 auxiliary storage devices 111 and a memory 107;
It has a dump storage area 114 for storing memory contents when a failure occurs. The first 1 is stored in the dump storage area 114.
Primary dump storage area 116 used in the second dump processing
And a secondary dump storage area 115 used in the second dump processing. In this embodiment, the dump storage area 114
Describes a computer system having two storage areas 115 and 116, but may have two or more storage areas as needed.

【0015】不揮発性メモリ101には、計算機システ
ム124が搭載するメモリ107の大きさを保持するた
めの構成情報102、補助記憶装置111における1次
ダンプ格納領域116や2次ダンプ格納領域115の場
所を管理するためのダンプ格納領域管理情報105、電
源スイッチをONにした時やリセット信号を検出した時
に計算機システム124を起動するために実行するシス
テム起動手続き106を持つ。構成情報102では、計
算機システム124を起動する時に使用するメモリ量を
保持する実メモリ量格納領域103と、計算機システム
124を起動した後で追加して使用するメモリ量を保持
する予約メモリ量格納領域104を持つ。
The nonvolatile memory 101 includes configuration information 102 for holding the size of the memory 107 mounted on the computer system 124, and the location of the primary dump storage area 116 and the secondary dump storage area 115 in the auxiliary storage device 111. Storage management information 105 for managing the computer system, and a system startup procedure 106 executed to start the computer system 124 when the power switch is turned on or when a reset signal is detected. In the configuration information 102, an actual memory amount storage area 103 for holding the amount of memory used when starting the computer system 124, and a reserved memory amount storage area for holding the amount of memory additionally used after starting the computer system 124 It has 104.

【0016】メモリ107(1)は、最初の1回目のダ
ンプ処理で保存するメモリ範囲に対応しており、1次ダ
ンプ取得範囲108(1)には、ユーザが使用するプロ
グラム命令列とデータを保持するユーザ領域109
(1)と、OSが使用するプログラム命令列とデータを
保持するOS領域119を持つ。OS領域119には、
OSがユーザにメモリを割り当てるために使用するメモ
リ管理情報120、計算機システム124で障害が発生
した時に実行する障害処理手続き121、計算機システ
ム124が再起動した時にダンプ格納領域114の内容
をファイルに変換するためのダンプファイル生成手続き
122と、計算機システム124が再起動した後で予約
メモリ量104で指定したメモリを追加して利用するた
めのメモリ増設手続き123を持つ。障害処理手続き1
21やダンプファイル生成手続き122の実施形態とし
ては、各々「Panic! UNIXシステムクラッシ
ュの追跡と対策」(1997)、ISBN4−7561
−1912−3の第29ページ、第39ページに記載の
panic()ルーチン、savecoreプログラム
に詳しい。
The memory 107 (1) corresponds to a memory range to be saved in the first first dump processing, and a primary dump acquisition range 108 (1) stores a program instruction sequence and data used by a user. User area 109 to be retained
(1) and an OS area 119 for holding a program instruction sequence and data used by the OS. In the OS area 119,
Memory management information 120 used by the OS for allocating memory to the user, failure processing procedure 121 executed when a failure occurs in the computer system 124, and conversion of the contents of the dump storage area 114 into a file when the computer system 124 is restarted. And a memory expansion procedure 123 for adding and using the memory specified by the reserved memory amount 104 after the computer system 124 is restarted. Failure handling procedure 1
21 and the dump file generation procedure 122 are respectively described in “Panic! UNIX System Crash Tracking and Countermeasures” (1997), ISBN4-7561.
Details of the panic () routine and the savecore program on pages 29 and 39 of -1912-3.

【0017】計算機システム124で、OSの初期化終
了後にOSを再初期化することなく、メモリ増設に必要
な管理領域を予約するために必要な情報を保持する構成
情報102、OSがメモリ増設のために予約した管理領
域を更新するためのメモリ増設手続き123の実施形態
については、特願平10―2796号公報に記載されて
いる。
In the computer system 124, the configuration information 102 holding information necessary for reserving a management area required for memory expansion without reinitializing the OS after the OS initialization is completed. An embodiment of the memory addition procedure 123 for updating the management area reserved for this purpose is described in Japanese Patent Application No. 10-2796.

【0018】図2は、本発明におけるメモリ管理情報1
20の一実施例を示す。メモリ管理情報120は、プロ
セッサ100が使用するメモリ107の範囲について、
使用先頭アドレス201と使用最終アドレス202を持
ち、プロセッサ100が使用するメモリ107の別な範
囲について、予約先頭アドレス203と予約最終アドレ
ス204を持つ。予約先頭アドレス203から予約最終
アドレス204までの範囲については、計算機システム
124が起動後、OSは使用できない。 OSはメモリ
増設手続き123を実行することによって、予約先頭ア
ドレス203から予約最終アドレス204までの範囲を
使用できる。
FIG. 2 shows memory management information 1 according to the present invention.
20 shows one embodiment. The memory management information 120 indicates the range of the memory 107 used by the processor 100.
It has a used start address 201 and a used end address 202, and has a reserved start address 203 and a reserved end address 204 for another range of the memory 107 used by the processor 100. For the range from the reservation start address 203 to the reservation end address 204, the OS cannot be used after the computer system 124 is started. The OS can use the range from the reservation start address 203 to the reservation end address 204 by executing the memory addition procedure 123.

【0019】図3は、本発明におけるダンプ格納領域管
理情報105の一実施例を示す。ダンプ領域管理情報1
05は、補助記憶装置111における1次ダンプ格納領
域116の場所を示す値であるオフセットを1次ダンプ
格納領域オフセット301に保持し、補助記憶装置11
1における2次ダンプ格納領域116の場所を示す値で
あるオフセットを2次ダンプ格納領域オフセット302
に保持し、補助記憶装置111におけるダンプ格納領域
114の最後尾を示す値である最大オフセットをダンプ
格納領域最大オフセット303に保持し、1次ダンプ格
納領域116に保持しているメモリ管理情報120の場
所を示す値であるオフセットをメモリ管理情報オフセッ
ト304に保持する。
FIG. 3 shows an embodiment of the dump storage area management information 105 according to the present invention. Dump area management information 1
05, an offset indicating the location of the primary dump storage area 116 in the auxiliary storage device 111 is stored in the primary dump storage area offset 301;
1 is a value indicating the location of the secondary dump storage area 116 in the secondary dump storage area offset 302.
, And the maximum offset indicating the end of the dump storage area 114 in the auxiliary storage device 111 is stored in the dump storage area maximum offset 303, and the memory management information 120 stored in the primary dump storage area 116 is stored in the primary dump storage area 116. An offset, which is a value indicating the location, is held in the memory management information offset 304.

【0020】図4は、本発明における障害発生から再起
動完了までの概略処理フローの一実施例を示すフローチ
ャートである。
FIG. 4 is a flowchart showing one embodiment of a schematic processing flow from the occurrence of a failure to the completion of restart in the present invention.

【0021】まず、計算機システムに障害が発生した
時、すなわちOSがプログラム命令列の実行中にデータ
不整合等の状態を検出した時に、ステップ401を実行
する。ステップ401では障害処理手続き121を実行
し、ダンプ取得範囲指定ファイル112で指定するメモ
リ107の内容を、1次ダンプ格納領域116に保存す
る。ここで、1次ダンプ取得範囲108(1)とはダン
プ取得範囲指定ファイル12によって決定される範囲で
ある。ここでは、1次ダンプ取得範囲108(1)のサ
イズが1GBの例で説明する。ダンプ取得範囲指定ファ
イルでは“1GB”と記述する。1GBは0x4000
0000番地(「0x」は16進数を意味する)に対応
するので、ダンプ取得範囲は0番地から0x40000
000番地までのメモリ内容となる。他の例ではファイ
ルに「FROM=0、TO=0x40000000」と
記述する。この場合も、ダンプ取得範囲は0番地から0
x40000000番地までのメモリ内容となる。
First, when a failure occurs in the computer system, that is, when the OS detects a state such as data inconsistency during execution of the program instruction sequence, step 401 is executed. In step 401, the failure processing procedure 121 is executed, and the contents of the memory 107 specified by the dump acquisition range specification file 112 are stored in the primary dump storage area 116. Here, the primary dump acquisition range 108 (1) is a range determined by the dump acquisition range specification file 12. Here, an example in which the size of the primary dump acquisition range 108 (1) is 1 GB will be described. In the dump acquisition range specification file, "1 GB" is described. 1GB is 0x4000
Since it corresponds to address 0000 (“0x” means a hexadecimal number), the dump acquisition range is from address 0 to 0x40000.
The memory contents up to address 000 are obtained. In another example, "FROM = 0, TO = 0x40000000" is described in the file. Also in this case, the dump acquisition range is from address 0 to 0
Memory contents up to x40000000 address.

【0022】次に、計算機システムを再起動するために
ステップ402を実行する。ステップ402では、1次
ダンプ取得範囲108(1)のメモリのみを使用してシ
ステムを再起動する。また、1次ダンプ取得範囲108
(1)以外のメモリ、すなわち2次ダンプ取得範囲10
8(2)のメモリを、OSから使用できないように設定
する。2次ダンプ取得範囲をOSが使用できないように
設定する理由は、障害発生時のメモリ内容を破壊しない
ためである。もし、OSが2次ダンプ取得範囲のメモリ
108(2)を使用すると、障害発生時のメモリ内容を
失って障害原因の解析が不可能になる。
Next, step 402 is executed to restart the computer system. In step 402, the system is restarted using only the memory of the primary dump acquisition range 108 (1). Also, the primary dump acquisition range 108
Memory other than (1), ie, secondary dump acquisition range 10
8 (2) is set to be unusable from the OS. The reason why the secondary dump acquisition range is set so that the OS cannot be used is that the contents of the memory at the time of occurrence of the failure are not destroyed. If the OS uses the memory 108 (2) in the secondary dump acquisition range, the memory content at the time of occurrence of the failure is lost, and the cause of the failure cannot be analyzed.

【0023】次に、計算機システムの再起動を完了する
とステップ403を実行する。計算機システムの再起動
を完了した時点で、ユーザのプログラム命令列を実行で
きる。ステップ403ではダンプファイル生成手続き1
22を実行する。ダンプファイル生成手続き122は、
1次ダンプ格納領域116に保存したメモリ内容を、シ
ステム管理者等がダンプ解析ツールで解析可能なファイ
ル形式に変換する。また、2次ダンプ取得範囲108
(2)のメモリ内容を2次ダンプ格納領域115に保存
し、ダンプ解析ツールで解析可能なファイル形式に変換
する。本実施例では、2次ダンプ取得範囲108(2)
のメモリ内容を2次ダンプ格納領域115に保存してか
ら、ファイル形式に変換する例を説明する。ここでは、
2次ダンプ格納領域115に保存せず、メモリ内容を直
接ファイル形式に変換してもよい。
Next, when the restart of the computer system is completed, step 403 is executed. When the restart of the computer system is completed, the user can execute the program instruction sequence. In step 403, dump file generation procedure 1
Step 22 is executed. The dump file generation procedure 122 includes:
The contents of the memory stored in the primary dump storage area 116 are converted into a file format that can be analyzed by a dump analysis tool by a system administrator or the like. Also, the secondary dump acquisition range 108
The memory contents of (2) are stored in the secondary dump storage area 115 and converted into a file format that can be analyzed by the dump analysis tool. In the present embodiment, the secondary dump acquisition range 108 (2)
An example will be described in which the contents of the memory are stored in the secondary dump storage area 115 and then converted to a file format. here,
Instead of storing the contents in the secondary dump storage area 115, the memory contents may be directly converted to a file format.

【0024】次に、ダンプファイル生成手続き122の
実行を完了するとステップ404を実行する。ステップ
404では、システム再起動時に使用しなかった2次ダ
ンプ取得範囲108(2)のメモリを、OSが使用でき
るようにメモリ増設手続き123を実行する。
Next, when the execution of the dump file generation procedure 122 is completed, step 404 is executed. In step 404, the memory addition procedure 123 is executed so that the OS can use the memory of the secondary dump acquisition range 108 (2) that has not been used when the system is restarted.

【0025】図5は、本発明における障害処理手続きの
一実施例を示すフローチャートである。
FIG. 5 is a flowchart showing one embodiment of the fault handling procedure according to the present invention.

【0026】まず、ステップ501では、メモリ管理情
報120の使用先頭アドレス201から、ダンプ取得範
囲指定ファイル112で指定したアドレスまでのメモリ
内容を、ダンプ領域管理情報105の1次ダンプ格納領
域のオフセット301が指定する1次ダンプ格納領域1
16に保存する。
First, in step 501, the contents of the memory from the use start address 201 of the memory management information 120 to the address specified by the dump acquisition range specification file 112 are stored in the dump area management information 105 at the offset 301 of the primary dump storage area. Primary dump storage area 1 specified by
Save to 16.

【0027】ステップ502では、ステップ501で保
存した1次ダンプ格納領域116の最後尾の位置(オフ
セット)を2次ダンプ格納領域オフセット302に設定
する。
In step 502, the last position (offset) of the primary dump storage area 116 stored in step 501 is set to the secondary dump storage area offset 302.

【0028】ステップ503では、1次ダンプ格納領域
116に保存したメモリ管理情報120の位置(オフセ
ット)をメモリ管理情報オフセット304に設定する。
In step 503, the position (offset) of the memory management information 120 stored in the primary dump storage area 116 is set as the memory management information offset 304.

【0029】ステップ504では、予約メモリ量104
には、実メモリ量103からダンプ取得範囲指定ファイ
ル112で指定されたアドレスに対応するメモリ量を引
いた値を設定する。
In step 504, the reserved memory amount 104
Is set to a value obtained by subtracting the memory amount corresponding to the address specified in the dump acquisition range specification file 112 from the actual memory amount 103.

【0030】ステップ505では、ダンプ取得範囲指定
ファイル112で指定したアドレスが対応するメモリ量
を、実メモリ量103に設定する。例えば、ダンプ取得
範囲指定ファイル112でファイルに“1GB”と記述
されている場合には1GBを実メモリ量に設定する。他
の例として、ファイルに“FROM=0、TO=0x40000
000”と記述されている場合には0x4000000
0番地に対応するメモリ量1GBを実メモリ量に設定す
る。
In step 505, the memory amount corresponding to the address specified in the dump acquisition range specification file 112 is set to the actual memory amount 103. For example, if "1 GB" is described in the file in the dump acquisition range specification file 112, 1 GB is set as the actual memory amount. As another example, "FROM = 0, TO = 0x40000"
000 "is described as 0x400000.
The memory amount 1 GB corresponding to the address 0 is set as the actual memory amount.

【0031】図6は、本発明におけるシステム起動手続
きの一実施例を示すフローチャートである。
FIG. 6 is a flowchart showing an embodiment of the system start-up procedure according to the present invention.

【0032】まず、ステップ601では、プロセッサ1
00が補助記憶装置111とメモリ107に読み書きで
きるように、プロセッサ100、補助記憶装置111及
び実メモリ量103で保持する量のメモリ107を初期
化する。
First, at step 601, the processor 1
The processor 100, the auxiliary storage device 111, and the amount of memory 107 held by the actual memory amount 103 are initialized so that 00 can read from and write to the auxiliary storage device 111 and the memory 107.

【0033】ステップ602では、プロセッサ100が
OS格納領域113からOSのプログラム命令列とデー
タを読み出して、ステップ601で初期化したメモリ1
07に書き込み、OSのプログラム命令列に制御を移
す。
At step 602, the processor 100 reads the OS program instruction sequence and data from the OS storage area 113, and initializes the memory 1 initialized at step 601.
07, and control is transferred to the OS program instruction sequence.

【0034】ステップ603では、構成情報102を読
み出して、メモリ管理情報120を作成する。メモリ管
理情報120を作成する際に、使用先頭アドレス201
と使用最終アドレス202については、例えば使用先頭
アドレス201に0を設定し、構成情報102の実メモ
リ量103を読み出して対応するアドレスに変換して使
用最終アドレス202に設定する。実メモリ量103に
1GBが設定されていた場合には、使用最終アドレス2
02には0x40000000番地を設定する。
In step 603, the configuration information 102 is read and the memory management information 120 is created. When creating the memory management information 120, the use start address 201
For example, 0 is set to the use start address 201, the actual memory amount 103 of the configuration information 102 is read, converted to a corresponding address, and set to the use end address 202. If 1 GB is set to the actual memory amount 103, the last address used 2
In 02, an address of 0x40000000 is set.

【0035】また、予約先頭アドレス203と予約最終
アドレス204については、例えば予約先頭アドレス2
03には、使用最終アドレス202と同じアドレスを設
定し、構成情報102の予約メモリ量104を読み出し
てアドレスに変換して予約先頭アドレス203に加えた
アドレスを、予約最終アドレス204に設定する。例え
ば、予約先頭アドレスに0x40000000番地、予
約メモリ量104に1GBが設定されていた場合には、
0x40000000番地から1GB分のメモリを追加
した場合の最終アドレスである0x80000000番
地を予約最終アドレス204に設定する。
The reservation start address 203 and the reservation end address 204 are, for example, the reservation start address 2
In 03, the same address as the use final address 202 is set, the reserved memory amount 104 of the configuration information 102 is read, converted into an address, and the address added to the reserved start address 203 is set in the reserved end address 204. For example, if 0x40000000 is set as the reserved start address and 1 GB is set as the reserved memory amount 104,
Address 0x80000000, which is the final address when 1 GB of memory is added from address 0x40000000, is set as the reservation final address 204.

【0036】図7は、本発明におけるダンプファイル生
成手続きの一実施例を示すフローチャートである。
FIG. 7 is a flowchart showing one embodiment of the procedure for generating a dump file according to the present invention.

【0037】まず、ステップ701ではダンプ領域管理
情報105からメモリ管理情報オフセット304を読み
出し、補助記憶装置装置111からオフセットを使用し
て、ステップ501で保存した使用最終アドレス202
を読み出す。
First, in step 701, the memory management information offset 304 is read from the dump area management information 105, and the last address 202 stored in step 501 is used by using the offset from the auxiliary storage device 111.
Is read.

【0038】ステップ702では2次ダンプ格納領域オ
フセット302を読み出して、2次ダンプ格納領域11
5を決定する。
In step 702, the secondary dump storage area offset 302 is read, and the secondary dump storage area 11 is read.
5 is determined.

【0039】ステップ703では、ステップ505で設
定した実メモリ量103に対応するアドレスから、ステ
ップ701で読み出した使用最終アドレス202までの
メモリ107の内容を、ステップ702で決定した2次
ダンプ格納領域115に保存する。
In step 703, the contents of the memory 107 from the address corresponding to the actual memory amount 103 set in step 505 to the last use address 202 read in step 701 are stored in the secondary dump storage area 115 determined in step 702. To save.

【0040】ステップ704では、savecore手
続きを実行する。savecore手続きの実施形態は
「Panic! UNIXシステムクラッシュの追跡と
対策」(1997)、ISBN4−7561−1912
−3の39頁に記載されている。
At step 704, a savecore procedure is executed. An embodiment of the savecore procedure is "Panic! UNIX System Crash Tracking and Countermeasures" (1997), ISBN 4-7561-1912.
-3, page 39.

【0041】ステップ705では、メモリ増設手続き1
23を実行する。
In step 705, a memory expansion procedure 1
Step 23 is executed.

【0042】本実施例では、ステップ704にて、1次
ダンプ格納領域116と2次ダンプ格納領域115に障
害発生時のメモリ内容を格納した後、ダンプ解析ツール
で解析可能なファイル形式(ダンプファイル)に変換す
る計算機システムについて説明している。他の実施例と
して、ステップ701の前に、savecore手続き
呼び出しを実行し、1次ダンプ格納領域116のみをダ
ンプファイルに変換し、ステップ704では、2次ダン
プ格納領域115のみをダンプファイルに変換する計算
機システムであってもよい。
In this embodiment, after storing the memory contents at the time of occurrence of a failure in the primary dump storage area 116 and the secondary dump storage area 115 in step 704, a file format (dump file ) Is described. As another embodiment, before step 701, a savecore procedure call is executed to convert only the primary dump storage area 116 into a dump file, and in step 704, only the secondary dump storage area 115 is converted into a dump file. It may be a computer system.

【0043】図8は、本発明におけるメモリ増設手続き
の一実施例を示すフローチャートである。
FIG. 8 is a flowchart showing one embodiment of the memory expansion procedure according to the present invention.

【0044】まず、ステップ801では実メモリ量10
3に対応するアドレスから、実メモリ量103に対応す
るアドレスに予約メモリ量104に対応するアドレスを
加えたアドレスまでメモリ107を初期化する。例え
ば、実メモリ量103が対応するアドレスとは、実メモ
リ量103に1GBが設定されている場合には1GBが
対応する0x40000000番地となる。予約メモリ
量104に1GBが設定されている場合には、実メモリ
量が対応する0x40000000番地に予約メモリ量
1GBに対応する0x40000000を加えた0x8
0000000番地までのメモリを初期化する。
First, at step 801, the actual memory amount 10
The memory 107 is initialized from an address corresponding to No. 3 to an address obtained by adding an address corresponding to the reserved memory amount 104 to an address corresponding to the real memory amount 103. For example, the address corresponding to the real memory amount 103 is the address 0x40000000 corresponding to 1 GB when the real memory amount 103 is set to 1 GB. When 1 GB is set as the reserved memory amount 104, 0x40000000 corresponding to the reserved memory amount 1GB is added to the address 0x40000000 corresponding to the actual memory amount.
The memory up to address 000000 is initialized.

【0045】ステップ802では、実メモリ量103と
予約メモリ量104を加えたメモリ量を、実メモリ量1
03に設定する。
In step 802, the memory amount obtained by adding the actual memory amount 103 and the reserved memory amount 104 is calculated as the actual memory amount 1
Set to 03.

【0046】ステップ803では、予約メモリ量を0に
設定する。
In step 803, the reserved memory amount is set to zero.

【0047】ステップ804では、OSのメモリ管理情
報120を変更する。ステップ801で初期化を完了し
たメモリを使用するため、使用最終アドレス202を変
更する。例えば使用最終アドレス202と予約先頭アド
レス203が同一アドレスの場合には、予約最終アドレ
ス204の保持する値を使用最終アドレスに設定する。
その後、予約メモリ量が0であることを示すために、使
用最終アドレス202の値を、予約先頭アドレス203
及び予約最終アドレス204に設定する。
In step 804, the memory management information 120 of the OS is changed. In order to use the memory that has been initialized in step 801, the use final address 202 is changed. For example, when the last use address 202 and the reserved start address 203 are the same address, the value held by the last reserved address 204 is set as the last use address.
Thereafter, in order to indicate that the reserved memory amount is 0, the value of the use final address 202 is changed to the reserved start address 203.
And the reservation final address 204.

【0048】次に本発明を仮想記憶制御する計算機シス
テムに適用した実施例を説明する。
Next, an embodiment in which the present invention is applied to a computer system for controlling virtual storage will be described.

【0049】仮想記憶制御とは、アドレス空間を一定の
サイズ毎に分割して管理し、管理単位(ページと呼ばれ
る)の番号とページ中のオフセットから構成される論理
アドレスを、物理メモリのアドレスに対応付ける仕組み
である。ユーザプログラムでは、プロセッサがユーザプ
ログラムの命令列やデータにアクセスする際には論理ア
ドレスを使用する。ユーザプログラムで論理アドレスを
使用することにより、ユーザプログラムのプログラマは
プログラムが動作する物理メモリのアドレスを意識する
必要がない。またOSでは使用頻度の低いページの内容
を、物理メモリから補助記憶装置に追い出すことによ
り、物理メモリを有効に使用することが可能となる。仮
想記憶制御についての詳細は、バーニー・グッドハー
ト、ジェームス・コックス著、桜川貴司監訳プレンティ
スホール出版「UNIXカーネルの魔法SystemV
リリース4のアーキテクチャ」(1997)の第80ペ
ージから第85ページに記載にされている。
The virtual storage control manages an address space by dividing the address space into units of a certain size, and converts a logical address composed of a number of a management unit (called a page) and an offset in a page into an address of a physical memory. It is a mechanism to associate. In a user program, a logical address is used when the processor accesses an instruction sequence or data of the user program. By using logical addresses in the user program, the programmer of the user program does not need to be aware of the address of the physical memory on which the program operates. Also, in the OS, the contents of a page that is not frequently used are evicted from the physical memory to the auxiliary storage device, so that the physical memory can be used effectively. For more information on virtual memory control, see Bernie Goodhart and James Cox, Prentice Hall Publishing, translated by Takashi Sakuragawa, "The Magic of UNIX Kernel System V.
Release 4 Architecture "(1997), pp. 80-85.

【0050】図9は、本発明における仮想記憶制御する
計算機システムのメモリ管理情報120の一実施例を示
す。
FIG. 9 shows an embodiment of the memory management information 120 of the computer system for performing virtual storage control according to the present invention.

【0051】仮想記憶制御する計算機では、メモリ管理
情報は図2で説明した使用先頭アドレス201、使用最
終アドレス202、予約先頭アドレス203、予約最終
アドレス204の他に、アドレス変換不要先頭アドレス
901、アドレス変換不要最終アドレス902、論理ア
ドレス・物理アドレス変換表903、フリーリスト90
4から構成される。
In the computer that performs virtual storage control, the memory management information includes, in addition to the use start address 201, use end address 202, reservation start address 203, reservation end address 204 described in FIG. Conversion unnecessary final address 902, logical address / physical address conversion table 903, free list 90
4

【0052】アドレス変換不要先頭アドレス901とア
ドレス変換不要最終アドレス902は、論理アドレスか
ら物理アドレスに変換する必要がない領域を示す。
The address conversion unnecessary start address 901 and the address conversion unnecessary end address 902 indicate areas which do not need to be converted from logical addresses to physical addresses.

【0053】論理アドレス・物理アドレス変換表903
は論理アドレスと物理アドレスとの対応表である。
Logical address / physical address conversion table 903
Is a correspondence table between logical addresses and physical addresses.

【0054】フリーリスト904は、計算機システム1
24で使用するメモリ資源を管理するための情報を管理
する。
The free list 904 is for the computer system 1
24 manages information for managing the memory resources used.

【0055】仮想記憶制御では、プロセッサがある論理
アドレスにアクセスした時に、アクセスしたページが物
理メモリではなく補助記憶装置に存在する場合がある。
この場合、物理メモリに割り付けてあるページを使用頻
度等の情報に基づいて選択した後に補助記憶装置に選択
したページ内容を転送して、その代わりにアクセスされ
たページ内容を補助記憶装置から物理メモリに転送す
る。
In the virtual storage control, when the processor accesses a certain logical address, the accessed page may exist in the auxiliary storage device instead of the physical memory.
In this case, after the page allocated to the physical memory is selected based on information such as the frequency of use, the selected page content is transferred to the auxiliary storage device, and the accessed page content is transferred from the auxiliary storage device to the physical memory instead. Transfer to

【0056】ここで、ページ内容を補助記憶装置から物
理メモリに転送するプログラム命令列を含むページが補
助記憶装置に存在した場合には、プロセッサがアクセス
したページを物理メモリに転送することができない。こ
のような状況が発生しないようにページ内容を補助記憶
装置から物理メモリに転送するプログラム命令列等を含
むページは、必ず物理メモリに存在する必要がある。
Here, when a page including a program instruction sequence for transferring the page content from the auxiliary storage device to the physical memory exists in the auxiliary storage device, the page accessed by the processor cannot be transferred to the physical memory. A page including a program instruction sequence or the like for transferring the page content from the auxiliary storage device to the physical memory so that such a situation does not occur must always exist in the physical memory.

【0057】このようなページは、アドレス変換不要先
頭アドレス901とアドレス変換不要最終アドレス90
2によってアドレス変換が不要な領域に含まれている。
アドレス変換が不要な領域のデータは通常固定したサイ
ズで管理されているため、計算機システムが再起動した
後で、プロセッサが使用するメモリの大きさが変化する
場合には、予め予約しておくことが必要となる。
Such a page has a top address 901 without address conversion and a last address 90 without address conversion.
2 is included in an area that does not require address conversion.
Data in areas that do not require address translation is usually managed in a fixed size, so if the size of the memory used by the processor changes after the computer system restarts, make a reservation in advance. Is required.

【0058】予約が必要なデータとしては、論理アドレ
ス・物理アドレス変換表やフリーリスト等があり、これ
はOSの実装によって異なる。本実施例では、論理アド
レス・物理アドレス変換表とフリーリストの予約が必要
なOSについて説明する。
The data that needs to be reserved include a logical address / physical address conversion table, a free list, and the like, which differ depending on the implementation of the OS. In the present embodiment, an OS that requires reservation of a logical address / physical address conversion table and a free list will be described.

【0059】図10は、本発明における論理アドレス・
物理アドレス変換表903の一実施例を示す。
FIG. 10 is a diagram showing a logical address according to the present invention.
7 shows an embodiment of a physical address conversion table 903.

【0060】論理アドレス・物理アドレス変換表903
は、物理アドレスのページ番号を保持する物理ページ番
号1001、論理アドレスのページ番号を保持する論理
ページ番号1002、同一行にある物理ページ番号と論
理ページ番号の変換対が有効かどうかを示すフラグ等を
含む管理情報1003から構成される。
Logical address / physical address conversion table 903
Are a physical page number 1001 holding a page number of a physical address, a logical page number 1002 holding a page number of a logical address, a flag indicating whether a conversion pair between a physical page number and a logical page number on the same row is valid, and the like. The management information 1003 includes

【0061】本図は、約2GBのメモリを搭載するペー
ジサイズが4KB(0x1000)の計算機システムに
おいて、メモリ管理情報120が物理ページ番号0〜0
x1000、OS領域が物理ページ番号0〜0x800
0、ユーザ領域109(1)が物理ページ番号0x80
01〜0x40000、ユーザ領域109(2)が物理
ページ番号0x40001〜0x80000、1次ダン
プ取得範囲108(1)が物理ページ番号0〜0x40
000、2次ダンプ取得範囲108(2)が物理ページ
番号0x40001〜0x80000に各々対応してい
る。
This figure shows that in a computer system having a page size of 4 KB (0x1000) with a memory of about 2 GB, the memory management information 120 has physical page numbers 0 to 0.
x1000, OS area is physical page number 0 to 0x800
0, user area 109 (1) is physical page number 0x80
01 to 0x40000, the user area 109 (2) has a physical page number of 0x40001 to 0x80000, and the primary dump acquisition range 108 (1) has a physical page number of 0 to 0x40.
000, the secondary dump acquisition range 108 (2) corresponds to physical page numbers 0x40001 to 0x80000, respectively.

【0062】本図において、論理ページ番号0x100
00とページ中のオフセット0x123から構成される
論理アドレス0x10000123は、論理ページ番号
0x10000に対応する物理アドレス番号0x400
00とオフセット0x123を使って物理アドレス0x
4000123に変換される。
In this figure, logical page number 0x100
A logical address 0x10000123 composed of 00 and an offset 0x123 in the page is a physical address number 0x400 corresponding to the logical page number 0x10000.
Physical address 0x using 00 and offset 0x123
It is converted to 4000012.

【0063】論理アドレス・物理アドレス変換表903
の詳細については、Gerry Kane著、Pren
tice Hall出版「PA−RISC 2.0 AR
CHITECTURE」ISBN 0―13―1827
34―0(1996)の第3−9ページから第3−16
ページに記載されている。
Logical address / physical address conversion table 903
For more information on Gerry Kane, Pren
Tice Hall Publishing "PA-RISC 2.0 AR"
CHITECTURE ”ISBN 0-13-1827
34-0 (1996), pages 3-9 to 3-16
It is listed on the page.

【0064】仮想記憶制御する計算機システムに適用し
た場合のシステム起動手続き106について説明する。
基本的な処理内容は図6で説明したフローチャート(6
01〜603)と同様である。仮想記憶制御する計算機
システムでは、メモリ管理情報120に、アドレス変換
不要先頭アドレス901、アドレス変換不要最終アドレ
ス902、論理アドレス・物理アドレス変換表903、
フリーリスト904が追加されている。そのため、ステ
ップ603では、OS領域119の先頭アドレスと最終
アドレスを各々アドレス変換不要先頭アドレス901と
アドレス変換不要最終アドレス902に設定し、実メモ
リ量103と予約メモリ量104を合計したメモリ量を
管理できるように論理アドレス・物理アドレス変換表9
03とフリーリスト903を格納する領域を確保する。
フリーリスト903に登録したページのうち、予約メモ
リ量104に対応する分については、PAGE構造体の
ページロックを用いて、予約済みとし、OSが使用でき
ないように設定する。ページロックの実施形態は、バー
ニー・グッドハート、ジェームス・コックス著、桜川貴
司監訳プレンティスホール出版「UNIXカーネルの魔
法SystemVリリース4のアーキテクチャ」(19
97)の第80ページから第85ページに記載にされて
いる。
A description will now be given of the system startup procedure 106 when applied to a computer system that performs virtual storage control.
The basic processing contents are described in the flowchart (6) in FIG.
01 to 603). In the computer system that performs virtual storage control, the memory management information 120 includes a start address 901 without address conversion, a final address 902 without address conversion, a logical address / physical address conversion table 903,
A free list 904 has been added. Therefore, in step 603, the start address and the end address of the OS area 119 are set as the start address 901 and the end address 902 without address conversion, respectively, and the total memory amount of the real memory amount 103 and the reserved memory amount 104 is managed. Logical address / physical address conversion table 9
03 and an area for storing the free list 903 are secured.
Of the pages registered in the free list 903, a portion corresponding to the reserved memory amount 104 is set to be reserved using the page lock of the PAGE structure, and is set so that the OS cannot be used. The embodiment of the page lock is described in Prentice Hall Publishing Co., edited by Bernie Goodhart and James Cox, Takashi Sakurakawa, "The Architecture of the UNIX Kernel Magic System V Release 4" (19).
97) on pages 80 to 85.

【0065】次に、仮想記憶制御する計算機システムに
適用した場合のメモリ増設手続き123について説明す
る。基本的な処理内容は図8で説明したフローチャート
(801〜804)と同様である。ステップ804に
て、予約メモリ量104に対応する分のPAGE構造体
のページロックを解除することにより、OSを再初期化
することなく、予約メモリ量104のメモリを使用でき
る。
Next, a description will be given of the memory expansion procedure 123 when applied to a computer system that performs virtual storage control. The basic processing content is the same as the flowchart (801 to 804) described in FIG. In step 804, by releasing the page lock of the PAGE structure corresponding to the reserved memory amount 104, the memory having the reserved memory amount 104 can be used without reinitializing the OS.

【0066】[0066]

【発明の効果】本発明によれば、計算機システムが停止
してから再起動を完了してユーザにサービスを提供する
までに要する時間を短縮することができ、その結果、あ
る一定期間における計算機システムの稼動率が向上す
る。
According to the present invention, it is possible to reduce the time required from the stop of the computer system to the completion of the restart and the provision of the service to the user. As a result, the computer system for a certain period of time can be reduced. Operation rate is improved.

【0067】また、再起動してから、最初の一回目の処
理で保存しなかったメモリ範囲をファイルに変換し、障
害の原因分析に必要なメモリ内容をシステム管理者に提
供することができる。また、計算機システムの搭載する
メモリの大きさよりも小さいダンプ格納領域しか持たな
い計算機システムでも、すべてのメモリ内容を含むファ
イルを入手でき、障害原因について十分な解析ができ
る。
Also, after restarting, the memory range not saved in the first process can be converted into a file, and the memory contents necessary for analyzing the cause of the failure can be provided to the system administrator. Further, even in a computer system having only a dump storage area smaller than the size of the memory mounted in the computer system, a file including all memory contents can be obtained, and a sufficient analysis can be performed on the cause of the failure.

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

【図1】本発明の一実施例を示す計算機システム124
のブロック図である。
FIG. 1 shows a computer system 124 according to an embodiment of the present invention.
It is a block diagram of.

【図2】本発明におけるメモリ管理情報120の一実施
例である。
FIG. 2 shows an embodiment of the memory management information 120 according to the present invention.

【図3】本発明におけるダンプ格納領域管理情報105
の一実施例である。
FIG. 3 shows dump storage area management information 105 according to the present invention.
FIG.

【図4】本発明における障害発生から再起動完了までの
概略処理フローの一実施例を示すフローチャートであ
る。
FIG. 4 is a flowchart showing one embodiment of a schematic processing flow from the occurrence of a failure to the completion of restart in the present invention.

【図5】本発明における障害処理手続き121の一実施
例を示すフローチャートである。
FIG. 5 is a flowchart showing one embodiment of a fault handling procedure 121 according to the present invention.

【図6】本発明におけるシステム起動手続き106の一
実施例を示すフローチャートである。
FIG. 6 is a flowchart showing one embodiment of a system activation procedure 106 according to the present invention.

【図7】本発明におけるダンプファイル生成手続き12
2の一実施例を示すフローチャートである。
FIG. 7 is a dump file generation procedure 12 according to the present invention.
2 is a flowchart showing one embodiment.

【図8】本発明におけるメモリ増設手続き123の一実
施例を示すフローチャートである。
FIG. 8 is a flowchart showing one embodiment of a memory expansion procedure 123 according to the present invention.

【図9】本発明における仮想記憶制御する計算機システ
ムのメモリ管理情報120の一実施例を示す。
FIG. 9 shows an embodiment of the memory management information 120 of the computer system which performs virtual storage control according to the present invention.

【図10】本発明における論理アドレス・物理アドレス
変換表903の一実施例を示す。
FIG. 10 shows an embodiment of a logical address / physical address conversion table 903 according to the present invention.

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

100:プロセッサ、101:不揮発性メモリ、10
2:構成情報、105ダンプ格納領域管理情報、10
6:システム起動手続き、107:メモリ、108:ダ
ンプ取得範囲、109:ユーザ領域、110:バス、1
11:補助記憶装置、112:ダンプ取得範囲指定ファ
イル、113:OS格納領域、114:ダンプ格納領
域、119:OS領域、120:メモリ管理情報、12
1:障害処理手続き、122:ダンプファイル生成手続
き、123:メモリ増設手続き
100: processor, 101: nonvolatile memory, 10
2: configuration information, 105 dump storage area management information, 10
6: system startup procedure, 107: memory, 108: dump acquisition range, 109: user area, 110: bus, 1
11: auxiliary storage device, 112: dump acquisition range designation file, 113: OS storage area, 114: dump storage area, 119: OS area, 120: memory management information, 12
1: Fault handling procedure, 122: Dump file generation procedure, 123: Memory expansion procedure

───────────────────────────────────────────────────── フロントページの続き (72)発明者 堀川 和雄 神奈川県秦野市堀山下1番地 株式会社日 立製作所エンタープライズサーバ事業部内 (72)発明者 屋代 寛 神奈川県秦野市堀山下1番地 株式会社日 立製作所エンタープライズサーバ事業部内 (72)発明者 菅波 雄介 神奈川県秦野市堀山下1番地 株式会社日 立製作所エンタープライズサーバ事業部内 (72)発明者 佐々木 大介 神奈川県横浜市戸塚区戸塚町5030番地 株 式会社日立製作所ソフトウェア事業部内 Fターム(参考) 5B018 GA06 KA03 MA01 QA20 5B042 KK02 KK08 LA20 MA08 MA09 MC07 5B082 DA02 DC06 DE06  ──────────────────────────────────────────────────続 き Continuing on the front page (72) Kazuo Horikawa, 1st Horiyamashita, Hadano-shi, Kanagawa Prefecture, in the Enterprise Server Division of Hitachi Ltd. (72) Inventor Hiroshi Yashiro 1st Horiyamashita, Hadano-shi, Kanagawa, Hitachi, Ltd. (72) Inventor Yusuke Kanba 1st Horiyamashita, Hadano-shi, Kanagawa Prefecture In-house Enterprise Server Division (72) Daisuke Sasaki 5030 Totsukacho, Totsuka-ku, Yokohama-shi, Kanagawa Prefecture Hitachi, Ltd. F term (reference) in the Software Division of Manufacturing 5B018 GA06 KA03 MA01 QA20 5B042 KK02 KK08 LA20 MA08 MA09 MC07 5B082 DA02 DC06 DE06

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】プロセッサとメモリと補助記憶装置とオペ
レーティングシステムとを備える計算機において、 初期化するメモリの領域を指定するアドレスまたはメモ
リ量を示すメモリ範囲指定情報に基づいて分割した複数
の領域のメモリ内容を補助記憶装置に保存するダンプ保
存手段と、 前記補助記憶装置に保存したメモリ内容をファイルに変
換するダンプファイル生成手段と、 メモリのアドレスまたはメモリ量によりメモリを複数の
領域に分割する数値を示すメモリ構成情報に基づいてメ
モリを初期化するメモリ初期化手段とを備え、 前記オペレーティングシステムが前記計算機の障害を検
出した場合に、 前記ダンプ保存手段は、前記メモリ範囲指定情報に基づ
いて分割した第1番目の領域のメモリ内容を補助記憶装
置に保存し、該ダンプ保存手段で保存した領域をメモリ
構成情報に設定すると共に該メモリ初期化手段によりメ
モリを初期化して前記計算機を再起動し、 前記オペレーティングシステムが計算機の再起動を完了
した後に、 前記ダンプ保存手段で保存した第1番目の領域を補助記
憶装置から読み出し、前記ダンプファイル生成手段が読
み出したメモリ領域をファイルに変換し、 前記メモリ範囲指定情報に基づいて分割した第2番目以
降の領域を補助記憶装置に保存し、第2番目以降の領域
を補助記憶装置からファイルに変換することを特徴とす
る計算機。
1. A computer comprising a processor, a memory, an auxiliary storage device, and an operating system, comprising: a plurality of areas divided based on an address specifying a memory area to be initialized or a memory range specifying information indicating a memory amount; Dump storage means for storing the contents in the auxiliary storage device, dump file generation means for converting the memory contents stored in the auxiliary storage device into a file, and a numerical value for dividing the memory into a plurality of areas according to the address or the amount of the memory. Memory initialization means for initializing a memory based on the memory configuration information shown, and when the operating system detects a failure of the computer, the dump storage means divides the memory based on the memory range designation information. The memory contents of the first area are stored in the auxiliary storage device, and the The area saved by the storage unit is set in the memory configuration information, the memory is initialized by the memory initialization unit, and the computer is restarted.After the operating system completes restarting the computer, the dump storage unit The stored first area is read from the auxiliary storage device, the memory area read by the dump file generating means is converted into a file, and the second and subsequent areas divided based on the memory range designation information are stored in the auxiliary storage device. And converting the second and subsequent areas from the auxiliary storage device to a file.
【請求項2】前記ダンプファイル生成手段は、補助記憶
装置またはメモリからファイルを生成することを特徴と
する請求項1記載の計算機。
2. The computer according to claim 1, wherein said dump file generation means generates a file from an auxiliary storage device or a memory.
【請求項3】プロセッサとメモリと補助記憶装置とオペ
レーティングシステムとを備える計算機において、 初期化するメモリの領域を指定するアドレスまたはメモ
リ量を示すメモリ範囲指定情報に基づいて分割した複数
の領域のメモリ内容を補助記憶装置に保存するダンプ保
存手段と、 前記補助記憶装置に保存したメモリ内容をファイルに変
換するダンプファイル生成手段と、 メモリのアドレスまたはメモリ量によりメモリを複数の
領域に分割する数値を示すメモリ構成情報に基づいてメ
モリを初期化するメモリ初期化手段と、 前記ダンプ保存手段が補助記憶装置にメモリ内容を保存
する際に、以前にメモリ内容を保存した格納場所を管理
するダンプ領域管理手段とを備え、 オペレーティングシステムが計算機の障害を検出した場
合に、 該メモリ範囲指定情報に基づいて分割した第1番目の領
域のメモリ内容を、該ダンプ領域管理手段が指定する補
助記憶装置の格納場所に保存し、 該ダンプ保存手段で保存した領域をメモリ構成情報に設
定すると共に該メモリ初期化手段により初期化して計算
機を再起動し、 該メモリ範囲指定情報に基づいて分割した第2番目以降
の第N番目の領域のメモリ内容を補助記憶装置に保存す
る際には、該ダンプ領域管理手段が指定する第1番目の
領域のメモリ内容を保存した格納場所と同じ格納場所を
使用し、 第(N―1)番目の領域を補助記憶装置からファイルに
変換する処理を実行してから第N番目の領域を補助記憶
装置に保存することを特徴とする計算機。
3. A computer comprising a processor, a memory, an auxiliary storage device, and an operating system, wherein a plurality of areas are divided based on an address specifying a memory area to be initialized or a memory range specifying information indicating a memory amount. Dump storage means for storing the contents in the auxiliary storage device, dump file generation means for converting the memory contents stored in the auxiliary storage device into a file, and a numerical value for dividing the memory into a plurality of areas according to the address or the amount of the memory. Memory initialization means for initializing the memory based on the memory configuration information shown, and dump area management for managing a storage location where the memory contents were previously stored when the dump storage means stores the memory contents in the auxiliary storage device. If the operating system detects a computer failure, The memory content of the first area divided based on the memory range designation information is stored in a storage location of an auxiliary storage device designated by the dump area management means, and the area saved by the dump storage means is stored in memory configuration information. When setting and initializing by the memory initializing means and restarting the computer, the memory contents of the second and subsequent Nth areas divided based on the memory range designation information are stored in the auxiliary storage device. Converts the (N-1) th area from the auxiliary storage device to a file using the same storage location as the storage location of the memory area of the first area designated by the dump area management means. And storing the N-th area in an auxiliary storage device after executing the above.
【請求項4】請求項1から3のいずれかの項に記載の計
算機において、仮想記憶制御機能を有するオペレーティ
ングシステムを備えていることを特徴とする計算機。
4. The computer according to claim 1, further comprising an operating system having a virtual storage control function.
【請求項5】前記計算機はさらに、前記メモリ範囲指定
情報にユーザが情報を設定するメモリ範囲設定手段を備
えることを特徴とする請求項1から3のいずれかの項に
記載の計算機。
5. The computer according to claim 1, wherein said computer further comprises a memory range setting means for setting information in said memory range designation information by a user.
【請求項6】メモリと補助記憶装置を有する計算機にお
けるダンプ取得方法であって、 前記計算機を再起動するために必要な最小メモリ量を示
す指示ファイル及び計算機が使用するメモリの領域を管
理するメモリ構成情報を記憶し、 障害発生時のメモリ内容をダンプ格納領域に保存する
際、該指示ファイルに基づいてメモリ内容の一部を前記
補助記憶装置に保存し、 該保存したメモリ領域を前記メモリ構成情報に設定する
ことを特徴とするダンプ取得方法。
6. A method for acquiring a dump in a computer having a memory and an auxiliary storage device, the instruction file indicating a minimum memory amount necessary for restarting the computer, and a memory for managing an area of a memory used by the computer. When the configuration information is stored and a memory content at the time of failure occurrence is stored in the dump storage area, a part of the memory content is stored in the auxiliary storage device based on the instruction file, and the stored memory area is stored in the memory configuration. A dump acquisition method characterized by setting information.
【請求項7】前記ダンプ取得方法はさらに、 前記計算機の再起動時には、前記補助記憶装置に保存し
た一部のメモリのみを使用して、再起動を完了すること
を特徴とする請求項6記載のダンプ取得方法。
7. The dump acquisition method according to claim 6, further comprising, when restarting the computer, using only a part of the memory stored in the auxiliary storage device to complete the restart. How to get a dump.
【請求項8】前記ダンプ取得方法はさらに、 再起動完了後に、補助記憶装置に保存していないメモリ
内容をファイルに変換することを特徴とする請求項7記
載のダンプ取得方法。
8. The dump acquisition method according to claim 7, further comprising, after completion of the restart, converting the memory contents not stored in the auxiliary storage device into a file.
JP2000041375A 2000-02-15 2000-02-15 Computer system dump processing method Expired - Fee Related JP3903678B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000041375A JP3903678B2 (en) 2000-02-15 2000-02-15 Computer system dump processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000041375A JP3903678B2 (en) 2000-02-15 2000-02-15 Computer system dump processing method

Publications (2)

Publication Number Publication Date
JP2001229053A true JP2001229053A (en) 2001-08-24
JP3903678B2 JP3903678B2 (en) 2007-04-11

Family

ID=18564626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000041375A Expired - Fee Related JP3903678B2 (en) 2000-02-15 2000-02-15 Computer system dump processing method

Country Status (1)

Country Link
JP (1) JP3903678B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006072997A (en) * 2004-08-23 2006-03-16 Microsoft Corp Memory dump generation with quick reboot
WO2007077604A1 (en) * 2005-12-28 2007-07-12 Fujitsu Limited Information processor and method of monitoring hang-up
WO2011004441A1 (en) 2009-07-10 2011-01-13 富士通株式会社 Server having memory dump function and method for acquiring memory dump
WO2012090290A1 (en) 2010-12-27 2012-07-05 富士通株式会社 Information processing device having memory dump function, memory dump method, and memory dump program
EP2687986A2 (en) 2012-06-22 2014-01-22 Fujitsu Limited Information processing device with memory dump function, memory dump method, and recording medium
JP2015114750A (en) * 2013-12-10 2015-06-22 富士通株式会社 Examination program, information processing device, and information processing method

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006072997A (en) * 2004-08-23 2006-03-16 Microsoft Corp Memory dump generation with quick reboot
WO2007077604A1 (en) * 2005-12-28 2007-07-12 Fujitsu Limited Information processor and method of monitoring hang-up
WO2011004441A1 (en) 2009-07-10 2011-01-13 富士通株式会社 Server having memory dump function and method for acquiring memory dump
US8990630B2 (en) 2009-07-10 2015-03-24 Fujitsu Limited Server having memory dump function and memory dump acquisition method
WO2012090290A1 (en) 2010-12-27 2012-07-05 富士通株式会社 Information processing device having memory dump function, memory dump method, and memory dump program
US9015535B2 (en) 2010-12-27 2015-04-21 Fujitsu Limited Information processing apparatus having memory dump function, memory dump method, and recording medium
EP2687986A2 (en) 2012-06-22 2014-01-22 Fujitsu Limited Information processing device with memory dump function, memory dump method, and recording medium
US9229820B2 (en) 2012-06-22 2016-01-05 Fujitsu Limited Information processing device with memory dump function, memory dump method, and recording medium
JP2015114750A (en) * 2013-12-10 2015-06-22 富士通株式会社 Examination program, information processing device, and information processing method
US9507657B2 (en) 2013-12-10 2016-11-29 Fujitsu Limited Investigation program, information processing apparatus, and information processing method

Also Published As

Publication number Publication date
JP3903678B2 (en) 2007-04-11

Similar Documents

Publication Publication Date Title
JP5255348B2 (en) Memory allocation for crash dump
JP3593241B2 (en) How to restart the computer
US9298472B2 (en) High-speed restart method, information processing device, and program
EP1873647A1 (en) Computer system, memory management method, and program thereof
US6952793B2 (en) Computer system and methods for acquiring dump information and system recovery
JP2002140227A (en) Memory compression managing device
US8930732B2 (en) Fast speed computer system power-on and power-off method
JP3882321B2 (en) Computer with operating system module program
JP2008090657A (en) Storage system and control method
JPH1185618A (en) Method for controlling virtual memory conversion
JP2002073378A (en) Method and device for obtaining dump of computer system
KR101392062B1 (en) Fast speed computer system power-on & power-off method
JP2002132582A (en) Reuse space reserve of compression memory system
JP2001229053A (en) Computer with dump acquiring mechanism
JP3959870B2 (en) Disk content failure recovery method and computer apparatus
JP2002258971A (en) Method for restarting computer system
EP0262301B1 (en) Paging supervisor
JPH11212836A (en) Fault processing method, execution device for the same and medium recording processing program for the same
KR100401560B1 (en) Kernel Stack Dynamic Allocation Method In Operating System
JP4354583B2 (en) Access method and recording medium recording access processing program
JPH04218842A (en) Reexecution method for program
JPS603229B2 (en) Information processing method
JP2000242550A (en) Method for managing data operation
JP2002259201A (en) Method for starting computer system
JPH08263426A (en) Logical direct memory access system

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20060417

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060831

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060912

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20061113

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20061219

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070101

LAPS Cancellation because of no payment of annual fees