Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP6861533B2 - Processing equipment, duplication system, processing method, and processing program - Google Patents
[go: Go Back, main page]

JP6861533B2 - Processing equipment, duplication system, processing method, and processing program - Google Patents

Processing equipment, duplication system, processing method, and processing program Download PDF

Info

Publication number
JP6861533B2
JP6861533B2 JP2017027876A JP2017027876A JP6861533B2 JP 6861533 B2 JP6861533 B2 JP 6861533B2 JP 2017027876 A JP2017027876 A JP 2017027876A JP 2017027876 A JP2017027876 A JP 2017027876A JP 6861533 B2 JP6861533 B2 JP 6861533B2
Authority
JP
Japan
Prior art keywords
unit
processing unit
processing
evaluation value
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017027876A
Other languages
Japanese (ja)
Other versions
JP2018133766A (en
Inventor
野崎 達也
達也 野崎
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2017027876A priority Critical patent/JP6861533B2/en
Publication of JP2018133766A publication Critical patent/JP2018133766A/en
Application granted granted Critical
Publication of JP6861533B2 publication Critical patent/JP6861533B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Train Traffic Observation, Control, And Security (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Description

本発明は、処理装置、二重化システム、処理方法、および処理プログラムに関する。 The present invention relates to a processing device, a duplex system, a processing method, and a processing program.

従来、複数の処理装置の一方を現用系とし他方を待機系として運用する二重化システムが知られている。かかる二重化システムは、現用系の処理装置に重大な障害が発生した場合に、現用系の処理装置を待機系へ切り替え、待機系の処理装置を現用系へ切り替える(特許文献1参照)。 Conventionally, there is known a duplex system in which one of a plurality of processing devices is used as an active system and the other is used as a standby system. In such a redundant system, when a serious failure occurs in the processing device of the working system, the processing device of the working system is switched to the standby system, and the processing device of the standby system is switched to the working system (see Patent Document 1).

特開2007−207219号公報Japanese Unexamined Patent Publication No. 2007-20721

上記従来の二重化システムでは、処理装置における障害の要因に応じて現用系と待機系とを切り替えるものであるが、二重化システムの安定性を図る観点から、さらなる改善を行うことが望ましい。 In the above-mentioned conventional duplex system, the active system and the standby system are switched according to the cause of the failure in the processing device, but it is desirable to make further improvements from the viewpoint of ensuring the stability of the duplex system.

本発明は、上記に鑑みてなされたものであって、二重化システムの安定性を向上させることができる処理装置を得ることを目的とする。 The present invention has been made in view of the above, and an object of the present invention is to obtain a processing apparatus capable of improving the stability of a duplex system.

上述した課題を解決し、目的を達成するために、本発明の処理装置は、処理部と、監視部と、系切替部と、再起動部とを備えることを特徴とする。前記処理部は、現用系と待機系との間で設定の切り替えが可能である。前記監視部は、前記処理部の状態を監視する。前記系切替部は、前記監視部の監視結果に基づいて、前記処理部の設定を前記現用系と待機系との間で切り替える。前記再起動部は、前記系切替部によって前記処理部が待機系に切り替えられた場合、および前記処理部の設定が前記待機系であり且つ前記監視部の監視結果が再起動条件を満たす場合のうち少なくとも一方の場合に、前記処理部を再起動する。 In order to solve the above-mentioned problems and achieve the object, the processing apparatus of the present invention is characterized by including a processing unit, a monitoring unit, a system switching unit, and a restarting unit. The processing unit can switch the setting between the active system and the standby system. The monitoring unit monitors the state of the processing unit. The system switching unit switches the setting of the processing unit between the active system and the standby system based on the monitoring result of the monitoring unit. The restart unit is when the processing unit is switched to the standby system by the system switching unit, and when the processing unit is set to the standby system and the monitoring result of the monitoring unit satisfies the restart condition. In at least one of them, the processing unit is restarted.

本発明によれば、二重化システムの安定性を向上させることができる、という効果を奏する。 According to the present invention, there is an effect that the stability of the duplex system can be improved.

本発明の実施の形態1にかかる二重化システムの構成の一例を示す図The figure which shows an example of the structure of the duplex system which concerns on Embodiment 1 of this invention. 実施の形態1にかかる処理装置の構成の一例を示す図The figure which shows an example of the structure of the processing apparatus which concerns on Embodiment 1. 実施の形態1にかかる第1のスコア判定テーブルの一例を示す図The figure which shows an example of the 1st score determination table which concerns on Embodiment 1. 実施の形態1にかかる第2のスコア判定テーブルの一例を示す図The figure which shows an example of the 2nd score determination table which concerns on Embodiment 1. 実施の形態1にかかる現用系の系切替部による系切替条件と第1の評価値との関係を示す図The figure which shows the relationship between the system switching condition by the system switching part of the working system which concerns on Embodiment 1 and the first evaluation value. 実施の形態1にかかる監視部および管理部の処理の一例を示すフローチャートA flowchart showing an example of processing of the monitoring unit and the management unit according to the first embodiment. 図6に示すステップS14の処理の一例を示すフローチャートA flowchart showing an example of the process of step S14 shown in FIG. 図7に示すステップS26の処理の一例を示すフローチャートA flowchart showing an example of the process of step S26 shown in FIG. 図6に示すステップS15の処理の一例を示すフローチャートA flowchart showing an example of the process of step S15 shown in FIG. 実施の形態1にかかる処理装置のハードウェア構成の一例を示す図The figure which shows an example of the hardware configuration of the processing apparatus which concerns on Embodiment 1. 本発明の実施の形態2にかかる監視部および管理部の処理の一例を示すフローチャートA flowchart showing an example of processing of the monitoring unit and the management unit according to the second embodiment of the present invention. 本発明の実施の形態3にかかる二重化システムの処理装置の構成の一例を示す図The figure which shows an example of the structure of the processing apparatus of the duplex system which concerns on Embodiment 3 of this invention. 実施の形態3にかかる処理装置の管理部の現用系管理処理の一例を示すフローチャートA flowchart showing an example of the active system management process of the management unit of the processing device according to the third embodiment. 実施の形態3にかかる処理装置の管理部の待機系管理処理の一例を示すフローチャートA flowchart showing an example of standby system management processing of the management unit of the processing apparatus according to the third embodiment.

以下に、本発明の実施の形態にかかる処理装置、二重化システム、処理方法、および処理プログラムを図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Hereinafter, the processing apparatus, the duplication system, the processing method, and the processing program according to the embodiment of the present invention will be described in detail with reference to the drawings. The present invention is not limited to this embodiment.

実施の形態1.
図1は、本発明の実施の形態1にかかる二重化システムの構成の一例を示す図である。図1に示すように、実施の形態1にかかる二重化システム1は、処理装置2と処理装置2とを備える。二重化システム1では、処理装置2および処理装置2の一方が現用系として動作し、他方が待機系に設定されており、現用系と待機系とを切り替え可能である。
Embodiment 1.
FIG. 1 is a diagram showing an example of a configuration of a duplex system according to a first embodiment of the present invention. As shown in FIG. 1, the duplex system 1 according to the first embodiment includes a processing device 2 1 and a processing device 2 2 . In the duplex system 1, one of the processing device 2 1 and the processing device 2 2 operates as an active system, and the other is set as a standby system, so that the active system and the standby system can be switched.

二重化システム1は、駅内に設置されており、駅内のネットワーク4に接続された複数の駅装置3とネットワーク6に接続された中央管理装置5との間の情報の送受信を行う通信端末システムである。なお、駅装置3は、旅券発行端末、自動改札機、および発車案内板といった駅内に設置される装置である。また、二重化システム1は、通信端末システムに限定されず、種々のシステムに適用することができ、設置場所も駅内に限定されない。 The duplex system 1 is installed in a station, and is a communication terminal system that transmits and receives information between a plurality of station devices 3 connected to a network 4 in the station and a central management device 5 connected to a network 6. Is. The station device 3 is a device installed in the station such as a passport issuing terminal, an automatic ticket gate, and a departure information board. Further, the duplex system 1 is not limited to the communication terminal system, and can be applied to various systems, and the installation location is not limited to the inside of the station.

処理装置2および処理装置2は、互いに同一の構成であり、以下においては、処理装置2および処理装置2を総称して処理装置2と記載する場合がある。処理装置2は、処理部20と、監視部21と、系切替部41と、再起動部42とを備える。処理装置2の処理部20が第1の処理部の一例であり、処理装置2の処理部20が第2の処理部の一例である。また、処理装置2の監視部21が第1の監視部の一例であり、処理装置2の監視部21が第2の監視部の一例である。 The processing device 2 1 and the processing device 2 2 have the same configuration as each other, and in the following, the processing device 2 1 and the processing device 2 2 may be collectively referred to as the processing device 2. The processing device 2 includes a processing unit 20, a monitoring unit 21, a system switching unit 41, and a restart unit 42. The processing unit 20 of the processing device 2 1 is an example of the first processing unit, and the processing unit 20 of the processing device 2 2 is an example of the second processing unit. The processing apparatus 2 first monitoring portion 21 is an example of a first monitoring section, the processing unit 2 2 of the monitoring unit 21 is an example of a second monitoring unit.

処理部20は、現用系に設定されている場合に、現用系の処理を実行する。現用系の処理は、上述したように、複数の駅装置3と中央管理装置5との間の情報の送受信処理であるが、送受信処理以外の情報処理であってもよく、送受信処理に限定されない。 The processing unit 20 executes the processing of the working system when it is set to the working system. As described above, the processing of the working system is the transmission / reception processing of information between the plurality of station devices 3 and the central management device 5, but the information processing may be other than the transmission / reception processing and is not limited to the transmission / reception processing. ..

監視部21は、処理部20の状態を監視する。監視部21は、処理部20を構成するデバイス、処理部20の電源電圧、処理部20の温度、不図示のファンのうち少なくとも1つの状態を処理部20の状態として監視することができる。処理部20を構成するデバイスは、CPU、HDD、メモリといったデバイスであり、処理部20の温度は、処理部20の内部温度または処理部20の周辺温度である。 The monitoring unit 21 monitors the state of the processing unit 20. The monitoring unit 21 can monitor at least one of the devices constituting the processing unit 20, the power supply voltage of the processing unit 20, the temperature of the processing unit 20, and the fan (not shown) as the state of the processing unit 20. The devices constituting the processing unit 20 are devices such as a CPU, an HDD, and a memory, and the temperature of the processing unit 20 is the internal temperature of the processing unit 20 or the ambient temperature of the processing unit 20.

また、監視部21は、処理部20が現用系に設定されて動作した期間を処理部20の状態として監視することもできる。以下、処理部20が現用系に設定されて動作した積算時間を積算稼動期間と記載する場合がある。 Further, the monitoring unit 21 can also monitor the period during which the processing unit 20 is set in the working system and operates as the state of the processing unit 20. Hereinafter, the integrated operation period in which the processing unit 20 is set to the active system and operates may be described as an integrated operation period.

監視部21は、処理部20を構成するデバイス、処理部20の電源電圧、処理部20の温度、ファンおよび積算稼動期間のうち少なくとも1つ以上の状態に基づいて、処理部20の評価値Ssを演算することができる。評価値Ssは、処理部20の状態が現用系の処理を実行できなくなる状態に近づくほど小さくなるように設定される。 The monitoring unit 21 evaluates the processing unit 20 based on at least one of the devices constituting the processing unit 20, the power supply voltage of the processing unit 20, the temperature of the processing unit 20, the fan, and the integrated operating period. Can be calculated. The evaluation value Ss is set so as to become smaller as the state of the processing unit 20 approaches a state in which the processing of the working system cannot be executed.

系切替部41は、監視部21の監視結果に基づいて、現用系の処理を実行している処理部20の状態が予め設定された系切替条件を満たす場合に、処理部20の設定を現用系と待機系との間で切り替える。監視部21が上述した評価値Ssを演算する場合、上述した系切替条件を、監視部21で演算される評価値Ssが閾値Sth未満であるという条件にすることができる。 Based on the monitoring result of the monitoring unit 21, the system switching unit 41 uses the setting of the processing unit 20 when the state of the processing unit 20 executing the processing of the active system satisfies the preset system switching condition. Switch between the system and the standby system. When the monitoring unit 21 calculates the evaluation value Ss described above, the system switching condition described above can be set to the condition that the evaluation value Ss calculated by the monitoring unit 21 is less than the threshold value Sth.

閾値Sthは、重度の異常が発生する前に評価値Ssが下回るように設定される。重度の異常とは、処理部20の状態が現用系の処理を実行できなくなる状態を示す。以下においては、処理部20が正常状態ではないものの処理部20の状態が現用系の処理を実行できる状態を軽度の異常という場合があり、また、処理部20の性能が正常状態よりも低下している状態を性能低下という場合がある。 The threshold Sth is set so that the evaluation value Ss falls below before a serious abnormality occurs. The severe abnormality means that the state of the processing unit 20 cannot execute the processing of the active system. In the following, a state in which the processing unit 20 is not in a normal state but the state of the processing unit 20 can execute the processing of the active system may be referred to as a slight abnormality, and the performance of the processing unit 20 is lower than the normal state. The state of being in the state may be called performance deterioration.

評価値Ssが閾値Sth未満であるという条件を系切替条件にすることで、系切替部41は、重度の異常が処理部20に発生する前に、系切り替え、すなわち、現用系と待機系との間の切り替えを行うことができる。したがって、現用系の処理部20が動作中に系切り替えを行うことができ、重度の異常が発生した後に系切り替えを行う場合に比べ、系切り替えに要する時間を抑えることができ、現用系の処理への影響を低減することができる。なお、重度の異常が発生する前に処理部20の設定を現用系と待機系との間で切り替えることができればよく、評価値Ssによる系切り替えに限定されない。 By setting the condition that the evaluation value Ss is less than the threshold value Sth as the system switching condition, the system switching unit 41 switches the system, that is, the active system and the standby system before a serious abnormality occurs in the processing unit 20. Can be switched between. Therefore, the system switching can be performed during the operation of the processing unit 20 of the working system, and the time required for the system switching can be suppressed as compared with the case where the system switching is performed after a serious abnormality occurs, and the processing of the working system can be performed. The effect on can be reduced. It is sufficient that the setting of the processing unit 20 can be switched between the active system and the standby system before a serious abnormality occurs, and the system switching is not limited to the evaluation value Ss.

また、再起動部42は、処理部20が待機系に設定されている場合に、監視部21の監視結果に基づいて、処理部20を再起動する。処理部20の処理を実行するOS(Operating System)およびOS上で稼動するプログラムの不具合が生じたような場合、再起動により処理部20の状態を正常な状態に戻すことができる。したがって、待機系に設定されている処理部20を現用系に切り替え可能な状態にすることができ、二重化システム1の安定性を向上させることができる。 Further, when the processing unit 20 is set to the standby system, the restart unit 42 restarts the processing unit 20 based on the monitoring result of the monitoring unit 21. When a problem occurs in the OS (Operating System) that executes the processing of the processing unit 20 or the program running on the OS, the state of the processing unit 20 can be returned to the normal state by restarting. Therefore, the processing unit 20 set in the standby system can be made switchable to the active system, and the stability of the duplex system 1 can be improved.

ここで、処理装置2の処理部20が現用系に設定され、処理装置2の処理部20が待機系に設定されているとする。そして、処理装置2の系切替部41が処理装置2の処理部20の設定を現用系から待機系へ切り替え、処理装置2の系切替部41が処理装置2の処理部20の設定を待機系から現用系へ切り替えたとする。 Here, it is assumed that the processing unit 20 of the processing device 2 1 is set to the active system and the processing unit 20 of the processing device 2 2 is set to the standby system. Then, the setting of the system switching unit 41 of the processing apparatus 2 1 processing device 2 first processing unit 20 switches from the active system to the standby system, the system switching unit 41 of the processing unit 2 2 of the processing device 2 second processing unit 20 Suppose that the setting is switched from the standby system to the active system.

処理装置2の再起動部42は、処理装置2の処理部20の設定が現用系から待機系へ切り替えられた後に、処理装置2の処理部20を再起動することができる。これにより、系切り替え後に、処理装置2の処理部20の状態を正常な状態に戻して、次回の系切り替えを可能にすることができ、二重化システム1の安定性を向上させることができる。以下、処理装置2の構成および処理について具体的に説明する。 Restart portion 42 of the processing apparatus 2 1 can set the processing device 2 first processor 20 after being switched from the active system to the standby system, to restart the processing device 2 first processing unit 20. Thus, after system switching, returns the state of the processing apparatus 2 first processing unit 20 in the normal state, it is possible to allow the next failover, it is possible to improve the stability of the duplex system 1. Hereinafter, the configuration and processing of the processing device 2 will be specifically described.

図2は、実施の形態1にかかる処理装置2の構成の一例を示す図である。図2に示すように、実施の形態1にかかる処理装置2は、通信部10と、電源部11と、ファン12と、制御部13とを備える。 FIG. 2 is a diagram showing an example of the configuration of the processing device 2 according to the first embodiment. As shown in FIG. 2, the processing device 2 according to the first embodiment includes a communication unit 10, a power supply unit 11, a fan 12, and a control unit 13.

通信部10は、第1の通信部16と、第2の通信部17とを備える。第1の通信部16は、ネットワーク4を介して他の処理装置2および複数の駅装置3との間で情報の送受信を行う。第2の通信部17は、ネットワーク6を介して中央管理装置5との間で情報の送受信を行う。ネットワーク4およびネットワーク6は、イントラネットであるが、イントラネット以外のネットワークであってもよい。 The communication unit 10 includes a first communication unit 16 and a second communication unit 17. The first communication unit 16 transmits / receives information to / from another processing device 2 and a plurality of station devices 3 via the network 4. The second communication unit 17 transmits / receives information to / from the central management device 5 via the network 6. The network 4 and the network 6 are intranets, but may be networks other than the intranet.

電源部11は、通信部10および制御部13に供給する電圧を生成し、通信部10および制御部13へ出力する。ファン12は、制御部13から出力される駆動電圧に基づいて、制御部13の内部を冷却する。 The power supply unit 11 generates a voltage to be supplied to the communication unit 10 and the control unit 13, and outputs the voltage to the communication unit 10 and the control unit 13. The fan 12 cools the inside of the control unit 13 based on the drive voltage output from the control unit 13.

制御部13は、処理部20と、監視部21と、管理部22とを備える。処理部20は、現用系に設定されている場合、現用系の処理である送受信処理を実行する。なお、上述したように、現用系の処理は、送受信処理に限定されず、他の処理を実行してもよい。 The control unit 13 includes a processing unit 20, a monitoring unit 21, and a management unit 22. When the processing unit 20 is set to the working system, the processing unit 20 executes the transmission / reception processing which is the processing of the working system. As described above, the processing of the working system is not limited to the transmission / reception processing, and other processing may be executed.

監視部21は、デバイス監視部31と、RAS(Reliability Availability Serviceability)監視部32と、評価値演算部33とを備える。デバイス監視部31は、処理部20を構成するデバイスの状態を監視する。処理部20を構成するデバイスには、CPU(Central Processing Unit)、HDD(Hard Disk Drive)、およびメモリが含まれる。CPU、メモリ、およびHDDは、後述する図10のプロセッサ101、メモリ102、およびHDD103である。メモリは、CPUがプログラムを実行する際にデータを一時的に記憶するCPUの作業領域である。 The monitoring unit 21 includes a device monitoring unit 31, a RAS (Reliability Availability Serviceability) monitoring unit 32, and an evaluation value calculation unit 33. The device monitoring unit 31 monitors the status of the devices constituting the processing unit 20. The devices constituting the processing unit 20 include a CPU (Central Processing Unit), an HDD (Hard Disk Drive), and a memory. The CPU, memory, and HDD are the processor 101, the memory 102, and the HDD 103 of FIG. 10, which will be described later. The memory is a work area of the CPU that temporarily stores data when the CPU executes a program.

デバイス監視部31は、CPU状態検出部34と、HDD状態検出部35と、メモリ状態検出部36とを備え、処理部20を構成するデバイスの性能の低下度合いを監視することができる。CPU状態検出部34は、CPUの状態が正常状態、注意状態、および警告状態の3つの状態のうちいずれであるかを検出する。警告状態は、注意状態よりも悪い状態であるが、CPUが動作していない故障状態よりも良い状態である。 The device monitoring unit 31 includes a CPU state detection unit 34, an HDD state detection unit 35, and a memory state detection unit 36, and can monitor the degree of deterioration in the performance of the devices constituting the processing unit 20. The CPU state detection unit 34 detects which of the three states, the normal state, the caution state, and the warning state, is the state of the CPU. The warning state is worse than the caution state, but is better than the failure state in which the CPU is not operating.

CPU状態検出部34は、CPUの使用率に基づいてCPUの状態を検出することができる。CPUの使用率は、単位時間あたりにCPUが何らかの処理を行っている時間の割合を意味し、CPUの負荷率とも呼ばれる。CPUの使用率が高いほどCPUの負荷が大きくなり、CPUの処理速度が遅くなってCPUの処理が遅延する可能性が高くなる。CPU状態検出部34は、CPUの使用率が高くなるほどCPUの状態が悪いと判定する。 The CPU state detection unit 34 can detect the state of the CPU based on the usage rate of the CPU. The CPU usage rate means the ratio of the time during which the CPU is performing some processing per unit time, and is also called the CPU load rate. The higher the CPU usage rate, the heavier the load on the CPU, the slower the processing speed of the CPU, and the higher the possibility that the processing of the CPU will be delayed. The CPU state detection unit 34 determines that the higher the CPU usage rate, the worse the CPU state.

具体的には、CPU状態検出部34は、CPUの使用率が第1閾値Rth1未満である場合、CPUが正常状態であると判定し、CPUの使用率が第1閾値Rth1以上かつ第2閾値Rth2未満である場合にCPUが注意状態であると判定する。また、CPU状態検出部34は、CPUの使用率が第2閾値Rth2以上である場合、CPUが警告状態であると判定する。 Specifically, when the CPU usage rate is less than the first threshold value Rth1, the CPU state detection unit 34 determines that the CPU is in a normal state, and the CPU usage rate is equal to or higher than the first threshold value Rth1 and the second threshold value. If it is less than Rth2, the CPU determines that it is in a caution state. Further, the CPU state detection unit 34 determines that the CPU is in the warning state when the CPU usage rate is equal to or higher than the second threshold value Rth2.

また、CPU状態検出部34は、CPUが動作しない場合、または、CPUの使用率が第2閾値Rth2よりも高い第3閾値Rth3以上である状態が継続した場合に、CPUが故障状態であることを検出することもできる。 Further, the CPU state detection unit 34 indicates that the CPU is in a failure state when the CPU does not operate or when the CPU usage rate continues to be the third threshold value Rth3 or higher, which is higher than the second threshold value Rth2. Can also be detected.

HDD状態検出部35は、SMART(Self-Monitoring Analysis and Reporting Technology)情報をHDDから取得し、取得したSMART情報に基づいて、HDDの状態を検出する。SMART情報には、CPUによるHDDからのデータの読み込み時のエラー割合、スループット能力値、通算通電時間、HDDの全体的な処理能力値、およびHDDの温度といった情報が含まれる。 The HDD state detection unit 35 acquires SMART (Self-Monitoring Analysis and Reporting Technology) information from the HDD, and detects the state of the HDD based on the acquired SMART information. SMART information includes information such as an error rate when the CPU reads data from the HDD, a throughput capacity value, a total energization time, an overall processing capacity value of the HDD, and a temperature of the HDD.

HDD状態検出部35は、SMART情報に基づいて、HDDの状態が正常状態、注意状態、および警告状態の3つの状態のうちいずれであるかを検出する。HDD状態検出部35は、SMART情報を構成する各情報に重み付けを行い、重み付け後の値を合算することで、HDDの性能の劣化状態を数値化することができる。 The HDD state detection unit 35 detects which of the three states, the normal state, the caution state, and the warning state, is based on the SMART information. The HDD state detection unit 35 weights each piece of information constituting the SMART information and adds up the weighted values to quantify the deterioration state of the HDD performance.

HDD状態検出部35は、演算した数値に基づいて、CPUの場合と同様に、HDDの状態を3つの状態のいずれであるかを判定する。なお、HDDの性能は、エラー割合が高いほど悪くなり、通算通電時間が長いほど悪くなり、スループット能力値が下がるほど悪くなる。また、HDD状態検出部35は、HDDが故障して動作しなくなった場合、HDDが故障状態であることを検出することができる。 The HDD state detection unit 35 determines which of the three states the HDD state is, based on the calculated numerical value, as in the case of the CPU. The performance of the HDD deteriorates as the error rate increases, deteriorates as the total energization time increases, and deteriorates as the throughput capacity value decreases. Further, the HDD state detection unit 35 can detect that the HDD is in a failed state when the HDD fails and does not operate.

メモリ状態検出部36は、メモリの状態を検出する。メモリ状態検出部36は、メモリの使用率および故障セクタの割合に基づいて、メモリの状態を検出することができる。メモリの使用率は、メモリの記憶容量全体のうちCPUが使用しているメモリの割合を意味する。 The memory state detection unit 36 detects the state of the memory. The memory state detection unit 36 can detect the state of the memory based on the usage rate of the memory and the ratio of the failed sector. The memory usage rate means the ratio of the memory used by the CPU to the total storage capacity of the memory.

メモリ状態検出部36は、メモリの使用率と故障セクタの割合とに重み付けを行い、重み付け後の値を合算することで、メモリの状態を数値化することができる。メモリ状態検出部36は、演算した数値に基づいて、CPUの場合と同様に、メモリの状態を3つの状態のいずれであるかを判定することができる。また、メモリ状態検出部36は、メモリが動作しなくなった場合、メモリが故障状態であることを検出することができる。 The memory state detection unit 36 weights the memory usage rate and the percentage of failed sectors, and adds up the weighted values to quantify the memory state. The memory state detection unit 36 can determine which of the three states the memory state is, based on the calculated numerical value, as in the case of the CPU. Further, the memory state detection unit 36 can detect that the memory is in a failure state when the memory stops operating.

RAS監視部32は、処理部20の温度、処理部20の電源電圧、およびファン12の状態を監視する。RAS監視部32は、温度状態検出部37と、電圧状態検出部38と、ファン状態検出部39とを備える。 The RAS monitoring unit 32 monitors the temperature of the processing unit 20, the power supply voltage of the processing unit 20, and the state of the fan 12. The RAS monitoring unit 32 includes a temperature state detection unit 37, a voltage state detection unit 38, and a fan state detection unit 39.

温度状態検出部37は、処理部20の温度状態を検出する。温度状態検出部37は、処理部20の温度Tcが高いほど処理部20の温度状態が悪いと判定する。具体的には、温度状態検出部37は、処理部20の温度Tcが第1閾値Tcth1未満である場合、処理部20の温度状態が正常状態であると判定し、処理部20の温度Tcが第1閾値Tcth1以上かつ第2閾値Tcth2未満である場合に処理部20の温度状態が注意状態であると判定する。 The temperature state detection unit 37 detects the temperature state of the processing unit 20. The temperature state detection unit 37 determines that the higher the temperature Tc of the processing unit 20, the worse the temperature state of the processing unit 20. Specifically, when the temperature Tc of the processing unit 20 is less than the first threshold value Tct1, the temperature state detection unit 37 determines that the temperature state of the processing unit 20 is in a normal state, and the temperature Tc of the processing unit 20 is changed. When the first threshold value is Tct1 or more and the second threshold value is less than Tct2, it is determined that the temperature state of the processing unit 20 is a caution state.

また、温度状態検出部37は、処理部20の温度Tcが第2閾値Tcth2以上かつ第3閾値Tcth3未満である場合、処理部20の温度状態が警告状態であると判定し、処理部20の温度Tcが第3閾値Tcth3以上である場合、処理部20の温度状態が故障状態であると判定する。第3閾値Tcth3は、処理装置2の定格温度To以上に設定される。 Further, when the temperature Tc of the processing unit 20 is equal to or higher than the second threshold value Tcts2 and less than the third threshold value Tct3, the temperature state detection unit 37 determines that the temperature state of the processing unit 20 is a warning state, and the processing unit 20 determines that the temperature state is a warning state. When the temperature Tc is equal to or higher than the third threshold value Tct3, it is determined that the temperature state of the processing unit 20 is a failure state. The third threshold value Tct3 is set to be equal to or higher than the rated temperature To of the processing device 2.

電圧状態検出部38は、処理部20に供給される電源電圧Vcの状態を検出する。電圧状態検出部38は、処理部20に供給される電源電圧Vcが低いほど電源電圧Vcの状態が悪いと判定する。具体的には、電圧状態検出部38は、電源電圧Vcが第1閾値Vcth1以上である場合、電源電圧Vcの状態が正常状態であると判定し、電源電圧Vcが第1閾値Vcth1未満かつ第2閾値Vcth2以上である場合に電源電圧Vcの状態が注意状態であると判定する。 The voltage state detection unit 38 detects the state of the power supply voltage Vc supplied to the processing unit 20. The voltage state detection unit 38 determines that the lower the power supply voltage Vc supplied to the processing unit 20, the worse the state of the power supply voltage Vc. Specifically, when the power supply voltage Vc is equal to or higher than the first threshold value Vct1, the voltage state detection unit 38 determines that the state of the power supply voltage Vc is a normal state, and the power supply voltage Vc is less than the first threshold value Vcts1 and is the first. When the threshold value Vct is 2 or more, it is determined that the state of the power supply voltage Vc is a caution state.

また、電圧状態検出部38は、電源電圧Vcが第2閾値Vcth2未満かつ第3閾値Vcth3以上である場合、電源電圧Vcの状態が警告状態であると判定し、電源電圧Vcが第3閾値Vcth3未満である場合、電源電圧Vcの状態が故障状態であると判定する。 Further, when the power supply voltage Vc is less than the second threshold value Vct2 and equal to or higher than the third threshold value Vcts3, the voltage state detection unit 38 determines that the state of the power supply voltage Vc is a warning state, and the power supply voltage Vc is the third threshold value Vcts3. If it is less than, it is determined that the state of the power supply voltage Vc is a failure state.

ファン状態検出部39は、ファン12の状態を検出する。ファン状態検出部39は、ファン12の停止時間Tsが長いほどファン12の状態が悪いと判定することができる。ファン12の停止時間Tsとは、稼動すべきファン12が何らかの要因で停止している時間であり、ファン12の継続停止時間または単位時間当たりのファン12の停止時間である。 The fan state detection unit 39 detects the state of the fan 12. The fan state detection unit 39 can determine that the longer the stop time Ts of the fan 12 is, the worse the state of the fan 12. The stop time Ts of the fan 12 is the time during which the fan 12 to be operated is stopped for some reason, and is the continuous stop time of the fan 12 or the stop time of the fan 12 per unit time.

ファン状態検出部39は、ファン12の停止時間Tsが第1閾値Tsth1未満である場合にファン12の状態が正常状態であると判定し、ファン12の停止時間Tsが第1閾値Tsth1以上かつ第2閾値Tsth2未満である場合にファン12の状態が注意状態であると判定する。また、ファン状態検出部39は、ファン12の停止時間Tsが第2閾値Tsth2以上かつ第3閾値Tsth3未満である場合にファン12の状態が警告状態であると判定する。 The fan state detection unit 39 determines that the state of the fan 12 is in a normal state when the stop time Ts of the fan 12 is less than the first threshold value Tsth1, and the stop time Ts of the fan 12 is equal to or more than the first threshold value Tsth1. When the threshold value is less than Tsth2, it is determined that the state of the fan 12 is a caution state. Further, the fan state detection unit 39 determines that the state of the fan 12 is a warning state when the stop time Ts of the fan 12 is equal to or more than the second threshold value Tsth2 and less than the third threshold value Tsth3.

ファン状態検出部39は、ファン12の停止時間Tsが第3閾値Tsth3以上である場合にファン12の状態が故障状態であると判定する。なお、ファン状態検出部39は、停止時間Tsに加えて、または、停止時間Tsに代えて、ファン12の累積稼動時間が長いほどファン12の状態が悪いと判定することもできる。 The fan state detection unit 39 determines that the state of the fan 12 is a failure state when the stop time Ts of the fan 12 is equal to or greater than the third threshold value Tsth3. The fan state detection unit 39 can also determine that the longer the cumulative operating time of the fan 12, the worse the state of the fan 12 is, in addition to the stop time Ts or instead of the stop time Ts.

評価値演算部33は、監視部21による監視結果に基づいて、評価値Ssを演算する。評価値Ssは、上述したように、処理部20の状態が現用系の処理を実行できなくなる状態に近づくほど小さくなるように設定される。 The evaluation value calculation unit 33 calculates the evaluation value Ss based on the monitoring result by the monitoring unit 21. As described above, the evaluation value Ss is set so as to become smaller as the state of the processing unit 20 approaches the state in which the processing of the working system cannot be executed.

評価値演算部33は、第1のスコア判定テーブル50と、第2のスコア判定テーブル51を有しており、第1のスコア判定テーブル50と第2のスコア判定テーブル51とに基づいて、評価値Ssを算出することができる。 The evaluation value calculation unit 33 has a first score determination table 50 and a second score determination table 51, and evaluates based on the first score determination table 50 and the second score determination table 51. The value Ss can be calculated.

図3は、第1のスコア判定テーブル50の一例を示す図である。図3に示すように、第1のスコア判定テーブル50は、CPUの状態、HDDの状態、およびメモリの状態と3つのスコアSa,Sb,Scとの関係を規定するテーブルである。 FIG. 3 is a diagram showing an example of the first score determination table 50. As shown in FIG. 3, the first score determination table 50 is a table that defines the relationship between the CPU state, the HDD state, and the memory state and the three scores Sa, Sb, and Sc.

図3に示す例では、CPUの状態が正常状態である場合、「100」の値が割り当てられ、CPUの状態が注意状態である場合、「60」の値が割り当てられ、CPUの状態が警告状態である場合、「30」の値が割り当てられる。また、CPUの重み付けとして、「1.0」が設定される。 In the example shown in FIG. 3, when the CPU state is a normal state, a value of "100" is assigned, and when the CPU state is a caution state, a value of "60" is assigned and the CPU state is warned. If it is in a state, a value of "30" is assigned. Further, "1.0" is set as the weighting of the CPU.

CPUのスコアSaは、CPUの状態とCPUの重み付けとに基づいて演算される。CPUの状態が正常状態である場合、Sa=100×1.0=100であり、CPUの状態が注意状態である場合、Sa=60×1.0=60であり、CPUの状態が警告状態である場合、Sa=30×1.0=30である。 The CPU score Sa is calculated based on the state of the CPU and the weighting of the CPU. When the CPU state is a normal state, Sa = 100 × 1.0 = 100, and when the CPU state is a caution state, Sa = 60 × 1.0 = 60, and the CPU state is a warning state. If, Sa = 30 × 1.0 = 30.

同様に、HDDのスコアSbは、HDDの状態と重み付けとに基づいて演算される。HDDの状態が正常状態である場合、Sb=100×0.5=50であり、HDDの状態が注意状態である場合、Sb=55×0.5=27.5であり、HDDの状態が警告状態である場合、Sb=20×0.5=10である。 Similarly, the HDD score Sb is calculated based on the HDD state and weighting. When the state of the HDD is a normal state, Sb = 100 × 0.5 = 50, and when the state of the HDD is a caution state, Sb = 55 × 0.5 = 27.5, and the state of the HDD is In the warning state, Sb = 20 × 0.5 = 10.

同様に、メモリのスコアScは、メモリの状態と重み付けとに基づいて演算される。メモリの状態が正常状態である場合、Sc=100×0.5=50であり、メモリの状態が注意状態である場合、Sc=50×0.5=25であり、メモリの状態が警告状態である場合、Sc=10×0.5=5である。 Similarly, the memory score Sc is calculated based on the memory state and weighting. When the memory state is the normal state, Sc = 100 × 0.5 = 50, and when the memory state is the caution state, Sc = 50 × 0.5 = 25, and the memory state is the warning state. If, Sc = 10 × 0.5 = 5.

図4は、第2のスコア判定テーブル51の一例を示す図である。図4に示すように、第2のスコア判定テーブル51は、処理部20の温度状態、電源電圧Vcの状態、およびファン12の状態と3つのスコアSd,Se,Sfとの関係を規定するテーブルである。 FIG. 4 is a diagram showing an example of the second score determination table 51. As shown in FIG. 4, the second score determination table 51 is a table that defines the relationship between the temperature state of the processing unit 20, the state of the power supply voltage Vc, and the state of the fan 12 and the three scores Sd, Se, and Sf. Is.

温度のスコアSdは、上述したスコアSa〜Scの場合と同様に、温度状態と重み付けとに基づいて演算される。温度の状態が正常状態である場合、Sd=100×0.75=75であり、温度の状態が注意状態である場合、Sd=60×0.75=45であり、温度の状態が警告状態である場合、Sd=30×0.75=22.5である。 The temperature score Sd is calculated based on the temperature state and the weighting, as in the case of the scores Sa to Sc described above. When the temperature state is the normal state, Sd = 100 × 0.75 = 75, and when the temperature state is the caution state, Sd = 60 × 0.75 = 45, and the temperature state is the warning state. If, then Sd = 30 × 0.75 = 22.5.

同様に、電源電圧VcのスコアSeは、電源電圧Vcの状態と重み付けとに基づいて演算される。電源電圧Vcの状態が正常状態である場合、Se=100×1.0=100であり、電源電圧Vcの状態が注意状態である場合、Se=70×1.0=70であり、電源電圧Vcの状態が警告状態である場合、Se=40×1.0=40である。 Similarly, the score Se of the power supply voltage Vc is calculated based on the state and weighting of the power supply voltage Vc. When the state of the power supply voltage Vc is the normal state, Se = 100 × 1.0 = 100, and when the state of the power supply voltage Vc is the caution state, Se = 70 × 1.0 = 70, and the power supply voltage. When the state of Vc is a warning state, Se = 40 × 1.0 = 40.

同様に、ファン12のスコアSfは、ファン12の状態と重み付けとに基づいて演算される。ファン12の状態が正常状態である場合、Sf=100×0.5=50であり、ファン12の状態が注意状態である場合、Sf=50×0.5=25であり、ファン12の状態が警告状態である場合、Sf=10×0.5=5である。 Similarly, the fan 12 score Sf is calculated based on the fan 12 state and weighting. When the state of the fan 12 is a normal state, Sf = 100 × 0.5 = 50, and when the state of the fan 12 is a caution state, Sf = 50 × 0.5 = 25, and the state of the fan 12 Is a warning state, Sf = 10 × 0.5 = 5.

評価値演算部33は、下記式(1)に示すように、上述した6つのスコアSa〜Sfの合計値であるスコア合計値Stを演算する。
St=Sa+Sb+Sc+Sd+Se+Sf ・・・(1)
As shown in the following equation (1), the evaluation value calculation unit 33 calculates the total score value St, which is the total value of the above-mentioned six scores Sa to Sf.
St = Sa + Sb + Sc + Sd + Se + Sf ... (1)

そして、評価値演算部33は、下記式(2)に示すように、正常状態である場合のスコアSa〜Sfの合計値である正常時合計Stnでスコア合計値Stを除算することで、評価値Ssを求める。なお、第1のスコア判定テーブル50および第2のスコア判定テーブル51が図3および図4に示す状態である場合、Stn=100+50+50+75+100+50=425である。
Ss=St/Stn ・・・(2)
Then, as shown in the following equation (2), the evaluation value calculation unit 33 evaluates by dividing the total score value St by the normal total Stn, which is the total value of the scores Sa to Sf in the normal state. Find the value Ss. When the first score determination table 50 and the second score determination table 51 are in the states shown in FIGS. 3 and 4, Stn = 100 + 50 + 50 + 75 + 100 + 50 = 425.
Ss = St / Stn ... (2)

各スコア判定テーブル50,51は、外部からの設定要求があった場合に設定要求に含まれる値が監視部21によって設定される。これにより、各スコア判定テーブル50,51を容易に更新することができる。 In each of the score determination tables 50 and 51, when there is an external setting request, the value included in the setting request is set by the monitoring unit 21. As a result, the score determination tables 50 and 51 can be easily updated.

また、各スコア判定テーブル50,51は、評価値演算部33に複数設けられてもよく、評価値演算部33は、時間帯、季節、および湿度のうち少なくとも1つによって各スコア判定テーブル50,51を切り替えることで、評価値Ssの判定精度をより向上させることができる。 Further, a plurality of each score determination table 50, 51 may be provided in the evaluation value calculation unit 33, and the evaluation value calculation unit 33 may be provided with each score determination table 50, depending on at least one of time zone, season, and humidity. By switching 51, the determination accuracy of the evaluation value Ss can be further improved.

なお、評価値Ssの算出は、上述した演算方法に限定されない。検出部34〜39においてスコアSa〜Sfを演算することができる。この場合、評価値演算部33は、検出部34〜39から通知されるスコアSa〜Sfに基づいて評価値Ssを演算することもできる。 The calculation of the evaluation value Ss is not limited to the above-mentioned calculation method. The detection units 34 to 39 can calculate the scores Sa to Sf. In this case, the evaluation value calculation unit 33 can also calculate the evaluation value Ss based on the scores Sa to Sf notified from the detection units 34 to 39.

また、監視部21は、上述した処理の一部を行うこともできる。監視部21は、6つのスコアSa〜Sfのうち5つ以下のスコアを用いて評価値Ssを演算することもできる。また、各スコア判定テーブル50,51において、上述したような正常状態、注意状態、および警告状態の3つの状態に各々異なる値を割り当てるものでなくてもよく、4つ以上の状態に各々異なる値を割り当てることもできる。 In addition, the monitoring unit 21 can also perform a part of the above-mentioned processing. The monitoring unit 21 can also calculate the evaluation value Ss using 5 or less scores out of the 6 scores Sa to Sf. Further, in each of the score determination tables 50 and 51, different values may not be assigned to the three states of the normal state, the attention state, and the warning state as described above, and different values may be assigned to each of the four or more states. Can also be assigned.

評価値演算部33は、定期的に評価値Ssを算出しており、評価値Ssを算出する毎に、算出した評価値Ssを管理部22へ通知することができる。また、評価値演算部33は、算出した評価値Ssを他の処理装置2へ通知することができる。具体的には、処理装置2の評価値演算部33は、算出した評価値Ssを通信部10およびネットワーク4を介して処理装置2へ通知することができる。また、処理装置2の評価値演算部33は、算出した評価値Ssを通信部10およびネットワーク4を介して処理装置2へ通知することができる。 The evaluation value calculation unit 33 periodically calculates the evaluation value Ss, and each time the evaluation value Ss is calculated, the calculated evaluation value Ss can be notified to the management unit 22. Further, the evaluation value calculation unit 33 can notify the calculated evaluation value Ss to the other processing device 2. Specifically, the evaluation value computing unit 33 of the processing unit 2 1 is able to notify the calculated evaluation value Ss to via the communication unit 10 and the network 4 to the processing unit 2 2. The evaluation value calculation unit 33 of the processing unit 2 2 can be notified to the processing device 2 1 via the communication unit 10 and the network 4 the calculated evaluation value Ss.

また、監視部21は、CPUの状態、HDDの状態、メモリの状態、処理部20の温度状態、電源電圧Vcの状態、およびファン12の状態が上述した故障状態になった場合、故障状態を示す情報を系切替部41へ通知することができる。 Further, when the state of the CPU, the state of the HDD, the state of the memory, the temperature state of the processing unit 20, the state of the power supply voltage Vc, and the state of the fan 12 become the above-mentioned failure states, the monitoring unit 21 sets the failure state. The indicated information can be notified to the system switching unit 41.

図2に示す制御部13の管理部22は、系切替部41と、再起動部42とを備える。系切替部41は、監視部21から通知される故障状態を示す情報、監視部21から通知される評価値Ss、および他の処理装置2から通知される評価値Ssに基づいて、現用系の処理を実行している処理部20の設定を待機系へ変更する。また、系切替部41は、他の処理装置2から系切替要求があった場合に、処理部20の設定を待機系から現用系へ変更する。 The management unit 22 of the control unit 13 shown in FIG. 2 includes a system switching unit 41 and a restart unit 42. The system switching unit 41 is based on the information indicating the failure state notified from the monitoring unit 21, the evaluation value Ss notified from the monitoring unit 21, and the evaluation value Ss notified from the other processing device 2. The setting of the processing unit 20 executing the processing is changed to the standby system. Further, the system switching unit 41 changes the setting of the processing unit 20 from the standby system to the active system when there is a system switching request from the other processing device 2.

ここで、説明の便宜上、処理部20が現用系に設定されている処理装置2を現用系の処理装置2とし、処理部20が待機系に設定されている処理装置2を待機系の処理装置2とする。現用系の処理装置2の監視部21、系切替部41、および再起動部42を現用系の監視部21、系切替部41、および再起動部42とする。待機系の処理装置2の監視部21、系切替部41、および再起動部42を待機系の監視部21、系切替部41、および再起動部42とする。 Here, for convenience of explanation, the processing device 2 in which the processing unit 20 is set in the working system is set as the processing device 2 in the working system, and the processing device 2 in which the processing unit 20 is set in the standby system is used as the processing device in the standby system. Let it be 2. The monitoring unit 21, system switching unit 41, and restarting unit 42 of the processing device 2 of the working system are designated as the monitoring unit 21, system switching unit 41, and restarting unit 42 of the working system. The monitoring unit 21, system switching unit 41, and restarting unit 42 of the standby system processing device 2 are designated as the standby system monitoring unit 21, system switching unit 41, and restarting unit 42.

現用系の系切替部41は、現用系の監視部21から故障状態を示す情報が通知された場合に、現用系に設定された処理部20の設定を待機系へ変更する系切り替えを行うことができる。これにより、現用系に設定された処理部20が現用系の処理を継続できない状況になった場合に、系切り替えを行うことができる。 The system switching unit 41 of the working system switches the system to change the setting of the processing unit 20 set in the working system to the standby system when the monitoring unit 21 of the working system notifies the information indicating the failure status. Can be done. As a result, when the processing unit 20 set in the working system cannot continue the processing of the working system, the system can be switched.

現用系の系切替部41は、系切り替えを行う場合、待機系の系切替部41へ系切替要求を通信部10およびネットワーク4を介して送信する。待機系の系切替部41は、待機系に設定されている処理部20を現用系に切り替える処理を実行し、切り替え処理が終了した場合に、現用系の系切替部41へ切替応答を送信する。現用系の系切替部41は、切替応答を受信した後、現用系に設定されている処理部20を待機系へ切り替えることで、系切り替えを完了する。 When performing system switching, the system switching unit 41 of the working system transmits a system switching request to the system switching unit 41 of the standby system via the communication unit 10 and the network 4. The system switching unit 41 of the standby system executes a process of switching the processing unit 20 set in the standby system to the active system, and when the switching process is completed, transmits a switching response to the system switching unit 41 of the active system. .. After receiving the switching response, the system switching unit 41 of the working system completes the system switching by switching the processing unit 20 set in the working system to the standby system.

また、現用系の系切替部41は、現用系の監視部21から通知される評価値Ssと、待機系の監視部21から通知される評価値Ssとに基づいて、系切り替えを行うことができる。以下においては、現用系の監視部21から通知される評価値Ssを第1の評価値Ss1とし、待機系の監視部21から通知される評価値Ssを第2の評価値Ss2とする。 Further, the system switching unit 41 of the active system may switch the system based on the evaluation value Ss notified from the monitoring unit 21 of the active system and the evaluation value Ss notified from the monitoring unit 21 of the standby system. it can. In the following, the evaluation value Ss notified from the monitoring unit 21 of the active system is referred to as the first evaluation value Ss1, and the evaluation value Ss notified from the monitoring unit 21 of the standby system is referred to as the second evaluation value Ss2.

系切替部41は、第1の閾値Sth1の情報および第2の閾値Sth2の情報を記憶しており、第1の評価値Ss1、第2の評価値Ss2、第1の閾値Sth1、および第2の閾値Sth2に基づいて、上述した系切り替えを行うことができる。第1の閾値Sth1と第2の閾値Sth2との関係は、Sth1>Sth2である。 The system switching unit 41 stores the information of the first threshold value Sth1 and the information of the second threshold value Sth2, and stores the first evaluation value Ss1, the second evaluation value Ss2, the first threshold value Sth1, and the second. The system switching described above can be performed based on the threshold value Sth2 of. The relationship between the first threshold value Sth1 and the second threshold value Sth2 is Sth1> Sth2.

図5は、現用系の系切替部41による系切替条件と第1の評価値Ss1との関係を示す図である。図5に示すように、現用系の系切替部41は、第1の評価値Ss1が第1の閾値Sth1以上である場合、系切り替えを行わず、現用系の処理を実行している処理部20の設定を維持する。 FIG. 5 is a diagram showing the relationship between the system switching condition by the system switching unit 41 of the working system and the first evaluation value Ss1. As shown in FIG. 5, when the first evaluation value Ss1 is equal to or higher than the first threshold value Sth1, the system switching unit 41 of the working system does not switch the system and executes the processing of the working system. Keep the 20 setting.

また、現用系の系切替部41は、第1の評価値Ss1が第1の閾値Sth1未満である場合に、系切り替えを行う。これにより、処理部20の状態が現用系の処理を実行できなくなる状態になる前に系切り替えを行うことができ、処理部20を故障状態になった後に系切り替えを行う場合に比べて、現用系の処理への影響を低減することができる。 Further, the system switching unit 41 of the working system switches the system when the first evaluation value Ss1 is less than the first threshold value Sth1. As a result, the system can be switched before the state of the processing unit 20 becomes a state in which the processing of the active system cannot be executed, and the system can be switched after the processing unit 20 is in a failure state, as compared with the case where the system is switched. The influence on the processing of the system can be reduced.

現用系の系切替部41は、第1の評価値Ss1が第1の閾値Sth1未満かつ第2の閾値Sth2以上である場合、指定時間に系切り替えを行う。指定時間は、予め設定された時間であり、現用系の処理が実行されない時間帯または現用系の処理が少ない時間帯の中から指定される。これにより、処理部20の状態が現用系の処理を実行できなくなる可能性が高くない状態では、現用系の処理への影響が少ない時間帯で系切り替えを行うことができ、現用系の処理への影響を低減することができる。したがって、二重化システム1の安定性を向上させることができる。 When the first evaluation value Ss1 is less than the first threshold value Sth1 and equal to or greater than the second threshold value Sth2, the system switching unit 41 of the working system switches the system at a designated time. The designated time is a preset time, and is specified from a time zone in which the processing of the active system is not executed or a time zone in which the processing of the active system is small. As a result, when the state of the processing unit 20 is not high in the possibility that the processing of the working system cannot be executed, the system can be switched in a time zone where the influence on the processing of the working system is small, and the processing of the working system can be performed. The influence of can be reduced. Therefore, the stability of the duplex system 1 can be improved.

また、現用系の系切替部41は、第1の評価値Ss1が第2の閾値Sth2未満である場合、指定時間であるか否かにかかわらず、直ちに系切り替えを行う。これにより、処理部20の状態が現用系の処理を実行できなくなる可能性が高い状態では、直ちに系切り替えを行うことができ、現用系の処理への影響を低減することができる。したがって、二重化システム1の安定性を向上させることができる。 Further, when the first evaluation value Ss1 is less than the second threshold value Sth2, the system switching unit 41 of the working system immediately switches the system regardless of whether or not it is the designated time. As a result, when there is a high possibility that the processing of the processing unit 20 cannot execute the processing of the working system, the system can be switched immediately, and the influence on the processing of the working system can be reduced. Therefore, the stability of the duplex system 1 can be improved.

なお、系切替部41は、Ss1<Sth1である場合であっても、第2の評価値Ss2が第1の閾値Sth1以上でない場合には、系切り替えを行わないことができる。また、系切替部41は、Ss1<Sth1である場合であっても、第1の評価値Ss1が第2の評価値Ss2よりも小さく且つ第1の評価値Ss1と第2の評価値Ss2との差ΔSsが第3の閾値Sth3未満である場合には、系切り替えを行わないことができる。これにより、待機系の処理部20の状態が悪い状態である場合に、系切り替えが行われることを抑制でき、二重化システム1の安定性を向上させることができる。 Even when Ss1 <Sth1, the system switching unit 41 can not perform system switching if the second evaluation value Ss2 is not equal to or higher than the first threshold value Sth1. Further, even when Ss1 <Sth1, the system switching unit 41 has the first evaluation value Ss1 smaller than the second evaluation value Ss2 and the first evaluation value Ss1 and the second evaluation value Ss2. When the difference ΔSs of is less than the third threshold value Sth3, the system switching can not be performed. As a result, when the state of the processing unit 20 of the standby system is in a bad state, it is possible to suppress system switching and improve the stability of the duplex system 1.

図2に示す再起動部42は、待機系に設定された処理部20を再起動する。処理部20の再起動には、処理部20において動作するOSの再起動またはOS上で動作するプログラムの再起動である。なお、処理部20の再起動は、OSおよびOS上で動作するプログラムのうち少なくとも一つの初期化処理を含んでもよい。 The restart unit 42 shown in FIG. 2 restarts the processing unit 20 set in the standby system. The restart of the processing unit 20 is the restart of the OS running in the processing unit 20 or the restart of the program running on the OS. The restart of the processing unit 20 may include an initialization process of at least one of the OS and the program running on the OS.

再起動部42は、系切替部41によって処理部20の設定が現用系から待機系へ切り替えられた後に、待機系に切り替えられた処理部20を再起動する。再起動により処理部20の状態を正常な状態に戻して待機系へ変更された処理部20を現用系に切り替え可能な状態にすることができ、二重化システム1の安定性を向上させることができる。 The restart unit 42 restarts the processing unit 20 that has been switched to the standby system after the setting of the processing unit 20 has been switched from the active system to the standby system by the system switching unit 41. By restarting, the state of the processing unit 20 can be returned to the normal state so that the processing unit 20 changed to the standby system can be switched to the active system, and the stability of the duplex system 1 can be improved. ..

また、Sth1>Ss≧Sth2の場合に、指定時間に系切り替えが行われるため、再起動部42は、系切り替え後に再起動を行うことで、現用系の処理が実行されない時間帯または現用系の処理が少ない時間帯に再起動を行うことができる。したがって、指定時間に系切り替えが行われた直後に再度系切り替えが必要になった場合であっても、現用系の処理への影響を抑えることができ、二重化システム1の安定性を向上させることができる。 Further, when Sth1> Ss ≧ Sth2, the system is switched at the designated time. Therefore, the restart unit 42 restarts after the system is switched, so that the processing of the active system is not executed or the active system is not executed. It is possible to restart during a time when there is little processing. Therefore, even if the system is switched again immediately after the system is switched at the specified time, the influence on the processing of the active system can be suppressed and the stability of the duplex system 1 can be improved. Can be done.

つづいて、処理装置2における監視部21および管理部22の動作を、フローチャートを用いて説明する。図6は、実施の形態1にかかる監視部21および管理部22の処理の一例を示すフローチャートであり、図6のフローチャートに記載された一連の処理が繰り返し実行される。 Subsequently, the operations of the monitoring unit 21 and the management unit 22 in the processing device 2 will be described with reference to the flowchart. FIG. 6 is a flowchart showing an example of the processing of the monitoring unit 21 and the management unit 22 according to the first embodiment, and the series of processing described in the flowchart of FIG. 6 is repeatedly executed.

図6に示すように、監視部21は、デバイス監視情報を生成し(ステップS10)、RAS監視情報を生成する(ステップS11)。デバイス監視情報は、上述したCPUの状態、HDDの状態、およびメモリの状態を示す情報であり、RAS監視情報は、上述した処理部20の温度状態、電源電圧Vcの状態、およびファン12の状態を示す情報である。監視部21は、生成したデバイス監視情報およびRAS監視情報に基づいて、上述した評価値Ssを演算する(ステップS12)。 As shown in FIG. 6, the monitoring unit 21 generates device monitoring information (step S10) and generates RAS monitoring information (step S11). The device monitoring information is information indicating the CPU status, HDD status, and memory status described above, and the RAS monitoring information is the temperature status of the processing unit 20, the power supply voltage Vc status, and the fan 12 status described above. This is information indicating. The monitoring unit 21 calculates the above-mentioned evaluation value Ss based on the generated device monitoring information and RAS monitoring information (step S12).

次に、管理部22は、処理部20が現用系に設定されているか否かを判定する(ステップS13)。管理部22は、処理部20が現用系に設定されていると判定した場合(ステップS13:Yes)、現用系管理処理を実行して(ステップS14)、図6に示す処理を終了する。ステップS14の処理は、図7に示すステップS20〜S30の処理であり、後で詳述する。 Next, the management unit 22 determines whether or not the processing unit 20 is set in the active system (step S13). When the management unit 22 determines that the processing unit 20 is set to the active system (step S13: Yes), the management unit 22 executes the active system management process (step S14), and ends the process shown in FIG. The process of step S14 is the process of steps S20 to S30 shown in FIG. 7, which will be described in detail later.

また、管理部22は、処理部20が現用系に設定されていないと判定した場合(ステップS13:No)、待機系管理処理を実行し(ステップS15)、図6に示す処理を終了する。ステップS15の処理は、図9に示すステップS40〜S50の処理であり、後で詳述する。 If the management unit 22 determines that the processing unit 20 is not set in the active system (step S13: No), the management unit 22 executes the standby system management process (step S15), and ends the process shown in FIG. The process of step S15 is the process of steps S40 to S50 shown in FIG. 9, which will be described in detail later.

図7は、図6に示すステップS14の処理の一例を示すフローチャートである。図7に示すように、管理部22は、待機系の処理装置2から評価値要求を受信したか否かを判定する(ステップS20)。管理部22は、評価値要求を受信したと判定した場合(ステップS20:Yes)、通信部10およびネットワーク4を介して待機系の処理装置2へ第1の評価値Ss1を送信する(ステップS21)。 FIG. 7 is a flowchart showing an example of the process of step S14 shown in FIG. As shown in FIG. 7, the management unit 22 determines whether or not the evaluation value request has been received from the standby system processing device 2 (step S20). When the management unit 22 determines that the evaluation value request has been received (step S20: Yes), the management unit 22 transmits the first evaluation value Ss1 to the standby system processing device 2 via the communication unit 10 and the network 4 (step S21). ).

ステップS21の処理後、管理部22は、待機系の処理装置2から系切替要求を受信したか否かを判定する(ステップS22)。管理部22は、系切替要求を受信したと判定した場合(ステップS22:Yes)、処理部20の設定を現用系から待機系へ切り替え(ステップS23)、切替応答を系切替要求の送信元の処理装置2へ送信する(ステップS24)。なお、系切り替えは、現用系の処理が中断しないようにまたは現用系の処理の中断が短時間になるように現用系の処理部20と待機系の処理部20とで系切り替えの処理が行われる。 After the processing in step S21, the management unit 22 determines whether or not a system switching request has been received from the standby system processing device 2 (step S22). When the management unit 22 determines that the system switching request has been received (step S22: Yes), the management unit 22 switches the setting of the processing unit 20 from the active system to the standby system (step S23), and sends a switching response to the transmission source of the system switching request. It is transmitted to the processing device 2 (step S24). In the system switching, the system switching process is performed by the working system processing unit 20 and the standby system processing unit 20 so that the processing of the working system is not interrupted or the processing of the working system is interrupted for a short time. Be told.

管理部22は、評価値要求を受信していないと判定した場合(ステップS20:No)、待機系の処理装置2から第2の評価値Ss2を取得する(ステップS25)。次に、管理部22は、系切替条件を満たすか否かを判定する(ステップS26)。ステップS26の処理は、図8に示すステップS31〜S39の処理であり、後で詳述する。 When the management unit 22 determines that the evaluation value request has not been received (step S20: No), the management unit 22 acquires the second evaluation value Ss2 from the standby system processing device 2 (step S25). Next, the management unit 22 determines whether or not the system switching condition is satisfied (step S26). The process of step S26 is the process of steps S31 to S39 shown in FIG. 8, which will be described in detail later.

管理部22は、系切替条件を満たすと判定した場合(ステップS26:Yes)、通信部10およびネットワーク4を介して待機系である他の処理装置2へ系切替要求を送信する(ステップS27)。つづいて、管理部22は、他の処理装置2から切替応答を受信したか否かを判定する(ステップS28)。 When the management unit 22 determines that the system switching condition is satisfied (step S26: Yes), the management unit 22 transmits a system switching request to another processing device 2 which is a standby system via the communication unit 10 and the network 4 (step S27). .. Subsequently, the management unit 22 determines whether or not a switching response has been received from the other processing device 2 (step S28).

管理部22は、切替応答を受信していない場合(ステップS28:No)、ステップS28の処理を繰り返す。管理部22は、切替応答を受信した場合(ステップS28:Yes)、処理部20の設定を現用系から待機系へ切り替え(ステップS29)、処理部20の再起動を実行する(ステップS30)。なお、以下において、ステップS30の再起動を系切替後再起動と記載する場合がある。 If the management unit 22 has not received the switching response (step S28: No), the management unit 22 repeats the process of step S28. When the management unit 22 receives the switching response (step S28: Yes), the management unit 22 switches the setting of the processing unit 20 from the active system to the standby system (step S29), and restarts the processing unit 20 (step S30). In the following, the restart in step S30 may be described as restart after system switching.

図8は、図7に示すステップS26の処理の一例を示すフローチャートである。図8に示すように、管理部22は、第1の評価値Ss1が第1の閾値Sth1以上であるか否かを判定する(ステップS31)。管理部22は、第1の評価値Ss1が第1の閾値Sth1以上ではないと判定した場合(ステップS31:No)、第2の評価値Ss2が第1の閾値Sth1以上であるか否かを判定する(ステップS32)。 FIG. 8 is a flowchart showing an example of the process of step S26 shown in FIG. As shown in FIG. 8, the management unit 22 determines whether or not the first evaluation value Ss1 is equal to or greater than the first threshold value Sth1 (step S31). When the management unit 22 determines that the first evaluation value Ss1 is not equal to or higher than the first threshold value Sth1 (step S31: No), the management unit 22 determines whether or not the second evaluation value Ss2 is equal to or higher than the first threshold value Sth1. Determine (step S32).

管理部22は、第2の評価値Ss2が第1の閾値Sth1以上ではないと判定した場合(ステップS32:No)、第2の評価値Ss2が第2の閾値Sth2以上であるか否かを判定する(ステップS33)。管理部22は、第2の評価値Ss2が第2の閾値Sth2以上であると判定した場合(ステップS33:Yes)、第1の評価値Ss1と第2の評価値Ss2との評価値差ΔSsが第3の閾値Sth3以上であるか否かを判定する(ステップS34)。なお、ΔSs=Ss2−Ss1である。 When the management unit 22 determines that the second evaluation value Ss2 is not equal to or higher than the first threshold value Sth1 (step S32: No), the management unit 22 determines whether or not the second evaluation value Ss2 is equal to or higher than the second threshold value Sth2. Determine (step S33). When the management unit 22 determines that the second evaluation value Ss2 is equal to or higher than the second threshold value Sth2 (step S33: Yes), the evaluation value difference ΔSs between the first evaluation value Ss1 and the second evaluation value Ss2. Is determined to be equal to or higher than the third threshold value Sth3 (step S34). It should be noted that ΔSs = Ss2-Ss1.

管理部22は、Ss2≧Sth1であると判定した場合(ステップS32:Yes)、または、ΔSs≧Sth3であると判定した場合(ステップS34:Yes)、第1の評価値Ss1が第2の閾値Sth2以上であるか否かを判定する(ステップS37)。 When the management unit 22 determines that Ss2 ≧ Sth1 (step S32: Yes) or ΔSs ≧ Sth3 (step S34: Yes), the first evaluation value Ss1 is the second threshold value. It is determined whether or not it is Sth2 or more (step S37).

管理部22は、Ss1≧Sth2であると判定した場合(ステップS37:Yes)、予め設定された指定時間が到来しているか否かを判定する(ステップS38)。管理部22は、Ss1≧Sth2ではないと判定した場合(ステップS37:No)、または、予め設定された指定時間が到来していると判定した場合(ステップS38:Yes)、系切替条件を満たすと判定する(ステップS39)。 When the management unit 22 determines that Ss1 ≧ Sth2 (step S37: Yes), the management unit 22 determines whether or not the preset designated time has arrived (step S38). The management unit 22 satisfies the system switching condition when it is determined that Ss1 ≧ Sth2 is not satisfied (step S37: No) or when it is determined that the preset designated time has arrived (step S38: Yes). (Step S39).

管理部22は、Ss1≧Sth1であると判定した場合(ステップS31:Yes)、Ss2≧Sth2ではないと判定した場合(ステップS33:No)、ΔSs≧Sth3ではないと判定した場合(ステップS34:No)、指定時間が到来していないと判定した場合(ステップS38:No)、系切替条件を満たさないと判定する(ステップS35)。 When the management unit 22 determines that Ss1 ≧ Sth1 (step S31: Yes), determines that Ss2 ≧ Sth2 is not (step S33: No), and determines that ΔSs ≧ Sth3 is not (step S34: No), when it is determined that the designated time has not arrived (step S38: No), it is determined that the system switching condition is not satisfied (step S35).

図9は、図6に示すステップS15の処理の一例を示すフローチャートである。図9に示すように、管理部22は、系切替後再起動の直後であるか否かを判定する(ステップS40)。管理部22は、系切替後再起動の直後ではないと判定した場合(ステップS40:No)、通信部10およびネットワーク4を介して現用系の処理装置2へ第2の評価値Ss2を送信する(ステップS41)。 FIG. 9 is a flowchart showing an example of the process of step S15 shown in FIG. As shown in FIG. 9, the management unit 22 determines whether or not the system has just been restarted after the system has been switched (step S40). When the management unit 22 determines that it is not immediately after restarting after switching the system (step S40: No), the management unit 22 transmits the second evaluation value Ss2 to the processing device 2 of the active system via the communication unit 10 and the network 4. (Step S41).

つづいて、管理部22は、現用系の処理装置2から系切替要求を受信したか否かを判定する(ステップS42)。系切替要求を受信したと判定した場合(ステップS42:Yes)、処理部20を待機系から現用系へ切り替えを行い(ステップS43)、系切替要求の送信元の処理装置2へ切替応答を送信する(ステップS44)。 Subsequently, the management unit 22 determines whether or not a system switching request has been received from the processing device 2 of the active system (step S42). When it is determined that the system switching request has been received (step S42: Yes), the processing unit 20 is switched from the standby system to the active system (step S43), and the switching response is transmitted to the processing device 2 that is the source of the system switching request. (Step S44).

管理部22は、ステップS40において、系切替後再起動の直後であると判定した場合(ステップS40:Yes)、現用系の処理装置2へ評価値要求を行い、現用系の処理装置2から第1の評価値Ss1を取得する(ステップS45)。そして、管理部22は、ステップS26の処理と同様に、系切替条件を満たすか否かを判定する(ステップS46)。 When the management unit 22 determines in step S40 that the system has just been restarted after switching (step S40: Yes), the management unit 22 requests an evaluation value from the working system processing device 2 and causes the working system processing device 2 to go to the second stage. The evaluation value Ss1 of 1 is acquired (step S45). Then, the management unit 22 determines whether or not the system switching condition is satisfied, as in the process of step S26 (step S46).

管理部22は、系切替条件を満たすと判定した場合(ステップS46:Yes)、処理部20の現用系へ切り替えの準備を行い(ステップS47)、通信部10およびネットワーク4を介して現用系の処理装置2へ系切替要求を送信する(ステップS48)。つづいて、管理部22は、系切替要求の送信先の処理装置2から切替応答を受信したか否かを判定する(ステップS49)。管理部22は、切替応答を受信していないと判定した場合(ステップS49:No)、ステップS49の処理を繰り返す。 When the management unit 22 determines that the system switching condition is satisfied (step S46: Yes), the management unit 22 prepares to switch to the working system of the processing unit 20 (step S47), and the management unit 22 prepares to switch to the working system via the communication unit 10 and the network 4. A system switching request is transmitted to the processing device 2 (step S48). Subsequently, the management unit 22 determines whether or not a switching response has been received from the processing device 2 at the transmission destination of the system switching request (step S49). When the management unit 22 determines that the switching response has not been received (step S49: No), the management unit 22 repeats the process of step S49.

管理部22は、切替応答を受信したと判定した場合(ステップS49:Yes)、処理部20の設定を現用系へ切り替えて、処理部20に現用系の処理の実行を開始させる(ステップS50)。管理部22は、ステップS44の処理が終了した場合、ステップS50の処理が終了した場合、系切替要求を受信していないと判定した場合(ステップS42:No)、系切替条件を満たさないと判定した場合(ステップS46:No)、図9に示す処理を終了する。 When the management unit 22 determines that the switching response has been received (step S49: Yes), the management unit 22 switches the setting of the processing unit 20 to the working system, and causes the processing unit 20 to start executing the processing of the working system (step S50). .. When the processing of step S44 is completed, the processing of step S50 is completed, or it is determined that the system switching request has not been received (step S42: No), the management unit 22 determines that the system switching condition is not satisfied. If this is the case (step S46: No), the process shown in FIG. 9 is terminated.

図10は、実施の形態1にかかる処理装置2のハードウェア構成の一例を示す図である。図10に示すように、処理装置2は、プロセッサ101と、メモリ102と、HDD103と、インタフェース回路104とを備えるコンピュータである。プロセッサ101、メモリ102、HDD103、およびインタフェース回路104は、バス105によって互いにデータの送受信が可能である。通信部10は、インタフェース回路104によって実現される。 FIG. 10 is a diagram showing an example of the hardware configuration of the processing device 2 according to the first embodiment. As shown in FIG. 10, the processing device 2 is a computer including a processor 101, a memory 102, an HDD 103, and an interface circuit 104. The processor 101, the memory 102, the HDD 103, and the interface circuit 104 can send and receive data to and from each other by the bus 105. The communication unit 10 is realized by the interface circuit 104.

プロセッサ101は、HDD103に記憶されたOSおよび処理プログラムを読み出して実行することによって、処理部20、監視部21、および管理部22の機能を実行する。なお、プロセッサ101は、磁気ディスク、USB(Universal Serial Bus)メモリ、光ディスク、コンパクトディスク、およびDVD(Digital Versatile Disc)のうち一つ以上の記憶媒体から不図示のインタフェースを介してOSおよび処理プログラムを読み出しHDD103に記憶して実行することもできる。 The processor 101 executes the functions of the processing unit 20, the monitoring unit 21, and the management unit 22 by reading and executing the OS and the processing program stored in the HDD 103. The processor 101 transmits an OS and a processing program from one or more storage media of a magnetic disk, a USB (Universal Serial Bus) memory, an optical disk, a compact disk, and a DVD (Digital Versatile Disc) via an interface (not shown). It can also be stored in the read-out HDD 103 and executed.

プロセッサ101は、処理回路の一例であり、CPU、DSP(Digital Signal Processer)、およびシステムLSI(Large Scale Integration)のうち一つ以上を含む。メモリ102は、プロセッサ101の作業領域として用いられる記憶領域であり、RAM(Random Access Memory)に代表される不揮発性または揮発性の半導体メモリである。 The processor 101 is an example of a processing circuit, and includes one or more of a CPU, a DSP (Digital Signal Processer), and a system LSI (Large Scale Integration). The memory 102 is a storage area used as a work area of the processor 101, and is a non-volatile or volatile semiconductor memory represented by a RAM (Random Access Memory).

以上のように、実施の形態1にかかる処理装置2は、処理部20と、監視部21と、系切替部41と、再起動部42とを備える。処理部20は、現用系の処理を実行する。監視部21は、処理部20の状態を監視する。系切替部41は、監視部21の監視結果に基づいて、処理部20の設定を現用系と待機系との間で切り替える。再起動部42は、系切替部41によって処理部20が待機系に切り替えられた場合、または、監視部21の監視結果が再起動条件を満たす場合に、処理部20を再起動する。処理部20の再起動によって、状態が悪くなった処理部20の状態が正常な状態に戻る可能性を増加させることができ、二重化システム1の安定性を向上させることができる。 As described above, the processing device 2 according to the first embodiment includes a processing unit 20, a monitoring unit 21, a system switching unit 41, and a restart unit 42. The processing unit 20 executes the processing of the working system. The monitoring unit 21 monitors the state of the processing unit 20. The system switching unit 41 switches the setting of the processing unit 20 between the active system and the standby system based on the monitoring result of the monitoring unit 21. The restart unit 42 restarts the processing unit 20 when the processing unit 20 is switched to the standby system by the system switching unit 41, or when the monitoring result of the monitoring unit 21 satisfies the restart condition. By restarting the processing unit 20, the possibility that the state of the processing unit 20 that has deteriorated will return to the normal state can be increased, and the stability of the duplex system 1 can be improved.

また、監視部21は、処理部20の状態に基づく第1の評価値Ss1を演算すると共に、他の処理装置2における処理部20の状態に基づく第2の評価値Ss2を他の処理装置2から取得する。系切替部41は、第1の評価値Ss1と第2の評価値Ss2とに基づいて、現用系と待機系との間で処理部20の設定を切り替える。現用系の評価値と待機系の評価値を用いることで、現用系の処理部20の状態と待機系の処理部20の状態とを容易かつ適切に比較することができ、二重化システム1の安定性を向上させることができる。 Further, the monitoring unit 21 calculates the first evaluation value Ss1 based on the state of the processing unit 20, and also sets the second evaluation value Ss2 based on the state of the processing unit 20 in the other processing device 2 to the other processing device 2. Get from. The system switching unit 41 switches the setting of the processing unit 20 between the active system and the standby system based on the first evaluation value Ss1 and the second evaluation value Ss2. By using the evaluation value of the working system and the evaluation value of the standby system, it is possible to easily and appropriately compare the state of the processing unit 20 of the working system and the state of the processing unit 20 of the standby system, and the stability of the duplex system 1 is stable. The sex can be improved.

また、系切替部41は、処理部20が現用系として設定されている場合に、第1の評価値Ss1が第1の閾値Sth1未満である場合に、処理部20の設定を現用系から待機系へ切り替える。再起動部42は、系切替部41によって処理部20の設定が現用系から待機系へ切り替えられた後に、処理部20を再起動する。第1の評価値Ss1が第1の閾値Sth1未満である場合に、処理部20の設定を現用系から待機系へ切り替えることから、第1の閾値Sth1を適切に設定することで、現用系の処理への影響を抑えつつ、系切り替えを行うことができる。 Further, the system switching unit 41 waits for the setting of the processing unit 20 from the working system when the processing unit 20 is set as the working system and the first evaluation value Ss1 is less than the first threshold value Sth1. Switch to the system. The restart unit 42 restarts the processing unit 20 after the setting of the processing unit 20 is switched from the active system to the standby system by the system switching unit 41. When the first evaluation value Ss1 is less than the first threshold value Sth1, the setting of the processing unit 20 is switched from the active system to the standby system. Therefore, by appropriately setting the first threshold value Sth1, the working system can be set. System switching can be performed while suppressing the effect on processing.

また、系切替部41は、処理部20が現用系として設定されている状態で、第1の評価値Ss1が第1の閾値Sth1未満であり且つ第2の閾値Sth2以上であると判定した場合、予め設定された時間に到達した場合に処理部20の設定を現用系から待機系へ切り替える。予め設定された時間に系切り替えを行うことから、処理部20の状態が現用系の処理を実行できなくなる可能性がそれほど高くない状態においては、現用系の処理への影響が少ない時間帯で系切り替えを行うことができ、現用系の処理への影響を低減することができる。 Further, when the system switching unit 41 determines that the first evaluation value Ss1 is less than the first threshold value Sth1 and is equal to or more than the second threshold value Sth2 in a state where the processing unit 20 is set as the active system. When the preset time is reached, the setting of the processing unit 20 is switched from the active system to the standby system. Since the system is switched at a preset time, the system is in a time zone where the influence on the processing of the active system is small when the state of the processing unit 20 is not so high that the processing of the active system cannot be executed. Switching can be performed, and the influence on the processing of the working system can be reduced.

また、系切替部41は、処理部20が現用系として設定されている状態で、第1の評価値Ss1が第2の閾値Sth2未満であると判定した場合、予め設定された時間に到達したか否かにかかわらず処理部20の設定を現用系から待機系へ切り替える。これにより、処理部20の状態が現用系の処理を実行できなくなる可能性が高い状態では、すぐに系切り替えを行うことができ、現用系の処理への影響を低減することができる。 Further, when the system switching unit 41 determines that the first evaluation value Ss1 is less than the second threshold value Sth2 in the state where the processing unit 20 is set as the active system, the system switching unit 41 has reached a preset time. Regardless of whether or not, the setting of the processing unit 20 is switched from the active system to the standby system. As a result, in a state where there is a high possibility that the processing of the working system cannot be executed in the state of the processing unit 20, the system can be switched immediately, and the influence on the processing of the working system can be reduced.

また、系切替部41は、処理部20が現用系に設定されている場合、第1の評価値Ss1が第2の評価値Ss2よりも低く第1の評価値Ss1と第2の評価値Ss2との差ΔSsが第3の閾値Sth3以上である場合に、処理部20の設定を現用系から待機系へ切り替える。これにより、現用系の処理装置2と評価値Ssにあまり差が無い待機系の処理装置2へ系切り替えが行われることを抑制することができ、系切り替えが頻繁に行われることを防止し、二重化システム1の安定性を向上させることができる。 Further, in the system switching unit 41, when the processing unit 20 is set to the working system, the first evaluation value Ss1 is lower than the second evaluation value Ss2, and the first evaluation value Ss1 and the second evaluation value Ss2 When the difference ΔSs with and is equal to or greater than the third threshold value Sth3, the setting of the processing unit 20 is switched from the active system to the standby system. As a result, it is possible to prevent the system from being switched to the standby system processing device 2 in which the evaluation value Ss is not so different from that of the working system processing device 2, and it is possible to prevent the system switching from being frequently performed. The stability of the duplex system 1 can be improved.

また、監視部21は、処理部20を構成するデバイス、処理部20の電源電圧、および
処理部20の温度の少なくとも1つの状態を処理部20の状態として監視する。
Further, the monitoring unit 21 monitors at least one state of the device constituting the processing unit 20, the power supply voltage of the processing unit 20, and the temperature of the processing unit 20 as the state of the processing unit 20.

実施の形態2.
実施の形態2の二重化システムは、処理装置2の再起動部42が第1の評価値Ss1と第2の評価値Ss2とに基づいて、再起動を実行する処理が追加される点で、実施の形態1の二重化システム1と異なる。なお、実施の形態2における二重化システムの処理装置は、再起動部の処理が一部異なる以外は、実施の形態1における処理装置2と同様の構成かつ同様の処理を行うことから、同一符号を用いることとし、実施の形態1と異なる処理について主に説明する。
Embodiment 2.
The duplex system of the second embodiment is implemented in that the restart unit 42 of the processing device 2 adds a process of executing a restart based on the first evaluation value Ss1 and the second evaluation value Ss2. It is different from the duplex system 1 of the first embodiment. The processing apparatus of the duplex system according to the second embodiment has the same configuration and the same processing as the processing apparatus 2 according to the first embodiment, except that the processing of the restart unit is partially different. It will be used, and the processing different from the first embodiment will be mainly described.

実施の形態2にかかる二重化システム1は、待機系に設定されている処理装置2の再起動部42が、第2の評価値Ss2に基づいて、待機系の処理部20を再起動する。 In the duplex system 1 according to the second embodiment, the restart unit 42 of the processing device 2 set in the standby system restarts the processing unit 20 of the standby system based on the second evaluation value Ss2.

具体的には、待機系の再起動部42は、第2の評価値Ss2が第4の閾値Sth4未満である場合に、待機系の処理部20を再起動することができる。これにより、待機系の処理部20が現用系へ系切り替えされたとしたら現用系の処理を実行できなくなる可能性がある場合に、待機系の再起動によって、処理部20の状態が正常な状態に回復する可能性を高めることができ、二重化システム1の安定性を向上させることができる。 Specifically, the standby system restart unit 42 can restart the standby system processing unit 20 when the second evaluation value Ss2 is less than the fourth threshold value Sth4. As a result, if there is a possibility that the processing of the active system cannot be executed if the processing unit 20 of the standby system is switched to the active system, the state of the processing unit 20 becomes normal by restarting the standby system. The possibility of recovery can be increased, and the stability of the duplex system 1 can be improved.

また、待機系の再起動部42は、第2の評価値Ss2が第4の閾値Sth4未満である場合であっても、第1の評価値Ss1が第2の評価値Ss2よりも大きく且つ第1の評価値Ss1と第2の評価値Ss2との差ΔSsが第5の閾値Sth5以上でなければ、待機系の処理部20を再起動させないこともできる。これにより、現用系の処理部20の状態がよい場合に待機系の処理部20の再起動を行うことができる。したがって、現用系の処理部20と待機系の処理部20とが同時期に再起動することを回避することができ、二重化システム1の安定性を向上させることができる。 Further, in the standby system restart unit 42, even when the second evaluation value Ss2 is less than the fourth threshold value Sth4, the first evaluation value Ss1 is larger than the second evaluation value Ss2 and the second evaluation value Ss2 is second. Unless the difference ΔSs between the evaluation value Ss1 of 1 and the second evaluation value Ss2 is equal to or greater than the fifth threshold value Sth5, the processing unit 20 of the standby system may not be restarted. As a result, when the state of the processing unit 20 of the active system is good, the processing unit 20 of the standby system can be restarted. Therefore, it is possible to prevent the processing unit 20 of the active system and the processing unit 20 of the standby system from restarting at the same time, and the stability of the duplex system 1 can be improved.

待機系の再起動部42は、第1の評価値Ss1が第1の閾値Sth1未満かつ第2の閾値Sth2以上であって、かつ、指定時間までの期間が予め設定された期間T1よりも短い場合、第2の評価値Ss2が第4の閾値Sth4未満でであっても、待機系の処理部20を再起動させないこともできる。これにより、現用系の処理部20と待機系の処理部20とが同時期に再起動することを回避することができ、二重化システム1の安定性を向上させることができる。 In the standby system restart unit 42, the first evaluation value Ss1 is less than the first threshold value Sth1 and equal to or greater than the second threshold value Sth2, and the period up to the designated time is shorter than the preset period T1. In this case, even if the second evaluation value Ss2 is less than the fourth threshold value Sth4, the processing unit 20 of the standby system may not be restarted. As a result, it is possible to prevent the processing unit 20 of the active system and the processing unit 20 of the standby system from restarting at the same time, and the stability of the duplex system 1 can be improved.

図11は、実施の形態2にかかる監視部21および管理部22の処理の一例を示すフローチャートである。図11に示すステップS40〜S50は、図9のステップS40〜S50の処理であるため、説明を省略する。 FIG. 11 is a flowchart showing an example of processing of the monitoring unit 21 and the management unit 22 according to the second embodiment. Since steps S40 to S50 shown in FIG. 11 are the processes of steps S40 to S50 of FIG. 9, the description thereof will be omitted.

図11に示すように、管理部22は、系切替要求を受信していないと判定した場合(ステップS42:No)、現用系の処理装置2から第1の評価値Ss1を取得する(ステップS51)。そして、管理部22は、第2の評価値Ss2、または、第1の評価値Ss1および第2の評価値Ss2に基づき、再起動条件を満たすか否かを判定する(ステップS52)。 As shown in FIG. 11, when it is determined that the system switching request has not been received (step S42: No), the management unit 22 acquires the first evaluation value Ss1 from the processing device 2 of the active system (step S51). ). Then, the management unit 22 determines whether or not the restart condition is satisfied based on the second evaluation value Ss2, or the first evaluation value Ss1 and the second evaluation value Ss2 (step S52).

管理部22は、再起動条件を満たすと判定した場合(ステップS52:Yes)、処理部20の再起動を実行する(ステップS53)。管理部22は、再起動条件を満たさないと判定した場合(ステップS52:No)、図11に示す処理を終了する。 When the management unit 22 determines that the restart condition is satisfied (step S52: Yes), the management unit 22 restarts the processing unit 20 (step S53). When the management unit 22 determines that the restart condition is not satisfied (step S52: No), the management unit 22 ends the process shown in FIG.

以上のように、実施の形態2にかかる処理装置2の再起動部42は、処理部20が待機系として設定されている場合に、第2の評価値Ss2が第4の閾値Sth4未満である場合に、処理部20を再起動する。これにより、待機系の処理部20が現用系へ系切り替えされたとしたら現用系の処理を実行できなくなる可能性がある場合に、待機系の再起動によって、処理部20の状態が正常な状態に回復する可能性を高めることができ、二重化システム1の安定性を向上させることができる。 As described above, in the restart unit 42 of the processing device 2 according to the second embodiment, when the processing unit 20 is set as a standby system, the second evaluation value Ss2 is less than the fourth threshold value Sth4. In that case, the processing unit 20 is restarted. As a result, if there is a possibility that the processing of the active system cannot be executed if the processing unit 20 of the standby system is switched to the active system, the state of the processing unit 20 becomes normal by restarting the standby system. The possibility of recovery can be increased, and the stability of the duplex system 1 can be improved.

実施の形態3.
実施の形態1,2にかかる二重化システム1は、第1の閾値Sth1および第2の閾値Sth2を用いて、系切り替え処理および再起動処理を行ったが、実施の形態3にかかる二重化システムは、第1の閾値Sth1および第2の閾値Sth2を用いない点で、実施の形態1,2の二重化システム1と異なる。なお、以下において、実施の形態1,2における処理装置2と同様の構成については、同一符号を用いて説明を省略し、実施の形態1,2と異なる処理について主に説明する。
Embodiment 3.
The duplication system 1 according to the first and second embodiments performed the system switching process and the restart process using the first threshold value Sth1 and the second threshold value Sth2. It differs from the duplex system 1 of the first and second embodiments in that the first threshold value Sth1 and the second threshold value Sth2 are not used. In the following, the same configuration as the processing apparatus 2 in the first and second embodiments will be omitted by using the same reference numerals, and the processing different from the first and second embodiments will be mainly described.

図12は、実施の形態3にかかる二重化システム1Aの処理装置2Aの構成の一例を示す図である。図12に示すように、処理装置2Aは、通信部10と、電源部11と、ファン12と、制御部13Aとを備える。制御部13Aは、処理部20と、監視部21と、管理部22Aとを備える。管理部22Aは、系切替部41Aと、再起動部42とを備える。処理装置2Aは、処理装置2と同様のハードウェア構成であり、図10に示すハードウェア構成と同様の構成である。 FIG. 12 is a diagram showing an example of the configuration of the processing device 2A of the duplex system 1A according to the third embodiment. As shown in FIG. 12, the processing device 2A includes a communication unit 10, a power supply unit 11, a fan 12, and a control unit 13A. The control unit 13A includes a processing unit 20, a monitoring unit 21, and a management unit 22A. The management unit 22A includes a system switching unit 41A and a restart unit 42. The processing device 2A has the same hardware configuration as the processing device 2, and has the same configuration as the hardware configuration shown in FIG.

現用系の系切替部41Aは、第1の評価値Ss1と第2の評価値Ss2とを比較し、かかる比較結果に基づいて、系切り替え処理を実行する。具体的には、現用系の系切替部41Aは、第1の評価値Ss1と第2の評価値Ss2との評価値差ΔSsが第6の閾値Sth6以上である場合に、系切替条件を満たすと判定し、系切り替え処理を実行する。これにより、評価値Ssが第6の閾値Sth6以上高い方の処理部20が現用系として用いられることから、二重化システム1Aの安定性を向上させることができる。なお、ΔSs=Ss2−Ss1である。 The system switching unit 41A of the working system compares the first evaluation value Ss1 and the second evaluation value Ss2, and executes the system switching process based on the comparison result. Specifically, the system switching unit 41A of the working system satisfies the system switching condition when the evaluation value difference ΔSs between the first evaluation value Ss1 and the second evaluation value Ss2 is equal to or greater than the sixth threshold value Sth6. Is determined, and the system switching process is executed. As a result, the processing unit 20 having an evaluation value Ss higher than the sixth threshold value Sth6 is used as the working system, so that the stability of the duplex system 1A can be improved. It should be noted that ΔSs = Ss2-Ss1.

また、再起動部42は、現用系から待機系へ切り替えられた処理部20を再起動する。かかる再起動により処理部20の状態を正常な状態に戻して次の系切替時までに処理部20の状態を改善することができ、二重化システム1Aの安定性を向上させることができる。 In addition, the restart unit 42 restarts the processing unit 20 that has been switched from the active system to the standby system. By such a restart, the state of the processing unit 20 can be returned to the normal state and the state of the processing unit 20 can be improved by the time of the next system switching, and the stability of the duplex system 1A can be improved.

また、実施の形態3にかかる二重化システム1Aにおいては、第2の評価値Ss2が第1の評価値Ss1よりも第6の閾値Sth6以上になる毎に、系切り替えが実行される。したがって、第6の閾値Sth6を小さく設定することで、処理部20の状態を近づけることができ、二重化システム1Aの安定性を向上させることができる。 Further, in the duplex system 1A according to the third embodiment, the system switching is executed every time the second evaluation value Ss2 becomes equal to or higher than the sixth threshold value Sth6 than the first evaluation value Ss1. Therefore, by setting the sixth threshold value Sth6 to a small value, the state of the processing unit 20 can be brought closer, and the stability of the duplex system 1A can be improved.

実施の形態3にかかる処理装置2Aは、処理装置2と同様に、図6の処理を行うが、ステップS14,S15の処理が処理装置2と一部異なる。図13は、実施の形態3にかかる処理装置2Aの管理部22Aの現用系管理処理の一例を示すフローチャートであり、図7に対応するフローチャートである。図13に示すステップS25,S27〜S30は、図7に示すステップS25,S27〜S30と同じである。図13に示す処理では、図7に示すステップS20〜S24の処理は行われず、図13に示すステップS26Aの処理が図7に示すステップS26の処理と異なる。 The processing device 2A according to the third embodiment performs the processing of FIG. 6 in the same manner as the processing device 2, but the processing of steps S14 and S15 is partially different from that of the processing device 2. FIG. 13 is a flowchart showing an example of the active system management process of the management unit 22A of the processing device 2A according to the third embodiment, and is a flowchart corresponding to FIG. 7. Steps S25, S27 to S30 shown in FIG. 13 are the same as steps S25, S27 to S30 shown in FIG. In the process shown in FIG. 13, the processes of steps S20 to S24 shown in FIG. 7 are not performed, and the process of step S26A shown in FIG. 13 is different from the process of step S26 shown in FIG.

図13に示すように、管理部22Aは、ステップS26Aにおいて、第1の評価値Ss1と第2の評価値Ss2との評価値差ΔSsが第6の閾値Sth6以上であるか否かを判定する。管理部22Aは、評価値差ΔSsが第6の閾値Sth6以上であると判定した場合(ステップS26A:Yes)に、処理をステップS27に移行し、評価値差ΔSsが第6の閾値Sth6以上ではないと判定した場合(ステップS26A:No)に、図13に示す処理を終了する。 As shown in FIG. 13, in step S26A, the management unit 22A determines whether or not the evaluation value difference ΔSs between the first evaluation value Ss1 and the second evaluation value Ss2 is equal to or greater than the sixth threshold value Sth6. .. When the management unit 22A determines that the evaluation value difference ΔSs is the sixth threshold value Sth6 or more (step S26A: Yes), the process shifts to step S27, and when the evaluation value difference ΔSs is the sixth threshold value Sth6 or more. When it is determined that there is no such case (step S26A: No), the process shown in FIG. 13 is terminated.

図14は、実施の形態3にかかる処理装置2Aの管理部22Aの待機系管理処理の一例を示すフローチャートであり、図9に対応するフローチャートである。図14に示すステップS40〜S45,S47〜S50は、図9に示すステップS40〜S45,S47〜S50と同じであるが、図14に示すステップS46Aの処理が図9に示すステップS46の処理と異なる。 FIG. 14 is a flowchart showing an example of the standby system management process of the management unit 22A of the processing device 2A according to the third embodiment, and is a flowchart corresponding to FIG. Steps S40 to S45 and S47 to S50 shown in FIG. 14 are the same as steps S40 to S45 and S47 to S50 shown in FIG. 9, but the process of step S46A shown in FIG. 14 is the same as the process of step S46 shown in FIG. different.

図14に示すように、管理部22Aは、ステップS46Aにおいて系切替条件を満たすか否かを判定するが、系切替条件は、ステップS24Aの処理と同じである。すなわち、管理部22Aは、評価値差ΔSsが第6の閾値Sth6以上である場合に、系切替条件を満たすと判定し(ステップS46A:Yes)、評価値差ΔSsが第6の閾値Sth6以上でない場合に系切替条件を満たさないと判定する(ステップS46A:No)。 As shown in FIG. 14, the management unit 22A determines whether or not the system switching condition is satisfied in step S46A, but the system switching condition is the same as the process in step S24A. That is, the management unit 22A determines that the system switching condition is satisfied when the evaluation value difference ΔSs is the sixth threshold value Sth6 or more (step S46A: Yes), and the evaluation value difference ΔSs is not the sixth threshold value Sth6 or more. In this case, it is determined that the system switching condition is not satisfied (step S46A: No).

なお、第1の評価値Ss1と第2の評価値Ss2は、積算稼動期間の値とすることができる。これにより、2つの処理装置2の処理部20間の積算稼動期間に一定時間以上の差がある場合に、系切り替え処理が行われる。したがって、2つの処理部20を現用系と待機系とで交互に切り替えることができ、積算稼動期間の平滑化を行うことができ、処理部20が待機系として継続して稼動しないことによる影響で動作しない状態になることを回避することができる。また、複数の処理装置2のうち評価値Ssが高い処理装置2を優先して使用することで、安定度の高い処理装置2で現用系の処理を実行させることができる。したがって、二重化システム1Aの安定性を向上させることができる。 The first evaluation value Ss1 and the second evaluation value Ss2 can be the values of the integrated operation period. As a result, the system switching process is performed when there is a difference of a certain time or more in the integrated operation period between the processing units 20 of the two processing devices 2. Therefore, the two processing units 20 can be alternately switched between the active system and the standby system, the integrated operating period can be smoothed, and the processing unit 20 does not continuously operate as the standby system. It is possible to avoid a state in which it does not operate. Further, by preferentially using the processing device 2 having a high evaluation value Ss among the plurality of processing devices 2, the processing device 2 having high stability can execute the processing of the working system. Therefore, the stability of the duplex system 1A can be improved.

以上のように、実施の形態3にかかる処理装置2Aの系切替部41Aは、第1の評価値Ss1が第2の評価値Ss2よりも低く第1の評価値Ss1と第2の評価値Ss2との差ΔSsが第6の閾値Sth6以上である場合に、処理部20の設定を現用系から待機系へ切り替える。したがって、評価値Ssが第6の閾値Sth6以上高い方の処理部20が現用系として用いられることから、二重化システム1Aの安定性を向上させることができる。 As described above, in the system switching unit 41A of the processing device 2A according to the third embodiment, the first evaluation value Ss1 is lower than the second evaluation value Ss2, and the first evaluation value Ss1 and the second evaluation value Ss2 When the difference ΔSs with and is equal to or greater than the sixth threshold value Sth6, the setting of the processing unit 20 is switched from the active system to the standby system. Therefore, since the processing unit 20 having the evaluation value Ss higher than the sixth threshold value Sth6 is used as the working system, the stability of the duplex system 1A can be improved.

以上の実施の形態に示した構成は、本発明の内容の一例を示すものであり、別の公知の技術と組み合わせることも可能であるし、本発明の要旨を逸脱しない範囲で、構成の一部を省略、変更することも可能である。 The configuration shown in the above-described embodiment shows an example of the content of the present invention, can be combined with another known technique, and is one of the configurations without departing from the gist of the present invention. It is also possible to omit or change the part.

1,1A 二重化システム、2,2A 処理装置、3 駅装置、4,6 ネットワーク、5 中央管理装置、10 通信部、11 電源部、12 ファン、13,13A 制御部、16 第1の通信部、17 第2の通信部、20 処理部、21 監視部、22,22A 管理部、31 デバイス監視部、32 RAS監視部、33 評価値演算部、34 CPU状態検出部、35 HDD状態検出部、36 メモリ状態検出部、37 温度状態検出部、38 電圧状態検出部、39 ファン状態検出部、41,41A 系切替部、42 再起動部、50 第1のスコア判定テーブル、51 第2のスコア判定テーブル。 1,1A duplex system, 2,2A processing device, 3 station device, 4,6 network, 5 central management device, 10 communication unit, 11 power supply unit, 12 fan, 13,13A control unit, 16 first communication unit, 17 Second communication unit, 20 Processing unit, 21 Monitoring unit, 22, 22A management unit, 31 Device monitoring unit, 32 RAS monitoring unit, 33 Evaluation value calculation unit, 34 CPU status detection unit, 35 HDD status detection unit, 36 Memory state detection unit, 37 temperature state detection unit, 38 voltage state detection unit, 39 fan state detection unit, 41, 41A system switching unit, 42 restart unit, 50 first score judgment table, 51 second score judgment table ..

Claims (10)

現用系と待機系との間で設定の切り替えが可能な処理部と、
前記処理部の状態を監視する監視部と、
前記監視部の監視結果に基づいて、前記処理部の設定を前記現用系と待機系との間で切り替える系切替部と、
前記系切替部によって前記処理部が前記待機系に切り替えられた場合、および前記処理部の設定が前記待機系であり且つ前記監視部の監視結果が再起動条件を満たす場合のうち少なくとも一方の場合に、前記処理部を再起動する再起動部と、を備える
ことを特徴とする処理装置。
A processing unit that can switch settings between the active system and the standby system,
A monitoring unit that monitors the status of the processing unit and
A system switching unit that switches the setting of the processing unit between the active system and the standby system based on the monitoring result of the monitoring unit.
At least one of the cases where the processing unit is switched to the standby system by the system switching unit and the setting of the processing unit is the standby system and the monitoring result of the monitoring unit satisfies the restart condition. A processing device including a restart unit for restarting the processing unit.
前記監視部は、
前記処理部の状態に基づく第1の評価値を演算すると共に、前記現用系の処理を実行する他の処理装置の状態に基づく第2の評価値を前記他の処理装置から取得し、
前記系切替部は、
前記第1の評価値と前記第2の評価値とに基づいて、前記現用系と前記待機系との間で前記処理部の設定を切り替える
ことを特徴とする請求項1に記載の処理装置。
The monitoring unit
The first evaluation value based on the state of the processing unit is calculated, and the second evaluation value based on the state of the other processing device that executes the processing of the working system is acquired from the other processing device.
The system switching unit
The processing apparatus according to claim 1, wherein the setting of the processing unit is switched between the working system and the standby system based on the first evaluation value and the second evaluation value.
前記系切替部は、
前記処理部が前記現用系として設定されている場合に、前記第1の評価値が第1の閾値未満である場合に、前記処理部の設定を前記現用系から前記待機系へ切り替え、
前記再起動部は、
前記系切替部によって前記処理部の設定が前記現用系から前記待機系へ切り替えられた後に、前記処理部を再起動する
ことを特徴とする請求項2に記載の処理装置。
The system switching unit
When the processing unit is set as the working system and the first evaluation value is less than the first threshold value, the setting of the processing unit is switched from the working system to the standby system.
The restart unit
The processing apparatus according to claim 2, wherein the processing unit is restarted after the setting of the processing unit is switched from the active system to the standby system by the system switching unit.
前記再起動部は、
前記処理部が前記待機系として設定され、かつ、前記第1の評価値が第4の閾値未満である場合に、前記処理部を再起動する
ことを特徴とする請求項2に記載の処理装置。
The restart unit
The processing apparatus according to claim 2, wherein the processing unit is restarted when the processing unit is set as the standby system and the first evaluation value is less than the fourth threshold value. ..
前記系切替部は、
前記第1の評価値と前記第2の評価値とを比較し、比較した結果に基づいて、前記現用系と前記待機系との間で前記処理部を切り替える
ことを特徴とする請求項2に記載の処理装置。
The system switching unit
The second aspect of claim 2 is characterized in that the first evaluation value and the second evaluation value are compared, and the processing unit is switched between the working system and the standby system based on the result of the comparison. The processing device described.
前記系切替部は、
前記処理部が前記現用系に設定されている場合、前記第1の評価値が前記第2の評価値未満かつ前記第1の評価値と前記第2の評価値との差が第3の閾値以上である場合に、前記処理部の設定を前記現用系から前記待機系へ切り替える
ことを特徴とする請求項5に記載の処理装置。
The system switching unit
When the processing unit is set in the working system, the first evaluation value is less than the second evaluation value, and the difference between the first evaluation value and the second evaluation value is the third threshold value. The processing apparatus according to claim 5, wherein the setting of the processing unit is switched from the active system to the standby system in the above case.
前記再起動部は、
前記第1の評価値が第4の閾値未満の場合に、前記処理部を再起動する
ことを特徴とする請求項6に記載の処理装置。
The restart unit
The processing apparatus according to claim 6, wherein the processing unit is restarted when the first evaluation value is less than the fourth threshold value.
第1の処理部および第2の処理部のうち一方を現用系に設定し他方を待機系に設定して動作する二重化システムにおいて、
前記第1の処理部の状態を監視する第1の監視部と、
前記第2の処理部の状態を監視する第2の監視部と、
前記第1の監視部および前記第2の監視部のうち少なくとも一方の監視結果に基づいて、前記第1の処理部の設定を前記現用系と前記待機系との間で切り替える系切替部と、
前記系切替部によって前記第1の処理部が前記待機系に切り替えられた場合、および前記第1の処理部の設定が前記待機系であり且つ前記監視結果が再起動条件を満たす場合のうち少なくとも一方の場合に、前記第1の処理部を再起動させる再起動部と、を備える
ことを特徴とする二重化システム。
In a duplex system that operates by setting one of the first processing unit and the second processing unit as the active system and the other as the standby system.
A first monitoring unit that monitors the status of the first processing unit,
A second monitoring unit that monitors the status of the second processing unit,
A system switching unit that switches the setting of the first processing unit between the active system and the standby system based on the monitoring results of at least one of the first monitoring unit and the second monitoring unit.
At least when the first processing unit is switched to the standby system by the system switching unit, and when the setting of the first processing unit is the standby system and the monitoring result satisfies the restart condition. A duplex system comprising, in one case, a restart unit that restarts the first processing unit.
現用系と待機系との間で設定の切り替えが可能な処理部の状態を監視する監視ステップと、
前記監視ステップにおける監視結果に基づいて、前記処理部の設定を前記現用系と待機系との間で切り替える切替ステップと、
前記切替ステップによって前記処理部が前記待機系に切り替えられた場合、および前記処理部の設定が前記待機系であり且つ前記監視ステップの監視結果が再起動条件を満たす場合のうち少なくとも一方の場合に、前記処理部を再起動する再起動ステップと、を含む
ことを特徴とする処理方法。
A monitoring step that monitors the status of the processing unit whose settings can be switched between the active system and the standby system,
A switching step for switching the setting of the processing unit between the active system and the standby system based on the monitoring result in the monitoring step, and
When the processing unit is switched to the standby system by the switching step, and when the setting of the processing unit is the standby system and the monitoring result of the monitoring step satisfies the restart condition, at least one of the cases. , A processing method comprising a restart step of restarting the processing unit.
現用系と待機系との間で設定の切り替えが可能な処理部の状態を監視する監視ステップと、
前記監視ステップにおける監視結果に基づいて、前記処理部の設定を前記現用系と待機系との間で切り替える切替ステップと、
前記切替ステップによって前記処理部が前記待機系に切り替えられた場合、および前記処理部の設定が前記待機系であり且つ前記監視ステップの監視結果が再起動条件を満たす場合のうち少なくとも一方の場合に、前記処理部を再起動する再起動ステップと、
をコンピュータに実行させることを特徴とする処理プログラム。
A monitoring step that monitors the status of the processing unit whose settings can be switched between the active system and the standby system,
A switching step for switching the setting of the processing unit between the active system and the standby system based on the monitoring result in the monitoring step, and
When the processing unit is switched to the standby system by the switching step, and when the setting of the processing unit is the standby system and the monitoring result of the monitoring step satisfies the restart condition, at least one of the cases. , A restart step to restart the processing unit,
A processing program characterized by having a computer execute.
JP2017027876A 2017-02-17 2017-02-17 Processing equipment, duplication system, processing method, and processing program Active JP6861533B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017027876A JP6861533B2 (en) 2017-02-17 2017-02-17 Processing equipment, duplication system, processing method, and processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017027876A JP6861533B2 (en) 2017-02-17 2017-02-17 Processing equipment, duplication system, processing method, and processing program

Publications (2)

Publication Number Publication Date
JP2018133766A JP2018133766A (en) 2018-08-23
JP6861533B2 true JP6861533B2 (en) 2021-04-21

Family

ID=63248625

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017027876A Active JP6861533B2 (en) 2017-02-17 2017-02-17 Processing equipment, duplication system, processing method, and processing program

Country Status (1)

Country Link
JP (1) JP6861533B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7419150B2 (en) * 2020-04-20 2024-01-22 株式会社東芝 Station equipment, center server equipment, and programs
CN111845867B (en) * 2020-07-16 2022-02-25 中车青岛四方车辆研究所有限公司 Data safety redundancy method of central control unit of train network control system
CN112172879B (en) * 2020-10-09 2023-01-06 国电南京自动化股份有限公司 A master-standby control center switching method and a rail transit comprehensive monitoring system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0836502A (en) * 1994-07-25 1996-02-06 Fujitsu Ltd Information processing system
US7246270B2 (en) * 2002-05-31 2007-07-17 Omron Corporation Programmable controller with CPU and communication units and method of controlling same
US7609618B1 (en) * 2005-12-15 2009-10-27 Cisco Technology, Inc. Dynamically controlling HSRP preemption dependent on stateful NAT convergence
CN101827035B (en) * 2010-05-19 2013-02-20 迈普通信技术股份有限公司 Method for ensuring graceful restarting and dual master control network device

Also Published As

Publication number Publication date
JP2018133766A (en) 2018-08-23

Similar Documents

Publication Publication Date Title
JP4920391B2 (en) Computer system management method, management server, computer system and program
US7802127B2 (en) Method and computer system for failover
US8010830B2 (en) Failover method, program, failover apparatus and failover system
JP5035299B2 (en) Multi-core processor control method, computer system thereof, and management computer program
US8479038B1 (en) Method and apparatus for achieving high availability for applications and optimizing power consumption within a datacenter
JP2008152594A (en) Highly reliable multi-core processor computer
US10133330B2 (en) Cluster system, controller, method for controlling, and computer-readable recording medium having stored therein controlling program that operate node at the combination of the respective load setting values that satisfy required performance and lowers power consumption
JP6861533B2 (en) Processing equipment, duplication system, processing method, and processing program
JP2012037969A (en) Storage system, controller and control method
US9049101B2 (en) Cluster monitor, method for monitoring a cluster, and computer-readable recording medium
US7574620B2 (en) Method for operating an arrangement of a plurality of computers in the event of a computer failure
US20070180288A1 (en) Method, system and program for securing redundancy in parallel computing sytem
US20190146572A1 (en) Storage system with power saving function
JP2009003537A (en) calculator
CN117112296A (en) Troubleshooting methods, devices, electronic equipment and storage media for redundant systems
JP2010176178A (en) Virtual computer system, migration method for virtual computer, and program
JP2010009258A (en) Fault detection device of software
CN116795195A (en) A multi-CPU module motherboard system, motherboard control method and computing device
JP7057178B2 (en) Management node, node, cluster system and node control method
JP6112205B2 (en) Information processing system, apparatus, method, and program
US9847673B2 (en) Active power transfer switch control to reduce service impacts due to electrical power interruptions
JP4983806B2 (en) System monitoring apparatus and monitoring method using dual timer
JP5169729B2 (en) Node device, redundant system, power control method and program
JP6131979B2 (en) system
JP7332249B2 (en) Destination determination program, device and method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191205

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200904

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200915

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201215

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210202

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210302

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210330

R150 Certificate of patent or registration of utility model

Ref document number: 6861533

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250