JP2009205428A - Redundant information-processing system, method of normally switching host unit, and program therefor - Google Patents

Redundant information-processing system, method of normally switching host unit, and program therefor Download PDF

Info

Publication number
JP2009205428A
JP2009205428A JP2008046904A JP2008046904A JP2009205428A JP 2009205428 A JP2009205428 A JP 2009205428A JP 2008046904 A JP2008046904 A JP 2008046904A JP 2008046904 A JP2008046904 A JP 2008046904A JP 2009205428 A JP2009205428 A JP 2009205428A
Authority
JP
Japan
Prior art keywords
unit
memory
switching
host
memory unit
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.)
Withdrawn
Application number
JP2008046904A
Other languages
Japanese (ja)
Inventor
Tetsuya Morita
哲也 森田
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 Saitama Ltd
Original Assignee
NEC Saitama Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Saitama Ltd filed Critical NEC Saitama Ltd
Priority to JP2008046904A priority Critical patent/JP2009205428A/en
Publication of JP2009205428A publication Critical patent/JP2009205428A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a highly reliable redundant information-processing system which effectively prevents a system failure due to incorrect data written into a shared memory when an active host unit and a stand-by host unit are forcibly switched. <P>SOLUTION: The redundant information-processing system is provided with: an active host unit 1 and a stand-by host unit 2 which can be mutually switched; a shared memory part 3 connected to the host units 1, 2 so as to be available; and a shared bus 103 which connects the parts. In addition, the shared memory part 3 has the first and second memory parts 6, 7, which store the same write information from the active host unit 1, and a delay control part 5 which is connected to an input stage of the second memory part 7 and delays the write information by a delay time. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、冗長構成情報処理システム等に係り、特に、信頼性を高めた冗長構成の情報処理システム、ホストユニット切替え正常化方法、及びそのプログラムに関する。   The present invention relates to a redundant configuration information processing system, and more particularly to a redundant configuration information processing system with improved reliability, a host unit switching normalization method, and a program thereof.

情報処理システムの信頼性や可用性を高めるための基本技術としてシステム構成要素の冗長構成が広く知られている(例えば、特許文献1,2)。冗長構成にも様々な形態があるが、ここで対象とするのは、図6に示すようにプロセッサ(以下、CPU(Central Processing Unit )と称す)を搭載したホストユニット100,200が運用系および待機系の冗長構成を成し、これに共通バス1030でつながれた共通メモリ部300を備えた構成の情報処理システムである。   A redundant configuration of system components is widely known as a basic technique for increasing the reliability and availability of an information processing system (for example, Patent Documents 1 and 2). Although there are various forms of redundant configurations, the target here is that host units 100 and 200 equipped with processors (hereinafter referred to as CPU (Central Processing Unit)) as shown in FIG. This is an information processing system having a redundant configuration of a standby system and having a common memory unit 300 connected thereto by a common bus 1030.

上記図6に示す構成の情報処理システムにおいては、ホストユニット100が運用状態、ホストユニット200が待機状態であるとした場合、ホストユニット100は情報処理システムとして機能させるためのデータを共通バス1030を介して共通メモリ部300への書き込み/読み出しを行う。   In the information processing system having the configuration shown in FIG. 6, when the host unit 100 is in the operating state and the host unit 200 is in the standby state, the host unit 100 transmits data for functioning as the information processing system to the common bus 1030. The common memory unit 300 is written to / read from.

この図6に示すシステムにおいてオペレータ(保守者)により通常保守等のためのホストユニット100,200間の正規の系切替え制御が実行される場合には、ホストユニット100のソフトウェアは実行途中の処理が完了するのを待ち、切替信号1010によりホストユニット200に対して、自系が待機となることを通知し、待機状態であったホストユニット200は切替信号1020により運用状態に遷移したことをホストユニット100へ通知する。これにより、ソフトウェアが介在した正規の系切替え手順に従った系切替えが完了する。   In the system shown in FIG. 6, when the normal system switching control between the host units 100 and 200 for normal maintenance or the like is executed by an operator (maintenance person), the software of the host unit 100 performs processing in the middle of execution. Waiting for completion, the host unit 200 is notified by the switching signal 1010 that the host system is in a standby state, and the host unit 200 that has been in the standby state indicates that it has transitioned to the operating state by the switching signal 1020. 100 is notified. Thereby, the system switching according to the regular system switching procedure with software interposed is completed.

一方、運用系ホストユニット100にハードウェア障害が発生した場合や強制リセットによる強制的系切替の場合にも、切替信号1010により自系が運用できない状態となったことをホストユニット200に対して通知し、待機状態であったホストユニット200は運用状態に遷移する。しかし、この場合の切替信号1010は、正規の系切り替えの場合と違って、実行中の処理に関係無く強制的系切替えを行なう構成となっている。
特開2006−268596号公報 特開2007−274255号公報
On the other hand, even when a hardware failure occurs in the active host unit 100 or in the case of forced system switching by forced reset, the host unit 200 is notified by the switching signal 1010 that the local system has become inoperable. Then, the host unit 200 that has been in the standby state transitions to the operation state. However, the switching signal 1010 in this case is configured to perform forced system switching regardless of the processing being executed, unlike the case of regular system switching.
JP 2006-268596 A JP 2007-274255 A

上述した背景技術におけるホストユニットの強制的系切替えには次のような不都合があった。即ち、この場合、図7のタイミングチャート図に示すように、実行中の処理に関係無く強制的系切替えが行われるが、そのため、この切替時にホストユニット100が共通メモリ部300に対する書き込みバスアクセスを実行中であれば、共通バス1030上のバスアクセスは中断され、そのアドレスのデータは不正データに書き変わってしまう恐れがあった。   The forcible system switching of the host unit in the background art described above has the following disadvantages. That is, in this case, as shown in the timing chart of FIG. 7, forced system switching is performed regardless of the processing being executed. Therefore, at this switching, the host unit 100 performs write bus access to the common memory unit 300. If it is being executed, the bus access on the common bus 1030 is interrupted, and there is a possibility that the data at that address may be rewritten as illegal data.

又、系切替えによって新たに運用系となったホストユニット200が、ホストユニット100の処理を引き継ぎ前記アドレスのデータを使用した場合には、不正データであるためにホストユニット200も障害に至り、システムダウンに陥る可能があるという不都合があった。   In addition, when the host unit 200 which has become a new active system by switching the system takes over the processing of the host unit 100 and uses the data of the address, the host unit 200 also fails because the data is invalid data. There was an inconvenience that could go down.

〔発明の目的〕
本発明は、上記問題に鑑み、強制的系切替えによって派生する不正データが共通メモリ部に書込まれても、切り替えられた運用系ではその不正データを関与することなく回避してシステムの障害発生を未然に防ぐことを可能とした信頼性の高い冗長構成の情報処理システム、ホストユニット切替え正常化方法、及びそのプログラムを提供することを、その目的とする。
(Object of invention)
In view of the above problems, the present invention avoids unauthorized data derived from forced system switching in the common memory unit without causing the unauthorized data to be involved in the switched operation system, thereby causing a system failure. It is an object of the present invention to provide a highly reliable redundant information processing system, a host unit switching normalization method, and a program therefor that can prevent the above problem.

上記目的を達成するため、本発明に係る冗長構成の情報処理システムは、相互に切替え可能に構成された運用系および待機系の各ホストユニットと、この各ホストユニットが利用可能に連結された共通メモリ部と、これら各部を結ぶ共通バスとを備えて成る冗長構成の情報処理システムであって、前記共通メモリ部が、前記運用系ホストユニットからの同一の書き込み情報を記憶する第1および第2のメモリ部と、前記第2のメモリ部の入力段に連結され前記書き込み情報を予め設定された遅延時間だけ遅らせる遅延制御部とを有することを特徴とする。   In order to achieve the above object, an information processing system having a redundant configuration according to the present invention includes a host unit for an active system and a standby system configured to be switchable with each other, and a common unit in which each host unit is connected to be usable. A redundant information processing system including a memory unit and a common bus connecting these units, wherein the common memory unit stores the same write information from the active host unit. And a delay control unit connected to the input stage of the second memory unit and delaying the write information by a preset delay time.

又、上記目的を達成するため、本発明に係るホストユニット切替え正常化方法は、相互に切替え可能に構成された運用系および待機系の各ホストユニットと、この各ホストユニットと共通バスを介して接続され前記運用系ホストユニットからの書き込みアクセスを実行する第1メモリ部および第2メモリ部とを備えて成る共通メモリ部を有する冗長構成の情報処理システムにあって、前記ホストユニットの切替え時に前記共通メモリ部に留められる不正データに起因したシステムの障害発生を回避するためのホストユニット切替え正常化方法であって、前述した運用系ホストユニットが動作中にあっては前記第2メモリ部への書き込みバスアクセスを前記第1メモリ部における書き込みバスアクセスの実行から予め設定された遅延時間を経て実行される遅延書込み工程と、前記運用系ホストユニットから出力される系切替信号によって当該運用系ホストユニットと待機系ホストユニットとを相互に切替えるホストユニット切替工程と、このホストユニット切替工程後であって前記第2メモリ部への書き込みバスアクセスの動作完了後に、当該第2メモリ部が現用メモリとして読み書きバスアクセスを即時に実行すると共に、前記第1メモリ部が予備メモリとして前記予め設定された遅延時間を経て書き込みバスアクセスを実行するようにしたメモリ切替工程と、を備えていることを特徴とする。   In order to achieve the above object, the host unit switching normalization method according to the present invention includes a host unit of an operation system and a standby system configured to be switchable with each other, and each host unit via a common bus. In a redundant information processing system having a common memory unit comprising a first memory unit and a second memory unit that are connected and execute write access from the active host unit, the host unit is switched when the host unit is switched. A host unit switching normalization method for avoiding a system failure caused by illegal data held in a common memory unit, wherein when the above-mentioned active host unit is operating, Write bus access after a predetermined delay time from execution of write bus access in the first memory unit A delayed write process, a host unit switching process for switching the active host unit and the standby host unit to each other by a system switching signal output from the active host unit, and after the host unit switching process. After the write bus access operation to the second memory unit is completed, the second memory unit immediately executes read / write bus access as a working memory, and the first memory unit serves as a spare memory and the preset delay. And a memory switching step for executing write bus access over time.

更に、上記目的を達成するため、本発明に係るホストユニット切替え正常化プログラムは、相互に切替え可能に構成された運用系および待機系の各ホストユニットと、この各ホストユニットと共通バスを介して接続され前記運用系ホストユニットからの書き込みアクセスを実行する第1メモリ部および第2メモリ部とを備えて成る共通メモリ部を有する冗長構成の情報処理システムにあって、前記ホストユニットの切替え時に前記共通メモリ部に留められる不正データに起因したシステムの障害発生を回避するためのである。   Furthermore, in order to achieve the above object, the host unit switching normalization program according to the present invention includes each host unit of the active system and the standby system configured to be mutually switchable via each host unit and a common bus. In a redundant information processing system having a common memory unit comprising a first memory unit and a second memory unit that are connected and execute write access from the active host unit, the host unit is switched when the host unit is switched. This is to avoid the occurrence of a system failure caused by illegal data held in the common memory unit.

そして、このホストユニット切替え正常化プログラムは、前述した運用系ホストユニットが動作中にあっては、前記第2メモリ部への書き込みバスアクセスが前記第1メモリ部における書き込みバスアクセスの実行から予め設定された遅延時間を経て当該第2メモリ部で実行されるのを許容する遅延書き込み処理、 前記運用系ホストユニットと待機系ホストユニットとが相互に切替えられた場合に当該切替え情報に基づいて前記共通メモリ部の第2のメモリ部に設定されている遅延時間の設定を切替え後の前記待機系ホストユニットに対応する予備メモリとしての前記第1のメモリ部に切替える遅延時間切替え処理、および前記ホストユニット切替後であって前記第2メモリ部への書き込みバスアクセスの動作完了後に当該第2メモリ部が現用メモリとして読み書きバスアクセスを即時に実行すると共に前記第1メモリ部が予備メモリとして前記予め設定された遅延時間を経て書き込みバスアクセスを実行するようにしたメモリ切替接続処理、を前記バス切替え制御部が備えているコンピュータに実行させるようにしたことを特徴とする。   The host unit switching normalization program sets the write bus access to the second memory unit in advance from the execution of the write bus access in the first memory unit when the above-described active host unit is operating. Delayed write processing that is allowed to be executed in the second memory unit after a specified delay time, and the common based on the switching information when the active host unit and the standby host unit are switched to each other A delay time switching process for switching to the first memory unit as a spare memory corresponding to the standby host unit after switching the setting of the delay time set in the second memory unit of the memory unit; and the host unit After the switching, after the completion of the write bus access operation to the second memory unit, the second memory unit A memory switching connection process in which a read / write bus access is immediately executed as a memory and the first memory unit executes a write bus access after a preset delay time as a spare memory; It is made to run on the computer with which it is equipped.

本発明は以上のように構成したので、これによると、障害等により運用系ホストユニットの強制的系切替えにより派生する不正データが共通メモリ部内のメモリ部に書込まれても、予め装備された遅延制御部が有効に機能して前記強制切替えで新たに設定された運用系ホストユニットに対応するメモリ部には不正データが存在しないようになし得るので、切り替えられた運用系ではその不正データに関与することがなく、従って障害発生を未然に防ぐことができるという従来にない優れた信頼性の高い冗長構成の情報処理システム、ホストユニット切替え正常化方法、及びそのプログラムを提供することができる。   Since the present invention is configured as described above, according to this, even if illegal data derived by forced system switching of the operating system host unit due to a failure or the like is written in the memory unit in the common memory unit, it is installed in advance. Since the delay control unit functions effectively and the memory unit corresponding to the active host unit newly set by the forcible switching can be configured so that there is no invalid data, It is possible to provide an unprecedented and highly reliable redundant information processing system, a host unit switching normalization method, and a program thereof that are not involved and therefore can prevent a failure from occurring.

〔第1の実施形態〕
以下、本発明の第1実施形態を図1乃至図4に基づいて説明する。
ここで、本第1実施形態にかかる冗長構成の情報処理システムの全体的なブロック構成を図2に示す。又、本第1実施形態の中心的内容である共通メモリ部の内部構成を図1に示す。
ここで、この第1実施形態では最初に本発明にかかる冗長構成の情報処理システムにつき、その基本的な構成内容を説明し、続いてその具体的な内容をその動作とともに説明する。
[First Embodiment]
Hereinafter, a first embodiment of the present invention will be described with reference to FIGS.
Here, FIG. 2 shows an overall block configuration of the redundant information processing system according to the first embodiment. FIG. 1 shows the internal configuration of the common memory unit, which is the central content of the first embodiment.
Here, in the first embodiment, the basic configuration contents of the redundant information processing system according to the present invention will be described first, and then the specific contents thereof will be described together with the operation thereof.

まず、図1乃至図2に示す冗長構成の情報処理システムは、相互に切替え可能に構成された運用系および待機系の各ホストユニット1,2と、この各ホストユニット1,2に対して利用可能に連結された共通メモリ部3と、これら各部を結ぶ共通バス103とを備えている。   First, the redundant information processing system shown in FIGS. 1 and 2 is used for each of the active and standby host units 1 and 2 configured to be mutually switchable, and the host units 1 and 2. A common memory unit 3 that is connected to each other and a common bus 103 that connects these units are provided.

この内、前記共通メモリ部3は、前記運用系ホストユニット1からの同一の書き込み情報を記憶する第1のメモリ部6(現用メモリ)および第2のメモリ部(予備メモリ)7と、この第1乃至第2の各メモリ部7の入力段に装備され予備メモリとして機能する何れか一方のメモリ部(本実施形態では切替え前は第2のメモリ部7、切替え後は第1のメモリ部6)に前記書き込み情報を予め設定された遅延時間だけ遅らせる遅延制御部5とを備えている。
このため、障害等により運用系ホストユニット1の強制的系切替えにより派生する不正データが共通メモリ部3内のメモリ部6,7に書込まれても、予め装備された遅延制御部5が有効に機能して前記強制切替えで新たに設定された運用系ホストユニットに対応するメモリ部7には不正データが存在しないようになし得るので、切り替えられた運用系ホストユニットではその不正データに関与することがなく、従って障害発生を未然に防ぐことが可能となる。
Among these, the common memory unit 3 includes a first memory unit 6 (active memory) and a second memory unit (spare memory) 7 that store the same write information from the active host unit 1, Any one of the memory units installed in the input stage of each of the first to second memory units 7 and functioning as a spare memory (in this embodiment, the second memory unit 7 before switching and the first memory unit 6 after switching) And a delay control unit 5 that delays the write information by a preset delay time.
For this reason, even if invalid data derived from forced system switching of the active host unit 1 due to a failure or the like is written to the memory units 6 and 7 in the common memory unit 3, the pre-equipped delay control unit 5 is effective. The memory unit 7 corresponding to the active host unit newly set by the forcible switching can prevent the illegal data from being present, and the switched active host unit is involved in the illegal data. Therefore, it is possible to prevent a failure from occurring.

前記遅延制御部5は、共通バス103を介して前記運用系ホストユニット1からの書き込みバスアクセスを入力し、これによって成される前記第1メモリ部(現用メモリとして機能する)6の記憶動作の実行タイミングを捕捉し、当該タイミングに合わせて前記遅延時間を設定するようになっている。符号202は遅延バスを示す。この設定される遅延時間は、本実施形態ではバスアクセス単位に設定されているが、或いはその2倍以上の整数倍の何れかに設定する構成としてもよい。   The delay control unit 5 inputs a write bus access from the active host unit 1 via the common bus 103, and performs a storage operation of the first memory unit (functioning as a working memory) 6 formed thereby. The execution timing is captured, and the delay time is set in accordance with the timing. Reference numeral 202 denotes a delay bus. In this embodiment, the set delay time is set for each bus access unit, or may be set to any integer multiple of twice or more.

ここで、本第1実施形態では、前述した待機系ホストユニット2が運用系ホストユニットに切り替えられた場合、これに対応して前記共通メモリ部3の前記遅延制御部5による遅延制御の対象が、原則として、前記第2のメモリ部7から第1のメモリ部6へ切り替えられるようになっている。   Here, in the first embodiment, when the standby host unit 2 described above is switched to the active host unit, the delay control target by the delay control unit 5 of the common memory unit 3 is corresponding to this. In principle, the second memory unit 7 can be switched to the first memory unit 6.

前述した共通メモリ部3は、前記共通バス103を介して運用系ホストユニット1から送り込まれる書き込みバスアクセスをそのまま直接に又は前記遅延制御部5を介して対応する前記第1,第2の各メモリ部6,7へ送り込むメモリ切替え機構30と、このメモリ切替え機構30の切替え動作を制御するバス切替え制御部4とを備えている。   The common memory unit 3 described above corresponds to each of the first and second memories corresponding to the write bus access sent from the active host unit 1 via the common bus 103 directly or via the delay control unit 5. The memory switching mechanism 30 for sending to the units 6 and 7 and the bus switching control unit 4 for controlling the switching operation of the memory switching mechanism 30 are provided.

そして、このバス切替え制御部4が、前記運用系ホストユニット1又は切替え後の運用系ホストユニットから送り込まれる書き込みバスアクセスおよび切替え信号に基づいて作動し前記メモリ切替え機構30を介して前記第1,第2の各メモリ部6,7を運用系又は待機系のホストユニット用として選択設定するように構成されている。   The bus switching control unit 4 operates based on the write bus access and switching signal sent from the operating host unit 1 or the switched operating host unit and operates through the memory switching mechanism 30 to perform the first, first, and second switching operations. Each of the second memory units 6 and 7 is configured to be selectively set for an active or standby host unit.

前述したバス切替え制御部4は、前記運用系ホストユニット1の事故による強制的な系切替によって、待機系ホストユニット2が運用系ホストユニットとして切替えられた場合には、当該系切替えにより中断された前記第1のメモリ6への書き込み中の書き込みバスアクセスが前記第2メモリ部7へ継続して入力されるのを前記メモリ切替え機構30を介して阻止する機能を備えている。   When the standby host unit 2 is switched as the active host unit due to the forced system switching due to the accident of the active host unit 1, the bus switching control unit 4 is interrupted by the system switching. It has a function of blocking, via the memory switching mechanism 30, that a write bus access during writing to the first memory 6 is continuously input to the second memory unit 7.

又、前述した共通メモリ部3のバス切替え制御部4は、強制的切替により運用系と待機系の各ホストユニット1,2が切り替わった場合には、前記第2メモリ部7への書き込みバスアクセスが完了後に前記第1メモリ部6と第2メモリ部7の役割を切り替える機能を有している。そして、このバス切替え制御部4による役割の切り替えと同時に、前記第2メモリ部7は、前記運用系ホストユニットから送り込まれる読み書きバスアクセスを現用メモリとして即時に実行可能とすると共に、前記第1メモリ部6は予備メモリとして前記予め設定された遅延時間を経て送り込まれる書き込みバスアクセスを実行可能な構成となっている。   The bus switching control unit 4 of the common memory unit 3 described above writes the bus access to the second memory unit 7 when the active and standby host units 1 and 2 are switched by forced switching. Has a function of switching the roles of the first memory unit 6 and the second memory unit 7 after the completion of the process. Simultaneously with the role switching by the bus switching control unit 4, the second memory unit 7 can immediately execute the read / write bus access sent from the operational host unit as a working memory and the first memory. The unit 6 has a configuration capable of executing a write bus access sent through the preset delay time as a spare memory.

更に、このバス切替え制御部4は、前記強制的系切替により待機系ホストユニット2が運用系ホストユニットに切替えられた場合で、前記共通バス103上に書き込みバスアクセスが無かった場合には、前記第1,第2の各メモリ部6,7の切り替えは実行されず、そのまま維持されるようになっている。書き込みバスアクセスが無い場合には前述した不正データは発生してないため、無駄な動作および制御を排除し、データ処理の迅速化を図るためである。   Further, the bus switching control unit 4 is configured such that when the standby host unit 2 is switched to the active host unit by the forced system switching and there is no write bus access on the common bus 103, the bus switching control unit 4 Switching between the first and second memory units 6 and 7 is not executed and is maintained as it is. This is because when there is no write bus access, the above-described illegal data does not occur, so that unnecessary operations and controls are eliminated and data processing is speeded up.

ここで、前述したメモリ切替え機構30は、具体的には後述するように、前記共通バス103に連通され且つ前記各メモリ部6,7に個別に対応して装備され当該各メモリ部6,7への書き込み/読み出しを許容し又は阻止する双方向バッファ8,9と、前記遅延制御部5と前記各メモリ部6,7との間に当該各メモリ部6,7に対応して装備され当該各メモリ部6,7への書き込みを許容し又は阻止する片方向バッファ10,11とを備えて構成されている。これにより、予備メモリとしての各メモリ部7又は6に所定時間(例えば単位バスアクセス分)遅延されて当該各メモリ部7又は6に送り込まれ、結果的に不正データが送り込まれない状態となっている(即ち、予備メモリ側では、不正データの記憶動作が有効に阻止さる)。   Here, the memory switching mechanism 30 described above is specifically connected to the common bus 103 and individually provided for each of the memory units 6 and 7, as will be described later. Bidirectional buffers 8 and 9 that allow or prevent writing / reading to / from the memory, and between the delay control unit 5 and the memory units 6 and 7 are provided corresponding to the memory units 6 and 7, respectively. One-way buffers 10 and 11 that allow or block writing to the memory units 6 and 7 are provided. As a result, each memory unit 7 or 6 as a spare memory is delayed by a predetermined time (for example, unit bus access) and sent to each memory unit 7 or 6, resulting in a state where illegal data is not sent. (In other words, illegal data storage operation is effectively prevented on the spare memory side).

そして、前述したホストユニット系強制切替信号によって運用系ホストユニット1が待機系システムに切替わるとき、この系切替によってバスアクセスが中断されるが、この際に不正書き込みされた状態の前記共通メモリ部3の不正対象データは、各ホストユニット1又は2が運用系となった場合に当該運用系ホストユニット1又は2が本来的に備えている不正データ排除機能によって、排除されるように構成されている。   When the active host unit 1 is switched to the standby system by the host unit system forcible switching signal described above, the bus access is interrupted by this system switching. 3 is configured such that when each host unit 1 or 2 becomes an active system, it is excluded by the illegal data exclusion function that is inherently provided in the active host unit 1 or 2. Yes.

以下、これを更に詳述する。
前述したように、本第1実施形態における冗長構成情報処理システムは、プロセッサを搭載するホストユニット1,2が運用系と待機系の冗長構成を成し、ホストユニット1及び2は共通バス103を介してデータの書き込み及び読み出しを行う共通メモリ部3と接続されている。更に、ホストユニット1とホストユニット2の系切り替えを制御する切替信号101及び102は、ホストユニット1,2間に配線された信号線を介してそれぞれ相手方のホストユニット2,1に向けて送り込まれるようになっており、同時に共通メモリ部3へも入力されるようになっている。
This will be described in detail below.
As described above, in the redundant configuration information processing system according to the first embodiment, the host units 1 and 2 on which the processors are mounted have a redundant configuration of the active system and the standby system, and the host units 1 and 2 have the common bus 103. And a common memory unit 3 for writing and reading data. Further, the switching signals 101 and 102 for controlling the system switching between the host unit 1 and the host unit 2 are sent to the other host units 2 and 1 through signal lines wired between the host units 1 and 2, respectively. At the same time, it is also input to the common memory unit 3.

このため、本第1実施形態における冗長構成の情報処理システムでは、この共通メモリ部3への切替信号101及び102により、障害等によりホストユニット1,2の間の系切り替えが実行されると、共通メモリ部3においても、その内部でメモリ切り替えが行われ、後述するように系切替え時に書き込まれる可能性のある不正データを回避して正常化が図られ、これにより正常運転を続けることが可能な構成となっている。   Therefore, in the redundant information processing system according to the first embodiment, when the system switching between the host units 1 and 2 is executed due to a failure or the like by the switching signals 101 and 102 to the common memory unit 3, In the common memory unit 3 as well, memory switching is performed within the common memory unit 3 and normalization is avoided by avoiding illegal data that may be written at the time of system switching, as will be described later, thereby allowing normal operation to continue. It has become a structure.

次に、上述した共通メモリ部3の内部構成を、更に詳述する。
この共通メモリ部3は、図1に示すように、第1及び第2の各メモリ部6,7と、共通バス103上の信号を一定時間遅延させて遅延バス202に供給する遅延制御部5と、共通バス103と前記第1,第2の各メモリ部6,7とを個別に連結する双方向バッファ8,9と、前記遅延バス202と前記各メモリ部6,7とを個別に連結する片方向バッファ10,11と、これら各バッファ8,9,10,11を通じてホストユニット1及び2の切り替えに対応してメモリ部6,7を切り替え制御を行うバス切替え制御部4とを備えて構成されている。ここで、各バッファ8乃至11によって、前述したようにメモリ切替え機構30が構成されている。
Next, the internal configuration of the common memory unit 3 described above will be described in further detail.
As shown in FIG. 1, the common memory unit 3 includes first and second memory units 6 and 7, and a delay control unit 5 that delays a signal on the common bus 103 and supplies the signal to the delay bus 202. And bi-directional buffers 8 and 9 for individually connecting the common bus 103 and the first and second memory units 6 and 7, respectively, and the delay bus 202 and the memory units 6 and 7 are individually connected. Unidirectional buffers 10 and 11, and a bus switching control unit 4 that performs switching control of the memory units 6 and 7 in response to switching of the host units 1 and 2 through the buffers 8, 9, 10, and 11, respectively. It is configured. Here, the memory switching mechanism 30 is configured by the buffers 8 to 11 as described above.

通常バス201は共通バス103上のバスアクセスをそのまま中継するバスであり、遅延バス202は、遅延制御部5によって共通バス103上のバスアクセスを一時保持し、読み出しバスアクセスは中継せず、書き込みバスアクセスを1バスサイクル遅延させたバスサイクルとして中継するバスである。
この遅延バス202による1バスサイクル遅延させた第2メモリ部(予備メモリ)7への書き込みによって、系切替による第1メモリ部(現用メモリ)6への書き込み中断により生じる不正データの影響を後述するように無くすることが可能となっている。
The normal bus 201 is a bus that relays the bus access on the common bus 103 as it is, and the delay bus 202 temporarily holds the bus access on the common bus 103 by the delay control unit 5, and the read bus access is not relayed but written This bus relays bus access as a bus cycle delayed by one bus cycle.
The influence of illegal data caused by interruption of writing to the first memory unit (active memory) 6 due to system switching due to writing to the second memory unit (reserved memory) 7 delayed by one bus cycle by the delay bus 202 will be described later. It can be eliminated.

バス切替え制御部4は、第1,第2の各メモリ部6,7の現用メモリと予備メモリの役割を切り替える機能を担っている。このバス切替え制御部4は、ホストユニット1又は2から出力される切替信号101,102及び共通バス103上のバスアクセス転送方向(書き込み又は読み出し)を監視し、書き込みアクセス中のホストユニットの系切り替えを検出すると、バッファ8〜11を制御し、通常バス201および遅延バス202に対するメモリ部6、メモリ部7の接続組み合わせを切り替える。   The bus switching control unit 4 has a function of switching the roles of the current memory and the spare memory of the first and second memory units 6 and 7. This bus switching control unit 4 monitors the switching signals 101 and 102 output from the host unit 1 or 2 and the bus access transfer direction (write or read) on the common bus 103, and switches the host unit during write access. Is detected, the buffers 8 to 11 are controlled to switch the connection combination of the memory unit 6 and the memory unit 7 to the normal bus 201 and the delay bus 202.

これにより、ホストユニット1,2の系切替えに対応して、共通メモリ部3の内部でも第1,第2のメモリ部(現用,予備メモリ部)6,7の切替が成され、元現用メモリ部6に書き込まれた可能性のある不正データを回避して正常な運用を継続できる。   Thus, in response to the system switching of the host units 1 and 2, the first and second memory units (current and spare memory units) 6 and 7 are switched within the common memory unit 3. Normal operation can be continued by avoiding illegal data that may have been written to the unit 6.

上記メモリ切替え機構30を、更に詳述する。
ホストユニット1が運用系の場合、第1メモリ部6を現用メモリとして動作させ、即時読み出し書き込みを行うため、制御信号s8によって双方向バッファ8を動作状態(イネーブル)として通常バス201上の信号を通過させる構成となっている。このとき、片方向バッファ10は制御信号s10によって非動作状態(ディセーブル)にされ閉塞されている。
The memory switching mechanism 30 will be described in further detail.
When the host unit 1 is an active system, the first memory unit 6 is operated as a working memory, and immediate reading and writing are performed. Therefore, the bidirectional buffer 8 is set in an operational state (enabled) by a control signal s8 and a signal on the normal bus 201 is transmitted. It is configured to pass through. At this time, the one-way buffer 10 is closed (disabled) by the control signal s10.

一方、予備メモリとして動作させられる第2メモリ部7は、双方向バッファ9が制御信号s9によって非動作状態にされて閉塞され、通常バス201とは切り離されるが、片方向バッファ11は制御信号s11によって動作状態にされ遅延バス202上の1バスサイクル遅延した信号を書き込む動作を行なえる構成となっている。
この1バスサイクル遅延した信号を書き込む動作によって、例え、現用メモリ6の書き込み動作途中に系切替が発生し、現用メモリ6に異常データが書き込まれても、予備メモリ7の書き込みは1サイクル遅れているので異常データが書き込まれることはない。
On the other hand, in the second memory unit 7 operated as a spare memory, the bidirectional buffer 9 is closed by the non-operation state by the control signal s9 and is disconnected from the normal bus 201, but the one-way buffer 11 is controlled by the control signal s11. In this configuration, the operation of writing a signal delayed by one bus cycle on the delay bus 202 can be performed.
By this operation of writing a signal delayed by one bus cycle, even if system switching occurs during the writing operation of the current memory 6 and abnormal data is written to the current memory 6, the writing of the spare memory 7 is delayed by one cycle. Therefore, abnormal data is never written.

そして、系切替信号によって、ホストユニットの切替が運用系から待機系へ行われると、それに対応してこれまで現用メモリであった第1メモリ部6は予備へ、予備メモリであった第2メモリ部7は現用メモリへ切り替えられる構成となっている。   Then, when the host unit is switched from the active system to the standby system by the system switching signal, the first memory unit 6 that has been the current memory until now corresponds to the spare, and the second memory that has been the spare memory. The unit 7 is configured to be switched to the working memory.

即ち、現用メモリであった第1メモリ部6では、動作状態の双方向バッファ8が制御信号s8により閉塞され、非動作状態であった片方向バッファ10が制御信号s10により動作状態になり、遅延バス202上の遅延信号を書き込むという予備メモリになる。
一方、予備メモリであった第2メモリ部7では、バスサイクルが完了するのを待って、動作状態の片方向バッファ11は制御信号s11によって非動作状態となり閉塞され、閉塞されていた双方向バッファ9が制御信号s9によって動作状態になり通常バス201とつながれ現用メモリとして動作するよう構成されている。
That is, in the first memory unit 6 that is the active memory, the bidirectional buffer 8 in the operating state is blocked by the control signal s8, and the one-way buffer 10 that has been in the non-operating state is set in the operating state by the control signal s10. It becomes a spare memory for writing a delay signal on the bus 202.
On the other hand, in the second memory unit 7 that is a spare memory, the unidirectional buffer 11 in the operating state waits for the completion of the bus cycle and is closed by the control signal s11 to be inactive and closed. 9 is activated by a control signal s9 and is connected to the normal bus 201 to operate as a working memory.

そして、上述したような双方向バッファ8,9、片方向バッファ10,11の動作、非動作状態を制御する信号s8〜s11を作っているのがバス制御部4である。
尚、系切替が生じてホストユニット1が待機系に切り替わったとしても、現用のメモリ部6において書き込み動作を実施していなければ、不正データを書き込むこともないので、上述したようなメモリ切替を行わなくてもよい。
The bus controller 4 generates signals s8 to s11 for controlling the operation and non-operation states of the bidirectional buffers 8 and 9 and the unidirectional buffers 10 and 11 as described above.
Even if the system switching occurs and the host unit 1 is switched to the standby system, if the writing operation is not performed in the current memory unit 6, no illegal data is written. It does not have to be done.

また、系切替によりバスアクセスが中断され不正データが書き込まれた場合、そのデータの書き込みアドレスを記憶しておき、そのアドレスから共通メモリ部3(の現用メモリ)のデータを排除するハードウェア機構を備えてもよい。この場合、前述したホストユニット1又は2が、それぞれ運用系ホストユニットとなった場合に機能する不正データ排除機能を備えた構成とし、これによって前述した不正データを排除するように構成してもよい。   In addition, when the bus access is interrupted due to system switching and illegal data is written, a hardware mechanism for storing the write address of the data and excluding the data of the common memory unit 3 (current memory) from the address is provided. You may prepare. In this case, the host unit 1 or 2 described above may be configured to have an unauthorized data exclusion function that functions when the host unit 1 or 2 becomes an active host unit, thereby eliminating the aforementioned unauthorized data. .

(系切り替え動作)
上述したように、共通メモリ3内部のメモリ部6,7では、運用系ホストユニット1からの予備の第2メモリ部7への書き込みバスアクセスは、現用の第1メモリ部6への書き込みバスアクセスから1バスサイクルの遅延時間を経て行なっている(遅延書込み工程)。そのため、メモリ部6,7の切替えには、この遅延書き込みの切替えも必要である。
(System switching operation)
As described above, in the memory units 6 and 7 in the common memory 3, the write bus access from the active host unit 1 to the spare second memory unit 7 is the write bus access to the working first memory unit 6. Is performed after a delay time of one bus cycle (delayed writing step). Therefore, switching of the delayed writing is also necessary for switching between the memory units 6 and 7.

次に、保守者(オペレータ)による点検等の正規の系切替え手順による運用系ホストユニットの系切り替え、及びハードウェア障害や強制リセットなどによる運用系ホストユニットの強制的に系切替えが発生した場合の本情報処理システムの系切り替え動作について説明する。   Next, when a system switchover of the active host unit occurs due to a normal system switchover procedure such as an inspection by a maintenance person (operator), or a forced system switchover occurs due to a hardware failure or forced reset, etc. A system switching operation of the information processing system will be described.

(正規の系切り替え手順の場合)
図3に、点検等に際して行われる正規の系切り替え手順の場合を示すタイミングチャートである。ここで、a0 a1,a2,……はアドレス情報を示し、d0,d1,d2,……は伝送データを示し、wは書き込み指令を、rは読み出し指令を各々示す(以下、同じ)。
そして、保守者(オペレータ)によってホストユニットの系切り替え制御が実行された場合、図3に示すように、運用状態のホストユニット1のソフトウェアは、実行途中の処理が完了した後、切替信号101によりホストユニット2に対して自系が待機となることを通知し、正常待機状態であったホストユニット2は切替信号102により運用状態に遷移したことをホストユニット1へ通知する。これによりソフトウェアが介在した正規の系切り替え手順に従った系切り替えが完了する。
(For regular system switchover procedure)
FIG. 3 is a timing chart showing a case of a regular system switching procedure performed at the time of inspection or the like. Here, a0 a1, a2,... Indicate address information, d0, d1, d2,... Indicate transmission data, w indicates a write command, and r indicates a read command (the same applies hereinafter).
When the host unit system switching control is executed by the maintenance person (operator), as shown in FIG. 3, the software of the host unit 1 in the operating state is notified by the switching signal 101 after the process in the middle of execution is completed. The host unit 2 is notified that the host system is in a standby state, and the host unit 2 that has been in the normal standby state notifies the host unit 1 of the transition to the operation state by the switching signal 102. This completes system switching according to the regular system switching procedure mediated by software.

このとき、図1に示すバス切替え制御部4は、切替信号101(図3参照)の変化によりホストユニットの系切り替えが発生したことを検出するが、共通バス103上に実行される共通メモリ部3の書き込みバスアクセスが無いため(図3参照)、メモリ部6,7の切り替えを行わない。
即ち、双方向バッファ8,9および片方向バッファ10,11の動作設定は変更せず、双方向バッファ8を動作状態(イネーブル)、双方向バッファ9を非動作状態(ディセーブル)とし、通常バス201をメモリ6へ接続、片方向バッファ10をディセーブル、片方向バッファ11をイネーブルとし、遅延バス202をメモリ7へ接続した状態を保持する。
At this time, the bus switching control unit 4 shown in FIG. 1 detects that the host unit system switching has occurred due to the change of the switching signal 101 (see FIG. 3), but the common memory unit executed on the common bus 103. 3 is not accessed (see FIG. 3), the memory units 6 and 7 are not switched.
That is, the operation settings of the bidirectional buffers 8 and 9 and the unidirectional buffers 10 and 11 are not changed, the bidirectional buffer 8 is set in an operating state (enabled), and the bidirectional buffer 9 is set in a non-operating state (disabled). 201 is connected to the memory 6, the one-way buffer 10 is disabled, the one-way buffer 11 is enabled, and the state where the delay bus 202 is connected to the memory 7 is held.

(強制的系切り替えの場合)
次に、ハードウェア障害や強制リセットに代表される強制的系切り替えの場合のタイミングチャートを図4に示す。
この場合、運用中のホストユニット1は、実行中の処理に関係無く処理途中であっても、切替信号101によってホストユニット2に対して自系が運用できない状態となったことを通知し、正常待機状態であったホストユニット2は運用状態に遷移することで強制的に系切り替えが行われる(系切替え工程)。
(Forcible system switchover)
Next, FIG. 4 shows a timing chart in the case of forced system switching represented by hardware failure or forced reset.
In this case, the host unit 1 in operation notifies the host unit 2 that the host system 2 has become inoperable by the switching signal 101 even during the process regardless of the process being executed. The host unit 2 that has been in the standby state is forcibly switched over by transitioning to the operating state (system switching step).

このとき、この系切り替えに対応して共通メモリ部3の内部でもメモリ6,7の切り替えが行われる。即ち、バス制御部4は、正規な系切り替え時と同様に、切替信号101の変化によりホストユニットの系切り替えが発生したことを検出し、同時に共通バス103上の共通メモリの書き込みバスアクセスを検出すると、遅延バス202による予備メモリである第2メモリ部7への書き込み完了後、双方向バッファ8をディセーブル、双方向バッファ9をイネーブルへ変更し、通常バス201をメモリ7へ接続、片方向バッファ10をイネーブル、片方向バッファ11をディセーブルへ変更し、遅延バス202をメモリ部6へ接続することによってメモリ部6,7の切替を実行する(メモリ切替え工程)。   At this time, in response to this system switching, the memories 6 and 7 are also switched inside the common memory unit 3. That is, the bus control unit 4 detects that the host unit system switching has occurred due to the change of the switching signal 101, and simultaneously detects the write bus access of the common memory on the common bus 103, as in the case of regular system switching. Then, after the writing to the second memory unit 7 which is a spare memory by the delay bus 202 is completed, the bidirectional buffer 8 is disabled, the bidirectional buffer 9 is changed to enabled, the normal bus 201 is connected to the memory 7, and the unidirectional The memory 10 and 7 are switched by changing the buffer 10 to enabled, the one-way buffer 11 to disabled, and connecting the delay bus 202 to the memory 6 (memory switching step).

このようにして、強制的系切り替えが発生した場合、ホストユニット1,2の系切り替えと連動し、共通メモリ部3の中で不正な書き込みアクセスが入力されていない予備の第2メモリ部7へ切り替えることで、新たに運用系となったホストユニット2が不正データに書き変わってしまっている恐れのある共通メモリ部3の中の現用の第1メモリ部6を使用することを回避し、系切替時の不正データに起因した障害を未然に防止することが可能になり、信頼性と可用性の高い情報処理システムの提供ができる。   In this way, when a forced system switchover occurs, in conjunction with the system switchover of the host units 1 and 2, to the spare second memory unit 7 to which no illegal write access is input in the common memory unit 3. By switching, it is possible to avoid using the current first memory unit 6 in the common memory unit 3 in which the host unit 2 that has newly become the active system may be rewritten as illegal data. It is possible to prevent a failure caused by illegal data at the time of switching, and to provide an information processing system with high reliability and availability.

ここで、本第1実施形態にあっては、上述した遅延書込み工程,系切替え工程,及びメモリ切替え工程の各工程によってホストユニット切替え正常化方法が構成され、これにより、前述したホストユニット切替え時に共通メモリ部3に留められる不正データに起因したシステム障害の発生を回避することが可能となっている。   Here, in the first embodiment, the host unit switching normalization method is configured by the steps of the delayed write process, the system switching process, and the memory switching process described above. It is possible to avoid the occurrence of a system failure due to illegal data held in the common memory unit 3.

ここで、系切り替えにより運用系ホストユニット1が待機系ホストユニットに切替わるとき、系切り替え発生時に共通バス103上の書き込みバスアクセスが無かった場合は、不正データの書き込まれる恐れはないので、共通メモリ部3の第1、第2メモリ部6,7の切り替えを行なうメモリ切替工程を実行しないようにしてもよい。   Here, when the active host unit 1 is switched to the standby host unit by system switching, if there is no write bus access on the common bus 103 at the time of system switching, there is no fear that illegal data will be written. The memory switching process for switching the first and second memory units 6 and 7 of the memory unit 3 may not be executed.

更に、上述した遅延書込み工程、系切替え工程、及びメモリ切替え工程の各工程の処理内容の内、前述したバス切替え制御部分が処理する範囲の内容については、これをプログラム化しホストユニット切替え正常化プログラムとしてコンピュータに実行させるように構成してもよい。   Further, of the processing contents of the above-described delayed writing process, system switching process, and memory switching process, the contents of the range to be processed by the above-described bus switching control part are programmed to be a host unit switching normalization program. It may be configured to be executed by a computer.

この場合、上記ホストユニット切替え正常化プログラムとしては、下記のように特定してもよい。
即ち、本第1実施形態におけるホストユニット切替え正常化プログラムは、相互に切替え可能に構成された運用系および待機系の各ホストユニット1,2と、この各ホストユニット1,2と共通バス部3を介して接続され前記運用系ホストユニット1からの書き込みアクセスを実行する第1メモリ部6および第2メモリ部7とを備えて成る共通メモリ部3を有する冗長構成の情報処理システムにあって、前記ホストユニット1,2の切替え時に前記共通メモリ部3に留められる不正データに起因したシステム障害の発生を回避するためのものである。
In this case, the host unit switching normalization program may be specified as follows.
That is, the host unit switching normalization program according to the first embodiment includes the operating system and standby system host units 1 and 2 configured to be able to switch to each other, and the host units 1 and 2 and the common bus unit 3. A redundant configuration information processing system having a common memory unit 3 including a first memory unit 6 and a second memory unit 7 connected to each other through the active host unit 1 and performing write access from the active host unit 1. This is to avoid the occurrence of a system failure due to illegal data retained in the common memory unit 3 when the host units 1 and 2 are switched.

そして、このホストユニット切替え正常化プログラムは、前記運用系ホストユニット1が動作中にあっては、前記第2メモリ部7への書き込みバスアクセスが前記第1メモリ部6における書き込みバスアクセスの実行から予め設定された遅延時間を経て当該第2メモリ部7で実行されるのを許容する遅延書き込み処理、前記運用系ホストユニット1と待機系ホストユニット2とが相互に切替えられた場合に当該切替え情報に基づいて前記共通メモリ部3の第2のメモリ部2に設定されている遅延時間の設定を切替え後の前記待機系ホストユニットに対応する予備メモリとしての前記第1のメモリ部6に切替える遅延時間切替え処理、および前記ホストユニット切替後であって前記第2メモリ部7への書き込みバスアクセスの動作完了後に、当該第2メモリ部7が現用メモリとして読み書きバスアクセスを即時に実行すると共に、前記第1メモリ部6が予備メモリとして前記予め設定された遅延時間を経て書き込みバスアクセスを実行するようにしたメモリ切替接続処理、を前記バス切替え制御部4が備えているコンピュータに実行させるように構成した点に特徴を有する。   The host unit switching normalization program is configured such that when the active host unit 1 is operating, the write bus access to the second memory unit 7 is executed from the execution of the write bus access in the first memory unit 6. Delayed write processing that is allowed to be executed in the second memory unit 7 after a preset delay time, and the switching information when the active host unit 1 and the standby host unit 2 are switched to each other The delay for switching to the first memory unit 6 as a spare memory corresponding to the standby host unit after switching the setting of the delay time set in the second memory unit 2 of the common memory unit 3 based on After the time switching process and the host unit switching and after the completion of the write bus access operation to the second memory unit 7, Memory switching connection in which the second memory unit 7 immediately executes a read / write bus access as a working memory, and the first memory unit 6 executes a write bus access after the preset delay time as a spare memory This is characterized in that the processing is executed by a computer provided in the bus switching control unit 4.

また、上記プログラムとしては、系切り替えにより運用系ホストユニット1が待機系システムに切替わるとき、系切り替え発生時に共通バス103上の書き込みバスアクセスが無かった場合は、不正データの書き込まれる恐れはないので、共通メモリ部3の第1,第2の各メモリ部6,7の相互切り替えを行なうメモリ切替処理を実行しないように構成してもよい。   Further, as the above program, when the active host unit 1 is switched to the standby system by system switching, if there is no write bus access on the common bus 103 at the time of system switching, there is no possibility that illegal data is written. Therefore, it may be configured not to execute the memory switching process for performing the mutual switching of the first and second memory units 6 and 7 of the common memory unit 3.

このように、本第1の実施形態にあっては、共通メモリ部3内に現用メモリ(第1のメモリ部6)と、一定の遅延を持って書き込む予備メモリ(第2のメモリ部7)を備えることによって、ホストユニット1,2の系切替えが発生したタイミングで書き込みが中断され、不正データに書き換えられてしまう可能性がある書き込みバスアクセスがあった場合でも、中断された書き込みバスアクセスが入力されていない予備メモリ(第2のメモリ部7)を現用メモリへ切り替えて使用することで、系切替により新たに運用系となったホストユニット2において、共通メモリ部3内の不正データに起因した障害を未然に防止することが可能になり、信頼性、可用性の高い情報処理システム、ホストユニット切替え正常化方法、およびそのプログラムを提供することができる。   As described above, in the first embodiment, the working memory (first memory unit 6) and the spare memory (second memory unit 7) to be written with a certain delay in the common memory unit 3 are used. With this, even if there is a write bus access that may be rewritten to illegal data, the write is interrupted at the timing when the system switching between the host units 1 and 2 occurs. By using the spare memory (second memory unit 7) that has not been input by switching to the active memory, in the host unit 2 that newly becomes the active system by system switching, it is caused by illegal data in the common memory unit 3 Reliability, high availability information processing system, host unit switching normalization method, and program thereof It is possible to provide.

〔第2の実施形態〕
次に、本発明の第2の実施形態を図5に基づいて説明する。
この図5は、本第2の実施形態にかかる情報報処理システムの共通メモリ部3Bの内部構成を示すものである。この図5が示すように、この第2の実施形態は、前述した図1における第1実施形態の遅延制御部5に遅延量設定部12を併設した点に特徴を備えている。その他の構成およびその作用効果は、前述した第1の実施形態(図1乃至図4)と同一となっている。
[Second Embodiment]
Next, a second embodiment of the present invention will be described with reference to FIG.
FIG. 5 shows the internal configuration of the common memory unit 3B of the information processing system according to the second embodiment. As shown in FIG. 5, the second embodiment is characterized in that a delay amount setting unit 12 is added to the delay control unit 5 of the first embodiment in FIG. 1 described above. Other configurations and the operation and effects thereof are the same as those of the first embodiment (FIGS. 1 to 4) described above.

この図5にあって、遅延量設定部12は、運用系ホストユニット1から第2メモリ部7へ中継する遅延バス202の遅延量を予め設定する機能を備えており、遅延制御部5に対しては予め設定された遅延量にかかる情報を通知するように構成されている。   In FIG. 5, the delay amount setting unit 12 has a function of presetting the delay amount of the delay bus 202 to be relayed from the active host unit 1 to the second memory unit 7. It is configured to notify information related to a preset delay amount.

遅延量設定部12から遅延量を通知された遅延制御部5は、当該遅延量にかかる情報に従って、共通バス103上で実行されるバスアクセスを遅延させ、遅延バス202を介して予備の第2メモリ部7へ中継し書き込みを行う。   The delay control unit 5 notified of the delay amount from the delay amount setting unit 12 delays the bus access executed on the common bus 103 in accordance with the information related to the delay amount, and reserves the second second time via the delay bus 202. Relay to the memory unit 7 for writing.

このため、この第2の実施形態にあっては、遅延制御部5に対して、単位バスアクセス分にみならず、その2倍,3倍,……等のバスアクセス分を遅延量として外部から任意に設定することができ、使用状態に応じて且つリアルタイムでの可変設定が可能であることから、汎用性が高く且つ周囲環境の変化にも有効に対応することができるという利点がある。   For this reason, in the second embodiment, the delay control unit 5 is not limited to the unit bus access, but the bus access such as double, triple,. Therefore, there is an advantage that it is highly versatile and can effectively cope with changes in the surrounding environment.

即ち、本第2の実施形態では、バスアクセスが1回のバスサイクルで完了せず、連続する複数回のバスサイクルによるバスアクセスにより有効データを書き込む必要がある場合においても、その書き込みに必要な複数のバスサイクル遅延時間を確保することにより、共通メモリへ書き込むデータの有効性を保証できるので、前述した第1の実施形態にはない新たな効果を備えた冗長構成の情報処理システム、ホストユニット切替え正常化方法、およびそのプログラムを提供することができる。   That is, in the second embodiment, even when the bus access is not completed in one bus cycle and it is necessary to write valid data by the bus access by a plurality of consecutive bus cycles, it is necessary for the writing. By ensuring a plurality of bus cycle delay times, the validity of the data to be written to the common memory can be ensured. Therefore, the redundant information processing system and host unit having new effects not found in the first embodiment described above A switching normalization method and its program can be provided.

本発明の第1の実施形態に係る冗長構成の情報処理システムにおける共通メモリ部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the common memory part in the information processing system of the redundant structure which concerns on the 1st Embodiment of this invention. 図1に開示した共通メモリ部を備える冗長構成の情報処理システムを全体構成を示すブロック図である。It is a block diagram which shows the whole structure of the information processing system of a redundant structure provided with the common memory part disclosed in FIG. 図2に開示した第1実施形態にあって正規の系切り替え手順により同期的にホストユニットが切り替えられた場合の各部の動作を示すタイミングチャートである。3 is a timing chart showing the operation of each unit when the host unit is switched synchronously by a regular system switching procedure in the first embodiment disclosed in FIG. 2. 図2に開示した第1実施形態にあって強制的(非同期)にホストユニットが切り替えられた場合の各部の動作を示すタイミングチャートである。3 is a timing chart illustrating the operation of each unit when the host unit is forcibly (asynchronously) switched in the first embodiment disclosed in FIG. 2. 本発明の第2の実施形態に係る冗長構成の情報処理システムにおける共通メモリ部の内部構成を示すブロック図である。It is a block diagram which shows the internal structure of the common memory part in the information processing system of the redundant structure which concerns on the 2nd Embodiment of this invention. 関連技術における冗長構成情報処理システムの一例を示すブロックである。It is a block which shows an example of the redundant structure information processing system in related technology. 図6に示す冗長構成情報処理システムの動作を示すタイミングチャート図である。FIG. 7 is a timing chart showing an operation of the redundant configuration information processing system shown in FIG. 6.

符号の説明Explanation of symbols

1 運用系ホストユニット
2 待機系ホストユニット
3,3B 共通メモリ部
4 バス切替え制御部
5 遅延制御部
6 第1メモリ部(現用メモリ)
7 第2メモリ部(予備メモリ)
8,9 双方向バッファ
10,11 片方向バッファ
12 遅延量設定部
30 メモリ切替え機構
101,102 切替信号
103 共通バス
201 通常バス
202 遅延バス
DESCRIPTION OF SYMBOLS 1 Active system host unit 2 Standby system host unit 3,3B Common memory part 4 Bus switching control part 5 Delay control part 6 1st memory part (working memory)
7 Second memory section (spare memory)
8,9 Bidirectional buffer 10,11 Unidirectional buffer 12 Delay amount setting unit 30 Memory switching mechanism 101,102 Switching signal 103 Common bus 201 Normal bus 202 Delay bus

Claims (13)

相互に切替え可能に構成された運用系および待機系の各ホストユニットと、この各ホストユニットが利用可能に連結された共通メモリ部と、これら各部を結ぶ共通バスとを備えて成る冗長構成の情報処理システムであって、
前記共通メモリ部が、前記運用系ホストユニットからの同一の書き込み情報を記憶する第1および第2のメモリ部と、前記第2のメモリ部の入力段に連結され前記書き込み情報を予め設定された遅延時間だけ遅らせる遅延制御部とを有することを特徴とした冗長構成の情報処理システム。
Redundant configuration information comprising each of the active and standby host units configured to be switchable with each other, a common memory unit to which each host unit is connected, and a common bus connecting these units. A processing system,
The common memory unit is connected to the first and second memory units for storing the same write information from the active host unit and the input stage of the second memory unit, and the write information is preset. A redundant information processing system comprising: a delay control unit that delays by a delay time.
前記請求項1に記載の冗長構成の情報処理システムにおいて、
前記遅延制御部は、前記運用系ホストユニットからの書き込みバスアクセスを前記第1メモリ部が実行するタイミングを捉えて前記遅延時間を設定することを特徴とした冗長構成の情報処理システム。
In the redundant information processing system according to claim 1,
The redundant control information system according to claim 1, wherein the delay control unit sets the delay time based on a timing at which the first memory unit executes a write bus access from the active host unit.
前記請求項1又は2に記載の冗長構成の情報処理システムにおいて、
前記設定された遅延時間は、バスアクセス単位又はその2倍以上の整数倍の何れかとしたことを特徴とする冗長構成の情報処理システム。
In the redundant information processing system according to claim 1 or 2,
The redundantly configured information processing system characterized in that the set delay time is either a bus access unit or an integer multiple of twice or more.
前記請求項2に記載の冗長構成の情報処理システムにおいて、
前記待機系ホストユニットが運用系ホストユニットに切り替えられた場合、これに対応して前記共通メモリ部の前記遅延制御部による遅延制御の対象が、前記第2のメモリ部から第1のメモリ部へ切り替えられることを特徴とした冗長構成の情報処理システム。
In the redundant information processing system according to claim 2,
When the standby host unit is switched to the active host unit, the target of delay control by the delay control unit of the common memory unit is correspondingly changed from the second memory unit to the first memory unit. A redundant information processing system characterized by being switched.
前記請求項2に記載の冗長構成の情報処理システムにおいて、
前記共通メモリ部が、前記共通バスを介して送り込まれる書き込みバスアクセスをそのまま直接又は前記遅延制御部を介して対応関係にある前記第1,第2の各メモリ部へ送り込むメモリ切替え機構と、このメモリ切替え機構の切替え動作を制御するバス切替え制御部とを備え、
このバス切替え制御部が、前記運用系ホストユニット又は元待機系ホストユニットの運用系ホストユニットから送り込まれる書き込みバスアクセス及び切替え信号に基づいて作動し、前記メモリ切替え機構を介して前記第1,第2の各メモリ部を運用系又は待機系ホストユニット用として選択設定することを特徴とした冗長構成の情報処理システム。
In the redundant information processing system according to claim 2,
A memory switching mechanism in which the common memory unit sends a write bus access sent via the common bus directly or directly to the first and second memory units in a corresponding relationship via the delay control unit; A bus switching control unit for controlling the switching operation of the memory switching mechanism,
The bus switching control unit operates based on a write bus access and switching signal sent from the operating host unit of the operating host unit or the former standby host unit, and the first and first signals are transmitted via the memory switching mechanism. 2. An information processing system having a redundant configuration, wherein each of the two memory units is selected and set for an active or standby host unit.
前記請求項5に記載の冗長構成の情報処理システムにおいて、
前記バス切替え制御部は、前記運用系ホストユニットの障害事に強制的に実行される系切替によって待機系ホストユニットが運用系ホストユニットとして切替えられた場合には、当該系切替えにより中断された前記第1のメモリへの書き込み中の書き込みバスアクセスが前記第2メモリ部へ継続して入力されるのを前記メモリ切替え機構を介して阻止する機能を備えていることを特徴とした冗長構成の情報処理システム。
In the redundant information processing system according to claim 5,
When the standby host unit is switched as the active host unit by system switching that is forcibly executed due to a failure of the active host unit, the bus switching control unit is interrupted by the system switching. Redundant configuration information characterized by having a function of preventing, via the memory switching mechanism, a write bus access during writing to the first memory from being continuously input to the second memory unit Processing system.
前記請求項5に記載の冗長構成情報処理システムにおいて、
前記共通メモリ部のバス切替え制御部は、運用系と待機系の各ホストユニットが強制的切替えられた場合には、前記第2メモリ部への書き込みバスアクセスの完了後に前記第1メモリ部と第2メモリ部の役割を切り替える機能を有し、
このバス切替え制御部による役割の切り替えと同時に、前記第2メモリ部は送り込まれる読み書きバスアクセスを即時に実行可能とすると共に、前記第1メモリ部は前記予め設定された遅延時間を経て書き込みバスアクセスを実行可能な構成としたことを特徴とする冗長構成の情報処理システム。
In the redundant configuration information processing system according to claim 5,
When the active and standby host units are forcibly switched, the bus switching control unit of the common memory unit has the first memory unit and the first memory unit after the completion of the write bus access to the second memory unit. 2 Has the function of switching the role of the memory part,
Simultaneously with the role switching by the bus switching control unit, the second memory unit can immediately execute the read / write bus access, and the first memory unit performs the write bus access through the preset delay time. An information processing system with a redundant configuration characterized in that the configuration is executable.
前記請求項5に記載の冗長構成情報処理システムにおいて、
前記共通メモリ部のバス切替え制御部は、前記強制的系切替により前記待機系ホストユニットが運用系ホストユニットに切替えられた場合で、前記共通バス上に書き込みバスアクセスが無かった場合には、前記第1,第2の各メモリ部の切り替えを現状維持とすること特徴とした冗長構成の情報処理システム。
In the redundant configuration information processing system according to claim 5,
The bus switching control unit of the common memory unit, when the standby host unit is switched to the active host unit by the forced system switching, and when there is no write bus access on the common bus, An information processing system having a redundant configuration, characterized in that switching between the first and second memory units is maintained as is.
前記請求項5に記載の冗長構成情報処理システムにおいて、
前記メモリ切替え機構は、前記共通バスに連通され且つ前記各メモリ部に個別に対応して装備され当該各メモリ部への書き込み/読み出しを許容し又は阻止する双方向バッファと、前記遅延制御部と前記各メモリ部との間に当該各メモリ部に対応して装備され当該各メモリ部への書き込みを許容し又は阻止する片方向バッファとを備えて構成されていることを特徴とした冗長構成の情報処理システム。
In the redundant configuration information processing system according to claim 5,
The memory switching mechanism is connected to the common bus and is provided corresponding to each memory unit individually, and a bidirectional buffer that allows or blocks writing / reading to each memory unit; and the delay control unit; A redundant configuration characterized by comprising a unidirectional buffer provided corresponding to each memory unit and allowing or preventing writing to each memory unit between the memory units. Information processing system.
前記請求項1,2,5又は7に記載の冗長構成の情報処理システムにおいて、
ホストユニット系強制切替信号により前記待機系ホストユニットが運用系ホストユニットに切替えらえた場合、当該系切替によりバスアクセスが中断され不正書き込みとなった前記共通メモリ部の不正対象データを排除する不正データ排除機能を、前記運用系ホストユニットが備えていることを特徴とした冗長構成の情報処理システム。
In the redundant information processing system according to claim 1, 2, 5, or 7,
When the standby host unit is switched to the active host unit by the host unit system forced switching signal, the illegal data that excludes the illegal target data of the common memory unit that has been illegally written due to the bus access being interrupted by the system switching A redundant information processing system characterized in that the operational host unit has an exclusion function.
相互に切替え可能に構成された運用系および待機系の各ホストユニットと、この各ホストユニットと共通バスを介して接続され前記運用系ホストユニットからの書き込みアクセスを実行する第1メモリ部および第2メモリ部とを備えて成る共通メモリ部を有する冗長構成の情報処理システムにあって、前記ホストユニットの切替え時に前記共通メモリ部に留められる不正データに起因したシステムの障害発生を回避するためのホストユニット切替え正常化方法であって、
前記運用系ホストユニットが動作中にあっては前記第2メモリ部への書き込みバスアクセスを前記第1メモリ部における書き込みバスアクセスの実行から予め設定された遅延時間を経て実行される遅延書込み工程と、
前記運用系ホストユニットから出力される系切替信号によって当該運用系ホストユニットと待機系ホストユニットとを相互に切替えるホストユニット切替工程と、
このホストユニット切替工程後であって前記第2メモリ部への書き込みバスアクセスの動作完了後に、当該第2メモリ部が現用メモリとして読み書きバスアクセスを即時に実行すると共に、前記第1メモリ部が予備メモリとして前記予め設定された遅延時間を経て書き込みバスアクセスを実行するようにしたメモリ切替工程と、
を備えていることを特徴とするホストユニット切替え正常化方法。
Each of the active and standby host units configured to be switchable with each other, and a first memory unit and a second memory unit which are connected to the host units via a common bus and execute write access from the active host unit A redundant information processing system having a common memory unit including a memory unit, and a host for avoiding a system failure caused by illegal data held in the common memory unit when the host unit is switched A unit switching normalization method,
A delayed write step in which a write bus access to the second memory unit is executed after a delay time set in advance from execution of the write bus access in the first memory unit when the operational host unit is in operation; ,
A host unit switching step of switching between the active host unit and the standby host unit by a system switching signal output from the active host unit;
After the host unit switching step and after the completion of the write bus access operation to the second memory unit, the second memory unit immediately executes read / write bus access as a working memory, and the first memory unit A memory switching step for executing a write bus access through the preset delay time as a memory;
A host unit switching normalization method characterized by comprising:
前記請求項11に記載のホストユニット切替え正常化方法において、
前記メモリ切替工程では、前記運用系ホストユニットから出力される系切替信号により運用系ホストユニットと待機系ホストユニットとの相互切替えに際し、前記系切替信号の受信時に前記共通バス上に書き込みバスアクセスが無かった場合には、共通メモリ部の第1と第2のメモリ部の切り替えを実行しない構成としたことを特徴としたホストユニット切替え正常化方法。
In the host unit switching normalization method according to claim 11,
In the memory switching step, when the active host unit and the standby host unit are mutually switched by a system switching signal output from the operating system host unit, a write bus access is made on the common bus when the system switching signal is received. A host unit switching normalization method characterized in that if there is no switching, the first memory unit and the second memory unit of the common memory unit are not switched.
相互に切替え可能に構成された運用系および待機系の各ホストユニットと、この各ホストユニットと共通バスを介して接続され前記運用系ホストユニットからの書き込みアクセスを実行する第1メモリ部および第2メモリ部とを備えて成る共通メモリ部を有する冗長構成の情報処理システムにあって、前記ホストユニットの切替え時に前記共通メモリ部に留められる不正データに起因したシステム障害の発生を回避するためのホストユニット切替え正常化プログラムであって、
前記運用系ホストユニットが動作中にあっては、前記第2メモリ部への書き込みバスアクセスが前記第1メモリ部における書き込みバスアクセスの実行から予め設定された遅延時間を経て当該第2メモリ部で実行されるのを許容する遅延書き込み処理、
前記運用系ホストユニットと待機系ホストユニットとが相互に切替えられた場合に当該切替え情報に基づいて前記共通メモリ部の第2のメモリ部に設定されている遅延時間の設定を切替え後の前記待機系ホストユニットに対応する予備メモリとしての前記第1のメモリ部に切替える遅延時間切替え処理、
前記ホストユニット切替後であって前記第2メモリ部への書き込みバスアクセスの動作完了後に、当該第2メモリ部が現用メモリとして読み書きバスアクセスを即時に実行すると共に、前記第1メモリ部が予備メモリとして前記予め設定された遅延時間を経て書き込みバスアクセスを実行するようにしたメモリ切替接続処理、
を前記バス切替え制御部が備えているコンピュータに実行させるようにしたことを特徴としたホストユニット切替え正常化プログラム。
Each of the active and standby host units configured to be switchable with each other, and a first memory unit and a second memory unit which are connected to the host units via a common bus and execute write access from the active host unit A redundant information processing system having a common memory unit including a memory unit, and a host for avoiding occurrence of a system failure due to illegal data retained in the common memory unit when the host unit is switched A unit switching normalization program,
When the operational host unit is in operation, a write bus access to the second memory unit is performed in the second memory unit after a predetermined delay time from the execution of the write bus access in the first memory unit. Lazy write processing that allows it to be executed,
The standby after switching the setting of the delay time set in the second memory unit of the common memory unit based on the switching information when the active host unit and the standby host unit are switched to each other A delay time switching process for switching to the first memory unit as a spare memory corresponding to the host system unit;
After the host unit switching and after completion of the write bus access operation to the second memory unit, the second memory unit immediately executes read / write bus access as a working memory, and the first memory unit is a spare memory. A memory switching connection process for performing a write bus access through the preset delay time as
Is executed by a computer provided in the bus switching control unit.
JP2008046904A 2008-02-27 2008-02-27 Redundant information-processing system, method of normally switching host unit, and program therefor Withdrawn JP2009205428A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008046904A JP2009205428A (en) 2008-02-27 2008-02-27 Redundant information-processing system, method of normally switching host unit, and program therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008046904A JP2009205428A (en) 2008-02-27 2008-02-27 Redundant information-processing system, method of normally switching host unit, and program therefor

Publications (1)

Publication Number Publication Date
JP2009205428A true JP2009205428A (en) 2009-09-10

Family

ID=41147615

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008046904A Withdrawn JP2009205428A (en) 2008-02-27 2008-02-27 Redundant information-processing system, method of normally switching host unit, and program therefor

Country Status (1)

Country Link
JP (1) JP2009205428A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015056042A (en) * 2013-09-12 2015-03-23 日本電気株式会社 Cluster system, information processing apparatus, cluster system control method, and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015056042A (en) * 2013-09-12 2015-03-23 日本電気株式会社 Cluster system, information processing apparatus, cluster system control method, and program

Similar Documents

Publication Publication Date Title
US9195553B2 (en) Redundant system control method
EP1887471A2 (en) Duplex system and processor switsching method
US7493517B2 (en) Fault tolerant computer system and a synchronization method for the same
JP2008518312A (en) Method and apparatus for delaying access to data and / or instructions in a multiprocessor system
CA2668835A1 (en) Duplexed operation processor control system, and duplexed operation processor control method
JP5287974B2 (en) Arithmetic processing system, resynchronization method, and farm program
JP2017146897A (en) Microcontroller and electronic control unit
JP3774826B2 (en) Information processing device
JP2009205428A (en) Redundant information-processing system, method of normally switching host unit, and program therefor
JP2009098988A (en) Fault tolerant computer system
JP2008262426A (en) Duplex controller system and controller
JP4810488B2 (en) Duplex control apparatus and tracking method thereof
JP7271973B2 (en) VEHICLE CONTROL DEVICE AND OPERATING CLOCK SWITCHING METHOD
JP2010128511A (en) Microcomputer, and method for taking action for fail-safe
JP5748214B2 (en) Redundant information processing system
JP5251690B2 (en) Remote copy system and remote copy method
JP3760278B2 (en) Multiplexing system
JP2001243209A (en) Distributed shared memory system and distributed shared memory system control method
JP4474614B2 (en) Multiplexing system
JP4117685B2 (en) Fault-tolerant computer and its bus selection control method
JP2011076528A (en) Method and device for providing redundancy to raid card
JP2006276947A (en) Power supply control device and power supply control method
US20120233420A1 (en) Fault-tolerant system, memory control method, and computer-readable recording medium storing programs
JP2000347758A (en) Information processor
JPH08137709A (en) Information processing system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20110510