JP2006172100A - High-speed changeover method for operating system and method therefor - Google Patents
High-speed changeover method for operating system and method therefor Download PDFInfo
- Publication number
- JP2006172100A JP2006172100A JP2004363097A JP2004363097A JP2006172100A JP 2006172100 A JP2006172100 A JP 2006172100A JP 2004363097 A JP2004363097 A JP 2004363097A JP 2004363097 A JP2004363097 A JP 2004363097A JP 2006172100 A JP2006172100 A JP 2006172100A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- dump
- area
- collection
- failure occurs
- 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
Links
Images
Landscapes
- Debugging And Monitoring (AREA)
- Stored Programmes (AREA)
Abstract
Description
本発明は、コンピュータシステムの障害発生時にオペレーティングシステム(以下OSと称する)の切替え処理を行い、切替え後にメモリ領域のダンプ採取を行うことでコンピュータシステム(以下、システムと称する)の業務停止時間を短縮する方式に関するものである。 The present invention shortens the operation stop time of a computer system (hereinafter referred to as a system) by performing a switching process of an operating system (hereinafter referred to as an OS) when a failure occurs in the computer system and collecting a dump of a memory area after the switching. It is related to the method to do.
従来、OSの障害時には、障害の原因調査を行うためにメモリ内容のダンプ採取を行い、ダンプ採取完了後にシステムの再起動を行う方式をとっている。このため、システムのメモリ搭載量に比例してダンプ採取完了までの時間が長くなり、システム停止時間が増大していた。 Conventionally, when an OS failure occurs, a memory content dump is collected in order to investigate the cause of the failure, and the system is restarted after completion of the dump collection. For this reason, the time until the completion of dump collection increases in proportion to the amount of memory installed in the system, and the system stop time increases.
OS障害時のメモリダンプ採取の従来技術として、例えば、特許文献1に記載されているように、OSの障害時に全てのメモリ領域に対してダンプ採取するのではなく、OS中核部に相当する部分のみを先に採取し、OSを再ロードしてから、残りの部分についてダンプ採取を行うことで、メモリ領域の内容を漏れなく採取しつつ、OS立ち上げまでの時間を短縮する方式が提案されている。
上述したように、計算機上で動作するOSに障害等が発生し、OSが停止した場合に即座に代替OSを起動し業務を再開させる必要があるが、障害の原因調査用にメモリ内容のダンプ採取を行う場合、ダンプ採取処理が終るまでOSの再起動ができないという課題がある。また、ダンプ採取にかかる時間はダンプ採取を行う領域に比例して長くなるため、再起動が可能になるまでの時間が長くなるという課題がある。 As described above, when a failure or the like occurs in the OS running on the computer and the OS is stopped, it is necessary to immediately start the alternative OS and resume the work. However, the memory contents are dumped for investigating the cause of the failure. When collecting, there is a problem that the OS cannot be restarted until the dump collecting process is completed. Moreover, since the time required for dump collection becomes longer in proportion to the area where dump collection is performed, there is a problem that the time until restart becomes longer.
また、上述の特許文献1に記載したように、OSの再起動前に最低限必要な部分、例えばOS中核部などについてのみダンプ採取を行い、OSが再起動された後で残りのメモリ領域についてダンプ採取を行うという技術により再起動までの時間を短縮する技術も提案されているが、ダンプ採取にかかる時間が無くなるわけではない。
Further, as described in
前記課題を解決するために、本発明は主として次のような構成を採用する。
コンピュータシステムのメモリ上に第1のOSを含むプログラムが使用する第1の系のメモリ領域と第2のOSを含むプログラムが使用する第2の系のメモリ領域を配置し、稼働している第1のOSまたは第2のOSの障害発生時に、第2のOSまたは第1のOSに切り替えるOS切替方式であって、
前記メモリ領域を複数のメモリ管理単位に分割し、前記メモリ管理単位のメモリ領域毎に、ダンプを採取するか否かのダンプ採取要否と、前記障害発生時に新たに切り替えられるOSの管理下に置くか否かを決めるメモリ回収要否と、を設定し、
前記障害発生時にOSを切り替えるとともに、前記メモリ管理単位でダンプ採取の否の領域を切替後のOSの管理下に置いて使用可能状態とする構成とする。
In order to solve the above problems, the present invention mainly adopts the following configuration.
A first system memory area used by a program including the first OS and a second memory area used by a program including the second OS are arranged on the memory of the computer system and are operating. An OS switching method for switching to the second OS or the first OS when a failure of the first OS or the second OS occurs.
The memory area is divided into a plurality of memory management units, and for each memory area of the memory management unit, whether or not to collect a dump is determined, and under the management of the OS that is newly switched when the failure occurs Set whether or not to collect memory to decide whether to place it,
The OS is switched when the failure occurs, and the dump collection rejection area in the memory management unit is placed under the management of the OS after switching to be in a usable state.
本発明によると、障害等の理由により稼動中のOS(系1)が正常な処理を継続できない場合に、系1のOSが使用していたメモリ内容を保持しつつ、即座に第2のOS(系2)を稼動させ、かつ、系2のOSによって系1のメモリ内容をディスク等に保存することが可能になる。
According to the present invention, when the operating OS (system 1) cannot continue normal processing due to a failure or the like, the second OS is immediately maintained while retaining the memory contents used by the
また、系1で使用中であったメモリ領域をダンプ採取が終った領域から順に系2で回収し、系2の業務に利用することで、一括で(メモリの全領域で)ダンプ採取を行う場合に比べて、メモリの効率的な利用が可能になる。
In addition, the memory area that was being used in
本発明の実施形態に係るオペレーティングシステムの切替方式について、図1〜図7を参照しながら以下詳細に説明する。まず、本発明の実施形態に係るオペレーティングシステムの切替方式の概要について、図1と図3を用いて説明する。図1は本発明の実施形態に係るオペレーティングシステムの系切替処理とダンプ採取・回収処理の概要を説明する図である。図3は本実施形態に関する系切替処理とダンプ採取・回収処理の流れを示す図である。 The operating system switching method according to the embodiment of the present invention will be described in detail below with reference to FIGS. First, an overview of an operating system switching method according to an embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a diagram for explaining the outline of the system switching process and dump collection / collection process of the operating system according to the embodiment of the present invention. FIG. 3 is a diagram showing the flow of system switching processing and dump collection / collection processing according to this embodiment.
本発明の実施形態に係るオペレーティングシステムの切替方式では、予め系1と系2という2種類のOS領域をメモリ上に構築しておき障害時に切替えるようにし、系2は系1のメモリを圧迫しないように必要最低限のサイズに抑えるように構成する。ここで、系1や系2というのは、OSならびにOS下のアプリケーションプログラムおよびそのデータを含めた全体のプログラム等の系を云う。稼働OS(例えば、系1)と代替OS(例えば、系2)は、同一のOSであってもよいし(同一業務を実行する場合には同一OS)、異なるOSであってもよい。
In the switching method of the operating system according to the embodiment of the present invention, two types of OS areas of the
図1において、系1の仮想アドレス空間101が物理アドレス空間の系1領域105とダンプ採取・回収済み領域106にマッピングし、系2の仮想アドレス空間102が物理アドレス空間の系2領域107にマッピングしている。ここにおいて、系1が稼動中に障害等の理由により系2に切替わった場合、系2上で系1の業務を再開するとともに、系2上でメモリダンプ採取・回収プログラム104を動作させ、系1のメモリをディスク等の記憶装置にあるダンプ保存領域108へダンプ採取を行う。ダンプ採取の完了した領域106については、その都度、系2の仮想空間102へマッピングすることで、系2が使用できる物理アドレス空間を拡張するように構成する。
In FIG. 1, the
次に、本実施形態に関する系切替え処理(系1から系2への切替え)のフローを図3を用いて説明する。系切替え処理では、最初に系2のアドレスをコールし、系2に制御を移す(301)。この時点で系1は停止し、その後の全ての処理は系2によって行われる。系2ではメモリ管理テーブル20(後述する図2で詳細に説明する)の構築を行い(302)、このメモリ管理テーブルを用いて、まず系1メモリの回収処理を行う(303)。ここで、系2でメモリを回収するというのは、このメモリを系2のOSの管理下に移すということである。したがって、処理303はダンプ採取不要のメモリ領域を系2のOSの管理下に置くことである。メモリ回収処理は、次の処理304のメモリダンプ採取・回収処理でも行うが、ダンプ採取不要の領域について先に回収処理を行うことでメモリダンプ処理による回収遅延を回避し、系2にて即座に利用することが可能になる。
Next, a flow of system switching processing (switching from the
系1のメモリ回収処理303の終了後、メモリダンプ採取・回収を行う(304)。すなわち、メモリ管理テーブルでダンプ要否が要の場合にダンプ採取を行い、その後にこのメモリ領域を系2のOSの管理下に置くことである。最後に、ディスクから系1をメモリ上に再ロードし起動可能な状態に初期化し(系1によって再びシステムが使用可能状態になる)(305)、系2から系1への切替えを可能な状態にし、系切替え処理が完了する。このように、系2に障害が発生した際に系1に切替えることが可能であり、系1と系2の間で系切替え処理を、繰り返し行うことで、システムの業務停止時間を最小限に抑えることが可能となる。
After the
換言すると、本発明の実施形態に係るOS切替方式の主たる要旨は、一台のコンピュータシステムのメモリ上に稼動中のOS(系1)の他に予め第2のOS(系2)もロードしておき、障害発生時には系1で使用していたメモリ状態を保持した状態で、系2に切替える。系2では系1のメモリ内容のダンプ採取不要な領域を即座に回収し(系2のOSの管理下に置き)て系2で利用可能にするとともに、ダンプ採取必要な領域については、ダンプ採取後に逐次的にメモリを回収するものである。
In other words, the main gist of the OS switching method according to the embodiment of the present invention is that a second OS (system 2) is loaded in advance in addition to the operating OS (system 1) on the memory of one computer system. The system is switched to the
上述の説明は、本発明の実施形態に係るオペレーティングシステムの切替方式の概要(構成ならびに処理フローについて)であるが、次に、本実施形態に係るオペレーティングシステムの切替方式の具体的構成と具体的処理フローについて説明する。 The above description is an outline (configuration and processing flow) of the switching method of the operating system according to the embodiment of the present invention. Next, the specific configuration and the specific of the switching method of the operating system according to the present embodiment are described. A processing flow will be described.
「メモリ管理テーブル」
メモリ管理テーブル20は、全物理メモリ領域をページ単位などの複数の領域に分割して管理し、領域毎に、ダンプ採取・回収をどのように処理するかを記載したテーブルであり、系の切替え時に使用される。
"Memory Management Table"
The memory management table 20 is a table in which all physical memory areas are divided into a plurality of areas such as pages and managed, and dump collection / collection processing is processed for each area. Sometimes used.
図2に示すように、メモリ管理テーブルは、メモリ領域を表す「領域番号」(201)、その領域のダンプ採取を実施するか否かを表す「ダンプ要否」(202)、その領域を回収し系2で再利用するか否かを表す「回収要否」(203)、その領域の処理状態を表す「状態」(例えば、領域における系による使い方が決定しているか否かを表す状態)(204)で構成される。
As shown in FIG. 2, the memory management table includes an “area number” (201) indicating a memory area, a “dump necessity” (202) indicating whether or not to perform dump collection of the area, and collecting the area. “Recovery Necessity” (203) indicating whether or not the
「メモリ管理テーブルの構築処理」
図2に示すメモリ管理テーブルの構築処理について図4を用いて説明する。図4は本実施形態で用いるメモリ管理テーブルの構築処理の流れを示す図である。物理メモリの各領域について、処理401(第1領域の取得)と処理407(次の領域有りか)で囲まれた処理(処理402〜406)を行う。
"Memory management table construction process"
The construction process of the memory management table shown in FIG. 2 will be described with reference to FIG. FIG. 4 is a diagram showing the flow of the construction process of the memory management table used in this embodiment. For each area of the physical memory, the process (
まず、メモリダンプ採取要否の判定402では、その領域のダンプ採取が不要かどうかについて判定し、ダンプ採取が必要と判定された領域については、「ダンプ要否」(202)欄に「要」と設定し、ダンプ採取不要と判定された場合、「ダンプ要否」(202)の欄に「否」と設定する。ダンプ採取が不要な領域の例としては、VRAM等にマップされた領域、キャッシュ領域、ハードウェア的に書き込み不可と設定された領域などがあるが、ダンプ採取のポリシーに従ってダンプ採取不要な領域を増やすことも可能である。例えば、「OS領域のみダンプ採取」、「OS領域と障害時に動作していたプロセス領域」など系1のメモリ領域を解析することで部分的なダンプ採取が可能となる。ここでは、ダンプ採取範囲の決定方法については言及しない。
First, in the
次に、メモリ回収要否の判定403では、その領域が系2で回収し使用することが必要かどうかを判定し、回収が必要な場合「メモリ回収要否」(203)の欄に「要」を、回収不要な場合には「メモリ回収要否」(203)の欄に「否」と設定する。回収不要と判定される領域には、系1のOSの予約領域や系2のOSの領域などが含まれる。
Next, in the memory
「ダンプ採取不要」かつ「メモリ回収不要」の場合(404)には、その領域について処理すること必要はないため、「状態」(204)を「完了」と設定する(405)。それ以外の場合(処理をする必要がある場合)には、「状態」(204)に「未」と設定する(406)。以上の処理(402〜406)を全てのメモリ領域について繰り返すことで、メモリ管理テーブル20を構築する。 In the case of “dump collection unnecessary” and “memory recovery unnecessary” (404), since it is not necessary to process the area, “status” (204) is set to “completed” (405). In other cases (when processing is required), “not yet” is set in “state” (204) (406). The memory management table 20 is constructed by repeating the above processing (402 to 406) for all the memory areas.
「メモリ回収」
図5を用いてメモリ回収処理について説明する。図5は本実施形態に関するメモリ回収処理の流れを示す図である。物理メモリの各領域について、処理501と処理507で囲まれた処理(502〜506)を行う。図5に示すメモリ回収処理では、ダンプ要否が否であり回収要否が要であるメモリ管理テーブルに基づいた処理を示す。
"Memory recovery"
The memory collection process will be described with reference to FIG. FIG. 5 is a diagram showing the flow of memory recovery processing according to this embodiment. For each area of the physical memory, processing (502 to 506) surrounded by processing 501 and
まず、処理502ではメモリ管理テーブル20の「状態」(204)の値を読み、「完了」の場合は処理の繰り返しの終端507に進みその領域の処理を終了し、「状態」(204)の値が「未」の場合には、次の回収要否判定503に進む。処理503では、メモリ管理テーブル20の「回収要否」(203)の値を読み、「否」の場合は処理の繰り返しの終端507に進みその領域の処理を終了し、「回収要否」(203)の値が「要」の場合は、次のダンプ採取要否判定504に進む。
First, in the
処理504では、メモリ管理テーブル20の「ダンプ要否」(202)の値を読み、「要」の場合には処理の繰り返しの終端507に進み、当該領域の処理を終了し、「否」の場合は次のメモリ回収505に進む。処理505では、その領域を系2で回収し、系2で利用可能な物理メモリとして登録し、506に進む。系2で回収した領域は、系2の仮想アドレス空間へのマッピング対象となるように、OSの利用可能物理メモリテーブル等に登録しておき、OSやアプリケーション等がメモリ割当て要求を発行した場合に、回収したメモリ領域をアドレス変換テーブルに登録することで仮想−物理のマッピングを行う。なおアドレス変換テーブルとはCPUが仮想アドレスから物理アドレスへの変換をする際に使用するテーブルを指す。
In the
最後に処理506では、メモリ管理テーブル20の「状態」(204)を「完了」と設定する。以上の処理(502〜506)を全てのメモリ領域について繰り返すことで、メモリ回収を行う。
Finally, in
「ダンプ採取・回収」
図6を用いてダンプ採取・回収処理について説明する。図6は本実施形態に関するダンプ採取・メモリ回収処理の流れを示す図である。物理メモリの各領域について、処理601と処理608で囲まれた処理(602〜607)を行う。図6に示すダンプ採取・回収処理では、ダンプ要否が要であるメモリ管理テーブルに基づいた処理を示す。
"Dump collection and collection"
The dump collection / collection processing will be described with reference to FIG. FIG. 6 is a diagram showing a flow of dump collection / memory recovery processing according to the present embodiment. For each area of the physical memory, processing (602 to 607) surrounded by processing 601 and
まず、処理602ではメモリ管理テーブル20の「状態」(204)の値を読み、「完了」の場合は、処理の繰り返しの終端608に進み、当該領域の処理を終了し、「状態」(204)の値が「未」の場合には、次のダンプ採取要否判定603に進む。処理603では、メモリ管理テーブル20の「ダンプ要否」(202)の値を読み、「否」の場合にはメモリ回収の要否判定605に進む。「ダンプ要否」(202)の値が「要」の場合にはダンプ採取604で当該領域のダンプ採取を行った後、メモリ回収の要否判定605に進む。
First, in the
処理605では、メモリ管理テーブル20の「回収要否」(203)の値を読み、「否」の場合にはメモリ管理テーブル20の「状態」処理607に進む。「回収要否」(203)の値が「要」の場合には次のメモリ回収606にて当該領域を系2で回収し(系2の管理下に置き)、メモリ管理テーブル20の「状態」処理607に進む。処理607では、メモリ管理テーブル20の「状態」(204)を「完了」と設定する。以上の処理(602〜507)を全てのメモリ領域について繰り返すことで、ダンプ採取・回収を行う。
In the
次に、本実施形態に係るオペレーティングシステムの系切替処理とダンプ採取・回収処理の手順を図解する図7を用いて、本実施形態の特徴を敷衍して説明する。図7の(1)はメモリのアドレス空間が系1領域と系2領域に割り当てられ、それぞれ第1のOSと第2のOSがロードされていて(必要に応じ適宜のアプリケーションプログラムが搭載されている)、系1が稼働し運用されていることを示す。図7の(2)、(3)において、系1の第1のOSに障害が発生したことによって、即座に系2に切り替えられて第2のOSが稼働する。(4)は図2に示すメモリ管理テーブルで管理された各領域の管理状況(ダンプ要否、回収要否、状態)を示している。(5)はダンプ採取不要の領域について系2で回収する(管理下に置く)ことを示している。
Next, the characteristics of the present embodiment will be described with reference to FIG. 7 illustrating the procedure of the system switching process and dump collection / collection process of the operating system according to the present embodiment. In (1) of FIG. 7, the memory address space is allocated to the
図7の(6)ではダンプ要否が要である領域を記憶装置のダンプ保存領域へダンプ採取することが原則であるが、ダンプ採取要の領域であっても系1の予約領域(図2のメモリ管理テーブルを参照)については系2の管理下に置かない(予約領域は系2で回収しない)。ダンプ採取した領域は系2で回収し、系2で使用可能状態とする。(7)と(8)でダンプ採取要の領域761,762をダンプ保存領域へダンプ採取してダンプ採取完了となり、続いてこれらの領域を系2で回収する。(9)において系2で回収された領域全てが系2の領域となり、この系2領域で系2が運用され、系1領域に記憶装置に格納された第1のOSなどのプログラムをロードしたり、別の第3のOSをロードしてもよい。
In FIG. 7 (6), in principle, dumping is performed on the area where dumping is necessary or not in the dump storage area of the storage device. The memory management table is not placed under the management of the system 2 (the reserved area is not collected by the system 2). The dumped area is collected by the
以上説明したように、本発明の実施形態に係るOS切替方式は次のような特徴を備えるものである。すなわち、予め系1と系2という2種類のOS領域をメモリ上に構築し、OSの障害時に系を切替える。この際に、系2は系1のメモリを圧迫しないように必要最低限のサイズに抑える。障害発生時に即座に系1から系2に切替えることでシステムの業務停止時間を最低限とすることができる(ダンプ処理を実行後に代替OSを立ち上げる従来技術に比べて)。また、系2では業務の実行とともに系1で使用していたメモリ内容のダンプ採取を行い、ダンプ採取が完了した領域から順に系2用にメモリ領域を追加し、系2の業務で使用する。ダンプ採取処理が完了すると、系2の障害時に備え、次の系1の起動準備を行い(ディスクなどに格納された正常なOSを系1の予約領域にロードすることで)、系2で障害が発生した場合には、再び系1に切替えるようにする。このように、何れかの系が故障時に系1と系2を交互に稼働させることでコンピュータシステムの稼働率を向上させることができる。また、系1から系2に切り替えたときに、系1のメモリ領域に以前稼働していた第1のOSに代えて第3のOSを別設のディスクなどの記録媒体からロードしておき、次の系切替でこの第3のOSを稼働させることもできる。さらに、系1と系2に加えて、新たに系3を準備してそれぞれの系の領域を設けて、それぞれの系を使い分けることも可能である。
As described above, the OS switching method according to the embodiment of the present invention has the following features. That is, two types of OS areas,
101 系1の仮想アドレス空間
102 系2の仮想アドレス空間
103 メモリ管理テーブル
104 ダンプ採取・メモリ回収プログラム
105 系1が使用する物理アドレス領域
106 ダンプ採取・回収済み領域
107 系2が使用する物理アドレス領域
108 ダンプ保存領域
20 メモリ管理テーブル
201 領域番号
202 ダンプ要否
203 回収要否
204 状態
301〜305 系切替え処理の処理ステップ
401〜407 メモリ管理テーブル構築の処理ステップ
501〜507 メモリ回収処理の処理ステップ
601〜608 ダンプ採取・回収処理の処理ステップ
701〜781 系切替処理とダンプ採取・回収処理の手順
101 Virtual address space of
Claims (6)
前記メモリ領域を複数のメモリ管理単位に分割し、
前記メモリ管理単位のメモリ領域毎に、ダンプを採取するか否かのダンプ採取要否と、前記障害発生時に新たに切り替えられるOSの管理下に置くか否かを決めるメモリ回収要否と、を設定し、
前記障害発生時にOSを切り替えるとともに、前記メモリ管理単位でダンプ採取の否の領域を切替後のOSの管理下に置いて使用可能状態とする
ことを特徴とするOS切替方式。 A first system memory area used by a program including the first OS and a second memory area used by a program including the second OS are arranged on the memory of the computer system and are operating. An OS switching method for switching to the second OS or the first OS when a failure of the first OS or the second OS occurs.
Dividing the memory area into a plurality of memory management units;
Whether to collect dumps for each memory area of the memory management unit, whether to collect dumps, and whether to collect memory that determines whether to place under the management of an OS that is newly switched when the failure occurs Set,
The OS switching method, wherein the OS is switched when the failure occurs, and the dump collection rejection area is placed under the management of the OS after switching in the memory management unit.
前記ダンプ採取の要のメモリ領域を、記憶装置のダンプ保存領域にダンプ採取した後に切替後のOSの管理下に置いて使用可能状態とすることを特徴とするOS切替方式。 In claim 1,
An OS switching method characterized in that the memory area for dump collection is dumped into a dump storage area of a storage device and then placed under the management of the OS after switching to be usable.
前記ダンプ採取の要のメモリ領域を、前記メモリ管理単位でダンプ採取する度毎に前記メモリ回収の要否をもとに切替後のOSの管理下に置くか否かを選定する
ことを特徴とするOS切替方式。 In claim 2,
Selecting whether or not to place the memory area for dump collection under the management of the OS after switching based on the necessity of memory collection every time the dump is collected in the memory management unit. OS switching method.
前記稼働している第1のOSの障害発生時に前記第2のOSに切り替えられるとともに、前記第1のOSが使用していたメモリ領域に障害のない第1のOSを再ロードし、
いずれかのOSの障害発生時に前記第1と第2のOSを繰り返して使用する
ことを特徴とするOS切替方式。 In claim 1,
When a failure occurs in the first operating OS, the second OS is switched to, and the first OS without a failure is reloaded in the memory area used by the first OS,
An OS switching method characterized in that the first and second OSs are repeatedly used when any OS failure occurs.
前記稼働している第1のOSの障害発生時に前記第2のOSに切り替えられるとともに、前記第1のOSが使用していたメモリ領域に障害のない第3のOSをロードし、
前記第2のOSの障害発生時に前記第3のOSに切り替えて使用する
ことを特徴とするOS切替方式。 In claim 1,
When a failure occurs in the first operating OS, the second OS is switched to, and a memory region used by the first OS is loaded with a third OS that has no failure,
An OS switching method characterized by switching to the third OS when a failure occurs in the second OS.
前記メモリ領域は複数のメモリ管理単位に分割され、
前記メモリ管理単位のメモリ領域毎に、ダンプを採取するか否かのダンプ採取要否と、前記障害発生時に新たに切り替えられるOSの管理下に置くか否かを決めるメモリ回収要否と、が設定され、
稼働している前記第1のOSの障害発生時に代替の前記第2のOSに切り替え、
前記メモリ管理単位でダンプ採取の否の領域を前記第2のOSの管理下に置いて使用可能状態とし、
前記メモリ管理単位でダンプ採取の要のメモリ領域を、記憶装置のダンプ保存領域にダンプ採取した後に前記第2のOSの管理下に置いて使用可能状態とし、
前記第1のOSが使用していたメモリ領域に障害のない第1のOSを再ロードする
ことを特徴とするOS切替方法。 A first system memory area used by a program including a first OS and a second memory area used by a program including a second OS are arranged on a memory of the computer system, and the first OS And an OS switching method for switching the second OS when a failure occurs,
The memory area is divided into a plurality of memory management units,
For each memory area of the memory management unit, whether or not to collect a dump, whether to collect a dump, and whether or not to collect a memory that determines whether to place under the management of an OS that is newly switched when the failure occurs Set,
Switch to the alternative second OS when a failure occurs in the first operating OS;
Place the dump collection rejection area in the memory management unit under the management of the second OS and make it usable.
A memory area that is essential for dump collection in the memory management unit is dumped in a dump storage area of a storage device and then placed under the management of the second OS to be usable.
An OS switching method, comprising: reloading a first OS that has no failure in a memory area used by the first OS.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004363097A JP2006172100A (en) | 2004-12-15 | 2004-12-15 | High-speed changeover method for operating system and method therefor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004363097A JP2006172100A (en) | 2004-12-15 | 2004-12-15 | High-speed changeover method for operating system and method therefor |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006172100A true JP2006172100A (en) | 2006-06-29 |
Family
ID=36672795
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004363097A Pending JP2006172100A (en) | 2004-12-15 | 2004-12-15 | High-speed changeover method for operating system and method therefor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006172100A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008114395A1 (en) * | 2007-03-19 | 2008-09-25 | Fujitsu Limited | Virtual computer dump sampling program, damp sampling system, and dump sampling method |
WO2012090290A1 (en) * | 2010-12-27 | 2012-07-05 | 富士通株式会社 | Information processing device having memory dump function, memory dump method, and memory dump program |
WO2013136457A1 (en) * | 2012-03-13 | 2013-09-19 | 富士通株式会社 | Virtual computer system, information storage processing program and information storage processing method |
US8583960B2 (en) | 2010-07-06 | 2013-11-12 | Mitsubishi Electric Corporation | Processor device and program |
JP2014006676A (en) * | 2012-06-22 | 2014-01-16 | Fujitsu Ltd | Information processing device including memory dump function, memory dump method, and memory dump program |
WO2014196083A1 (en) * | 2013-06-07 | 2014-12-11 | 三菱電機株式会社 | Computer system and control method |
US8990630B2 (en) | 2009-07-10 | 2015-03-24 | Fujitsu Limited | Server having memory dump function and memory dump acquisition method |
JP2017062841A (en) * | 2016-11-30 | 2017-03-30 | 富士通株式会社 | Information processing device having memory dump function |
JP2018013859A (en) * | 2016-07-19 | 2018-01-25 | 富士通株式会社 | Information processing device, information processing method, and program |
-
2004
- 2004-12-15 JP JP2004363097A patent/JP2006172100A/en active Pending
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8719639B2 (en) | 2007-03-19 | 2014-05-06 | Fujitsu Limited | Virtual machine control program, virtual machine control system, and dump capturing method |
WO2008114395A1 (en) * | 2007-03-19 | 2008-09-25 | Fujitsu Limited | Virtual computer dump sampling program, damp sampling system, and dump sampling method |
US8990630B2 (en) | 2009-07-10 | 2015-03-24 | Fujitsu Limited | Server having memory dump function and memory dump acquisition method |
US8583960B2 (en) | 2010-07-06 | 2013-11-12 | Mitsubishi Electric Corporation | Processor device and program |
JPWO2012090290A1 (en) * | 2010-12-27 | 2014-06-05 | 富士通株式会社 | Information processing apparatus having memory dump function, memory dump method, and memory dump program |
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 |
WO2013136457A1 (en) * | 2012-03-13 | 2013-09-19 | 富士通株式会社 | Virtual computer system, information storage processing program and information storage processing method |
JP2014006676A (en) * | 2012-06-22 | 2014-01-16 | Fujitsu Ltd | Information processing device including memory dump function, memory dump method, and memory dump program |
US9229820B2 (en) | 2012-06-22 | 2016-01-05 | Fujitsu Limited | Information processing device with memory dump function, memory dump method, and recording medium |
WO2014196083A1 (en) * | 2013-06-07 | 2014-12-11 | 三菱電機株式会社 | Computer system and control method |
JP5996110B2 (en) * | 2013-06-07 | 2016-09-21 | 三菱電機株式会社 | Computer system and control method |
US9880888B2 (en) | 2013-06-07 | 2018-01-30 | Mitsubishi Electric Corporation | Executing an operating system in a multiprocessor computer system |
JP2018013859A (en) * | 2016-07-19 | 2018-01-25 | 富士通株式会社 | Information processing device, information processing method, and program |
JP2017062841A (en) * | 2016-11-30 | 2017-03-30 | 富士通株式会社 | Information processing device having memory dump function |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5021190B2 (en) | Memory dump generation with fast restart | |
JP5212360B2 (en) | Control program, control system, and control method | |
US20050204107A1 (en) | Method and apparatus for dumping memory | |
JP2011164968A (en) | Method of accelerating access to primary storage and storage system | |
CN110704161B (en) | Virtual machine creation method and device and computer equipment | |
TW201447575A (en) | Non-volatile memory write mechanism | |
US20080195836A1 (en) | Method or Apparatus for Storing Data in a Computer System | |
JP2007133544A (en) | Failure information analysis method and its implementation device | |
JP2006172100A (en) | High-speed changeover method for operating system and method therefor | |
JP4322240B2 (en) | Reboot method, system and program | |
JP5057887B2 (en) | Data update device, data update method, and data update program | |
JP2015114750A (en) | Examination program, information processing device, and information processing method | |
JP2004102395A (en) | Method for acquiring memory dump data and information processor and its program | |
CN111858116A (en) | Information recording method, device, equipment and readable storage medium | |
CN111597066A (en) | SSD (solid State disk) repairing method and device, computer equipment and storage medium | |
JP6079777B2 (en) | Management device, data acquisition method, and data acquisition program | |
KR102123701B1 (en) | Network boot system | |
US8095784B2 (en) | Computer system and method for activating basic program therein | |
JP6080492B2 (en) | Information processing apparatus, activation method, and program | |
JP2004280140A (en) | Memory dump executing system, method, and program | |
JP2007164392A (en) | Computer | |
JP6287055B2 (en) | Information processing apparatus, information collection method, and information collection program | |
CN107368315A (en) | A kind of startup method and device of double hard disk dual systems | |
JP2018013859A (en) | Information processing device, information processing method, and program | |
JP2016170463A (en) | Information processing device, kernel dump method, and kernel dump program |