JP2012150555A - Monitor system - Google Patents

Monitor system Download PDF

Info

Publication number
JP2012150555A
JP2012150555A JP2011007097A JP2011007097A JP2012150555A JP 2012150555 A JP2012150555 A JP 2012150555A JP 2011007097 A JP2011007097 A JP 2011007097A JP 2011007097 A JP2011007097 A JP 2011007097A JP 2012150555 A JP2012150555 A JP 2012150555A
Authority
JP
Japan
Prior art keywords
server
line
active
spare
active server
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
JP2011007097A
Other languages
Japanese (ja)
Inventor
Isamu Kanesaki
勇 兼先
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 JP2011007097A priority Critical patent/JP2012150555A/en
Publication of JP2012150555A publication Critical patent/JP2012150555A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)
  • Hardware Redundancy (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a monitor system which securely discriminates between line disconnection and power discontinuity of a standby server, and regards only the line disconnection as a condition of system switching.SOLUTION: The monitor system including an active server, the standby server, and a switching device which connects the active server or the standby server to an external device is constituted such that the active server and the standby server are connected through a first line and a second line different from the first line, at least one of the standby server and the active server transmits a first inquiry signal to the other server using the first line and a second inquiry signal to the other server using the second line, the server having received the first and second inquiry signals transmits a first response signal to the server having transmitted the first and second inquiry signals using the first line and a second response signal using the second line, and the active server and the standby server switch their operation states based upon the first and second inquiry signals.

Description

本発明は、監視システムに関し、特に、現用サーバと予備サーバを備える2重系システムにおいて、サーバ相互間を監視し、異常検出した場合に現用サーバと予備サーバを切り替える監視システムに関するものである。   The present invention relates to a monitoring system, and more particularly to a monitoring system that monitors between servers in a dual system including an active server and a spare server and switches between the active server and the spare server when an abnormality is detected.

従来の2重系サーバシステムとして、現用サーバと予備サーバが、切替装置を介して外部装置に接続されているシステムがある。この2重系サーバシステムにおいては、通常は、現用サーバが運用中で動作し、予備サーバは待機中で動作する。また、現用サーバと予備サーバ間が、回線により直接接続されている。現用サーバと予備サーバには、それぞれ回線状態を監視するアプリケーションプログラムがインストールされており、それぞれが回線状態を監視し回線異常を検出することで、サーバが装置異常であると判断し、現用サーバを待機中へ、予備サーバを運用中へ動作を切り替える。   As a conventional dual server system, there is a system in which an active server and a spare server are connected to an external device via a switching device. In this dual server system, the active server normally operates while operating, and the spare server operates while waiting. Further, the active server and the spare server are directly connected by a line. Each of the active server and the spare server is installed with an application program that monitors the line status. Each of the active server and the standby server monitors the line status and detects a line error. Switch operation to standby and operating spare server.

従来のサーバ異常判断シーケンスについて説明する。図4は、従来例に係るサーバ相互監視シーケンスを示す図である。予備サーバ420は、回線400を介して、現用サーバ410に対しポーリング411を送信する。現用サーバ410は、受信したポーリング411に対し、予備サーバ420にポーリング応答412を返送する。これを繰り返すことにより、サーバ間の回線400は正常と判断できる。
一方、予備サーバ420からのポーリング423が現用サーバ410に未達の場合は、現用サーバ410と予備サーバ420は、それぞれ回線断430を検出し、サーバ切替えの条件とする。具体的には、現用サーバ410は運用中から待機中へ遷移し、予備サーバ420は待機中から運用中へ遷移する。
A conventional server abnormality determination sequence will be described. FIG. 4 is a diagram showing a server mutual monitoring sequence according to a conventional example. The spare server 420 transmits a polling 411 to the active server 410 via the line 400. The active server 410 returns a polling response 412 to the spare server 420 in response to the received polling 411. By repeating this, it can be determined that the line 400 between the servers is normal.
On the other hand, when the polling 423 from the spare server 420 has not reached the active server 410, the active server 410 and the spare server 420 each detect a line disconnection 430 and use it as a server switching condition. Specifically, the active server 410 transitions from operating to standby, and the spare server 420 transitions from standby to operating.

しかし、上述の回線断430の状態は、現用サーバ410側からみると、単なる回線断の場合なのか、予備サーバ420が電源断で停止状態のためポーリングを送信しない場合なのか、区別が付かない。そのため、現用サーバ410が運用中状態において、予備サーバ420が電源断した場合にも、現用サーバ410は回線断とみなして系切替えを行い、運用中状態から待機中状態へ遷移するので、運用中状態のサーバが存在しなくなってしまう。
下記の特許文献1には、現用系システムと予備系システムを切り替えることができる2重系システムが記載されている。
However, from the viewpoint of the active server 410, it is not possible to distinguish whether the state of the line disconnection 430 is a simple line disconnection or a case where the standby server 420 is in a stopped state due to a power failure and does not transmit polling. . For this reason, even when the standby server 420 is powered off while the active server 410 is in operation, the active server 410 performs system switching by assuming that the line is disconnected, and transitions from the active state to the standby state. The state server no longer exists.
Patent Document 1 below describes a dual system that can switch between an active system and a standby system.

特開2002-261929公報JP 2002-261929 A

上述したように、従来の2重系サーバの監視システムにおいては、回線断と予備サーバの電源断の区別ができないという課題があった。
本発明は、このような従来の課題を解決するために為されたもので、回線断と予備サーバの電源断の区別をより確実に行い、回線断のみを系切替えの条件とすることが容易となる監視システムを提供することを目的とする。
As described above, in the conventional dual server monitoring system, there is a problem that it is impossible to distinguish between a line disconnection and a standby server power disconnection.
The present invention has been made to solve such a conventional problem, and it is possible to more reliably distinguish between line disconnection and standby server power supply disconnection, and to make only line disconnection a condition for system switching. The purpose is to provide a monitoring system.

上記課題を解決するための、本願発明の監視システムの代表的な構成は、次のとおりである。すなわち、
現用サーバと、予備サーバと、現用サーバ又は予備サーバを切替えて外部装置に接続する切替装置とを備えた監視システムであって、
現用サーバと予備サーバとが、第1の回線、及び、第1の回線とは別の第2の回線を介して接続され、
予備サーバと現用サーバのうち少なくとも一方のサーバは、前記第1の回線を用いて他方のサーバに対する第1の問合せ信号を送信するとともに、前記第2の回線を用いて他方のサーバに対する第2の問合せ信号を送信し、前記第1及び第2の問合せ信号を受信したサーバは、前記第1及び第2の問合せ信号を送信したサーバへ、前記第1の回線を用いて第1の応答信号を送信するとともに、前記第2の回線を用いて第2の応答信号を送信し、
前記第1、第2の問合せ信号の応答結果に基づいて、現用サーバと予備サーバが、それぞれの運用状態切り替えを行うことを特徴とする監視システム。
A typical configuration of the monitoring system of the present invention for solving the above problems is as follows. That is,
A monitoring system comprising an active server, a spare server, and a switching device that switches the active server or the spare server to connect to an external device,
The active server and the spare server are connected via a first line and a second line different from the first line,
At least one of the spare server and the active server transmits a first inquiry signal to the other server using the first line, and uses a second line to the other server using the second line. The server that transmitted the inquiry signal and received the first and second inquiry signals sends the first response signal to the server that transmitted the first and second inquiry signals using the first line. And transmitting a second response signal using the second line,
A monitoring system, wherein an active server and a spare server perform respective operation state switching based on response results of the first and second inquiry signals.

本願発明によれば、回線断と予備サーバの電源断の区別をより確実に行い、回線断のみを系切替えの条件とすることが容易となる。   According to the present invention, it becomes easier to distinguish between line disconnection and power-off of the spare server more reliably, and it is easy to make only the line disconnection a system switching condition.

本発明の実施例に係る監視システムの構成を示す図である。It is a figure which shows the structure of the monitoring system which concerns on the Example of this invention. 本発明の実施例に係るサーバ相互監視シーケンスを示す図である。It is a figure which shows the server mutual monitoring sequence which concerns on the Example of this invention. 本発明の実施例に係るサーバ切替動作マトリクスを示す図である。It is a figure which shows the server switching operation | movement matrix which concerns on the Example of this invention. 従来例に係るサーバ相互監視シーケンスを示す図である。It is a figure which shows the server mutual monitoring sequence which concerns on a prior art example.

本発明の実施形態の一例である監視システムについて、図1を参照しながら説明する。図1は、本発明の実施例に係る監視システムの構成を示す図である。
本例の監視システムは、図1に示すように、現用サーバ10と、予備サーバ20と、現用サーバ10又は予備サーバ20を外部装置40に接続する切替装置30とを備える。
現用サーバ10は、制御部11と、切替装置30との間で送受信を行う送受信部12と、予備サーバ20との間で送受信を行う送受信部13とを備える。制御部11は、現用サーバ10の機能を制御するもので、ハードウエア構成としては、CPU(Central Processing Unit)と制御部11の動作プログラム等を格納するメモリを備えており、CPUは、この動作プログラムに従って動作する。また、動作プログラムとしては、回線を監視するための監視プログラムと、サーバの本来の機能を実現するための指令系管理プログラムを備える。
A monitoring system as an example of an embodiment of the present invention will be described with reference to FIG. FIG. 1 is a diagram illustrating a configuration of a monitoring system according to an embodiment of the present invention.
As shown in FIG. 1, the monitoring system of this example includes an active server 10, a spare server 20, and a switching device 30 that connects the active server 10 or the spare server 20 to an external device 40.
The active server 10 includes a control unit 11, a transmission / reception unit 12 that performs transmission / reception with the switching device 30, and a transmission / reception unit 13 that performs transmission / reception with the spare server 20. The control unit 11 controls the function of the active server 10, and as a hardware configuration, a CPU (Central Processing Unit) and a memory for storing an operation program of the control unit 11 are provided. Operates according to the program. The operation program includes a monitoring program for monitoring the line and a command system management program for realizing the original function of the server.

予備サーバ20は、制御部21と、切替装置30との間で送受信を行う送受信部22と、現用サーバ10との間で送受信を行う送受信部23とを備える。制御部21は、予備サーバ20の機能を制御するもので、ハードウエア構成としては、CPU(Central Processing Unit)と制御部21の動作プログラム等を格納するメモリを備えており、CPUは、この動作プログラムに従って動作する。また、動作プログラムとしては、回線を監視するための監視プログラムと、サーバの本来の機能を実現するための指令系管理プログラムを備える。
本例では、現用サーバ10及び予備サーバ20の構成は同一であるが、現用サーバとして機能するか、予備サーバとして機能するかは、例えば、現用サーバ10及び予備サーバ20の操作部(不図示)から、操作者が設定できるようになっている。
The spare server 20 includes a control unit 21, a transmission / reception unit 22 that performs transmission / reception with the switching device 30, and a transmission / reception unit 23 that performs transmission / reception with the active server 10. The control unit 21 controls the function of the spare server 20. As a hardware configuration, the control unit 21 includes a CPU (Central Processing Unit) and a memory for storing an operation program of the control unit 21. Operates according to the program. The operation program includes a monitoring program for monitoring the line and a command system management program for realizing the original function of the server.
In this example, the configurations of the active server 10 and the spare server 20 are the same, but whether to function as the active server or the spare server depends on, for example, the operation unit (not shown) of the active server 10 and the spare server 20. From here, the operator can set.

切替装置30は、制御部31と、現用サーバ10及び予備サーバ20との間で送受信を行う送受信部32と、外部装置40との間で送受信を行う送受信部33とを備える。なお、切替装置30は、例えば、L3SW(Layer3 Switch)により構成される。制御部31は、切替装置30の機能を制御するもので、ハードウエア構成としては、CPU(Central Processing Unit)と制御部31の動作プログラム等を格納するメモリを備えており、CPUは、この動作プログラムに従って動作する。   The switching device 30 includes a control unit 31, a transmission / reception unit 32 that performs transmission / reception between the active server 10 and the spare server 20, and a transmission / reception unit 33 that performs transmission / reception between the external device 40. Note that the switching device 30 is configured by, for example, an L3SW (Layer 3 Switch). The control unit 31 controls the function of the switching device 30. As a hardware configuration, the control unit 31 includes a CPU (Central Processing Unit) and a memory that stores an operation program of the control unit 31, and the CPU performs this operation. Operates according to the program.

現用サーバ10と予備サーバ20は、現用サーバ10と予備サーバ20とを直接接続する第1の回線100を介して接続されるとともに、現用サーバ10と予備サーバ20とを切替装置30を介して接続する第2の回線200を介して接続されている。第2の回線200は、切替装置30の送受信部32において接続されてもよいし、あるいは、切替装置30の制御部31を介して接続されるようにしてもよい。   The active server 10 and the spare server 20 are connected via the first line 100 that directly connects the active server 10 and the spare server 20, and the active server 10 and the spare server 20 are connected via the switching device 30. Connected through the second line 200. The second line 200 may be connected at the transmission / reception unit 32 of the switching device 30 or may be connected via the control unit 31 of the switching device 30.

図1に示す構成において、予備サーバ20は、第1の回線100を用いて現用サーバ10に対し周期的に発する問合せ信号として第1のポーリング信号を出力し、かつ、第2の回線200を用いて現用サーバ10に対し周期的に発する問合せ信号として第2のポーリング信号を出力する。
そして、第1の回線100を用いた第1のポーリング信号の応答結果、及び第2の回線200を用いた第2のポーリング信号の応答結果に基づいて、現用サーバ10と予備サーバ20は、それぞれの運用状態の切り替えを行うものである。
なお、現用サーバ10及び予備サーバ20の運用状態としては、回線を監視するための監視プログラムとサーバの本来の機能を実現するための指令系管理プログラムの両方が稼働している運用中状態と、回線を監視するための監視プログラムのみが稼働している待機中状態と、監視プログラムと指令系管理プログラムの両方の機能が停止している電源断状態がある。
In the configuration shown in FIG. 1, the backup server 20 outputs a first polling signal as an inquiry signal periodically issued to the active server 10 using the first line 100, and uses the second line 200. The second polling signal is output as an inquiry signal periodically issued to the active server 10.
Then, based on the response result of the first polling signal using the first line 100 and the response result of the second polling signal using the second line 200, the active server 10 and the spare server 20 are respectively The operation state is switched.
The operational status of the active server 10 and the spare server 20 includes an operational status in which both the monitoring program for monitoring the line and the command management program for realizing the original function of the server are operating, There is a standby state in which only the monitoring program for monitoring the line is operating, and a power-off state in which both functions of the monitoring program and the command system management program are stopped.

次に、本発明の実施例に係るサーバ相互監視シーケンスを、図2を用いて説明する。図2は、本発明の実施例に係るサーバ相互監視シーケンスを示す図である。
まず、両方の回線が正常と判断される場合について説明する。図2において、待機中状態の予備サーバ20は、回線100を介して、運用中状態の現用サーバ10に対し、問合せ信号としてポーリング111を送信する。現用サーバ10は、ポーリング111を受信すると、応答信号としてポーリング応答112を、予備サーバ20に返送する。次に予備サーバ20は、回線200を介して現用サーバ10に対し、問合せ信号としてポーリング211を送信する。現用サーバ10は、ポーリング211を受信すると、応答信号としてポーリング応答212を、予備サーバ20に返送する。これを繰り返すことにより、現用サーバ10と予備サーバ20は、それぞれ、サーバ間の回線が正常、すなわち、互いに相手のサーバが正常であると判断できる。
Next, a server mutual monitoring sequence according to the embodiment of the present invention will be described with reference to FIG. FIG. 2 is a diagram showing a server mutual monitoring sequence according to the embodiment of the present invention.
First, a case where both lines are determined to be normal will be described. In FIG. 2, the standby server 20 in the standby state transmits a polling 111 as an inquiry signal to the active server 10 in the operating state via the line 100. When receiving the polling 111, the active server 10 returns a polling response 112 as a response signal to the spare server 20. Next, the spare server 20 transmits a polling 211 as an inquiry signal to the active server 10 via the line 200. When receiving the polling 211, the active server 10 returns a polling response 212 as a response signal to the spare server 20. By repeating this, each of the active server 10 and the spare server 20 can determine that the line between the servers is normal, that is, the other server is normal.

次に、一方の回線が異常と判断された場合について説明する。図2において、待機中状態の予備サーバ20は、回線100を介して、運用中状態の現用サーバ10に対しポーリング121を送信する。現用サーバ10は、ポーリング121を受信すると、ポーリング応答122を、予備サーバ20に返送する。次に予備サーバ20は、回線200を介して現用サーバ10に対しポーリング221を送信する。しかし、ポーリング221は、現用サーバ10に到達しない。ポーリング221を受信できないので、現用サーバ10は、ポーリング応答を予備サーバ20に返送することができない。   Next, a case where one line is determined to be abnormal will be described. In FIG. 2, the standby server 20 in the standby state transmits a poll 121 to the active server 10 in the operating state via the line 100. When receiving the polling 121, the active server 10 returns a polling response 122 to the spare server 20. Next, the spare server 20 transmits a polling 221 to the active server 10 via the line 200. However, the polling 221 does not reach the active server 10. Since the polling 221 cannot be received, the active server 10 cannot return a polling response to the spare server 20.

かくして、現用サーバ10と予備サーバ20は、それぞれ、回線断301を検出し、システムの一部に異常が発生したことを認識する。しかし、回線100を用いたポーリング121とポーリング応答122は正常に送受信されているので、現用サーバ10は、予備サーバ20が待機中状態であり運用中状態での稼動が可能であるとみなす。結論として、何らかの異常が発生しているため、現用サーバ10は、シャットダウンして電源断状態に遷移し、予備サーバ20は、待機中状態から運用中状態へ遷移する。このようにして、一方の回線が異常と判断された場合は、現用サーバ10と予備サーバ20は、それぞれ独自の判断により、運用状態を切替える。その結果、系切替えが行われる。   Thus, each of the active server 10 and the spare server 20 detects the line disconnection 301 and recognizes that an abnormality has occurred in a part of the system. However, since the polling 121 and polling response 122 using the line 100 are normally transmitted and received, the active server 10 assumes that the standby server 20 is in a standby state and can be operated in an operating state. In conclusion, since some abnormality has occurred, the active server 10 shuts down and transitions to the power-off state, and the spare server 20 transitions from the standby state to the operating state. In this way, when one of the lines is determined to be abnormal, the active server 10 and the spare server 20 switch the operation state based on their own determination. As a result, system switching is performed.

次に、両方の回線が異常と判断された場合について説明する。図2において、待機中状態の予備サーバ20は、回線200を介して、運用中状態の現用サーバ10に対しポーリング231を送信する。しかし、ポーリング231は、現用サーバ10に到達しない。ポーリング231を受信できないので、現用サーバ10は、ポーリング応答を予備サーバ20に返送することができない。次に予備サーバ20は、回線100を介して現用サーバ10に対しポーリング133を送信する。しかし、ポーリング133は、現用サーバ10に到達しない。ポーリング133を受信できないので、現用サーバ10は、ポーリング応答を予備サーバ20に返送することができない。   Next, a case where both lines are determined to be abnormal will be described. In FIG. 2, the standby server 20 in the standby state transmits a polling 231 to the active server 10 in the operating state via the line 200. However, the polling 231 does not reach the active server 10. Since the polling 231 cannot be received, the active server 10 cannot return a polling response to the spare server 20. Next, the spare server 20 transmits a polling 133 to the active server 10 via the line 100. However, the polling 133 does not reach the active server 10. Since the polling 133 cannot be received, the active server 10 cannot return a polling response to the spare server 20.

かくして、もし、現用サーバ10と予備サーバ20が電源断状態でなく稼働状態であった場合、つまり、現用サーバ10が運用中状態であり予備サーバ20が待機中状態であった場合は、現用サーバ10と予備サーバ20は、それぞれ、回線断302を検出し、回線状態が両方とも異常であることを認識する。
現用サーバ10が運用中状態であった場合は、現用サーバ10は、予備サーバ20が電源断状態であるとみなし、運用中状態を維持する。予備サーバ20が待機中状態であった場合は、予備サーバ20は、現用サーバ10が電源断状態であるとみなし、運用中状態へ遷移する。
Thus, if the active server 10 and the spare server 20 are not in a power-off state but are in operation, that is, if the active server 10 is in operation and the spare server 20 is in standby state, the active server 10 and the spare server 20 respectively detect the line disconnection 302 and recognize that both the line states are abnormal.
When the active server 10 is in the operating state, the active server 10 regards the spare server 20 as being in the power-off state and maintains the operating state. When the spare server 20 is in a standby state, the spare server 20 considers that the active server 10 is in a power-off state and makes a transition to an operating state.

このようにして、両方の回線を異常と判断した場合は、現用サーバ10は、独自の判断により運用中状態を維持し、予備サーバ20は、独自の判断により、待機中状態から運用中状態へ遷移する。もちろん、もし、現用サーバ10や予備サーバ20が、電源断状態であった場合は、電源断状態のサーバが上述した判断を行うことはない。
このとき、現用サーバ10と予備サーバ20が両方とも、運用中状態になることがありうるが、外部装置40との接続は、先に接続していた方、すなわち現用サーバ10が接続されるよう、切替装置30により制御、選択される。切替装置30は、例えば、運用中状態である旨の信号を、現用サーバ10と予備サーバ20から受信することにより、外部装置40と接続するサーバを選択することができる。
In this way, when both lines are determined to be abnormal, the active server 10 maintains the operating state based on its own determination, and the spare server 20 changes from the standby state to the operating state based on its own determination. Transition. Of course, if the active server 10 or the spare server 20 is in the power-off state, the server in the power-off state does not make the above determination.
At this time, both the active server 10 and the spare server 20 may be in operation, but the connection to the external device 40 is such that the one that was connected first, that is, the active server 10 is connected. , Controlled and selected by the switching device 30. For example, the switching device 30 can select a server to be connected to the external device 40 by receiving from the active server 10 and the spare server 20 a signal indicating that it is in an operating state.

次に、現用サーバと予備サーバの系切替え動作を詳細に説明する。図3は、本発明の実施例に係るサーバ切替動作マトリクスを示す表である。
図3において、横軸の要因は、回線100と回線200の両方とも正常である「A 回線全て正常」、回線100と回線200の一方が異常である「B 回線異常あり」、回線100と回線200の両方とも異常である「C 回線全て異常」の3通りとなる。
縦軸の稼動状態は、現用サーバ10と予備サーバ20の「運用中」と「待機中」の組合せとなる。
Next, the system switching operation between the active server and the spare server will be described in detail. FIG. 3 is a table showing a server switching operation matrix according to the embodiment of the present invention.
In FIG. 3, the factors on the horizontal axis are “A line all normal” in which both the line 100 and the line 200 are normal, “B line abnormal” in which one of the line 100 and the line 200 is abnormal, the line 100 and the line Both of 200 are abnormal, “C line all abnormal”.
The operating state on the vertical axis is a combination of “active” and “standby” for the active server 10 and the spare server 20.

図3において、「−(ハイフン)」は何もしない状態である。ハッチングで囲んだ部分、すなわち、「S2現用サーバ待機中」、「S22予備サーバ待機中」、「A5現用サーバ動作」、「B5現用サーバ動作」、「C5現用サーバ動作」、「A7現用サーバ動作」、「B7現用サーバ動作」、「C7現用サーバ動作」、「A8予備サーバ動作」、「B8予備サーバ動作」、「C8予備サーバ動作」は、存在することない状態である。また、「S11予備サーバ運用中」は、予備サーバ運用中に現用サーバを起動し、現用サーバが運用中である状態、つまり、予備サーバと現用サーバが両方とも運用中である状態である。   In FIG. 3, "-(hyphen)" is a state in which nothing is done. Portions surrounded by hatching, that is, “S2 active server standby”, “S22 standby server standby”, “A5 active server operation”, “B5 active server operation”, “C5 active server operation”, “A7 active server operation” "," B7 active server operation "," C7 active server operation "," A8 spare server operation "," B8 spare server operation ", and" C8 spare server operation "do not exist. Further, “S11 spare server in operation” is a state in which the active server is activated during the operation of the spare server and the active server is in operation, that is, both the spare server and the active server are in operation.

正常動作である、現用サーバ10が運用中で予備サーバ20が待機中(S12)において、「A 回線全て正常」である。このとき、「A3現用サーバ動作」「A4予備サーバ動作」は、いずれも「−」であり何もしない、つまり、現用サーバ10は運用中状態を維持し、予備サーバ20は待機中状態を維持する。
このとき、監視中の複数回線のうちいずれかが異常となった場合、すなわち、回線100と回線200の一方が異常である「B 回線異常あり」を認識すると、現用サーバ10はシャットダウンして電源断状態に遷移し(B3)、予備サーバ20は待機中状態から運用中状態へ遷移する(B4)。
また、監視中の複数回線が同時に異常となった場合、すなわち、回線100と回線200の両方が異常である「C 回線全て異常」を認識すると、現用サーバ10は運用中状態を維持し(C3)、予備サーバ20は待機中状態から運用中状態へ遷移する(C4)。
In normal operation, the active server 10 is in operation and the spare server 20 is on standby (S12). At this time, “A3 active server operation” and “A4 spare server operation” are both “−” and do nothing, that is, the active server 10 maintains the operating state and the standby server 20 maintains the standby state. To do.
At this time, if one of the monitored multiple lines becomes abnormal, that is, if one of the lines 100 and 200 recognizes that “B line abnormality is present”, the active server 10 shuts down and turns on the power supply. The standby server 20 transitions from the standby state to the operating state (B4).
Further, when a plurality of monitored lines become abnormal at the same time, that is, when “C line all abnormal”, which is abnormal in both the line 100 and the line 200, is recognized, the active server 10 maintains the operating state (C3 ) The spare server 20 transitions from the standby state to the operating state (C4).

次に、予備サーバ運用中に、現用サーバが運用中状態へ遷移した場合(S11)について説明する。
現用サーバ10がシャットダウンして電源断状態に遷移し(B3)、予備サーバ20が運用中状態へ遷移した後(B4)、「B 回線異常あり」状態が復旧したこと、つまり、「A 回線全て正常」であることを認識すると、現用サーバ10は自動的に再起動されて電源断状態から運用中状態へ遷移し(S11)、予備サーバ20は自動的に再起動されて運用中状態から待機中状態へ遷移する(A2)。
また、「B 回線異常あり」状態が復旧したことを認識して、現用サーバ10が自動的に再起動されて電源断状態から運用中状態へ遷移した後(S11)、「B 回線異常あり」を認識すると、現用サーバ10はシャットダウンして電源断状態に遷移し(B1)、予備サーバ20は運用中状態を維持する(B2)。
また、「B 回線異常あり」状態が復旧したことを認識して、現用サーバ10が自動的に再起動されて電源断状態から運用中状態へ遷移した後(S11)、「C 回線全て異常」を認識すると、現用サーバ10は運用中状態を維持し(C1)、予備サーバ20は運用中状態を維持する(C2)。
Next, the case where the active server transitions to the operating state during the spare server operation (S11) will be described.
After the active server 10 shuts down and transitions to the power-off state (B3), and the spare server 20 transitions to the operating state (B4), the “B line abnormal” state is restored, that is, “A line all When it is recognized as “normal”, the active server 10 is automatically restarted and transitions from the power-off state to the operating state (S11), and the spare server 20 is automatically restarted and waits from the operating state. Transition to the middle state (A2).
Further, after recognizing that the “B line abnormality exists” state has been recovered and the active server 10 is automatically restarted and transits from the power-off state to the operating state (S11), “B line abnormality is present”. Is recognized, the active server 10 shuts down and shifts to the power-off state (B1), and the spare server 20 maintains the operating state (B2).
Further, after recognizing that the “B line abnormality exists” state has been recovered and the active server 10 is automatically restarted and transitioned from the power-off state to the operating state (S11), “C line all abnormal” Is recognized, the active server 10 maintains the operating state (C1), and the spare server 20 maintains the operating state (C2).

次に、予備サーバ運用中状態(S21)について説明する。
現用サーバ10がシャットダウンして電源断状態に遷移し、予備サーバ20が運用中状態において(S21)、「A 回線全て正常」であることを認識、つまり、「B 回線異常あり」状態が復旧したことを認識すると、予備サーバ20は運用中状態を維持し(A6)、「B 回線異常あり」状態であることを認識すると、予備サーバ20は運用中状態を維持し(B6)、「C 回線全て異常」を認識すると、予備サーバ20は運用中状態を維持する(C6)。
Next, the standby server operating state (S21) will be described.
When the active server 10 shuts down and transitions to the power-off state, and the spare server 20 is in operation (S21), it is recognized that "A line is all normal", that is, the "B line is abnormal" state has been restored. When the standby server 20 recognizes this, the standby server 20 maintains the operating state (A6), and when the standby server 20 recognizes that the “B line abnormality exists” state, the standby server 20 maintains the operating state (B6), When “all abnormal” is recognized, the spare server 20 maintains the operating state (C6).

なお、上述の実施例では、予備サーバからポーリング信号を現用サーバへ送信し、現用サーバからポーリング応答信号を予備サーバへ返信する場合について説明したが、現用サーバからポーリング信号を予備サーバへ送信し、予備サーバからポーリング応答信号を現用サーバへ返信するようにすることもでき、あるいは、現用サーバと予備サーバの双方からポーリング信号を送信し、予備サーバと現用サーバの双方からポーリング応答信号を返信するようにすることもできる。
また、上述の実施例では、現用サーバと予備サーバとを直接接続する第1の回線と、現用サーバと予備サーバとを切替装置を介して接続する第2の回線とを用いたが、第2の回線として、現用サーバと予備サーバとを直接接続する回線を用いてもよく、切替装置以外の装置を介して現用サーバと予備サーバとを接続する第2の回線を用いてもよい。また、第1の回線として、切替装置以外の装置を介して現用サーバと予備サーバとを接続する回線を用いてもよい。
また、本発明は、本発明に係る処理を実行するシステムとしてだけでなく、装置、方法として、或いは、このような方法やシステムを実現するためのプログラムや当該プログラムを記録する記録媒体などとして把握することができる。
In the above-described embodiment, the case where the polling signal is transmitted from the spare server to the active server and the polling response signal is returned from the active server to the spare server has been described, but the polling signal is transmitted from the active server to the spare server, A polling response signal can be returned from the spare server to the active server, or polling signals can be transmitted from both the active server and the spare server, and polling response signals can be returned from both the spare server and the active server. It can also be.
In the above-described embodiment, the first line that directly connects the active server and the spare server and the second line that connects the active server and the spare server via the switching device are used. As this line, a line directly connecting the active server and the spare server may be used, or a second line connecting the active server and the spare server via a device other than the switching device may be used. Further, as the first line, a line connecting the active server and the spare server via a device other than the switching device may be used.
In addition, the present invention is understood not only as a system for executing processing according to the present invention, but also as an apparatus and method, a program for realizing such a method and system, and a recording medium for recording the program. can do.

なお、本明細書には、次の発明が含まれる。すなわち、第1の発明は、
現用サーバと、予備サーバと、現用サーバ又は予備サーバを切替えて外部装置に接続する切替装置とを備えた監視システムであって、
現用サーバと予備サーバとが、第1の回線、及び、第1の回線とは別の第2の回線を介して接続され、
予備サーバと現用サーバのうち少なくとも一方のサーバは、前記第1の回線を用いて他方のサーバに対する第1の問合せ信号を送信するとともに、前記第2の回線を用いて他方のサーバに対する第2の問合せ信号を送信し、前記第1及び第2の問合せ信号を受信したサーバは、前記第1及び第2の問合せ信号を送信したサーバへ、前記第1の回線を用いて第1の応答信号を送信するとともに、前記第2の回線を用いて第2の応答信号を送信し、
前記第1、第2の問合せ信号の応答結果に基づいて、現用サーバと予備サーバが、それぞれの運用状態切り替えを行うことを特徴とする監視システム。
このようにすると、回線断と予備サーバの電源断の区別をより確実に行い、回線断のみを系切替えの条件とすることが容易となる
The present specification includes the following inventions. That is, the first invention is
A monitoring system comprising an active server, a spare server, and a switching device that switches the active server or the spare server to connect to an external device,
The active server and the spare server are connected via a first line and a second line different from the first line,
At least one of the spare server and the active server transmits a first inquiry signal to the other server using the first line, and uses a second line to the other server using the second line. The server that transmitted the inquiry signal and received the first and second inquiry signals sends the first response signal to the server that transmitted the first and second inquiry signals using the first line. And transmitting a second response signal using the second line,
A monitoring system, wherein an active server and a spare server perform respective operation state switching based on response results of the first and second inquiry signals.
In this way, it becomes easier to distinguish between line disconnection and standby server power disconnection, and to make only line disconnection a condition for system switching.

第2の発明は、前記第1の発明の監視システムであって、
予備サーバと現用サーバのうち一方のサーバだけが、他方のサーバに対して、前記第1の回線を用いて第1の問合せ信号を送信するとともに、前記第2の回線を用いて第2の問合せ信号を送信し、前記第1及び第2の問合せ信号を受信したサーバは、前記第1及び第2の問合せ信号を送信したサーバへ、前記第1の回線を用いて第1の応答信号を送信するとともに、前記第2の回線を用いて第2の応答信号を送信することを特徴とする監視システム。
このようにすると、一方のサーバだけから問合せ信号を送信すればよいので、監視システムをより簡易に構成できる。
The second invention is the monitoring system of the first invention,
Only one of the spare server and the active server transmits a first inquiry signal to the other server using the first line and a second inquiry using the second line. The server that has transmitted the signal and has received the first and second inquiry signals transmits the first response signal to the server that has transmitted the first and second inquiry signals using the first line. And a second response signal is transmitted using the second line.
In this way, since the inquiry signal only needs to be transmitted from one server, the monitoring system can be configured more simply.

第3の発明は、前記第1の発明又は前記第2の発明の監視システムであって、
前記第1の回線が、現用サーバと予備サーバとを直接接続する回線であり、前記第2の回線が、現用サーバと予備サーバとを前記切替装置を介して接続する回線であることを特徴とする監視システム。
このようにすると、第2の回線として既存の回線を使用でき、監視システムをより簡易に構成できる。
A third invention is the monitoring system of the first invention or the second invention,
The first line is a line that directly connects the active server and the spare server, and the second line is a line that connects the active server and the spare server via the switching device. Monitoring system.
In this way, an existing line can be used as the second line, and the monitoring system can be configured more simply.

10・・現用サーバ、11・・制御部、12・・送受信部、13・・送受信部、20・・予備サーバ、21・・制御部、22・・送受信部、23・・送受信部、30・・切替装置、31・・制御部、32・・送受信部、33・・送受信部、40・・外部装置。   10 .... active server, 11 .... control unit, 12 .... transmission / reception unit, 13 .... transmission / reception unit, 20 ... spare server, 21 ... control unit, 22 ... transmission / reception unit, 23 ... transmission / reception unit, 30 ... · Switching device 31 ··· Control unit 32 · · Transmission / reception unit 33 · · Transmission and reception unit 40 · · External device.

Claims (1)

現用サーバと、予備サーバと、現用サーバ又は予備サーバを切替えて外部装置に接続する切替装置とを備えた監視システムであって、
現用サーバと予備サーバとが、第1の回線、及び、第1の回線とは別の第2の回線を介して接続され、
予備サーバと現用サーバのうち少なくとも一方のサーバは、前記第1の回線を用いて他方のサーバに対する第1の問合せ信号を送信するとともに、前記第2の回線を用いて他方のサーバに対する第2の問合せ信号を送信し、前記第1及び第2の問合せ信号を受信したサーバは、前記第1及び第2の問合せ信号を送信したサーバへ、前記第1の回線を用いて第1の応答信号を送信するとともに、前記第2の回線を用いて第2の応答信号を送信し、
前記第1、第2の問合せ信号の応答結果に基づいて、現用サーバと予備サーバが、それぞれの運用状態切り替えを行うことを特徴とする監視システム。
A monitoring system comprising an active server, a spare server, and a switching device that switches the active server or the spare server to connect to an external device,
The active server and the spare server are connected via a first line and a second line different from the first line,
At least one of the spare server and the active server transmits a first inquiry signal to the other server using the first line, and uses a second line to the other server using the second line. The server that transmitted the inquiry signal and received the first and second inquiry signals sends the first response signal to the server that transmitted the first and second inquiry signals using the first line. And transmitting a second response signal using the second line,
A monitoring system, wherein an active server and a spare server perform respective operation state switching based on response results of the first and second inquiry signals.
JP2011007097A 2011-01-17 2011-01-17 Monitor system Pending JP2012150555A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011007097A JP2012150555A (en) 2011-01-17 2011-01-17 Monitor system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011007097A JP2012150555A (en) 2011-01-17 2011-01-17 Monitor system

Publications (1)

Publication Number Publication Date
JP2012150555A true JP2012150555A (en) 2012-08-09

Family

ID=46792761

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011007097A Pending JP2012150555A (en) 2011-01-17 2011-01-17 Monitor system

Country Status (1)

Country Link
JP (1) JP2012150555A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019016218A (en) * 2017-07-07 2019-01-31 富士通株式会社 Information processing device, control device, and control method of information processing device
WO2022209458A1 (en) * 2021-04-02 2022-10-06 株式会社デンソー Display control device and display control method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019016218A (en) * 2017-07-07 2019-01-31 富士通株式会社 Information processing device, control device, and control method of information processing device
WO2022209458A1 (en) * 2021-04-02 2022-10-06 株式会社デンソー Display control device and display control method

Similar Documents

Publication Publication Date Title
CN102629225B (en) Dual-controller disk array, storage system and data storage path switching method
JP5504344B2 (en) Electronic patch device, network system, and operation method in network system
US20070270984A1 (en) Method and Device for Redundancy Control of Electrical Devices
JP2008172592A (en) Cluster system, computer and its abnormality detection method
JP4836979B2 (en) Duplex programmable controller
JP2012150555A (en) Monitor system
JP2013152631A (en) Duplex control system and control method thereof
JP2006338600A (en) Duplex switching system
CN102638369B (en) Method, device and system for arbitrating main/standby switch
JP2007304700A (en) System and method for address management in duplex node system
CN112822039A (en) Method for switching master/standby modes of dual-computer hot standby system
JP2006254096A (en) Ip telephone system
JP2013025365A (en) Method for notifying of fault of standby device in dual system
JP7309316B2 (en) receiver
CN112667428A (en) BMC fault processing circuit, method and device, electronic equipment and storage medium
KR101465991B1 (en) network control device having security function
JP6762032B2 (en) Power receiving device and control method
JP2013254333A (en) Multiple system control system and control method therefor
JP2016206898A (en) Information processing device, fault detection method, and computer program
JP2000020336A (en) Duplex communication system
JP5459094B2 (en) Link aggregation communication device
JP3794358B2 (en) Power control method
JP2014071773A (en) Duplex control device and control method of the same
JP4628823B2 (en) IP phone system
KR20010028123A (en) Apparatus and method for controlling dual surveillance in optical transmission system