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
JP3832552B2 - System switching method and computer system - Google Patents
[go: Go Back, main page]

JP3832552B2 - System switching method and computer system - Google Patents

System switching method and computer system Download PDF

Info

Publication number
JP3832552B2
JP3832552B2 JP26357499A JP26357499A JP3832552B2 JP 3832552 B2 JP3832552 B2 JP 3832552B2 JP 26357499 A JP26357499 A JP 26357499A JP 26357499 A JP26357499 A JP 26357499A JP 3832552 B2 JP3832552 B2 JP 3832552B2
Authority
JP
Japan
Prior art keywords
high load
load
machine
value
temporary
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.)
Expired - Fee Related
Application number
JP26357499A
Other languages
Japanese (ja)
Other versions
JP2001092800A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP26357499A priority Critical patent/JP3832552B2/en
Publication of JP2001092800A publication Critical patent/JP2001092800A/en
Application granted granted Critical
Publication of JP3832552B2 publication Critical patent/JP3832552B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)

Description

【0001】
【発明の属する技術分野】
コンピュータマシンの障害時に別マシンにシステム切替を行うための技術に係り、特に、マシンの障害がマシンの一時的高負荷に起因する場合のシステム切替のための方法およびシステムに関する。
【0002】
【従来の技術】
マシンの障害時に別マシンへのシステム切替(以下「システム切替」)を行うシステムにおいて、マシン間の監視をする方法としては、例えば特開平06−236299のようなマシン間の定期的な通信を行い、通信が一定時間途絶えた場合にマシン障害と判断する方法が一般的である。
ここで監視のための通信が途絶える要因の一つとして、「監視のための通信を行う仕掛け自体が動作できなくなってしまう程のマシンの高負荷が発生」のケースでは、前述のような方法で監視を行うシステムでは、あらかじめ設定されてある監視時間値に従ってシステム切替を実施することになる。
【0003】
【発明が解決しようとする課題】
しかし、前述の監視時間値の数秒後に通信が回復するなど、高負荷のうちでも回復の可能性がある一時的な高負荷状態を考慮した場合、高負荷状態時すぐに別マシンにシステム切替を行うことは切替時間の間システムが停止することになるため稼働率から考えて好ましくないという問題がある。
本発明の目的は、この問題を解決することにあり、マシンの障害がマシンの高負荷に原因がある場合に、むやみにシステム切替をしないように制御し、その結果としてシステム稼働率を向上させることにある。
【0004】
【課題を解決するための手段】
上記目的を達成するため、本発明は、
複数のマシンで構成され、マシンの障害発生時に障害発生マシンに割り付けられたマシンにより障害発生マシンのシステム切替を行うコンピュータシステムにおけるシステム切替方法であり、
障害発生マシンのシステム切替を担当する各マシンは、コンピュータシステムの各マシンの負荷値を含む負荷情報を記憶、蓄積し、担当先のマシンに障害が発生したとき、蓄積している担当先のマシンの前記負荷情報に基づき一時的な高負荷状態を予測し、一時的な高負荷と予測した場合には、システム切替の実施を一定時間延期するようにしている。
【0005】
また、前記一時的な高負荷状態の予測は、予測実施時点以前の予め定めた一定時間内の負荷値の積分値を求め、該積分値を予め定めた一時的高負荷を示す閾値と予め定めた永久的高負荷を示す閾値と比較し、該積分値が該一時的高負荷を示す閾値より大きく、該永久的高負荷を示す閾値より小さいとき、一時的な高負荷と判定するようにしている。
【0006】
また、前記一時的な高負荷状態の予測は、予測実施時点以前の予め定めた一定時間内における予め定めた高負荷判断値を越えた負荷値部分の積分値を求め、
該積分値を予め定めた一時的高負荷判断値と予め定めた永久的高負荷判断値と比較し、該積分値が該一時的高負荷判断値より大きく、該永久的高負荷判断値より小さいとき、一時的な高負荷と判定するようにしている。
【0007】
また、複数のマシンで構成され、マシンの障害発生時に障害発生マシンに割り付けられたマシンにより障害発生マシンのシステム切替を行うコンピュータシステムにおけるシステム切替方法であり、
障害発生マシンのシステム切替を担当する各マシンは、コンピュータシステムの各マシンの複数の負荷要素の負荷値を含む負荷情報を記憶、蓄積し、担当先のマシンに障害が発生したとき、蓄積している担当先のマシンの前記各負荷要素の負荷情報に基づき一時的な高負荷状態を予測し、予測の結果、いずれかの負荷要素に関する予測が永久的高負荷である場合はシステム切替を行い、いずれの負荷要素に関する予測も永久的高負荷でなく、一時的な高負荷または通常負荷である場合は、一時的な高負荷と通常負荷をそれぞれ異なる論理値で表わし、これら論理値について論理演算を行い、その演算結果により一時的な高負荷状態を予測し、一時的な高負荷と予測した場合には、システム切替の実施を一定時間延期するようにしている。
【0008】
また、複数のマシンで構成され、マシンの障害発生時に障害発生マシンに割り付けられたマシンにより障害発生マシンのシステム切替を行うコンピュータシステムであり、
障害発生マシンのシステム切替を担当する各マシンは、コンピュータシステムの各マシンの負荷値を含む負荷情報を記憶、蓄積する手段と、担当先のマシンに障害が発生したとき、蓄積している担当先のマシンの前記負荷情報に基づき一時的な高負荷状態を予測する手段と、一時的な高負荷と予測した場合には、システム切替の実施を一定時間延期する手段を有するようにしている。
【0009】
また、前記一時的な高負荷状態の予測手段は、予測実施時点以前の予め定めた一定時間内における予め定めた高負荷判断値を越えた負荷値部分の積分値を求める手段と、該積分値を予め定めた一時的高負荷判断値と予め定めた永久的高負荷判断値と比較し、該積分値が該一時的高負荷判断値より大きく、該永久的高負荷判断値より小さいとき、一時的な高負荷と判定する手段を有するようにしている。
【0010】
【発明の実施の形態】
本発明の実施例を以下に説明する。
図1は本発明が適用されるシステムの概略構成を示すブロック図である。
図1において、n台のマシンが通信回線により接続されており、各々のマシン内は一時的高負荷予測手段(101)、負荷情報記憶手段(102)、負荷情報受け渡し手段(103)、そして、監視およびシステム切替手段(104)から構成される。
一時的高負荷予測手段(101)とは、負荷情報記憶手段(102)に記憶してある負荷情報を解析し、一時的な高負荷状態の予測をするものである。
この予測方法については図3および図4にて詳細を述べる。
【0011】
負荷情報記憶手段(102)とは、他、または、自マシンの負荷情報を蓄積し記憶するものである。
前記負荷情報には、CPU利用率(ビジー率)やメモリ利用状況など、複数の要素が含まれても良い。
負荷情報受け渡し手段(103)とは、他マシンからの負荷情報の受け取り、および、自マシンの負荷情報を他マシンに渡すものである。
なお、負荷情報記憶手段(102)をマシン間で共用使用できる共用装置に配置すれば、他マシンとの受け渡しを行わないで、各々のマシンが直接、負荷情報記憶手段(102)に書き込む方法も実現可能である。
監視およびシステム切替手段(104)とは、マシンの沈み込みや故障時に、他の正常なマシンにシステムを切り替える手段である。
あるマシンaで沈み込みや故障が発生した場合には、監視予め決められたマシンbが監視をしており、システム切替が必要であれば、マシンbはマシンaをマシンbへとシステム切替をする。すなわち、各マシン毎に監視、切り替えをする切替先マシンを予め決定しておく。
また、監視、切り替えをする切替先マシンをシステム切替実施時点のマシン負荷の一番低いマシンにするようにしてもよい。
なお、以上に述べてきた、一時的高負荷予測手段(101)、負荷情報受け渡し手段(103)、監視およびシステム切替手段(104)は、それぞれ同一マシンでなく別マシン(筐体)に存在する構成でも良い。
【0012】
システム切替のためにマシン間監視を行うマシン1〜nにおいて、通信が正常に行える定常状態では、マシン間での監視通信によるマシン監視を行う。
また、一定間隔に各々のマシンの負荷情報を負荷情報受け渡し手段(103)により定期的に送信し合う。負荷情報を受信した負荷情報受け渡し手段(103)は負荷情報記憶手段(102)に前記負荷情報を蓄積する。
この結果、各マシンの負荷情報記憶手段(102)にはそのマシン以外の負荷情報が蓄積されることになる。例えば、マシン1の負荷情報記憶手段(102)にはマシン2〜マシンnの負荷情報が蓄積される。ただし、全マシンの負荷情報を負荷情報記憶手段(102)に記憶する方式であっても良い。
【0013】
次に図2に示す、監視およびシステム切替手段(104)が定期的に実行するシステム切替判断サブル−チンのフローチャートの説明をする。
監視対象のマシンが正常な状態では、システム切替を実施する必要が無いので本サブル−チンは即終了する。(203)。
しかし、マシンの高負荷、電源断、オペレーティングシステムの異常、などの理由により、監視対象のマシンからの監視通信が一定時間途絶えてしまいシステム切替を実施するべき事象が発生(201Y)した場合、すぐにはシステム切替をせずに一時的高負荷予測手段(101)により「マシン一時高負荷状態の予測」を行う(202)。なお、この予測はシステム切替実施直前でなくとも定常時に行っておく方法でも良い。
予測の結果、一時的高負荷と判断した場合(203Y)、即システム切替せず、システム切替実施を一定時間延期する(204)、その間に監視通信が回復すればシステム切替を実施しない(205Y)。
逆にその間待っても監視通信が回復しない場合は永久的な高負荷と扱いシステム切替を行う(205N、206)。
永久的高負荷、または、通常負荷と判断した場合は、従来どおり即システム切替を実施する(203N、206)。通常負荷の場合にシステム切替するのは、マシン負荷とは関係の無い、例えばマシンの電源オフ等の突発的なマシン障害を想定したものである。
なお、監視、切り替えをする切替先マシンをシステム切替実施時点のマシン負荷の一番低いマシンとする場合には、システム切替を実施すべき事象が発生した時点でマシン負荷の一番低いマシンを切替先マシンとする。
【0014】
次に一時的高負荷予測の方法の一例について、図3と図4を用いて説明する。図3は高負荷のパターンを示したもので、図4は一時的高負荷予測手段(101)の処理のフローチャートであり、図3のそれぞれのパターンから一時的高負荷の予測を行う。
負荷情報記憶手段(102)に蓄積してあるシステム切替を実施するべき事象が発生したマシンの負荷情報のうち予測実施時点より以前の予測時間(m)内の負荷情報を基に、次に示す予測1〜予測3のように予測をたてる。
【0015】
〈予測1〉
予測時間(m)内の高負荷状態総和値(X)が、一時的高負荷判断値(α)を超え(401Y)、予測2に該当しない(402N)場合は、一時的高負荷と判断する(405)。
図3(a)は、一時的高負荷と判断される場合の例を示す。
前記の高負荷状態総和値(X)とは予測時間(m)内に高負荷判断値(k)を越えた負荷値の合計、すなわち、図3(a)、(b)の場合、黒で塗りつぶされた部分を積分した値であり、システム特性に従いシステムまたはユーザが任意に設定変更できる。
なお、高負荷判断値(k)を越える、越えない、に関わらず単純に負荷値の合計とする方法でも実現可能である。
次に、高負荷判断値(k)とは、マシンが通信を行えなくなる、または、マシン間の監視およびシステム切替手段が通信を行えなくなる程の高負荷値であり、システム特性に従いシステムまたはユーザが任意に設定変更できる。
次に、一時的高負荷判断値(α)とは、予測時間(m)内に高負荷判断値(k)を越えることが多い不安定な状態であり、一時的高負荷になり得ると判断すべき値である。
【0016】
〈予測2〉
予測1に該当しても(401Y)、予測時間(m)内の高負荷状態総和値(X)が前述の(α)より大きな値である永久的高負荷判断値(β)を超えた場合(402Y)は、一時的高負荷とは判断せずに、永久的高負荷と判断する(404)。
図3(b)は、永久的高負荷と判断される場合の例を示す。
前記の永久的高負荷判断値(β)とは、予測時間(m)内に高負荷判断値(k)を越えることがかなり多い不安定な状態であり、回復する可能性の少ない永久的な高負荷状態となり得ると判断すべき値である。
【0017】
〈予測3〉
予測1および予測2に該当しないケース(401N)においても、予測実施時点の直前の負荷が高負荷判断値(k)を超える場合(403Y)は一時的高負荷となる可能性があるため、一時的高負荷と判断する(405)。
図3(c)は、この場合の例を示す。
以上の予測1〜予測3に該当しない場合(403N)は通常負荷と判断する(406)。
【0018】
最後に図5を用い、負荷情報として、CPU利用率(ビジー率)やメモリ利用状況など、複数の負荷要素のある場合における一時的高負荷判断方法を説明する。
複数の負荷情報要素を持つシステムの場合、複数要素について予測1〜予測3の予測を行い、いずれかの負荷要素の負荷が永久的高負荷であれば、システム切替をする。全ての負荷要素の負荷が永久的高負荷でなければ、各負荷情報要素の一時的高負荷判断結果(e)を2値化し、すなわち、一時的高負荷であれば“1”とし、通常負荷であれば“0”とし、この判断結果に対して論理和、論理積などの論理演算(r)を行うことにより、複数負荷情報要素からの一時的高負荷予測(f)を行う。
なお、高負荷判断値(k)、予測時間(m)、一時的高負荷判断値(α)、永久的高負荷判断値(β)および複数負荷情報要素からの一時的高負荷予測(f)は、システム特性に従いシステムまたはユーザが任意に設定変更できる推論値(式)であり、チューニングが可能である。
【0019】
【発明の効果】
本発明によれば、システム障害が一時的高負荷による場合には、システム切替を一定時間延期し、この一定時間内にシステム障害が解消した場合にはシステム切替をしないように制御することによりシステム稼働率の向上することができる。
【図面の簡単な説明】
【図1】本発明が適用されるシステムの概略構成を示すブロック図である。
【図2】システム切替判断サブル−チンのフローチャートを示す図である。
【図3】高負荷のパターンの例を示す図である。
【図4】一時的高負荷予測手段の処理のフローチャートを示す図である。
【図5】複数の負荷要素のある場合における一時的高負荷判断方法を説明するための図である。
【符号の説明】
101 一時的高負荷予測手段
102 負荷情報記憶手段
103 負荷情報通信手段
104 監視およびシステム切替手段
[0001]
BACKGROUND OF THE INVENTION
More particularly, the present invention relates to a method and system for system switching when a machine failure is caused by a temporary high load on the machine.
[0002]
[Prior art]
In a system that switches a system to another machine (hereinafter referred to as “system switching”) in the event of a machine failure, a method for monitoring between machines is, for example, performing periodic communication between machines as disclosed in Japanese Patent Laid-Open No. 06-236299. Generally, a method of determining a machine failure when communication is interrupted for a certain period of time is common.
Here, as one of the factors that cause the communication for monitoring to be interrupted, in the case of “the load of the machine is high enough that the device for performing the communication for monitoring itself cannot operate”, the method as described above is used. In a system that performs monitoring, system switching is performed according to a preset monitoring time value.
[0003]
[Problems to be solved by the invention]
However, when considering a temporary high-load condition that may be recovered even during a high load, such as when communication is restored several seconds after the monitoring time value described above, the system can be switched to another machine immediately in a high-load condition. There is a problem that this is not preferable in view of the operating rate because the system is stopped during the switching time.
An object of the present invention is to solve this problem. When a machine failure is caused by a high load on the machine, control is performed so that the system is not switched unnecessarily, and as a result, the system operation rate is improved. There is.
[0004]
[Means for Solving the Problems]
In order to achieve the above object, the present invention provides:
It is a system switching method in a computer system that is composed of a plurality of machines and performs system switching of a failed machine by a machine assigned to the failed machine when a machine failure occurs.
Each machine that is responsible for switching the system of the failed machine stores and accumulates load information including the load value of each machine in the computer system. When a fault occurs in the responsible machine, the accumulated responsible machine When the temporary high load state is predicted based on the load information, and the temporary high load is predicted, the system switching is postponed for a certain period of time.
[0005]
Further, the prediction of the temporary high load state is performed by obtaining an integral value of a load value within a predetermined time before the prediction execution time, and setting the integral value as a threshold value indicating a predetermined temporary high load. Compared with a threshold value indicating a permanent high load, and when the integral value is larger than the threshold value indicating the temporary high load and smaller than the threshold value indicating the permanent high load, the temporary high load is determined. Yes.
[0006]
Further, the prediction of the temporary high load state is to obtain an integral value of a load value portion exceeding a predetermined high load judgment value within a predetermined time before the prediction execution time,
The integral value is compared with a predetermined temporary high load judgment value and a predetermined permanent high load judgment value, and the integral value is larger than the temporary high load judgment value and smaller than the permanent high load judgment value. When it is determined that the load is temporarily high.
[0007]
Also, a system switching method in a computer system that is composed of a plurality of machines and performs system switching of a failed machine by a machine assigned to the failed machine when a machine failure occurs,
Each machine responsible for switching the system of the failed machine stores and accumulates load information including the load values of multiple load elements of each machine in the computer system, and accumulates when a fault occurs in the responsible machine. Based on the load information of each load element of the machine in charge of the person in charge, the temporary high load state is predicted, and if the prediction related to any load element is a permanent high load, the system is switched, If the prediction for any load factor is not a permanent high load, but a temporary high load or normal load, the temporary high load and normal load are represented by different logical values, and logical operations are performed on these logical values. If the temporary high load state is predicted based on the calculation result and the temporary high load is predicted, the system switching is postponed for a certain period of time.
[0008]
In addition, the computer system is composed of a plurality of machines and performs system switching of the failed machine by a machine assigned to the failed machine when a machine failure occurs.
Each machine responsible for switching the system of the failed machine stores the means for storing and storing load information including the load value of each machine in the computer system, and the person in charge that stores when a failure occurs in the assigned machine A means for predicting a temporary high load state based on the load information of the machine, and a means for delaying the execution of system switching for a predetermined time when a temporary high load is predicted.
[0009]
The temporary high load state predicting means includes means for obtaining an integral value of a load value portion exceeding a predetermined high load judgment value within a predetermined time before the prediction execution time, and the integrated value Is compared with a predetermined temporary high load judgment value and a predetermined permanent high load judgment value, and when the integral value is larger than the temporary high load judgment value and smaller than the permanent high load judgment value, Means for determining a high load.
[0010]
DETAILED DESCRIPTION OF THE INVENTION
Examples of the present invention will be described below.
FIG. 1 is a block diagram showing a schematic configuration of a system to which the present invention is applied.
In FIG. 1, n machines are connected by a communication line, and each machine has a temporary high load prediction means (101), a load information storage means (102), a load information transfer means (103), and It comprises monitoring and system switching means (104).
The temporary high load prediction means (101) analyzes the load information stored in the load information storage means (102) and predicts a temporary high load state.
This prediction method will be described in detail with reference to FIGS.
[0011]
The load information storage means (102) is for accumulating and storing load information of other or own machine.
The load information may include a plurality of elements such as a CPU usage rate (busy rate) and a memory usage status.
The load information transfer means (103) receives load information from another machine and passes the load information of the own machine to the other machine.
If the load information storage means (102) is arranged in a shared device that can be shared between machines, each machine can directly write to the load information storage means (102) without passing it to other machines. It is feasible.
The monitoring and system switching means (104) is means for switching the system to another normal machine when the machine sinks or breaks down.
If a machine a sinks or breaks down, a predetermined machine b monitors and if the system needs to be switched, the machine b switches the machine a to the machine b. To do. That is, a switching destination machine to be monitored and switched for each machine is determined in advance.
Further, the switching destination machine to be monitored and switched may be the machine with the lowest machine load at the time of system switching.
The temporary high load predicting means (101), the load information passing means (103), and the monitoring and system switching means (104) described above exist not in the same machine but in different machines (casings). It may be configured.
[0012]
In machines 1 to n that perform inter-machine monitoring for system switching, in a steady state in which communication can be normally performed, machine monitoring is performed by monitoring communication between machines.
In addition, load information of each machine is periodically transmitted by the load information transfer means (103) at regular intervals. The load information delivery means (103) that has received the load information accumulates the load information in the load information storage means (102).
As a result, load information other than that machine is stored in the load information storage means (102) of each machine. For example, load information of the machines 2 to n is accumulated in the load information storage unit (102) of the machine 1. However, the load information of all machines may be stored in the load information storage means (102).
[0013]
Next, the flowchart of the system switching determination routine that is periodically executed by the monitoring and system switching means (104) shown in FIG. 2 will be described.
When the monitored machine is in a normal state, there is no need to switch the system, so this subroutine is immediately terminated. (203).
However, as soon as an event that should cause system switching (201Y) occurs because monitoring communication from the monitored machine is interrupted for a certain period of time due to a high load on the machine, power failure, operating system abnormality, etc. In step 202, the temporary high load prediction means (101) performs "prediction of the machine temporary high load state" without switching the system (202). Note that this prediction may be performed in a steady state, not just before system switching.
As a result of the prediction, when it is determined that the load is temporarily high (203Y), the system switching is not immediately performed and the system switching is postponed for a certain time (204). If the monitoring communication is recovered during that time, the system switching is not performed (205Y). .
On the other hand, if the monitoring communication is not recovered even after waiting, the system is switched to a permanent high load (205N, 206).
When it is determined that the load is permanently high or normal, the system is immediately switched as usual (203N, 206). Switching the system in the case of a normal load is based on the assumption of a sudden machine failure that has nothing to do with the machine load, for example, a machine power-off.
If the machine to be monitored and switched is the machine with the lowest machine load at the time of system switching, the machine with the lowest machine load is switched when an event that requires system switching occurs. The destination machine.
[0014]
Next, an example of a temporary high load prediction method will be described with reference to FIGS. FIG. 3 shows a pattern of high load, and FIG. 4 is a flowchart of the process of the temporary high load predicting means (101). The temporary high load is predicted from each pattern of FIG.
Based on the load information within the predicted time (m) prior to the prediction execution time out of the load information of the machine in which the event for performing system switching that has been accumulated in the load information storage means (102) has occurred, the following is shown. Predictions are made as predictions 1 to 3.
[0015]
<Prediction 1>
When the high load state total value (X) within the prediction time (m) exceeds the temporary high load determination value (α) (401Y) and does not correspond to the prediction 2 (402N), it is determined as a temporary high load. (405).
FIG. 3A shows an example when it is determined that the load is temporarily high.
The high load state total value (X) is the sum of load values exceeding the high load judgment value (k) within the predicted time (m), that is, black in the case of FIGS. 3 (a) and 3 (b). It is a value obtained by integrating the filled portion, and can be arbitrarily changed by the system or the user according to the system characteristics.
Note that it is also possible to realize the method by simply adding the load values regardless of whether the high load judgment value (k) is exceeded or not.
Next, the high load judgment value (k) is a high load value at which the machine cannot communicate, or the monitoring and system switching means between the machines cannot communicate. Settings can be changed arbitrarily.
Next, the temporary high load judgment value (α) is an unstable state that often exceeds the high load judgment value (k) within the predicted time (m), and is judged to be a temporary high load. It should be a value.
[0016]
<Prediction 2>
Even if it corresponds to the prediction 1 (401Y), the high load state total value (X) within the prediction time (m) exceeds the permanent high load judgment value (β), which is a larger value than the above (α). (402Y) does not determine a temporary high load, but determines a permanent high load (404).
FIG. 3B shows an example when it is determined that the load is permanently high.
The permanent high load judgment value (β) is an unstable state that often exceeds the high load judgment value (k) within the predicted time (m), and is a permanent state with little possibility of recovery. It is a value that should be determined that a high load state can be reached.
[0017]
<Prediction 3>
Even in the case (401N) that does not correspond to the prediction 1 and the prediction 2, if the load immediately before the prediction execution time exceeds the high load judgment value (k) (403Y), there is a possibility that the load is temporarily high. (405).
FIG. 3C shows an example of this case.
When it does not correspond to the above prediction 1 to prediction 3 (403N), it is determined as a normal load (406).
[0018]
Finally, a temporary high load determination method in the case where there are a plurality of load elements such as a CPU usage rate (busy rate) and a memory usage status as load information will be described with reference to FIG.
In the case of a system having a plurality of load information elements, prediction 1 to prediction 3 is performed for the plurality of elements, and if the load of any load element is a permanent high load, the system is switched. If the loads of all the load elements are not permanent high loads, the temporary high load judgment result (e) of each load information element is binarized, that is, “1” if it is a temporary high load, and the normal load If it is, “0” is set, and logical operation (r) such as logical sum and logical product is performed on the determination result, thereby performing temporary high load prediction (f) from a plurality of load information elements.
The high load judgment value (k), the prediction time (m), the temporary high load judgment value (α), the permanent high load judgment value (β), and the temporary high load prediction from a plurality of load information elements (f) Is an inference value (expression) that can be arbitrarily changed by the system or the user according to the system characteristics, and can be tuned.
[0019]
【The invention's effect】
According to the present invention, when the system failure is due to a temporary high load, the system switching is postponed for a certain time, and when the system failure is resolved within this certain time, the system is controlled so as not to switch the system. The operating rate can be improved.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of a system to which the present invention is applied.
FIG. 2 is a flowchart of a system switching determination subroutine.
FIG. 3 is a diagram illustrating an example of a high load pattern.
FIG. 4 is a diagram showing a flowchart of processing of a temporary high load prediction unit.
FIG. 5 is a diagram for explaining a temporary high load determination method in the case where there are a plurality of load elements;
[Explanation of symbols]
101 Temporary high load prediction means 102 Load information storage means 103 Load information communication means 104 Monitoring and system switching means

Claims (6)

複数のマシンで構成され、前記マシンの高負荷発生時に当該マシンに予め割り付けられたシステムを他の低負荷マシンにシステム切替を行うコンピュータシステムにおけるシステム切替方法であって、
高負荷発生マシンのシステム切替を担当する各マシンは、コンピュータシステムの各マシンの負荷値を含む負荷情報を記憶、蓄積し、
担当先のマシンに高負荷が発生し当該担当先マシンとの間の監視通信が途絶えたとき、蓄積している担当先のマシンの前記負荷情報に基づき一時的な高負荷状態であるか、永久的高負荷状態であるかを予測し、
一時的な高負荷状態と予測した場合には、システム切替の実施を一定時間延期して当該担当先マシンとの間の監視通信が該一定時間内に回復しない場合は永久的高負荷状態と判定し、該監視通信が該一定時間内に回復した場合は一時的な高負荷と判定することを特徴とするシステム切替方法。
A system switching method in a computer system configured by a plurality of machines and switching a system assigned to the machine to another low-load machine when a high load occurs on the machine,
Each machine in charge of system switching of a machine with high load stores and accumulates load information including the load value of each machine in the computer system.
When a high load occurs on the assigned machine and monitoring communication with the assigned machine is interrupted , the machine is temporarily in a high load state based on the accumulated load information of the assigned machine, or permanently Predict whether the load is
If a temporary high load state is predicted, the system switchover is postponed for a certain period of time, and if the monitoring communication with the machine in charge does not recover within the predetermined time, it is determined as a permanent high load state. A system switching method characterized by determining a temporary high load when the monitoring communication recovers within the predetermined time .
請求項1記載のシステム切替方法において、
前記一時的な高負荷状態と永久的高負荷状態の予測は、予測実施時点以前の予め定めた一定時間内の負荷値の積分値を求め、該積分値を予め定めた一時的高負荷状態を示す閾値と予め定めた永久的高負荷状態を示す閾値と比較し、該積分値が該一時的高負荷状態を示す閾値より大きく、該永久的高負荷状態を示す閾値より小さいとき、一時的な高負荷状態と予測し、該永久的高負荷状態を示す閾値より大きいとき、永久的高負荷状態と予測することを特徴とするシステム切替方法。
The system switching method according to claim 1,
For the prediction of the temporary high load state and the permanent high load state, an integral value of a load value within a predetermined time before the prediction execution time is obtained, and the integral high value is determined in advance. And a threshold value indicating a predetermined permanent high load state, and when the integral value is greater than the threshold value indicating the temporary high load state and smaller than the threshold value indicating the permanent high load state, It predicts that high load conditions, is greater than a threshold indicating the permanent high-load state, the system switching method characterized by predicting a permanent high-load state.
請求項1記載のシステム切替方法において、
前記一時的な高負荷状態と永久的高負荷状態の予測は、予測実施時点以前の予め定めた一定時間内における予め定めた高負荷判断値を越えた負荷値部分の積分値を求め、
該積分値を予め定めた一時的高負荷判断値と予め定めた永久的高負荷判断値と比較し、該積分値が該一時的高負荷判断値より大きく、該永久的高負荷判断値より小さいとき、一時的な高負荷状態と予測し、該永久的高負荷判断値より大きいとき永久的高負荷状態と予測することを特徴とするシステム切替方法。
The system switching method according to claim 1,
The prediction of the temporary high load state and the permanent high load state is to obtain an integral value of a load value portion exceeding a predetermined high load judgment value within a predetermined time before the prediction execution time point,
The integral value is compared with a predetermined temporary high load judgment value and a predetermined permanent high load judgment value, and the integral value is larger than the temporary high load judgment value and smaller than the permanent high load judgment value. when predicts a temporary high load condition, the system switching method characterized by predicting a permanent high-load state is greater than the permanent high-load decision value.
複数のマシンで構成され、前記マシンの高負荷発生時に当該マシンに予め割り付けられたシステムを他の低負荷マシンにシステム切替を行うコンピュータシステムにおけるシステム切替方法であって、
高負荷発生マシンのシステム切替を担当する各マシンは、コンピュータシステムの各マシンの複数の負荷要素の負荷値を含む負荷情報を記憶、蓄積し、
担当先のマシンに高負荷が発生し当該担当先マシンとの間の監視通信が途絶えたとき、蓄積している担当先のマシンの前記各負荷要素の負荷情報に基づき一時的な高負荷状態であるか、永久的高負荷状態であるかを予測し、
予測の結果、いずれかの負荷要素に関する予測が永久的高負荷状態である場合は当該担当先マシンのシステム切替を行い、
いずれの負荷要素に関する予測も永久的高負荷状態でなく、一時的な高負荷状態または通常負荷状態である場合は、一時的な高負荷状態と通常負荷状態をそれぞれ異なる論理値で表わし、これら論理値について論理演算を行い、その演算結果により一時的な高負荷状態を予測し、
一時的な高負荷状態と予測した場合には、システム切替の実施を一定時間延期して当該担当先マシンとの間の監視通信が該一定時間内に回復しない場合は永久的高負荷状態と判定し、該監視通信が該一定時間内に回復した場合は一時的な高負荷と判定することを特徴とするシステム切替方法。
A system switching method in a computer system configured by a plurality of machines and switching a system assigned to the machine to another low-load machine when a high load occurs on the machine,
Each machine in charge of system switching of a high load generation machine stores and accumulates load information including load values of a plurality of load elements of each machine of the computer system,
When a high load occurs on the assigned machine and monitoring communication with the assigned machine is interrupted, a temporary high-load state is established based on the load information of each load element stored on the assigned machine. Predict whether there is a permanent high load condition,
As a result of the prediction, if the prediction related to any load element is a permanent high load state, switch the system of the responsible machine ,
If the prediction for any load factor is not a permanent high load condition but a temporary high load condition or a normal load condition, the temporary high load condition and the normal load condition are represented by different logical values. Perform a logical operation on the value, predict the temporary high load state based on the operation result,
If a temporary high load state is predicted, the system switchover is postponed for a certain period of time, and if the monitoring communication with the machine in charge does not recover within the predetermined time, it is determined as a permanent high load state. A system switching method characterized by determining a temporary high load when the monitoring communication recovers within the predetermined time .
複数のマシンで構成され、前記マシンの高負荷発生時に当該マシンに予め割り付けられたシステムを他の低負荷マシンにシステム切替を行うコンピュータシステムであって、
高負荷発生マシンのシステム切替を担当する各マシンは、コンピュータシステムの各マシンの負荷値を含む負荷情報を記憶、蓄積する手段と、担当先のマシンに高負荷が発生し当該担当先マシンとの間の監視通信が途絶えたとき、蓄積している担当先のマシンの前記負荷情報に基づき一時的な高負荷状態であるか、永久的高負荷状態であるかを予測する予測手段と、一時的な高負荷状態と予測した場合には、システム切替の実施を一定時間延期して当該担当先マシンとの間の監視通信が該一定時間内に回復しない場合は永久的高負荷状態と判定し、該監視通信が該一定時間内に回復した場合は一時的な高負荷と判定する手段を有することを特徴とするコンピュータシステム。
A computer system configured by a plurality of machines and performing system switching to another low-load machine from a system pre-assigned to the machine when a high load occurs on the machine,
Each machine in charge of system switching of a machine with a high load generates a means for storing and accumulating load information including the load value of each machine in the computer system . when monitoring communications between is interrupted, or a temporary high load state based on the load information of the charge destination of the machine have accumulated, and predicting means for predicting whether a permanent high-load state, transient If it is predicted that the system is in a high load state, if the monitoring communication with the responsible machine does not recover within the predetermined time by delaying the execution of system switching, it is determined as a permanent high load state, A computer system comprising means for determining a temporary high load when the monitoring communication is recovered within the predetermined time .
請求項5記載のコンピュータシステムにおいて、
前記一時的な高負荷状態であるか、永久的高負荷状態であるかを予測する予測手段は、予測実施時点以前の予め定めた一定時間内における予め定めた高負荷判断値を越えた負荷値部分の積分値を求める手段と、
該積分値を予め定めた一時的高負荷判断値と予め定めた永久的高負荷判断値と比較し、該積分値が該一時的高負荷判断値より大きく、該永久的高負荷判断値より小さいとき、一時的な高負荷状態と予測し、該永久的高負荷判断値より大きいとき永久的高負荷状態と予測する手段を有することを特徴とするコンピュータシステム。
The computer system of claim 5, wherein
The prediction means for predicting whether the temporary high load state or the permanent high load state is a load value exceeding a predetermined high load judgment value within a predetermined time before the prediction execution time. Means for determining the integral value of the part;
The integral value is compared with a predetermined temporary high load judgment value and a predetermined permanent high load judgment value, and the integral value is larger than the temporary high load judgment value and smaller than the permanent high load judgment value. when predicts a temporary high load condition, the computer system characterized in that it comprises means for predicting a permanent high-load state is greater than the permanent high-load decision value.
JP26357499A 1999-09-17 1999-09-17 System switching method and computer system Expired - Fee Related JP3832552B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP26357499A JP3832552B2 (en) 1999-09-17 1999-09-17 System switching method and computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26357499A JP3832552B2 (en) 1999-09-17 1999-09-17 System switching method and computer system

Publications (2)

Publication Number Publication Date
JP2001092800A JP2001092800A (en) 2001-04-06
JP3832552B2 true JP3832552B2 (en) 2006-10-11

Family

ID=17391455

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26357499A Expired - Fee Related JP3832552B2 (en) 1999-09-17 1999-09-17 System switching method and computer system

Country Status (1)

Country Link
JP (1) JP3832552B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4920391B2 (en) * 2006-01-06 2012-04-18 株式会社日立製作所 Computer system management method, management server, computer system and program
JP4936072B2 (en) * 2008-02-13 2012-05-23 日本電気株式会社 System load monitoring method

Also Published As

Publication number Publication date
JP2001092800A (en) 2001-04-06

Similar Documents

Publication Publication Date Title
US6502206B1 (en) Multi-processor switch and main processor switching method
US7328367B2 (en) Logically partitioned computer system and method for controlling configuration of the same
US7203746B1 (en) System and method for adaptive resource management
WO2004051955A1 (en) Communication unit, control method and program
US8042101B2 (en) Method and program for monitoring execution state of program
US20010037473A1 (en) Backup apparatus and a backup method
WO1997024839A9 (en) Fault impact analysis
WO1997024839A2 (en) Fault impact analysis
CN115230618A (en) Vehicle and control method thereof
JP3832552B2 (en) System switching method and computer system
CN117421260A (en) RAID card power-down protection method, device, equipment and storage medium
CN114168071A (en) Distributed cluster capacity expansion method, distributed cluster capacity expansion device and medium
JPH10187636A (en) Power-consumption reducing cluster system
EP2294760B1 (en) A method for managing a network and a network
CN120735592A (en) Control method and device of vehicle discharge system, electronic equipment and storage medium
CN114537213A (en) Power battery processing method, device, equipment and storage medium
CN110006132B (en) Unit fault processing method, device and unit
KR100491659B1 (en) System overload prevention method of digital mobile communication system
JPH1118295A (en) Parallel operation power supply control method
JP3539822B2 (en) Uninterruptible power system
KR100270918B1 (en) Method for process management in mobile communication hlr system
JP2011065469A (en) Distributed file system and node start-up method in distributed file system
JP7612100B2 (en) Management device, management method, storage medium, and program
CN114143619A (en) Base station over-temperature protection method and device and electronic equipment
KR101864126B1 (en) Intrusion tolerance system and method for providing service based on steady state model

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20040317

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040709

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050322

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060221

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060424

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: 20060627

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060711

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090728

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100728

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100728

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110728

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110728

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120728

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130728

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees