JPH04165455A - Automatic selection system for job execution system - Google Patents

Automatic selection system for job execution system

Info

Publication number
JPH04165455A
JPH04165455A JP29331990A JP29331990A JPH04165455A JP H04165455 A JPH04165455 A JP H04165455A JP 29331990 A JP29331990 A JP 29331990A JP 29331990 A JP29331990 A JP 29331990A JP H04165455 A JPH04165455 A JP H04165455A
Authority
JP
Japan
Prior art keywords
job
information
execution system
computer system
storage device
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
JP29331990A
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 JP29331990A priority Critical patent/JPH04165455A/en
Publication of JPH04165455A publication Critical patent/JPH04165455A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Multi Processors (AREA)

Abstract

PURPOSE:To prevent an error from occurring and to lighten the load on a user by automatically selecting an executable computer system according to system resource information on each computer system, used peripheral device information of a job, and desired execution system information. CONSTITUTION:An execution system decision part 5 decides the executable computer system according to the used peripheral device information obtained by a used peripheral device information analysis part 3, the system resource information set on a secondary storage device 11, and the desired execution system information obtained by a desired execution system information analysis part 2, and a system state monitor part 7 monitors the operation states and load states of the respective computer systems which are held on a secondary storage device 19; and an attribute information control part 8 registers job attribute information on a secondary storage device 12 and a job start part 9 selects and starts a job that its computer system can execute according to the job attribute information. Consequently, the job can be executed by the computer system which is usable while the peripheral device is incorporated without fail.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はジョブ実行システム自動選択方式に関し、特に
疎結合計算機システムにおけるジョブ実行システム自動
選択方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an automatic job execution system selection method, and particularly to an automatic job execution system selection method in a loosely coupled computer system.

〔従来の技術〕[Conventional technology]

従来の疎結合計算機システムは、ジョブ投入時に実行シ
ステム指定ジョブ制御文により指示された希望実行シス
テム情報(ジョブを実行させたい計算機システムを指す
システム番号、またはシステム資源の有効利用のために
負荷分散させたい場合はどの計算機システムで実行させ
てもよい旨を示す情報)を含むジョブ属性情報を複数の
計算機システム間で共用できる二次記憶装置上に保持し
、このジョブ属性情報を基にそれぞれの計算機システム
で実行可能なジョブを選択して起動することにより、複
数の計算機システム間でのジョブ実行制御を可能としシ
ステム資源の有効利用をlることができるスプーリング
共用機能を有している。
In conventional loosely coupled computer systems, desired execution system information (system number indicating the computer system on which the job is to be executed, or load balancing for effective use of system resources) is specified by an execution system specification job control statement when a job is submitted. job attribute information, including information indicating that it can be executed on any computer system if the job is desired, is held on a secondary storage device that can be shared among multiple computer systems, and each computer It has a spooling sharing function that enables job execution control between multiple computer systems and effective use of system resources by selecting and activating executable jobs on the system.

さらに、従来の疎結合計算機システムは、各計算機シス
テムの稼働状況および負荷状況を複数の計算機システム
間で共用できる二次記憶装置上に保持し、かつ各計算機
システムのシステム資源情報を各計算機システム毎の主
記憶装置上と複数の計算機システム間で共用できる二次
記憶装置上に保持している。
Furthermore, conventional loosely coupled computer systems maintain the operating status and load status of each computer system on a secondary storage device that can be shared among multiple computer systems, and also store system resource information for each computer system on a secondary storage device that can be shared among multiple computer systems. It is held on the main memory of the computer and on a secondary memory that can be shared among multiple computer systems.

(発明が解決しようとする!1題〕 上述した従来の疎結合計算機システムでは、ジョブ属性
情報に含まれる希望実行システム情報のみに基づいて各
計算機システムのジョブ起動部が自計算機システムで実
行可能なジョブを選択し起動しているので、投入された
ジョブがある計算機システムでは組み込まれていないか
または使用不可能な状態にある周辺装置を使用するジョ
ブであり、かつ希望実行システム情報に設定された計算
機システムがジョブで使用する周辺装置が組み込まれて
いないかまたは使用不可能な状態にあったときに、その
計算機システムでそのジョブが起動されるとエラーにな
るという欠点がある。
(Problem to be solved by the invention!) In the conventional loosely coupled computer system described above, the job starting part of each computer system can be executed by its own computer system based only on the desired execution system information included in the job attribute information. Since the job is selected and started, the submitted job uses a peripheral device that is not installed or cannot be used in the computer system, and is set in the desired execution system information. This method has the disadvantage that if a computer system does not have a peripheral device installed in the computer system or a peripheral device used in the job is not installed or is in an unusable state, an error will occur if the computer system starts the job.

また、投入されたジョブがある計算機システムでは組み
込まれていないかまたは使用不可能な状態にある周辺装
置を使用するジョブであり、かつ希望実行システム情報
がそのジョブを負荷分散の対象としどの計算機システム
で実行させてもよい旨を示していたために自計算機シス
テムにおいてそのジョブの実行が可能であると判断した
ある計算機システムにジョブで使用する周辺装置が組み
込まれていないかまたは使用不可能な状態にあったとき
に、その計算機システムでそのジョブが起動されるとエ
ラーになるという欠点がある。
In addition, if the submitted job uses a peripheral device that is not installed or cannot be used in the computer system, and the desired execution system information indicates that the job is the target of load balancing, the computer system A computer system that was determined to be capable of executing the job because the computer system indicated that the job could be executed does not have the peripheral device installed in the job or is in an unusable state. The disadvantage is that an error will occur if the job is started on that computer system.

上述のような事態を避けるためには、利用者が疎結合計
算機システムを構成する各計算機システムにおける周辺
装置の構成情報や各周辺装置の状態を知ったうえで、実
行システム指定ジョブ制御文により、その周辺装置が組
み込まれかつ使用可能な状態にある計算機システムを指
定しなければならないという欠点がある。
In order to avoid the above situation, the user should know the configuration information and status of each peripheral device in each computer system that makes up the loosely coupled computer system, and then use the job control statement specified by the execution system to This method has the disadvantage that it is necessary to specify a computer system in which the peripheral device is installed and available for use.

さらに、ある計算機システムが稼働していない場合や負
荷が大きい場合には、その計算機システムで実行するよ
うに設定されたジョブは、その計算機システムの状態が
回復するまでその実行を長時間待たされてしまうという
欠点がある。
Furthermore, if a computer system is not running or has a heavy load, jobs set to be executed on that computer system may have to wait for a long time until the computer system recovers. It has the disadvantage of being stored away.

本発明の目的は、上述の点に鑑み、疎結合計算機システ
ムを構成する各計算機システムのシステム資源情報、ジ
ョブの使用周辺装置情報および希望実行システム情報を
基に実行可能な計算機システムを自動的に選択できるよ
うにして、使用する周辺装置が組み込まれていないかま
たは使用不可能な状態にある計算機システムでジョブを
実行させることによるエラーの発生を防止し、利用者の
負担を軽減し、さらに特定の計算機システムの異常時に
自動的に他の計算機システムでその実行を行わせるよう
にしたジョブ実行システム自動選択方式を捷供すること
にある。
In view of the above points, an object of the present invention is to automatically create an executable computer system based on system resource information of each computer system that constitutes a loosely coupled computer system, information on peripheral devices used by a job, and desired execution system information. By making it possible to select the desired peripheral device, it is possible to prevent errors caused by executing a job on a computer system that does not have the peripheral device installed or is not available, reduce the burden on the user, and further identify An object of the present invention is to provide an automatic job execution system selection method that automatically causes a job to be executed by another computer system when an abnormality occurs in a computer system.

〔11題を解決するための手段〕 本発明のジョブ実行システム自動選択方式は、ジップ投
入時に実行システム指定ジョブ制御文により指示された
実行システム情報を含むジョブ属性情報を複数の計算機
システム間で共用できる二次記憶装置上に保持してこの
ジョブ属性情報を基にそれぞれの計算機−,・ステムで
実行可能なジョブを選択して起動することにより複数の
計算機システム間でのジョブ実行制御を可能としシステ
ム資源の有効利用を図ることができるスプーリング共用
機能を持ち、各計算機システムの稼働状況および負荷状
況を複数の計算機システム間で共用できる二次記憶装置
上に保持し、かつ各計算機システムのシステム資源情報
を各計算機システム毎の王記憶装置上と複数の計算機シ
ステム間で共用できる二次記憶H上に保持している疎結
合計算機システムにおいて、前記計算機システムの立上
げ時および運転時に前記システム資源情報を主記憶装置
上のシステム資源情報領域および複数の計算機システム
間で共用できる二次記憶装置上に設定するシステム資源
情報管理部と、ジョブで使用する周辺装置を解析する使
用周辺装置情報解析部と、前記実行システム指定ジョブ
制御文を解析し2希望実行システム情報を得る希望実行
システム情報解析部と、前記使用周辺装置情報解析部に
よって得られた使用周辺装置情報、前記二次記憶装置上
に設定されたシステム資源情報および前記希望実行シス
テム情報解析部によって得られた希望実行システム情報
を基に実行可能な計算機システムを判定して実行システ
ム情報を得る実行システム判定部と、前記二次記憶装置
上に保持された各計算機システムの稼働状況および負荷
状況を監視し、てジョブ属性情報管理部に通知するシス
テム状態監視部と、前記実行システム判定部によって得
られた前記実行システム情報、前記使用周辺装置情報お
よび前記希望実行システム情報を含むジョブ属性情報を
前記二次記憶装置上に登録してジョブ登録通知をジョブ
起動部に送り、前記システム状態監視部からの通知によ
り前記二次記憶装置上に登録したジョブ属性情報に含ま
れる実行システム情報を更新および回復する前記ジョブ
属性情報管理部と、このジョブ属性情報管理部によって
前記二次記憶装置上に登録され管理されているジョブ属
性情報を基に自計算機システムで実行可能なジョブを選
択して起動する前記ジョブ起動部とを有する。
[Means for Solving Problem 11] The job execution system automatic selection method of the present invention shares job attribute information including execution system information specified by an execution system specification job control statement at the time of zip submission among multiple computer systems. Job execution can be controlled between multiple computer systems by selecting and starting jobs that can be executed on each computer system based on this job attribute information. It has a spooling sharing function that enables effective use of system resources, and maintains the operating status and load status of each computer system on a secondary storage device that can be shared among multiple computer systems. In a loosely coupled computer system in which resource information is held on a storage device for each computer system and on a secondary storage H that can be shared among multiple computer systems, the system resources are stored during startup and operation of the computer system. A system resource information management section that sets information in the system resource information area on the main memory and a secondary storage device that can be shared among multiple computer systems, and a used peripheral device information analysis section that analyzes peripheral devices used in jobs. , a desired execution system information analysis unit that analyzes the execution system specified job control statement and obtains desired execution system information; and peripheral device information in use obtained by the peripheral device information analysis unit in use, on the secondary storage device. an execution system determination unit that determines an executable computer system based on the set system resource information and the desired execution system information obtained by the desired execution system information analysis unit and obtains execution system information; and the secondary storage device. a system status monitoring unit that monitors the operating status and load status of each computer system maintained above and notifies the job attribute information management unit; and the execution system information obtained by the execution system determination unit, and the usage surroundings. Job attribute information including device information and the desired execution system information is registered on the secondary storage device, a job registration notification is sent to the job starting unit, and job attribute information including the device information and the desired execution system information is registered on the secondary storage device based on a notification from the system status monitoring unit. The job attribute information management unit updates and restores the execution system information included in the registered job attribute information, and the job attribute information is registered and managed on the secondary storage device by the job attribute information management unit. The job starting unit selects and starts a job that can be executed by the own computer system.

〔作用〕[Effect]

本発明のジョブ実行システム自動選択方式では、システ
ム資源情報管理部が計算機システムの立上げ時および運
転時にシステム資源情報を主記憶装置上のシステム資源
情報領域および複数の計算機システム間で共用できる二
次記憶装置上に設定し、使用周辺装置情報解析部がジッ
プで使用する周辺装置を解析し、希望実行システム情報
解析部が実行システム指定ジョブ制御文を解析し希望実
行システム情報を得、実行システム判定部が使用周辺装
置情報解析部によって得られた使用周辺装置情報4二次
記憶装置上に設定されたシステム資源情報および希望実
行システム情報解析部によって得られた希望実行システ
ム情報を基に実行可能な計算機システムを判定して実行
システム情報を得、システム状態監視部が二次記憶装置
上に保持された各計算機システムの稼働状況および負荷
状況を監視してジョブ属性情報管理部に通知し、ジョブ
属性情報管理部が実行システム判定部によって得られた
実行システム情報、使用周辺装置情報および希望実行シ
ステム情報を含むジョブ属性情報を二次記憶装置上に登
録してジョブ登録通知をジョブ起動部に送り、システム
状態監視部からの通知により二次記憶装置上に登録した
ジョブ属性情報に含まれる実行システム情報を更新およ
び回復し、ジョブ起動部がジョブ属性情報管理部によっ
て二次記憶装置上に登録され管理されているジョブ属性
情報を基に自計算機システムで実行可能なジョブを選択
して起動する。
In the job execution system automatic selection method of the present invention, the system resource information management unit stores system resource information in the system resource information area on the main storage device and in the secondary storage area that can be shared among multiple computer systems during startup and operation of the computer system. Set on the storage device, the used peripheral device information analysis section analyzes the peripheral devices used by ZIP, the desired execution system information analysis section analyzes the execution system specified job control statement, obtains the desired execution system information, and determines the execution system. Information on peripheral devices in use obtained by the peripheral device information analysis section (4) System resource information set on the secondary storage device and desired execution system information obtained by the desired execution system information analysis section. The computer system is determined and the execution system information is obtained, and the system status monitoring unit monitors the operating status and load status of each computer system held on the secondary storage device and notifies the job attribute information management unit to determine the job attributes. The information management unit registers job attribute information including execution system information, usage peripheral device information, and desired execution system information obtained by the execution system determination unit on the secondary storage device, and sends a job registration notification to the job activation unit; The execution system information included in the job attribute information registered on the secondary storage device is updated and recovered based on the notification from the system status monitoring section, and the job starting section is registered on the secondary storage device and managed by the job attribute information management section. Select and launch a job that can be executed on the own computer system based on the job attribute information provided.

〔実施例〕〔Example〕

次に、本発明について図面を参照して詳細に説明する。 Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例に係るジョブ実行システム
自動選択方式の構成を示すブロック図である。本実施例
のジョブ実行システム自動選択方式は、ジョブ記述解析
部1と、実行システム判定部5と、システム資源情報管
理部6と、システム状態監視部7と、ジョブ属性情報管
理部8と、ジョブ起動部9と、システム資源情報領域1
0と、システム資源情報テーブル11と、ジョブ属性情
報管理テーブル12と、システム状態テーブル19と、
ジョブ入力部20と、実行管理部21とから、その主要
部が構成されている。
FIG. 1 is a block diagram showing the configuration of an automatic job execution system selection method according to an embodiment of the present invention. The job execution system automatic selection method of this embodiment includes a job description analysis unit 1, an execution system determination unit 5, a system resource information management unit 6, a system status monitoring unit 7, a job attribute information management unit 8, and a job execution system determination unit 5. Starting unit 9 and system resource information area 1
0, a system resource information table 11, a job attribute information management table 12, a system status table 19,
Its main parts are composed of a job input section 20 and an execution management section 21.

ジョブ記述解析部1は、希望実行システム情報解析部2
と、使用周辺装置情報解析部3と、その他ジョブ記述解
析部4とから構成されている。
The job description analysis section 1 includes the desired execution system information analysis section 2.
, a peripheral device information analysis section 3, and a job description analysis section 4.

ジョブ属性情報管理テーブル12は、起動待ちまたは実
行中である各ジョブのジョブ属性情報13を保持する各
エントリから構成されている。
The job attribute information management table 12 is made up of entries that hold job attribute information 13 for each job that is waiting to be started or is being executed.

ジョブ属性情報13は、希望実行システム情報14と、
実行可能システム情報15と、実行システム情報16と
、使用周辺装置情報17と、ジョブステータス18とを
含んで構成されている。
The job attribute information 13 includes desired execution system information 14,
It is configured to include executable system information 15, execution system information 16, used peripheral device information 17, and job status 18.

さらに、第2図に示すように、二次記憶装置を複数の計
算機システム間で共用して疎結合計算機システムを構成
し、システム資源情報テーブル11と、ジョブ属性情報
管理テーブル12と、システム状態テーブル19とを複
数の計算機システム間で共用している二次記憶装置上に
保持している。
Furthermore, as shown in FIG. 2, a secondary storage device is shared among a plurality of computer systems to configure a loosely coupled computer system, and a system resource information table 11, a job attribute information management table 12, and a system status table are stored. 19 is held on a secondary storage device shared among multiple computer systems.

ナオ、m(自然数)は0計算機システムのシステム番号
を、n (自然数)は他の任意の計算機システムのシス
テム番号をそれぞれ示しているものとする。
It is assumed that m (natural number) indicates the system number of the 0 computer system, and n (natural number) indicates the system number of any other computer system.

第3図は、実行システム指定ジョブ制御文(sNEED
文)の構文およびSYSTEMパラメータの意味を示す
図である。ここで、SYSTEMパラメータ値k (自
然数)は、ジョブを実行さセる計算機システム(希望実
行システム)のシステム番号を示している。また、SY
STEMパラメータ値ANYは、ジョブをどの計算機シ
ステムで実行させてもよいことを示している。
Figure 3 shows the execution system specified job control statement (sNEED).
FIG. 3 is a diagram showing the syntax of a sentence (text) and the meaning of SYSTEM parameters. Here, the SYSTEM parameter value k (natural number) indicates the system number of the computer system (desired execution system) that executes the job. Also, S.Y.
The STEM parameter value ANY indicates that the job may be executed on any computer system.

第4図を参照すると、希望実行システム情報解析部2の
処理は、SYSTEMパラメータ有無判定ステップ40
1と、パラメータ値取得ステップ402と、システム番
号またはANY判定ステップ403と、パラメータ値希
望実行システム情報設定ステップ404とからなる。
Referring to FIG. 4, the process of the desired execution system information analysis unit 2 includes a SYSTEM parameter presence/absence determination step 40.
1, a parameter value acquisition step 402, a system number or ANY determination step 403, and a parameter value desired execution system information setting step 404.

第5図を参照すると、実行システム判定部5の処理は、
全実行可能システム検索および実行可能システム情報設
定ステップ501と、実行可能システム数判定ステンプ
502と、実行可能システム情報実行システム情報設定
ステップ503と、希望実行システム情報特定システム
番号判定ステップ504と、希望実行システム情報の実
行可能システム情報判定ステップ505と、花望実行シ
ステム情報実行システム情報設定ステップ506と、実
行可能システム情報実行システム情報設定ステップ50
7と、ジョブ削除ステップ508と、利用者通知ステッ
プ509とからなる。
Referring to FIG. 5, the processing of the execution system determination unit 5 is as follows:
All executable system search and executable system information setting step 501, Executable system number determination step 502, Executable system information execution system information setting step 503, Desired execution system information specific system number determination step 504, Desired execution System information executable system information determination step 505, Hanamou execution system information execution system information setting step 506, executable system information execution system information setting step 50
7, a job deletion step 508, and a user notification step 509.

第6図を参照すると、システム状態監視部7の処理は、
各計算機システム稼働状況取得ステップ601と、シス
テムn稼働判定ステップ602と、システムn過負荷状
態判定ステップ603と、システムn異常発生通知ステ
ップ604と、システムn正常稼働通知ステップ605
とからなる。
Referring to FIG. 6, the processing of the system status monitoring unit 7 is as follows:
Each computer system operation status acquisition step 601, system n operation determination step 602, system n overload state determination step 603, system n abnormality notification step 604, system n normal operation notification step 605
It consists of

第7図を参照すると、ジョブ属性情報管理部8の処理は
、通知取得ステップ701と、通知種類判定ステップ7
02と、ジョブ属性情報ジョブ属性情報管理テーブル登
録ステップ703と、ジョブ登録通知ステップ704と
、起動待ちジョブ検索ステップ705と、実行システム
情報設定ステンプ706と、起動待ちジョブ検索ステッ
プ707と、実行可能システム情報および実行システム
情報再設定ステップ708とからなる。
Referring to FIG. 7, the processing of the job attribute information management unit 8 includes a notification acquisition step 701 and a notification type determination step 7.
02, job attribute information job attribute information management table registration step 703, job registration notification step 704, startup waiting job search step 705, execution system information setting step 706, startup waiting job search step 707, executable system information and execution system information resetting step 708.

第8図を参照すると、ジョブ起動部9の処理は、通知取
得ステップ801と、通知種類判定ステップ802と、
0計算機システム負荷余裕判定ステップ803と、実行
可能ジョブ登録判定ステンプ804と、自計算機システ
ム実行可能ジジブ選択ステップ805と、選択ジョブ起
動ステップ806と、ジョブステータス“実行中′設定
ステップ807と、多重度カウンタ1加算ステフブ80
8と、ジョブ属性情報削除ステップ809と、多重度カ
ウンタ1減算ステツプ81.0とからなる。
Referring to FIG. 8, the processing of the job starting unit 9 includes a notification acquisition step 801, a notification type determination step 802,
0 Computer system load margin determination step 803, Executable job registration determination step 804, Local computer system executable job selection step 805, Selected job startup step 806, Job status "Executing" setting step 807, Multiplicity Counter 1 addition step 80
8, a job attribute information deletion step 809, and a multiplicity counter subtraction step 81.0.

第9図は、ジョブ属性情報管理テーブル12の内容の一
例を示す図である。
FIG. 9 is a diagram showing an example of the contents of the job attribute information management table 12.

次に、このように構成された本実施例のジョブ実行シス
テム自動選択方式の動作について説明する。
Next, the operation of the job execution system automatic selection method of this embodiment configured as described above will be explained.

システム資源情報管理部6は、自計算機システム立上げ
時および自計算機システムの周辺装置の状態が変化した
ときに、自計算機システムのシステム資源情報を主記憶
装置上のシステム資源情報領域10および複数の計算機
システム間で共用している二次記憶装置上のシステム資
源情報テーブル11内の自計算機システム用の領域に設
定および更新する。
The system resource information management unit 6 stores the system resource information of the own computer system in the system resource information area 10 on the main storage device and the plurality of It is set and 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.

自計X@システムにジョブが投入されると、ジョブ入力
部20は、実行システム指定ジョブ制御文、ファイル定
義文1周辺装置割当て要求文等を含むジョブ記述を読み
取る。
When a job is submitted to the self-funding

ジョブ記述解析部1は、ジョブ入力部2oにより読み取
られたジョブ記述を、希望実行システム情報解析部2.
使用周辺装置情報解析部3およびその他ジョブ記述解析
部4とを用いて解析する。
The job description analysis section 1 inputs the job description read by the job input section 2o to the desired execution system information analysis section 2.
It is analyzed using the used peripheral device information analysis section 3 and other job description analysis section 4.

希望実行システム情報解析部2は、ジョブ記述中の実行
システム指定ジョブ制御文(S  NEED文)を解析
する。詳しくは、希望実行システム情報解析部2は、実
行システム指定ジョブ制御文にSYSTEMパラメータ
が指定されていれば(ステップ401) 、パラメータ
値を得て(ステップ402)、システム番号またはAN
Yであるかどうかに基づいてパラメータ値の正当性をチ
エツクしくステップ403)、パラメータ値をジョブ属
性情報13中の希望実行システム情報14に設定する(
ステップ4.04>。
The desired execution system information analysis unit 2 analyzes the execution system specified job control statement (S NEED statement) in the job description. Specifically, if the SYSTEM parameter is specified in the execution system specification job control statement (step 401), the desired execution system information analysis unit 2 obtains the parameter value (step 402) and enters the system number or AN
Check the validity of the parameter value based on whether it is Y (step 403), and set the parameter value in the desired execution system information 14 in the job attribute information 13 (
Step 4.04>.

使用周辺装置情報解析部3は、ジョブ記述中のファイル
定義文および周辺装置割当て要求文を解析し、ジョブの
実行に必要な周辺装置の装置タイプ等の使用周辺装置情
報を得て、ジョブ属性情報13中の使用周辺装置情報1
7に設定する。
The used peripheral device information analysis unit 3 analyzes the file definition statement and the peripheral device allocation request statement in the job description, obtains used peripheral device information such as the device type of the peripheral device necessary for job execution, and obtains job attribute information. Peripheral device information used in 13
Set to 7.

その他ジョブ記述解析部4は、実行システム指定ジョブ
制御文、ファイル定義文および周辺装置割当て要求文を
除いたジョブ記述を解析する。
The other job description analysis unit 4 analyzes the job description excluding execution system specification job control statements, file definition statements, and peripheral device allocation request statements.

ジョブ記述を全て解析すると、ジョブ記述解析部1は、
実行システム判定部5を呼び出す。
After analyzing all the job descriptions, the job description analysis unit 1 will:
The execution system determination unit 5 is called.

実行システム判定部5は、ジョブ属性情報13に実行可
能システム情報15と実行システム情報16とを設定す
る。詳しくは、実行システム判定部5は、まず使用周辺
装置情報17とシステム資源情報テーブル11中のシス
テム資源情報とに基づいてジョブの実行に必要な全ての
周辺装置が構成されていて使用可能な状態にある計算機
システム、すなわちジョブの実行が可能な計算機システ
ムを全て検索し、そのシステム番号を実行可能システム
情報15に設定する(ステップ501)。
The execution system determination unit 5 sets executable system information 15 and execution system information 16 in the job attribute information 13. Specifically, the execution system determination unit 5 first determines whether all the peripheral devices necessary for executing the job are configured and usable based on the used peripheral device information 17 and the system resource information in the system resource information table 11. , all computer systems that can execute the job are searched for, and their system numbers are set in the executable system information 15 (step 501).

次に、実行システム判定部5は、実行可能な計算機シス
テムの数を判定する(ステップ502)。
Next, the execution system determining unit 5 determines the number of executable computer systems (step 502).

実行可能な計算機システムが1つであれば、実行システ
ム判定部5は、検索された計算機システムのシステム番
号を実行システム情報16に設定する(ステップ503
)、実行可能な計算機システムが複数であれば、実行シ
ステム判定部5は、希望実行システム情報14に特定の
システム番号が設定されているかANYが設定されてい
るかを判定する(ステップ504)、特定のシステム番
号が設定されていれば、実行システム判定部5は、希望
実行システム情報14が実行可能システム情報15に含
まれているか否かを判定する(ステップ505)。希望
実行システム情報14が実行可能システム情報15に含
まれていれば、実行システム判定部5は、希望実行シス
テム情報14を実行システム情報16に設定しくステッ
プ506)、含まれていなければ、実行可能システム情
報15の全てを実行システム情報16に設定しくステッ
プ507)、負荷分散の対象とする。ステップ504で
、希望実行システム情報14にANYが設定されていれ
ば、実行システム判定部5は、実行可能システム情報1
5の全てを実行システム情報16に設定しくステップ5
07)、負荷分散の対象とする。ステップ502で、実
行可能な計算機システムが1つもなければ、実行システ
ム判定部5は、エラーとして当該ジョブを削除しくステ
ップ508)、その旨を利用者に通知する(ステップ5
09)。
If there is one executable computer system, the execution system determination unit 5 sets the system number of the searched computer system in the execution system information 16 (step 503
), if there is a plurality of executable computer systems, the execution system determination unit 5 determines whether a specific system number or ANY is set in the desired execution system information 14 (step 504). If the system number is set, the execution system determining unit 5 determines whether the desired execution system information 14 is included in the executable system information 15 (step 505). If the desired execution system information 14 is included in the executable system information 15, the execution system determination unit 5 sets the desired execution system information 14 in the execution system information 16 (step 506); if the desired execution system information 14 is not included, it is set as executable system information 15. All of the system information 15 is set in the execution system information 16 (step 507), and is subject to load distribution. In step 504, if ANY is set in the desired execution system information 14, the execution system determination unit 5 determines that the executable system information 1
Step 5: Set all of 5 to execution system information 16.
07), subject to load balancing. In step 502, if there is no executable computer system, the execution system determination unit 5 deletes the job as an error (step 508), and notifies the user to that effect (step 508).
09).

ジョブ記述解析部1は、実行可能システム情報15と実
行システム情報16とを設定させることによりジョブ属
性情報13が整うと、ジョブ属性情報管理部8にジョブ
入力通知を送りジョブ属性情報13を渡す。
When the job description analysis unit 1 completes the job attribute information 13 by setting the executable system information 15 and the execution system information 16, it sends a job input notification to the job attribute information management unit 8 and passes the job attribute information 13 thereto.

システム状態監視部7は、定期的にシステム状態テーブ
ル19より各計算機システムの稼働状況を得て(ステッ
プ601)、計算機システムnが稼働していない場合(
ステップ602)、または計算機システムnが過負荷状
態である場合(ステップ603)、システムn異常発生
通知をジョブ属性情報管理部8に送る(ステップ604
)、−方、計算機システムnが稼働していて負荷状況に
余裕がある場合、システム状態監視部7は、システムn
正常稼働通知をジョブ属性情報管理部8に送る (ステ
ップ605)。
The system status monitoring unit 7 periodically obtains the operating status of each computer system from the system status table 19 (step 601), and if computer system n is not operating (
Step 602), or if computer system n is overloaded (step 603), a system n abnormality occurrence notification is sent to the job attribute information management unit 8 (step 604).
), - On the other hand, if the computer system n is operating and there is sufficient load, the system status monitoring unit 7
A normal operation notification is sent to the job attribute information management section 8 (step 605).

ジョブ属性情報管理部8は、通知を受けると(ステップ
701)、通知の種類を判定する(ステップ702)。
Upon receiving the notification (step 701), the job attribute information management unit 8 determines the type of notification (step 702).

ジョブ入力通知であれば、ジョブ属性情報管理部8は、
ジョブ属性情報13をジョブ属性情報管理テーブル12
に登録しくステップ703)、ジョブ登録通知をジョブ
起動部9に送る(ステップ704)。
If it is a job input notification, the job attribute information management unit 8
The job attribute information 13 is stored in the job attribute information management table 12.
(Step 703), and sends a job registration notification to the job starting unit 9 (Step 704).

システムn異常発生通知であれば、ジョブ属性情報管理
部8は、ジョブ属性情報管理テーブル】2から実行シス
テム情報16にシステム番号nを含む1つまたは複数の
システム番号が設定され実行可能システム情報15にシ
ステム番号nを含む複数のシステム番号が設定されてい
てかつジョブテータス18が“起動待ち”であるジョブ
属性情111113を全て検索しくステップ705)、
m索したジョブ属性情報13中のシステム番号nを除く
実行可能ソステム情報15を実行システム情報16に設
定する(ステップ706)6次に、ジョブ属性情報管理
部8は、変更した実行システム情報16を含むジョブ属
性情報】3をジョブ属性情報管理テーブル12に登録し
くステップ703)、ジョブ登録通知をジョブ起動部9
に送る(ステップ704)。
If it is a system n abnormality occurrence notification, the job attribute information management unit 8 sets one or more system numbers including the system number n in the execution system information 16 from the job attribute information management table [2] and executes the executable system information 15. Step 705) to search for all job attribute information 111113 in which multiple system numbers including system number n are set in , and job status 18 is "waiting to start".
The executable system information 15 excluding the system number n in the searched job attribute information 13 is set as the execution system information 16 (step 706) 6 Next, the job attribute information management unit 8 sets the changed execution system information 16. 3 in the job attribute information management table 12 (step 703), and the job registration notification is sent to the job starting unit 9.
(step 704).

システムn正常稼働通知であれば、ジョブ属性情報管理
部8は、ジョブ属性情報管理テーブル12から実行可能
システム情*15にシステム番号nを含む複数のシステ
ム番号が設定されていてかつジョブテータス18が“起
動待ち“であるジョブ属性情報13を全て検索しくステ
ップ707)、実行システム判定部5を呼び出しその機
能を用いて当該ジョブ属性情報13中の実行可能システ
ム情報15と実行システム情報16とを再設定する(ス
テップ708)。次に、ジョブ属性情報管理部8は、再
設定した実行可能システム情報15と実行システム情報
16とを含む当該ジョブ属性情報工3をジョブ属性情報
管理テーブル12に登録しくステップ703)、ジョブ
登録通知をジョブ起動部9に送る(ステップ704)。
If it is a system n normal operation notification, the job attribute information management unit 8 determines that multiple system numbers including the system number n are set in the executable system information *15 from the job attribute information management table 12, and the job status 18 is To search all the job attribute information 13 that is "waiting to start" (Step 707), call the execution system determination unit 5 and use its function to re-read the executable system information 15 and execution system information 16 in the job attribute information 13. settings (step 708). Next, the job attribute information management unit 8 registers the job attribute information module 3 including the reset executable system information 15 and execution system information 16 in the job attribute information management table 12 (Step 703), and notifies the job registration. is sent to the job starting unit 9 (step 704).

ジョブ起動部9は、通知を受は取ると(ステ。When the job starting section 9 receives the notification, the job starting section 9 receives the notification.

1801)−通知の種類を判定する(ステップ802)
、ジョブ登録通知であれば、ジョブ起動部9は、内部テ
ーブルより自計算機システムの負荷状況を得て自計算機
システムの負荷状況に余裕があり(ステップ803)、
さらにジョブ属性情報管理テーブル12に自計算機シス
テムで実行可能なジョブ、すなわち自計算機システムの
システム番号(m )が実行システム情報16に含まれ
かつジョブステータス18が“起動待ち”であるジョブ
が登録されていれば(ステップ804)、その中から適
当なジョブを選択する(ステップ805)、次に、ジョ
ブ起動部9は、選択したジョブを起動して実行管理部2
1にジョブ起動通知を送り(ステップ806)、起動し
たジョブのジョブステータス18を”実行中ゝにしくス
テップ807)、内部テーブル内の多重度カウンタを1
だけ増やす(ステップ808)。
1801) - Determine the type of notification (step 802)
, if it is a job registration notification, the job starting unit 9 obtains the load status of the own computer system from the internal table and determines that there is a margin in the load status of the own computer system (step 803);
Furthermore, jobs that can be executed on the own computer system, that is, jobs whose execution system information 16 includes the system number (m) of the own computer system and whose job status 18 is "waiting to start" are registered in the job attribute information management table 12. If so (step 804), an appropriate job is selected from among them (step 805).Next, the job starting unit 9 starts the selected job and executes it in the execution management unit 2.
1 (Step 806), changes the job status 18 of the started job to "Executing" (Step 807), and sets the multiplicity counter in the internal table to 1.
(step 808).

第9図に示すジョブ属性情報管理テーブル12の内容の
一例では、ジ5ブb、ジョブdおよびジョブeがジョブ
起動の選択対象になる。ここでは、ジョブbが選択され
て起動されたものとする。
In an example of the contents of the job attribute information management table 12 shown in FIG. 9, job 5 b, job d, and job e are selected for job activation. Here, it is assumed that job b has been selected and started.

また、実行管理部21よりジョブ終了通知を受は取ると
(ステップ802)、ジョブ起動部9は、当該ジョブの
ジョブ属性情報13をジョブ属性情報管理テーブル12
より削除しくステップ809)、内部テーブル内の多重
度カウンタを1だけ減らしくステップ810)、以下同
様にステップ803〜808の処理を行う。
Further, upon receiving the job completion notification from the execution management section 21 (step 802), the job starting section 9 transfers the job attribute information 13 of the job to the job attribute information management table 12.
More specifically, step 809) decrements the multiplicity counter in the internal table by 1 (step 810), and the following steps 803 to 808 are performed in the same manner.

(発明の効果〕 以上説明したように本発明は、ジョブ解析時に疎結合計
算機システムを構成する各計算機シスラムのシステム資
源情報、ジョブの使用周辺装置情報および希望実行シス
テム情報を基に実行システムを自動的に選択することに
より、以下の効果がある。
(Effects of the Invention) As explained above, the present invention automatically executes the execution system based on the system resource information of each computer system configuring the loosely coupled computer system, the peripheral device information used by the job, and the desired execution system information during job analysis. The following effects can be achieved by selectively selecting:

■ ある計算機シスラムには周辺装置が組み込まれてい
ない場合、あるいは使用不可能な状態にある周辺装置を
使用するジョブが投入された場合でも、必ずその周辺装
置が組み込まれかつ使用可能な状態にある計算機システ
ムでジョブを実行させることができる。
■ Even if a computer system does not have a peripheral device installed, or even if a job is submitted that uses an unusable peripheral device, the peripheral device will always be installed and available. Jobs can be executed on a computer system.

■ 利用者は、疎結合計算機システムを構成する各計算
機システムのシステム資源情報について知らなくても、
疎結合計算機システムを有効に利用することができる。
■ Even if users do not know the system resource information of each computer system that makes up a loosely coupled computer system, they can
A loosely coupled computer system can be used effectively.

■ ある計算機システムが稼働していない場合または負
荷が大きい場合でも、その計算機システムで実行するよ
うに設定されたジョブのジョブ属性情報を自動的に変更
することにより、他の実行可能な計算機システムで実行
させることができる。
■ Even if a computer system is not running or has a heavy load, the job attribute information of the job set to be executed on that computer system can be automatically changed so that it can be executed on other executable computer systems. can be executed.

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

第1図は本発明の一実施例に係るジョブ実行システム自
動選択方式の構成を示すブロック図、第2図は本実施例
のジョブ実行システム自動選択方式が適用された疎結合
計算機システムの一例を示す図、 第3図は実行システム指定ジョブ制御文の構文およびS
YSTEMパラメータの意味を示す図、第4図は第1図
中の希望実行システム情報解析部の処理を示す流れ図、 第5図は第1図中の実行システム判定部の処理を示す流
れ図、 第6回は第1図中のシステム状態監視部の処理を示す流
れ図、 第7図は第1図中のジョブ属性情報管理部の処理を示す
流れ図、 第8図は第1図中のジョブ起動部の処理を示す流れ図、 第9図は第1図中のジョブ属性情報管理テーブルの内容
の一例を示す図である。 図において、 1・・・ジョブ記述解析部、 2・・・希望実行システム情報解析部、3・・・使用周
辺装置情報解析部、 4・・・その他ジョブ記述解析部、 5・・・実行システム判定部、 6・・・システム資源情報管理部、 7・・・システム状態監視部、 8・・・ジョブ属性情報管理部、 9・・・ジョブ起動部、 10・・システム資源情報領域、 】1・・システム資源情報テーブル、 12・・ジョブ属性情報管理テーブル、】3・・ジョブ
属性情報、 14・・希望実行システム情報、 15・・実行可能システム情報、 16・・実行システム情報、 17・・使用周辺装置情報、 18・・ジョブステータス、 19・・システム状態テーブル、 20・・ジョブ入力部、 21・・実行管理部である。
FIG. 1 is a block diagram showing the configuration of an automatic job execution system selection method according to an embodiment of the present invention, and FIG. 2 shows an example of a loosely coupled computer system to which the automatic job execution system selection method of this embodiment is applied. Figure 3 shows the syntax of the execution system specified job control statement and the S
4 is a flowchart showing the processing of the desired execution system information analysis section in FIG. 1; FIG. 5 is a flowchart showing the processing of the execution system determination section in FIG. 1; 1 is a flowchart showing the processing of the system status monitoring section in FIG. 1, FIG. 7 is a flowchart showing the processing of the job attribute information management section in FIG. Flowchart showing the process. FIG. 9 is a diagram showing an example of the contents of the job attribute information management table in FIG. In the figure, 1... Job description analysis section, 2... Desired execution system information analysis section, 3... Used peripheral device information analysis section, 4... Other job description analysis section, 5... Execution system Judgment unit, 6... System resource information management unit, 7... System status monitoring unit, 8... Job attribute information management unit, 9... Job starting unit, 10... System resource information area, ]1 ... System resource information table, 12... Job attribute information management table, ]3... Job attribute information, 14... Desired execution system information, 15... Executable system information, 16... Execution system information, 17... Peripheral device information in use, 18.. Job status, 19.. System status table, 20.. Job input section, 21.. Execution management section.

Claims (1)

【特許請求の範囲】 ジョブ投入時に実行システム指定ジョブ制御文により指
示された実行システム情報を含むジョブ属性情報を複数
の計算機システム間で共用できる二次記憶装置上に保持
してこのジョブ属性情報を基にそれぞれの計算機システ
ムで実行可能なジョブを選択して起動することにより複
数の計算機システム間でのジョブ実行制御を可能としシ
ステム資源の有効利用を図ることができるスプーリング
共用機能を持ち、各計算機システムの稼働状況および負
荷状況を複数の計算機システム間で共用できる二次記憶
装置上に保持し、かつ各計算機システムのシステム資源
情報を各計算機システム毎の主記憶装置上と複数の計算
機システム間で共用できる二次記憶装置上に保持してい
る疎結合計算機システムにおいて、 前記計算機システムの立上げ時および運転時に前記シス
テム資源情報を主記憶装置上のシステム資源情報領域お
よび複数の計算機システム間で共用できる二次記憶装置
上に設定するシステム資源情報管理部と、 ジョブで使用する周辺装置を解析する使用周辺装置情報
解析部と、 前記実行システム指定ジョブ制御文を解析し希望実行シ
ステム情報を得る希望実行システム情報解析部と、 前記使用周辺装置情報解析部によって得られた使用周辺
装置情報、前記二次記憶装置上に設定されたシステム資
源情報および前記希望実行システム情報解析部によって
得られた希望実行システム情報を基に実行可能な計算機
システムを判定して実行システム情報を得る実行システ
ム判定部と、前記二次記憶装置上に保持された各計算機
システムの稼働状況および負荷状況を監視してジョブ属
性情報管理部に通知するシステム状態監視部と、前記実
行システム判定部によって得られた前記実行システム情
報、前記使用周辺装置情報および前記希望実行システム
情報を含むジョブ属性情報を前記二次記憶装置上に登録
してジョブ登録通知をジョブ起動部に送り、前記システ
ム状態監視部からの通知により前記二次記憶装置上に登
録したジョブ属性情報に含まれる実行システム情報を更
新および回復する前記ジョブ属性情報管理部と、このジ
ョブ属性情報管理部によって前記二次記憶装置上に登録
され管理されているジョブ属性情報を基に自計算機シス
テムで実行可能なジョブを選択して起動する前記ジョブ
起動部と を有することを特徴とするジョブ実行システム自動選択
方式。
[Claims] Job attribute information including execution system information specified by an execution system specification job control statement when a job is submitted is held in a secondary storage device that can be shared among multiple computer systems, and this job attribute information is stored. It has a spooling sharing function that enables job execution control between multiple computer systems by selecting and starting jobs that can be executed on each computer system based on the system, and making effective use of system resources. The operating status and load status of a computer system are maintained on a secondary storage device that can be shared among multiple computer systems, and the system resource information of each computer system is maintained on the main storage device of each computer system and between multiple computer systems. In a loosely coupled computer system, the system resource information is stored in the system resource information area on the main storage and between multiple computer systems during startup and operation of the computer system. A system resource information management unit that configures settings on a shared secondary storage device, a used peripheral device information analysis unit that analyzes peripheral devices used in a job, and a peripheral device information analysis unit that analyzes the execution system specified job control statement to obtain desired execution system information. Desired execution system information analysis section; Used peripheral device information obtained by the used peripheral device information analysis section, system resource information set on the secondary storage device, and desired execution system information analysis section obtained by the desired execution system information analysis section. an execution system determination unit that determines an executable computer system based on the execution system information and obtains execution system information; and an execution system determination unit that determines an executable computer system based on the execution system information, and monitors the operating status and load status of each computer system held on the secondary storage device and executes the job. A system status monitoring unit that notifies the attribute information management unit, and job attribute information including the execution system information, the used peripheral device information, and the desired execution system information obtained by the execution system determination unit, on the secondary storage device. the job attribute information that is registered in the secondary storage device, sends a job registration notification to the job starting unit, and updates and restores the execution system information included in the job attribute information registered on the secondary storage device based on the notification from the system status monitoring unit; a management unit; and a job activation unit that selects and activates a job executable on its own computer system based on job attribute information registered and managed on the secondary storage device by the job attribute information management unit. A job execution system automatic selection method characterized by:
JP29331990A 1990-10-29 1990-10-29 Automatic selection system for job execution system Pending JPH04165455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29331990A JPH04165455A (en) 1990-10-29 1990-10-29 Automatic selection system for job execution system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29331990A JPH04165455A (en) 1990-10-29 1990-10-29 Automatic selection system for job execution system

Publications (1)

Publication Number Publication Date
JPH04165455A true JPH04165455A (en) 1992-06-11

Family

ID=17793294

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29331990A Pending JPH04165455A (en) 1990-10-29 1990-10-29 Automatic selection system for job execution system

Country Status (1)

Country Link
JP (1) JPH04165455A (en)

Similar Documents

Publication Publication Date Title
US11593149B2 (en) Unified resource management for containers and virtual machines
CN107431696B (en) Method and cloud management node for application automation deployment
US7933995B2 (en) Computer program and apparatus for controlling computing resources, and distributed processing system
US9026655B2 (en) Method and system for load balancing
US20050034130A1 (en) Balancing workload of a grid computing environment
CN112910937B (en) Object scheduling method and device in container cluster, server and container cluster
JP2006058938A (en) Policy rule management supporting method and policy rule management supporting apparatus
JP6666555B2 (en) Information processing apparatus, job submission method, and job submission program
JP4336363B2 (en) Business process execution method, business process execution system, and program
KR102170720B1 (en) Apparatus and Method for Changing Status of Clustered Nodes, and recording medium recording the program thereof
US7086060B2 (en) Method for programmatic representation and enforcement of resource controls
JPH04165455A (en) Automatic selection system for job execution system
JP6506773B2 (en) INFORMATION PROCESSING APPARATUS, METHOD, AND PROGRAM
US10992534B2 (en) Forming groups of nodes for assignment to a system management server
JPH04372023A (en) Automatic selection system for job execution system
JPH04113446A (en) Automatic selection system for job execution system
JPH03255569A (en) Automatic selecting method for job executing system
JP2010009288A (en) Multiprocessor system and program execution method
JP4034201B2 (en) Computer resource utilization method and computer resource utilization method
JPH05225157A (en) Automatic selection system for job execution system
JPH0689191A (en) Control system for job step execution system
JPH0254338A (en) Automatic selection system for job execution system
CN117806815B (en) Data processing method, system, electronic device and storage medium
JPH02224056A (en) Automatic selecting system for job executing system
JP2009110195A (en) Information processing apparatus and system, information processing taking-over control method, and program