JPH04242467A - Combined computer system - Google Patents

Combined computer system

Info

Publication number
JPH04242467A
JPH04242467A JP3014986A JP1498691A JPH04242467A JP H04242467 A JPH04242467 A JP H04242467A JP 3014986 A JP3014986 A JP 3014986A JP 1498691 A JP1498691 A JP 1498691A JP H04242467 A JPH04242467 A JP H04242467A
Authority
JP
Japan
Prior art keywords
session
standby
computer system
opening
state
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
JP3014986A
Other languages
Japanese (ja)
Other versions
JP2776442B2 (en
Inventor
Shuichi Ogawa
修一 小川
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP3014986A priority Critical patent/JP2776442B2/en
Publication of JPH04242467A publication Critical patent/JPH04242467A/en
Application granted granted Critical
Publication of JP2776442B2 publication Critical patent/JP2776442B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To minimize the service stop time and to quickly restart the service by setting previously a stand-by system in a start state while a working system is kept active and then taking over the operation automatically by the stand-by system when the working system is stopped. CONSTITUTION:A working host computer 100 offers the on-line service. A stand-by host computer 200 consists of an inter-system communication means 201, a communication control means 202, and an on-line service system 210. The inter-system communication equipments 103 and 203 perform the exchange of information between them. Meanwhile a fault detecting device 204 monitors the system fault of the computer 100 end informs the system 210 of a fact that the working of the system 100 has stopped by a fault. In a composite computer system, a system 110 is started when the system 210 is ready. Then the system 210 transmits the confirming information of the start declaration of a working system through the means 201.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、ハードウェア/ソフト
ウェアの突発的な障害において、稼働コンピュータシス
テム(以下、単に稼働システムと略す)が停止してしま
った場合に、サービスを速やかに再開させるために、稼
働システム実行時に待機システムを予め起動状態にして
おき、稼働システム停止時に自動的に待機システムにて
運用を引き継ぐことで、サービス停止時間を極力小さく
することを実現する複合コンピュータシステムに関する
ものである。
[Industrial Application Field] The present invention is for quickly restarting services when an operating computer system (hereinafter simply referred to as the operating system) is stopped due to a sudden hardware/software failure. This invention relates to a complex computer system that minimizes service stoppage time by activating a standby system in advance when the active system is running and automatically taking over operations when the active system is stopped. be.

【0002】0002

【従来の技術】複合コンピュータシステムでは、稼働シ
ステムがサービス開始をする際、待機システムを起動さ
せておき、オンライン業務がすぐにでも実行できるよう
な状態にしておくことで、稼働システムのシステム障害
時に系を切り替えることで連続的なオンラインサービス
運用を実現する。従来の複合コンピュータシステムでは
、系切り替え時に旧稼働システム停止を共有通信制御装
置に通知するか、もしくは共有通信制御装置のシステム
動作監視機能による稼働システムの停止検知によって、
共有通信制御装置はそのとき開設しているセションをす
べて切断し、初期状態と同じ状態を作り出す。新たな稼
働システムは、定義端末についてセション開設動作を行
い、共有通信制御装置配下の端末は再接続される。 このため、端末利用者にとっては、サービスが一旦停止
し、再接続されたようにとれる。
[Background Art] In a complex computer system, when the operating system starts service, a standby system is activated and ready to execute online operations, so that it can be used in the event of a system failure of the operating system. Continuous online service operation is achieved by switching systems. In conventional complex computer systems, when switching systems, the shared communication control unit is notified that the old operating system has stopped, or the system operation monitoring function of the shared communication control unit detects the stoppage of the operating system.
The shared communication control device disconnects all sessions that are open at that time and creates the same state as the initial state. The new operating system performs a session opening operation for the defined terminal, and the terminals under the shared communication control device are reconnected. Therefore, for the terminal user, it appears as if the service has been temporarily stopped and then reconnected.

【0003】0003

【発明が解決しようとする課題】稼働システム障害時に
おける系切り替えにおいて、上述した端末再接続処理は
、端末数が増加すればするほど長くなる。また端末セシ
ョンの切断、再接続は、オンラインネットワーク上を接
続手順に基づいた制御電文が流れるため、非常に時間が
かかっていた。このため、系切り替え処理全体にかかる
時間が長くなり、端末利用者にとってはシステム規模の
増大に伴い、サービス停止時間が非常に長くなり、実際
の業務運用にとって問題となっていた。
Problems to be Solved by the Invention In system switching when an operating system fails, the above-mentioned terminal reconnection processing becomes longer as the number of terminals increases. Furthermore, disconnecting and reconnecting a terminal session takes a very long time because a control message based on the connection procedure is sent over the online network. For this reason, the time required for the entire system switching process increases, and for terminal users, as the scale of the system increases, service outage time becomes extremely long, which poses a problem for actual business operations.

【0004】本発明は、このような問題点を解決するた
めになされたもので、その目的は端末数に依存すること
なく速やかな系の切り替えを実現できるようにした複合
コンピュータシステムを提供することにある。
The present invention has been made to solve these problems, and its purpose is to provide a complex computer system that can quickly switch systems regardless of the number of terminals. It is in.

【0005】[0005]

【課題を解決するための手段】稼働システムがセション
を開設している端末に対し、待機システムからも予め待
機セションを開設する。このときの待機セションは、共
有通信制御装置と待機システム上のオンラインサービス
システムとの間の仮想的なものであり、このセションが
存在するときは、系切り替え時において端末と共有通信
制御装置間のセションを切断しない。このため、新稼働
システム活性時は、セションの再接続を実行せずに、オ
ンラインサービスを即時再開可能である。
[Means for Solving the Problem] The standby system also opens a standby session in advance for the terminal with which the active system has opened a session. The standby session at this time is a virtual one between the shared communication control unit and the online service system on the standby system, and when this session exists, the connection between the terminal and the shared communication control unit during system switchover is Do not disconnect sessions. Therefore, when a new operating system is activated, online services can be restarted immediately without reconnecting sessions.

【0006】[0006]

【作用】(1)予め待機システムを起動しておき、オン
ラインサービスが実行できる状態にしておき、稼働シス
テムのサービスを開始する。
[Operation] (1) Start up the standby system in advance, put it in a state where online services can be executed, and then start the service of the active system.

【0007】稼働システムと待機システムは、同一の端
末に対して同時にセションを開設する。このとき待機シ
ステムからのセションは、オンラインサービスシステム
と共有通信制御装置間のみの仮想的なものである。
[0007] The active system and the standby system open sessions to the same terminal at the same time. At this time, the session from the standby system is a virtual session only between the online service system and the shared communication control device.

【0008】共有通信制御装置は、稼働システムにおけ
る実際の端末とのセションが存在しているときに、仮想
的な待機セションが存在するときは、系切り替え時にお
ける共有通信制御装置に対する旧稼働システム停止通知
もしくは共有通信制御装置の稼働システム停止監視にお
いて、端末とのセションを切断することなく、また新稼
働システムのオンラインシステムは、すでに開設されて
いるセションに再接続することもなく、端末数に依存し
ない速やかな系切り替えが実現される。 (2)/(3)予め起動されている待機システムに対し
、稼働システムの起動は系間通信手段および系間通信装
置によって通知される。これに対し、セションの開設事
象を待機システムに伝達することを、系間通信手段によ
って実現することは、非常に負担が大きい。これは、稼
働システムにおけるセション開設が一気に発生する場合
、系間通信手段の能力を越えてしまう危険性があるから
である。また、系間通信手段の障害時の回避方式も困難
なものとなる。
[0008] If a virtual standby session exists while a session with an actual terminal exists in the active system, the shared communication control unit is configured to stop the old active system for the shared communication control unit during system switchover. In notification or shared communication control equipment operation system outage monitoring, the session with the terminal is not disconnected, and the online system of the new operation system is not reconnected to the already established session, depending on the number of terminals. A quick system switchover is realized. (2)/(3) The activation of the active system is notified to the standby system that has been activated in advance by the intersystem communication means and the intersystem communication device. On the other hand, it is extremely burdensome to transmit the session establishment event to the standby system using intersystem communication means. This is because if sessions are opened all at once in active systems, there is a risk that the capacity of the intersystem communication means will be exceeded. Furthermore, it becomes difficult to avoid a failure in the intersystem communication means.

【0009】稼働セションのセション接続の事象は、セ
ション開設の度に状態引き継ぎファイルに記録すること
で伝達される。ファイルには、セション開設の度に開設
端末名を記録し、どこまで記録したかがわかるようにす
る。
[0009] The session connection event of an active session is transmitted by being recorded in a state inheritance file each time a session is opened. Each time a session is opened, the name of the opened terminal is recorded in the file so that it is possible to see how much has been recorded.

【0010】待機システムにおいては、稼働システム起
動を感知したときから周期的に、状態引き継ぎファイル
の内容を確認し、稼働システムにおけるセション状態変
化があったかどうかを最新情報の有効位置から判断する
。稼働システムのセション開設が一気に生じたときでも
、ファイルへの記録および読み込みによって、ファイル
の最後まで達するまでは確実にセション状態を引き継ぐ
ことができる。 (4)/(5)稼働セションは稼働システムのネットワ
ーク定義に基づいたセション属性によって開設される。 また、待機セションも同様であるが、実際に端末とオン
ラインサービスシステムとの間の会話制御に用いられる
セション属性は、いうまでもなく稼働セションにおける
属性である。すなわち、稼働セションのセション属性と
、待機セションのセション属性とが一致していない場合
、系切り替え時に端末とオンラインサービスシステムと
の会話制御に矛盾が生じてしまう。
[0010] In the standby system, the contents of the status inheritance file are checked periodically from the time when the activation of the active system is sensed, and it is determined from the valid position of the latest information whether there has been a change in the session status in the active system. Even when sessions are opened all at once in an operating system, by recording and reading files, the session status can be reliably inherited until the end of the file is reached. (4)/(5) An active session is opened using session attributes based on the network definition of the active system. The same applies to the standby session, but the session attributes actually used for conversation control between the terminal and the online service system are, needless to say, the attributes in the active session. That is, if the session attributes of the active session and the session attributes of the standby session do not match, an inconsistency will occur in conversation control between the terminal and the online service system during system switching.

【0011】これを回避するために、稼働セションのセ
ション属性と待機セションのセション属性を比較し、も
し異なれば、待機セションの開設を行わないようにする
。これによって、その端末に対するセションについては
、系切り替え時は従来と同様の切断、ならびに再接続を
実行する。 (6)待機セションは、稼働セションのあるなしに拘ら
ず開設しておいてもよいような共有通信制御装置を有す
るシステムにおいては、待機セションをずっと開設して
おくことが可能となる。これによって、これまでにセシ
ョンを開設した情報をセション状態引き継ぎファイルに
記録したかどうかを記録しておき、一旦セション開設事
象を記録したら、以降はセション開設事象をセション状
態引き継ぎファイルに記録しないことによって、有限な
セション状態引き継ぎファイルに対して、稼働セション
が接続および切断を繰り返すシステムにおいても、ファ
イルの最後まで達することがないようにし、確実な待機
セションの開設を実現する。 (7)共有通信制御装置の障害時は、待機セションも切
断される。従って、共有通信制御装置の障害による稼働
セションの切断後の再接続においては、一旦セション開
設事象を記録した後でも、稼働システムにおいてセショ
ン開設事象を記録しなくてはならない。
In order to avoid this, the session attributes of the active session and the session attributes of the standby session are compared, and if they are different, the standby session is not opened. As a result, the session for that terminal is disconnected and reconnected in the same manner as in the past at the time of system switching. (6) In a system having a shared communication control device in which a standby session may be opened regardless of whether there is an active session, it is possible to keep a standby session open all the time. By doing this, it is possible to record whether or not the session opening information has been recorded in the session state inheritance file, and once the session opening event is recorded, from then on, by not recording the session opening event in the session state inheritance file. To realize reliable opening of a standby session by preventing the file from reaching the end even in a system where an active session repeatedly connects and disconnects to a finite session state inheritance file. (7) When a failure occurs in the shared communication control device, the standby session is also disconnected. Therefore, when reconnecting after an active session is disconnected due to a failure in the shared communication control device, even after the session opening event has been recorded once, the session opening event must be recorded in the active system.

【0012】この場合、引き継ぎ情報は有限なものとは
ならない。引き継ぎファイルはファイルの最後に達した
ときに、ファイルの先頭から再使用するようにすること
で、永続的なセション状態の引き継ぎを実現する。有限
な引き継ぎファイルにおいて、待機システムが読み取る
前に、再使用による引き継ぎデータの上書きが生じない
ように、前回接続事象を記録した時刻から、待機システ
ムが読み込みを行う周期より長い期間を経過したあとで
、障害復旧後の再接続を行うようにすることで、確実な
セション状態の引き継ぎを実現する。
[0012] In this case, the handover information is not limited. The inheritance file realizes permanent session state inheritance by reusing the file from the beginning when the end of the file is reached. To avoid overwriting inherited data due to reuse before it is read by the standby system in a finite inheritance file, it is possible to avoid overwriting the inherited data due to reuse before the standby system reads it. , Reliable session state inheritance is achieved by reconnecting after failure recovery.

【0013】[0013]

【実施例】次に、本発明の一実施例について、図面を参
照して詳細に説明する。図1は本発明の一実施例を示す
ブロック図である。図において、100はオンラインサ
ービスを提供する稼働ホストコンピュータであって、系
間通信手段101、通信制御手段102及び本発明の特
徴とするところの起動制御手段111と、セション開設
状態記録手段112と、セション開設手段113と、セ
ション再接続手段114と、端末名116、セション属
性117、セション引継履歴118、障害記録119、
セション引継時刻120の情報記録域を含む端末状態テ
ーブル115とを含むオンラインサービスシステム11
0とで構成されている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing one embodiment of the present invention. In the figure, 100 is an operating host computer that provides online services, and includes intersystem communication means 101, communication control means 102, startup control means 111, which is a feature of the present invention, and session establishment state recording means 112. Session opening means 113, session reconnection means 114, terminal name 116, session attribute 117, session takeover history 118, failure record 119,
Online service system 11 including a terminal status table 115 including an information recording area of session takeover time 120
It consists of 0.

【0014】また、200は待機ホストコンピュータで
あり、系間通信手段201、通信制御手段202及び本
発明の特徴とするところの切り替え制御手段211と、
セション開設状態読み取り手段212と、待機セション
チェック手段214を含むセション開設手段213と、
引継ファイル監視手段215と、端末名217、セショ
ン属性218の情報記憶域を含む端末状態テーブル21
6とを含むオンラインサービスシステム210とで構成
されている。
Further, 200 is a standby host computer, which includes intersystem communication means 201, communication control means 202, and switching control means 211, which is a feature of the present invention.
session opening means 213 including session opening state reading means 212 and standby session checking means 214;
A terminal status table 21 including a takeover file monitoring means 215 and an information storage area for terminal name 217 and session attribute 218
6, and an online service system 210 including 6 and 6.

【0015】更に、103,203は両システム間の情
報交換を行う系間通信装置、204は稼働ホストコンピ
ュータ100のシステム障害を監視し、システム障害に
よるシステム停止時にオンラインサービスシステム21
0に通知をあげる障害検出装置である。また、400は
端末名411、セション属性412、レコード世代41
3の記憶情報域を含む、端末数分以上のセション状態レ
コード410で構成されるセション状態引継ファイル、
300は待機セション開設手段301と、セション保持
手段302を含む稼働/待機共有通信制御装置(以降、
共有通信装置と略す)、800は端末装置である。
Further, 103 and 203 are intersystem communication devices for exchanging information between both systems, and 204 is a system monitoring device for monitoring system failures in the operating host computer 100, and when the system is stopped due to a system failure, the online service system 20
This is a failure detection device that sends a notification to 0. Also, 400 is the terminal name 411, the session attribute 412, and the record generation 41.
a session state takeover file consisting of session state records 410 for more than the number of terminals, including a storage information area of 3;
Reference numeral 300 denotes an active/standby shared communication control device (hereinafter referred to as
800 is a terminal device.

【0016】なお、説明の便宜上、オンラインサービス
システム110からのセションを稼働セション500、
オンラインサービスシステム210からのセションを待
機セション600、実際の端末装置800とのセション
を端末セション700で表している。
For convenience of explanation, sessions from the online service system 110 are referred to as operating sessions 500,
A session from the online service system 210 is represented by a standby session 600, and a session with the actual terminal device 800 is represented by a terminal session 700.

【0017】次に、本実施例の動作について、図面を参
照して説明する。 (システムの起動)複合コンピュータシステムでは、オ
ンラインサービスシステム110を起動する前に、オン
ラインサービスシステム210を起動する。オンライン
サービスシステム210がオンラインサービスの準備が
できあがった段階で、オンラインサービスシステム11
0を起動する。
Next, the operation of this embodiment will be explained with reference to the drawings. (System Startup) In the composite computer system, before starting up the online service system 110, the online service system 210 is started up. When the online service system 210 is ready for online service, the online service system 11
Start 0.

【0018】起動制御手段111は、まず自システムの
サービスの準備を実行する。また、通信制御手段102
に対して稼働システム宣言を実行する。これによって、
オンラインサービスシステム110が要求する端末装置
800に対するセション開設は、稼働セション500と
して実際に端末セション700が開設されるように通信
制御手段102が制御する。起動制御手段111は準備
が完了すると、系間通信手段101を使用してオンライ
ンサービスシステム210に対して稼働システム起動宣
言を伝達する。
The startup control means 111 first prepares the services of its own system. In addition, the communication control means 102
Execute the running system declaration for. by this,
The communication control means 102 controls the opening of a session for the terminal device 800 requested by the online service system 110 so that the terminal session 700 is actually opened as the active session 500. When the startup control means 111 completes the preparation, it uses the intersystem communication means 101 to transmit an active system startup declaration to the online service system 210.

【0019】この要求は、系間通信装置103,203
を経由して、系間通信手段201に伝達される。系間通
信手段201はこれをオンラインサービスシステム21
0に通知すると、引継ファイル監視手段215はタイマ
をかけることで、セション開設状態読み取り手段212
を使用して周期的にセション状態引継ファイル400を
読み取る。これによって、オンラインサービスシステム
210は、オンラインサービスシステム110にセショ
ン開設などの事象変化が生じたときに記録される、最新
のセション状態レコード410情報を取得することがで
きる。
This request is sent to the intersystem communication devices 103 and 203.
The information is transmitted to the intersystem communication means 201 via. The inter-system communication means 201 communicates this with the online service system 21.
0, the takeover file monitoring means 215 activates a timer to check the session opening status reading means 212.
The session state inheritance file 400 is periodically read using the . Thereby, the online service system 210 can acquire the latest session status record 410 information that is recorded when an event change such as session opening occurs in the online service system 110.

【0020】オンラインサービスシステム210は、系
間通信手段201を使用して、稼働システム起動宣言の
確認通知を送る。この通知は、系間通信手段101によ
ってオンラインサービスシステム110に届けられる。 起動制御手段111は、この確認通知を受け取ると、稼
働システムはサービスを開始する。系間通信装置103
,203間の系間通信路は、障害を起こしている場合が
ある。このような場合には、起動宣言や確認通知は失わ
れてしまう。これらの再送制御は、系間通信手段101
ならびに起動制御手段111にて行われる。 (セションの開設)オンラインサービスシステム110
はサービスすべき端末装置800に対して、オンライン
サービスシステム110起動時、セション開設コマンド
投入時に、セションを開設する。セション開設手段11
3は、目的の端末装置800に対応する端末状態テーブ
ル115を検索し、通信制御手段102にセション開設
指示を発行することでセションを開設する。通信制御手
段102は、起動制御手段111による稼働システム宣
言を受けているため、稼働セション500を共有通信制
御装置300に開設要求する。このとき、もし障害記録
119が障害後と記録されていれば、セション引継時刻
120を参照して現時刻が引継ファイル監視手段215
が監視する周期よりも十分多く経過しているかどうかを
判断する。もし十分な時間が経過していなければ、セシ
ョン再接続手段114によって時間経過後にセションを
再接続するよう要求する。セション再接続手段114は
当該端末に対し、十分な時間が経過するまで待ったあと
、セション開設手段113に対してセション開設要求を
発行し、上記処理を再実行する。十分な時間が経過して
いれば、障害記録119をクリアし、セション開設を行
う。
The online service system 210 uses the intersystem communication means 201 to send a confirmation notification of the activation system activation declaration. This notification is delivered to the online service system 110 by the intersystem communication means 101. When the activation control means 111 receives this confirmation notification, the operating system starts the service. Intersystem communication device 103
, 203 may be faulty. In such a case, the startup declaration and confirmation notification will be lost. These retransmission controls are performed by the intersystem communication means 101.
This is also performed by the activation control means 111. (Opening a session) Online service system 110
opens a session for the terminal device 800 to be serviced when the online service system 110 is activated or when a session opening command is input. Session opening method 11
3 searches the terminal status table 115 corresponding to the target terminal device 800 and opens a session by issuing a session opening instruction to the communication control means 102. Since the communication control means 102 has received the active system declaration from the activation control means 111, it requests the shared communication control device 300 to open an active session 500. At this time, if the failure record 119 is recorded as after failure, the session takeover time 120 is referred to and the current time is determined by the takeover file monitoring means 215.
Determine whether enough time has elapsed than the period monitored by . If sufficient time has not elapsed, the session reconnection means 114 requests reconnection of the session after the elapse of time. The session reconnecting means 114 waits until a sufficient time has elapsed for the terminal, issues a session opening request to the session opening means 113, and re-executes the above process. If sufficient time has elapsed, the failure record 119 is cleared and a session is opened.

【0021】セション開設手段113は、通信制御手段
102のセション開設受諾時に、稼働ホストコンピュー
タ100のネットワーク定義上のセション属性を取得し
、セション属性117に記録する。さらに、セション引
継履歴118を確認して、もし内容がクリアされていれ
ば、セション開設状態記録手段112に対して端末状態
テーブル115を指定してセション開設記録要求を出す
。セション引継履歴118がセション引き継ぎ済みであ
れば、何もしない。セション開設状態記録手段112は
セション開設記録要求を受けると、指定された端末状態
テーブル115の端末名116、およびセション属性1
17を、セション状態引継ファイル400の前回書き込
んだレコードの次に、端末名411およびセション属性
412を設定してセション状態レコード410を書き込
む。また、現在時刻をレコード世代413およびセショ
ン引継時刻120に書き込み、セション引継履歴118
をセション引き継ぎ済みとする。前回書き込んだレコー
ドがファイルの最終レコードであれば、先頭に同様に書
き込む。 (待機セションの開設)オンラインサービスシステム2
10では、起動時に引継ファイル監視手段215で開始
された周期にて、セション開設状態読み取り手段212
によってセション状態引継ファイル400を読む。読み
込みレコードのレコード世代413が新しくなっている
レコードは、引き継ぎ対象の情報であると認識し、次々
に読む。レコード世代413が過去に戻っている場合に
は、そのレコードはまだオンラインサービスシステム1
10にて記録されていないものであるとみなす。なお、
オンラインサービスシステム210起動時の最初の読み
込みにおけるレコード世代413の判断時刻は、オンラ
インサービスシステム110起動時の起動宣言通知に含
まれるので、これを参照する。
The session opening means 113 acquires the session attribute on the network definition of the active host computer 100 when the communication control means 102 accepts the session opening, and records it in the session attribute 117. Furthermore, the session takeover history 118 is checked, and if the contents are cleared, a session establishment recording request is issued to the session establishment status recording means 112 by specifying the terminal status table 115. If the session takeover history 118 indicates that the session has been taken over, nothing is done. Upon receiving the session establishment recording request, the session establishment state recording means 112 records the terminal name 116 of the specified terminal status table 115 and the session attribute 1.
17, the terminal name 411 and session attribute 412 are set, and the session state record 410 is written next to the last written record in the session state inheritance file 400. In addition, the current time is written to the record generation 413 and session takeover time 120, and the current time is written to the record generation 413 and session takeover time 120, and
The session has been taken over. If the last record written is the last record in the file, it is written at the beginning in the same way. (Opening a standby session) Online service system 2
10, the session opening state reading means 212 at the cycle started by the takeover file monitoring means 215 at the time of startup.
The session state inheritance file 400 is read by. Records whose record generation 413 of the read records is new are recognized as information to be inherited, and are read one after another. If the record generation 413 goes back in time, the record is still in the online service system 1.
10 is considered to have not been recorded. In addition,
The determination time of the record generation 413 at the first reading when the online service system 210 is started is included in the startup declaration notification when the online service system 110 is started, so this is referred to.

【0022】引継ファイル監視手段215では読み取っ
たセション状態レコード410の端末名411から、該
当する端末状態テーブル216を検索しセション属性4
12をセション属性218に記録し、セション開設手段
213にセション開設指示を発行する。セション開設手
段213は通信制御手段202にセション開設指示を発
行すると、通信制御手段202は待機セション600を
共有通信制御装置300に開設要求する。セション開設
手段213は、通信制御手段202のセション開設受諾
時に、待機ホストコンピュータ200のオンライン定義
上のセション属性を取得することができる。ただし、こ
のセション属性は実際の端末セション700を制御する
ものと必ずしも一致しているものとは限らないため、待
機セションチェック手段214にて属性チェックを行う
。待機セションチェック手段214は取得したセション
属性と、引き継ぎ情報読取時にセション属性218に記
録された内容とを比較する。もし等しくなければ、待機
セション600の開設は却下する。 (セション障害時の動作)共有通信制御装置300が障
害となった場合、通信制御手段102の障害通知がオン
ラインサービスシステム110に通知される。障害通知
をセション再接続手段114が受けると、該当セション
の端末状態テーブル115を検索し、セション引継履歴
118をクリアし、障害記録119に障害後と記入する
。当該端末が障害時の自動復旧対象である場合、セショ
ン引継時刻120を参照して現時刻が引継ファイル監視
手段215が監視する周期よりも十分多く経過している
かどうかを判断する。もし十分な時間が経過していれば
、セション開設手段113にセション開設要求を発行し
、上記のセション開設処理を試みる。そうでない場合は
、当該端末についてはその時間だけ処理を待ち合わせた
後、本処理を再実行する。待機セション600が開設さ
れている場合、通信制御手段202の障害通知がオンラ
インサービスシステム210に通知されるが、オンライ
ンサービスシステム210ではセションが単に切断され
ただけとする。 (待機セションの役割)起動制御手段111が稼働シス
ムテ宣言を通信制御手段102に対して行うと、オンラ
インサービスシステム110から端末装置800に対す
るセション開設要求を通信制御手段102に発行すると
き、通信制御手段102は共有通信制御装置300に対
して稼働セション500を開設する。共有通信制御装置
300では端末装置800に対して端末セション700
を開設し、オンラインサービスシステム110は端末装
置800と電文送受信が実現できるようになる。
The takeover file monitoring means 215 searches the corresponding terminal status table 216 from the terminal name 411 of the read session status record 410 and determines the session attribute 4.
12 is recorded in the session attribute 218, and a session opening instruction is issued to the session opening means 213. When the session opening means 213 issues a session opening instruction to the communication control means 202, the communication control means 202 requests the shared communication control device 300 to open a standby session 600. The session opening means 213 can acquire the session attribute on the online definition of the standby host computer 200 when the communication control means 202 accepts the session opening. However, since this session attribute does not necessarily match the one that controls the actual terminal session 700, the standby session checking means 214 performs an attribute check. The standby session check means 214 compares the acquired session attribute with the content recorded in the session attribute 218 when reading the handover information. If they are not equal, the establishment of the standby session 600 is rejected. (Operation at the time of session failure) When the shared communication control device 300 becomes a failure, a failure notification of the communication control means 102 is notified to the online service system 110. When the session reconnection means 114 receives the failure notification, it searches the terminal status table 115 for the relevant session, clears the session takeover history 118, and records ``after failure'' in the failure record 119. If the terminal is a target for automatic recovery in the event of a failure, the session handover time 120 is referred to to determine whether the current time has passed sufficiently longer than the period monitored by the takeover file monitoring means 215. If sufficient time has elapsed, a session opening request is issued to the session opening means 113, and the session opening process described above is attempted. If this is not the case, the terminal waits for the processing for that time, and then re-executes the processing. When the standby session 600 is opened, a failure notification of the communication control means 202 is notified to the online service system 210, but the online service system 210 assumes that the session is simply disconnected. (Role of standby session) When the activation control means 111 declares the operating system to the communication control means 102, when the online service system 110 issues a session opening request for the terminal device 800 to the communication control means 102, the communication control means 102 opens an active session 500 to the shared communication control device 300. The shared communication control device 300 establishes a terminal session 700 for the terminal device 800.
, and the online service system 110 is able to send and receive messages to and from the terminal device 800.

【0023】一方、稼働システム宣言を受けていない通
信制御手段202では、オンラインサービスシステム2
10から端末装置800に対するセション開設要求を通
信制御手段202に発行するとき、通信制御手段202
は共有通信制御装置300に対して待機セション600
を開設する。共有通信制御装置300ではこれをうける
と、待機セション開設手段301においてセションは制
御維持される。待機セション開設手段301では、稼働
セション500が開設されているかどうかに拘らず、待
機セション600を制御する。
On the other hand, in the communication control means 202 which has not received the declaration of an operating system, the online service system 2
10 issues a session opening request to the terminal device 800 to the communication control means 202, the communication control means 202
is a standby session 600 for the shared communication control device 300.
will be established. When the shared communication control device 300 receives this, the standby session opening means 301 maintains control of the session. The standby session opening means 301 controls the standby session 600 regardless of whether the active session 500 is opened or not.

【0024】共有通信制御装置300は稼働ホストコン
ピュータ100を監視しており、これによってシスムテ
停止が検出される場合、もしくは障害検出装置204に
よる稼働ホストコンピュータ100の障害停止検出によ
るオンラインサービスシステム210からの稼働ホスト
コンピュータ100の停止通知を受けた場合、待機セシ
ョン開設手段301は稼働セション500ならびに待機
セション600の開設されていた端末装置800につい
てのみ、セション保持手段302においてセションを保
持する。稼働セション500のない待機セション600
は通信制御手段202に対して待機セション600の障
害切断を、また、待機セション600のない稼働セショ
ン500は端末装置800に対して端末セション700
の障害切断を、それぞれ実施する。
The shared communication control device 300 monitors the operating host computer 100, and when a system stoppage is detected, or when the fault detection device 204 detects a fault stoppage of the operating host computer 100, the shared communication control device 300 monitors the operating host computer 100. When receiving the stoppage notification of the active host computer 100, the standby session opening unit 301 holds the session in the session holding unit 302 only for the terminal device 800 for which the active session 500 and the standby session 600 have been established. 600 standby sessions with no active sessions 500
causes the communication control means 202 to disconnect the standby session 600 due to failure, and the active session 500 without the standby session 600 causes the terminal device 800 to disconnect the terminal session 700.
Disconnect the faults respectively.

【0025】障害検出装置204による稼働ホストコン
ピュータ100の障害停止の検出を切り替え制御手段2
11が行うと、上記システム停止検出を通知したあと、
切り替え制御手段211はオンラインサービスシステム
210が実行中であったオンライントランザクションサ
ービスの引継処理を実行する。この引継処理が終了した
時点において、オンラインサービスシステム210は稼
働システムとしてサービスを再開すべく、切り替え制御
手段211が稼働システム宣言を通信制御手段202に
通知する。通信制御手段202は稼働システム宣言を受
けると、共有通信制御装置300との間で端末セション
700の通信状態の引き継ぎを実施する。セション保持
手段302では待機セション600を稼働セションとし
てみなし、以降待機ホストコンピュータ200は端末セ
ション700を介して送受信できるようにする。
The control means 2 switches the detection of a failure stop of the operating host computer 100 by the failure detection device 204.
11, after notifying the above system stop detection,
The switching control means 211 executes a takeover process of the online transaction service that was being executed by the online service system 210. When this handover process is completed, the switching control means 211 notifies the communication control means 202 of an active system declaration in order to resume the service of the online service system 210 as an active system. When the communication control means 202 receives the operating system declaration, it takes over the communication state of the terminal session 700 with the shared communication control device 300. The session holding unit 302 regards the standby session 600 as an active session, and thereafter allows the standby host computer 200 to perform transmission and reception via the terminal session 700.

【0026】[0026]

【発明の効果】以上説明したように本発明では、複合コ
ンピュータシステムにおいて稼働システム障害停止時の
系切り替え時に、サービスしていた端末のセションを切
断、再接続することなく継続できるため、端末数に依存
しない速やかな系切り替えが実現できる。また、端末の
接続、切断が何度おこなわれても、共有通信制御装置が
障害とならないかぎり、セション状態引き継ぎファイル
には記録されない。このため、有限のセション状態引き
継ぎファイルであっても、端末数分のレコードがあれば
、端末状態の引き継ぎを確実に実行できる。更に、共有
通信制御装置の障害時には、待機セションも切断される
ため、セション引き継ぎ記録をしなくてはならないが、
障害復旧後のセション再開設は、待機システムの監視周
期時間以上待った後で書き込むため、端末状態の引き継
ぎは確実に実現される。
Effects of the Invention As explained above, in the present invention, when a system switchover occurs when an operating system fails in a complex computer system, the sessions of the terminals that were being serviced can be continued without disconnecting and reconnecting, so the number of terminals can be reduced. Quick system switching without dependency can be realized. Furthermore, no matter how many times a terminal is connected or disconnected, it will not be recorded in the session state inheritance file unless the shared communication control device becomes a failure. Therefore, even if the session state inheritance file is limited, as long as there are records for the number of terminals, the terminal state can be carried over reliably. Furthermore, in the event of a failure of the shared communication control device, the standby session will also be disconnected, so it is necessary to record the session takeover.
The re-opening of a session after failure recovery is written after waiting at least the monitoring cycle time of the standby system, so that the terminal state can be reliably inherited.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing one embodiment of the present invention.

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

100    稼働ホストコンピュータ101    
系間通信手段 102    通信制御手段 103    系間通信装置 110    オンラインサービスシステム111  
  起動制御手段 112    セション開設状態記録手段113   
 セション開設手段 114    セション再接続手段 115    端末状態テーブル 200    待機ホストコンピュータ201    
系間通信手段 202    通信制御手段 203    系間通信装置 204    障害検出装置 210    オンラインサービスシステム211  
  切り替え制御手段 212    セション開設状態読み取り手段213 
   セション開設手段 214    待機セションチェック手段215   
 引き継ぎファイル監視手段216    端末状態テ
ーブル 300    稼働/待機共有通信制御装置301  
  待機セション開設手段 302    セション保持手段 400    セション状態引き継ぎファイル800 
   端末装置
100 Operating host computer 101
Intersystem communication means 102 Communication control means 103 Intersystem communication device 110 Online service system 111
Startup control means 112 Session opening state recording means 113
Session opening means 114 Session reconnection means 115 Terminal status table 200 Standby host computer 201
Intersystem communication means 202 Communication control means 203 Intersystem communication device 204 Failure detection device 210 Online service system 211
Switching control means 212 Session opening state reading means 213
Session opening means 214 Standby session checking means 215
Handover file monitoring means 216 Terminal status table 300 Active/standby shared communication control device 301
Standby session opening means 302 Session holding means 400 Session state inheritance file 800
terminal device

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】  稼働コンピュータシステムと同じよう
な装置構成ならびにソフトウェア構成をとった待機シス
テムを予めオンラインサービスが即実行可能な状態で待
機させ、前記稼働コンピュータシステムがオンラインサ
ービスを提供しているときに該コンピュータシステムに
障害が生じた場合、前記待機システムでの運用に切り替
えるようにした複合コンピュータシステムにおいて、前
記稼働コンピュータシステムと待機システムから同一端
末の接続を同時に開設する待機セション開設手段及び前
記稼働コンピュータシステムの障害時にセションを切断
することなく待機システムが運用を開始したときにセシ
ョンを再開させるセション保持手段を有する稼働/待機
共有通信制御装置を備え、前記稼働コンピュータシステ
ムでセション開設時に、待機システムで同一端末に対す
るセションを開設することで、前記共有通信制御装置に
おいて待機セションを生成し、稼働コンピュータシステ
ム障害時に待機システムにおいて系切り替えが生じたこ
とを前記共有通信制御装置に通知することで、保持され
ていたセションを再開させることによって、障害時にセ
ションの切断、再接続を実行することなく高速の系切り
替えを実現することを特徴とする複合コンピュータシス
テム。
Claim 1: A standby system having the same device configuration and software configuration as an operating computer system is placed on standby in advance in a state where online services can be immediately executed, and when the operating computer system is providing online services, In a composite computer system configured to switch to operation in the standby system when a failure occurs in the computer system, a standby session opening means for simultaneously opening a connection to the same terminal from the operating computer system and the standby system, and the operating computer an active/standby shared communication control device having a session holding means for restarting the session when the standby system starts operation without disconnecting the session in the event of a system failure; A standby session is created in the shared communication control device by opening a session for the same terminal, and the standby session is maintained by notifying the shared communication control device that system switching has occurred in the standby system when the operating computer system fails. A complex computer system characterized by realizing high-speed system switching without disconnecting and reconnecting sessions in the event of a failure by restarting sessions that were previously in use.
【請求項2】  請求項1の稼働コンピュータシステム
は、システム起動時の制御を行う起動制御手段と、端末
とのセションを開設するセション開設手段と、セション
開設の情報をセション状態引継ファイルに記録するため
のセション開設状態記録手段とを含むオンラインサービ
スシステムを有することを特徴とする請求項1の複合コ
ンピュータシステム。
[Claim 2] The operating computer system according to claim 1 includes a startup control means for controlling when the system is started, a session opening means for opening a session with a terminal, and recording information about the session opening in a session state inheritance file. 2. The composite computer system according to claim 1, further comprising: an online service system including session opening state recording means for recording session opening status.
【請求項3】  請求項1の待機システムは、稼働コン
ピュータの障害停止を検出する障害検出手段の検出情報
に基づいて系の切り替えを制御する切り替え制御手段と
、端末とのセションを開設するセション開設手段と、セ
ション状態引継ファイルの内容を読み取るセション開設
状態読み取り手段と、稼働コンピュータシステムのセシ
ョン開設を監視するための引継ファイル監視手段とを含
むオンラインサービスシステムを有することを特徴とす
る請求項1の複合コンピュータシステム。
3. The standby system according to claim 1 includes a switching control means for controlling system switching based on detection information of a failure detection means for detecting a failure stop of an operating computer, and a session establishment for opening a session with a terminal. 2. An online service system according to claim 1, comprising: a means for reading a session establishment state, a means for reading a session establishment status for reading the contents of a session status inheritance file, and an inheritance file monitoring means for monitoring session establishment of an operating computer system. complex computer system.
【請求項4】  請求項2のセション状態引き継ぎファ
イル及びセション開設状態記録手段は、稼働セションの
セション属性を記録することのできるセション属性フィ
ールドを含むセション状態引き継ぎファイルと、稼働セ
ションのセション属性を記録するセション属性記録手段
を含むセション開設状態記録手段よりなることを特徴と
する請求項2の複合コンピュータシステム。
4. The session state inheritance file and session establishment state recording means of claim 2 includes a session state inheritance file including a session attribute field capable of recording session attributes of an active session, and a session state inheritance file that records session attributes of an active session. 3. The composite computer system according to claim 2, further comprising session establishment state recording means including session attribute recording means.
【請求項5】  請求項3のセション開設状態読み取り
手段およびセション開設手段は、稼働セションのセショ
ン属性取得手段を含むセション開設状態読み取り手段と
、セション開設時に待機セションのセション属性と引き
継いだ稼働コンピュータシステムの稼働セション属性と
を比較し、双方が異なっていたときに待機セションの開
設を行わないようにチェックする待機セションチェック
手段を含むセション開設手段よりなることを特徴とする
請求項3の複合コンピュータシステム。
[Claim 5] The session opening state reading means and the session opening means of claim 3 include a session opening state reading means including a means for acquiring session attributes of the active session, and an active computer system that takes over the session attributes of the standby session when the session is opened. 4. The composite computer system according to claim 3, further comprising a session opening means including a standby session check means for comparing the attributes of the active session with the attributes of the active session and checking not to open a standby session when the two are different. .
【請求項6】  請求項1の共有通信制御装置は、稼働
セクションの有無に拘らず待機セクションを開設し、こ
れまでにセションを開設した情報をセション状態引き継
ぎファイルに記録したかどうかのセション引き継ぎ履歴
情報を端末状態テーブルに記録することによって、セシ
ョン開設状態の変化量に左右されない状態引き継ぎを実
現することを特徴とする請求項1の複合コンピュータシ
ステム。
[Claim 6] The shared communication control device according to claim 1 establishes a standby section regardless of the presence or absence of an active section, and stores a session inheritance history indicating whether information on session establishments has been recorded in a session state inheritance file. 2. The composite computer system according to claim 1, wherein the information is recorded in a terminal status table to realize status inheritance that is independent of the amount of change in the session establishment status.
【請求項7】  請求項2のオンラインサービスシステ
ムは、共有通信制御装置の障害記録情報と最初のセショ
ン接続事象の記録時刻を記録する引き継ぎ時刻情報とを
記録する端末状態テーブルと、障害後の再接続を前記最
初のセション接続事象の記録時刻から一定時間経ったあ
とで行わせるセション再接続手段とを有することを特徴
とする請求項2の複合コンピュータシステム。
7. The online service system according to claim 2 includes a terminal state table that records fault record information of the shared communication control device and handover time information that records the recording time of the first session connection event, and 3. The composite computer system according to claim 2, further comprising session reconnection means for causing the connection to be established after a predetermined period of time has elapsed from the recording time of the first session connection event.
JP3014986A 1991-01-16 1991-01-16 Compound computer system Expired - Lifetime JP2776442B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3014986A JP2776442B2 (en) 1991-01-16 1991-01-16 Compound computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3014986A JP2776442B2 (en) 1991-01-16 1991-01-16 Compound computer system

Publications (2)

Publication Number Publication Date
JPH04242467A true JPH04242467A (en) 1992-08-31
JP2776442B2 JP2776442B2 (en) 1998-07-16

Family

ID=11876277

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3014986A Expired - Lifetime JP2776442B2 (en) 1991-01-16 1991-01-16 Compound computer system

Country Status (1)

Country Link
JP (1) JP2776442B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0764813A (en) * 1993-08-24 1995-03-10 Nec Corp Batch processing restart system for hot standby system
WO2010064653A1 (en) * 2008-12-04 2010-06-10 株式会社ソニー・コンピュータエンタテインメント Virtual space management system
US8332499B2 (en) 2008-12-04 2012-12-11 Sony Computer Entertainment Inc. Virtual space management system
CN103309838A (en) * 2012-03-16 2013-09-18 联想(北京)有限公司 Switching method of information acquisition equipment, terminal equipment and multi-terminal equipment system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0764813A (en) * 1993-08-24 1995-03-10 Nec Corp Batch processing restart system for hot standby system
WO2010064653A1 (en) * 2008-12-04 2010-06-10 株式会社ソニー・コンピュータエンタテインメント Virtual space management system
US8332499B2 (en) 2008-12-04 2012-12-11 Sony Computer Entertainment Inc. Virtual space management system
JP5363505B2 (en) * 2008-12-04 2013-12-11 株式会社ソニー・コンピュータエンタテインメント Virtual space management system
CN103309838A (en) * 2012-03-16 2013-09-18 联想(北京)有限公司 Switching method of information acquisition equipment, terminal equipment and multi-terminal equipment system
CN103309838B (en) * 2012-03-16 2018-02-27 联想(北京)有限公司 Switching method, terminal device and the multi-terminal equipment system of information collecting device

Also Published As

Publication number Publication date
JP2776442B2 (en) 1998-07-16

Similar Documents

Publication Publication Date Title
US5027269A (en) Method and apparatus for providing continuous availability of applications in a computer network
EP0950955B1 (en) Method and apparatus for correct and complete transactions in a fault tolerant distributed database system
KR100411978B1 (en) Fault tolerant system and duplication method thereof
JPH04217136A (en) Data integrity assurance system
JPH03164837A (en) Spare switching system for communication control processor
JPH04242467A (en) Combined computer system
JP2773424B2 (en) Network system and connection computer switching method
KR20030048503A (en) Communication system and method for data synchronization of duplexing server
JP2513127B2 (en) Hot standby high-speed switching system
JP2003006018A (en) System, method for restoring processing request, client device and server device
JP3420919B2 (en) Information processing device
JP4128667B2 (en) Information backup system
JPH07182297A (en) Server/client type network system
JPH03111954A (en) On-line system
JPH04102152A (en) Virtual line communication system
JPS62120142A (en) On-line control system
JPH04262428A (en) Hot standby system
JPH0355648A (en) Computer system
JPH0355647A (en) Computer system
JPH0433036A (en) Data processing system
JPH11143848A (en) Maintaining method of distribued information processing system
JPH0390950A (en) Terminal reconnection device
JP2889888B2 (en) Communication processing device
JPH09160875A (en) Multi-agent mutual back-up system
JP2926867B2 (en) Fault monitoring method for local area network

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090501

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100501

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110501

Year of fee payment: 13