JPH04209032A - Job execution computer system selection system - Google Patents

Job execution computer system selection system

Info

Publication number
JPH04209032A
JPH04209032A JP40541890A JP40541890A JPH04209032A JP H04209032 A JPH04209032 A JP H04209032A JP 40541890 A JP40541890 A JP 40541890A JP 40541890 A JP40541890 A JP 40541890A JP H04209032 A JPH04209032 A JP H04209032A
Authority
JP
Japan
Prior art keywords
job
information
execution
computer system
computer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP40541890A
Other languages
Japanese (ja)
Inventor
Nobuo Takahata
信雄 高畠
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP40541890A priority Critical patent/JPH04209032A/en
Publication of JPH04209032A publication Critical patent/JPH04209032A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To execute a job by another computer system when a specific system is abnormal by automatically selecting the execution system according to system resources information, in-use peripheral device information, and desired execution system information at the time of a job analysis. CONSTITUTION:A job start part 9 when receiving a job registration report decides its kind. At the time of registering the job report, the load state of this computer system is obtained from an internal table. A proper job is selected and started and a job start report is sent to an execution managing part 21 when the load state of this computer system has a margin, a job attribute information managing table 12 contains jobs which can be executed by this computer system, and a job status 18 is included and registered in job attribute information 13. The contents of a multiple counter 1 is decreased by one during the execution of the job status 18 of the started job.

Description

【発明の詳細な説明】[Detailed description of the invention]

[00011 [00011

【技術分野]本発明はジョブ実行計算機システム選択方
式に関し、特に疎結合された複数の計算機システムにお
けるジョブの実行可能なシステムを自動的に選択するジ
ョブ実行計算機システム選択方式に関する。 [0002] 【従来技術】従来の疎結合システムにおいては、ジョブ
投入時に実行システム情報指定ジョブ制御文により指示
された希望実行システム情報(ジョブを実行させたい計
算機システムを指すシステム番号、またはシステム資源
の有効利用のために負荷分散させたい場合はどの計算機
システムで実行させても良い旨を示す情報)を含むジョ
ブ属性情報を、複数の計算機システム間で共用できる二
次記憶装置上に保持している。そして、このジョブ属性
情報を基にそれぞれの計算機システムで実行可能なジョ
ブを選択し起動することにより、複数の計算機システム
間でのジョブ実行制御を可能と、システム資源の有効利
用を図ることが出来るスプーリング共用機能を有してい
る。 [0003]さらに従来の疎結合システムでは、各計算
機システムの稼動状況および負荷状況を二次記憶装置上
に保持し、かつ各計算機システムのシステム資源情報を
、各計算機システム毎の主記憶装置上と二次記憶装置上
とに保持している。 [0004]上述した従来の方式では、ジョブ属性情報
に含まれる希望実行システム情報のみに基づいて各計算
システムのジョブ起動部が自計算機システムで実行可能
なジョブを選択し起動している。そのために、投入され
たジョブがある計算機システムでは組込まれていないか
あるいは使用不可能な状態にある周辺装置を使用するジ
ョブであり、かつ希望実行システム情報に設定された計
算機システムがジョブで使用する周辺装置が組込まれて
いないかあるいは使用不可能な状態にあったとき、その
計算機システムでそのジョブが起動されるとエラーとな
るという欠点がある。 [0005]また、投入されたジョブがある計算機シス
テムでは組込まれていないかあるいは使用不可能な状態
にある周辺装置を使用するジョブであり、かつ希望実行
システム情報がそのジョブを負荷分散の対象としどの計
算機システムで実行させても良い旨を示しているために
、自計算機システムにおいてそのジョブの実行が可能で
あると判断したある計算機システムに、ジョブで使用す
る周辺装置が組込まれていないかあるいは使用不可能な
状態にあった時、その計算機システムでそのジョブが起
動されるとエラーとなるという欠点がある。 [0006]上述のような事態を避けるために利用者が
疎結合計算機システムを構成する各計算機システムの周
辺装置の構成情報や各周辺装置の状態を知ったうえで、
実行システム指定ジョブ制御文により、その装置が組込
まれかつ使用可能な状態にある計算機システムを指定し
なければならないという欠点がある。 [0007]さらに、ある計算機システムが稼動してい
ない場合や負荷が大きい場合には、その計算機システム
で実行するよう設定されたジョブは、その計算機システ
ムの状態が回復するまでその実行を長時間待たされてし
まうという欠点がある。 [0008]
TECHNICAL FIELD The present invention relates to a job execution computer system selection method, and more particularly to a job execution computer system selection method for automatically selecting a system capable of executing a job among a plurality of loosely coupled computer systems. [0002] In conventional loosely coupled systems, when a job is submitted, the desired execution system information (system number indicating the computer system on which the job is to be executed or system resource information) specified by the execution system information specification job control statement is used. Job attribute information, including information indicating that a job can be executed on any computer system if load balancing is desired for effective utilization, is stored on a secondary storage device that can be shared among multiple computer systems. . Then, by selecting and starting jobs that can be executed on each computer system based on this job attribute information, it is possible to control job execution among multiple computer systems and to effectively use system resources. It has a spooling sharing function. [0003] Furthermore, in conventional loosely coupled systems, the operating status and load status of each computer system are held on the secondary storage device, and the system resource information of each computer system is stored on the main storage device of each computer system. It is maintained on secondary storage. [0004] In the conventional method described above, the job starting section of each computing system selects and starts a job executable by its own computing system based only on desired execution system information included in job attribute information. Therefore, the submitted job is a job that uses a peripheral device that is not installed or cannot be used in the computer system, and the computer system set in the desired execution system information is used in the job. There is a drawback that if a peripheral device is not installed or is not available, an error will occur if the job is started on that computer system. [0005] In addition, if the submitted job uses a peripheral device that is not installed or cannot be used in a certain computer system, and the desired execution system information indicates that the job is subject to load balancing. Because it indicates that the job can be executed on any computer system, the peripheral device used in the job is not installed in a certain computer system that has been determined to be capable of executing the job on its own computer system, or The disadvantage is that if a job is started on a computer system that is not usable, an error will occur. [0006] In order to avoid the above-mentioned situation, after the user knows the configuration information and status of each peripheral device of each computer system that constitutes a loosely coupled computer system,
A drawback is that the execution system specification job control statement must specify the computer system in which the device is installed and available. [0007] Furthermore, if a certain computer system is not operating or has a heavy load, jobs set to be executed on that computer system may wait for a long time until the computer system's state recovers. The disadvantage is that it can be done. [0008]

【発明の目的】本発明の目的は、使用する周辺装置が組
込まれていないかあるいは使用不可能な状態にある計算
機システムでジョブを実行させることによるエラーの発
生を防止し、利用者の負担を軽減し、さらに特定のシス
テムの異常時に自動的に他の計算機システムでその実行
を行わせるようなジョブ実行計算機システム自動選択方
式を提供することである。 [0009]
[Object of the Invention] An object of the present invention is to prevent the occurrence of errors caused by executing a job on a computer system in which the peripheral device to be used is not installed or is in an unusable state, thereby reducing the burden on the user. It is an object of the present invention to provide an automatic job execution computer system selection method that can reduce the number of job execution jobs and automatically execute the job on another computer system when an abnormality occurs in a specific system. [0009]

【発明の構成】本発明によれば、複数の計算機システム
が共通の二次記憶装置を共用するよう構成された疎結合
計算機システムにおけるジョブ実行計算機システム選択
方式であって、前記計算機システム各々の稼動状況及び
負荷状況を格納するシステム状態テーブルと、前記計算
機システム各々の構成システム資源情報を格納するシス
テム資源情報テーブルと、ジョブ実行時にこのジョブで
使用する周辺装置を解析する使用周辺装置情報解析手段
と、前記ジョブの実行時にそのジョブの実行を希望する
希望実行システム情報を解析する希望実行システム情報
解析手段と、前記使用周辺装置情報、前記希望実行シス
テム情報、自システムのシステム資源情報及びシステム
状態情報に基き実行可能な計算機システムを判定して実
行システム情報を得る実行システム判定手段と、前記実
行システム情報に応じて、前記テーブルの対応情報を更
新する情報管理部とを含み、前記実行システム情報に応
じてジョブの実行をなすようにしたことを特徴とするジ
ョブ実行計算機システム選択方式が得られる。 [00101
According to the present invention, there is provided a job execution computer system selection method in a loosely coupled computer system configured such that a plurality of computer systems share a common secondary storage device, which a system status table for storing status and load status, a system resource information table for storing configuration system resource information of each of the computer systems, and used peripheral device information analysis means for analyzing peripheral devices used in this job when a job is executed. , desired execution system information analysis means for analyzing information on a desired execution system on which the job is desired to be executed when the job is executed; the peripheral device information used, the desired execution system information, system resource information and system status information of the own system; an execution system determination unit that determines an executable computer system based on the execution system information and obtains execution system information; and an information management unit that updates correspondence information in the table according to the execution system information; A job execution computer system selection method is obtained, which is characterized in that the job is executed according to the job execution. [00101

【実施例]以下、図面を用いて本発明の実施例について
詳細に説明する。 [0011]図1は本発明の実施例のシステムブロック
図であり、図2は疎結合状態の計算機システム全体構成
を示すブロック図である。先ず、図2を参照すると、複
数の計算機システムm、 nは二次記憶装置aを互いに
共用して疎結合計算機システムを構築している。 [0012]二次記憶装置aには、各計算機システムの
構成システム資源を示すシステム資源情報テーブル11
と、ジョブの実行に必要なジョブ属性情報を管理するジ
ョブ属性情報管理テーブル12と、各計算機システムの
稼動状況及び負荷状況を格納するシステム状態テーブル
13とを含んでいる。 [0013]尚、m(自然数)は自計算機システムのシ
ステム番号を示し、n(自然数)は他の任意の計算機シ
ステムのシステム番号を示すものとする。 [0014]図1を参照すると、自計算機システムの構
成が示されている。ジョブ記述解析部1はジョブ入力部
20からのジョブ記述の内容を解析するものであり、希
望実行システム情報解析部2、使用周辺装置情報解析部
3、その他ジョブ記述解析部4からなる。 [0015]希望実行システム情報解析部2はジョブ記
述中の実行システム指定ジョブ制御文を解析し、ジョブ
実行を希望する計算機システムのシステム番号情報を判
別する。使用周辺装置解析部3はジョブ記述中のファイ
ル定義文、装置割当て要求文を解析して実行に必要な周
辺装置の装置タイプ等の使用周辺装置情報を得る。また
、その他ジョブ記述解析部4は前述以外のジョブ記述内
容を解析するものである。 [0016]実行システム判定部5は、ジョブ属性情報
13に含まれる希望実行システム情報14及び使用周辺
装置情報17、またシステム資源テーブル11の情報等
を参照して、ジョブ実行可能な計算機システムを判定し
ジョブ属性情報13内の実行可能システム情報15及び
実行システム情報16を設定する。 [0017]システム資源情報管理部6は自計算機シス
テムの周辺装置の構成情報を、主記憶内のシステム資源
情報領域10及びシステム資源情報テーブル11に夫々
設定し、また更新するものである。 [0018]他システム状態監視部7は他の計算機シス
テムの使用状態等をシステム状態テーブル19の情報に
より常時監視し、その情報をジョブ属性情報管理部8に
通知する。 [0019]ジョブ属性情報管理部8は、実行システム
判定部5により得られた実行システム情報16と使用周
辺装置情報17と希望実行システム情報14とを含むジ
ョブ属性情報を、二次記憶装置上のジョブ属性情報テー
ブル12に登録し、ジョブ入力通知をジョブ起動部9へ
送出し、また他システム状態監視部7からの通知により
二次記憶装置上のテーブル12に含まれる実行システム
情報を更新/回復するものである。 [00201ジョブ起動部9はジョブ属性情報管理部8
によって二次記憶装置上に登録され管理されているジョ
ブ属性情報を基に、自計算機システムで実行可能なジョ
ブを選択して起動する。 [0021]実行管理部21はジョブ起動通知及びジョ
ブ終了通知を受けて、ジョブの実行管理を行うものであ
る。 [00221次に、本実施例の動作を図面を参照して説
明する。周辺装置情報管理部6は、システム立上げ時お
よび自計算機システムの周辺装置の状態が変化したとき
に、自計算機システムのシステム資源管理情報を、主記
憶装置上のシステム資源情報領域10および複数の計算
機システム間で共用している二次記憶装置上のシステム
資源情報テーブル11内の自計算機システム用の領域に
設定/更新する。 [0023]ジヨブが投入されると、ジョブ入力部20
が実行システム指定ジョブ制御文、ファイル定義文、周
辺装置割当て要求文等を含むジョブ記述を読取り、これ
をジョブ記述解析部1が、希望実行システム情報解析部
2と、使用周辺装置情報解析部3と、その他ジョブ制御
文解析部4とを用いて解析する。 [0024]希望実行システム情報解析部2は、ジョブ
記述中の実行システム指定ジョブ制御文($  NEE
D文)を解析する。この実行システム指定ジョブ制御文
($NEED文)の構文およびSYSTEMパラメータ
の意味は次の通りである。 [0025] $  NEED SYSTEM=k O
r ANYSYSTEMパラメータ値k (自然数)は
、ジョブを実行させる計算機システム(希望実行システ
ム)のシステム番号を示している。また、SYSTEM
パラメータ値府は、ジョブをどの計算機システムで実行
させてもよいことを示している。 [0026]希望実行システム情報解析部2は図3に示
すように、SYSTEMパラメータが指定されていれば
(処理401 ) 、SYSTEMパラメータ値を得て
(処理402 ) 、正当性をチエツクしく処理403
 ) 、希望実行システム情報14に設定する(処理4
04)。 [00271使用周辺装置情報解析部3は、ジョブ記述
中のファイル定義文、装置割当て要求文を解析し、実行
に必要な周辺装置の装置タイプ等の使用周辺装置情報を
得て、ジョブ属性情報13中の使用周辺装置情報17に
設定する。 [0028]その他ジョブ制御文解析部4は、実行シス
テム指定ジョブ制御文、ファイル定義文、装置割当て要
求文を除いたジョブ記述を解析する。 [0029]ジヨブ記述を全て解析すると、ジョブ記述
解析部1は実行システム判定部5を呼出し、実行システ
ム判定部5れは後述する方式により実行可能システム情
報15と実行システム情報16とを設定する。実行可能
システム情報15と実行システム情報16とを設定する
ことによって、ジョブ属性情報13が整うと、ジョブ記
述解析部1は、ジョブ属性情報管理部8にジョブ入力通
知を送りジョブ属性情報13を渡す。 [00301実行システム判定部5は図4に示す如く、
まず使用周辺装置情報17とシステム資源情報テーブル
11中のシステム資源情報に基いてジョブの実行に必要
な全ての周辺装置が構成されていて使用可能な状態にあ
る計算機システム、すなわちジョブの実行が可能な計算
機システムを全て検索し、そのシステム番号を実行可能
システム情報15に設定しく処理501 ) 、実行可
能な計算機システムの数を判定する(処理5O2)。 [0031]実行可能システムが一つであれば、検索さ
れた計算機システムのシステム番号を実行システム情報
16に設定する(処理503)。実行可能システムが複
数であれば、希望システム情報14に特定のシステム番
号が設定されているかANYが設定されているかを判定
する(処理504)。 [0032]特定のシステム番号が設定されていれば、
希望実行システム情報14が実行可能システム情報15
に含まれているか否か判定する(処理505)。含まれ
ていれば、希望実行システム情報14を実行システム情
報16に設定しく処理506)、含まれていなければ、
実行可能システム情報15の全てを実行システム情報1
6に設定しく処理507 ) 、負荷分散の対象とする
。 [0033]処理504で、希望実行システム情報14
にANYが設定されていれば、実行可能システム情報1
5の全てを実行システム情報16に設定しく処理507
)、負荷分散の対象とする。処理502で、実行可能シ
ステムが一つもなければ、エラーとして当該ジョブを削
除しく処理508 ) 、その旨利用者に通知する(処
理509)。 [0034]他システム状態監視部7は図5に示すよう
に、定期的にシステム状態テーブル19より各計算機シ
ステムの稼動情況を得て(処理601 ) 、計算機シ
ステムnが稼動していない場合(処理6O2)または計
算機システムnが過負荷状態である場合(処理603 
) 、システムn異常発生通知をジョブ属性情報管理部
8に送り、 (処理604 ) 、計算機システムnが
稼動していて負荷状況に余裕がある場合、システムn正
常稼動通知をジョブ属性情報管理部8に送る(処理60
5)。 [0035]ジョブ属性情報管理部8は図6に示すよう
に、通知を受けると(処理701)その種類を判定する
(処理7O2)。ジョブ入力通知であれば、ジョブ属性
情報13をジョブ属性情報管理テーブル12へ登録しく
処理703)ジョブ登録通知をジョブ起動部9に送る(
処理704)。システムn異常発生通知であれば、ジョ
ブ属性情報管理テーブル12から実行システム情報16
にシステム番号nを含む一つまたは複数のシステム番号
が設定され実行可能システム情報15にシステム番号n
を含む複数のシステム番号が設定されていて且つジョブ
テータス18=”起動待ち゛であるジョブ属性情報13
を全て検索する(処理705)。 [0036]検索した当該ジョブ属性情報13中のシス
テム番号nを除く実行可能システム情報15を実行シス
テム情報16に設定しく処理706 ) 、変更した実
行システム情報16を含む当該ジョブ属性情報13をジ
ョブ属性情報管理テーブル12へ登録しく処理703 
’) 、ジョブ登録通知をジョブ起動部9に送る(処理
704)。 [0037]システムn正常稼動通知であれば、ジョブ
属性情装置管理テーブル12から実行可能システム情報
15にシステム番号nを含む複数のシステム番号が設定
されていて且つジョブテータス18=゛起動待ち′であ
るジョブ属性情報13を全て検索しく処理707 ) 
、実行システム判定部5を呼出し、その機能を用いて当
該ジョブ属性情報13中の実行可能システム情報15と
実行システム情報16とを再設定する(処理708)。 [0038]再設定した実行可能システム情報15と実
行システム情報16を含む当該ジョブ属性情報13をジ
ョブ属性情報管理テーブル12へ登録しく処理703)
、ジョブ登録通知をジョブ起動部9に送る(処理704
)。 [0039]ジョブ起動部9は図7,8に示すように、
通知を受取ると(処理801)、その種類を判定する(
処理8O2)。ジョブ登録通知であれば、内部テーブル
より自計算機システムの負荷状況を得て、自計算機シス
テムの負荷状況に余裕があり(処理803 ) 、さら
にジョブ属性情報管理テーブル12に自計算機システム
で実行可能なジョブ、即ち自計算機システムのシステム
番号(m)が実行システム情報16に含まれ、かつジョ
ブステータス18=“起動待ち“°であるジョブが登録
されていれば(処理804 ) 、その中から適当なジ
ョブを選択して(処理805)起動し、実行管理部21
にジョブ起動通知を送る(処理806)。 [00401そして、起動したジョブのジョブステータ
ス18を実行中にしく処理807)、内部テーブル内の
多重度カウンタを1だけ増やす(処理808)。 [00411図9の例では、ジョブb、ジョブd、ジョ
ブeがジョブ起動の選択対象になる。ここではジョブb
が選択され起動されたものとする。 [00421また、実行管理部18よりジョブ終了通知
を受取ると、当該ジョブのジョブ属性情報13をジョブ
属性情報管理テーブル12より削除しく処理809)、
内部テーブル内の多重度カウンタを1だけ減らしく処理
810)、以下同様の処理を行う(処理803〜808
)。 [0043] 【発明の効果】以上説明したように、本発明によれば、
ジョブ解析時に疎結合計算機システムを構成する各計算
機システムのシステム資源情報とそのジョブの使用周辺
装置情報と希望実行システム情報とを基に、実行システ
ムを自動的に選択することにより、以下の効果が期待で
きる。 [0044]ある計算機システムには組込まれていない
場合、あるいは使用不可能な状態にある周辺装置を使用
するジョブが投入された場合でも、必ずその装置が組込
まれかつ使用可能な状態にある計算機システムで実行さ
せることができる。 [0045]利用者は疎結合計算機システムを構成する
各計算機システムのシステム資源情報について知らなく
ても、疎結合計算機システムを有効に利用することがで
きることになる。 [0046]ある計算機システムが稼動していない場合
、あるいは負荷が大きい場合でも、その計算機システム
で実行するよう設定されたジョブのジョブ属性情報を自
動的に変更することにより、他の実行可能な計算機シス
テムで実行させることができる。
[Embodiments] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. [0011] FIG. 1 is a system block diagram of an embodiment of the present invention, and FIG. 2 is a block diagram showing the overall configuration of a loosely coupled computer system. First, referring to FIG. 2, a plurality of computer systems m and n share a secondary storage device a to construct a loosely coupled computer system. [0012] The secondary storage device a has a system resource information table 11 that shows the configuration system resources of each computer system.
, a job attribute information management table 12 that manages job attribute information necessary for job execution, and a system status table 13 that stores the operating status and load status of each computer system. [0013] Note that m (natural number) indicates the system number of the own computer system, and n (natural number) indicates the system number of any other computer system. [0014] Referring to FIG. 1, the configuration of the own computer system is shown. The job description analysis section 1 analyzes the contents of the job description from the job input section 20, and includes a desired execution system information analysis section 2, a used peripheral device information analysis section 3, and another job description analysis section 4. [0015] The desired execution system information analysis unit 2 analyzes the execution system specification job control statement in the job description and determines the system number information of the computer system on which the job is desired to be executed. The used peripheral device analysis unit 3 analyzes the file definition statement and device allocation request statement in the job description to obtain used peripheral device information such as the device type of the peripheral device necessary for execution. Further, the other job description analysis section 4 analyzes job description contents other than those mentioned above. [0016] The execution system determining unit 5 determines a computer system capable of executing the job by referring to the desired execution system information 14 and the used peripheral device information 17 included in the job attribute information 13, as well as the information in the system resource table 11, etc. Then, executable system information 15 and execution system information 16 in job attribute information 13 are set. [0017] The system resource information management unit 6 sets and updates configuration information of peripheral devices of its own computer system in the system resource information area 10 and the system resource information table 11 in the main memory, respectively. [0018] The other system status monitoring unit 7 constantly monitors the usage status of other computer systems based on the information in the system status table 19, and notifies the job attribute information management unit 8 of the information. [0019] The job attribute information management unit 8 stores job attribute information including the execution system information 16, used peripheral device information 17, and desired execution system information 14 obtained by the execution system determination unit 5 on the secondary storage device. Register in the job attribute information table 12, send a job input notification to the job starting unit 9, and update/restore the execution system information included in the table 12 on the secondary storage device based on the notification from the other system status monitoring unit 7. It is something to do. [00201 The job starting unit 9 is the job attribute information management unit 8
Based on the job attribute information registered and managed on the secondary storage device by , a job that can be executed by the own computer system is selected and started. [0021] The execution management unit 21 receives job start notifications and job termination notifications and manages job execution. [00221] Next, the operation of this embodiment will be explained with reference to the drawings. The peripheral device information management unit 6 stores the system resource management information of the computer system in the system resource information area 10 on the main storage device and the It is set/updated in the area for the own computer system in the system resource information table 11 on the secondary storage device shared between computer systems. [0023] When a job is submitted, the job input section 20
reads the job description including the execution system specification job control statement, file definition statement, peripheral device allocation request statement, etc., and the job description analysis section 1 sends the job description to the desired execution system information analysis section 2 and the used peripheral device information analysis section 3. and other job control statement analysis units 4. [0024] The desired execution system information analysis unit 2 analyzes the execution system specified job control statement ($NEE) in the job description.
D sentence) is analyzed. The syntax of this execution system specified job control statement ($NEED statement) and the meaning of the SYSTEM parameter are as follows. [0025] $ NEED SYSTEM=k O
The r ANYSYSTEM parameter value k (natural number) indicates the system number of the computer system (desired execution system) on which the job is executed. Also, SYSTEM
The parameter values indicate that the job can be executed on any computer system. [0026] As shown in FIG. 3, if the SYSTEM parameter is specified (process 401), the desired execution system information analysis unit 2 obtains the SYSTEM parameter value (process 402), and checks its validity in process 403.
), set in the desired execution system information 14 (processing 4
04). [00271 The used peripheral device information analysis unit 3 analyzes the file definition statement and the device allocation request statement in the job description, obtains the used peripheral device information such as the device type of the peripheral device necessary for execution, and writes the job attribute information 13 Set it in the peripheral device information 17 in use. [0028] The other job control statement analysis unit 4 analyzes job descriptions excluding execution system specification job control statements, file definition statements, and device allocation request statements. [0029] After all job descriptions have been analyzed, the job description analysis unit 1 calls the execution system determination unit 5, and the execution system determination unit 5 sets executable system information 15 and execution system information 16 using a method described later. When the job attribute information 13 is prepared by setting the executable system information 15 and the execution system information 16, the job description analysis unit 1 sends a job input notification to the job attribute information management unit 8 and passes the job attribute information 13. . [00301 As shown in FIG. 4, the execution system determination unit 5
First, based on the used peripheral device information 17 and the system resource information in the system resource information table 11, a computer system in which all the peripheral devices necessary for job execution are configured and usable, that is, the job can be executed. Step 501) searches for all computer systems that are executable, sets the system number in the executable system information 15 (Step 501), and determines the number of executable computer systems (Step 5O2). [0031] If there is one executable system, the system number of the searched computer system is set in the execution system information 16 (process 503). If there are multiple executable systems, it is determined whether a specific system number or ANY is set in the desired system information 14 (process 504). [0032] If a specific system number is set,
Desired execution system information 14 is executable system information 15
It is determined whether it is included in (process 505). If it is included, the desired execution system information 14 is set to the execution system information 16 (step 506); if it is not included,
Execute all executable system information 15 System information 1
6 (Process 507), it will be subject to load balancing. [0033] In the process 504, the desired execution system information 14
If ANY is set, executable system information 1
Process 507 to set all of 5 in execution system information 16.
), subject to load balancing. In process 502, if there is no executable system, the job is deleted as an error (process 508), and the user is notified of this (process 509). [0034] As shown in FIG. 5, the other system status monitoring unit 7 periodically obtains the operating status of each computer system from the system status table 19 (process 601), and if computer system n is not operating (process 6O2) or when computer system n is overloaded (processing 603
), sends a system n abnormality occurrence notification to the job attribute information management unit 8; (process 604), if the computer system n is operating and there is sufficient load, sends a system n normal operation notification to the job attribute information management unit 8; (process 60)
5). [0035] As shown in FIG. 6, upon receiving the notification (process 701), the job attribute information management unit 8 determines its type (process 7O2). If it is a job input notification, the job attribute information 13 is registered in the job attribute information management table 12. Process 703) A job registration notification is sent to the job starting unit 9 (
Process 704). If it is a system n abnormality occurrence notification, the execution system information 16 is retrieved from the job attribute information management table 12.
One or more system numbers including the system number n are set in the executable system information 15, and the system number n is set in the executable system information 15.
job attribute information 13 in which multiple system numbers including
All are searched (processing 705). [0036] Set the executable system information 15 excluding the system number n in the retrieved job attribute information 13 as the execution system information 16 (706), and set the job attribute information 13 including the changed execution system information 16 as the job attribute. Process 703 to register in the information management table 12
') and sends a job registration notification to the job starting unit 9 (processing 704). [0037] If it is a system n normal operation notification, multiple system numbers including system number n are set in the executable system information 15 from the job attribute information device management table 12, and job status 18 = ``Waiting for startup''. Process to search all certain job attribute information 13 (707)
, calls the execution system determination unit 5, and uses its function to reset the executable system information 15 and execution system information 16 in the job attribute information 13 (processing 708). [0038] Process for registering the job attribute information 13 including the reset executable system information 15 and execution system information 16 in the job attribute information management table 12 (703)
, sends a job registration notification to the job starting unit 9 (process 704
). [0039] As shown in FIGS. 7 and 8, the job starting unit 9
When a notification is received (process 801), its type is determined (
Processing 8O2). If it is a job registration notification, the load status of the own computer system is obtained from the internal table, and there is a margin in the load status of the own computer system (process 803), and furthermore, the job attribute information management table 12 indicates that the load status of the own computer system is executable. If a job, that is, a job whose system number (m) of its own computer system is included in the execution system information 16 and whose job status 18 is "waiting for startup" ° is registered (processing 804), select an appropriate one from among them. Select a job (process 805), start it, and execute it in the execution management section 21.
A job start notification is sent to (processing 806). [00401 Then, the job status 18 of the started job is set to be in execution (process 807), and the multiplicity counter in the internal table is increased by 1 (process 808). [00411 In the example of FIG. 9, job b, job d, and job e are selected for job activation. Here job b
is selected and activated. [00421 Also, upon receiving a job completion notification from the execution management unit 18, the job attribute information 13 of the job is deleted from the job attribute information management table 12 (809);
Decrease the multiplicity counter in the internal table by 1 (process 810), and perform the same process thereafter (processes 803 to 808)
). [0043] [Effects of the Invention] As explained above, according to the present invention,
By automatically selecting an execution system based on the system resource information of each computer system that makes up a loosely coupled computer system, information on peripheral devices used by the job, and desired execution system information during job analysis, the following effects can be achieved. You can expect it. [0044] A computer system in which a peripheral device is always installed and usable even when a job is submitted that uses a peripheral device that is not installed in the computer system or is in an unusable state. It can be executed with [0045] The user can effectively utilize the loosely coupled computer system without knowing the system resource information of each computer system that constitutes the loosely coupled computer system. [0046] Even if a certain computer system is not operating or has a heavy load, by automatically changing the job attribute information of the job set to be executed on that computer system, other executable computers can be used. It can be run on the system.

【図面の簡単な説明】[Brief explanation of the drawing]

【図1】本発明の実施例のシステム構成を示すブロック
図である。
FIG. 1 is a block diagram showing the system configuration of an embodiment of the present invention.

【図2】本発明の実施例が適用される疎結合計算機シス
テムの全体システム図である。
FIG. 2 is an overall system diagram of a loosely coupled computer system to which an embodiment of the present invention is applied.

【図3】希望実行システム情報解析部の処理の流れ図で
ある。
FIG. 3 is a flowchart of processing by a desired execution system information analysis unit.

【図4】実行システム判定部の処理の流れ図である。FIG. 4 is a flowchart of processing by an execution system determination unit.

【図5】他システム状態監視部の処理の流れ図である。FIG. 5 is a flowchart of processing of the other system status monitoring unit.

【図6】ジョブ属性情報管理部の処理の流れ図である。FIG. 6 is a flowchart of processing by a job attribute information management unit.

【図7】ジョブ起動部の処理の流れ図である。FIG. 7 is a flowchart of processing by a job starting unit.

【図8】ジョブ起動部の処理の流れ図であり、図7に続
く流れ図である。
FIG. 8 is a flowchart of processing by a job starting unit, and is a flowchart continuing from FIG. 7.

【図9】ジョブ属性情報管理テーブルの例を示す図であ
る。
FIG. 9 is a diagram showing an example of a job attribute information management table.

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

1 ジョブ記述解析部 2 希望実行システム情報解析部 3 使用周辺装置情報解析部 5 実行システム判定部 6 システム資源情報管理部 7 他システム状態監視部 8 ジョブ属性情報管理部 9 ジョブ起動部 11  システム資源情報テーブル 12  ジョブ属性情報管理テーブル 13  ジョブ属性情報 19  システム状態テーブル 1 Job description analysis section 2 Desired Execution System Information Analysis Department 3 Peripheral device information analysis section 5 Execution system determination unit 6 System resource information management department 7 Other system status monitoring unit 8 Job attribute information management department 9 Job starting section 11 System resource information table 12 Job attribute information management table 13 Job attribute information 19 System status table

【図1】[Figure 1]

【図7】[Figure 7]

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数の計算機システムが共通の二次記憶装
置を共用するよう構成された疎結合計算機システムにお
けるジョブ実行計算機システム選択方式であって、前記
計算機システム各々の稼動状況及び負荷状況を格納する
システム状態テーブルと、前記計算機システム各々の構
成システム資源情報を格納するシステム資源情報テーブ
ルと、ジョブ実行時にこのジョブで使用する周辺装置を
解析する使用周辺装置情報解析手段と、前記ジョブの実
行時にそのジョブの実行を希望する希望実行システム情
報を解析する希望実行システム情報解析手段と、前記使
用周辺装置情報、前記希望実行システム情報、自システ
ムのシステム資源情報及びシステム状態情報に基き実行
可能な計算機システムを判定して実行システム情報を得
る実行システム判定手段と、前記実行システム情報に応
じて前記テーブルの対応情報を更新する情報管理部とを
含み、前記実行システム情報に応じてジョブの実行をな
すようにしたことを特徴とするジョブ実行計算機システ
ム選択方式。
1. A job execution computer system selection method in a loosely coupled computer system configured such that a plurality of computer systems share a common secondary storage device, wherein the operating status and load status of each of the computer systems is stored. a system status table for storing system resource information for each computer system; a system resource information table for storing configuration system resource information of each of the computer systems; a peripheral device information analysis means for analyzing peripheral devices used in this job when executing a job; a desired execution system information analysis means for analyzing information of a desired execution system on which the job is desired to be executed; and a computer capable of executing the job based on the used peripheral device information, the desired execution system information, the system resource information of the own system, and the system status information. an execution system determination unit that determines a system and obtains execution system information; and an information management unit that updates correspondence information in the table according to the execution system information, and executes a job according to the execution system information. A job execution computer system selection method characterized by:
JP40541890A 1990-12-05 1990-12-05 Job execution computer system selection system Pending JPH04209032A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP40541890A JPH04209032A (en) 1990-12-05 1990-12-05 Job execution computer system selection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP40541890A JPH04209032A (en) 1990-12-05 1990-12-05 Job execution computer system selection system

Publications (1)

Publication Number Publication Date
JPH04209032A true JPH04209032A (en) 1992-07-30

Family

ID=18515016

Family Applications (1)

Application Number Title Priority Date Filing Date
JP40541890A Pending JPH04209032A (en) 1990-12-05 1990-12-05 Job execution computer system selection system

Country Status (1)

Country Link
JP (1) JPH04209032A (en)

Similar Documents

Publication Publication Date Title
US7933995B2 (en) Computer program and apparatus for controlling computing resources, and distributed processing system
US5717950A (en) Input/output device information management system for multi-computer system
US5442785A (en) Method and apparatus for passing messages between application programs on host processors coupled to a record lock processor
US6044461A (en) Computer system and method of selectively rebooting the same in response to a system program code update
US20040078686A1 (en) Computer system, failure handling method, and computer program
US20070038885A1 (en) Method for operating an arrangement of a plurality of computers in the event of a computer failure
EP3951607A1 (en) Data reading method, data writing method, and server
JP4479284B2 (en) Management computer and system for setting up monitoring of computer system
US5485573A (en) Method and apparatus for assisting in the determination of the source of errors in a multi-host data base management system
US8918370B2 (en) Dynamic allocation of program libraries
US6009414A (en) Computer system with checkpoint facility and accounting facility indicating charges payable for processes
CN111031126B (en) Cluster cache sharing method, system, equipment and storage medium
US7086060B2 (en) Method for programmatic representation and enforcement of resource controls
US6487580B1 (en) Method and system for managing concurrently executable computer processes
EP0049521A2 (en) Information processing system
US20050086665A1 (en) Autonomous device driver
JPH04209032A (en) Job execution computer system selection system
JPH04372023A (en) Automatic selection system for job execution system
CN107704399B (en) Method and device for storing data
JP2010009288A (en) Multiprocessor system and program execution method
JPH05225157A (en) Automatic selection system for job execution system
JPH03255569A (en) Automatic selecting method for job executing system
JPH0962493A (en) Software installation system
JPH04165455A (en) Automatic selection system for job execution system
JPH04113446A (en) Automatic selection system for job execution system