JP2000268011A - Distributed job execution system and program recording medium therefor - Google Patents

Distributed job execution system and program recording medium therefor

Info

Publication number
JP2000268011A
JP2000268011A JP11076129A JP7612999A JP2000268011A JP 2000268011 A JP2000268011 A JP 2000268011A JP 11076129 A JP11076129 A JP 11076129A JP 7612999 A JP7612999 A JP 7612999A JP 2000268011 A JP2000268011 A JP 2000268011A
Authority
JP
Japan
Prior art keywords
job
name
file
queue
host
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
JP11076129A
Other languages
Japanese (ja)
Inventor
Takeshi Murai
健 村井
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 Solution Innovators Ltd
Original Assignee
NEC Solution Innovators 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 NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP11076129A priority Critical patent/JP2000268011A/en
Publication of JP2000268011A publication Critical patent/JP2000268011A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To secure high reliability while mutually defining plural hosts as hot standby systems and not only to distribute a job to be executed but also to distribute an operating system itself. SOLUTION: This distributed job execution system is provided with plural hosts 1 and 2 and a file 3 shared by the respective hosts and the respective hosts partially charge processing of a job. In this case, a function for managing the processing of the inputted job is defined as plural moving units 11 and 21, a virtual host name for unique access from each host to each moving unit is set to this moving unit, the moving unit is moved to any arbitrary host and held and the processing of the above job is executed.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は分散ジョブ実行シス
テムおよびそのプログラム記録媒体に関し、特に実行す
るジョブを分散させるとともにジョブの実行を管理する
運用システムを分散化する分散ジョブ実行システムおよ
びそのプログラム記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a distributed job execution system and a program recording medium therefor, and more particularly to a distributed job execution system for distributing a job to be executed and an operation system for managing the execution of the job, and a program recording medium therefor. About.

【0002】[0002]

【従来の技術】複数のホストを相互にホットスタンバイ
の待機系として構成するシステムでは、実行するジョブ
を分散させたり、あるホストから他のホストにジョブを
引継ぐ手段が必要である。
2. Description of the Related Art In a system in which a plurality of hosts are mutually configured as a hot-standby standby system, it is necessary to disperse jobs to be executed and to take over a job from one host to another host.

【0003】たとえば特開平3−278238号公報に
よれば、2台のホストによる相互ホットスタンバイシス
テムは、それぞれのホストを稼動系とした場合に実行す
るジョブと稼動系ホストが異常のときに待機系ホストで
処理を引き継ぐためのジョブとを対にしたグループで構
成されている。そして、稼動系に異常が発生したとき
に、相手ホストの異常を検知し、あらかじめ定義されて
いる待機系ジョブにてジョブを引き継ぐ。しかしなが
ら、3台以上のホストを接続したシステムでは、3台目
のホストについて上記のグループの定義ができないの
で、ジョブを引き継ぐことができない。
For example, according to Japanese Patent Application Laid-Open No. 3-278238, a mutual hot standby system using two hosts is a job to be executed when each host is an active system and a standby system when an active host is abnormal. It is composed of a group that is paired with a job that takes over the processing on the host. Then, when an abnormality occurs in the active system, the abnormality of the partner host is detected, and the job is taken over by a standby job defined in advance. However, in a system in which three or more hosts are connected, the above group cannot be defined for the third host, so that the job cannot be taken over.

【0004】[0004]

【発明が解決しようとする課題】上記のように、従来の
ホットスタンバイシステムは、特に3台以上のホストが
存在する場合、円滑にジョブを引き継ぐことができない
という欠点がある。すなわち、多数のホストを接続して
もシステム全体の信頼性を向上させることが困難であっ
た。
As described above, the conventional hot standby system has a disadvantage that a job cannot be smoothly taken over, particularly when three or more hosts are present. That is, it is difficult to improve the reliability of the entire system even if a large number of hosts are connected.

【0005】本発明の目的は、複数のホストを相互にホ
ットスタンバイの待機系として高信頼性を確保するとと
もに、実行するジョブを分散させるだけでなく運用シス
テム自体も分散化させる分散ジョブ実行システムおよび
そのプログラム記録媒体を提供することにある。
[0005] It is an object of the present invention to provide a distributed job execution system which ensures high reliability of a plurality of hosts as a standby system of a hot standby system and distributes not only the jobs to be executed but also the operation system itself. It is to provide the program recording medium.

【0006】[0006]

【課題を解決するための手段】本発明の分散ジョブ実行
システムは、複数個のホストと前記ホストのそれぞれが
共用するファイルとを具備し各ホストが分担してジョブ
を処理する分散ジョブ実行システムにおいて、投入され
たジョブの処理を管理する機能を複数個の移動単位と
し、前記移動単位には各ホストからそれぞれの移動単位
に一意にアクセスするための仮想ホスト名を設定し、前
記移動単位を任意のホストに移動して保持し前記ジョブ
の処理を実行させるようにして構成される。
A distributed job execution system according to the present invention includes a plurality of hosts and a file shared by each of the hosts, wherein each host shares a job and processes the jobs. The function of managing the processing of the submitted job is set to a plurality of transfer units, a virtual host name for uniquely accessing each transfer unit from each host is set in the transfer unit, and the transfer unit is arbitrarily set. The host is moved to and held to execute the processing of the job.

【0007】また、本発明の分散ジョブ実行システム
は、複数個のホストと前記ホストのそれぞれが共用する
ファイルとを具備し各ホストが分担してジョブを処理す
る分散ジョブ実行システムにおいて、仮想ジョブキュー
名を付して投入されたジョブを名前解決部の指示に従っ
て該当のジョブキューに登録するジョブ受付部と、前記
ジョブ受付部から仮想ジョブキュー名を受取りあらかじ
め設定されている名前解決ファイルを参照して実ジョブ
キュー名を決定しそれを前記ジョブ受付部に通知する名
前解決部と、前記ジョブ受付部に指示されて登録するジ
ョブの実行指示内容を該当のジョブキューファイルに書
込むジョブキューと、前記ジョブキューファイルを読出
しその実行指示内容に従ってジョブを処理するジョブ実
行部とを備え、前記ジョブ受付部と前記名前解決部と前
記ジョブキューとは一個以上の移動単位として仮想ホス
ト名を付して任意のホストに保持するようにして構成さ
れている。
A distributed job execution system according to the present invention is a distributed job execution system comprising a plurality of hosts and a file shared by each of the hosts, wherein each host shares and processes a job. A job receiving unit that registers a job submitted with a name in a corresponding job queue according to an instruction of the name resolution unit, and receives a virtual job queue name from the job reception unit, and refers to a preset name resolution file. A name resolution unit that determines an actual job queue name and notifies the job reception unit of the actual job queue name; and a job queue that writes the execution instruction content of the job to be registered by being instructed by the job reception unit into a corresponding job queue file. A job execution unit that reads the job queue file and processes the job in accordance with the content of the execution instruction, Wherein the job accepting unit name resolution unit and the job queue are designated by the virtual host name as one or more mobile units are configured so as to hold any host.

【0008】さらに、本発明の分散ジョブ実行システム
において、前記名前解決ファイルは仮想ジョブキュー
名,実ジョブキュー名,ジョブキューファイル名,およ
び仮想ホスト名とを相互に対応づける対応テーブルを格
納している。
Further, in the distributed job execution system of the present invention, the name resolution file stores a correspondence table for associating a virtual job queue name, a real job queue name, a job queue file name, and a virtual host name with each other. I have.

【0009】また、本発明の分散ジョブ実行システムの
プログラム記録媒体は、外部から投入されるジョブを受
付けるステップと、前記ジョブに付された仮想ジョブキ
ュー名によって名前解決ファイルを検索し実ジョブキュ
ー名を決定するステップと、前記実ジョブキュー名によ
って前記名前解決ファイルを検索し仮想ホスト名を決定
するステップと、前記ジョブを該当のジョブキューに登
録するステップと、前記ジョブの実行指示内容を該当の
ジョブキューファイルに書込むステップと、前記実ジョ
ブキュー名によって前記名前解決ファイルを検索し該当
のジョブキューファイル名を決定するステップと、前記
ジョブキューファイル名を付されたジョブキューファイ
ルから該当のジョブの実行指示内容を読出すステップ
と、前記実行指示内容に従ってジョブを実行するステッ
プとを含む。
Further, the program recording medium of the distributed job execution system according to the present invention includes a step of receiving a job input from the outside, a step of retrieving a name resolution file by a virtual job queue name assigned to the job, and Determining a virtual host name by searching the name resolution file by the real job queue name, registering the job in a corresponding job queue, and Writing to a job queue file; searching the name resolution file by the actual job queue name to determine a corresponding job queue file name; and determining a corresponding job queue file from the job queue file given the job queue file name. Reading the execution instruction contents of the execution instruction; And performing a job in accordance with.

【0010】さらに、本発明の分散ジョブ実行システム
のプログラム記録媒体は、外部から投入されるジョブを
受付けるジョブ受付部が存在する仮想ホスト名を決定す
るステップを含む。
Further, the program recording medium of the distributed job execution system according to the present invention includes a step of determining a virtual host name in which a job receiving unit for receiving a job input from the outside exists.

【0011】また、本発明の分散ジョブ実行システムの
プログラム記録媒体は、複数個のホストと前記ホストの
それぞれが共用するファイルとを具備し各ホストが分担
してジョブを処理する分散ジョブ実行システムにおい
て、投入されたジョブの処理を管理する機能を複数個の
移動単位とし、前記移動単位には各ホストからそれぞれ
の移動単位に一意にアクセスするための仮想ホスト名を
設定し、前記移動単位を任意のホストに移動して保持し
前記ジョブの処理を実行させる。
A program recording medium for a distributed job execution system according to the present invention is a distributed job execution system in which a plurality of hosts and a file shared by each of the hosts are provided and each host shares a job to process the job. The function of managing the processing of the submitted job is set to a plurality of transfer units, a virtual host name for uniquely accessing each transfer unit from each host is set in the transfer unit, and the transfer unit is arbitrarily set. Is moved to the host, and the job is executed.

【0012】[0012]

【発明の実施の形態】以下、本発明について図面を参照
しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings.

【0013】図1は本発明の実施の第一の形態を示すブ
ロック図である。同図において、本発明による分散ジョ
ブ実行システムは仮想ジョブキュー名を付して投入され
たジョブを名前解決部の指示に従って該当のジョブキュ
ーに登録するジョブ受付部12と、前記ジョブ受付部か
ら仮想ジョブキュー名を受取りあらかじめ設定されてい
る名前解決ファイルを参照して実ジョブキュー名を決定
しそれを前記ジョブ受付部に通知する名前解決部14
と、前記ジョブ受付部に指示されて登録するジョブの実
行指示内容を該当のジョブキューファイルに書込むジョ
ブキュー13,22,および23と、前記ジョブキュー
ファイルを読出しその実行指示内容に従ってジョブを処
理するジョブ実行部15,および24とを備え、前記ジ
ョブ受付部と前記名前解決部と前記ジョブキューとは一
個以上の移動単位11,および21として仮想ホスト名
(VSAおよびVSB)を付して任意のホスト1,およ
び2に保持するようにして構成されている。さらに共用
ディスク3には、上記の名前解決ファイル32と、ジョ
ブキューファイル31,33,および34とが存在す
る。
FIG. 1 is a block diagram showing a first embodiment of the present invention. In the figure, a distributed job execution system according to the present invention includes a job receiving unit 12 for registering a job submitted with a virtual job queue name in a corresponding job queue in accordance with an instruction of a name resolution unit, and a virtual job queue from the job receiving unit. A name resolution unit that receives a job queue name, determines a real job queue name by referring to a name resolution file set in advance, and notifies the job reception unit of the name.
Job queues 13, 22, and 23 for writing the execution instruction contents of the job to be registered by being instructed by the job reception unit to the corresponding job queue file, and reading the job queue file and processing the job according to the execution instruction contents The job receiving unit, the name resolution unit, and the job queue are provided with virtual host names (VSA and VSB) as one or more transfer units 11 and 21, respectively. Are held in the hosts 1 and 2. Further, the shared disk 3 has the name resolution file 32 and the job queue files 31, 33, and 34.

【0014】すなわち、上記の分散ジョブ実行システム
は、ホスト1,2と各ホストからアクセス可能な共用デ
ィスク3とから構成されている。ここで、ホスト1,2
はそれぞれ移動単位11,21およびジョブ実行部1
5,24を含む。また、移動単位11はジョブ受付部1
2,ジョブキューA,名前解決部14を含む。さらに、
移動単位21はジョブキューB,Cを含む。
That is, the above-described distributed job execution system includes hosts 1 and 2 and a shared disk 3 accessible from each host. Here, host 1,2
Are the transfer units 11 and 21 and the job execution unit 1 respectively.
5,24. The transfer unit 11 is the job receiving unit 1
2, a job queue A, and a name resolution unit 14. further,
The transfer unit 21 includes job queues B and C.

【0015】上記のジョブ受付部12は、投入されたジ
ョブを正しいジョブキューに登録する。そしてジョブキ
ューA,B,Cは、登録されたジョブの実行指示内容を
それぞれジョブキューファイルA,B,Cに書き込む。
また、名前解決部14は名前解決ファイルを用いて、仮
想ジョブキュー名から実ジョブキュー名、実ジョブキュ
ー名から仮想ホスト名、ジョブキュー名からジョブキュ
ーファイルをそれぞれ決定する。さらに、ジョブ実行部
15は、ジョブキューファイルを読み取り、実行指示内
容にしたがってジョブを実行する。
The job receiving unit 12 registers the input job in a correct job queue. Then, the job queues A, B, and C write the registered job execution instruction contents into the job queue files A, B, and C, respectively.
The name resolution unit 14 uses the name resolution file to determine the real job queue name from the virtual job queue name, the virtual host name from the real job queue name, and the job queue file from the job queue name. Further, the job execution unit 15 reads the job queue file and executes the job according to the content of the execution instruction.

【0016】図2は上記の分散ジョブ実行システムの動
作を示す流れ図である。また、図3(a)は仮想ジョブ
キュー名−実ジョブキュー名対応テーブル、図3(b)
は実ジョブキュー名−仮想ホスト名−ジョブキューファ
イル名対応テーブルを示す説明図である。
FIG. 2 is a flowchart showing the operation of the above-described distributed job execution system. FIG. 3A shows a virtual job queue name-actual job queue name correspondence table, and FIG.
FIG. 8 is an explanatory diagram showing a real job queue name-virtual host name-job queue file name correspondence table.

【0017】まず、図2を参照すると、ジョブ受付部1
2において、投入ジョブの実行指示内容を内部メモリに
展開する(ステップA1)。次に、ジョブ受付部12に
おいて、実行指示内容から仮想ジョブキュー名を抽出す
る。そして名前解決部14において、名前解決ファイル
32から仮想ジョブキュー名を検索し(図3(a)参
照)、仮想ジョブキュー名に該当する実ジョブキュー名
を抽出する(ステップA2)。
First, referring to FIG. 2, the job receiving unit 1
In step 2, the contents of the execution instruction of the input job are developed in the internal memory (step A1). Next, the job receiving unit 12 extracts a virtual job queue name from the execution instruction content. Then, the name resolution unit 14 searches the name resolution file 32 for a virtual job queue name (see FIG. 3A), and extracts a real job queue name corresponding to the virtual job queue name (step A2).

【0018】さらに、名前解決部14において、名前解
決ファイル32から実ジョブキュー名を検索し(図3
(b)参照)、実ジョブキュー名に該当する仮想ホスト
名を抽出する(ステップA3)。仮想ホスト名と実ジョ
ブキュー名が解決できたので、仮想ホスト上の実ジョブ
キューにジョブを登録する(ステップA4)。
Further, the name resolving unit 14 retrieves the actual job queue name from the name resolving file 32 (FIG. 3).
(See (b)), a virtual host name corresponding to the real job queue name is extracted (step A3). Since the virtual host name and the real job queue name have been resolved, the job is registered in the real job queue on the virtual host (step A4).

【0019】実ジョブキューでは、ジョブの登録に当た
って、ジョブ受付部12において展開した実行指示内容
をジョブキューファイルに書き込み、ジョブ実行部15
(または24)にジョブの実行を要求する(ステップA
5)。
In the actual job queue, when registering a job, the contents of the execution instruction expanded in the job receiving unit 12 are written in a job queue file, and the job execution unit 15
(Or 24) to execute the job (step A).
5).

【0020】ジョブ実行部15(または24)では、要
求元ジョブキュー名からジョブキューファイル名の決定
を名前解決部14に要求する。名前解決部14では、名
前解決ファイル32からジョブキュー名を検索し(図3
(b)参照)、ジョブキュー名に該当するジョブキュー
ファイル名を抽出する(ステップA6)。次に、ジョブ
キューファイルからジョブの実行指示内容を読み込む
(ステップA7)。最後に、ジョブを実行する(ステッ
プA8)。
The job execution unit 15 (or 24) requests the name resolution unit 14 to determine a job queue file name from the requesting job queue name. The name resolution unit 14 searches for a job queue name from the name resolution file 32 (FIG. 3).
(See (b)), a job queue file name corresponding to the job queue name is extracted (step A6). Next, the job execution instruction is read from the job queue file (step A7). Finally, the job is executed (step A8).

【0021】具体的には、図3に示すように、投入ジョ
ブの実行指示内容として、仮想ジョブキュー名にVQB
が指定されたものとする。名前解決部14において、名
前解決ファイル32にある仮想ジョブキュー名−実ジョ
ブキュー名対応テーブル(図3(a)参照)から仮想ジ
ョブキュー名VQBを検索し、仮想ジョブキュー名VQ
Bに該当する実ジョブキュー名Bを抽出する。さらに、
名前解決ファイル32にある実ジョブキュー名−仮想ホ
スト名対応テーブル(図3(b)参照)から実ジョブキ
ュー名Bを検索し、実ジョブキュー名Bに該当する仮想
ホスト名VSBを抽出する。仮想ホスト名と実ジョブキ
ュー名が解決できたので、仮想ホスト名VSBのジョブ
キューBにジョブを登録する。
More specifically, as shown in FIG.
Is specified. The name resolving unit 14 searches the virtual job queue name VQB from the virtual job queue name-real job queue name correspondence table (see FIG. 3A) in the name resolution file 32, and retrieves the virtual job queue name VQ.
The real job queue name B corresponding to B is extracted. further,
The real job queue name B is searched from the real job queue name-virtual host name correspondence table (see FIG. 3B) in the name resolution file 32, and the virtual host name VSB corresponding to the real job queue name B is extracted. Since the virtual host name and the real job queue name have been resolved, the job is registered in the job queue B of the virtual host name VSB.

【0022】また、ジョブ実行にあたって、名前解決フ
ァイル32にあるジョブキュー名−ジョブキューファイ
ル名対応テーブル(図3(b)参照)からジョブキュー
名Bを検索し、ジョブキュー名Bに該当するジョブキュ
ーファイル名FBを抽出する。ジョブキューファイルF
Bからジョブの実行指示内容を読み込み、ジョブを実行
する。
In executing the job, the job queue name B is searched from the job queue name-job queue file name correspondence table (see FIG. 3B) in the name resolution file 32, and the job corresponding to the job queue name B is searched. Extract the queue file name FB. Job queue file F
The job execution instruction is read from B and the job is executed.

【0023】図4は本発明の実施の第二の形態を示すブ
ロック図である。同図において、本発明の分散ジョブ実
行システムは、ホスト1,2,4,5と各ホストからア
クセス可能な共用ディスク3とから構成されている。こ
こでホスト1,2はそれぞれ移動単位11,21および
ジョブ実行部15,24を含む。ホスト4,5はそれぞ
れ移動単位41,51を含む。また、移動単位11はジ
ョブキューAを含む。移動単位21はジョブキューB,
Cを含む。移動単位41はジョブ受付部を含む。移動単
位51は名前解決部を含む。
FIG. 4 is a block diagram showing a second embodiment of the present invention. Referring to FIG. 1, the distributed job execution system of the present invention includes hosts 1, 2, 4, and 5, and a shared disk 3 accessible from each host. Here, the hosts 1 and 2 include the transfer units 11 and 21 and the job execution units 15 and 24, respectively. Hosts 4 and 5 include transfer units 41 and 51, respectively. The transfer unit 11 includes the job queue A. The transfer unit 21 is a job queue B,
C. The transfer unit 41 includes a job receiving unit. The transfer unit 51 includes a name resolution unit.

【0024】ジョブ投入の際には、ジョブ受付部42の
仮想ホスト名を名前解決部52に問い合わせ、得られた
仮想ホスト上のジョブ受付部42にジョブを投入する。
ジョブ受付部42は、投入されたジョブを登録するジョ
ブキューを名前解決部52に問い合わせ、得られたジョ
ブキューにジョブを登録する。
When submitting a job, the virtual host name of the job receiving unit 42 is inquired to the name resolution unit 52, and a job is submitted to the obtained job receiving unit 42 on the virtual host.
The job receiving unit 42 inquires of the name resolution unit 52 about a job queue for registering the input job, and registers the job in the obtained job queue.

【0025】ジョブキューA,B,Cは、登録されたジ
ョブの実行指示内容をそれぞれジョブキューファイル
A,B,Cに書き込み、ジョブ実行部15(または2
4)にジョブ実行を指示する。ジョブ実行部15(また
は24)は、ジョブキューファイル名を名前解決部52
に問い合わせ、得られジョブキューファイルを読み取
り、実行指示内容にしたがってジョブを実行する。
The job queues A, B, and C write the registered job execution instructions into the job queue files A, B, and C, respectively, and execute the job execution unit 15 (or 2).
Instruct 4) to execute the job. The job execution unit 15 (or 24) converts the job queue file name into a name resolution unit 52
And reads the obtained job queue file, and executes the job in accordance with the contents of the execution instruction.

【0026】図5は上記の分散ジョブ実行システムの動
作を示すブロック図である。また、図6(a)はジョブ
受付仮想ホスト名指定テーブル、図6(b)は仮想ジョ
ブキュー名−実ジョブキュー名対応テーブル、図6
(c)は実ジョブキュー名−仮想ホスト名−ジョブキュ
ーファイル名対応テーブルを示す説明図である。
FIG. 5 is a block diagram showing the operation of the above-mentioned distributed job execution system. 6A shows a job reception virtual host name designation table, FIG. 6B shows a virtual job queue name-actual job queue name correspondence table, and FIG.
(C) is an explanatory diagram showing a real job queue name-virtual host name-job queue file name correspondence table.

【0027】まず、図5を参照すると、ジョブ投入の際
に、ジョブ受付部の存在する仮想ホスト名を名前解決部
52に問い合わせ(図6(a)参照)、得られた仮想ホ
ストVSC上のジョブ受付部42にジョブを投入する
(ステップB1)。そしてジョブ受付部42において、
投入ジョブの実行指示内容を内部メモリに展開する(ス
テップB2)。
First, referring to FIG. 5, when submitting a job, the virtual host name where the job receiving unit exists is inquired to the name resolution unit 52 (see FIG. 6A), and the obtained virtual host VSC A job is input to the job receiving unit 42 (step B1). Then, in the job receiving unit 42,
The content of the instruction to execute the input job is developed in the internal memory (step B2).

【0028】次に、ジョブ受付部42において、実行指
示内容から仮想ジョブキュー名を抽出する。続いて名前
解決部52において、名前解決ファイル32から仮想ジ
ョブキュー名を検索し(図6(b)参照)、仮想ジョブ
キュー名に該当する実ジョブキュー名を抽出する(ステ
ップB3)。
Next, the job accepting section 42 extracts a virtual job queue name from the contents of the execution instruction. Subsequently, the name resolution unit 52 searches the name resolution file 32 for a virtual job queue name (see FIG. 6B), and extracts a real job queue name corresponding to the virtual job queue name (step B3).

【0029】さらに、名前解決部52において、名前解
決ファイル32から実ジョブキュー名を検索し(図6
(c)参照)、実ジョブキュー名に該当する仮想ホスト
名を抽出する(ステップB4)。仮想ホスト名と実ジョ
ブキュー名が解決できたので、仮想ホスト上の実ジョブ
キューにジョブを登録する(ステップB5)。
Further, in the name resolution section 52, the actual job queue name is searched from the name resolution file 32 (FIG. 6).
(C), and extracts the virtual host name corresponding to the real job queue name (step B4). Since the virtual host name and the real job queue name have been resolved, the job is registered in the real job queue on the virtual host (step B5).

【0030】実ジョブキューでは、ジョブの登録に当た
って、ジョブ受付部42において展開した実行指示内容
をジョブキューファイルに書き込み、ジョブ実行部15
(または24)にジョブの実行を要求する(ステップB
6)。
In the actual job queue, when registering a job, the contents of the execution instruction expanded in the job receiving unit 42 are written into a job queue file, and the job execution unit 15
(Or 24) to execute the job (step B
6).

【0031】ジョブ実行部15(または24)では、要
求元ジョブキュー名からジョブキューファイル名の決定
を名前解決部52に要求する。名前解決部52では、名
前解決ファイル32からジョブキュー名を検索し(図6
(c)参照)、ジョブキュー名に該当するジョブキュー
ファイル名を抽出する(ステップB7)。次に、ジョブ
キューファイルからジョブの実行指示内容を読み込む
(ステップB8)。そして最後に、ジョブを実行する
(ステップB9)。
The job execution unit 15 (or 24) requests the name resolution unit 52 to determine a job queue file name from the requesting job queue name. The name resolution unit 52 searches for a job queue name from the name resolution file 32 (FIG. 6).
(See (c)), a job queue file name corresponding to the job queue name is extracted (step B7). Next, the job execution instruction is read from the job queue file (step B8). Finally, the job is executed (step B9).

【0032】具体的には、図6に示すように、ジョブ投
入の際には、仮想ホスト名VSD上の名前解決部52に
問い合わせて、ジョブ受付部の存在する仮想ホスト名V
SCを得る(図6(a)参照)。そして仮想ホスト名V
SC上のジョブ受付部にジョブを投入する。また、投入
ジョブの実行指示内容として、仮想ジョブキュー名にV
QBが指定されたものとする。
Specifically, as shown in FIG. 6, when submitting a job, an inquiry is made to the name resolution unit 52 on the virtual host name VSD, and the virtual host name V
SC is obtained (see FIG. 6A). And the virtual host name V
The job is input to the job receiving unit on the SC. Also, as the execution instruction content of the submitted job, V
It is assumed that QB has been designated.

【0033】仮想ホスト名VSD上の名前解決部52に
おいて、名前解決ファイル32にある仮想ジョブキュー
名−実ジョブキュー名対応テーブル(図6(b)参照)
から仮想ジョブキュー名VQBを検索し、仮想ジョブキ
ュー名VQBに該当する実ジョブキュー名Bを抽出す
る。さらに、名前解決ファイル32にある実ジョブキュ
ー名−仮想ホスト名対応テーブル(図6(c)参照)か
ら実ジョブキュー名Bを検索し、実ジョブキュー名Bに
該当する仮想ホスト名VSBを抽出する。仮想ホスト名
と実ジョブキュー名が解決できたので仮想ホスト名VS
BのジョブキューBにジョブを登録する。
In the name resolution unit 52 on the virtual host name VSD, a virtual job queue name-actual job queue name correspondence table in the name resolution file 32 (see FIG. 6B).
For the virtual job queue name VQB, and extracts the real job queue name B corresponding to the virtual job queue name VQB. Further, the real job queue name B is searched from the real job queue name-virtual host name correspondence table (see FIG. 6C) in the name resolution file 32, and the virtual host name VSB corresponding to the real job queue name B is extracted. I do. Since the virtual host name and the real job queue name could be resolved, the virtual host name VS
The job is registered in the job queue B of B.

【0034】また、ジョブ実行にあたって、名前解決フ
ァイル32にあるジョブキュー名−ジョブキューファイ
ル名対応テーブル(図6(c)参照)からジョブキュー
名Bを検索し、ジョブキュー名Bに該当するジョブキュ
ーファイル名FBを抽出する。ジョブキューファイルF
Bからジョブの実行指示内容を読み込み、ジョブを実行
する。
In executing the job, the job queue name B is searched from the job queue name-job queue file name correspondence table (see FIG. 6C) in the name resolution file 32, and the job corresponding to the job queue name B is searched. Extract the queue file name FB. Job queue file F
The job execution instruction is read from B and the job is executed.

【0035】上記の分散ジョブ実行システムにおいて
は、すべての名前解決は仮想ホストVSDへのアクセス
に統合されるので、各処理部は仮想ホスト名VSDのみ
を記憶しておくだけで良い。また、ジョブ投入時にもジ
ョブ受付部を確認するため、ジョブ受付部が主・副のよ
うな二重化された冗長構成になっている場合にも、一意
のジョブ受付部を決定できるので、さらに信頼性を向上
させることができる。
In the above-described distributed job execution system, all name resolution is integrated with access to the virtual host VSD, so each processing unit only needs to store the virtual host name VSD alone. In addition, since the job receiving unit is checked even when a job is submitted, even when the job receiving unit has a redundant configuration such as primary and secondary, a unique job receiving unit can be determined. Can be improved.

【0036】また、1段目の名前解決部にて2段目の名
前解決部の存在する仮想ホスト名を決定し、その他すべ
ては2段目の名前解決部にて解決するというように、名
前解決部を多段構成にすることにより、名前解決部を二
重化した冗長構成にすることができ、より一層信頼性を
向上させることができる。
The first-stage name resolution unit determines the name of the virtual host in which the second-stage name resolution unit exists, and all other names are resolved by the second-stage name resolution unit. By providing a multi-stage configuration of the resolving unit, the name resolving unit can be configured as a redundant redundant configuration, and the reliability can be further improved.

【0037】さらに、名前解決部14が独立しているこ
とにより、名前解決部のみを他のホスト上で稼動させる
ことができる。また、受け付けたジョブを登録するジョ
ブキューの決定に名前解決部を利用することから、ジョ
ブ受付部のみを他のホスト上で稼動させることができ
る。このようにして、運用システム自体の分散化を行う
ことができる。
Further, since the name resolution unit 14 is independent, only the name resolution unit can be operated on another host. Further, since the name resolution unit is used to determine the job queue in which the received job is registered, only the job reception unit can be operated on another host. In this way, the operation system itself can be decentralized.

【0038】本発明による分散ジョブ実行システムは、
ホストの主記憶(図示していない。)に保持されたプロ
グラムを実行することによって動作する。このプログラ
ムは分散処理システムの運用ソフトウェアとしてOS
(オペレーティングシステム)に準じてハードディスク
などに格納されており、運用時に主記憶にロードされて
実行される。
The distributed job execution system according to the present invention comprises:
It operates by executing a program stored in a main memory (not shown) of the host. This program is the operating software for the distributed processing system.
It is stored in a hard disk or the like according to (operating system), and is loaded into a main memory and executed at the time of operation.

【0039】[0039]

【発明の効果】以上、詳細に説明したように、本発明に
よれば次の効果が得られる。
As described above, according to the present invention, the following effects can be obtained.

【0040】第1の効果は、ホストに障害が発生しても
ジョブの実行指示内容を変更することなくジョブを投入
できることにある。その理由は、ジョブキューおよびホ
ストの所在がすべて名前解決部によって解決できるため
である。
The first effect is that even if a failure occurs in the host, the job can be submitted without changing the content of the job execution instruction. The reason is that the job queue and the location of the host can all be resolved by the name resolution unit.

【0041】第2の効果は、システムの負荷を分散でき
ることにある。その理由は、名前解決部が独立してお
り、各処理部はすべて名前解決部によって要求先を決定
するためである。
The second effect is that the load on the system can be distributed. The reason is that the name resolution unit is independent and all the processing units determine the request destination by the name resolution unit.

【0042】すなわち、運用システムを含むジョブを容
易に分散化することができるので、複数のホストを含む
分散処理システムの信頼性を著しく向上させることがで
きるという効果がある。
That is, since the jobs including the operation system can be easily distributed, there is an effect that the reliability of the distributed processing system including a plurality of hosts can be remarkably improved.

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

【図1】本発明の実施の第一の形態を示すブロック図。FIG. 1 is a block diagram showing a first embodiment of the present invention.

【図2】本発明の実施の第一の形態の動作を示す流れ
図。
FIG. 2 is a flowchart showing the operation of the first embodiment of the present invention.

【図3】名前解決ファイルの例を示す説明図。FIG. 3 is an explanatory diagram showing an example of a name solution file.

【図4】本発明の実施の第二の形態を示すブロック図。FIG. 4 is a block diagram showing a second embodiment of the present invention.

【図5】本発明の実施の第二の形態の動作を示す流れ
図。
FIG. 5 is a flowchart showing the operation of the second embodiment of the present invention.

【図6】名前解決ファイルの他の例を示す説明図。FIG. 6 is an explanatory diagram showing another example of a name resolution file.

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

1、2 ホスト 3 共用ディスク 11、21 移動単位 12 ジョブ受付部 13、22,23 ジョブキュー 14 名前解決部 15、24 ジョブ実行部 31、33,34 ジョブキューファイル 32 名前解決ファイル 1, 2 Host 3 Shared disk 11, 21 Movement unit 12 Job receiving unit 13, 22, 23 Job queue 14 Name resolution unit 15, 24 Job execution unit 31, 33, 34 Job queue file 32 Name resolution file

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 複数個のホストと前記ホストのそれぞれ
が共用するファイルとを具備し各ホストが分担してジョ
ブを処理する分散ジョブ実行システムにおいて、投入さ
れたジョブの処理を管理する機能を複数個の移動単位と
し、前記移動単位には各ホストからそれぞれの移動単位
に一意にアクセスするための仮想ホスト名を設定し、前
記移動単位を任意のホストに移動して保持し前記ジョブ
の処理を実行させることを特徴とする分散ジョブ実行シ
ステム。
1. A distributed job execution system comprising a plurality of hosts and a file shared by each of the hosts, wherein each host shares a job and processes the job. In this case, a virtual host name for uniquely accessing each moving unit from each host is set in the moving unit, the moving unit is moved to an arbitrary host and held, and the processing of the job is performed. A distributed job execution system characterized by being executed.
【請求項2】 複数個のホストと前記ホストのそれぞれ
が共用するファイルとを具備し各ホストが分担してジョ
ブを処理する分散ジョブ実行システムにおいて、仮想ジ
ョブキュー名を付して投入されたジョブを名前解決部の
指示に従って該当のジョブキューに登録するジョブ受付
部と、前記ジョブ受付部から仮想ジョブキュー名を受取
りあらかじめ設定されている名前解決ファイルを参照し
て実ジョブキュー名を決定しそれを前記ジョブ受付部に
通知する名前解決部と、前記ジョブ受付部に指示されて
登録するジョブの実行指示内容を該当のジョブキューフ
ァイルに書込むジョブキューと、前記ジョブキューファ
イルを読出しその実行指示内容に従ってジョブを処理す
るジョブ実行部とを備え、前記ジョブ受付部と前記名前
解決部と前記ジョブキューとは一個以上の移動単位とし
て仮想ホスト名を付して任意のホストに保持することを
特徴とする分散ジョブ実行システム。
2. A distributed job execution system comprising a plurality of hosts and a file shared by each of the hosts, wherein each host shares a job and processes the job. Receiving a virtual job queue name from the job receiving unit and registering a real job queue name by referring to a preset name resolution file according to the instruction of the name resolving unit. A name resolution unit for notifying the job reception unit of a job, a job queue for writing the execution instruction content of the job instructed and registered by the job reception unit to a corresponding job queue file, and a read instruction for reading the job queue file and executing the job queue file. A job execution unit that processes a job according to the content, wherein the job reception unit, the name resolution unit, and the job A distributed job execution system characterized in that a queue is attached to an arbitrary host by attaching a virtual host name as one or more transfer units.
【請求項3】 請求項2記載の分散ジョブ実行システム
において、前記名前解決ファイルは仮想ジョブキュー
名,実ジョブキュー名,ジョブキューファイル名,およ
び仮想ホスト名とを相互に対応づける対応テーブルを格
納していることを特徴とする分散ジョブ実行システム。
3. The distributed job execution system according to claim 2, wherein the name resolution file stores a correspondence table that associates a virtual job queue name, a real job queue name, a job queue file name, and a virtual host name with each other. A distributed job execution system characterized by:
【請求項4】 請求項2または3記載の分散ジョブ実行
システムにおいて、外部から投入されるジョブを受付け
るステップと、前記ジョブに付された仮想ジョブキュー
名によって名前解決ファイルを検索し実ジョブキュー名
を決定するステップと、前記実ジョブキュー名によって
前記名前解決ファイルを検索し仮想ホスト名を決定する
ステップと、前記ジョブを該当のジョブキューに登録す
るステップと、前記ジョブの実行指示内容を該当のジョ
ブキューファイルに書込むステップと、前記実ジョブキ
ュー名によって前記名前解決ファイルを検索し該当のジ
ョブキューファイル名を決定するステップと、前記ジョ
ブキューファイル名を付されたジョブキューファイルか
ら該当のジョブの実行指示内容を読出すステップと、前
記実行指示内容に従ってジョブを実行するステップとを
含むことを特徴とする分散ジョブ実行システムのプログ
ラム記録媒体。
4. The distributed job execution system according to claim 2, wherein a step of receiving a job input from outside is performed, and a name resolution file is searched by a virtual job queue name assigned to the job, and an actual job queue name is searched. Determining a virtual host name by searching the name resolution file by the real job queue name, registering the job in a corresponding job queue, and Writing to a job queue file; searching the name resolution file by the actual job queue name to determine a corresponding job queue file name; and determining a corresponding job queue file from the job queue file given the job queue file name. Reading the contents of the execution instruction; Executing the job with the program recording medium of the distributed job execution system.
【請求項5】 請求項4記載の分散ジョブ実行システム
のプログラム記録媒体において、外部から投入されるジ
ョブを受付けるジョブ受付部が存在する仮想ホスト名を
決定するステップを含むことを特徴とする分散ジョブ実
行システムのプログラム記録媒体。
5. The distributed job execution system according to claim 4, further comprising a step of determining a virtual host name in which a job receiving unit that receives a job input from the outside exists. An execution system program recording medium.
【請求項6】 複数個のホストと前記ホストのそれぞれ
が共用するファイルとを具備し各ホストが分担してジョ
ブを処理する分散ジョブ実行システムにおいて、投入さ
れたジョブの処理を管理する機能を複数個の移動単位と
し、前記移動単位には各ホストからそれぞれの移動単位
に一意にアクセスするための仮想ホスト名を設定し、前
記移動単位を任意のホストに移動して保持し前記ジョブ
の処理を実行させることを特徴とする分散ジョブ実行シ
ステムのプログラム記録媒体。
6. A distributed job execution system comprising a plurality of hosts and a file shared by each of the hosts, wherein each host shares and processes jobs, a plurality of functions for managing the processing of an input job. In this case, a virtual host name for uniquely accessing each moving unit from each host is set in the moving unit, the moving unit is moved to an arbitrary host and held, and the processing of the job is performed. A program recording medium for a distributed job execution system, which is executed.
JP11076129A 1999-03-19 1999-03-19 Distributed job execution system and program recording medium therefor Pending JP2000268011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11076129A JP2000268011A (en) 1999-03-19 1999-03-19 Distributed job execution system and program recording medium therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11076129A JP2000268011A (en) 1999-03-19 1999-03-19 Distributed job execution system and program recording medium therefor

Publications (1)

Publication Number Publication Date
JP2000268011A true JP2000268011A (en) 2000-09-29

Family

ID=13596340

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11076129A Pending JP2000268011A (en) 1999-03-19 1999-03-19 Distributed job execution system and program recording medium therefor

Country Status (1)

Country Link
JP (1) JP2000268011A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100694212B1 (en) 2004-05-27 2007-03-14 삼성전자주식회사 Distribution operating system functions for increased data processing performance in a multi-processor architecture
JP2007249674A (en) * 2006-03-16 2007-09-27 Fujitsu Ltd Server system
KR101347341B1 (en) 2007-01-25 2014-01-03 삼성전자주식회사 Apparatus and method for manageing board redundancy in distributed system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100694212B1 (en) 2004-05-27 2007-03-14 삼성전자주식회사 Distribution operating system functions for increased data processing performance in a multi-processor architecture
JP2007249674A (en) * 2006-03-16 2007-09-27 Fujitsu Ltd Server system
US7730342B2 (en) 2006-03-16 2010-06-01 Fujitsu Limited Server system
JP4532423B2 (en) * 2006-03-16 2010-08-25 富士通株式会社 Server system
KR101347341B1 (en) 2007-01-25 2014-01-03 삼성전자주식회사 Apparatus and method for manageing board redundancy in distributed system

Similar Documents

Publication Publication Date Title
US6832298B2 (en) Server system operation control method
US7281099B2 (en) Computer system and a method of replication
US6618736B1 (en) Template-based creation and archival of file systems
US20100325473A1 (en) Reducing recovery time for business organizations in case of disasters
US5442785A (en) Method and apparatus for passing messages between application programs on host processors coupled to a record lock processor
US20100169289A1 (en) Two Phase Commit With Grid Elements
JPH01188965A (en) Data processing
JPH09325905A (en) Memory control unit
CN101847148A (en) Method and device for implementing high application availability
US5682507A (en) Plurality of servers having identical customer information control procedure functions using temporary storage file of a predetermined server for centrally storing temporary data records
US5630133A (en) Customer information control system and method with API start and cancel transaction functions in a loosely coupled parallel processing environment
JP2000268011A (en) Distributed job execution system and program recording medium therefor
US5761403A (en) Failure recovery system and failure recovery method in loosely coupled multi-computer system, and medium for storing failure recovery program
JP4095212B2 (en) Data storage device
JP2806749B2 (en) I / O load distribution control method when file devices are duplicated
US6282672B1 (en) System for simultaneously executing any one of plurality of applications that must be executed using static data not modified by another computer program
JP2001290691A (en) Computer system and secondary storage device
JP4305328B2 (en) Computer system and system switching control method using the same
JPH09293055A (en) System and method for exclusive control over shared file in loosely coupled multiple computer system, and medium for storing exclusive control program
JPH1185590A (en) System and method for exclusive control and recording medium recording exclusively control program
JP2776747B2 (en) File transfer device
JP3013993B2 (en) Vector processing method
JP2001142772A (en) Management method by memory name, copying method, medium for recording management program by memory name and medium for recording copying program
JP2798140B2 (en) Virtual space control method
JPH05265846A (en) Memory managing system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20030121