JPH0421059A - Switching system for inter-processor coupling device - Google Patents

Switching system for inter-processor coupling device

Info

Publication number
JPH0421059A
JPH0421059A JP2123950A JP12395090A JPH0421059A JP H0421059 A JPH0421059 A JP H0421059A JP 2123950 A JP2123950 A JP 2123950A JP 12395090 A JP12395090 A JP 12395090A JP H0421059 A JPH0421059 A JP H0421059A
Authority
JP
Japan
Prior art keywords
pci
communication
processor
information
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2123950A
Other languages
Japanese (ja)
Inventor
Junji Miyagawa
宮川 順治
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2123950A priority Critical patent/JPH0421059A/en
Publication of JPH0421059A publication Critical patent/JPH0421059A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To continue the communication without being aware of a communication address change caused by switching by restoring PCI management information from drawback information at the time of integrating a PCI, and changing a fault PCI address of communication address information in the other PCI to a communication address of a stand-by PCI. CONSTITUTION:Plural processors 2 - 4 are connected to a closed communication channel 1 of a ring shape or a bus shape through inter-processor coupling devices (PCI) 5 - 8, respectively, and in each PCI 5 - 8, mapping tables 9 - 12 in which a communication address and an entry number of the PCI 5 - 8 which become the other parties of communication are set, and a secondary medium for drawing back its information are provided. In such a state, when a communication by the existing PCI 5 is interrupted, mapping information 16 which is drawn back is reset to the mapping table 10 of the stand-by PCI 6, and a communication address is changed from the fault PCI 5 to the stand-by PCI 6, and informed to the other processors 3, 4 of communication. In such a way, even after the PCIs 5, 6 are switched, the communication can still be continued as it is.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、複合計算機システムにおけるプロセッサ間結
合装置を現用から予備に切替えるための処理方式に関す
る。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a processing method for switching an inter-processor coupling device in a multi-purpose computer system from active to standby.

〔従来の技術〕[Conventional technology]

従来より、複数のプロセッサ間を光ループ等の通信路を
用いて結合した複合計算機システムが用いられている。
Conventionally, compound computer systems have been used in which a plurality of processors are connected using communication paths such as optical loops.

このようなシステムでは、プロセッサ相互間を結合する
ための装置として、プロセッサ間結合装置(以下、pc
rと記す、P rocess。
In such a system, an inter-processor coupling device (hereinafter referred to as PC) is used as a device for coupling processors to each other.
Written as r, Process.

r  Communication  I nterf
ace  Unit)が接続されており、通信リンク設
定時には、管理するプロセッサから通信要求プロセッサ
に対して、PCIアドレスと通信に使用されるサブチャ
ネルを指定することにより、プロセッサ相互間の通信が
可能となる。
rCommunication I nterf
ace Unit) is connected, and when setting up a communication link, the managing processor specifies the PCI address and subchannel used for communication to the communication requesting processor, allowing communication between the processors. .

従来、このようなシステムにおいて、プロセッサを通信
路に結合するPCIの障害対策としては、予め複数個の
PCIを介してプロセッサを通信路に接続しておき、一
方のPCIが故障しても、他方のPCIに接続替えする
ことにより通信を継続する方法があった。
Conventionally, in such a system, as a countermeasure against failure of the PCI that connects the processor to the communication path, the processor is connected to the communication path via multiple PCIs in advance, so that even if one PCI fails, the other PCI will fail. There was a method to continue communication by switching the connection to the PCI of the PCI.

複数のPCIを設置する方法としては、(i)予め複数
のPCIに通信パスを用意し、一方のPCI故障時に残
るPCI上のパスを使用して、通信継続を図るホット予
備方式と、(it)PCI故障時に予備のPCIを組み
込み、通信パスを再設定するコールド予備方式とに分類
することができる。
There are two methods for installing multiple PCIs: (i) a hot standby method, in which communication paths are prepared in advance for multiple PCIs, and if one PCI fails, the remaining path on the PCI is used to continue communication; ) In the event of a PCI failure, a spare PCI is installed and the communication path is reset.

前者は、常に予備PCIにパスを設定しておくため、予
備PCIをプロセッサに専用に用意しておく必要がある
。さらに、プロセッサ上のプログラムとして、複数のパ
ス管理とPCI故障を契機とするバス切替え機能が必要
とされる。一方、後者は、現用PCI故障時に、予備P
CIへプロセッサをハードウェア的に切賛える機能が必
要となるが、予備PCIに故障PCIのパス情報を復元
するため、プロセッサ上のプログラムは従来のパスをそ
のまま継続使用できる。そのため、PCI故障を考慮し
た複数のパス管理は不要になる。また、PCIと複数の
プロセッサ間にN + 1  (Nは共用プロセッサの
数)の切替え機能を付加することにより、複数のプロセ
ッサで予備PCIを共用することも可能である。
In the former case, a path is always set in the backup PCI, so it is necessary to prepare the backup PCI exclusively for the processor. Furthermore, a program on the processor is required to manage multiple paths and have a bus switching function triggered by a PCI failure. On the other hand, the latter allows backup P
Although a hardware function is required to transfer the processor to the CI, the path information of the failed PCI is restored to the spare PCI, so the program on the processor can continue to use the conventional path. Therefore, there is no need to manage multiple paths in consideration of PCI failures. Further, by adding a switching function of N + 1 (N is the number of shared processors) between the PCI and a plurality of processors, it is also possible to share the spare PCI with a plurality of processors.

なお、この種の従来文献としては、rloOMb / 
s光トークンリングを用いたプロセッサ間結合システム
」情報処理学会論文誌、Vol、27゜Na3(198
6)、里子、小柳、魚住共著。
In addition, as this type of conventional literature, rloOMb/
s Inter-processor coupling system using optical token ring,” Journal of the Information Processing Society of Japan, Vol. 27°Na3 (198
6), co-authored by Satoko, Koyanagi, and Uozumi.

〔発明が解決しようする課題] このように、PCIの故障により、使用中のPCIを他
のPCIに切り替える場合、通信相手に新たに使用する
PCIの通信アドレスを通知する必要がある。そのため
、従来の方法(ホット予備方式)では、予め複数のPC
Iに通信パスを設定しておき、一方のPCIが使用でき
なくなったとき、他方のPCI上のパスを用いて通信を
継続する方法が使用されていた。その結果、プログラム
において、現用と予備の複数パスを管理する必要がある
と同時に、予備のPCIにもパスの設定が必要となって
いた。
[Problems to be Solved by the Invention] As described above, when switching the currently used PCI to another PCI due to a PCI failure, it is necessary to notify the communication partner of the communication address of the newly used PCI. Therefore, in the conventional method (hot backup method), multiple PCs are
A method has been used in which a communication path is set on PCI, and when one PCI becomes unavailable, communication is continued using the path on the other PCI. As a result, in the program, it is necessary to manage a plurality of working and backup paths, and at the same time, it is also necessary to set a path for the backup PCI.

また、光ループ等のリングまたはパス形式を用い閉じら
れた通信路を介するプロセッサ間通信では、プロセッサ
を通信路に結合するPCIに一意の通信アドレスが付与
されているため、従来のコールド予備方式では、PCI
の通信アドレスを変更する機能が新たに必要となる。通
信アドレスの変更は、通信相手プロセッサ上のプログラ
ムにも意識させる必要がある。そのため、PCI通信ア
ドレス変更処理は一層複雑化することになる。
In addition, in inter-processor communication via a closed communication path using a ring or path format such as an optical loop, a unique communication address is assigned to the PCI that connects the processor to the communication path. , P.C.I.
A new function is required to change the communication address. It is necessary to make the program on the communication partner processor aware of changing the communication address. Therefore, the PCI communication address change process becomes even more complicated.

本発明の目的は、このような従来の課題を解決し、PC
I切替えによる通信アドレスの変更をプログラムに意識
させず、切替え後も前のままのアドレスで通信を継続す
ることができ、かつ予備PCI上の通信パスを不要にで
きるプロセッサ間結合装置切替え方式を提供することに
ある。
The purpose of the present invention is to solve such conventional problems and to
Provides an inter-processor coupling device switching method that does not make the program aware of the change in communication address due to I switching, allows communication to continue with the same address as before after switching, and eliminates the need for a communication path on the backup PCI. It's about doing.

【課題を解決するための手段〕[Means to solve problems]

上記目的を達成するため、本発明のプロセッサ間結合装
置切替え方式は、現用PCIの故障に備えて用意される
予備PCIと、各PCI内に設けられ、プログラムが管
理する通信パスに1対lに対応した通信アドレス情報を
エントリとし、エントリ情報として通信相手となるPC
Iの通信アドレスおよびエントリ番号が設定されるマツ
ピングテーブルと、マツピングテーブルの情報を退避す
るための二次媒体とを有し、現用PCIによる通信が不
通になった時、二次媒体に退避されているマツピング情
報を予備PCIのマツピングテーブルに再設定し、退避
マツピング情報より通信相手PCIの通信アドレスとエ
ントリ番号を取得し、通信路を介してマツピング情報中
の通信アドレスを、故障PCIの通信アドレスから予備
PCIの通信アドレスに変更し、マツピングテーブルの
変更を通信相手プロセッサ上のプログラムに通知するこ
とに特徴がある。
In order to achieve the above object, the inter-processor coupling device switching method of the present invention provides a one-to-one connection between a spare PCI prepared in case of failure of the working PCI and a communication path provided in each PCI and managed by a program. The corresponding communication address information is used as an entry, and the PC that becomes the communication partner is used as the entry information.
It has a mapping table in which I's communication address and entry number are set, and a secondary medium for saving the information in the mapping table.When communication by the current PCI is interrupted, the information can be saved to the secondary medium. Reset the mapping information that has been stored in the mapping table of the backup PCI, obtain the communication address and entry number of the communication partner PCI from the saved mapping information, and set the communication address in the mapping information via the communication path to the mapping table of the failed PCI. The feature is that the communication address is changed to the communication address of the backup PCI, and the change in the mapping table is notified to the program on the communication partner processor.

〔作  用〕[For production]

本発明においては、ループ等の閉じられた通信路を用い
た場合でも、PCIのコールド予備切替えによる通信ア
ドレス変更を、プロセッサ上のプログラムに意識させる
ことなく、通信継続を可能にする。ループ等の閉じられ
た通信路では、通信パスに対応する送信アドレスを送信
電文に付与して通信路に送出する必要があるので、相手
通信アドレス情報を送信元が保持している。本発明では
、PCI内で通信アドレス情報を管理すると同時に、通
信アドレス情報を退避する機能と、PCI組み込み時に
退避情報からPCI管理情報を復元する機能と、自PC
I通信アドレスが変更された場合、退避している通信相
手アドレス情報から相手アドレスを調べて、通信路を経
由して直接相手PCI内の通信アドレス情報の故障PC
Iアドレスを予備PCIの通信アドレスに変更する機能
を用いることにより、プロセッサ上のプログラムにPC
,1切替えによる通信アドレス変更を意識させずに、通
信継続を可能にしている。
In the present invention, even when a closed communication channel such as a loop is used, it is possible to continue communication without making the program on the processor aware of the communication address change due to cold standby switching of PCI. In a closed communication path such as a loop, it is necessary to add a transmission address corresponding to the communication path to the transmission message and send it to the communication path, so the sender holds the communication address information of the other party. The present invention provides a function for managing communication address information within PCI and at the same time saving communication address information, a function for restoring PCI management information from the saved information when installing PCI, and
I When the communication address is changed, check the other party's address from the saved communication partner address information and directly check the faulty PC of the communication address information in the other party's PCI via the communication path.
By using the function to change the I address to the communication address of the backup PCI, the program on the processor can
, 1 switching makes it possible to continue communication without being conscious of changing the communication address.

[実施例〕 以下、本発明の実施例を、図面により詳細に説明する。[Example〕 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は、本発明の第1の実施例を示す複合計算機シス
テムの構成図である。
FIG. 1 is a block diagram of a compound computer system showing a first embodiment of the present invention.

第1図において、1はリング形状の高速ループ通信路、
2,3.4はループに結合されたプロセッサ群、5,6
,7.8は各プロセッサをループに結合し、他プロセツ
サとの通信を可能にするプロセッサ間結合装置(PCI
)、9,10,11゜12はPCIの管理する通信アド
レスのマツピングテーブル(以下、CTBLと記す)、
13は通信パス番号と対応するCTBLのエントリ番号
を管理するパス管理テーブル(以下、PTと記す)、1
4は通信パス番号をCTBLエントリ番号に変更して、
PCIと通信データの送受を行う通信制御プログラム、
15はPCI内のCTBL情報の退避復元を行うPCI
管理プログラム、16は二次媒体中の退避CTBL情報
、17は通信対象プログラム群を示す。
In FIG. 1, 1 is a ring-shaped high-speed loop communication channel;
2, 3.4 is a group of processors connected to a loop, 5, 6
, 7.8 is a processor-to-processor coupling device (PCI) that couples each processor into a loop and enables communication with other processors.
), 9, 10, 11° 12 is a communication address mapping table (hereinafter referred to as CTBL) managed by PCI,
13 is a path management table (hereinafter referred to as PT) for managing communication path numbers and corresponding CTBL entry numbers;
4 changes the communication path number to the CTBL entry number,
A communication control program that sends and receives communication data to and from the PCI;
15 is a PCI that saves and restores CTBL information in the PCI
A management program, 16 indicates saved CTBL information in the secondary medium, and 17 indicates a group of programs to be communicated.

本発明で新たに設けられた部分は、第1図中の斜線を記
した部分であって、PC,I5〜8内の通信アドレスの
マツピングテーブル9〜12と、退避CTBL情報を格
納する二次記憶媒体16と、パス管理テーブル(PT)
13と、PCI管理プログラムである。
The parts newly provided in the present invention are the hatched parts in FIG. Next storage medium 16 and path management table (PT)
13 and the PCI management program.

第2図および第3図は、第1図における各プロセッサの
PT(パス管理テーブル)内容を示す図、およびPCI
のCTBL (通信アドレスのマツピングテーブル)の
内容を示す図である。
Figures 2 and 3 are diagrams showing the contents of the PT (path management table) of each processor in Figure 1, and the PCI
FIG. 2 is a diagram showing the contents of CTBL (communication address mapping table) of FIG.

PTには、第2図に示すように、各プロセッサ毎に、パ
ス番号、パス番号毎に送受信区別に定められた使用PC
I番号、CTBLのエントリ番号、および通信対象プロ
セッサがそれぞれ示されている。
As shown in Figure 2, the PT includes a path number for each processor, and a PC to be used for each path number for transmission/reception distinction.
The I number, CTBL entry number, and communication target processor are shown.

また、CTBLには、第3図に示すように、PCI毎に
、自PCIのCTBLエントリ番号、CTBLエントリ
情報として、区別、PCI通信アドレス、およびCTB
Lエントリ番号がそれぞれ示される。
In addition, as shown in Fig. 3, the CTBL includes, for each PCI, the CTBL entry number of its own PCI, the CTBL entry information, the distinction, the PCI communication address, and the CTBL entry information.
Each L entry number is shown.

この場合には、各プロセッサ相互間に1本ずつのパスが
定義された場合に対応しており、PCl5〜8の通信ア
ドレスを05〜08としている。
In this case, one path is defined between each processor, and the communication addresses of PCl5-8 are set as 05-08.

PCl5,7.8は、それぞれのプロセッサで現用PC
Iとして使用される。PCI6は、プロセッサ2のコー
ルド予備PCIであり、CTBLの値は無効である。
PCl5, 7.8 is the current PC with each processor.
Used as I. PCI6 is a cold spare PCI of processor 2, and the value of CTBL is invalid.

第4図は、ループ通信路を介して送信される通信データ
の形式を示すフレーム構成図である。
FIG. 4 is a frame configuration diagram showing the format of communication data transmitted via the loop communication path.

通信データフレームは、第4図に示すように、デリミタ
(区切り)、送信先PCI通信アドレス(DA)(8バ
イト)、送信元PCI通信アドレス(SA)(8バイト
)、ループコマンド(LC)(8バイト)、通信情報(
I)(8nバイト)、フレームチエツクシーケンス(P
C5)(16ビツト)、デリミタ(D)から構成されて
いる。
As shown in Figure 4, the communication data frame includes a delimiter, a destination PCI communication address (DA) (8 bytes), a source PCI communication address (SA) (8 bytes), and a loop command (LC) ( 8 bytes), communication information (
I) (8n bytes), frame check sequence (P
C5) (16 bits) and a delimiter (D).

なお、通信情報(1)内は、送信先PCIのCTBLの
通信対象エントリ番号(N)と、サブコマンド(S C
)と、データ(DATA)とに分割されてい第5図およ
び第6図は、各プロセッサ上の通信対象プログラムの処
理フローチャートである。
The communication information (1) includes the communication target entry number (N) of the CTBL of the destination PCI and the subcommand (S C
) and data (DATA). FIGS. 5 and 6 are processing flowcharts of the communication target program on each processor.

先ず(a)の送信処理では、次の順序で処理が行われる
。ここでは、プロセッサ2からプロセッサ3にデータ送
信する場合が示されている。
First, in the transmission process (a), the processes are performed in the following order. Here, a case is shown in which data is transmitted from processor 2 to processor 3.

各プロセッサ上の通信対象プログラム17は、バス番号
1を指定してプロセッサ3への送信を通信制御プログラ
ム14に依頼する(ステップ101)。通信制−プログ
ラム14は、PTよりバス番号1−に対応するPCI 
(PCI 5)とCTBLのエントリ番号(値=1)を
取得しくステップ102)、エントリ番号1を指定して
P(j5にデータの送信を依頼する(ステップ103)
。PCl5では、CTBLの指定エントリ(値=1)か
ら、送信先PCI7の通信アドレス(値=07)とエン
トリ番号(値=2)を取得して(ステップ104)、送
信フレームを生成し・、ループ上にデータを送信する(
ステップ105)。
The communication target program 17 on each processor requests the communication control program 14 to specify bus number 1 and send data to the processor 3 (step 101). Correspondence system - Program 14 selects PCI corresponding to bus number 1 - from PT.
(PCI 5) and CTBL entry number (value = 1) are acquired (step 102), and entry number 1 is specified to request P(j5 to send data (step 103))
. The PCI5 acquires the communication address (value=07) and entry number (value=2) of the destination PCI7 from the specified entry (value=1) in the CTBL (step 104), generates a transmission frame, and loops. Send data to (
Step 105).

送信先PCI7では、自PCIの通信アドレス(値=0
7)のフレームを受信すると(ステップ111)、フレ
ーム中のエントリ番号(値=2)により指定されたCT
BLエントリの情報より送信元PCIの通信アドレス(
値=5)を求めて、フレーム中の送信元アドレス(SA
)との一致チェックを行う(ステップ1工2)。一致し
た場合には、正しいデータを受信したと認識し、通信制
御プログラム14に受信データを転送する(ステップ1
13)。
The destination PCI7 uses its own PCI communication address (value = 0
When the frame 7) is received (step 111), the CT specified by the entry number (value = 2) in the frame is received.
From the information in the BL entry, the communication address of the source PCI (
value = 5), and calculate the source address (SA value = 5) in the frame.
) (Step 1 and Step 2). If they match, it is recognized that the correct data has been received, and the received data is transferred to the communication control program 14 (step 1).
13).

通信制御プログラム14では、送信と逆にPT受信エン
トリ番号(値=2)に対応するバス番号(値=1)を取
得しくステップ114)、そのパスからの受信データを
待っている通信対象プログラム17にデータを渡す(ス
テップ115)。すなわち、プロセッサ上の通信対象プ
ログラム17および通信制御プログラム14とも、直接
PCIの通信アドレスを意識することなく、論理的なバ
ス番号とCTBLエントリ番号を指定して、プロセッサ
間の通信を行い、PCI通信アドレスへの変換はPCI
において分担している。
In step 114), the communication control program 14 acquires the bus number (value=1) corresponding to the PT reception entry number (value=2), contrary to the transmission, and the communication target program 17 waits for reception data from that path. The data is passed to (step 115). In other words, both the communication target program 17 and the communication control program 14 on the processor specify the logical bus number and CTBL entry number without being directly aware of the PCI communication address, and communicate between the processors, and perform PCI communication. Conversion to address is PCI
It is shared in

次に、第6図により、PCI故障時のPCI切替え処理
について説明する。
Next, referring to FIG. 6, the PCI switching process when a PCI fails will be explained.

いま、PCl5が故障になった場合を想定する。Now, assume that PCl5 has failed.

プロセッサ2は、゛現用PCl5以外に予備PCI6が
存在するため、PCI6を使用することにより物理的に
正常な通信経路を確保することが可能である。このとき
、プロセッサ2のPCI通信アドレスが05から06に
変更されるので、プロセッサ2と通信するプロセッサ3
,4のPCIのCTBLに設定されているPCl5の通
信アドレスもP(j6に変更する必要がある。
Since the processor 2 has a spare PCI 6 in addition to the current PCI 5, it is possible to secure a physically normal communication path by using the PCI 6. At this time, the PCI communication address of processor 2 is changed from 05 to 06, so processor 3 that communicates with processor 2
, 4 also needs to change the communication address of PCl5 set in the CTBL of PCI to P(j6.

本発明では、予備PCIに予めパスを用意することなく
、かつプロセッサ上のプログラムの論理的な通信IDで
あるバス番号等の変更を行うことなく、予備PCIへの
切替えが可能である。なお、従来においては、プロセッ
サ2からプロセッサ3゜4側の通信アドレスを変更する
方法がなかったため、予め予備P(j6にもバスを定義
しておき、別バスを使用して通信を継続するホット予備
方式が用いられていたが、本発明では、その必要がなし
X− 第6図(a)には記述がないが、本実施例では、故障P
CIのCTBL情報を予備PCIに引き継ぐため、予め
PCIに設定したCTBL情報を二次媒体に退避すると
同時に、CTBL情報の変更に合わせて退避情報を修正
する機能をPCI管理プログラムに持たせるのである。
In the present invention, it is possible to switch to the backup PCI without preparing a path in advance for the backup PCI and without changing the bus number, which is the logical communication ID of the program on the processor. Conventionally, there was no way to change the communication address from the processor 2 to the processor 3/4 side, so a bus was also defined in advance for the backup P (j6), and a hot A backup method was used, but in the present invention, it is not necessary.
In order to take over the CTBL information of the CI to the backup PCI, the PCI management program is provided with a function of saving the CTBL information set in advance in the PCI to a secondary medium and at the same time modifying the saved information in accordance with changes in the CTBL information.

そして、通信制御プログラム14は、現用PCl5の永
久故障を検出すると、これを障害状態とする(ステップ
201)。次に、PCI管理プログラム15に対して予
備PCI6の組み込みを依頼する(ステップ202)。
When the communication control program 14 detects a permanent failure in the current PCI 5, it sets this as a failure state (step 201). Next, a request is made to the PCI management program 15 to install the spare PCI 6 (step 202).

PCI管理プログラム15は、二次媒体に退避している
PCI6のCTBL情報を読み出し、PCI6のCTB
Lに復元する(ステップ203)。プロセッサ2と通信
バスを設定していた他のプロセッサのCTBLにも、故
障PCl5の通信アドレスが設定されているので、新し
いPCI6の通信アドレスに変更する必要がある。この
ために、本実施例では、アドレス変更の必要性と変更内
容を判断できるPCIを切替えたプロセッサから、ルー
プを経由して通信対象プロセッサのPCIのCTBLを
直接書換えできるように、CTBLの指定エントリのエ
ントリデータ設定機能を、PCIサブコマンド(SPC
コマンド)として実現する。
The PCI management program 15 reads the CTBL information of the PCI6 saved in the secondary medium, and updates the CTBL information of the PCI6.
The data is restored to L (step 203). Since the communication address of the faulty PCI5 is also set in the CTBL of another processor that has set up a communication bus with the processor 2, it is necessary to change it to the communication address of the new PCI6. For this reason, in this embodiment, a specified entry in the CTBL is created so that the CTBL of the PCI of the communication target processor can be directly rewritten via a loop from the processor that has switched the PCI, which can determine the necessity of address change and the contents of the change. The entry data setting function of PCI subcommand (SPC
(command).

プロセッサ2のPCI管理プログラム15は、退避PC
l5のCTBL情報をエントリ1から順次読み出しくス
テップ205)、エントリ番号(N)を指定してPCI
6に当該エントリ(N)に対応する通信相手PCIのエ
ントリ(EN)情報の変更をPCI6に指示する(ステ
ップ206)。
The PCI management program 15 of the processor 2 is
Read the CTBL information of 15 sequentially from entry 1 (step 205), specify the entry number (N), and
6, the PCI 6 is instructed to change the entry (EN) information of the communication partner PCI corresponding to the entry (N) (step 206).

変更情報は、以下のようにして決定することが可能であ
る。送信エントリ(ES)と受信エントリ(ER)がE
R=ES+1のベア関係にあるので、ENの送受信区分
は、Nが奇数時にはl(受信)、偶数時には0(送信)
に決定する。
Change information can be determined as follows. Sending entry (ES) and receiving entry (ER) are E
Since there is a bear relationship of R = ES + 1, the transmission/reception division of EN is l (reception) when N is an odd number, and 0 (transmission) when it is an even number.
decided on.

ENのPCI通信アドレスは、PCI6のアドレスであ
る06に決定する。ENのCTBLエントリ番号は、N
に等しい。PCI6は、P(l管理プログラムから与え
られるENとN値を基にして、CTBL書換え用SPC
コマンドの送信フレムを生成する(ステップ207)。
The PCI communication address of EN is determined to be 06, which is the address of PCI6. The CTBL entry number for EN is N.
be equivalent to. PCI6 uses the SPC for CTBL rewriting based on the EN and N values given from the P(l management program).
A command transmission frame is generated (step 207).

フレーム中の送信先アドレス<DA)は、N番号の自C
TBLエントリのANより決定される。PC,I管理プ
ログラム15は、全エントリについて、相手PCIのC
TBLを修正した後、PCI6の組込み完了を通信制御
プログラム14に通知する(ステップ210)。通信制
御プログラム14は、この通知を契機にして、管理する
PT内のPCl5をP(16に変更し、通信制御対象プ
ログラム17に対する通信サービスを再開する(ステッ
プ211)。
The destination address in the frame is <DA), which is the local number N.
It is determined from the AN of the TBL entry. The PC,I management program 15 checks the destination PCI's C for all entries.
After modifying the TBL, the communication control program 14 is notified of the completion of the installation of the PCI 6 (step 210). Taking this notification as an opportunity, the communication control program 14 changes PCl5 in the managed PT to P(16) and restarts the communication service for the communication control target program 17 (step 211).

SPCコマンドによりCTBLが変更されたプロセッサ
側では、第6図(C)に示すように、PCIからのCT
BL変更通知を契機に、PCI管理プログラムにおいて
、二次媒体にCTBL情報を退避する。すなわち、自P
CIでフレーム受信するとくステップ301)、サブコ
マンドがSPCであるとき(ステップ302)、マツピ
ングテーブルのエントリENの値を受信データに変更す
る(ステップ303)。次に、PCI管理プログラム1
5ヘマッピングテーブルの変更通知を行う(ステップ3
04)。そして、マツピングテーブルを読み込んで、こ
れを二次媒体に退避する(ステップ305)。
On the processor side, where the CTBL has been changed by the SPC command, the CTBL from the PCI is changed as shown in Figure 6 (C).
In response to the BL change notification, the PCI management program saves CTBL information to a secondary medium. In other words, own P
When the frame is received by the CI (step 301), and the subcommand is SPC (step 302), the value of the entry EN in the mapping table is changed to the received data (step 303). Next, PCI management program 1
Notify the mapping table change to 5 (Step 3)
04). Then, the mapping table is read and saved in the secondary medium (step 305).

第7図は、本発明の第2の実施例を示す複合計算機シス
テムのブロック図である。
FIG. 7 is a block diagram of a compound computer system showing a second embodiment of the present invention.

第7図において、21はリング形状を形成する高速通信
路、22〜26はループ21に結合されたプロセッサ群
、27〜31は各プロセッサのPCI、34〜38はP
CI内のCTBLである。
In FIG. 7, 21 is a high-speed communication path forming a ring shape, 22 to 26 are a group of processors coupled to the loop 21, 27 to 31 are PCIs of each processor, and 34 to 38 are P
This is CTBL in CI.

プロセッサ22とプロセッサ23とは、デユーブレツク
システムを構成している。ここでは、プロセッサ22を
現用系、プロセッサ23を予備系と仮定する。32は現
用系のシステムファイルで、現用のプロセッサ22に初
期接続される。33は予備系のシステムファイルで、プ
ロセッサ23に初期接続される。PCl27とPCl2
8は、それぞれプロセッサ22と23のPCIとして使
用される。
Processor 22 and processor 23 constitute a duplex system. Here, it is assumed that the processor 22 is the active system and the processor 23 is the backup system. 32 is an active system file, which is initially connected to the active processor 22; 33 is a standby system file, which is initially connected to the processor 23; PCl27 and PCl2
8 are used as PCIs of processors 22 and 23, respectively.

本実施例では、現用プロセッサ22がプロセッサ故障■
により使用不可能になったとき、現用系のシステムファ
イル32をプロセッサ23のPCl28に接続変更■し
、現用システムをプロセッサ23に再立ち上げすること
によりサービスを継続することができる。この場合にも
、使用PCIが変更されるため、PCIアドレスの変更
処理が必要となる。本実施例では、PCIアドレスの変
更を、プロセッサ上のプログラムに意識させることな〈
実施できる。すなわち、予備系での再立ち上げ時に、P
Cl27の退避CTBL情報39をPCl28のCTB
L35に復元■し、第6図の動作と同じようにして、他
PCI29〜31のCTBL情報36〜38のPCI通
信アドレスをPCI 27からPCl28に変更■する
ことにより、プロセッサ22上で動作していたときのバ
ス番号とCTBLエントリ番号を引き続きそのまま使用
することができる。
In the present embodiment, the current processor 22 has a processor failure.
When the current system file 32 is connected to the PCl 28 of the processor 23 and the current system is restarted on the processor 23, the service can be continued. In this case as well, since the PCI used is changed, processing for changing the PCI address is required. In this embodiment, the change of the PCI address is done without making the program on the processor aware of it.
Can be implemented. In other words, when restarting the standby system, P
Saved CTBL information 39 of Cl27 to CTB of PCl28
By restoring to L35 and changing the PCI communication address of CTBL information 36 to 38 of other PCIs 29 to 31 from PCI 27 to PCI 28 in the same manner as shown in FIG. You can continue to use the bus number and CTBL entry number that you had at the time.

第8図は、本発明の第3の実施例を示す複合計算機シス
テムのブロック図である。
FIG. 8 is a block diagram of a compound computer system showing a third embodiment of the present invention.

第8図において、lはリング形状を形成する高速通信路
、51〜55はループに結合されたブロセッサ群、56
〜61は各プロセッサのPCIであって、このうちPC
l58はPCl56とPCl57の共通予備として使用
される。すなわち、複数のプロセッサ(51と52)で
予備Pljを共用する。そのために、PCl56〜58
とプロセッサ51.52の間に、切り替えスイッチ70
(以後、PSUと記す、P CI  Switchin
g  0nit)を設置する。第8図においては、P(
jの切り替えを自動化するために、ループに接続された
特定のプロセッサ55(以後、SCPと記す、SWit
ching  P CI  Processor)に、
PCI切り替え制御を付加している。80は、5CP5
5からPCIとプロセッサ間の接続切り替えを行うため
の制御用インタフェース(以後、CIと記す、C。
In FIG. 8, l is a high-speed communication path forming a ring shape, 51 to 55 are a group of processors connected in a loop, and 56
~61 is the PCI of each processor, of which PC
158 is used as a common reserve for PCl56 and PCl57. That is, the spare Plj is shared by a plurality of processors (51 and 52). For that purpose, PCl56-58
and the processor 51, 52, a changeover switch 70
(hereinafter referred to as PSU, PCI Switch
g 0nit). In Figure 8, P(
A specific processor 55 (hereinafter referred to as SCP, SWit
changing P CI Processor),
Added PCI switching control. 80 is 5CP5
5 to a control interface (hereinafter referred to as CI, C.

ntrolled  I nterface)であって
、SCP 55AのPCI故障通知や5CP55からP
SU70への切り替え指示に使用される。
PCI failure notification of SCP 55A and P from 5CP55.
Used to instruct switching to SU70.

いま、プロセッサ51の現用PCl56が使用不可とな
った場合を仮定する。プロセッサ51は、PCl56の
故障■のためにループによるプロセッサ間通信を使用で
きなくなり、CIルートで予備PCIを管理している5
CP55にPCl56の故障を通知■する。5CP55
は、予備PCl58をプロセッサ51に割当てるため、
CIルートでPSU70の切替え■を行った後、プロセ
ッサ51にCIルートでPCl58が使用可能であるこ
とを通知■する。以後、本発明のPctアドレス変更処
理にもとづいて、PCIのCTBL情報の復元と修正が
実施される。すなわち、二次媒体のCTBL退避情報6
3よりPCl58のCTBLを復元■するとともに、S
PCコマンドによる他PCl57.59〜61のCTB
L情報のPCI通信アドレスをPCl58に変更■する
Now, assume that the current PCI 56 of the processor 51 becomes unusable. The processor 51 is unable to use inter-processor communication using the loop due to the failure of the PCI 56, and is managing the spare PCI through the CI route.
Notify the CP55 of the failure of the PCl56. 5CP55
In order to allocate the spare PCl 58 to the processor 51,
After switching the PSU 70 through the CI route, the processor 51 is notified (■) that the PSU 58 can be used through the CI route. Thereafter, the PCI CTBL information is restored and modified based on the Pct address change process of the present invention. In other words, the CTBL save information 6 on the secondary medium
3, restore the CTBL of PCl58, and
CTB of other PCl57.59-61 by PC command
Change the PCI communication address of the L information to PCl58.

このように、第2の実施例では、デュプレックス構成を
とるシステムのプロセッサ故障時には、プロセッサ切替
えにより使用PCIを変更する場合に、PCI切替えに
よるPCI通信アドレスの変更をプログラムに意識させ
ることな〈実施できるとともに、第3の実施例では、予
備PCIに予め通信バスを用意しておく必要がなく、複
数プロセッサと予備PCI間に切替えスイッチを配置す
ることにより、複数プロセッサ間で予備PCIを共用す
ることが可能である。
As described above, in the second embodiment, when a processor failure occurs in a system with a duplex configuration and the PCI used is changed by switching the processor, the program can be implemented without making the program conscious of changing the PCI communication address due to the PCI switching. In addition, in the third embodiment, there is no need to prepare a communication bus in advance for the spare PCI, and by arranging a changeover switch between the plurality of processors and the spare PCI, the spare PCI can be shared among the plurality of processors. It is possible.

〔発明の効果〕〔Effect of the invention〕

以上説明したように、本発明によれば、プロセッサ間結
合装置(PCI)が故障して、予備PCIに切替えた場
合にも、PCI切替えによるPCI通信アドレスの変更
をプロセッサ上のプログラムに意識させることなく、切
替え前に使用していたプログラムが管理する論理的なパ
ス番号とCTBLエントリ番号を用いて、そのまま通信
を継続することが可能である。
As explained above, according to the present invention, even when a processor-to-processor coupling device (PCI) fails and is switched to a spare PCI, the program on the processor can be made aware of the change in the PCI communication address due to PCI switching. Instead, it is possible to continue communication as is using the logical path number and CTBL entry number managed by the program that was being used before switching.

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

第1図は本発明の第1の実施例を示す複合計算機システ
ムのブロック図、第2図は第1図におけるバス管理テー
ブル(PT)の内容を示す図、第3図は第1図における
PCIのマツピングテーブル(CT B L)の内容を
示す図、第4図は第1図における通信路上に流れる通信
データフレームのフォーマット図、第5図は第1図にお
けるプロセッサの送受信処理のフローチャート、第6図
は第1図におけるPCI切替え処理のフローチャート、
第7図は本発明の第2の実施例を示す複合計算機システ
ムのブロック図、第8図は本発明の第3の実施例を示す
複合計算機システムのブロック図である。
FIG. 1 is a block diagram of a compound computer system showing the first embodiment of the present invention, FIG. 2 is a diagram showing the contents of the bus management table (PT) in FIG. 1, and FIG. 3 is a diagram showing the PCI in FIG. FIG. 4 is a diagram showing the format of the communication data frame flowing on the communication path in FIG. 1. FIG. Figure 6 is a flowchart of the PCI switching process in Figure 1;
FIG. 7 is a block diagram of a compound computer system showing a second embodiment of the invention, and FIG. 8 is a block diagram of a compound computer system showing a third embodiment of the invention.

Claims (1)

【特許請求の範囲】[Claims] (1)複数のプロセッサがそれぞれプロセッサ間結合装
置(以下、PCI)を介してリング形状ないしバス形状
の閉じられた通信路に接続され、該通信路を経由して相
互間でデータ送受信を行うプロセッサ間通信方式におい
て、現用PCIの故障に備えて用意される予備PCIと
、各PCI内に設けられ、プログラムが管理する通信バ
スに1対1に対応した通信アドレス情報をエントリとし
、エントリ情報として通信相手となるPCIの通信アド
レスおよびエントリ番号が設定されるマッピングテーブ
ルと、該マッピングテーブルの情報を退避するための二
次媒体とを有し、現用PCIによる通信が不通になった
時、上記二次媒体に退避されているマッピング情報を上
記予備PCIのマッピングテーブルに再設定し、退避マ
ッピング情報より通信相手PCIの通信アドレスとエン
トリ番号を取得し、通信路を介して上記マッピング情報
中の通信アドレスを、故障PCIの通信アドレスから予
備PCIの通信アドレスに変更し、上記マッピングテー
ブルの変更を通信相手プロセッサ上のプログラムに通知
することを特徴とするプロセッサ間結合装置切替え方式
(1) A processor in which a plurality of processors are each connected to a ring-shaped or bus-shaped closed communication path via an interprocessor coupling device (hereinafter referred to as PCI), and data is transmitted and received between each other via the communication path. In the inter-communication method, entry information is communication address information that corresponds one-to-one to a spare PCI prepared in case of failure of the current PCI and a communication bus provided in each PCI and managed by a program, and communication is performed as entry information. It has a mapping table in which the communication address and entry number of the other PCI are set, and a secondary medium for saving the information in the mapping table, and when communication by the current PCI is interrupted, the secondary medium The mapping information saved in the medium is reset to the mapping table of the spare PCI, the communication address and entry number of the communication partner PCI are obtained from the saved mapping information, and the communication address in the mapping information is set via the communication path. An inter-processor coupling device switching method characterized in that the communication address of a failed PCI is changed to the communication address of a spare PCI, and a program on a communication partner processor is notified of the change in the mapping table.
JP2123950A 1990-05-14 1990-05-14 Switching system for inter-processor coupling device Pending JPH0421059A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2123950A JPH0421059A (en) 1990-05-14 1990-05-14 Switching system for inter-processor coupling device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2123950A JPH0421059A (en) 1990-05-14 1990-05-14 Switching system for inter-processor coupling device

Publications (1)

Publication Number Publication Date
JPH0421059A true JPH0421059A (en) 1992-01-24

Family

ID=14873362

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2123950A Pending JPH0421059A (en) 1990-05-14 1990-05-14 Switching system for inter-processor coupling device

Country Status (1)

Country Link
JP (1) JPH0421059A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0713893A (en) * 1993-06-29 1995-01-17 Nec Corp Fault recovery system of on-line system
US5548746A (en) * 1993-11-12 1996-08-20 International Business Machines Corporation Non-contiguous mapping of I/O addresses to use page protection of a process
KR100418964B1 (en) * 2001-10-23 2004-02-14 엘지전자 주식회사 Apparatus for Duplicated PCI System
WO2010070713A1 (en) * 2008-12-19 2010-06-24 富士通株式会社 Information processing device and control method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0713893A (en) * 1993-06-29 1995-01-17 Nec Corp Fault recovery system of on-line system
US5548746A (en) * 1993-11-12 1996-08-20 International Business Machines Corporation Non-contiguous mapping of I/O addresses to use page protection of a process
KR100418964B1 (en) * 2001-10-23 2004-02-14 엘지전자 주식회사 Apparatus for Duplicated PCI System
WO2010070713A1 (en) * 2008-12-19 2010-06-24 富士通株式会社 Information processing device and control method

Similar Documents

Publication Publication Date Title
EP3694148A1 (en) Configuration modification method for storage cluster, storage cluster and computer system
CA2339783C (en) Fault tolerant computer system
US7130975B2 (en) Data processing system
JP4543051B2 (en) Remote data facility on IP network
EP1179770B1 (en) File system
US5784617A (en) Resource-capability-based method and system for handling service processor requests
US7143254B2 (en) Remote copy system
US7269611B2 (en) Storage system and storage system control method
CN101163036B (en) Method of implementing two-computer hot backup of network equipment management software
US20080215835A1 (en) Storage system and data processing system
US20070254922A1 (en) Computer system and control method for the computer system
JPH08212095A (en) Client server control system
JPH086910A (en) Cluster type computer system
US7167962B2 (en) Remote copy for a storage controller with reduced data size
CN111858170A (en) Configuration management method, system and readable storage medium
US7752493B2 (en) High reliability system, redundant construction control method, and program
JPH0421059A (en) Switching system for inter-processor coupling device
JP3441264B2 (en) Multi-system
CN113904973A (en) Route updating method, medium, device and computing equipment
JP2013161266A (en) Redundant control system for call processing information, and backup maintenance server for the same
CN112948177A (en) Disaster recovery backup method and device, electronic equipment and storage medium
CN112256484A (en) Data backup method, device and system
JPH0458636A (en) Communication path duplicate control system
JP2829040B2 (en) Information distribution system
JP3541337B2 (en) Network management system and network configuration information management method