JP3409895B2 - Load distribution method and information processing system - Google Patents

Load distribution method and information processing system

Info

Publication number
JP3409895B2
JP3409895B2 JP29617693A JP29617693A JP3409895B2 JP 3409895 B2 JP3409895 B2 JP 3409895B2 JP 29617693 A JP29617693 A JP 29617693A JP 29617693 A JP29617693 A JP 29617693A JP 3409895 B2 JP3409895 B2 JP 3409895B2
Authority
JP
Japan
Prior art keywords
processing
job
processing system
distribution
allocation
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
JP29617693A
Other languages
Japanese (ja)
Other versions
JPH07152701A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP29617693A priority Critical patent/JP3409895B2/en
Publication of JPH07152701A publication Critical patent/JPH07152701A/en
Application granted granted Critical
Publication of JP3409895B2 publication Critical patent/JP3409895B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

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

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数の処理系を有した
情報処理システムの負荷分散方法に関する。ホストに複
数の端末がアクセスするオンラインシステムでは、アク
セスの応答性を高める上で、ホストの負荷をできるだけ
軽減するのが望ましい。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a load balancing method for an information processing system having a plurality of processing systems. In an online system in which a plurality of terminals access a host, it is desirable to reduce the load on the host as much as possible in order to improve the responsiveness of access.

【0002】一方、集中処理方式の情報処理システムの
内、特に公共性の高い業務を支援するシステムなどで
は、システムダウンを避けるために、CPUを含む主要
資源の2重化が行われ、通常はその手法としてデュプレ
ックス方式が採用されている。
On the other hand, in an information processing system of a centralized processing system, particularly in a system which supports highly public works, a main resource including a CPU is duplicated in order to avoid a system down, and normally, The duplex method is adopted as the method.

【0003】[0003]

【従来の技術】デュプレックスシステムでは、現用系の
資源が正常に稼働している場合には、予備系の資源をホ
ットスタンバイ運用に支障のない範囲内で他の用途に利
用することができ、それによってシステム全体の経済性
を高めることができる。つまり、現用系と予備系とによ
る分散処理が可能である。
2. Description of the Related Art In a duplex system, when the resources of the active system are operating normally, the resources of the standby system can be used for other purposes within a range that does not hinder the hot standby operation. Can improve the economic efficiency of the entire system. That is, distributed processing can be performed by the active system and the standby system.

【0004】従来において、予め各種の処理(ジョブ)
についてそれらを実行すべき系(現用系又は予備系)を
固定的に定めておき、一方及び他方の処理系がそれぞれ
特定の処理のみを担うようにした負荷分散方法が提案さ
れている(特開平4−52953号)。
Conventionally, various processes (jobs) have been performed in advance.
A load balancing method has been proposed in which a system (active system or standby system) for executing them is fixedly set, and one and the other processing systems are each only responsible for a specific process (Japanese Patent Laid-Open No. Hei 10 (1999) -242242). 4-52953).

【0005】[0005]

【発明が解決しようとする課題】しかし、従来の負荷分
散方法では、システムの稼働状態と無関係に負荷(ジョ
ブ)の分散が行われるので、システムが低負荷状態であ
って複数の処理系のいずれもがそれぞれに与えられたジ
ョブを遅滞なく実行することができる場合にも、各処理
系の間でジョブの受け渡しが行われ、そのために却って
負荷が増大する場合があるという問題があった。
However, in the conventional load balancing method, the load (job) is distributed regardless of the operating state of the system, so that the system is in a low load state and any of a plurality of processing systems is used. Even when each job can be executed without delay, the jobs are handed between the processing systems, which may increase the load.

【0006】例えばオンラインシステムにおいて、ホス
トにデュプレックス方式を採用する場合に、端末がホス
ト内の複数の処理系に同時にアクセスできるようにする
と、各処理系が重複動作を行うことになってしまう。し
たがって、この場合には、1つの処理系のみが端末から
のアクセスを受け付けるようにし、必要に応じて系間の
通信により他の処理系に処理を依頼するようにホストを
構成するのが一般的である。このようなホストを有した
オンラインシステムにおいて、アクセスの受付けを担う
処理系が高負荷状態であれば、特定のジョブを他の処理
系に引き渡すことにより過負荷状態の発生を避けること
ができるが、逆に、アクセスの受付けを担う処理系が低
負荷状態であれば、この処理系が自らジョブを実行する
場合に比べて、ジョブを他の処理系に引き渡すことによ
る余分の負荷(通信など)が各処理系に加わることにな
る。
For example, in an online system, when the host adopts the duplex system, if the terminal is allowed to access a plurality of processing systems in the host at the same time, each processing system will perform duplicate operation. Therefore, in this case, it is common to configure the host so that only one processing system accepts access from the terminal, and requests processing to another processing system by communication between the systems as necessary. Is. In an online system having such a host, if the processing system responsible for accepting access is in a high load state, it is possible to avoid the occurrence of an overload state by handing over a specific job to another processing system. On the other hand, if the processing system responsible for accepting access is in a low-load state, an extra load (communication, etc.) due to handing over the job to another processing system is generated as compared with the case where this processing system itself executes the job. It will be added to each processing system.

【0007】本発明は、上述の問題に鑑み、無用の負荷
の増大を抑え、情報処理システムのより効率な運用を図
ることを目的としている。
In view of the above problems, it is an object of the present invention to suppress the increase of unnecessary load and to operate the information processing system more efficiently.

【0008】[0008]

【課題を解決するための手段】請求項1の発明に係る方
法は、上述の課題を解決するため、図1及び図3に示す
ように、相互の通信により必要に応じてジョブの受け渡
しを行う複数の処理系10,20を有し、少なくとも1
つの前記処理系に障害が発生したときに、他の処理系に
よるホットスタンバイ運用が可能に構成された情報処理
システム1において、各種のジョブのそれぞれについ
て、実行すべき処理系をシステム稼働状態に応じて振り
分けるための系振分けテーブルTAを予め設けておき
前記各処理系10,20、システム稼働状態を監視
し、ジョブが与えられたときにその時点のシステム稼
働状態を踏まえて前記系振分けテーブルTAを参照し、
与えられたジョブに対して、通常運用時には、前記系振
分けテーブルTAが示す自系又は他系の処理系10,2
0を振り分ける第1の系振分け処理を実行し、ホットス
タンバイ運用時には、障害の発生した他の処理系が実行
していた前記第1の系振分け処理の代替処理として第2
の系振分け処理を実行し、前記第2の系振分け処理及び
自らの前記第1の系振分け処理の間でジョブの受け渡し
を、自らの前記第1の系振分け処理とともに行う方法で
ある。
In order to solve the above-mentioned problems, the method according to the invention of claim 1 transfers jobs as necessary by mutual communication as shown in FIGS. 1 and 3. At least one having a plurality of processing systems 10 and 20
In the information processing system 1 configured to enable hot standby operation by another processing system when a failure occurs in one of the processing systems, the processing system to be executed is determined according to the system operating state for each of various jobs. provided in advance a system distribution table TA for sorting Te,
Wherein the processing systems 10 and 20, monitors the system operation state, when a job is given, with reference to the system distribution table TA in light of the system operation status at that time,
For a given job, in normal operation , the processing system 10, 2 of the own system or another system indicated by the system allocation table TA
Execute the first system allocation process that allocates 0
During the standby operation, another processing system with the failure executes
The second process as an alternative process of the first system allocation process
System allocation processing is executed, and the second system allocation processing and
Handing over jobs between the first system distribution process of its own
Is performed together with the first system allocation processing of itself .

【0009】請求項2の発明に係る方法は、前記システ
ム稼働状態が低負荷状態のときには、前記各種のジョブ
のそれぞれについて、実行すべき処理系を固定的に振り
分け、前記システム稼働状態が高負荷状態のときには、
前記各種のジョブのそれぞれについて、実行すべき処理
系を動的に振り分ける方法である。
According to a second aspect of the present invention, when the system operating state is a low load state, the processing system to be executed is fixedly assigned to each of the various jobs, and the system operating state is a high load state. When in the state,
It is a method of dynamically allocating a processing system to be executed for each of the various jobs.

【0010】請求項3の発明に係る方法は、前記各処理
系10,20が、他の処理系から受け取ったジョブにつ
いては、前記系振分けテーブルTAを参照することなく
自系内で実行する方法である。
In the method according to the third aspect of the present invention, each of the processing systems 10 and 20 executes a job received from another processing system in its own system without referring to the system allocation table TA. Is.

【0011】請求項4の発明に係る情報処理システム
は、相互の通信により必要に応じてジョブの受け渡しを
行う複数の処理系を有し、少なくとも1つの前記処理系
に障害が発生したときに、他の処理系によるホットスタ
ンバイ運用が可能に構成された情報処理システムであっ
て、各種のジョブのそれぞれについて、実行すべき処理
系をシステム稼働状態に応じて振り分けるための系振分
けテーブルが設けられ、 前記各処理系には、システム稼
働状態を監視する手段と、ジョブが与えられたときに、
その時点のシステム稼働状態を踏まえて前記系振分けテ
ーブルを参照する手段と、通常運用時に、与えられたジ
ョブに対して、前記系振分けテーブルが示す自系又は他
系の処理系を振り分ける第1の系振分け処理を実行する
手段と、ホットスタンバイ運用時に、障害の発生した他
の処理系に与えられたジョブに対して当該他の処理系が
実行していた前記第1の系振分け処理の代替処理として
第2の系振分け処理を実行し、前記第2の系振分け処理
及び自らの前記第1の系振分け処理の間でジョブの受け
渡しを行う処理を、自らの前記第1の系振分け処理とと
もに行う手段と、が設けられ、てなる。
An information processing system according to the invention of claim 4
Pass jobs as needed through mutual communication.
At least one processing system having a plurality of processing systems
When a failure occurs in the
It is an information processing system that is configured so that
Process to be executed for each of the various jobs
System allocation for allocating the system according to the system operating status
A table is provided for each processing system.
A means of monitoring work status, and when a job is given,
Based on the system operating status at that time,
Means to refer to the table and the resources provided during normal operation.
For the job, the own system or other shown in the system distribution table
Executes the first system allocation process that allocates the system processing system
Measures and other failures that occurred during hot standby operation
Other processing systems for the job given to
As an alternative process of the first system allocation process that was being executed
The second system allocation process is executed, and the second system allocation process is executed.
And receiving jobs during its own first system allocation processing.
The process of handing over is called the first system allocation process of itself.
And means for doing so are provided.

【0012】[0012]

【作用】全ての処理系10,20が稼働可能な通常運用
時において、各処理系10,20は、系振り分け処理を
実行し、自己に与えられたジョブについて、それを実行
すべき処理系として系振分けテーブルTAに従って自系
又は他系を振り分ける。そして、他系が実行すべきジョ
ブについては、それを処理系間の通信により他の処理系
に引き渡し、自系が実行すべきジョブ及び他の処理系か
ら受け取ったジョブについては、それを自系内で実行す
る。
In normal operation in which all the processing systems 10 and 20 can operate, each processing system 10 and 20 executes the system allocation process, and regards the job given to itself as the processing system which should execute it. The system or the other system is distributed according to the system distribution table TA. Then, for a job to be executed by another system, it is passed to another processing system through communication between the processing systems, and for a job to be executed by the own system and a job received from another processing system, it is sent to the other system. To run in.

【0013】系振分けテーブルTAでは、例えば資源の
使用率などによって区分した各システム稼働状態毎に、
各種のジョブとそれらを実行すべき処理系とが対応づけ
られている。
In the system allocation table TA, for example, for each system operating state classified by the resource usage rate,
Various jobs are associated with processing systems that should execute them.

【0014】これにより、各処理系10,20による分
散処理の形で各種のジョブが実行され、その際に、各ジ
ョブを実行する処理系は、システム稼働状態に応じて変
更される。
As a result, various jobs are executed in the form of distributed processing by the processing systems 10 and 20, and the processing system that executes each job is changed in accordance with the system operating state.

【0015】[0015]

【実施例】図1は本発明の負荷分散方法を適用したホス
トコンピュータシステム1の通常運用時の機能上の構成
を示すブロック図、図2は系振り分けテーブルTAの内
容の一例を示す図、図3は図1のホストコンピュータシ
ステム1のホットスタンバイ運用時の機能上の構成を示
すブロック図である。
1 is a block diagram showing a functional configuration of a host computer system 1 to which a load balancing method of the present invention is applied during normal operation, and FIG. 2 is a diagram showing an example of contents of a system allocation table TA. 3 is a block diagram showing a functional configuration of the host computer system 1 of FIG. 1 during hot standby operation.

【0016】図1において、ホストコンピュータシステ
ム1は、例えば企業内ネットワークとして構築されたオ
ンラインネットワークの中枢部であり、2つの処理系1
0,20を有している。
In FIG. 1, a host computer system 1 is a central part of an online network constructed as a corporate network, for example, and has two processing systems 1.
It has 0 and 20.

【0017】各処理系10,20は、ハードウェア資源
及びソフトウェア資源の構成が同一であり、一方に障害
が発生したときに他方が直ちに補完する相互のホットス
タンバイ運用が可能に構成されている。なお、ホストコ
ンピュータシステム1では、ジョブ制御文の集合である
ジョブ制御ライブラリ(JCL)41、各種のプログラ
ム(モジュール)の集合であるプログラムライブラリ4
2、及び業務用データベース43などの特定のソフトウ
ェア資源は、処理系10,20によって共用される。
The processing systems 10 and 20 have the same hardware resource and software resource configurations, and are capable of performing mutual hot standby operation in which when one fails, the other immediately complements it. In the host computer system 1, a job control library (JCL) 41 that is a set of job control statements and a program library 4 that is a set of various programs (modules)
2 and specific software resources such as the business database 43 are shared by the processing systems 10 and 20.

【0018】処理系10,20の両方が正常に稼働する
通常運用時においては、処理系10,20による分散処
理の形で、各種業務を支援するための情報処理が行われ
る。すなわち、基本的には各処理系10,20を現用系
と待機系(予備系)とに区別することなく、両方にそれ
ぞれ並行してジョブが与えられる。ただし、オンライン
端末3によるアクセスの受付けは、一方の処理系が担
う。図1の例では、オンライン端末3によるアクセスに
係るジョブは、ネットワーク用通信制御処理装置2を介
して処理系10に与えられる。
During normal operation in which both the processing systems 10 and 20 operate normally, information processing for supporting various jobs is performed in the form of distributed processing by the processing systems 10 and 20. That is, basically, the processing systems 10 and 20 are not distinguished into the active system and the standby system (standby system), and jobs are given to both of them in parallel. However, one processing system is responsible for accepting access by the online terminal 3. In the example of FIG. 1, a job related to access by the online terminal 3 is given to the processing system 10 via the network communication control processing device 2.

【0019】さて、各処理系10,20には、負荷分散
による資源の有効利用を図るために、系振分け処理プロ
グラム33、稼働状態監視プログラム34、及び系振分
けテーブルTAが設けられている。
Each processing system 10, 20 is provided with a system distribution processing program 33, an operating state monitoring program 34, and a system distribution table TA in order to effectively utilize resources by load distribution.

【0020】処理系10においては、系振分け処理プロ
グラム33に対して、オンライン端末3によるアクセス
を受け付けるオンライン処理プログラム31から、例え
ば売上報告や照会などのジョブが与えられる。また、バ
ッチ処理プログラム32から系振分け処理プログラム3
3に対して、例えば1日の売上表の作成などのジョブが
与えられる。
In the processing system 10, jobs such as sales reports and inquiries are given to the system distribution processing program 33 from the online processing program 31 that accepts access from the online terminal 3. Also, from the batch processing program 32 to the system distribution processing program 3
For example, a job such as creating a daily sales table is given to No. 3.

【0021】系振分け処理プログラム33は、稼働状態
監視プログラム34にホストコンピュータシステム1の
稼働状態を問い合わせ、その結果を踏まえて系振分けテ
ーブルTAを参照する。稼働状態監視プログラム34
は、CPUに代表される自系内の所定資源の負荷状態な
どを監視するとともに、定期的に他系の稼働状態監視プ
ログラム34と通信を行い、ホストコンピュータシステ
ム1全体の稼働状態(システム稼働状態)を把握してい
る。
The system allocation processing program 33 inquires of the operating status monitoring program 34 about the operating status of the host computer system 1, and refers to the system allocation table TA based on the result. Operating status monitoring program 34
Monitors the load status of predetermined resources in its own system represented by the CPU, and periodically communicates with the operating status monitoring program 34 of the other system to check the operating status of the entire host computer system 1 (system operating status). ).

【0022】系振分けテーブルTAには、図2に示すよ
うに、予め低負荷状態と高負荷状態とに分けて、各種の
ジョブのそれぞれについて、それを実行すべき処理系が
登録されている。低負荷状態とは、例えば各処理系1
0,20における資源使用率がともに一定値以下の状態
であり、高負荷状態とは、少なくとも一方の処理系の資
源使用率が一定値を越える状態である。
In the system allocation table TA, as shown in FIG. 2, the processing system for executing each of the various jobs is registered in advance by classifying it into a low load state and a high load state. The low load state means, for example, each processing system 1
The resource utilization rates of 0 and 20 are both below a certain value, and the high load state is a state where the resource utilization rate of at least one processing system exceeds a certain value.

【0023】本実施例の系振分けテーブルTAにおいて
は、低負荷状態に対応する部分の内容は固定とされ、高
負荷状態に対応する部分の内容は可変とされている。す
なわち、システム管理者は、図示しないコンソールの操
作によって、実行中のジョブとシステム稼働状態とを画
面表示又はプリントアウトさせることができ、その結果
に基づいて高負荷状態に対応する部分の登録内容をリア
ルタイムで変更し、各ジョブに対して処理系を動的に振
り分けるようにすることができる。なお、一方の処理系
の系振分けテーブルTAの内容を変更すると、自動的に
他方の処理系の系振分けテーブルTAの内容も変更され
る。
In the system distribution table TA of this embodiment, the contents of the portion corresponding to the low load state are fixed, and the contents of the portion corresponding to the high load state are variable. That is, the system administrator can display or print out the job being executed and the system operating state by operating a console (not shown), and based on the result, the registered contents of the portion corresponding to the high load state can be displayed. It can be changed in real time and the processing system can be dynamically assigned to each job. When the contents of the system allocation table TA of one processing system are changed, the contents of the system allocation table TA of the other processing system are also automatically changed.

【0024】図1に戻って、系振分け処理プログラム3
3は、与えられたジョブに対して、系振分けテーブルT
Aが示す自系(処理系10)又は他系(処理系20)を
振り分ける。
Returning to FIG. 1, the system distribution processing program 3
3 is a system allocation table T for a given job.
The own system (processing system 10) or other system (processing system 20) indicated by A is distributed.

【0025】すなわち、自系に振り分ける場合には、ジ
ョブ(厳密にはジョブの内容を規定するパラメータ)を
ジョブ起動処理プログラム35に引き渡す。ジョブ起動
処理プログラム35は、ジョブ制御ライブラリ41を参
照し、プログラムライブラリ42から必要なモジュール
をCPUのワークエリアへロードする。これにより、ジ
ョブが自系内で実行されることになる。
That is, when the job is distributed to its own system, the job (strictly speaking, a parameter that defines the content of the job) is delivered to the job activation processing program 35. The job activation processing program 35 refers to the job control library 41 and loads necessary modules from the program library 42 into the work area of the CPU. As a result, the job is executed in the own system.

【0026】また、他系に振り分ける場合には、ジョブ
を通信制御プログラム36に引き渡す。通信制御プログ
ラム36は、各処理系10,20にそれぞれ設けられた
システム間通信ブロック37と、それらを結ぶ通信用リ
ンク51とを介して処理系20の通信制御プログラム3
6と通信を行い、ジョブの実行を他系に依頼する。
When the job is distributed to another system, the job is delivered to the communication control program 36. The communication control program 36 is the communication control program 3 of the processing system 20 via the inter-system communication block 37 provided in each of the processing systems 10 and 20, and the communication link 51 connecting them.
6 and requests the other system to execute the job.

【0027】一方、ジョブの実行を依頼された処理系2
0では、通信制御プログラム36から系振分け処理プロ
グラム33にジョブが与えられる。処理系20の系振分
け処理プログラム33は、処理系10(処理系20から
みた他系)から受け取ったジョブについては、系振分け
テーブルTAを参照することなく、直ちにジョブ起動処
理プログラム35に引き渡す。
On the other hand, the processing system 2 requested to execute the job
At 0, the job is given from the communication control program 36 to the system distribution processing program 33. The system allocation processing program 33 of the processing system 20 immediately delivers the job received from the processing system 10 (another system viewed from the processing system 20) to the job activation processing program 35 without referring to the system allocation table TA.

【0028】処理系20のジョブ起動処理プログラム3
5は、ジョブ制御ライブラリ41を参照し、プログラム
ライブラリ42から必要なプログラムをCPUのワーク
エリアへロードする。これにより、ジョブは処理系20
内で実行されることになる。
Job activation processing program 3 of processing system 20
Reference numeral 5 refers to the job control library 41 and loads a necessary program from the program library 42 into the work area of the CPU. As a result, the job is processed by the processing system 20.
Will be executed in.

【0029】また、処理系20の系振分け処理プログラ
ム33も、バッチ処理プログラム32から与えられるジ
ョブについては、稼働状態監視プログラム34にシステ
ム稼働状態を問い合わせた後、系振分けテーブルTAを
参照して自系又は他系を振り分ける。
Further, the system distribution processing program 33 of the processing system 20 also refers to the system distribution table TA for the job given from the batch processing program 32 after inquiring the system operation status to the operation status monitoring program 34. Distribute the system or other system.

【0030】このようにホストコンピュータシステム1
では、各処理系10,20の間でシステム稼働状態に応
じてジョブの受け渡しが行われて負荷が分散される。な
お、他系からの依頼に応えてジョブを実行した処理系
は、オンライン処理に係るジョブについては、依頼元の
処理系に実行結果を通知し、バッチ処理に係るジョブに
ついては、ジョブ属性ファイルを参照して結果通知の要
否を調べ、通知が必要であれば実行結果を共用ファイル
に書き込む。依頼元の処理系は、適時に共用ファイルか
らバッチ処理に係るジョブの実行結果を読み出す。
Thus, the host computer system 1
Then, the jobs are delivered between the processing systems 10 and 20 according to the system operating state to distribute the load. Note that the processing system that executed the job in response to a request from another system notifies the requesting processing system of the execution result for the job related to online processing, and the job attribute file for the job related to batch processing. By referring to this, whether or not the result notification is necessary is checked, and if the notification is necessary, the execution result is written in the shared file. The processing system of the request source reads the execution result of the job related to the batch processing from the shared file in a timely manner.

【0031】次に、図3を参照して、ホストコンピュー
タシステム1のホットスタンバイ運用について説明す
る。通常運用時にオンライン処理を担っていた一方の処
理系(例えば処理系10)に障害が発生してその動作が
停止すると、処理系間で行われていた相互の動作確認の
ための通信も停止する。
Next, the hot standby operation of the host computer system 1 will be described with reference to FIG. When a failure occurs in one of the processing systems (for example, the processing system 10) that was in charge of online processing during normal operation and the operation stops, the communication for confirming the mutual operation performed between the processing systems also stops. .

【0032】他方の処理系20では、システム間通信ブ
ロック37によって通信の途絶を検知した時点で、処理
系10の機能を補完するために、オンライン処理プログ
ラム31、バッチ処理32B、及び系振分け処理プログ
ラム33Bが起動される。系振分け処理プログラム33
Bの起動により、処理系20内で第1及び第2の系振分
け処理プログラム33,33Bが並列的に実行されるこ
とになる。
In the other processing system 20, the online processing program 31, the batch processing 32B, and the system distribution processing program are executed in order to complement the function of the processing system 10 when the communication interruption is detected by the inter-system communication block 37. 33B is activated. System distribution processing program 33
By starting B, the first and second system allocation processing programs 33, 33B are executed in parallel in the processing system 20.

【0033】そして、通信制御処理装置2は、処理系1
0に代えて、処理系20のオンライン処理プログラム3
1に対してオンライン端末3からのジョブを与えるよう
に、通信接続状態を切り換える。
Then, the communication control processing device 2 includes the processing system 1
Instead of 0, online processing program 3 of processing system 20
The communication connection state is switched so that the job from the online terminal 3 is given to 1.

【0034】この状態で、通用運用時から引き続いて実
行中の第1の系振分け処理プログラム33に対して、同
様のバッチ処理プログラム32からジョブが与えられる
と、系振分け処理プログラム33は、上述したように系
振分けテーブルTAを参照して、そのジョブについて自
系又は他系を振り分ける。
In this state, when a job is given from the similar batch processing program 32 to the first system distribution processing program 33 which is being executed continuously from the time of the general operation, the system distribution processing program 33 is described above. In this way, the system allocation table TA is referenced to allocate the own system or another system to the job.

【0035】このとき、他系を振り分ける場合には、系
振分け処理プログラム33は、通信制御プログラム36
に代えて第2の系振分け処理プログラム33Bにジョブ
を引き渡す。ジョブを受け取った系振分け処理プログラ
ム33Bは、系振分けテーブルTAを参照することな
く、直ちにジョブをジョブ起動処理プログラム35に引
き渡す。これにより、通常運用時には他系で実行される
ジョブが、自系(処理系20)内で実行されることにな
る。
At this time, when the other system is distributed, the system distribution processing program 33 is the communication control program 36.
Instead, the job is delivered to the second system distribution processing program 33B. Upon receiving the job, the system allocation processing program 33B immediately transfers the job to the job activation processing program 35 without referring to the system allocation table TA. As a result, a job executed in another system during normal operation is executed in the own system (processing system 20).

【0036】一方、系振分け処理プログラム33Bは、
オンライン処理プログラム31又はバッチ処理プログラ
ム32Bからジョブが与えられると、稼働状態監視プロ
グラム34にシステム稼働状態を問い合わせ、その結果
を踏まえて系振分けテーブルTAを参照し、系振分けテ
ーブルTAに従ってジョブに自系又は他系を振り分け
る。
On the other hand, the system allocation processing program 33B is
When a job is given from the online processing program 31 or the batch processing program 32B, the operating status monitoring program 34 is inquired about the system operating status, the system allocation table TA is referred to based on the result, and the system is assigned to the job according to the system allocation table TA. Or, allocate other systems.

【0037】このとき、他系を振り分ける場合には、系
振分け処理プログラム33Bは、第1の系振分け処理プ
ログラム33にジョブを引き渡す。ジョブを受け取った
第1の系振分け処理プログラム33は、通常運用時に系
間通信でジョブを受け取った場合と同様に、直ちにジョ
ブをジョブ起動処理プログラム35に引き渡す。
At this time, when the other system is distributed, the system distribution processing program 33B delivers the job to the first system distribution processing program 33. Upon receiving the job, the first system allocation processing program 33 immediately delivers the job to the job activation processing program 35, as in the case where the job is received through intersystem communication during normal operation.

【0038】つまり、ホットスタンバイ運用時において
は、障害の発生した処理系の系振り分け処理プログラム
33の代替として、正常に稼働する側の処理系内で第2
の系振り分け処理33Bが実行され、処理系10,20
間でのジョブの受け渡しに代えて、第1及び第2の系振
り分け処理プログラム33,33Bの間でジョブの受け
渡しが行われる。これにより、外部からみたホストコン
ピュータシステム1の機能が通常運用時とほぼ同一とな
る。
That is, during hot standby operation, as a substitute for the system allocation processing program 33 of the processing system in which the failure has occurred, the
System allocation processing 33B is executed, and the processing systems 10 and 20
Instead of passing jobs between jobs, jobs are passed between the first and second system allocation processing programs 33 and 33B. As a result, the functions of the host computer system 1 seen from the outside are almost the same as those in normal operation.

【0039】上述の実施例において、系振分け処理プロ
グラム33,33B、及び稼働状態監視プログラム34
などは、純粋なプログラムに限られるものではなく、例
えばファームウェアからなる場合がある。
In the above embodiment, the system distribution processing programs 33 and 33B and the operating state monitoring program 34
Are not limited to pure programs, and may be firmware, for example.

【0040】上述の実施例において、系振分けテーブル
TAをプログラムライブラリ42などとともにDASD
(直接アクセス記憶装置)内に設け、処理系10,20
が1つの系振分けテーブルTAを共用するようにしても
よい。
In the above-described embodiment, the system allocation table TA is stored in the DASD together with the program library 42 and the like.
Provided in the (direct access storage device), the processing system 10, 20
May share one system allocation table TA.

【0041】また、系振分けテーブルTAの内容は種々
変更することができ、例えばシステム稼働状態を3つ以
上に分け、各区分毎にジョブに対応づけて振り分けるべ
き処理系を登録することができる。
Further, the contents of the system allocation table TA can be variously changed. For example, the system operating state can be divided into three or more, and the processing systems to be distributed can be registered in association with jobs for each classification.

【0042】上述の実施例においては、システム管理者
が必要に応じて系振分けテーブルTAの内容を変更する
ものとして説明したが、各処理系10,20が互いに相
手の負荷状態を認識し、動的に負荷を分散するように自
動的に系振分けテーブルTAの内容を変更するようにし
てもよい。
In the above-mentioned embodiment, the system administrator has explained that the contents of the system allocation table TA are changed as necessary, but the processing systems 10 and 20 recognize each other's load condition and move. The contents of the system allocation table TA may be automatically changed so as to distribute the load.

【0043】なお、本発明は3以上の処理系を有したシ
ステムにも適用可能である。
The present invention can also be applied to a system having three or more processing systems.

【0044】[0044]

【発明の効果】本発明によれば、処理系が過負荷状態の
ときのみにジョブの実行を他の処理系に依頼するという
ように、システム稼働状態に応じてジョブに対する処理
系の振分けが行われるので、自系内で実行しても何ら支
障がないにも係わらずジョブを他系に引き渡すことによ
る無用の負荷の増大を抑えることができ、情報処理シス
テムのより効率な運用を図ることができる。また、障害
が発生したときに、人的操作によらずにホットスタンバ
イ運用を開始することができる。
According to the present invention, the processing systems are distributed to the jobs according to the system operating status such that the other processing systems are requested to execute the jobs only when the processing systems are overloaded. Since there is no problem even if it is executed in the own system, it is possible to suppress the unnecessary load increase due to handing over the job to another system, and to operate the information processing system more efficiently. it can. Also obstacles
Hot stamper regardless of human operation.
B. Operation can be started.

【0045】請求項3の発明によれば、重複動作を避け
て処理を迅速化することができる
According to the invention of claim 3, the processing can be speeded up while avoiding the overlapping operation .

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

【図1】本発明の負荷分散方法を適用したホストコンピ
ュータシステムの通常運用時の機能上の構成を示すブロ
ック図である。
FIG. 1 is a block diagram showing a functional configuration of a host computer system to which a load balancing method of the present invention is applied during normal operation.

【図2】系振り分けテーブルの内容の一例を示す図であ
る。
FIG. 2 is a diagram showing an example of contents of a system allocation table.

【図3】図1のホストコンピュータシステムのホットス
タンバイ運用時の機能上の構成を示すブロック図であ
る。
3 is a block diagram showing a functional configuration of the host computer system of FIG. 1 during hot standby operation.

【符号の説明】[Explanation of symbols]

1 ホストコンピュータシステム(情報処理システム) 10,20 処理系 TA 系振分けテーブル 33 系振分け処理プログラム(第1の系振分け処理) 33B 系振分け処理プログラム(第2の系振分け処
理)
1 Host Computer System (Information Processing System) 10, 20 Processing System TA System Distribution Table 33 System Distribution Processing Program (First System Distribution Processing) 33B System Distribution Processing Program (Second System Distribution Processing)

フロントページの続き (56)参考文献 特開 平5−216842(JP,A) 特開 平5−274261(JP,A) 特開 平1−206451(JP,A) 特開 平5−35701(JP,A) 特開 平5−151177(JP,A) 特開 平2−148248(JP,A) 特開 平3−278238(JP,A) 特開 昭54−18252(JP,A) 特開 平4−52953(JP,A) 特開 平2−238556(JP,A) 特開 昭60−173636(JP,A) 特開 平6−139209(JP,A) 特開 平6−131282(JP,A) 特開 平5−151179(JP,A) 特開 平5−134959(JP,A) 特開 平5−12228(JP,A) 特開 平5−282261(JP,A) 特開 平4−267465(JP,A) 特開 昭63−211060(JP,A) 特開 平5−12164(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 15/16 - 15/177 Continuation of the front page (56) Reference JP-A-5-216842 (JP, A) JP-A-5-274261 (JP, A) JP-A-1-206451 (JP, A) JP-A-5-35701 (JP , A) JP 5-151177 (JP, A) JP 2-148248 (JP, A) JP 3-278238 (JP, A) JP 54-18252 (JP, A) JP 4-52953 (JP, A) JP-A-2-238556 (JP, A) JP-A-60-173636 (JP, A) JP-A-6-139209 (JP, A) JP-A-6-131282 (JP, A) JP 5-151179 (JP, A) JP 5-134959 (JP, A) JP 5-12228 (JP, A) JP 5-282261 (JP, A) JP 4 -267465 (JP, A) JP 63-211060 (JP, A) JP 5-12164 (JP, A) (58) Fields investigated (Int.Cl. 7 , DB name) G06F 15/16- 15/177

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】相互の通信により必要に応じてジョブの受
け渡しを行う複数の処理系を有し、少なくとも1つの前
記処理系に障害が発生したときに、他の処理系によるホ
ットスタンバイ運用が可能に構成された情報処理システ
ムにおいて、 各種のジョブのそれぞれについて、実行すべき処理系を
システム稼働状態に応じて振り分けるための系振分けテ
ーブルを予め設けておき、 前記各処理系は、 システム稼働状態を監視し、 ジョブが与えられたときに、その時点のシステム稼働状
態を踏まえて前記系振分けテーブルを参照し えられたジョブに対して、通常運用時には、前記系振
分けテーブルが示す自系又は他系の処理系を振り分ける
第1の系振分け処理を実行し、ホットスタンバイ運用時
には、障害の発生した他の処理系が実行していた前記第
1の系振分け処理の代替処理として第2の系振分け処理
を実行し、前記第2の系振分け処理及び自らの前記第1
の系振分け処理の間でジョブの受け渡しを、自らの前記
第1の系振分け処理とともに行うことを特徴とする負荷
分散方法。
1. A plurality of processing systems that transfer jobs as necessary through mutual communication , and when at least one of the processing systems fails, hot standby operation by other processing systems is possible. Information processing system configured in
Oite the beam, for each of the various jobs, a system distributing te <br/> over b le for sorting in accordance with the processing system to be run at system operating conditions is previously provided, each processing system, the system to monitor the operating state, when a job is given, referring to the system allocation table in light of the system operation status at that time, with respect to given the obtained job, during normal operation, the system distribution table Distribute the processing system of its own system or other system
When hot standby operation is performed by executing the first system allocation process
The above-mentioned No. 1 that was being executed by another processing system in which a failure occurred.
The second system allocation process as an alternative process to the first system allocation process
To execute the second system allocation process and the first
Job transfer between the system distribution processing of
A load distribution method characterized in that the load distribution method is performed together with the first system allocation processing .
【請求項2】前記システム稼働状態が低負荷状態のとき
には、前記各種のジョブのそれぞれについて、実行すべ
き処理系を固定的に振り分け、 前記システム稼働状態が高負荷状態のときには、前記各
種のジョブのそれぞれについて、実行すべき処理系を動
的に振り分けることを特徴とする請求項1記載の負荷分
散方法。
2. When the system operating state is a low load state, the processing system to be executed is fixedly assigned to each of the various jobs, and when the system operating state is a high load state, the various job types are executed. The load balancing method according to claim 1, wherein a processing system to be executed is dynamically assigned to each of the above.
【請求項3】前記各処理系は、他の処理系から受け取っ
たジョブについては、前記系振分けテーブルを参照する
ことなく自系内で実行することを特徴とする請求項1又
は請求項2記載の負荷分散方法。
Wherein each processing system, for the job received from another processing system, said system distributing claim, characterized in that running in the autologous without reference to the tables 1 or claim 2 The described load balancing method.
【請求項4】相互の通信により必要に応じてジョブの受
け渡しを行う複数の処理系を有し、少なくとも1つの前
記処理系に障害が発生したときに、他の処理系によるホ
ットスタンバイ運用が可能に構成された情報処理システ
ムであって、 各種のジョブのそれぞれについて、実行すべき処理系を
システム稼働状態に応じて振り分けるための系振分けテ
ーブルが設けられ、 前記各処理系には、 システム稼働状態を監視する手段と、 ジョブが与えられたときに、その時点のシステム稼働状
態を踏まえて前記系振分けテーブルを参照する手段と、 通常運用時に、与えられたジョブに対して、前記系振分
けテーブルが示す自系又は他系の処理系を振り分ける第
1の系振分け処理を実行する手段と、 ホットスタンバイ運用時に、障害の発生した他の処理系
に与えられたジョブに対して当該他の処理系が実行して
いた前記第1の系振分け処理の代替処理として第2の系
振分け処理を実行し、前記第2の系振分け処理及び自ら
の前記第1の系振分け処理の間でジョブの受け渡しを行
う処理を、自らの前記第1の系振分け処理とともに行う
手段と、が設けられ、 てなることを特徴とする情報処理システム。
4. Jobs are received as necessary through mutual communication.
It has multiple processing systems for handing over, and at least one
When a failure occurs in a processing system, the
Information processing system configured to enable standby operation
And the processing system to be executed for each of the various jobs.
A system distribution table for distributing according to the system operating status
A table is provided, and each processing system has means for monitoring the system operation status and the system operation status at the time when a job is given.
The means for referring to the system allocation table based on the status of the system, and the system allocation table for a given job during normal operation.
Distributing the own processing system or other processing system indicated by the table
1 means for executing system allocation processing and another processing system in which a failure has occurred during hot standby operation
The other processing system executes the job given to
The second system as an alternative process of the first system allocation process
The distribution process is executed, and the second system distribution process and self
Jobs are delivered between the first system distribution process of
Processing is performed together with the above-mentioned first system distribution processing of itself.
An information processing system characterized by comprising means and .
JP29617693A 1993-11-26 1993-11-26 Load distribution method and information processing system Expired - Fee Related JP3409895B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29617693A JP3409895B2 (en) 1993-11-26 1993-11-26 Load distribution method and information processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29617693A JP3409895B2 (en) 1993-11-26 1993-11-26 Load distribution method and information processing system

Publications (2)

Publication Number Publication Date
JPH07152701A JPH07152701A (en) 1995-06-16
JP3409895B2 true JP3409895B2 (en) 2003-05-26

Family

ID=17830152

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29617693A Expired - Fee Related JP3409895B2 (en) 1993-11-26 1993-11-26 Load distribution method and information processing system

Country Status (1)

Country Link
JP (1) JP3409895B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4572581B2 (en) * 2004-05-28 2010-11-04 株式会社日立製作所 Database processing method and system, and processing program therefor
JP5071518B2 (en) * 2010-04-23 2012-11-14 株式会社日立製作所 Database processing method, database processing system, and database management program
JP6160171B2 (en) 2013-03-28 2017-07-12 富士通株式会社 Information processing apparatus, control method, program, and information processing system

Also Published As

Publication number Publication date
JPH07152701A (en) 1995-06-16

Similar Documents

Publication Publication Date Title
US7843811B2 (en) Method of solving a split-brain condition
CN101176073B (en) Adjusting configuration parameters for a server when a different server fails
US8250574B2 (en) Virtual machine management via use of table in which virtual machine information is registered on a time basis
US20070038885A1 (en) Method for operating an arrangement of a plurality of computers in the event of a computer failure
US7571438B2 (en) Method and system for resource management with independent real-time applications on a common set of machines
US5446680A (en) System and method for obtaining network performance data
US5778224A (en) Method of executing a plurality of transactions and a distributed processing system for performing such a method
US7185096B2 (en) System and method for cluster-sensitive sticky load balancing
US6125411A (en) System storing plural I/O arrangement information wherein each I/O arrangement information corresponding to each operating system is created in response to more than two operating systems
EP1679595A1 (en) Information system, load control method, load control program, and recording medium
US20080229320A1 (en) Method, an apparatus and a system for controlling of parallel execution of services
US20050262173A1 (en) System and method providing virtual applications architecture
JP2001331333A (en) Computer system and method for controlling computer system
WO1990002378A1 (en) Multilevel distributed computer system
AU2004266019A2 (en) On demand node and server instance allocation and de-allocation
JP3409895B2 (en) Load distribution method and information processing system
JP3197279B2 (en) Business takeover system
US8180865B2 (en) System and method for application server/operating system network/configuration management
JPH06348664A (en) Controller for computer system constituted of plural cpus provided with different instruction characteristics
JPH1027146A (en) Communication processor and its method
US5291613A (en) Method for executing a control instruction in a multi-computer system
JPH07334468A (en) Load distribution system
JP3138985B2 (en) Virtual computer
JP2000293489A (en) Data base server system
US20050086430A1 (en) Method, system, and program for designating a storage group preference order

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030304

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

Free format text: PAYMENT UNTIL: 20080320

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090320

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100320

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100320

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110320

Year of fee payment: 8

LAPS Cancellation because of no payment of annual fees