JPH0728632A - Automatic replacing method for operating system and computer system utilizing the same - Google Patents

Automatic replacing method for operating system and computer system utilizing the same

Info

Publication number
JPH0728632A
JPH0728632A JP5170098A JP17009893A JPH0728632A JP H0728632 A JPH0728632 A JP H0728632A JP 5170098 A JP5170098 A JP 5170098A JP 17009893 A JP17009893 A JP 17009893A JP H0728632 A JPH0728632 A JP H0728632A
Authority
JP
Japan
Prior art keywords
new
storage device
automatically
operating system
computer system
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
JP5170098A
Other languages
Japanese (ja)
Other versions
JP3048792B2 (en
Inventor
Tsukasa Kobayashi
司 小林
Shigeru Ogawa
茂 小川
Koji Kobayashi
浩二 小林
Shinya Kashimura
伸哉 樫村
Hajime Fujimoto
肇 藤本
Teruyuki Yasunaga
輝幸 安永
Shigenori Kaneko
茂則 金子
Shuji Nishiyama
修治 西山
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
Hitachi Information and Control Systems Inc
Original Assignee
Hitachi Ltd
Hitachi Process Computer Engineering Inc
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, Hitachi Process Computer Engineering Inc filed Critical Hitachi Ltd
Priority to JP5170098A priority Critical patent/JP3048792B2/en
Publication of JPH0728632A publication Critical patent/JPH0728632A/en
Application granted granted Critical
Publication of JP3048792B2 publication Critical patent/JP3048792B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To reduce the burden on an operator and to improve the maintainability of the computer system by automatically performing the OS replacement and management of the computer system. CONSTITUTION:The computer system which has a data transfer function is used between a main storage device 118 and an auxiliary storage device 102 and the auxiliary storage device 102 is equipped with an OS storage area 103 for storing plural OSs 104-107 including a new OS and a current OS so as to automatically replace the operating system of the computer system. The main storage device 118, on the other hand, is equipped with a loading means 110 which loads one of the OSs 104-107 as an OS controlling the computer system and a management table 108 which manages the OSs 104-107 stored in the auxiliary storage device. When the new OS is installed, the main storage device 118 automatically generate the new OS, stores the new OS in the OS storage area of the auxiliary storage device 120, and also registers its address in the management table 108 at the same time.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は計算機システムの動作を
制御するオペレーティングシステムに関し、特に、かか
るオペレーティングシステムを自動的に入れ替えること
の可能なオペレーティングシステム自動入れ替え方法、
及び、かかる方法を利用してオペレーティングシステム
の自動入れ替えが可能な計算機システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an operating system for controlling the operation of a computer system, and more particularly to an operating system automatic replacing method capable of automatically replacing such operating system,
Also, the present invention relates to a computer system in which an operating system can be automatically replaced by using such a method.

【0002】[0002]

【従来の技術】計算機システムは、近年、その演算能力
や記憶容量の大幅な増大に伴い、その能力を著しく向上
してきている。これに伴い、かかる計算機システムの動
作を制御するオペレーティングシステム(以下、単にO
Sと称する)や、これにより実行されるアプリケーショ
ンなどのソフトウェアも、年々その版数の更新(いわゆ
る、バージョンアップ)が行われている。
2. Description of the Related Art In recent years, a computer system has been remarkably improved in performance with a great increase in its computing power and storage capacity. Along with this, an operating system (hereinafter simply referred to as “O”) that controls the operation of the computer system.
The version number of software such as S) and applications executed thereby is updated (so-called version upgrade) year by year.

【0003】かかるソフトウェアの版数の更新に関し、
例えば特開昭62−100834号公報によれば、実行
プログラム全体で1個の版数だけが付与されるプログラ
ム構成において、その構成モジュール中の、新版数のプ
ログラムを作成する際に何らかの原因で混入した古いモ
ジュールを検出するものが知られている。これは、実行
プログラムの置換時に新プログラムの構成モジュールの
版数が旧プログラム内の対応モジュールの版数よりも古
くなっていないことをチェックすることにより、プログ
ラムの改版時に誤ってプログラムの一部が旧版に戻って
しまうのを防止するためのものである。
Regarding the update of the version number of such software,
For example, according to Japanese Patent Laid-Open No. 62-100834, in a program configuration in which only one version number is given to the entire execution program, it is mixed for some reason when creating a new version number program in the configuration module. It is known to detect old modules that have been deleted. This is because by checking that the version number of the module that composes the new program is not older than the version number of the corresponding module in the old program when replacing the execution program, some of the program may be erroneously deleted when the program is revised. This is to prevent you from going back to the old version.

【0004】また、特開平1−217520号公報によ
れば、特にシステムの立上げに際し、システム立上げ前
の情報処理システムの内部状態を読み出して採取してお
くシステム立上げ方式が知られている。すなわち、この
方式では、従来技術における人手によって行なう必要が
あった各装置の状態のダンプ出力やログアウトの操作
を、立上げ時の時間不足や操作ミスにより忘れ、これら
重要なダンプ出力やログアウトの採取忘れを補うもので
ある。
Further, according to Japanese Patent Application Laid-Open No. 1-217520, there is known a system start-up method in which the internal state of the information processing system before system start-up is read out and sampled especially at system start-up. . In other words, in this method, the dump output and logout operations of the state of each device, which had to be performed manually in the prior art, are forgotten due to insufficient time at startup or operation mistakes, and these important dump outputs and logouts are collected. It is a supplement to forgetfulness.

【0005】さらに、特開平3−204723号公報に
よれば、特に電子交換システムにおけるプログラム入れ
替えに適合した方式が開示されている。すなわち、この
プログラム入れ替え方式によれば、電子交換システムの
ように長期に渡って使用されるシステムにおいて、要求
されるサービス仕様に対応して追加/変更が加えられる
プログラムを、特に新旧プログラム間でデータ構造が異
なる場合にも、通話中の呼を救済してプログラム入れ替
えを行うことが可能となる。
Further, Japanese Patent Application Laid-Open No. 3-204723 discloses a method particularly suited for program replacement in an electronic exchange system. That is, according to this program replacement method, in a system that is used for a long period of time such as an electronic exchange system, a program to be added / changed in accordance with required service specifications, especially data between old and new programs, Even if the structure is different, it is possible to replace the call during the call and replace the program.

【0006】[0006]

【課題を解決するための手段】上記の従来技術は、しか
しながら、バージョンの異なるアプリケーション等の入
れ替え作業についての一部分の自動化を図ってはいるも
のの、複数種のソフトウェアレパートリーを取捨選択す
ることが出来る計算機システムにおけるOSの入れ替え
については、何等の示唆をも示してはいないのが現状で
あった。
The above-mentioned prior art, however, is a computer capable of selecting a plurality of types of software repertoires, although it is intended to partially automate the replacement work of applications of different versions. The current situation is that there is no suggestion of replacing the OS in the system.

【0007】上記の従来技術においても、なお、複数種
のソフトウェアレパートリーを取捨選択することが出来
る計算機システムにおけるOSのインストールと入れ替
え(交換)と拡張(追加)は、手順が複雑でかつそれぞ
れ異なっており、そのため、OSの入れ替えには、熟練
者によるによる操作が必要であった。すなわち、OSの
バージョンアップ等で現在ユーザが使用しているOSを
入れ替える場合、事前準備としてユーザが磁気テープな
どの現OSのバックアップを取り、その後、磁気テープ
などに既に準備されているメーカ提供のOSをインスト
ールする。すると、ユーザのシステムにインストールさ
れているプログラムパッケージや、そのシステム固有の
構成情報に応じて、最適なOSを自動生成し、現OSの
格納領域に新しく生成したOSを上塗りして保存するこ
とが行われる。その後、現システムを停止して、生成さ
れた新OS新によって立上げ処理を行うが、万一、新O
Sに障害が生じて立上げに失敗した場合は、事前に保存
していた実績のある現OSをもう一度インストールし直
して、システムを立上げ直すことが行われていた。
Even in the above-mentioned prior art, the OS installation, replacement (exchange) and expansion (addition) in a computer system capable of selecting a plurality of types of software repertoires are complicated and different from each other. Therefore, replacement of the OS requires an operation by an expert. That is, when the OS currently used by the user is replaced by upgrading the OS or the like, the user makes a backup of the current OS such as a magnetic tape as a preliminary preparation, and then prepares the magnetic tape or the like provided by the manufacturer. Install the OS. Then, the optimum OS is automatically generated according to the program package installed in the user's system and the configuration information unique to the system, and the newly generated OS may be overpainted and stored in the storage area of the current OS. Done. After that, the current system is stopped, and the startup process is performed by the new OS that was created.
If the S fails and the startup fails, the current OS that has been saved in advance and has been installed again is installed again to restart the system.

【0008】すなわち、上記の従来技術では、OSのバ
ージョンアップのためにOSの入れ替えを行う際に、新
OS内に含むバグやシステムとのアンマッチなどの原因
によりシステムの停止に陥った場合、インストールした
新OSを、上記の磁気テープなどに保存しておいた現在
まで使用していた現OSに戻す作業を行わなければなら
ず、そのため、OS管理、復旧作業などにおいてユーザ
の誤操作や不適切な判断が介入する余地が存在してお
り、また、復旧作業に伴うシステムの停止時間が増大す
るという問題点があった。
That is, in the above-mentioned conventional technique, when the OS is replaced for the purpose of upgrading the OS, if the system is stopped due to a bug included in the new OS or a mismatch with the system, installation is performed. The new OS has to be restored to the current OS that has been used up to now, which has been saved on the magnetic tape or the like, and therefore, the user's erroneous operation or improper operation in OS management or recovery work must be performed. There is a room for judgment to intervene, and there is a problem that the system down time increases due to the restoration work.

【0009】そこで、本発明では、上記の従来技術に鑑
み、計算機システムにおけるOSのインストールと入れ
替え及びOS管理を自動的に行い、もって、ユーザの誤
操作や不適切な判断が介入する余地のない、オペレーテ
ィングシステムの自動入れ替え方法を提供するととも
に、これを利用してその保守性を向上することの可能な
計算機システムを提供することを目的とする。
Therefore, in view of the above-mentioned conventional technique, the present invention automatically installs and replaces the OS in the computer system and manages the OS, so that there is no room for the user's erroneous operation or inappropriate judgment to intervene. An object of the present invention is to provide a computer system capable of improving the maintainability by using the method of automatically replacing the operating system.

【0010】また、本発明によれば、上記のOSの自動
入れ替えの際に自己の動作を確認し、特にオンライン動
作中でのシステム動作の停止を防止することの可能なオ
ペレーティングシステムの自動入れ替え方法とそれを利
用した計算機システムを提供することを目的とする。
Further, according to the present invention, a method of automatically replacing an operating system, which is capable of confirming its own operation at the time of automatically replacing the above-mentioned OS and preventing the system operation from being stopped particularly during online operation And to provide a computer system using it.

【0011】さらに、本発明によれば、前記の自己動作
の確認により異常が検出された場合には自動的に旧OS
に復旧する同時に、その復旧時間の短縮を図ることの可
能なオペレーティングシステムの自動入れ替え方法とそ
れを利用した計算機システムを提供することを目的とす
る。
Further, according to the present invention, when an abnormality is detected by the confirmation of the self-operation, the old OS is automatically
It is an object of the present invention to provide a method for automatically replacing an operating system and a computer system using the method, which can reduce the recovery time at the same time.

【0012】最後に、本発明によれば、上記自己動作の
確認により異常が検出された場合には、その異常を後に
詳細に分析して原因の解明を可能にすることにより保守
性の優れたオペレーティングシステムの自動入れ替え方
法とそれを利用した計算機システムを提供することを目
的とする。
Finally, according to the present invention, when an abnormality is detected by confirming the above-mentioned self-operation, the abnormality is analyzed in detail later to make it possible to elucidate the cause, so that the maintainability is excellent. An object is to provide a method of automatically replacing an operating system and a computer system using the method.

【0013】[0013]

【課題を解決するための手段】上記の目的を達成するた
め、本発明によれば、少なくとも演算処理装置と、主記
憶装置と、補助記憶装置とを備え、前記主記憶装置と前
記補助記憶装置との間にデータ転送機能を有する計算機
システムにおいて、オペレーティングシステムを自動的
に入れ替えることの可能なオペレーティングシステムの
自動入れ替え方法は、新OSのインストールに続いて、
当該新OSを自動的に生成し、この自動生成した新OS
を前記補助記憶装置のOS格納領域内へ格納し、かつ、
前記主記憶装置上の管理テーブルへ当該新OSが格納さ
れた前記補助記憶装置上のアドレスを登録するオペレー
ティングシステムの自動入れ替え方法が提案されてい
る。
In order to achieve the above object, according to the present invention, at least an arithmetic processing unit, a main storage unit, and an auxiliary storage unit are provided, and the main storage unit and the auxiliary storage unit are provided. In a computer system having a data transfer function between and, an automatic operating system replacement method capable of automatically replacing the operating system is
The new OS is automatically generated, and the new OS automatically generated
Is stored in the OS storage area of the auxiliary storage device, and
A method of automatically replacing an operating system has been proposed in which an address on the auxiliary storage device in which the new OS is stored is registered in a management table on the main storage device.

【0014】また、上記の目的を達成するため、オペレ
ーティングシステムを自動的に入れ替えることの可能な
計算機システムであって、少なくとも、演算処理装置
と、主記憶装置と、補助記憶装置とを備え、かつ、前記
主記憶装置と前記補助記憶装置との間にデータ転送機能
を有する計算機システムにおいて、前記補助記憶装置
は、新OS及び現OSを含む複数のOSを格納するため
のOS格納領域を備え、かつ、前記主記憶装置は前記補
助記憶装置のOS格納領域に格納されたOSをローディ
ングする手段を有すると共に、前記補助記憶装置のOS
格納領域に格納されたOSを管理するための管理テーブ
ルを備えている計算機システムが提案されている。
Further, in order to achieve the above object, a computer system capable of automatically replacing an operating system with at least an arithmetic processing unit, a main storage unit and an auxiliary storage unit, and In a computer system having a data transfer function between the main storage device and the auxiliary storage device, the auxiliary storage device includes an OS storage area for storing a plurality of OSs including a new OS and a current OS, Further, the main storage device has means for loading an OS stored in the OS storage area of the auxiliary storage device, and the OS of the auxiliary storage device.
There has been proposed a computer system including a management table for managing an OS stored in a storage area.

【0015】また、他の本発明の目的を達成するため、
上述のオペレーティングシステムの自動入れ替え方法及
びそれを利用した計算機システムにおいて、さらに、自
己診断機能を行うものが提案されている。
In order to achieve another object of the present invention,
In the above-described automatic replacement method of operating system and the computer system using the same, there has been proposed one that further performs a self-diagnosis function.

【0016】さらに、他の本発明の目的を達成するた
め、上述のオペレーティングシステムの自動入れ替え方
法及びそれを利用した計算機システムにおいて、いわゆ
る復旧処理を行うものが提案されている。
Further, in order to achieve another object of the present invention, there has been proposed a method for performing so-called restoration processing in the above-described automatic replacement method of operating system and computer system using the same.

【0017】加えるに、さらに他の本発明の目的を達成
するため、上述のオペレーティングシステムの自動入れ
替え方法及びそれを利用した計算機システムにおいて、
前記自己診断機能による診断結果を格納するようにした
ものが提案されている。
In addition, in order to achieve still another object of the present invention, in the above-described method for automatically replacing an operating system and a computer system using the same,
It is proposed to store the diagnosis result by the self-diagnosis function.

【0018】[0018]

【作用】すなわち、上記の本発明のオペレーティングシ
ステムの自動入れ替え方法及びそれを利用した計算機シ
ステムによれば、インストールされた新OSを含む複数
のOSを補助記憶装置のOS格納領域に格納すると同時
に、主記憶装置にはそれら複数のOSを管理する管理テ
ーブルを設けることにより、いわゆる世代管理機能を行
って、ユーザの誤操作や不適切な判断が介入する余地の
ないオペレーティングシステムの自動入れ替え方法と、
これを利用し、計算機システムの保守性を向上すること
が可能となる。
That is, according to the method of automatically replacing the operating system of the present invention and the computer system using the same, a plurality of OSs including the installed new OS are stored in the OS storage area of the auxiliary storage device, and at the same time. By providing a management table for managing the plurality of OSs in the main storage device, a so-called generation management function is performed, and there is no room for intervention by a user's erroneous operation or improper judgment.
By utilizing this, it becomes possible to improve the maintainability of the computer system.

【0019】また、さらに、インストールされた新OS
の自己診断機能を行うことにより、現OSを新OSに自
動で入れ替える際、新OSによりシステムを立上げる前
に、バグ等の障害やシステムとのマッチングを確認する
ことにより、未然に欠陥のある新OSでの計算機システ
ムの動作を防止することが可能になることから、欠陥の
ある新OSによるオンライン動作中でのシステム動作の
停止を防止することが可能になる。
Furthermore, a new OS installed
By automatically performing the self-diagnosis function of the new OS, when the current OS is automatically replaced with the new OS, a fault such as a bug or the like and the matching with the system are confirmed before the system is started up by the new OS, so that there is a defect. Since it is possible to prevent the computer system from operating in the new OS, it is possible to prevent the system operation from being stopped during the online operation by the defective new OS.

【0020】さらに、上述のオペレーティングシステム
の自動入れ替え方法及びそれを利用した計算機システム
において、いわゆる復旧処理を自動的に行うものを提案
することにより、上記自己診断の結果、欠陥のある新O
Sであることがわかった場合の処理、すなわち、新OS
に代えて、実績のある現OSへの復帰を自動的に行うこ
とにより、上記と同様に、ユーザの誤操作や不適切な判
断が介入する余地のないオペレーティングシステムの自
動入れ替え方法と、これを利用して計算機システムの保
守性を向上することが可能になる。
Further, by proposing a method for automatically performing so-called restoration processing in the above-mentioned automatic replacement method of operating system and the computer system using the same, as a result of the self-diagnosis, a new defective O
Processing when it is found to be S, that is, new OS
In place of the above, by automatically performing a return to the proven current OS, as in the above, there is no room for user's erroneous operation or improper judgment to intervene, and a method for automatically replacing the operating system is used. Therefore, the maintainability of the computer system can be improved.

【0021】最後に、上記新OSの自己診断結果を、特
に当該新OSに欠陥があると判断された場合に、自動的
に保存するようにしたことにより、ユーザの誤操作や不
適切な判断により記録を忘れてしまうことなく、確実に
事後の当該新OSの欠陥原因の分析や解明に利用するこ
とを可能にすることにより、保守性の優れたオペレーテ
ィングシステムの自動入れ替え方法とそれを利用した計
算機システムを提供することが可能になる。
Finally, the self-diagnosis result of the new OS is automatically saved, especially when it is determined that the new OS is defective, so that the user's erroneous operation or improper judgment may result. A method for automatically replacing an operating system with excellent maintainability and a computer using the same, by making it possible to use it for the subsequent analysis and elucidation of the cause of defects in the new OS without forgetting the records. It becomes possible to provide the system.

【0022】[0022]

【実施例】以下、本発明の実施例について、添付の図面
を参照しながら詳細に説明する。まず、図1には、本発
明のオペレーティングシステムの自動入れ替え方法を利
用する計算機システムの全体構成の概要が示されてい
る。すなわち、この計算機システムは、基本的には、中
央演算装置(CPU)101と、補助記憶装置102
と、主記憶装置118とから構成されている。これら補
助記憶装置102と主記憶装置118との間には、デー
タ転送機能が設けられており、また、この図中には示さ
れていないが、この計算機システムには、さらに、CP
U101からの処理内容や入出力など表示するための、
例えばCRT等から構成される表示装置、あるいは、オ
ペレータからの指令を入力するための、例えばキーボー
ドやマウスなどの入力装置も含まれている。
Embodiments of the present invention will now be described in detail with reference to the accompanying drawings. First, FIG. 1 shows an outline of the overall configuration of a computer system that utilizes the automatic operating system replacement method of the present invention. That is, this computer system basically has a central processing unit (CPU) 101 and an auxiliary storage device 102.
And a main storage device 118. A data transfer function is provided between the auxiliary storage device 102 and the main storage device 118, and although not shown in this figure, the computer system further includes a CP.
To display the processing contents and input / output from U101,
For example, a display device including a CRT or the like, or an input device such as a keyboard or a mouse for inputting a command from an operator is also included.

【0023】上記の補助記憶装置102は、その記憶領
域内にOS格納領域103を備えており、さらに、新O
Sを格納するための新OS格納領域104、現OSを格
納するための現OS格納領域105、旧OSを格納する
ための旧OS格納領域106、そして、診断用OSを格
納するための診断用OS格納領域107を備えている。
また、上記の補助記憶装置102は、例えばハードディ
スクなどの記憶媒体により、後に詳細に説明する主記憶
装置とは個別に分離して構成されている。
The auxiliary storage device 102 is provided with an OS storage area 103 in its storage area, and a new O
New OS storage area 104 for storing S, current OS storage area 105 for storing current OS, old OS storage area 106 for storing old OS, and diagnostic OS for storing diagnostic OS The OS storage area 107 is provided.
The auxiliary storage device 102 is configured by a storage medium, such as a hard disk, separately from a main storage device described in detail later.

【0024】主記憶装置115は、新OS、現OS及び
旧OSの上記補助記憶装置102内におけるアドレスを
記憶するための管理テーブル108と、新OSを診断し
てローディングすべきか否かを判断するための自己診断
開始フラグ109と、上記補助記憶装置102内に格納
されている新OS、現OS及び旧OSの中から上記主記
憶装置118内にOSをローディングするためのOSロ
ーディング手段110と、前記OSローディング手段1
10の働きによって計算機システムを制御するためのO
Sを格納するためのOS格納領域112とを備えてい
る。この主記憶装置115は、さらに、システムにロー
ディングするOSを診断してローディングすべきか否か
を判断するための自己診断プログラム113と、上記自
己診断プログラム113により異常が検出された場合に
OSを元のOSに復旧するための復旧処理プログラム1
14と、OSの入れ替えを実行するするためのOS入れ
替えプログラム115と、OSの入れ替えに伴って新た
なOSを生成するための新OS生成サブプログラム11
6と、さらに、OSを管理するためのOS管理プログラ
ム117が格納されて構成されている。また、上記OS
ローディング手段110は、自己診断開始フラグを検出
するための自己診断開始フラグ検出手段111を内部に
備えている。
The main storage device 115 stores a management table 108 for storing the addresses of the new OS, the current OS and the old OS in the auxiliary storage device 102, and diagnoses the new OS to determine whether or not it should be loaded. A self-diagnosis start flag 109 for loading the OS, an OS loading unit 110 for loading an OS into the main memory 118 from the new OS, the current OS and the old OS stored in the auxiliary memory 102, The OS loading means 1
O for controlling the computer system by the function of 10
An OS storage area 112 for storing S is provided. The main storage device 115 further includes a self-diagnosis program 113 for diagnosing the OS loaded in the system to determine whether or not the OS should be loaded, and an OS based on the OS when the self-diagnosis program 113 detects an abnormality. Recovery processing program 1 for recovering to other OS
14, an OS replacement program 115 for executing the OS replacement, and a new OS generation subprogram 11 for generating a new OS accompanying the OS replacement
6 and an OS management program 117 for managing the OS. Also, the above OS
The loading means 110 is internally provided with a self-diagnosis start flag detecting means 111 for detecting the self-diagnosis start flag.

【0025】続いて、上記構成からなる計算機システム
における本発明のオペレーティングシステムの自動入れ
替え方法について、図2の本発明のフローチャートを参
照すると同時に、図6に示す従来技術のオペレーティン
グシステムの自動入れ替え方法をも参照しながら、これ
らを比較することにより詳細に説明する。
Next, regarding the automatic replacement method of the operating system of the present invention in the computer system having the above-mentioned configuration, referring to the flowchart of the present invention of FIG. 2, at the same time, the automatic replacement method of the conventional operating system shown in FIG. It will be described in detail by comparing these with reference to.

【0026】まず、従来のOS入れ替え作業において
は、図6に示すように、ユーザは事前に補助記憶装置上
の現OSのバックアップを取っておき(201)、その
後、OSをインストールする(202)。そして、従来
は、新OS生成サブプログラムをオペレータ(ユーザ)
が手動で起動して新OSを生成し(203)、現OS格
納領域に新OSを上塗りして保存することが行われてい
た。そのため、現OSのバックアップはユーザの意識に
任されており、かつ、その入れ替え作業中にオペレータ
(ユーザ)の誤操作や誤判断が介入する余地があった。
First, in the conventional OS replacement work, as shown in FIG. 6, the user makes a backup of the current OS on the auxiliary storage device in advance (201), and then installs the OS (202). And conventionally, the new OS generation subprogram is operated by the operator (user).
Was manually started to generate a new OS (203), and the new OS was overpainted and saved in the current OS storage area. Therefore, the backup of the current OS is left to the consciousness of the user, and there is a room for an erroneous operation or an erroneous judgment of the operator (user) to intervene during the replacement work.

【0027】これに対し、本発明の計算機システムによ
れば、図2に示すように、その主記憶装置118上に
は、OS入れ替えプログラム115と新OS生成サブプ
ログラム116が格納されており、かつ、補助記憶装置
102上には、複数のOS(すなわち、新OS、現O
S、旧OS)を格納することが可能なOS格納領域10
3が設けられている。そのため、本発明のOS入れ替え
のフローチャートでは、図2に示すように、まず、ユー
ザによってOSのインストールが行われると(30
1)、その時点で、上記主記憶装置118上のOS入れ
替えプログラム115が働き、これにより、やはり上記
主記憶装置118上の新OS生成サブプログラム116
を起動する(303)。その後、主記憶装置118上の
新OSを、補助記憶装置102上の新OS格納領域10
4へ保存することとなる(304)。以上の2つのステ
ップ(303)と(304)を併せて、本発明では、こ
れを世代管理機能(302a)と称する。
On the other hand, according to the computer system of the present invention, as shown in FIG. 2, the OS replacement program 115 and the new OS generation subprogram 116 are stored in the main memory 118, and , A plurality of OSs (that is, a new OS and a current OS) on the auxiliary storage device 102.
OS storage area 10 capable of storing (S, old OS)
3 is provided. Therefore, in the OS replacement flowchart of the present invention, as shown in FIG. 2, first, when the OS is installed by the user (30
1) At that point, the OS replacement program 115 on the main storage device 118 operates, and as a result, the new OS generation subprogram 116 on the main storage device 118 also operates.
Is started (303). After that, the new OS on the main storage device 118 is stored in the new OS storage area 10 on the auxiliary storage device 102.
4 will be stored (304). In the present invention, the above two steps (303) and (304) are collectively referred to as a generation management function (302a).

【0028】このように、上記世代管理機能(302
a)では、新OSの自動生成と、同時に、現OSも自動
的に補助記憶装置102上に保存されることから、従来
のように現OSのバックアップをユーザが意識して取っ
ておく必要がなくなる。また、ユーザは新OS生成サブ
プログラム116を手動で起動する必要もなくなり、こ
れによりオペレータ(ユーザ)の誤操作や誤判断による
危険性も低減されることとなる。
As described above, the generation management function (302
In a), since the new OS is automatically generated and the current OS is automatically saved in the auxiliary storage device 102 at the same time, it is necessary for the user to be aware of the backup of the current OS as in the conventional case. Disappear. In addition, the user does not need to manually start the new OS generation subprogram 116, which reduces the risk of an erroneous operation by the operator (user) or an erroneous judgment.

【0029】ここで再び図6の従来のOS入れ替え作業
に戻り、従来は、新OSの現OS格納領域105上への
上塗保存の後は、手動入力により、生成した新OSにて
立上げを開始することとなるが(205)、この場合、
この新OSがシステムとマッチするか否かの保証のない
ままシステムに投入していた。そのため、万一、障害が
発生した場合(206)には、上記のステップ(20
1)でバックアップを取っておいた実績のある現OSに
て手動で再立上げ(207)を行って、再度、オンライ
ンを開始(208)しなければならず、ここでも、やは
りオペレータの誤操作や誤判断が介在する余地があっ
た。
Now, returning to the conventional OS replacement work shown in FIG. 6, conventionally, after saving the overcoat on the current OS storage area 105 of the new OS, the new OS generated is started up by manual input. It will start (205), but in this case,
The new OS was put into the system without any guarantee that it would match the system. Therefore, in the unlikely event that a failure occurs (206), the above steps (20)
In the current OS that has been backed up in 1), it is necessary to manually restart (207) and start online again (208) in the existing OS, and again, due to erroneous operation by the operator, There was room for misjudgment.

【0030】再び図1に戻り、本発明のOS入れ替え方
法では、上述した世代管理機能(302a)に続いて、
上記主記憶装置118上に設けられ、そして、動作確認
の有効性を示す自己診断開始フラグ109と、OSロー
ディング手段110と、その内部に設けられた自己診断
開始フラグ検出手段111と、OS格納領域112と、
さらに、自己診断プログラム113などの働きにより、
自動的に自己診断を行う自己診断機能を行わせるように
している。すなわち、上記の世代管理機能302aにお
ける新OSの自動生成(303)と現OSの保存(30
4)に続いて、新OSの自己診断プログラム113を起
動させて自己診断開始フラグ119をオン状態にし(3
05)、新OSがシステムとマッチするか否かの自己診
断を行う(306)。すなわち、自己の動作確認の有効
性を示すため、自己診断開始フラグ109をオンにす
る。
Returning to FIG. 1 again, in the OS replacement method of the present invention, following the generation management function (302a) described above,
A self-diagnosis start flag 109 provided on the main storage device 118 and indicating the effectiveness of operation confirmation, an OS loading means 110, a self-diagnosis start flag detection means 111 provided therein, and an OS storage area. 112,
Furthermore, by the function of the self-diagnosis program 113, etc.,
The self-diagnosis function that automatically performs self-diagnosis is performed. That is, the generation management function 302a automatically generates a new OS (303) and saves the current OS (30).
4), the self-diagnosis program 113 of the new OS is activated to turn on the self-diagnosis start flag 119 (3
05), self-diagnosis of whether or not the new OS matches the system (306). That is, the self-diagnosis start flag 109 is turned on to show the effectiveness of the self-operation confirmation.

【0031】この自己診断の結果、問題がない(OK)
と判断された場合には、新OSの立上げを続行する(3
07)。一方、新OSがシステムと何等かの問題がある
場合には(NG)、フローは新OSの立上げを打ち切る
(309)。このように、本発明のOS入れ替え方法で
は、自己診断機能を備えたことにより、高い信頼性で新
OSをオンライン上のシステムに投入することが可能に
なる。また、上記の新OSの立上げを続行するステップ
(307)では、主記憶装置118のOSローディング
手段110が管理テーブル108内から新OSの名称を
検索し、発見したら、次に、補助記憶装置102上のア
ドレスを読み込んで、主記憶装置118上のOS格納領
域112へ新OSをローディングする。このため、新O
Sによって立上げを開始する命令についても、従来のよ
うにオペレータが指示する必要がなく、自動的に行わ
れ、オペレータの誤操作や誤判断が介在する余地がなく
なり、危険性が低減されることとなる。
As a result of this self-diagnosis, there is no problem (OK).
If it is determined that the new OS is started up (3
07). On the other hand, if the new OS has some problem with the system (NG), the flow terminates the startup of the new OS (309). As described above, since the OS replacement method of the present invention has the self-diagnosis function, the new OS can be loaded into the online system with high reliability. Further, in the step (307) of continuing the startup of the new OS, the OS loading means 110 of the main storage device 118 searches the management table 108 for the name of the new OS, and if found, then the auxiliary storage device. The address on 102 is read, and the new OS is loaded into the OS storage area 112 on the main memory 118. Therefore, the new O
The instruction to start the start-up by S does not need to be instructed by the operator as in the conventional case, but is automatically performed, and there is no room for operator's erroneous operation or misjudgment, and the risk is reduced. Become.

【0032】その後、新OSでの立上げ続行のステップ
(307)によって新OSでの立上げが成功すると、主
記憶装置118のOS管理プログラム117が起動して
管理テーブル108のOS名称のみを変更する。すなわ
ち、現OSを旧OSへ、そして、新OSを現OSへと変
更する(308)。この場合、管理テーブル108内の
アドレスは変更しないことから、立上げ成功以前は、補
助記憶装置102内の新OS格納領域104に入ってい
たものは新OSであったが、今後は、現OSが格納され
ている現OS格納領域となる。これも、上記補助記憶装
置102上に複数のOSを格納するOS格納領域103
を設けたことにより、ユーザのOS管理の面での負担を
軽減することになる。このようなOS管理プログラム1
17が行う処理も、上記の世代管理機能の一部である。
After that, when the startup of the new OS succeeds in the step (307) of continuing the startup of the new OS, the OS management program 117 of the main memory 118 is activated and only the OS name of the management table 108 is changed. To do. That is, the current OS is changed to the old OS and the new OS is changed to the current OS (308). In this case, since the address in the management table 108 is not changed, the one that was in the new OS storage area 104 in the auxiliary storage device 102 was the new OS before the startup was successful. Is the current OS storage area in which is stored. This is also the OS storage area 103 for storing a plurality of OSs on the auxiliary storage device 102.
By providing the OS, the burden on the OS management of the user can be reduced. Such an OS management program 1
The processing performed by 17 is also part of the above generation management function.

【0033】一方、既述のように、自己診断のステップ
(306)において、新OSがシステムと何等かの問題
がある場合には(NG)、フローは新OSの立上げを打
ち切り(309)、主記憶装置118上のOSローディ
ング手段110内の自己診断開始フラグ検出手段111
が、自己診断開始フラグ109が立っていることを確認
して、実績のある現OSを主記憶装置118のOS格納
領域112へローディングし、その後、自動的に立上げ
が行われる(310)。これら新OSの立上げを打ち切
り(309)と、現OSによる立上げ開始(310)の
処理を、復旧機能(311)と定義する。
On the other hand, as described above, in the self-diagnosis step (306), if the new OS has any problem with the system (NG), the flow terminates the startup of the new OS (309). , A self-diagnosis start flag detecting means 111 in the OS loading means 110 on the main memory 118
However, after confirming that the self-diagnosis start flag 109 is set, the proven current OS is loaded into the OS storage area 112 of the main storage device 118, and then the startup is automatically performed (310). The process of stopping the startup of these new OSs (309) and starting the startup of the current OS (310) is defined as the recovery function (311).

【0034】その後、主記憶装置118のOS管理プロ
グラム117が、管理テーブル108上のOSの名称を
変更する。この場合、新OSについては、その診断結果
を保存した後に消去する(312)。これも、上記補助
記憶装置102上に、新OS、現OS、旧OS、そし
て、診断用OSの4個のOSを格納するOS格納領域1
03を設けたことにより、複数のOSの世代管理が可能
になった(いわゆる、世代管理機能302b)。すなわ
ち、OS管理プログラム117が、新OS診断結果をO
S格納領域103内の診断用OS107内に保存し、管
理テーブル108にも名称と補助記憶装置102のアド
レスを追記する。また、上記の診断結果を補助記憶装置
102内の診断用OS格納領域107に保存することに
よって、新OSで立ち上がらなかった原因を後に究明す
ることが可能になる。その後、主記憶装置118内に格
納されている復旧処理プログラム114が起動して、自
己診断開始フラグ109をオフにし(313)、オンラ
イン開始となる(314)。
After that, the OS management program 117 of the main memory 118 changes the name of the OS on the management table 108. In this case, the new OS is erased after saving the diagnosis result (312). This is also an OS storage area 1 for storing four OSs of the new OS, the current OS, the old OS, and the diagnostic OS on the auxiliary storage device 102.
By providing 03, generation management of a plurality of OSs has become possible (so-called generation management function 302b). That is, the OS management program 117 sets the new OS diagnosis result to O.
It is saved in the diagnostic OS 107 in the S storage area 103, and the name and the address of the auxiliary storage device 102 are added to the management table 108. Further, by saving the above-mentioned diagnosis result in the diagnosis OS storage area 107 in the auxiliary storage device 102, it becomes possible to later investigate the reason why the new OS did not start up. After that, the recovery processing program 114 stored in the main storage device 118 is activated, the self-diagnosis start flag 109 is turned off (313), and online start is started (314).

【0035】次に、図3により、上記の世代管理機能
(302a)の処理の詳細について説明を行う。OSを
インストールした時点で、主記憶装置118内に格納さ
れたOS入れ替えプログラム115が動作し(40
1)、新OS生成サブプログラム116を起動させる。
この新OS生成サブプログラムは、新OSを生成し(3
03)、この生成した新OSを、補助記憶装置102の
新OS格納領域に格納し(403)、さらに、主記憶装
置118上のOS管理テーブル108にはOS名称と新
OS格納領域のアドレスを登録する(404)。
Next, the details of the processing of the above generation management function (302a) will be described with reference to FIG. When the OS is installed, the OS replacement program 115 stored in the main storage device 118 runs (40
1) The new OS generation subprogram 116 is activated.
This new OS creation subprogram creates a new OS (3
03), the generated new OS is stored in the new OS storage area of the auxiliary storage device 102 (403), and the OS name and the address of the new OS storage area are stored in the OS management table 108 on the main storage device 118. Register (404).

【0036】このように、OSをインストールした時か
ら新OS格納まで、ユーザなどによるオペレーションが
介入する余地はなく、ユーザは、例えばカートリッジテ
ープを挿入してOS入れ替えプログラムを起動させるだ
けで済む。
As described above, there is no room for the operation by the user or the like from the time when the OS is installed to the time when the new OS is stored, and the user only needs to insert the cartridge tape and activate the OS replacement program.

【0037】図4には、もう一方の世代管理機能(30
2b)の処理の詳細について説明を行う。なお、従来に
おいては、OSローディング手段110は自分が主記憶
装置118上のOS格納領域112へローディングした
OSの種別をOS管理テーブル108に登録するように
作られていた。
FIG. 4 shows another generation management function (30
Details of the processing of 2b) will be described. Incidentally, conventionally, the OS loading means 110 is made to register the type of the OS loaded into the OS storage area 112 on the main storage device 118 in the OS management table 108.

【0038】これに対し、本発明のOS入れ替え方法で
は、主記憶装置118上のOS管理プログラム117
が、前記OSローディング手段110が作成したテーブ
ルを読み込み、読み込んだテーブル内の情報から、OS
ローディング手段110が主記憶装置118にローディ
ングしたOSの属性を判断する。すなわち、OSローデ
ィング手段110は新OSをローディングしたか否かを
判断する(501)。
On the other hand, in the OS replacement method of the present invention, the OS management program 117 on the main storage device 118 is used.
Reads the table created by the OS loading means 110, and based on the information in the read table, the OS
The loading unit 110 determines the attribute of the OS loaded in the main storage device 118. That is, the OS loading unit 110 determines whether the new OS has been loaded (501).

【0039】その判断の結果、そのOSが新OS(すな
わち、「Y」)であれば、OS管理プログラム117が
管理テーブル108の現OSという名称を旧OSという
名称に、新OSという名称を現OSという名称に変更す
る(502)。このように、名称のみを変更するだけで
あることから、補助記憶装置102上のアドレスには変
更がなく、そのため、自己診断以前には新OS格納領域
104に格納されていた新OSは「現OS」という名称
で管理され、現OS格納領域105に格納されていた現
OSは「旧OS」という名称で管理されることとなる。
すなわち、補助記憶装置102上の格納領域間の移動は
ない。一方、読み込んだOSの属性が新OSでなかった
(すなわち、「N」)場合には、主記憶装置118上の
OS管理プログラム117が管理テーブル108の「新
OS」という名称を「診断用OS」という名称に名称を
変更する(503)。
As a result of the judgment, if the OS is the new OS (that is, "Y"), the OS management program 117 changes the name of the current OS in the management table 108 to the name of the old OS and the name of the new OS. The name is changed to OS (502). In this way, since only the name is changed, the address on the auxiliary storage device 102 is not changed. Therefore, the new OS stored in the new OS storage area 104 before the self-diagnosis is "current". The current OS managed under the name "OS" and stored in the current OS storage area 105 will be managed under the name "old OS".
That is, there is no movement between the storage areas on the auxiliary storage device 102. On the other hand, when the attribute of the read OS is not the new OS (that is, “N”), the OS management program 117 on the main storage device 118 changes the name “new OS” in the management table 108 to “diagnostic OS”. The name is changed to "" (503).

【0040】図5には、上述の自己診断機能の詳細が示
されている。まず、主記憶装置118上の自己診断開始
フラグ109がオンか否かを判断する(601)が、通
常、この自己診断開始フラグ109はオフに設定されて
いるので、新OS立上げフラグがオンかどうかの条件文
(601)は、「No」のほうに進む。これにより、自
己診断開始プログラム113が自己診断開始フラグ10
9をオンにし(602)、続いて、OSローディング手
段110によって新OSが主記憶装置118上にローデ
ィングされたか否かを判断する(603)。ここで、新
OSのローディングが失敗した(No)時は、再び、上
記の処理(601)へ戻り、自己診断開始フラグ109
の状態を見る。この場合、自己診断開始フラグ109は
オンされているので、自己診断の結果を「NG(不
可)」とする(608)。
FIG. 5 shows details of the self-diagnosis function described above. First, it is determined whether the self-diagnosis start flag 109 on the main storage device 118 is ON (601). Normally, since the self-diagnosis start flag 109 is set OFF, the new OS startup flag is ON. The conditional statement (601) indicating whether or not to proceed to “No”. As a result, the self-diagnosis start program 113 causes the self-diagnosis start flag 10
9 is turned on (602), and then it is determined by the OS loading means 110 whether or not the new OS has been loaded on the main storage device 118 (603). Here, when the loading of the new OS has failed (No), the process returns to the above processing (601), and the self-diagnosis start flag 109 is returned.
See the state of. In this case, since the self-diagnosis start flag 109 is turned on, the result of the self-diagnosis is set to "NG (impossible)" (608).

【0041】一方、上記のステップ(603)でローデ
ィングが成功すれば(Yes)、割り込み処理や入出力
制御の機能をする基本制御OSにリンクして立上げ処理
を行って、この立上げ処理が成功か否かを判断する(6
04)。この処理が失敗した(No)時は、前述と同
様、上記の処理(601)へ戻り、自己診断の結果を
「NG(不可)」とする(608)。
On the other hand, if the loading is successful in the above step (603) (Yes), the startup processing is performed by linking to the basic control OS which has the functions of interrupt processing and input / output control, and this startup processing is executed. Determine success or not (6
04). When this process has failed (No), the process returns to the above process (601) and the self-diagnosis result is set to "NG (not possible)", as described above (608).

【0042】上記の立上げ処理(604)が成功(Ye
s)すれば、ユーザ毎に取捨選択した各ソフトウェアレ
パートリの初期化処理が成功したか否かを判断すること
となる(605)。この判断の結果、失敗(No)と判
定される場合には、上記の処理(601)へ戻り、自己
診断の結果を「NG(不可)」とする(608)。一
方、成功(Yes)と判断される場合には、さらに、各
ソフトウェアレパートリの立上げ処理が成功か否かを判
断し(606)、その結果、成功(Yes)と判断され
る場合には、自己診断の結果を「OK(可)」とする
(607)。他方、失敗(No)と判定される場合に
は、上記の処理(601)へ戻って自己診断の結果を
「NG(不可)」とする(608)。
The above startup processing (604) is successful (Yes
Then, whether or not the initialization process of each software repertoire selected for each user has succeeded is determined (605). If the result of this determination is that it has failed (No), processing returns to the above processing (601), and the result of self-diagnosis is set to “NG (impossible)” (608). On the other hand, if it is determined to be successful (Yes), it is further determined whether or not the startup process of each software repertoire is successful (606). As a result, if it is determined to be successful (Yes), The result of self-diagnosis is set to "OK (OK)" (607). On the other hand, if it is determined to be unsuccessful (No), the process returns to the above process (601) and the self-diagnosis result is set to “NG (impossible)” (608).

【0043】以上のように、主記憶装置118上の自己
診断プログラム113、OSローディング手段110、
上記OSローディング手段110内の自己診断開始フラ
グ検出手段11、自己診断開始フラグ114を設定する
ことによって、新OSの自己診断が可能となり、これに
より、オンライン開始後のシステムの停止を未然に防止
することが可能になる。
As described above, the self-diagnosis program 113 on the main memory 118, the OS loading means 110,
By setting the self-diagnosis start flag detection means 11 and the self-diagnosis start flag 114 in the OS loading means 110, the self-diagnosis of the new OS becomes possible, thereby preventing the system from being stopped after the online start. It will be possible.

【0044】[0044]

【発明の効果】以上の詳細な説明からも明らかなよう
に、本発明のオペレーティングシステムの自動入れ替え
方法、及び、これを利用した計算機システムによれば、
計算機システムにおいてOSを入れ替える際、今までユ
ーザが使用していた現OSのバックアップを取っておく
などの、従来ユーザの意識や判断に任せられていたOS
管理面でのユーザの負担を大幅に低減し、同時に、新O
Sの入れ替え動作を確実にかつ自動的に実行することを
可能にし、ユーザの誤操作や不適切な判断が介入する余
地をなくしてその保守性を向上することが可能になる。
As is apparent from the above detailed description, according to the method of automatically replacing the operating system of the present invention, and the computer system using the method,
When replacing an OS in a computer system, the OS that was conventionally left to the user's consciousness and judgment, such as making a backup of the current OS used by the user so far
Significantly reduces the user's burden on the management side, and at the same time, new
This makes it possible to reliably and automatically execute the S replacement operation, and eliminate the possibility of intervention by a user's erroneous operation or improper determination, and improve its maintainability.

【0045】また、上記の本発明のオペレーティングシ
ステムの自動入れ替え方法、及び、これを利用した計算
機システムによれば、新OSの生成の後に、自動的に自
己診断を行う自己診断機能を設けたことにより、新OS
によるオンライン開始以前に、システムとの適合性を自
動的に判断してオンライン動作中での停止を防止し、熟
練者によれなくても安全で確実なOSの自動入れ替え動
作を可能にする。
Further, according to the above automatic operating system replacement method of the present invention and the computer system using the same, a self-diagnosis function for automatically performing self-diagnosis after generation of a new OS is provided. Due to the new OS
Prior to the start of the online operation, the system compatibility is automatically determined to prevent a stop during the online operation, and a safe and reliable automatic OS replacement operation can be performed without requiring an expert.

【0046】さらに、前記の自己診断機能により異常が
検出された場合には、自動的に実績のある現OSに復旧
することから、新OSとシステムとの不適合時にも、シ
ステムの停止時間を最小限にして計算機システムの最大
限の活用を図ることが出来る。
Furthermore, when an abnormality is detected by the self-diagnosis function, the system automatically recovers to the current operating system with a proven track record, so that the system downtime is minimized even when the new OS does not match the system. The maximum utilization of the computer system can be achieved.

【0047】また、上記自己動作の確認により異常が検
出された場合には、これを記憶しておき、後にその異常
を詳細に検討して分析することを可能にすることによ
り、計算機システムの保守性を向上することが可能にな
る。
Further, when an abnormality is detected by checking the above-mentioned self-operation, this is stored, and it is possible to examine and analyze the abnormality in detail later, thereby maintaining the computer system. It is possible to improve the property.

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

【図1】本発明のオペレーティングシステムの自動入れ
替え方法を利用した計算機システムの概略構成を示すブ
ロック図である。
FIG. 1 is a block diagram showing a schematic configuration of a computer system utilizing an operating system automatic replacement method of the present invention.

【図2】上記オペレーティングシステムの自動入れ替え
方法の全体の処理の流れを示すフローチャートである。
FIG. 2 is a flow chart showing the flow of the entire processing of the above-mentioned operating system automatic replacement method.

【図3】上記図2の処理の一方の世代管理機能の処理の
流れを示すフローチャートである。
3 is a flowchart showing a processing flow of one generation management function of the processing of FIG.

【図4】上記図2の処理の他方の世代管理機能の処理の
流れを示すフローチャートである。
FIG. 4 is a flowchart showing a processing flow of the other generation management function of the processing of FIG.

【図5】上記図2の処理における自己診断機能の処理の
流れを示すフローチャートである。
5 is a flowchart showing a flow of processing of a self-diagnosis function in the processing of FIG.

【図6】上記図2の本発明のオペレーティングシステム
の自動入れ替え方法の動作を比較しながら説明するた
め、従来技術におけるオペレーティングシステムの自動
入れ替え方法の一例を示したフローチャートである。
FIG. 6 is a flowchart showing an example of a conventional operating system automatic replacement method for explaining the operation of the operating system automatic replacement method of the present invention of FIG. 2 in comparison.

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

101 中央演算処理装置(CPU) 102 補助記憶装置 103 OS格納領域 104 新OS格納領域 105 現OS格納領域 106 旧OS格納領域 107 診断用OS格納領域 108 管理テーブル 109 自己診断開始フラグ 110 OSローディング手段 111 自己診断開始フラグ検出手段 112 OS格納領域 113 自己診断プログラム 114 復旧処理プログラム 115 OS入れ替えプログラム 116 新OS生成サブプログラム 117 OS管理プログラム 118 主記憶装置 101 Central Processing Unit (CPU) 102 Auxiliary Storage Device 103 OS Storage Area 104 New OS Storage Area 105 Current OS Storage Area 106 Old OS Storage Area 107 Diagnostic OS Storage Area 108 Management Table 109 Self-Diagnosis Start Flag 110 OS Loading Means 111 Self-diagnosis start flag detection means 112 OS storage area 113 Self-diagnosis program 114 Recovery processing program 115 OS replacement program 116 New OS generation subprogram 117 OS management program 118 Main storage device

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小川 茂 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 小林 浩二 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 樫村 伸哉 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 藤本 肇 茨城県日立市大みか町五丁目2番1号 日 立プロセスコンピュータエンジニアリング 株式会社内 (72)発明者 安永 輝幸 茨城県日立市大みか町五丁目2番1号 日 立プロセスコンピュータエンジニアリング 株式会社内 (72)発明者 金子 茂則 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 (72)発明者 西山 修治 茨城県日立市大みか町五丁目2番1号 株 式会社日立製作所大みか工場内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Shigeru Ogawa 5-2-1 Omika-cho, Hitachi City, Ibaraki Prefecture Hitachi Ltd. Omika Factory, Hitachi Ltd. (72) Koji Kobayashi 5-chome, Omika-cho, Hitachi City, Ibaraki Prefecture No. 1 Incorporated company Hitachi Ltd. Omika Plant (72) Inventor Shinya Kashimura 5-2-1, Omika-cho, Hitachi City, Ibaraki Prefecture Incorporated company Hitachi Ltd. Omika Plant (72) Inventor Hajime Fujimoto Omika Hitachi City, Ibaraki Prefecture 5-2-1, Machi, Hitachi Process Computer Engineering Co., Ltd. (72) Inventor Teruyuki Yasunaga 5-2-1, Omika-cho, Hitachi City, Ibaraki Prefecture (72) Inventor, Process Computer Engineering Co., Ltd. (72) Shigenori Kaneko, Ibaraki 2-1 Omika-cho, Hitachi City, Hitachi, Ltd. Omika Omika Co., Ltd. In the factory (72) Inventor Shuji Nishiyama 52-1 Omika-cho, Hitachi-shi, Ibaraki Hitachi Ltd. Omika factory

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも演算処理装置と、主記憶装置
と、補助記憶装置とを備え、前記主記憶装置と前記補助
記憶装置との間にデータ転送機能を有する計算機システ
ムにおいて、オペレーティングシステムを自動的に入れ
替えることの可能なオペレーティングシステムの自動入
れ替え方法は、新OSのインストールに続いて、当該新
OSを自動的に生成し、この自動生成した新OSを前記
補助記憶装置のOS格納領域内へ格納し、かつ、前記主
記憶装置上の管理テーブルへ当該新OSが格納された前
記補助記憶装置上のアドレスを登録することを特徴とす
るオペレーティングシステムの自動入れ替え方法。
1. A computer system comprising at least an arithmetic processing unit, a main storage unit, and an auxiliary storage unit, having a data transfer function between the main storage unit and the auxiliary storage unit. A method of automatically replacing an operating system that can be replaced with a new OS is such that, after the new OS is installed, the new OS is automatically created and the automatically created new OS is stored in the OS storage area of the auxiliary storage device. In addition, the operating system automatic replacement method is characterized in that the address on the auxiliary storage device in which the new OS is stored is registered in the management table on the main storage device.
【請求項2】 前記請求項1のオペレーティングシステ
ムの自動入れ替え方法において、前記新OSの自動生成
に続いて、当該新OSがシステムにマッチしていること
を確認するための自己診断処理を行うことを特徴とする
オペレーティングシステムの自動入れ替え方法。
2. The method for automatically replacing an operating system according to claim 1, further comprising: automatically generating the new OS, and then performing self-diagnosis processing for confirming that the new OS matches the system. A method for automatically replacing the operating system.
【請求項3】 前記請求項2のオペレーティングシステ
ムの自動入れ替え方法において、前記自己診断の結果、
前記インストールした新OSに障害がないと判断された
場合には、当該自動生成された新OSによりシステムの
自動立上げを行うことを特徴とするオペレーティングシ
ステムの自動入れ替え方法。
3. The operating system automatic replacement method according to claim 2, wherein the result of the self-diagnosis is:
A method for automatically replacing an operating system, characterized in that, when it is determined that the installed new OS has no fault, the system is automatically started up by the automatically generated new OS.
【請求項4】 前記請求項3のオペレーティングシステ
ムの自動入れ替え方法において、前記新OSによるシス
テムの自動立上げの後、前記補助記憶装置のOS格納領
域に格納された新OSを現OSに、そして、前記補助記
憶装置のOS格納領域に格納されていた現OSを旧OS
に名称を変換することを特徴とするオペレーティングシ
ステムの自動入れ替え方法。
4. The method for automatically replacing an operating system according to claim 3, wherein after the system is automatically started by the new OS, the new OS stored in the OS storage area of the auxiliary storage device becomes the current OS, and , Replaces the current OS stored in the OS storage area of the auxiliary storage device with the old OS
A method for automatically replacing an operating system, which is characterized by converting the name to.
【請求項5】 前記請求項2のオペレーティングシステ
ムの自動入れ替え方法において、前記自己診断の結果、
前記インストールした新OSに何らかの障害があると判
断された場合には、当該自動生成された新OSによるシ
ステムの自動立上げを中止することを特徴とするオペレ
ーティングシステムの自動入れ替え方法。
5. The operating system automatic replacement method according to claim 2, wherein the result of the self-diagnosis is:
A method for automatically replacing an operating system, characterized in that, when it is determined that the installed new OS has some trouble, the automatic startup of the system by the automatically created new OS is stopped.
【請求項6】 前記請求項5のオペレーティングシステ
ムの自動入れ替え方法において、前記新OSによるシス
テムの自動立上げを中止に伴い、前記自己診断の結果を
前記主記憶装置あるいは補助記憶装置の一方に保存する
ことを特徴とするオペレーティングシステムの自動入れ
替え方法。
6. The method for automatically replacing an operating system according to claim 5, wherein the result of the self-diagnosis is stored in one of the main storage device and the auxiliary storage device when the automatic startup of the system by the new OS is stopped. A method for automatically replacing an operating system, characterized by:
【請求項7】 前記請求項6のオペレーティングシステ
ムの自動入れ替え方法において、前記自己診断結果の保
存の後、前記自動生成された新OSを消去することを特
徴とするオペレーティングシステムの自動入れ替え方
法。
7. The automatic replacement method for an operating system according to claim 6, wherein the automatically generated new OS is erased after the self-diagnosis result is saved.
【請求項8】 前記請求項5のオペレーティングシステ
ムの自動入れ替え方法において、前記新OSによるシス
テムの自動立上げを中止に続いて、前記新OSに代えて
現OSによるシステムの自動立上げを行って復旧を行う
ことを特徴とするオペレーティングシステムの自動入れ
替え方法。
8. The method for automatically replacing an operating system according to claim 5, wherein after the automatic startup of the system by the new OS is stopped, the automatic startup of the system by the current OS is performed instead of the new OS. A method for automatically replacing an operating system that is characterized by recovery.
【請求項9】 オペレーティングシステムを自動的に入
れ替えることの可能な計算機システムであって、少なく
とも、演算処理装置と、主記憶装置と、補助記憶装置と
を備え、かつ、前記主記憶装置と前記補助記憶装置との
間にデータ転送機能を有する計算機システムにおいて、
前記補助記憶装置は、新OS及び現OSを含む複数のO
Sを格納するためのOS格納領域を備え、かつ、前記主
記憶装置は前記補助記憶装置のOS格納領域に格納され
たOSをローディングする手段を有すると共に、前記補
助記憶装置のOS格納領域に格納されたOSを管理する
ための管理テーブルを備えていることを特徴とする計算
機システム。
9. A computer system capable of automatically exchanging operating systems, comprising at least an arithmetic processing unit, a main storage device, and an auxiliary storage device, and the main storage device and the auxiliary storage device. In a computer system having a data transfer function with a storage device,
The auxiliary storage device stores a plurality of O including the new OS and the current OS.
An OS storage area for storing S is provided, and the main storage device has means for loading the OS stored in the OS storage area of the auxiliary storage device, and is stored in the OS storage area of the auxiliary storage device. A computer system comprising a management table for managing the created OS.
【請求項10】 前記請求項9の計算機システにおい
て、前記主記憶装置は、新OSのインストール時に、当
該新OSを自動生成し、生成した新OSを前記補助記憶
装置のOS格納領域に格納する機能を有することを特徴
とする計算機システム。
10. The computer system according to claim 9, wherein the main storage device automatically generates the new OS when installing the new OS, and stores the generated new OS in the OS storage area of the auxiliary storage device. A computer system having a function.
【請求項11】 前記請求項10の計算機システにおい
て、前記主記憶装置は、当該自動生成した新OSがシス
テムにマッチしていることを確認するための自己診断処
理を行う機能を有していることを特徴とする計算機シス
テム。
11. The computer system according to claim 10, wherein the main storage device has a function of performing a self-diagnosis process for confirming that the automatically generated new OS matches the system. A computer system characterized by that.
【請求項12】 前記請求項11の計算機システにおい
て、前記記主記憶装置あるいは前記補助記憶装置の少な
くともいずれか一方は、前記自己診断処理を行った結果
を記憶する領域を有していることを特徴とする計算機シ
ステム。
12. The computer system according to claim 11, wherein at least one of the main storage device and the auxiliary storage device has an area for storing a result of the self-diagnosis processing. Characteristic computer system.
【請求項13】 前記請求項11の計算機システにおい
て、前記記主記憶装置及び前記補助記憶装置は、それぞ
れ、個別の装置として独立かつ分離して配置されている
ことを特徴とする計算機システム。
13. The computer system according to claim 11, wherein the main storage device and the auxiliary storage device are individually and separately arranged as separate devices.
JP5170098A 1993-07-09 1993-07-09 Method of automatically replacing operating system and computer system using the same Expired - Fee Related JP3048792B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5170098A JP3048792B2 (en) 1993-07-09 1993-07-09 Method of automatically replacing operating system and computer system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5170098A JP3048792B2 (en) 1993-07-09 1993-07-09 Method of automatically replacing operating system and computer system using the same

Publications (2)

Publication Number Publication Date
JPH0728632A true JPH0728632A (en) 1995-01-31
JP3048792B2 JP3048792B2 (en) 2000-06-05

Family

ID=15898607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5170098A Expired - Fee Related JP3048792B2 (en) 1993-07-09 1993-07-09 Method of automatically replacing operating system and computer system using the same

Country Status (1)

Country Link
JP (1) JP3048792B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995027941A1 (en) * 1994-04-12 1995-10-19 Ntt Data Communications Systems Corporation Updating and restoration method of system file
JPH11102294A (en) * 1997-09-26 1999-04-13 Mitsubishi Electric Corp Controller for elevator
JP2008003815A (en) * 2006-06-21 2008-01-10 Nec Corp Computer system, network boot system, method of switching os image, and program for switching os image
KR100891174B1 (en) * 2006-09-20 2009-04-01 이종인 Apparatus and method of auto management in computer
US9764696B2 (en) 2012-03-07 2017-09-19 Toyoda Iron Works Co., Ltd. Superimposed composite interior component
JP2021089726A (en) * 2019-11-17 2021-06-10 新唐科技股▲ふん▼有限公司 Computer system, security management method thereof, and computer software product

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995027941A1 (en) * 1994-04-12 1995-10-19 Ntt Data Communications Systems Corporation Updating and restoration method of system file
GB2294568A (en) * 1994-04-12 1996-05-01 Ntt Data Tsushin Kk Updating and restoration method of system file
GB2294568B (en) * 1994-04-12 1998-08-12 Ntt Data Tsushin Kk Updating and restoration method of system file
JPH11102294A (en) * 1997-09-26 1999-04-13 Mitsubishi Electric Corp Controller for elevator
JP2008003815A (en) * 2006-06-21 2008-01-10 Nec Corp Computer system, network boot system, method of switching os image, and program for switching os image
KR100891174B1 (en) * 2006-09-20 2009-04-01 이종인 Apparatus and method of auto management in computer
US9764696B2 (en) 2012-03-07 2017-09-19 Toyoda Iron Works Co., Ltd. Superimposed composite interior component
US9987819B2 (en) 2012-03-07 2018-06-05 Toyoda Iron Works Co., Ltd. Superimposed composite interior component
JP2021089726A (en) * 2019-11-17 2021-06-10 新唐科技股▲ふん▼有限公司 Computer system, security management method thereof, and computer software product

Also Published As

Publication number Publication date
JP3048792B2 (en) 2000-06-05

Similar Documents

Publication Publication Date Title
JP3200661B2 (en) Client / server system
US5745669A (en) System and method for recovering PC configurations
US6418555B2 (en) Automatic upgrade of software
JP3329841B2 (en) Network system and its software management method
US6934722B1 (en) Method of finding application components in an intelligent backup and restoring system
US6381694B1 (en) System for automatic recovery from software problems that cause computer failure
US6502208B1 (en) Method and system for check stop error handling
US20080010506A1 (en) Multi-CPU computer and method of restarting system
JPH0816408A (en) Information processor
US6374366B1 (en) Automated drive repair systems and methods
US6760862B1 (en) Methods and apparatus for performing a maintenance procedure on a data storage system
JPH0728632A (en) Automatic replacing method for operating system and computer system utilizing the same
KR20080028751A (en) Information processing apparatus, control apparatus therefor, control method therefor and control program
WO2000010085A1 (en) A method, computer, and article of manufacturing for fault tolerant booting
CN112035171A (en) Factory setting restoration method and system based on UEFI firmware
KR100358278B1 (en) Method of Self-Diagnosis and Self-Restoration of System Error and A Computer System Using The Same
JP5683088B2 (en) Recovery system, recovery method, and backup control system
US7058666B1 (en) Automatic database monitoring system
JP3314204B2 (en) Computer system
US20040064784A1 (en) Document management system, method and computer program
US7389442B1 (en) Apparatus and method for self diagnosis, repair, removal by reversion of computer problems from desktop and recovery from booting or loading of operating system errors by removable media
JPH0962499A (en) Program file updating device
JP3265108B2 (en) Data processing system
JPH01173140A (en) File control method
JPH07261989A (en) Control program restoration system

Legal Events

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