JP2005316630A - Multi-server system - Google Patents

Multi-server system Download PDF

Info

Publication number
JP2005316630A
JP2005316630A JP2004132444A JP2004132444A JP2005316630A JP 2005316630 A JP2005316630 A JP 2005316630A JP 2004132444 A JP2004132444 A JP 2004132444A JP 2004132444 A JP2004132444 A JP 2004132444A JP 2005316630 A JP2005316630 A JP 2005316630A
Authority
JP
Japan
Prior art keywords
manager
server
system configuration
definition file
configuration definition
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
JP2004132444A
Other languages
Japanese (ja)
Inventor
Shigenori Tanabe
重徳 田辺
Akio Tomiyama
章夫 富山
Yoshiyuki Arai
義幸 荒井
Yoshito Watanabe
賢人 渡辺
Yasuyuki Kobayashi
泰之 小林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Kokusai Electric Inc
Original Assignee
Hitachi Kokusai Electric Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Kokusai Electric Inc filed Critical Hitachi Kokusai Electric Inc
Priority to JP2004132444A priority Critical patent/JP2005316630A/en
Publication of JP2005316630A publication Critical patent/JP2005316630A/en
Pending legal-status Critical Current

Links

Images

Landscapes

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

Abstract

<P>PROBLEM TO BE SOLVED: To provide a multi-server system enabling respective servers to recognize operation conditions of all servers in a system, switch processing in a short time at an occurrence of a failure, and prevent a system halt in order to solve a problem that a conventional multi-server system takes long time until all of the servers recognize the failure of the other server and cannot switch the processing promptly. <P>SOLUTION: A duplicated manager and a plurality of agents are provided with a file for storing operational statuses of all the servers. When the agent detects the failure of the server, the file of the manager is updated and a change notice is transmitted to the manager. When a change request notice is received from the manager, the file of the manager is copied. When the manager detects the failure of the server, its own file is updated, and when the file is updated or when the change notice is received, the change request notice is transmitted to all of the operating agents. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、二重化システムで構築されたマルチサーバシステムに係り、特に各サーバがシステム内の全てのサーバの稼働状況をリアルタイムで認識でき、障害時に短時間で処理を切り替えることができるマルチサーバシステムに関する。   The present invention relates to a multi-server system constructed by a duplex system, and more particularly to a multi-server system in which each server can recognize the operating status of all servers in the system in real time and can switch processing in a short time in the event of a failure. .

従来のマルチサーバシステムについて説明する。
従来、複数のサーバを備えたマルチサーバシステムでは、各々のサーバについて現用と予備の2つのハードウェアを備えた二重化システムで構築されているものがある。このような二重化システムでは、現用機でハードウェア障害が発生した場合に、処理を予備機に移行することにより、システム全体の停止を回避することができるものである。
A conventional multi-server system will be described.
2. Description of the Related Art Conventionally, in a multi-server system including a plurality of servers, there is a multi-server system constructed by a duplex system including two active and spare hardware for each server. In such a duplex system, when a hardware failure occurs in the active machine, the process can be shifted to a spare machine, thereby preventing the entire system from being stopped.

従来の二重化システムの例としては、現用系の制御用コンピュータが一定時間間隔で稼働状況確認指令を送信し、予備系の制御用コンピュータと、現用系及び予備系の業務用コンピュータからの稼働状況情報に基づいて、現用系と予備系の切り替え指示を与え、また、予備系の制御用コンピュータが、稼働状況確認指令を一定時間間隔以上受信しないときに、自律的に現用系に切り替わる分散処理システムがあった(特許文献1参照)。   As an example of a conventional duplex system, the active control computer sends an operating status confirmation command at regular time intervals, and the operating status information from the standby control computer and the active and standby business computers A distributed processing system that autonomously switches to the active system when the standby control computer does not receive an operation status confirmation command for a certain time interval or more. (See Patent Document 1).

特開平6−195318号公報(第4−9頁、図1)JP-A-6-195318 (page 4-9, FIG. 1)

しかしながら、従来のマルチサーバシステムでは、現用機・予備機で各サーバ毎に運用状態を監視しているため、全てのサーバが他のサーバの障害を認識するまでに時間がかかり、迅速に処理を切り替えることができず、システムを一時停止させてしまうおそれがあるという問題点があった。   However, in the conventional multi-server system, since the operation status is monitored for each server by the active machine / spare machine, it takes time for all servers to recognize the failure of other servers, and processing is performed quickly. There is a problem that the system cannot be switched and the system may be temporarily stopped.

本発明は上記実情に鑑みて為されたもので、各サーバがシステム内の全てのサーバの運用状況を認識でき、障害発生時にも短時間で自動的に処理の切り替えを行うことができ、システム停止を回避することができるマルチサーバシステムを提供することを目的とする。   The present invention has been made in view of the above circumstances, and each server can recognize the operation status of all servers in the system, and can automatically switch processing in a short time even when a failure occurs. It is an object of the present invention to provide a multi-server system that can avoid a stop.

上記従来例の問題点を解決するための本発明は、現用のサーバと予備のサーバとで二重化されたマネージャと、現用のサーバと予備のサーバとで二重化された複数のエージェントとを備えたマルチサーバシステムであって、マネージャ及びエージェントの各サーバに、システム内の全てのサーバの稼働状況として「正常」又は「停止中」を記憶したシステム構成定義ファイルを備え、エージェントが、システム内のいずれかのサーバの障害を検出した場合に、当該サーバの稼働状況を「停止中」とするようマネージャのシステム構成定義ファイルを更新し、マネージャにシステム構成定義ファイルを変更したことを通知するシステム構成定義ファイル変更通知を送信すると共に、マネージャからシステム構成定義ファイルの変更を要求するシステム構成定義ファイル変更要求通知を受信した場合には、送信元のマネージャのシステム構成定義ファイルの内容で自己のシステム構成定義ファイルを更新するサーバから成るエージェントであり、マネージャが、サーバの障害を検出した場合に、当該サーバの稼働状況を「停止中」とするよう自己のシステム構成定義ファイルを更新すると共に、システム構成定義ファイルを更新した場合、若しくはエージェントからシステム構成定義ファイル変更通知を受信した場合に、システム構成定義ファイルを参照して、稼働状況が「正常」である全てのエージェントにシステム構成定義ファイル変更要求通知を送信するサーバから成るマネージャであるマルチサーバシステムとしており、システム内のサーバに障害が発生した場合には、まず、マネージャのシステム構成定義ファイルを更新し、次に、当該マネージャから稼働中の全てのエージェントに対してシステム構成定義ファイルの更新を一斉に通知することにより、マネージャ及びエージェントの全てのサーバがシステム内の各サーバの最新の稼働状況を共通して認識することができ、障害発生時に迅速に処理を切り替えることができる。   The present invention for solving the problems of the conventional example described above is a multi-tasking system comprising: a manager duplexed with an active server and a spare server; and a plurality of agents duplexed with an active server and a spare server. A server system that has a system configuration definition file that stores “normal” or “stopped” as the operating status of all servers in the system on each of the manager and agent servers. System configuration definition file that updates the manager's system configuration definition file so that the operating status of the server is "stopped" and notifies the manager that the system configuration definition file has been changed A system that sends a change notification and requests a change to the system configuration definition file from the manager. System configuration definition file change request notification, an agent consisting of a server that updates its system configuration definition file with the contents of the system configuration definition file of the sending manager, and the manager detects a server failure When the system configuration definition file is updated so that the operating status of the server is "Stopped" and the system configuration definition file is updated, or when a system configuration definition file change notification is received from the agent In addition, the system configuration definition file is referred to as a multi-server system that is a manager that consists of servers that send a system configuration definition file change request notification to all agents whose operation status is “normal”. If a failure occurs, Update the manager's system configuration definition file, and then notify all the active agents from the manager to update the system configuration definition file all at once. The latest operating status of each server can be recognized in common, and processing can be switched quickly when a failure occurs.

本発明によれば、マネージャ及びエージェントの各サーバに、システム内の全てのサーバの稼働状況を記憶したシステム構成定義ファイルを備え、エージェントが、サーバの障害を検出すると、当該サーバの稼働状況を「停止中」としてマネージャのシステム構成定義ファイルを更新して、マネージャにシステム構成定義ファイル変更通知を送信すると共に、マネージャからシステム構成定義ファイル変更要求通知を受信した場合には、送信元のマネージャのシステム構成定義ファイルの内容で自己のシステム構成定義ファイルを更新し、また、マネージャが、サーバの障害を検出すると、当該サーバの稼働状況を「停止中」として自己のシステム構成定義ファイルを更新すると共に、システム構成定義ファイルを更新した場合又はエージェントからシステム構成定義ファイル変更通知を受信した場合に、システム構成定義ファイルを参照して、稼働中の全てのエージェントにシステム構成定義ファイル変更要求通知を送信するマルチサーバシステムとしているので、システム内のサーバに障害が発生した場合には、まず、マネージャのシステム構成定義ファイルを更新し、次に、当該マネージャから稼働中の全てのエージェントに対してシステム構成定義ファイルの更新を一斉に通知することにより、マネージャ及びエージェントの全てのサーバがシステム内の各サーバの最新の稼働状況を共通して認識することができ、障害発生時に迅速に処理を切り替えることができ、システムの一時停止を回避し、安定運用を図ることができる効果がある。   According to the present invention, each server of the manager and the agent is provided with a system configuration definition file storing the operating statuses of all the servers in the system. When the agent detects a server failure, the operating status of the server is changed to “ Updates the manager's system configuration definition file as `` Stopped '', sends the system configuration definition file change notification to the manager, and if the manager receives the system configuration definition file change request notification from the manager, Updates its own system configuration definition file with the contents of the configuration definition file, and when the manager detects a server failure, updates its own system configuration definition file with the operating status of the server as "stopped" When the system configuration definition file is updated or When a system configuration definition file change notification is received from a server, the system configuration definition file is referred to, and the system configuration definition file change request notification is sent to all active agents. When a server failure occurs, first update the manager's system configuration definition file, and then notify all active agents from the manager to update the system configuration definition file all at once. All manager and agent servers can recognize the latest operating status of each server in the system in common, and can switch processing quickly when a failure occurs, avoiding system suspension and stable. There is an effect that can be used.

本発明の実施の形態について図面を参照しながら説明する。
本発明のマルチサーバシステムは、現用と予備により二重化されたマネージャのサーバと、ノード毎に現用と予備により二重化された複数のエージェントのサーバから成るシステムであり、各サーバにシステム内の全サーバの稼働状態を示すデータを記憶するテーブルを備え、障害発生時には、まずマネージャのテーブルを更新し、次いでマネージャからの指示により、エージェントが一斉に自己のテーブルを更新するものであり、各々のサーバが全てのサーバの稼働状況をリアルタイムで共通認識でき、テーブルを参照することにより、障害発生時には迅速に処理の切り替えを行うことができるものである。
Embodiments of the present invention will be described with reference to the drawings.
The multi-server system of the present invention is a system comprising a manager server duplicated by active and spare, and a plurality of agent servers duplicated by active and spare for each node, and each server includes all servers in the system. A table that stores data indicating the operating status is provided. When a failure occurs, the manager's table is updated first, and then, according to instructions from the manager, the agent updates its own table all at once. The server operation status can be commonly recognized in real time, and by referring to the table, processing can be switched quickly when a failure occurs.

本発明の実施の形態に係るマルチサーバシステム(本システム)について図面を用いて説明する。図1は、本発明の実施の形態に係るマルチサーバシステム(本システム)の構成ブロック図である。
本発明の実施の形態に係るマルチサーバシステムは、図1に示すように、多重化された複数のノード(ノード1〜ノードN)を備えており、現用と予備の1組のマネージャと、現用と予備の組から成る複数のエージェントと、それらを接続するLAN等のネットワークとから構成されている。ノード1〜ノードNは、それぞれサーバである。
A multi-server system (this system) according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a configuration block diagram of a multi-server system (this system) according to an embodiment of the present invention.
As shown in FIG. 1, the multi-server system according to the embodiment of the present invention includes a plurality of multiplexed nodes (node 1 to node N), a set of active and standby managers, And a plurality of agents composed of spare sets, and a network such as a LAN connecting them. Each of the nodes 1 to N is a server.

ノード1はマネージャであり、マネージャ(現用)1-1と、マネージャ(予備)1-2と、とから構成されている。
また、ノード2〜ノードNはエージェントであり、ノード2の現用はエージェント1、ノード2の予備はエージェント2、以下同様にノードNの現用はエージェントn、ノードNの予備はエージェントn+1となっている。
The node 1 is a manager, and is composed of a manager (active) 1-1 and a manager (reserve) 1-2.
Nodes 2 to N are agents, node 2 is currently used as agent 1, node 2 is reserved as agent 2, node N is currently used as agent n, and node N is reserved as agent n + 1. .

各ノードの概略ハードウェア構成について図1を用いて説明する。
ノード1のマネージャ(現用)1-1は、ネットワークを介した通信を行うLANボード等の通信部15と、装置全体の制御を行うCPU等の制御部16と、種々のデータや制御部16における処理プログラムを記憶するハードディスク等の記憶部17を備えている。特に、制御部16は、システム構成管理プロセスを実行して、多重化されたシステム全体のシステム構成の管理を行うものである。尚、制御部16には処理に伴うデータを一時的に記憶する記憶部(ワークメモリ)が設けられている。そして、本システムの特徴として、記憶部17にシステム構成定義ファイル10が記憶されており、制御部16においてシステム構成を管理するマネージャ用のシステム構成管理プロセスを実行するようになっている。
マネージャ(予備)1-2も同様の構成であるため、図示及び説明を省略する。
A schematic hardware configuration of each node will be described with reference to FIG.
The manager (active) 1-1 of the node 1 includes a communication unit 15 such as a LAN board that performs communication via a network, a control unit 16 such as a CPU that controls the entire apparatus, and various data and control units 16. A storage unit 17 such as a hard disk for storing the processing program is provided. In particular, the control unit 16 executes a system configuration management process to manage the system configuration of the entire multiplexed system. The control unit 16 is provided with a storage unit (work memory) that temporarily stores data associated with the processing. As a feature of this system, the system configuration definition file 10 is stored in the storage unit 17, and a system configuration management process for a manager that manages the system configuration is executed in the control unit 16.
The manager (spare) 1-2 has the same configuration, and thus illustration and description thereof are omitted.

また、ノード2〜ノードNのエージェント2-1〜エージェント2-n+1は、マネージャ1と同様に、通信制御を行う通信部25と、装置全体の制御を行う制御部26と、種々のデータや制御部26における処理プログラムを記憶する記憶部27とを備えており、記憶部27にはマネージャ1と同様のシステム構成定義ファイル20が記憶されている。そして、エージェントの制御部26は、エージェント用のシステム構成管理プロセスを実行するものである。   Similarly to the manager 1, the agents 2-1 to 2-n + 1 of the nodes 2 to N have a communication unit 25 that performs communication control, a control unit 26 that controls the entire apparatus, and various data. And a storage unit 27 for storing a processing program in the control unit 26. The storage unit 27 stores a system configuration definition file 20 similar to that of the manager 1. The agent control unit 26 executes an agent system configuration management process.

本システムは、マネージャの制御部16におけるシステム構成管理プロセスと、エージェントの制御部26におけるシステム構成管理プロセスとが、マネージャのシステム構造定義ファイル10とエージェントのシステム構造定義ファイル20のデータが、常に一致するように、通知及びファイルを更新する処理を行うものであり、障害が発生した場合に、各ノードが直ちに障害発生を認識して、システムの切り替えを行うことができるものである。   In this system, the system configuration management process in the manager control unit 16 and the system configuration management process in the agent control unit 26 always match the data in the manager system structure definition file 10 and the agent system structure definition file 20. As described above, notification and file update processing are performed. When a failure occurs, each node can immediately recognize the occurrence of the failure and switch the system.

ここで、システム構成定義ファイル10、20の構成について図2を用いて説明する。図2は、システム構成定義ファイル10、20の構成を示す模式説明図である。
図2に示すように、システム構成定義ファイル10又は20は、マネージャ/エージェントにかかわらず、システム内の全てのサーバが同一内容で備えているものであり、各ノード毎に現用と予備の現在の稼働状況(ステータス)を示すデータを記憶している。具体的には、サーバが正常に稼働している状態であれば、システム構成定義ファイル10及び20の当該のサーバに対応する部分に「正常」が記憶され、サーバに障害が発生して停止中であれば「停止中」が記憶されているものである。例えば、図2の例では、「ノード2の現用」サーバが「停止中」となっている。
Here, the configuration of the system configuration definition files 10 and 20 will be described with reference to FIG. FIG. 2 is a schematic explanatory diagram showing the configuration of the system configuration definition files 10 and 20.
As shown in FIG. 2, the system configuration definition file 10 or 20 has the same contents in all servers in the system regardless of managers / agents. Data indicating the operating status (status) is stored. Specifically, if the server is operating normally, “normal” is stored in the part corresponding to the server in the system configuration definition files 10 and 20, and the server has stopped due to a failure. If so, “stopped” is stored. For example, in the example of FIG. 2, the “active node 2” server is “stopped”.

次に、マネージャ1及びエージェント2のソフトウェア構成について図3を用いて説明する。図3(a)は、マネージャのソフトウェア構成を示す説明図であり、(b)は、エージェントのソフトウェア構成を示す説明図である。
図3(a)に示すように、マネージャのシステム構成管理プロセスを実現するソフトウェアは、状態確認プロセス11と、システム構成定義ファイル変更プロセス12(以下、ファイル変更プロセス12)と、システム構成定義ファイル変更通知プロセス13(以下ファイル変更通知プロセス13)とから構成され、これらの処理においてシステム構成定義ファイル10を参照/更新するようになっている。
Next, the software configurations of the manager 1 and the agent 2 will be described with reference to FIG. FIG. 3A is an explanatory diagram illustrating the software configuration of the manager, and FIG. 3B is an explanatory diagram illustrating the software configuration of the agent.
As shown in FIG. 3A, the software for realizing the manager system configuration management process includes a status confirmation process 11, a system configuration definition file change process 12 (hereinafter, file change process 12), and a system configuration definition file change. The notification process 13 (hereinafter referred to as a file change notification process 13) is configured to refer to / update the system configuration definition file 10 in these processes.

ここで、各プロセスは、図1に示したマネージャ1の記憶部17に記憶されている各プロセスに対応したプログラムを、制御部16がワークメモリ(図示せず)に展開して起動することにより実現されるものである。   Here, each process is started when the control unit 16 develops and starts a program corresponding to each process stored in the storage unit 17 of the manager 1 shown in FIG. 1 in a work memory (not shown). It is realized.

マネージャの各プロセスについて具体的に説明する。
マネージャの状態確認プロセス11は、二重化されているマネージャ(現用)1-1とマネージャ(予備)1-2の間で、定期的(例えば1分間隔等)に稼働状態を確認し、障害(応答無し)を検出したときは、ファイル変更プロセス12を起動する処理である。
The manager processes will be described in detail.
The manager status check process 11 periodically checks the operating status (for example, every 1 minute) between the duplicated manager (active) 1-1 and the manager (standby) 1-2, and detects a failure (response). When no) is detected, the file change process 12 is started.

また、マネージャのファイル変更プロセス12は、状態確認プロセス11が障害を検出した場合に起動され、マネージャ1の記憶部15に記憶されているシステム構成定義ファイル10の、障害が発生したサーバの稼働状況を「停止中」に書き替える処理である。   The manager file change process 12 is started when the status check process 11 detects a failure, and the operation status of the server in which the failure has occurred in the system configuration definition file 10 stored in the storage unit 15 of the manager 1. Is rewritten to “stopped”.

マネージャのファイル変更通知プロセス13は、マネージャが、エージェント2から「システム構成定義ファイル変更通知」のコマンドを受信した場合に起動されるものであり、システム構成定義ファイル10を読み込み、稼働状態が「停止中」以外のエージェントに対して、「システム構成に変更が発生したこと」を通知するものである。尚、本システムではこの通知を「システム構成定義ファイル変更要求通知」と称し、送信元のマネージャを特定する情報を含むものとする。   The manager file change notification process 13 is started when the manager receives a “system configuration definition file change notification” command from the agent 2, reads the system configuration definition file 10, and the operation status is “stopped”. The agent other than “medium” is notified that “the system configuration has changed”. In this system, this notification is referred to as a “system configuration definition file change request notification” and includes information for specifying a transmission source manager.

また、図3(b)に示すように、エージェントのシステム構成管理プロセスを実現するソフトウェアは、状態確認プロセス21と、システム構成定義ファイル変更プロセス22(以下、ファイル変更プロセス22)と、システム構成定義ファイル変更通知プロセス23(以下、ファイル変更通知プロセス23)と、システム構成定義ファイル取得プロセス24(以下、ファイル取得プロセス24)から構成され、システム構成定義ファイル20を参照/更新するようになっている。   As shown in FIG. 3B, the software for realizing the system configuration management process of the agent includes a status confirmation process 21, a system configuration definition file change process 22 (hereinafter, file change process 22), and a system configuration definition. A file change notification process 23 (hereinafter, file change notification process 23) and a system configuration definition file acquisition process 24 (hereinafter, file acquisition process 24) are configured to refer to / update the system configuration definition file 20. .

また、これらの各プロセスも、マネージャにおけるプロセスと同様に、エージェントの記憶部27に記憶されている各プロセスに対応したプログラムを、制御部26がワークメモリ(図示せず)に展開して起動することにより実現されるものである。   Similarly to the process in the manager, each of these processes is also started by the control unit 26 developing a program corresponding to each process stored in the agent storage unit 27 in a work memory (not shown). Is realized.

エージェントの各プロセスについて具体的に説明する。
エージェントの状態確認プロセス21は、二重化されている各々のノードにおいて、現用と予備との間で定期的に稼働状況を確認し、障害(応答無し)を検出した場合に、ファイル変更プロセス22を起動する処理である。
例えば、ノードmにおける現用がエージェントp、予備がエージェントqであった場合、エージェントpとエージェントqの状態確認プロセス21が、それぞれ定期的に相手方の稼働状況を確認して、障害を検出すると、自己のファイル変更プロセス22を起動するようになっている。
Each process of the agent will be specifically described.
The agent status confirmation process 21 periodically checks the operating status between the active and standby nodes in each redundant node, and activates the file change process 22 when a failure (no response) is detected. It is processing to do.
For example, if the current use at node m is agent p and the backup is agent q, agent p and agent q status check process 21 periodically checks the operation status of the other party and detects a failure. The file change process 22 is started.

エージェントのファイル変更プロセス22は、状態確認プロセス21が障害を検出した場合に起動され、マネージャのシステム構成定義ファイル10にアクセスして、障害が発生したノードの現用又は予備の稼働状況を「停止中」に書き替える処理である。
例えば、ノードmの現用(エージェントp)に障害が発生して停止した場合には、予備(エージェントq)が、ファイル変更プロセス22によってマネージャ1-1及び1-2のシステム構成定義ファイル10にアクセスしてノードmの現用に対応する稼働状況を「停止中」に更新するものである。
The file change process 22 of the agent is started when the status check process 21 detects a failure. The agent's file change process 22 accesses the manager's system configuration definition file 10 to change the working status of the active or spare node of the failed node to Is a process of rewriting to "."
For example, when a failure occurs in the current use (agent p) of the node m, the backup (agent q) accesses the system configuration definition files 10 of the managers 1-1 and 1-2 by the file change process 22. Thus, the operating status corresponding to the current usage of the node m is updated to “stopped”.

また、エージェントでは、マネージャに対する書き込みや読み込み等のイベント時にマネージャ1の障害を検出することがあり、そのようなイベント時にマネージャ1の障害を検出した際にも、ファイル変更プロセス22が起動される。
この場合には、マネージャ1の障害が発生していない方の装置のシステム構成定義ファイル10にアクセスして、障害が発生したマネージャ1の稼働状況を「停止中」に書き替えるものである。
In addition, the agent may detect a failure of the manager 1 at an event such as writing to or reading from the manager, and the file change process 22 is also activated when a failure of the manager 1 is detected at such an event.
In this case, the system configuration definition file 10 of the apparatus in which the failure of the manager 1 has not occurred is accessed, and the operating status of the manager 1 in which the failure has occurred is rewritten to “stopped”.

エージェントのファイル変更通知プロセス23は、ファイル変更プロセス22によって更新が行われた場合に起動されるものであり、「システム構成に変更が発生したこと」を「システム構成定義ファイル変更通知」によってマネージャ1に通知する処理である。
ここで、ファイル変更通知プロセス23では、システム構成定義ファイル変更通知を送信する前に、ファイル変更プロセス22の更新処理の成否に基づいてマネージャの稼働状況を確認し、マネージャの現用が正常の場合にはマネージャ(現用)1-1にシステム構成定義ファイル変更通知を送信し、マネージャの現用が停止中の場合にはマネージャ(予備)1-2に送信するようになっている。
The agent file change notification process 23 is activated when the file change process 22 performs an update, and “manager configuration 1 file change notification” notifies the manager 1 that “a change has occurred in the system configuration”. It is a process to notify.
Here, in the file change notification process 23, before sending the system configuration definition file change notification, the manager operating status is confirmed based on the success or failure of the update process of the file change process 22, and the current status of the manager is normal. Sends a system configuration definition file change notification to the manager (active) 1-1, and sends it to the manager (spare) 1-2 when the manager's current use is stopped.

そして、エージェントのファイル取得プロセス24は、マネージャからシステム構成定義ファイル変更要求通知を受信したときに起動され、通知の送信元であるマネージャにアクセスして、システム構成定義ファイル10を取得し、自己のシステム構成定義ファイル20にコピーする処理である。
マネージャ及びエージェントの各プロセスが連動した動作については後で詳細に説明する。
The file acquisition process 24 of the agent is started when a system configuration definition file change request notification is received from the manager, accesses the manager that is the transmission source of the notification, acquires the system configuration definition file 10, and This is a process of copying to the system configuration definition file 20.
The operation in which the manager and agent processes work together will be described in detail later.

次に、本システムの動作について具体的に説明する。
まず、障害の検出方法について図4を用いて説明する。図4は、状態確認プロセスによる障害検出を示す模式説明図である。
図4に示すように、マネージャ、エージェントでは、各ノード毎に、多重化されている現用と予備との間で定期的に互いの稼働状況を確認する。具体的には、定期的(例えば1分間隔)に状態確認プロセスを起動することにより、定期的に、一方の装置(送信側の装置)が他方の装置(受信側の装置)に対して状態確認要求を出力し、受信側の装置が応答信号を出力する。送信側の装置で応答信号が受信されない場合、送信側の装置は、受信側の装置に障害が発生したと認識するようになっている。この処理は、受信側と送信側を入れ替えた組み合わせでも定期的に行われている。そして、状態確認プロセスは、上述したように、障害発生を認識すると、マネージャのファイル変更プロセス12又はエージェントのファイル変更プロセス22を起動するようになっている。
Next, the operation of this system will be specifically described.
First, a failure detection method will be described with reference to FIG. FIG. 4 is a schematic explanatory diagram illustrating failure detection by the state confirmation process.
As shown in FIG. 4, the manager and the agent regularly check each other's operation status between the multiplexed active and backup for each node. Specifically, one apparatus (transmission-side apparatus) is periodically in a state with respect to the other apparatus (reception-side apparatus) by starting a state confirmation process periodically (for example, at an interval of 1 minute). A confirmation request is output, and the receiving device outputs a response signal. When the response signal is not received by the transmitting device, the transmitting device recognizes that a failure has occurred in the receiving device. This process is also periodically performed in a combination in which the reception side and the transmission side are switched. As described above, the status confirmation process starts the manager file change process 12 or the agent file change process 22 when the occurrence of a failure is recognized.

次に、エージェントにおけるイベントで障害を検出する場合について図5を用いて説明する。図5は、エージェントがイベントで障害を検出する場合の模式説明図である。
図5に示すように、例えばエージェント2-1がマネージャ(現用)1-1又はマネージャ(予備)1-2に対してデータの書き込みや読み込みプロセスを実行した際に、書き込みや読み込みプロセスに失敗すると、エージェント2-1はマネージャ1-1又はマネージャ1-2の障害を検出し、ファイル変更プロセス22を起動するようになっている。
Next, a case where a failure is detected by an event in the agent will be described with reference to FIG. FIG. 5 is a schematic explanatory diagram when the agent detects a failure by an event.
As shown in FIG. 5, for example, when the agent 2-1 executes a data write / read process on the manager (active) 1-1 or the manager (spare) 1-2, the write / read process fails. The agent 2-1 detects the failure of the manager 1-1 or the manager 1-2 and starts the file change process 22.

次に、エージェントに障害が発生した場合の本システムの動作について図6を用いて説明する。図6は、エージェントに障害が発生した場合の動作を示す模式説明図である。
図6に示すように、例えば、ノード2の現用であるエージェント2-1で障害が発生すると、ノード2の予備であるエージェント2-2の状態確認プロセス21が障害を検出し、エージェント2-2のファイル変更プロセス22が、マネージャ(現用)1-1及びマネージャ(予備)1-2のシステム構成定義ファイル10にアクセスして、ノード2の現用に対応する稼働状況を「停止中」に書き替える(1)。
Next, the operation of the system when a failure occurs in the agent will be described with reference to FIG. FIG. 6 is a schematic explanatory diagram illustrating an operation when a failure occurs in an agent.
As shown in FIG. 6, for example, when a failure occurs in the active agent 2-1 of the node 2, the state confirmation process 21 of the agent 2-2 that is a backup of the node 2 detects the failure, and the agent 2-2 The file change process 22 of the manager accesses the system configuration definition file 10 of the manager (active) 1-1 and the manager (reserve) 1-2, and rewrites the operation status corresponding to the current status of the node 2 to “stopped”. (1).

そして、エージェント2-2は、ファイル変更通知プロセス23を起動して、ファイル変更プロセス22の更新処理の成否に基づいて、マネージャ1-1及びマネージャ1-2の稼働状況を判断し、マネージャ1-1が正常に稼働している場合には、マネージャ1-1に対して、システム構成定義ファイル10の更新を行ったことを通知する(2)。尚、ファイル変更プロセス22において、マネージャ1-1が障害状態であると判断した場合には、エージェント2-2は、ファイル変更通知プロセス23によってマネージャ1-2に変更通知を送信する。   Then, the agent 2-2 starts the file change notification process 23, determines the operating status of the manager 1-1 and the manager 1-2 based on the success or failure of the update process of the file change process 22, and the manager 1-1. If 1 is operating normally, the manager 1-1 is notified that the system configuration definition file 10 has been updated (2). When the file change process 22 determines that the manager 1-1 is in a failure state, the agent 2-2 transmits a change notification to the manager 1-2 through the file change notification process 23.

エージェント2-2からの変更通知コマンドを受信したマネージャ1-1は、ファイル変更通知プロセス13を起動し、システム構成定義ファイル10を参照して、稼働中の(稼働状況が「正常」である)全てのエージェントに対して、システム構成定義ファイル変更要求通知を出力する(3)。   Upon receiving the change notification command from the agent 2-2, the manager 1-1 starts the file change notification process 13, refers to the system configuration definition file 10, and is in operation (the operation status is “normal”). A system configuration definition file change request notification is output to all agents (3).

そして、各エージェントは、マネージャ1-1からシステム構成定義ファイル変更要求通知を受信すると、ファイル取得プロセス24を起動して、送信元のマネージャ1-1にアクセスし、最新のシステム構成定義ファイル10のデータを取得して自己のシステム構成定義ファイル20にコピーする(4)。これにより、全てのエージェントのシステム構成定義ファイルにおいて、「ノード2(現用)」の稼働状況は「停止中」となり、システム内の全てのサーバが「ノード2(現用)が停止中」であることを記憶するものである。このようにして、エージェントで障害が発生した場合の本システムの動作が行われるものである。   When each agent receives the system configuration definition file change request notification from the manager 1-1, each agent activates the file acquisition process 24, accesses the transmission source manager 1-1, and updates the latest system configuration definition file 10. Data is acquired and copied to its own system configuration definition file 20 (4). As a result, in the system configuration definition file of all agents, the operating status of “Node 2 (active)” is “stopped”, and all servers in the system are “node 2 (active) is stopped”. Is memorized. In this way, the operation of this system when a failure occurs in the agent is performed.

次に、マネージャにも障害が発生した場合の動作について図7を用いて説明する。図7は、エージェントに加えてマネージャにも障害が発生した場合の本システムの動作を示す模式説明図である。
図7に示すように、ノード2(現用)のエージェント2-1に引き続きノード1(現用)のマネージャ1-1に障害が発生し、これをノード1(予備)のマネージャ1-2が状態確認プロセス11で検出した場合、マネージャ1-2はファイル変更プロセス12を起動して、システム構成定義ファイル10のノード1(現用)を「停止中」に書き換える(1)。
Next, an operation when a failure occurs in the manager will be described with reference to FIG. FIG. 7 is a schematic explanatory diagram showing the operation of this system when a failure occurs in the manager in addition to the agent.
As shown in FIG. 7, a failure occurs in the manager 1-1 of the node 1 (working) following the agent 2-1 of the node 2 (working), and the manager 1-2 of the node 1 (standby) checks the status. If detected by the process 11, the manager 1-2 activates the file change process 12, and rewrites the node 1 (active) of the system configuration definition file 10 to “stopped” (1).

そして、マネージャ1-2は、システム構成定義ファイル10を書き換えると、ファイル変更通知プロセス13を起動して、システム構成定義ファイル10を参照し、稼働状況が「正常」である全てのエージェントにシステム構成定義ファイル変更要求通知を出力する(2)。ここで、システム構成定義ファイル変更通知の中には、送信元がマネージャ1-2であることを示す識別情報も含まれているものである。   Then, when the manager 1-2 rewrites the system configuration definition file 10, the manager 1-2 starts the file change notification process 13, refers to the system configuration definition file 10, and sets the system configuration to all agents whose operation status is “normal”. A definition file change request notification is output (2). Here, the system configuration definition file change notification includes identification information indicating that the transmission source is the manager 1-2.

そして、システム構成定義ファイル変更要求通知を受信したエージェントは、ファイル取得プロセス24を起動して、システム構成定義ファイル変更要求通知の送信元であるマネージャ1-1にアクセスし、システム構成定義ファイル10をコピーして、自己のシステム構成定義ファイル20をコピーしたファイルの内容で更新する(3)。   Then, the agent that has received the system configuration definition file change request notification activates the file acquisition process 24, accesses the manager 1-1 that is the transmission source of the system configuration definition file change request notification, and stores the system configuration definition file 10. Copy and update its own system configuration definition file 20 with the contents of the copied file (3).

これにより、各エージェントのシステム構成定義ファイルにおいても「ノード1(現用)」の稼働状況は「停止中」となり、エージェントからマネージャ1に対するアクセスが必要となった場合には、ノード1(予備)であるマネージャ1-2にアクセスする。このようにしてマネージャに障害が発生した場合の動作が行われるものである。   As a result, in the system configuration definition file of each agent, the operating status of “node 1 (active)” is “stopped”, and if access from the agent to manager 1 is necessary, node 1 (standby) Access a manager 1-2. In this way, the operation when a failure occurs in the manager is performed.

次に、マネージャに障害が発生したことをエージェントがイベントの際に検出した場合の動作について図8を用いて説明する。図8は、マネージャに障害が発生したことをエージェントがイベントの際に検出した場合の本システムの動作を示す模式説明図である。
図8に示すように、ノード2(現用)のエージェント2-1が、ノード1(現用)のマネージャ1-1に対する書き込みエラーや読み出しエラー等によりマネージャ1-1の障害を検出した場合、エージェント2-1は、ファイル変更プロセス22を起動して、ノード1(予備)のマネージャ1-2にアクセスしてシステム構成定義ファイル10の「ノード1(現用)」を「停止中」に更新する(1)。
Next, the operation when the agent detects that a failure has occurred in the manager will be described with reference to FIG. FIG. 8 is a schematic explanatory diagram showing the operation of this system when the agent detects that a failure has occurred in the manager at the time of the event.
As shown in FIG. 8, when the agent 2-1 of the node 2 (active) detects a failure of the manager 1-1 due to a write error or a read error with respect to the manager 1-1 of the node 1 (active), the agent 2 -1 starts the file change process 22, accesses the manager 1-2 of the node 1 (standby), and updates “node 1 (current)” of the system configuration definition file 10 to “stopped” (1 ).

そして、エージェント2-1は、ファイル変更通知プロセス23により、マネージャ1-2にシステム構成定義ファイル変更通知を送信する(2)。
マネージャ1-2は、システム構成定義ファイル変更通知を受信すると、システム構成定義ファイル10を参照して、稼働中の全てのエージェントに対してシステム構成定義ファイル変更要求通知を送信する(3)。
Then, the agent 2-1 transmits a system configuration definition file change notification to the manager 1-2 by the file change notification process 23 (2).
Upon receiving the system configuration definition file change notification, the manager 1-2 refers to the system configuration definition file 10 and transmits a system configuration definition file change request notification to all active agents (3).

そして、システム構成定義ファイル変更要求通知を受信したエージェントが、マネージャ1-2のシステム構成定義ファイル10を取得して自己のシステム構成定義ファイル20を更新する(4)。このようにして、エージェントにおけるイベントでマネージャ1の障害が検出された場合の動作が行われるものである。   Then, the agent that has received the system configuration definition file change request notification acquires the system configuration definition file 10 of the manager 1-2 and updates its own system configuration definition file 20 (4). In this way, an operation is performed when a failure of the manager 1 is detected by an event in the agent.

次に、本システムを音声応答システムに適用した場合の例について説明する。
まず、本システムが適用された音声応答システムについて図9を用いて説明する。図9は、本システムが適用された音声応答システムの概略システム構成図である。
音声応答システムは、証券会社等に設けられるものであり、投資家等からの電話による株価や市況情報等の問い合わせに対して、自動音声にて回答するシステムである。そして、図9に示すように、音声応答システムは、公衆回線網に接続するINS1500回線36と、INS1500回線36に接続するINS1500用回線切替機32と、音声応答制御を行うコールセンター7と、情報ベンダー31からの情報を受信し、ネットワーク制御を行うシンクディストリビュータ現用41及びシンクディストリビュータ予備42と、情報ベンダから市況データを取得して市況データ蓄積サーバに出力する市況データ取得サーバ現用51及び市況データ取得サーバ予備52と、取得した市況データを蓄積する市況データ蓄積サーバ現用61及び市況データ蓄積サーバ予備62と、サーバ間を接続するLAN等のネットワーク37とから構成されている。
Next, an example in which the present system is applied to a voice response system will be described.
First, a voice response system to which the present system is applied will be described with reference to FIG. FIG. 9 is a schematic system configuration diagram of a voice response system to which the present system is applied.
The voice response system is provided in a securities company or the like, and is a system that answers an inquiry such as stock price or market information by telephone from an investor or the like with an automatic voice. As shown in FIG. 9, the voice response system includes an INS 1500 line 36 connected to the public line network, an INS 1500 line switch 32 connected to the INS 1500 line 36, a call center 7 that performs voice response control, and an information vendor. Sink distributor active 41 and sink distributor spare 42 that receive information from 31 and perform network control, market data acquisition server current 51 and market data acquisition server that acquire market data from an information vendor and output it to a market data storage server The spare 52, the market data storage server active 61 and the market data storage server spare 62 for accumulating the acquired market data, and a network 37 such as a LAN for connecting the servers.

更に、コールセンター7には、コールセンターサーバ現用71及びコールセンターサーバ予備72とが設けられている。また、市況データ蓄積サーバ現用61には市況データを記憶する市況データ蓄積データベース63が接続され、同様に、市況データ蓄積サーバ予備62には市況データ蓄積データベース64が接続されている。   Further, the call center 7 is provided with a call center server working 71 and a call center server spare 72. Further, a market data storage database 63 for storing market data is connected to the market data storage server working 61, and similarly, a market data storage database 64 is connected to the market data storage server spare 62.

このように、本システムを用いた音声応答システムは、各ノードが多重化されたマルチサーバシステムとなっており、ここでは、市況データ蓄積サーバ現用61及び市況データ蓄積サーバ予備62がマネージャであり、市況データ取得サーバ現用51及び市況データ取得サーバ予備52と、コールセンターサーバ現用71及びコールセンターサーバ予備72とがエージェントとなっている。尚、図9において、破線で囲んだ部分が本システムが適用されている部分である。   Thus, the voice response system using this system is a multi-server system in which each node is multiplexed. Here, the market data storage server active 61 and the market data storage server spare 62 are managers, The market data acquisition server working 51 and the market data acquisition server spare 52, the call center server working 71 and the call center server spare 72 are agents. In FIG. 9, a portion surrounded by a broken line is a portion to which the present system is applied.

そして、図9では図示は省略されているが、マネージャ、エージェントの各サーバには、上述したようにシステム構成定義ファイル10又は20が設けられており、本システム内のいずれかのサーバに障害が発生したことを検出した場合には、上述した方法で迅速にシステム構成定義ファイルを更新すると共に、各サーバがシステム構成定義ファイルを参照して処理の切り替えを行うようになっている。   Although not shown in FIG. 9, each of the manager and agent servers is provided with the system configuration definition file 10 or 20 as described above, and any server in this system has a failure. When the occurrence is detected, the system configuration definition file is quickly updated by the above-described method, and each server switches processing by referring to the system configuration definition file.

ここで、図9に示した音声応答システムの一般的な動作を簡単に説明する。
情報取得時の動作は、情報ベンダー31からの市況データが、シンクディストリビュータ41(又は42)を介して市況データ取得サーバ現用51及び市況データ取得サーバ予備52に入力され、市況データ取得サーバ現用51又は市況データ取得サーバ予備52によって市況データ蓄積サーバ現用61及び市況蓄積サーバ予備62に取得された市況データが出力され、それぞれ市況データ蓄積データベース63又は64にデータを蓄積する。これにより、市況データ蓄積データベース63及び64に市況データが蓄積されるものである。
Here, a general operation of the voice response system shown in FIG. 9 will be briefly described.
In the operation at the time of information acquisition, market data from the information vendor 31 is input to the market data acquisition server working 51 and the market data acquisition server spare 52 via the sink distributor 41 (or 42), and the market data acquisition server working 51 or Market status data acquired by the market status data acquisition server reserve 52 and the market status data storage server current 61 and the market status storage server reserve 62 are output and stored in the market status data storage database 63 or 64, respectively. Thereby, the market data is accumulated in the market data accumulation databases 63 and 64.

また、顧客からの情報要求時の動作は、まず、顧客の電話機34又はFAX35から入力されたデータが公衆回線網及びINS1500回線36を介してINS1500用回線切替機37に入力され、変換されてコールセンター7に入力される。コールセンター7では、コールセンターサーバ71(又は72)が入力されたデータに基づいて、顧客が希望する情報を市況データ蓄積サーバ61(又は62)に要求し、市況データ蓄積サーバ61(又は62)が市況データ蓄積データベース63(又は64)を検索して、要求されたデータをコールセンターサーバ71(又は72)に出力し、コールセンターサーバ71(又は72)が応答音声を生成して、顧客の電話機34に応答したり、若しくはコールセンターサーバ71(又は72)がFAXデータを生成して顧客のFAX35に出力するようになっている。これにより、顧客は、所望の情報を音声又はFAX情報として得ることができるものである。   The operation when requesting information from the customer is as follows. First, data input from the customer's telephone 34 or FAX 35 is input to the INS 1500 line switch 37 via the public line network and the INS 1500 line 36 and converted to the call center. 7 is input. The call center 7 requests information desired by the customer from the market data storage server 61 (or 62) based on the data input by the call center server 71 (or 72), and the market data storage server 61 (or 62) The data storage database 63 (or 64) is searched and the requested data is output to the call center server 71 (or 72). The call center server 71 (or 72) generates a response voice and answers the customer's telephone 34. Or the call center server 71 (or 72) generates FAX data and outputs it to the customer's FAX 35. Thereby, the customer can obtain desired information as voice or FAX information.

次に、上記音声応答システムにおける市況データ取得及び市況データ蓄積サーバへの蓄積(格納)の動作について図10を用いて説明する。図10は、音声応答システムにおけるデータ取得及び格納の動作を示す模式説明図である。
図10に示すように、まず、音声応答システムでは、情報ベンダー31に対して市況データを要求する銘柄を予め通知しておく。そして、情報ベンダー31は、要求されている銘柄を対象として、データ更新のイベントが発生した場合に、更新された部分だけを音声応答システムのシンクディストリビュータ現用41に出力する(1)。
Next, operations for acquiring market data and storing (storing) data in the market data storage server in the voice response system will be described with reference to FIG. FIG. 10 is a schematic explanatory diagram showing data acquisition and storage operations in the voice response system.
As shown in FIG. 10, first, in the voice response system, the information vendor 31 is notified in advance of a brand requesting market data. Then, when a data update event occurs for the requested brand, the information vendor 31 outputs only the updated portion to the sink distributor working 41 of the voice response system (1).

シンクディストリビュータ現用41は、更新データを受信すると(2)、受信した更新データをエージェントである市況データ取得サーバ現用51及び市況データ取得サーバ予備52の両方に出力する。   When receiving the update data (2), the sink distributor current 41 outputs the received update data to both the market data acquisition server current 51 and the market data acquisition server spare 52 that are agents.

市況データ取得サーバ現用51が正常に動作している場合、市況データ取得サーバ現用51は、シンクディストリビュータ現用41からの更新データを受け取り、市況データ蓄積サーバ現用61及び市況データ蓄積サーバ予備62に、データベース更新要求を発行する(3)。   When the market data acquisition server current 51 is operating normally, the market data acquisition server current 51 receives the update data from the sink distributor current 41, and stores the database in the market data storage server current 61 and the market data storage server spare 62. An update request is issued (3).

また、市況データ取得サーバ予備52は、シンクディストリビュータ現用41からの更新データを受け取り、自己のシステム構成定義ファイル20を参照して、市況データ取得サーバ現用51の稼働状況が「正常」の場合には、そのまま処理を終わる。すなわち、市況データ取得サーバ現用51が正常に稼働中であれば、市況データ取得サーバ現用51がデータベース更新要求するので、市況データ取得サーバ予備52は何もしないものである。   Further, the market data acquisition server spare 52 receives the update data from the sink distributor active 41, refers to its own system configuration definition file 20, and when the operation status of the market data acquisition server current 51 is "normal". The process is finished as it is. That is, if the market data acquisition server working 51 is operating normally, the market data acquisition server working 51 makes a database update request, so the market data acquisition server spare 52 does nothing.

しかし、市況データ取得サーバ予備52は、システム構成定義ファイル20を参照して、市況データ取得サーバ現用51が「停止中」の場合には、市況データ取得サーバ予備52が、市況データ蓄積サーバ現用61及び市況データ蓄積サーバ予備62に、データベース更新要求を発行する(3′)。   However, the market data acquisition server spare 52 refers to the system configuration definition file 20, and if the market data acquisition server working 51 is “stopped”, the market data acquisition server spare 52 replaces the market data storage server working 61. The database update request is issued to the market data storage server spare 62 (3 ′).

そして、市況データ蓄積サーバ現用61及び市況データ蓄積サーバ予備62は、データベース更新要求を受信すると、それぞれ、市況データ蓄積データベース63又は市況データ蓄積データベース64を更新する(4)。   When receiving the database update request, the market data storage server active 61 and the market data storage server reserve 62 update the market data storage database 63 or the market data storage database 64, respectively (4).

このようにして、本システムを用いた音声応答システムにおけるデータ取得時の処理が行われ、市況データ取得サーバ現用51に障害が発生した場合に迅速に市況データ取得サーバ予備52に処理を移行して、市況データ蓄積サーバ現用61及び市況データ蓄積サーバ予備62にデータベース更新要求を発行でき、市況データ蓄積データベース63及び64へのデータの蓄積が支障無く行われるものである。   In this way, processing at the time of data acquisition in the voice response system using this system is performed, and when a failure occurs in the market data acquisition server working 51, the process is quickly transferred to the market data acquisition server spare 52. The database update request can be issued to the market data storage server working 61 and the market data storage server spare 62, and the data can be stored in the market data storage databases 63 and 64 without any trouble.

次に、本システムを用いた音声応答システムにおける顧客からの問い合わせ時の動作について図11を用いて説明する。図11は、音声応答システムにおける顧客からの問い合わせ時の動作を示す説明図である。
図11に示すように、顧客が電話機34から音声による問い合わせを入力すると(1)、音声データが公衆網等を介してコールセンター7のコールセンターサーバ現用71の自動音声応答手段71aに入力される。すると、コールセンターサーバ現用71の自動音声応答手段71aは、入力された音声データをトーン解析し、株価照会手段(図では株価照会JOB)71bに通知する(2)。
Next, the operation | movement at the time of the inquiry from the customer in the voice response system using this system is demonstrated using FIG. FIG. 11 is an explanatory diagram showing an operation at the time of an inquiry from a customer in the voice response system.
As shown in FIG. 11, when a customer inputs a voice inquiry from the telephone 34 (1), voice data is input to the automatic voice response means 71a of the call center server working 71 of the call center 7 via a public network or the like. Then, the automatic voice response means 71a of the call center server working 71 performs tone analysis on the input voice data and notifies the stock price inquiry means (stock price inquiry JOB in the figure) 71b (2).

ここで、自動音声応答手段及び株価照会手段は、コールセンターサーバ現用71のCPU等の制御部が、記憶部に記憶されたそれぞれの手段に対応したプログラムを起動して実現されるものである。コールセンターサーバ予備72にもコールセンターサーバ現用71と同様の手段が設けられている。   Here, the automatic voice response means and the stock price inquiry means are realized by a control unit such as a CPU of the call center server working 71 starting a program corresponding to each means stored in the storage unit. The call center server spare 72 is provided with the same means as the call center server working 71.

株価照会手段71bは、指定銘柄の株価を市況データ蓄積サーバ現用61又は市況データ蓄積サーバ予備62に問い合わせる(3)。
このとき、エージェントであるコールセンターサーバ現用71の株価照会手段71bは、自己のシステム構成定義ファイル20を参照して、マネージャである市況データ蓄積サーバ現用61の稼働状況を確認する。そして、市況データ蓄積サーバ現用61の稼働状況が「正常」であった場合には、指定銘柄の株価を市況データ蓄積サーバ現用61に問い合わせるものである。
The stock price inquiry means 71b inquires the stock price of the specified brand to the market data storage server current 61 or the market data storage server reserve 62 (3).
At this time, the stock price inquiry means 71b of the call center server working 71 that is an agent refers to its own system configuration definition file 20 and confirms the operating status of the market data storage server working 61 that is a manager. When the operation status of the market data storage server working 61 is “normal”, the stock price of the specified brand is inquired of the market data storage server working 61.

また、株価照会手段71bが、システム構成定義ファイル20を参照した際に、市況データ蓄積サーバ現用61の稼働状況が「停止中」であった場合には、株価照会手段71bは、市況データ蓄積サーバ予備62に指定銘柄の株価を問い合わせるようになっている。
このように、株価照会手段71bは、市況データ蓄積サーバ現用61に障害が発生した場合には市況データ蓄積サーバ予備62に問い合わせて、確実に株価データを取得することができるものである。
Further, when the stock price inquiry means 71b refers to the system configuration definition file 20, and the operating status of the market data storage server working 61 is "stopped", the stock price inquiry means 71b The reserve 62 is inquired about the stock price of the designated brand.
In this manner, the stock price inquiry means 71b can inquire the market data storage server spare 62 and acquire the stock price data reliably when a failure occurs in the market data storage server working 61.

要求された市況データ蓄積サーバ現用61又は市況データ蓄積サーバ予備62は、市況データ蓄積データベース63又は64を検索し、要求のあった銘柄の株価を株価照会手段71bに出力する(4又は4′)。   The requested market data storage server current 61 or the market data storage server reserve 62 searches the market data storage database 63 or 64 and outputs the stock price of the requested brand to the stock price inquiry means 71b (4 or 4 '). .

そして、株価照会手段71bは、市況データ蓄積サーバ現用61又は市況データ蓄積サーバ予備62を介して市況データ蓄積データベース63(又は64)から指定銘柄の株価を取得すると(5)、自動音声応答手段71aに出力し、自動音声応答手段71aが音声の応答メッセージを組み立て、通信回線を介して顧客の電話機電話機34に出力する(6)。このようにして、顧客からの株価の問い合わせがあった場合の動作が行われるものである。これにより、サーバに障害が発生した場合でも、支障なく投資家等に情報を提供することができるものである。   When the stock price inquiry means 71b acquires the stock price of the specified brand from the market data storage database 63 (or 64) via the market data storage server current 61 or the market data storage server reserve 62 (5), the automatic voice response means 71a The automatic voice response means 71a assembles a voice response message and outputs it to the customer's telephone telephone 34 via the communication line (6). In this way, the operation is performed when there is an inquiry about the stock price from the customer. Thereby, even when a failure occurs in the server, information can be provided to investors and the like without any trouble.

また、図示は省略するが、(1)の顧客からの株価問い合わせがコールセンターサーバ現用71とコールセンターサーバ予備72の両方に入力されるようにしておき、コールセンターサーバ予備72は、システム構成定義ファイルを参照して、コールセンターサーバ71が停止している場合にのみ株価照会手段を起動して、市況データ蓄積サーバ現用61又は市況データ蓄積サーバ予備62への問い合わせを行うようにしてもよい。   Although illustration is omitted, the stock price inquiry from the customer (1) is input to both the call center server active 71 and the call center server spare 72, and the call center server spare 72 refers to the system configuration definition file. Then, only when the call center server 71 is stopped, the stock price inquiry means may be activated to make an inquiry to the market data storage server current 61 or the market data storage server reserve 62.

本発明の実施の形態に係るマルチサーバシステムによれば、現用のサーバと予備のサーバが二重化されているマネージャと複数のエージェントとを備えたマルチサーバシステムであって、各サーバ毎にシステム内の全てのサーバの稼働状況を記憶するシステム構成定義ファイルを備え、多重化された一方のエージェントで障害が発生したことを多重化された他方のエージェントが検出すると、検出したエージェントが、マネージャのシステム構成定義ファイルを、障害が発生したエージェントの稼働状況が停止中となるよう書き換え、書き換えたことをマネージャに通知し、マネージャが、システム構成定義ファイルを参照して稼働中の全てのエージェントに対して、システム構成定義ファイルを更新するようシステム構成定義ファイル変更要求通知を送信し、通知を受けたエージェントが、通知の送信元のマネージャのシステム構成定義ファイルをコピーして自己のシステム構成定義ファイルを更新するマルチサーバシステムとしているので、システム内の全てのサーバが、各々のサーバの最新の稼働状況を共通に認識することができ、いずれかのエージェントで障害が発生した場合に迅速に処理を切り替えて、システムの停止を防ぐことができる効果がある。   The multi-server system according to the embodiment of the present invention is a multi-server system including a manager in which a current server and a spare server are duplicated and a plurality of agents, and each server includes A system configuration definition file that stores the operating status of all servers is provided. When the multiplexed agent detects that a failure has occurred in one of the multiplexed agents, the detected agent detects the system configuration of the manager. Rewrite the definition file so that the operating status of the failed agent is stopped, notify the manager that the rewriting has been performed, and the manager refers to the system configuration definition file to all active agents. Changing the system configuration definition file to update the system configuration definition file Since the agent that received the notification and the agent that received the notification copies the system configuration definition file of the manager that sent the notification and updates its own system configuration definition file, all servers in the system However, the latest operating status of each server can be recognized in common, and when a failure occurs in any of the agents, the processing can be quickly switched to prevent the system from being stopped.

また、本発明の実施の形態に係るマルチサーバシステムによれば、各サーバ毎にシステム内の全てのサーバの稼働状況を記憶するシステム構成定義ファイルを備え、多重化された一方のマネージャで障害が発生したことを多重化された他方のマネージャが検出すると、検出したマネージャが自己のシステム構成定義ファイルを書き換え、更に、システム構成定義ファイルを参照して稼働中の全てのエージェントに対して、システム構成定義ファイルを更新するようシステム構成定義ファイル変更要求通知を送信し、通知を受けたエージェントが、通知の送信元のマネージャのシステム構成定義ファイルをコピーして自己のシステム構成定義ファイルを更新するマルチサーバシステムとしているので、システム内の全てのサーバが、各々のサーバの最新の稼働状況を共通に認識することができ、いずれかのマネージャで障害が発生した場合に他方のマネージャを用いるよう迅速に処理を切り替えて、システムの停止を防ぐことができる効果がある。   In addition, according to the multi-server system according to the embodiment of the present invention, each server has a system configuration definition file for storing the operating status of all servers in the system, and a fault occurs in one multiplexed manager. When the other multiplexed manager detects that the event has occurred, the detected manager rewrites its own system configuration definition file, and refers to the system configuration definition file for all active agents. Multi-server that sends a system configuration definition file change request notification to update the definition file, and the agent that receives the notification copies the system configuration definition file of the manager that sent the notification and updates its own system configuration definition file Since it is a system, all the servers in the system The it can recognize the latest operating status in common, by switching either when a failure occurs in the manager quickly treated to use the other manager, there is an effect that it is possible to prevent suspension of the system.

また、本発明の実施の形態に係るマルチサーバシステムによれば、各サーバ毎にシステム内の全てのサーバの稼働状況を記憶するシステム構成定義ファイルを備え、一方のマネージャで障害が発生したことを任意のエージェントが読み出し/書き込みのイベントで検出すると、検出したエージェントが他方のマネージャのシステム構成定義ファイルを書き換え、他方のマネージャにシステム構成定義ファイルを書き換えたことを通知し、通知を受けたマネージャが、システム構成定義ファイルを参照して稼働中の全てのエージェントに対して、システム構成定義ファイルを更新するようシステム構成定義ファイル変更要求通知を送信し、通知を受けたエージェントが、通知の送信元のマネージャのシステム構成定義ファイルをコピーして自己のシステム構成定義ファイルを更新するマルチサーバシステムとしているので、システム内の全てのサーバが、各々のサーバの最新の稼働状況を共通に認識することができ、いずれかのマネージャで障害が発生したことをエージェントがイベントで検出した場合に、迅速にもう一方のマネージャに処理を切り替えて、システムの停止を防ぐことができる効果がある。   In addition, according to the multi-server system according to the embodiment of the present invention, each server has a system configuration definition file for storing the operating status of all servers in the system, and a failure has occurred in one manager. When any agent detects a read / write event, the detected agent rewrites the system configuration definition file of the other manager, notifies the other manager that the system configuration definition file has been rewritten, and the manager receiving the notification The system configuration definition file change request notification is sent to all active agents with reference to the system configuration definition file so that the system configuration definition file is updated. Copy the manager system configuration definition file Since it is a multi-server system that updates the system configuration definition file, all the servers in the system can recognize the latest operating status of each server in common, and that any manager has failed. When an agent detects an event, the process can be quickly switched to the other manager to prevent the system from being stopped.

本発明は、二重化システムで構築されたマルチサーバシステムであって、各サーバがシステム内の全てのサーバの稼働状況を認識でき、障害発生時に短時間で処理を切り替えることができるマルチサーバシステムに適している。   The present invention is a multi-server system constructed with a duplex system, and each server can recognize the operating status of all servers in the system, and is suitable for a multi-server system in which processing can be switched in a short time when a failure occurs. ing.

本発明の実施の形態に係るマルチサーバシステム(本システム)の構成ブロック図である。1 is a configuration block diagram of a multi-server system (this system) according to an embodiment of the present invention. システム構成定義ファイル10、20の構成を示す模式説明図である。FIG. 3 is a schematic explanatory diagram showing a configuration of system configuration definition files 10 and 20. (a)は、マネージャのソフトウェア構成を示す説明図であり、(b)は、エージェントのソフトウェア構成を示す説明図である。(A) is explanatory drawing which shows the software configuration of a manager, (b) is explanatory drawing which shows the software configuration of an agent. 状態確認プロセスによる障害検出を示す模式説明図である。It is a schematic explanatory drawing which shows the failure detection by a state confirmation process. エージェントがイベントで障害を検出する場合の模式説明図である。FIG. 6 is a schematic explanatory diagram when an agent detects a failure by an event. エージェントに障害が発生した場合の動作を示す模式説明図である。FIG. 6 is a schematic explanatory diagram illustrating an operation when a failure occurs in an agent. エージェントに加えてマネージャにも障害が発生した場合の本システムの動作を示す模式説明図である。It is a schematic explanatory drawing which shows operation | movement of this system when a failure has also occurred in the manager in addition to the agent. マネージャに障害が発生したことをエージェントがイベントの際に検出した場合の本システムの動作を示す模式説明図である。It is a schematic explanatory diagram showing the operation of this system when an agent detects that a failure has occurred in a manager at the time of an event. 本システムが適用された音声応答システムの概略システム構成図である。1 is a schematic system configuration diagram of a voice response system to which the present system is applied. 音声応答システムにおけるデータ取得及び格納の動作を示す模式説明図である。It is model explanatory drawing which shows the operation | movement of data acquisition and storage in a voice response system. 音声応答システムにおける顧客からの問い合わせ時の動作を示す説明図である。It is explanatory drawing which shows the operation | movement at the time of the inquiry from the customer in a voice response system.

符号の説明Explanation of symbols

1…マネージャ、 2…エージェント、 7…コールセンター、 10…システム構成定義ファイル、 11…状態確認プロセス、 12…システム構成定義ファイル変更プロセス、 13…システム構成定義ファイル変更通知プロセス、 15…通信部、 16…制御部、 17…記憶部、 20…システム構成定義ファイル、 21…状態確認プロセス、 22…システム構成定義ファイル変更プロセス、 23…システム構成定義ファイル変更通知、 24…システム構成定義ファイル取得プロセス、25… 31…情報ベンダー、 32…INS1500用回線切替機、 34…電話機、 35…FAX、 37…ネットワーク、 41…シンクディストリビュータ現用、 42…シンクディストリビュータ予備、 51…市況データ取得サーバ現用、 52…市況データ取得サーバ予備、 61…市況データ蓄積サーバ現用、 62…市況データ蓄積サーバ予備、 63…市況データ蓄積データベース現用、 64…市況データ蓄積データベース予備、 71…コールセンターサーバ現用、 72…コールセンターサーバ予備   DESCRIPTION OF SYMBOLS 1 ... Manager, 2 ... Agent, 7 ... Call center, 10 ... System configuration definition file, 11 ... Status confirmation process, 12 ... System configuration definition file change process, 13 ... System configuration definition file change notification process, 15 ... Communication part, 16 DESCRIPTION OF SYMBOLS ... Control part, 17 ... Memory | storage part, 20 ... System configuration definition file, 21 ... Status confirmation process, 22 ... System configuration definition file change process, 23 ... System configuration definition file change notification, 24 ... System configuration definition file acquisition process, 25 ... 31 ... Information vendor, 32 ... INS 1500 line switching machine, 34 ... Telephone, 35 ... FAX, 37 ... Network, 41 ... Sink distributor working, 42 ... Sink distributor spare, 51 ... Market data acquisition server working, 2 ... Market data acquisition server spare, 61 ... Market data storage server current, 62 ... Market data storage server spare, 63 ... Market data storage database current, 64 ... Market data storage database spare, 71 ... Call center server current, 72 ... Call center server Reserve

Claims (1)

現用のサーバと予備のサーバとで二重化されたマネージャと、現用のサーバと予備のサーバとで二重化された複数のエージェントとを備えたマルチサーバシステムであって、
前記マネージャ及び前記エージェントの各サーバに、システム内の全てのサーバの稼働状況として「正常」又は「停止中」を記憶したシステム構成定義ファイルを備え、
前記エージェントが、システム内のいずれかのサーバの障害を検出した場合に、当該サーバの稼働状況を「停止中」とするよう前記マネージャのシステム構成定義ファイルを更新し、前記マネージャにシステム構成定義ファイルを変更したことを通知するシステム構成定義ファイル変更通知を送信すると共に、マネージャからシステム構成定義ファイルの変更を要求するシステム構成定義ファイル変更要求通知を受信した場合には、送信元のマネージャのシステム構成定義ファイルの内容で自己のシステム構成定義ファイルを更新するサーバから成るエージェントであり、
前記マネージャが、サーバの障害を検出した場合に、当該サーバの稼働状況を「停止中」とするよう自己のシステム構成定義ファイルを更新すると共に、前記システム構成定義ファイルを更新した場合、若しくは前記エージェントからシステム構成定義ファイル変更通知を受信した場合に、システム構成定義ファイルを参照して、稼働状況が「正常」である全てのエージェントにシステム構成定義ファイル変更要求通知を送信するサーバから成るマネージャであることを特徴とするマルチサーバシステム。
A multi-server system comprising a manager duplexed with an active server and a spare server, and a plurality of agents duplexed with an active server and a spare server,
Each server of the manager and the agent includes a system configuration definition file that stores “normal” or “stopped” as the operating status of all servers in the system,
When the agent detects a failure of any server in the system, the agent updates the system configuration definition file of the manager so that the operating status of the server is “stopped”, and the system configuration definition file is transmitted to the manager. When the system configuration file change notification is sent to notify that the system configuration file has been changed, and when the system configuration definition file change request notification is received from the manager, the system configuration of the source manager An agent consisting of a server that updates its system configuration definition file with the contents of the definition file.
When the manager detects a server failure, the manager updates its own system configuration definition file so that the operation status of the server is “stopped” and updates the system configuration definition file, or the agent When a system configuration definition file change notification is received from a manager, it is a manager consisting of a server that refers to the system configuration definition file and sends a system configuration definition file change request notification to all agents whose operation status is "normal" A multi-server system characterized by that.
JP2004132444A 2004-04-28 2004-04-28 Multi-server system Pending JP2005316630A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004132444A JP2005316630A (en) 2004-04-28 2004-04-28 Multi-server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004132444A JP2005316630A (en) 2004-04-28 2004-04-28 Multi-server system

Publications (1)

Publication Number Publication Date
JP2005316630A true JP2005316630A (en) 2005-11-10

Family

ID=35444005

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004132444A Pending JP2005316630A (en) 2004-04-28 2004-04-28 Multi-server system

Country Status (1)

Country Link
JP (1) JP2005316630A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010186313A (en) * 2009-02-12 2010-08-26 Mitsubishi Electric Corp Configuration control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010186313A (en) * 2009-02-12 2010-08-26 Mitsubishi Electric Corp Configuration control system

Similar Documents

Publication Publication Date Title
US7114094B2 (en) Information processing system for judging if backup at secondary site is necessary upon failover
US9753954B2 (en) Data node fencing in a distributed file system
EP1179770B1 (en) File system
US9274906B2 (en) Implementing failover processes between storage stamps
TW589533B (en) Redundancy method of server, redundant server system and redundant database server
KR100575497B1 (en) Fault tolerant computer system
US7146532B2 (en) Persistent session and data in transparently distributed objects
US7836162B2 (en) Transaction processing system and transaction processing method
EP1873645A1 (en) Storage system and data replication method
JP5691246B2 (en) Database duplex system, information processing apparatus, and database duplex method
CN100550894C (en) The N road is shared the efficient lock management of flash copy in the storage system
US8112598B2 (en) Apparatus and method for controlling copying
KR101605455B1 (en) Method for Replicationing of Redo Log without Data Loss and System Thereof
KR20020036502A (en) Duplicated Database Management System for Main Memory Resident DBMS
JP3407016B2 (en) Network management system
JP2017004502A (en) Information system and update method
JP2005316630A (en) Multi-server system
CN112882771A (en) Server switching method and device of application system, storage medium and electronic equipment
JP7346313B2 (en) Database management systems, cloud provision systems, data replication systems, and programs
JP2008084264A (en) Network storage computer system, network storage management method, management server, and program for it
JP2001154897A (en) Data base system and data base updating method
JP5870174B1 (en) Data transmission system
JPH11327985A (en) Duplex computer system
JP3860587B2 (en) Multiprocessor device
JP2021086489A (en) Loosely-coupled system