JPH07146851A - Constructing method of distributed system - Google Patents

Constructing method of distributed system

Info

Publication number
JPH07146851A
JPH07146851A JP5291635A JP29163593A JPH07146851A JP H07146851 A JPH07146851 A JP H07146851A JP 5291635 A JP5291635 A JP 5291635A JP 29163593 A JP29163593 A JP 29163593A JP H07146851 A JPH07146851 A JP H07146851A
Authority
JP
Japan
Prior art keywords
data
program
terminal
procedure
client
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
JP5291635A
Other languages
Japanese (ja)
Inventor
Seiichi Domyo
誠一 道明
Sawaki Kuroda
澤希 黒田
Hirohiko Nakano
裕彦 中野
Tadashi Shoji
直史 庄司
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP5291635A priority Critical patent/JPH07146851A/en
Publication of JPH07146851A publication Critical patent/JPH07146851A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Computer And Data Communications (AREA)

Abstract

PURPOSE:To provide the constructing method of a distributed system where the necessity of the inputting of set data by a system controller is eliminated every time a terminal is introduced and few failure is generated in an initialization processing. CONSTITUTION:When a client machine 300 is connected with a network 350, an initialization program loader 302 is started. Based on the set data 342, the procedure data 343 and procedure control data 344 obtained from an introduction exclusive server 341, the initialization processing of a client program 301 is executed. As a result, the labor and time for inputting the set data which is required for the initialization processing of the client program 301 when the client machine 300 is introduced is saved for a system controller.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、複数の分散型ソフトウ
エアで構成する分散システムの構築方法に係わり、とく
に分散型ソフトウエアのクライアントプログラムの初期
化処理を行なうのに好適な分散システムの構築方法に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of constructing a distributed system composed of a plurality of distributed software, and particularly to constructing a distributed system suitable for initializing a client program of the distributed software. Regarding the method.

【0002】[0002]

【従来の技術】従来の分散システムの構築方法では、サ
ーバプログラムにアクセスするためのクライアントプロ
グラムの初期化処理を行なうには、の2つの方法が主に
取られていた。
2. Description of the Related Art In the conventional method of constructing a distributed system, the following two methods are mainly used to initialize the client program for accessing the server program.

【0003】(1)システム管理者が各端末のクライア
ントプログラムに対し、説明書に記述された手順に従
い、サーバプログラムが存在する端末の位置等の設定デ
ータを手操作で入力し、初期化処理を行なう。
(1) The system administrator manually inputs the setting data such as the position of the terminal where the server program exists to the client program of each terminal according to the procedure described in the manual, and the initialization process is performed. To do.

【0004】(2)特開平4−302347に見られる
ように、複数の端末のクライアントプログラムに対し、
サーバプログラムが設定データを送信し、初期化処理を
オンラインで遠隔実行する。
(2) As seen in Japanese Patent Application Laid-Open No. 4-302347, for client programs of a plurality of terminals,
The server program sends the setting data and executes the initialization process remotely online.

【0005】[0005]

【発明が解決しようとする課題】(1)の方法は、シス
テム管理者が端末を導入する度に初期化処理を手操作で
行なう必要がある。また、サーバプログラムが存在する
端末の位置等の設定データをシステム管理者が記憶して
おく必要もある。
In the method (1), it is necessary to manually perform the initialization process every time the system administrator installs the terminal. Also, the system administrator needs to store the setting data such as the position of the terminal where the server program exists.

【0006】(2)の方法は、システム管理者が設定デ
ータを入力する等の人為的な手間がない反面、対象とな
る端末のクライアントプログラムの数の増加に比例し
て、サーバプログラムでの遠隔実行による負荷が大きく
なる。また、複数のサーバプログラムが存在し、各サー
バプログラム個々に対応した複数の初期化手順がクライ
アントプログラムの初期化処理に必要な場合に、複数の
初期化手順の実行順序を計画し、初期化処理を制御する
手段が提供されていない。したがって、初期化手順の実
行の順番によって、初期化処理の不良が発生する問題点
がある。
In the method (2), the system administrator does not have to manually enter the setting data, but on the other hand, the remote control by the server program is proportional to the increase in the number of client programs of the target terminal. The load of execution increases. Also, if there are multiple server programs and multiple initialization procedures corresponding to each server program are required for the initialization processing of the client program, the execution order of the multiple initialization procedures is planned and the initialization processing is performed. No means are provided to control the. Therefore, there is a problem that the initialization process is defective depending on the order of execution of the initialization procedure.

【0007】本発明の目的は、端末を導入する度にシス
テム管理者が設定データを入力する必要がない分散シス
テムの構築方法を提供することにある。
An object of the present invention is to provide a method of constructing a distributed system in which the system administrator does not need to input setting data every time a terminal is installed.

【0008】本発明のさらに他の目的は、複数のサーバ
プログラムごとに対応した複数の初期化手順がクライア
ントプログラムの初期化処理に必要な場合に、誤った実
行順序による初期化不良の発生を防止した分散システム
の構築方法を提供することにある。
Still another object of the present invention is to prevent the occurrence of an initialization failure due to an erroneous execution sequence when a plurality of initialization procedures corresponding to a plurality of server programs are required for initialization processing of a client program. To provide a method of constructing the distributed system.

【0009】[0009]

【課題を解決するための手段】上記目的達成のため,本
発明の分散システムの構築方法では、通信ネットワーク
上に、クライアントプログラムの初期化に必要なデー
タ、すなわち、設定データと手順データ、および手順制
御データを管理する端末導入専用の設定管理プログラム
が存在する。導入する端末が通信ネットワークに接続し
た際に、その端末に準備された初期プログラムローダが
設定管理プログラムに問い合わせ、複数の設定データお
よび手順データと手順制御データを一括してダウンロー
ドし、クライアントプログラムの初期化処理を実行す
る。
In order to achieve the above object, in the method of constructing a distributed system according to the present invention, data necessary for initialization of a client program, that is, setting data and procedure data, and a procedure are provided on a communication network. There is a setting management program dedicated to the introduction of terminals that manages control data. When the terminal to be installed is connected to the communication network, the initial program loader prepared for that terminal queries the setting management program and downloads multiple setting data and procedure data and procedure control data all at once. Execute the conversion process.

【0010】とくに本発明の望ましい形態では、複数の
サーバプログラムに対する初期化処理の設定データと手
順データに基づき、逐次的に初期化処理を行なう際に、
各手順データに対応した初期化処理を実行したログを蓄
積し、各手順データで記述した手順が終了した際にログ
を検査し、初期化処理の不良を検出したときは、不良が
発生した手順を再試行する。
Particularly in a preferred mode of the present invention, when the initialization processing is sequentially performed based on the setting data and the procedure data of the initialization processing for a plurality of server programs,
Accumulates the log that executes the initialization process corresponding to each procedure data, inspects the log when the procedure described in each procedure data ends, and when the initialization process failure is detected, the procedure in which the failure occurred To try again.

【0011】[0011]

【作用】導入する端末が通信ネットワークに接続した際
に、その端末に準備された初期プログラムローダが端末
導入専用の設定管理プログラムに要求を発し、クライア
ントプログラムの初期化に必要なデータ、すなわち、設
定データと手順データ、および手順制御データをダウン
ロードし、初期化処理を実行するので、システム管理者
が導入の各端末ごとに設定データ等を入力する必要がな
い。
When the terminal to be installed is connected to the communication network, the initial program loader prepared for the terminal issues a request to the setting management program dedicated to the terminal installation, and the data necessary for initializing the client program, that is, the setting. Since the data, the procedure data, and the procedure control data are downloaded and the initialization process is executed, the system administrator does not need to input the setting data and the like for each installed terminal.

【0012】とくに初期プログラムローダが、複数のサ
ーバプログラムに対する初期化処理の設定データと手順
データに基づき、逐次的に初期化処理を行なうので,ク
ライアントプログラムの初期化を誤った順序で手順を実
行することがない。
Particularly, since the initial program loader sequentially performs the initialization processing based on the setting data and the procedure data of the initialization processing for the plurality of server programs, the initialization of the client program is executed in the wrong order. Never.

【0013】さらに、各手順データに対応した初期化処
理を実行したログを蓄積し、各手順データで記述した手
順が終了した際にログを検査すると、初期化処理の進行
状況を確認することができ、障害が発生した手順および
再試行すべき手順を特定できる。さらに、初期化処理の
不良を検出したときは,不良が発生した手順を再試行す
る処理を備えると、一定時間後には不良の原因となる故
障(たとえばサーバプログラムの停止)などが回復して
いる可能性が高いので再試行によって初期化処理を継続
して実行できる。
Further, by accumulating a log of initialization processing corresponding to each procedure data and inspecting the log when the procedure described in each procedure data is completed, the progress of the initialization processing can be confirmed. Yes, you can identify failed steps and steps that should be retried. Further, when a defect in the initialization process is detected, if a process for retrying the procedure in which the defect has occurred is provided, a failure (for example, stop of the server program) causing the defect is recovered after a certain time. Since the possibility is high, the initialization process can be continuously executed by retrying.

【0014】[0014]

【実施例】本発明の実施例を図面により詳細に説明す
る。以下では記述の簡単化のため,クライアントプログ
ラムが存在する端末をクライアントマシンと、クライア
ントプログラムの実行に当たってアクセスするサーバプ
ログラムが存在する端末をサーバマシン、クライアント
マシンを導入する際に参照されるデータを管理する設定
管理プログラムが存在する端末を導入用サーバマシンと
よぶことにする。
Embodiments of the present invention will be described in detail with reference to the drawings. In the following, for simplification of description, the terminal where the client program exists is the client machine, the terminal where the server program that accesses to execute the client program exists is the server machine, and the data referenced when installing the client machine is managed. The terminal in which the setting management program that exists is called the installation server machine.

【0015】図1は、本発明の実施例の分散システムの
クライアントマシンと導入用サーバマシンにおける処理
手順を示すフローチャートである。本実施例では、クラ
イアントマシンに図1のステップ108〜ステップ11
1の処理を設けて、導入用サーバマシンに対してデータ
を要求し、自らの初期処理を行なう所に特徴がある。図
2は、図1のクライアントマシンにおける処理手順のス
テップ111において、クライアントプログラムの初期
化処理時に検出した不良に基づき初期化処理を再試行す
る手順の1実施例を示すフローチャートである。
FIG. 1 is a flow chart showing a processing procedure in a client machine and an installation server machine of a distributed system according to an embodiment of the present invention. In this embodiment, the client machine has steps 108 to 11 in FIG.
The feature is that the first process is provided, data is requested from the introduction server machine, and the initial process is performed by itself. FIG. 2 is a flowchart showing an embodiment of a procedure for retrying the initialization process based on a defect detected during the initialization process of the client program in step 111 of the processing procedure in the client machine of FIG.

【0016】図3は、実施例の分散システムの概要を示
した構成図である。クライアントマシン300、サーバ
マシン310,320及び330、並びに、導入用サー
バマシン340は通信ネットワーク350を介して相互
接続される。クライアントマシン300に存在するクラ
イアントプログラム301は、自らの処理を遂行するた
めにサーバプログラム311、321および331のう
ちの任意のものをアクセスする。サーバプログラム31
1、321および331はサーバマシン310,320
および330に分散して存在する。一例として、クライ
アントプログラム301はサーバプログラム311、3
21および331の全部をアクセスするものであり、こ
のようなクライアントプログラムを搭載するクライアン
トマシン300を新たにシステムに導入する際には、ク
ライアントプログラム301がこれら分散配置されたサ
ーバプログラム311、321および331をそれぞれ
アクセス可能にするため、それぞれの初期化処理がクラ
イアントプログラム301に対して必要になる。この複
数種類の初期化処理を競合することなく実行するため、
クライアントマシン300にはさらに初期プログラムロ
ーダ302が搭載される。さらに、導入用サーバマシン
340には設定管理プログラム341が搭載される。設
定管理プログラム341は各サーバプログラムに対応し
たクライアントプログラムへの設定データ342、各々
の設定データの設定手順を示す手順データ343、及び
複数の初期化処理を行なう際に各手順データ間の相互依
存関係にもとづいて初期化処理の手順を制御するための
手順制御データ344を管理するプログラムである。つ
まり設定管理プログラム341は要求に応じてデータベ
ース342とデータベース343とを結び付けて初期プ
ログロラムローダ302に提供し、とくに初期プログロ
ラムローダ302が複数の初期化処理を行なう際には、
手順制御データ344を初期プログロラムローダ302
に提供する。初期プログロラムローダ302は、必要な
データを設定管理プログラム341に要求してダウンロ
ードし、そのデータを用いてクライアントプログラム3
01の初期化を行なう。同一のクライアントマシンの2
回目以降の再導入に備えて、初期化処理の実行経過を設
定ログ303に蓄積しておく。
FIG. 3 is a block diagram showing an outline of the distributed system of the embodiment. The client machine 300, the server machines 310, 320 and 330, and the introduction server machine 340 are interconnected via a communication network 350. The client program 301 existing in the client machine 300 accesses any one of the server programs 311, 321, and 331 in order to perform its processing. Server program 31
1, 321 and 331 are server machines 310 and 320
And 330 are distributed. As an example, the client program 301 is the server programs 311, 3
21 and 331 are all accessed, and when a client machine 300 equipped with such a client program is newly introduced into the system, the client program 301 includes the server programs 311, 321 and 331 in which these client programs are distributed. In order to make each of them accessible, each initialization process is required for the client program 301. In order to execute this multiple types of initialization processing without conflict,
The client machine 300 is further equipped with an initial program loader 302. Further, the installation server machine 340 is loaded with a setting management program 341. The setting management program 341 includes setting data 342 for a client program corresponding to each server program, procedure data 343 indicating a setting procedure of each setting data, and mutual dependency between each procedure data when performing a plurality of initialization processes. It is a program for managing the procedure control data 344 for controlling the procedure of the initialization processing based on the above. That is, the setting management program 341 connects the database 342 and the database 343 to each other in response to a request, and provides them to the initial program loader 302. Particularly, when the initial program loader 302 performs a plurality of initialization processes,
The procedure control data 344 is transferred to the initial program loader 302.
To provide. The initial program loader 302 requests the setting management program 341 for necessary data and downloads it, and uses the data to download the client program 3
01 initialization is performed. 2 of the same client machine
In preparation for re-introduction after the first time, the execution progress of the initialization processing is accumulated in the setting log 303.

【0017】図4は、比較のために従来の分散システム
の概要を示した構成図であり、個々のサーバマシンに初
期化処理の機能が存在する。つまり、サーバプログラム
411,421,431をそれぞれ搭載するサーバマシ
ン410,420,430は、各々初期プログラムロー
ダ412,422、432を備える。これら初期プログ
ラムローダは各々の設定データ、手順データに基づきク
ライアントマシン400のクライアントプログラム40
1の初期化を行なう構成となっている。従って、図3の
実施例の特徴は、クライアントマシン側に自己のクライ
アントプログラムを初期化するための初期プログロラム
ローダがあり、初期化処理のためのデータベースは導入
用サーバマシンに集中配置される点にある。
FIG. 4 is a block diagram showing an outline of a conventional distributed system for comparison, and each server machine has an initialization processing function. That is, the server machines 410, 420, 430 respectively mounting the server programs 411, 421, 431 are provided with the initial program loaders 412, 422, 432. These initial program loaders use the client program 40 of the client machine 400 based on the setting data and procedure data of each.
1 is initialized. Therefore, the feature of the embodiment of FIG. 3 is that the client machine has the initial program loader for initializing its own client program, and the database for the initialization processing is centrally arranged on the installation server machine. In point.

【0018】次に図1のフローチャートに基づいて図3
の各部の動作をさらに詳細に説明する。
Next, referring to the flow chart of FIG.
The operation of each section of will be described in more detail.

【0019】まず、クライアントマシン300の動作を
説明する。最初にクライアントマシン300を通信ネッ
トワーク350に接続する(ステップ100)。次にク
ライアントマシン300の電源を投入すると、初期プロ
グラムローダ302が起動する(ステップ101)。初
期プログラムローダ302は、例えばファイルツリーを
検索することで、クライアントマシン300に存在する
クライアントプログラム301の一覧を作成する(ステ
ップ102)。ここで問題となるのはクライアントプロ
グラム301の初期化のために必要なデータを管理する
設定管理プログラム341(以下では導入サーバと略称
する)が存在する導入用サーバマシン340の位置であ
る。例えば、過去に初期化処理を行ったことのあるクラ
イアントマシンを分散システムに再導入する場合は、設
定ログ303を参照し、過去の接続経過にもとづき導入
専用サーバマシン340を特定できる。したがって、過
去に初期化処理を行ったかを判定し(ステップ10
3)、Yesの場合は設定ログ303に残された接続経
過の示す端末を指定してクライアントプログラム301
と導入サーバ341とを通信接続する(ステップ10
5)。また、システム管理者が明示的に定義した場合な
どの様に、導入用サーバマシン340の位置が予め特定
できるかを判定し(ステップ104)、Yesの場合は
判定に従ってクライアントプログラム301と導入サー
バ341とを通信接続する(ステップ105)。例え
ば、UNIXワークステーションでは、ファイル/etc/s
ervicesおよび/etc/hosts等に導入サーバマシン340
の位置情報を設定することができる。ステップ103と
ステップ104のいずれもNoの場合には、ブロードキ
ャスト通信を用いて導入サーバ341を探索したのちに
通信接続する(ステップ106)。導入サーバ341と
接続した初期プログラムローダ302は、クライアント
プログラム301が初期化に必要なデータを導入サーバ
に要求し(ステップ108)、返答を持つ(ステップ1
09)。導入サーバの返答があった際に、初期化に必要
な設定データ、手順データ、及び手順制御データ344
を一括してダウンロードし(ステップ110)、初期化
処理を実行する(ステップ111)。
First, the operation of the client machine 300 will be described. First, the client machine 300 is connected to the communication network 350 (step 100). Next, when the power of the client machine 300 is turned on, the initial program loader 302 is activated (step 101). The initial program loader 302 creates a list of the client programs 301 existing in the client machine 300 by searching a file tree, for example (step 102). Here, the problem is the position of the installation server machine 340 where the setting management program 341 (hereinafter abbreviated as an installation server) that manages the data necessary for the initialization of the client program 301 exists. For example, when re-introducing a client machine that has been initialized in the past into the distributed system, the installation-dedicated server machine 340 can be identified based on the past connection progress by referring to the setting log 303. Therefore, it is determined whether the initialization processing has been performed in the past (step 10
3), in the case of Yes, the client program 301 is specified by designating the terminal showing the connection progress left in the setting log 303.
And the introduction server 341 are communicatively connected (step 10).
5). Further, as in the case where the system administrator explicitly defines it, it is determined whether the position of the installation server machine 340 can be specified in advance (step 104). If Yes, the client program 301 and the installation server 341 are determined according to the determination. And are connected for communication (step 105). For example, on UNIX workstations, the file / etc / s
ervices and / etc / hosts installed server machine 340
The location information of can be set. If both Step 103 and Step 104 are No, the introduction server 341 is searched by using broadcast communication, and then communication connection is established (Step 106). The initial program loader 302 connected to the introduction server 341 requests data required for initialization by the client program 301 to the introduction server (step 108) and has a reply (step 1).
09). When there is a response from the installation server, setting data, procedure data, and procedure control data 344 required for initialization.
Are collectively downloaded (step 110), and initialization processing is executed (step 111).

【0020】つぎに導入サーバマシンの動作を説明す
る。システム管理者は導入用サーバマシン340の電源
を投入する(ステップ151)。次にシステム管理者
は,初期プログラムローダ302の要求を処理する導入
サーバ(設定管理プログラム)341を起動する。導入
サーバ341は各クライアントマシンの初期プログラム
ローダ302からの初期化要求があるまで待機する(ス
テップ154、ステップ153)。導入サーバ341
は、初期化要求を受信すると(ステップ155)、デー
タベース342と343を検索し、要求に応じた設定デ
ータと手順データを抽出する(ステップ156)。とく
に複数のサーバプログラムに関してクライアントプログ
ラムの初期化が要求された場合には(ステップ15
7)、各サーバプログラムにそれぞれ対応して設定デー
タと手順データ143とが存在し、手順データ間の相互
依存関係に基づき初期化処理の手順を制御する必要があ
る。よって手順データ間の相互依存関係を示す手順制御
データ344を検索し、要求に応じた手順制御データを
抽出する(ステップ158)。抽出した設定データと手
順データ、あるいはさらに手順制御データをクライアン
トマシン300にダウンロードする(ステップ(15
9)。
Next, the operation of the introduction server machine will be described. The system administrator turns on the power of the installation server machine 340 (step 151). Next, the system administrator activates the introduction server (setting management program) 341 that processes the request of the initial program loader 302. The introduction server 341 waits until there is an initialization request from the initial program loader 302 of each client machine (step 154, step 153). Introduction server 341
When the initialization request is received (step 155), the databases search the databases 342 and 343 and extract the setting data and procedure data according to the request (step 156). Especially when initialization of the client program is requested for a plurality of server programs (step 15).
7) There is setting data and procedure data 143 corresponding to each server program, and it is necessary to control the procedure of the initialization process based on the interdependency between the procedure data. Therefore, the procedure control data 344 indicating the interdependence between the procedure data is searched, and the procedure control data according to the request is extracted (step 158). The extracted setting data and procedure data, or further procedure control data is downloaded to the client machine 300 (step (15
9).

【0021】表1は、図1のステップ156で扱う設定
データのデータベース342と手順データのデータベー
ス343の構成を説明する表である。
Table 1 is a table for explaining the configurations of the setting data database 342 and the procedure data database 343 handled in step 156 of FIG.

【0022】[0022]

【表1】 [Table 1]

【0023】設定データは、クライアントプログラムを
初期化する上で必要な種々の設定すべきデータである。
図示するように、サーバプログラムの起動位置やクライ
アントプログラムの起動オプション,複製サーバの位置
等の情報が含まれる。また、手順データは、各サーバプ
ログラムをアクセスするクライアントプログラムに必要
な初期かの手順を記述したデータである。たとえば、サ
ーバプログラムの起動確認等の検査、クライアントプロ
グラム固有のデータベース作成等を指示する情報が含ま
れる。これらの手順データ、設定データは、サーバプロ
グラム毎に設定されデータベース342、データベース
343を構成する。つまり図3において,手順データの
データベース343の各要素は図4の413、423、
433に対応し、設定データのデータベース342の各
要素は図4の414,424,434に対応する。これ
らは、たとえばUNIXのシェル言語で記述できる宣言
文における変数宣言及び制御文で実現される。
The setting data is various data to be set necessary for initializing the client program.
As shown in the figure, information such as the starting position of the server program, the starting option of the client program, and the position of the duplicate server is included. Further, the procedure data is data that describes an initial procedure required for a client program that accesses each server program. For example, it includes information for instructing inspection such as activation confirmation of the server program and creation of a database unique to the client program. The procedure data and the setting data are set for each server program and form a database 342 and a database 343. That is, in FIG. 3, the respective elements of the procedure data database 343 are 413, 423 of FIG.
433, and each element of the setting data database 342 corresponds to 414, 424, 434 in FIG. These are realized by variable declarations and control statements in declaration statements that can be described in UNIX shell language, for example.

【0024】表2は、図1のステップ158で扱う手順
制御データの構成を説明する表である。
Table 2 is a table for explaining the structure of the procedure control data handled in step 158 of FIG.

【0025】[0025]

【表2】 [Table 2]

【0026】このように、手順制御データ344は、複
数のサーバに対応するそれぞれの初期化処理の相互依存
関係(複数のサーバに対応する初期化処理をどのような
順次で行うべきか)を記述したものである。たとえば、
サーバプログラム321、331に関してのクライアン
トプログラムの初期化が行なわれる以前に、サーバプロ
グラム311に関してクライアントプログラムの初期化
が完了している必要がある(表2の例)等の情報が含ま
れる。この情報に基づき、手順データの実行順番の制御
が行なわれる。
As described above, the procedure control data 344 describes the interdependence relationship between the initialization processes corresponding to the plurality of servers (how sequentially the initialization processes corresponding to the plurality of servers should be performed). It was done. For example,
It includes information such as that the initialization of the client program for the server program 311 must be completed before the initialization of the client program for the server programs 321 and 331 (example of Table 2). Based on this information, the execution order of the procedure data is controlled.

【0027】以上に説明した範囲では、本実施例は、ク
ライアントマシンをシステムに導入する毎にシステム管
理者が手書きでクライアントプログラムの初期化のため
の種々のデータを設定する手間が省け、容易に分散シス
テムの拡張ができること、また、たとえそのクライアン
トプログラムが複数のサーバプログラムをアクセスする
場合でも、各サーバプログラムをアクセスするのに必要
な複数種類の初期化が互いに競合することなく自動的に
実行され、誤った実行順序が原因である初期化不良が発
生することを防止できるることが理解できよう。さらに
実施例では、初期化処理の履歴が設定ログに保存される
ので、初期化処理の途中で処理の進捗状況を確認でき、
また一旦システムから切り離したクライアントマシンを
システムに再導入する場合に、その履歴を用いて初期化
処理が迅速に行われる。
Within the range described above, the present embodiment can easily and easily save the time and effort for the system administrator to manually set various data for initializing the client program every time the client machine is installed in the system. The distributed system can be expanded, and even if the client program accesses multiple server programs, the multiple types of initialization required to access each server program are automatically executed without conflict with each other. It can be understood that it is possible to prevent the initialization failure due to the wrong execution order from occurring. Furthermore, in the embodiment, since the history of the initialization process is saved in the setting log, the progress status of the process can be confirmed during the initialization process,
Further, when the client machine once separated from the system is re-introduced into the system, the initialization process is quickly performed using the history.

【0028】本実施例では、さらに初期化処理に不良が
発生した場合に、再試行により初期化処理を継続でき
る。このことを図2を参照して説明する。
In the present embodiment, if a defect occurs in the initialization process, the initialization process can be continued by retrying. This will be described with reference to FIG.

【0029】図2は、図1のステップ111を詳細に示
す。まず、手順制御データ344にもとづき初期化処理
を開始する(ステップ200)。クライアントプログラ
ム301の初期化指示をする手順データや設定データが
なければ(ステップ201)、システム管理者への初期
化成功の報告して(ステップ206)終了する。初期プ
ログラムローダ302は、設定ログ303を検索し(ス
テップ202)、未実行であることを確認した場合はス
テップ210に進み、初期化処理を実行している場合に
は結果を確認し(ステップ203)、再度設定する必要
がある場合にはステップ210へ、そうでない場合には
ステップ205に進む(ステップ204)。実行すべき
初期化処理の設定データや手順が存在する場合には再び
ステップ202に戻り、そうでない場合にはステップ2
06に進む(ステップ205)。
FIG. 2 shows step 111 of FIG. 1 in detail. First, the initialization process is started based on the procedure control data 344 (step 200). If there is no procedure data or setting data for instructing initialization of the client program 301 (step 201), the initialization success is reported to the system administrator (step 206), and the process ends. The initial program loader 302 searches the setting log 303 (step 202), proceeds to step 210 if it is confirmed that it has not been executed, and confirms the result if initialization processing is being performed (step 203). ), If it is necessary to set again, the process proceeds to step 210, and if not, the process proceeds to step 205 (step 204). If there is the setting data or procedure of the initialization process to be executed, the process returns to step 202, and if not, step 2
The procedure proceeds to 06 (step 205).

【0030】初期化処理を実際に行なうの処理はステッ
プ210〜217である。まずサーバプログラムの起動
等の前提条件の確認を行なう(ステップ210)。設定
データと手順データを基にしてクライアントプログラム
の属性をサーバプログラムに登録する等の初期化処理を
実行する。実行した結果は設定ログ303に格納する
(ステップ211)。1つの手順データを基にした初期
化処理が終わるごとに、設定ログ303を検索し、不良
を発見した場合は試行回数304に1を加算(ステップ
214)し、ステップ216に進む。そうでないときに
は試行回数304を零にクリアして(ステップ21
5)、ステップ205に進む。試行回数の累積が規定値
を、たとえば3回越えたかを比較し(ステップ21
6)、越えた場合にはシステム管理者へ初期化処理に失
敗したことを、たとえば画面上での不良発生のメッセー
ジ表示等の方法で報告し終了する(ステップ218)。
規定値を越えていない場合には、不良が発生した手順の
再試行を計画し、ステップ211に戻る(ステップ21
7)。
The process of actually performing the initialization process is steps 210 to 217. First, the prerequisites such as the activation of the server program are confirmed (step 210). Based on the setting data and the procedure data, initialization processing such as registering the attribute of the client program in the server program is executed. The execution result is stored in the setting log 303 (step 211). Each time the initialization process based on one piece of procedure data is completed, the setting log 303 is searched, and if a defect is found, 1 is added to the number of trials 304 (step 214) and the process proceeds to step 216. Otherwise, the trial count 304 is cleared to zero (step 21
5), go to step 205. It is compared whether the cumulative number of trials exceeds the specified value, for example, 3 times (step 21).
6) If it exceeds, the failure of the initialization process is reported to the system administrator, for example, by displaying a message indicating the occurrence of a defect on the screen, and the process ends (step 218).
If it does not exceed the specified value, the retry of the procedure in which the defect has occurred is planned and the process returns to step 211 (step 21).
7).

【0031】[0031]

【発明の効果】本発明では、設定データと手順データを
管理し,要求に応じて配布する設定管理プログラムを設
けた結果、システム管理者が手操作でクライアントプロ
グラムの初期化処理を行なう必要がない。さらに初期化
処理の実行は、クライアントマシンが通信ネットワーク
に接続した後に、クライアントマシンの初期プログラム
ローダで自動的に行なうので、従来のように通信ネット
ワーク全体のクライアントプログラムの初期化処理を実
行するサーバマシンが存在せず,特定の端末に負荷が集
中しない。さらに、複数のサーバプログラムに対応した
複数の手順に基づいて初期化処理を実行する際に、設定
管理プログラムが設定データおよび手順データに合わせ
て手順制御データを配布するので、誤った実行順序が原
因である初期化不良が発生することを防止できる。
As described above, according to the present invention, since the setting management program for managing the setting data and the procedure data and distributing the setting data upon request is provided, the system administrator does not need to manually perform the initialization processing of the client program. . Further, since the initialization process is automatically performed by the initial program loader of the client machine after the client machine is connected to the communication network, the server machine that executes the initialization process of the client program of the entire communication network as in the conventional case. Does not exist, and the load does not concentrate on a specific terminal. Furthermore, when executing the initialization process based on multiple procedures corresponding to multiple server programs, the setting management program distributes the procedure control data according to the setting data and procedure data, which may cause an incorrect execution order. It is possible to prevent the occurrence of the initialization failure.

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

【図1】本発明の1実施例におけるクライアントマシン
と導入専用サーバマシンにおける処理手順を一括して示
すフローチャートである。
FIG. 1 is a flowchart collectively showing a processing procedure in a client machine and an installation-dedicated server machine according to an embodiment of the present invention.

【図2】実施例におけるクライアントマシンで初期化処
理時に検出した不良に基づき,初期化処理を再試行する
手順を示すフローチャートである。
FIG. 2 is a flowchart showing a procedure of retrying the initialization process based on a defect detected at the initialization process in the client machine in the embodiment.

【図3】1実施例における分散システムの概要を示す構
成図である。
FIG. 3 is a configuration diagram showing an outline of a distributed system in one embodiment.

【図4】従来の分散システムの概要を示す構成図であ
る。
FIG. 4 is a configuration diagram showing an outline of a conventional distributed system.

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

340……導入用サーバマシン、341……設定管理プ
ログラム、301……クライアントプログラム、302
……初期プログラムローダ
340 ... Installation server machine, 341 ... Setting management program, 301 ... Client program, 302
...... Initial program loader

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 15/16 370 N 7429−5L (72)発明者 庄司 直史 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification number Internal reference number FI Technical display location G06F 15/16 370 N 7429-5L (72) Inventor Naofumi Shoji 1099 Ozenji, Aso-ku, Kawasaki-shi, Kanagawa Hitachi, Ltd. System Development Laboratory

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】クライアントプログラムを搭載する第1の
端末と、該クライアントプログラムの実行に際してアク
セスされるサーバプログラムを搭載する第2の端末とを
含み、前記第1、第2の端末が通信ネットワークを介し
て接続された分散システムを構築する方法において、前
記サーバプログラムを利用するクライアントプログラム
の初期化処理に必要な初期化処理用のデータを管理する
設定管理プログラムが存在する第3の端末を予め上記通
信ネットワークに接続し、前記第1の端末を前記分散シ
ステムに導入する際には、前記第1の端末に備える初期
プログラムローダにより上記設定管理プログラムに要求
を発して前記初期化処理用のデータを前記第1の端末に
ダウンロードし、ダウンロードされた初期化処理データ
を用いて前記第1の端末内で自己のクライアントプログ
ラムの初期化処理期を行うことを特徴とする分散システ
ムの構築方法。
1. A first terminal equipped with a client program and a second terminal equipped with a server program that is accessed when the client program is executed, wherein the first and second terminals form a communication network. In the method of constructing a distributed system connected via the above, the third terminal in which a setting management program for managing data for initialization processing necessary for initialization processing of the client program using the server program exists is previously described above. When connecting to the communication network and introducing the first terminal to the distributed system, the initial program loader included in the first terminal issues a request to the setting management program to transfer the data for the initialization processing. The data is downloaded to the first terminal, and the first initialization data using the downloaded initialization processing data is used. Method for constructing a distributed system and performing initialization period of its own client program in the terminal.
【請求項2】複数のサーバプログラムを分散して搭載す
る複数のサーバマシンと、前記複数のにサーバプログラ
ムの任意のものをアクセスして自己の処理を遂行するク
ライアントプログラムを搭載するクライアントマシンが
通信ネットワークを介して接続された分散システムを構
築する方法において、前記複数のサーバプログラムのそ
れぞれについて、当該サーバプログラムを利用するクラ
イアントプログラムの初期化処理に必要な初期化処理用
のデータを管理する設定管理プログラムを搭載する導入
用サーバマシンを予め上記通信ネットワークに接続し、
前記クライアントマシンを前記分散システムに導入する
際には、前記クライアントマシンに備える初期プログラ
ムローダにより上記設定管理プログラムに要求を発して
前記初期化処理用のデータのうち必要なデータを前記ク
ライアントマシンにダウンロードし、ダウンロードされ
たデータを用いて前記クライアントマシン内で自己のク
ライアントプログラムの初期化処理期を行うことを特徴
とする分散システムの構築方法。
2. Communication between a plurality of server machines in which a plurality of server programs are installed in a distributed manner and a client machine in which a client program that accesses any of the plurality of server programs and executes its own processing is communicated. In a method of constructing a distributed system connected via a network, for each of the plurality of server programs, setting management for managing data for initialization processing necessary for initialization processing of a client program that uses the server program Connect the installation server machine equipped with the program to the communication network in advance,
When the client machine is installed in the distributed system, an initial program loader included in the client machine issues a request to the setting management program to download necessary data out of the initialization processing data to the client machine. Then, the method for constructing a distributed system is characterized in that the client computer performs an initialization process of its own client program using the downloaded data.
【請求項3】前記初期化処理用のデータは、前記複数の
サーバプログラムにそれぞれ固有の設定データ及び設定
手順データ、並びに、前記複数のサーバプログラムの各
々の初期化処理同志の手順の相互依存関係を示す手順制
御データを含むことを特徴とする請求項2に記載の分散
システムの構築方法。
3. The initialization data includes setting data and setting procedure data unique to each of the plurality of server programs, and an interdependence relationship between procedures of the initialization processing of each of the plurality of server programs. The method for constructing a distributed system according to claim 2, further comprising procedure control data indicating
【請求項4】複数の端末が通信ネットワークを介して接
続され、要求を出すクライアントプログラムとクライア
ントプログラムを利用可能にする初期プログラムローダ
とが存在する第1の端末、前記第1の端末のクライアン
トプログラムの要求を処理するサーバプログラムが存在
する複数の第2の端末、及び上記第1の端末のクライア
ントプログラムが上記第2の端末のサーバプログラムに
アクセスするために必要な設定データ、該設定データを
用いて前記第1の端末のクライアントプログラムを初期
化する方法を記述した手順データと、該設定データと該
手順データとを他の端末にダウンロードする処理を有す
る設定管理プログラムが存在する第3の端末を含む分散
システムの構築方法において、前記第1の端末を前記通
信ネットワークに接続した際に、前記第1の端末の初期
プログラムローダが前記第3の端末の設定管理プログラ
ムに対し前記設定データと前記手順データを要求するス
テップと、前記第3の端末の設定管理プログラムが、前
記第1の端末の初期プログラムローダに対し,複数の前
記設定データおよび前記手順データと、複数の前記手順
データの実行順序を記述した手順制御データとを一括し
てダウンロードするステップと、前記設定データと前記
手順データと前記手順制御データを用いて、複数の前記
第2の端末のサーバプログラムにアクセスできるため
に、前記第1の端末の初期プログラムローダが前記第1
の端末のクライアントプログラムを初期化処理を実行す
るステップを含むことを特徴とする分散システムの構築
方法。
4. A first terminal, in which a plurality of terminals are connected via a communication network, and which has a client program for issuing a request and an initial program loader for making the client program available, the client program of the first terminal A plurality of second terminals in which a server program for processing the above request exists, and setting data necessary for the client program of the first terminal to access the server program of the second terminal, using the setting data A third terminal having a procedure management data describing a method for initializing the client program of the first terminal and a setting management program having a process of downloading the setting data and the procedure data to another terminal. In a method of constructing a distributed system including: the first terminal in the communication network. When continuing, the step of the initial program loader of the first terminal requesting the setting data and the procedure data to the setting management program of the third terminal; and the setting management program of the third terminal, A step of collectively downloading to the initial program loader of the first terminal, the plurality of setting data and the procedure data, and procedure control data describing an execution order of the plurality of procedure data; Using the procedure data and the procedure control data, the initial program loader of the first terminal can access the server programs of the plurality of second terminals.
A method for constructing a distributed system, comprising the step of executing an initialization process of a client program of the terminal.
【請求項5】請求項4に記載の分散システムの構築方法
において、複数の前記第2の端末のサーバプログラムに
アクセスできるために、前記第1の端末の初期プログラ
ムローダが前記第1の端末のクライアントプログラムを
初期化処理を実行するステップにおいて,前記実行制御
データと複数の前記手順データに従って、前記第1の端
末のクライアントプログラムの初期化処理を逐次的に実
行するステップと、各手順データに対応した上記初期化
処理のログを蓄積するステップと、各手順データで記述
した手順が終了した際に上記初期化処理のログを検査す
るステップと、初期化処理の不良を検出したときは,初
期化処理の不良が発生した手順を再試行し、その再試行
の回数の累積と前記手順データとを対応した累積情報を
蓄積し、蓄積された上記累積情報が一定値を越えると
き、前記初期プログラムローダによる前記クライアント
プログラムの初期化処理を停止するステップを含むこと
を特徴とする分散システムの構築方法。
5. The method for constructing a distributed system according to claim 4, wherein the initial program loader of the first terminal can access the server programs of a plurality of the second terminals. In the step of executing the initialization process of the client program, the step of sequentially executing the initialization process of the client program of the first terminal according to the execution control data and the plurality of procedure data, and corresponding to each procedure data The step of accumulating the log of the above initialization processing, the step of inspecting the log of the above initialization processing when the procedure described in each procedure data is completed, and the initialization processing when a defect of the initialization processing is detected. The procedure in which the processing failure has occurred is retried, and cumulative information corresponding to the cumulative number of retries and the procedure data is accumulated and accumulated. When the accumulated information exceeds a predetermined value, method for constructing a distributed system, characterized in that it comprises a step of stopping the initializing process of the client program by the initial program loader.
JP5291635A 1993-11-22 1993-11-22 Constructing method of distributed system Pending JPH07146851A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5291635A JPH07146851A (en) 1993-11-22 1993-11-22 Constructing method of distributed system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5291635A JPH07146851A (en) 1993-11-22 1993-11-22 Constructing method of distributed system

Publications (1)

Publication Number Publication Date
JPH07146851A true JPH07146851A (en) 1995-06-06

Family

ID=17771509

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5291635A Pending JPH07146851A (en) 1993-11-22 1993-11-22 Constructing method of distributed system

Country Status (1)

Country Link
JP (1) JPH07146851A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10177534A (en) * 1996-12-13 1998-06-30 Nec Corp Method for installing client component
JPH11175484A (en) * 1997-12-11 1999-07-02 Fujitsu Ltd Software setting device and method therefor and record medium for recording program for realizing the same method
JP2007271722A (en) * 2006-03-30 2007-10-18 Yamaha Corp Electronic musical instrument
JP2023032459A (en) * 2021-08-27 2023-03-09 株式会社ピーエスシー kitting system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10177534A (en) * 1996-12-13 1998-06-30 Nec Corp Method for installing client component
JPH11175484A (en) * 1997-12-11 1999-07-02 Fujitsu Ltd Software setting device and method therefor and record medium for recording program for realizing the same method
JP2007271722A (en) * 2006-03-30 2007-10-18 Yamaha Corp Electronic musical instrument
JP2023032459A (en) * 2021-08-27 2023-03-09 株式会社ピーエスシー kitting system

Similar Documents

Publication Publication Date Title
US11113043B2 (en) Split front end for flexible back end cluster processing
US6976062B1 (en) Automated software upgrade utility
US5619716A (en) Information processing system having a configuration management system for managing the software of the information processing system
US8037195B2 (en) Method and apparatus for managing components in an IT system
CA2457440C (en) System and method for the automatic installation and configuration of an operating system
US6360255B1 (en) Automatically integrating an external network with a network management system
DE10003108B4 (en) Method and computer system for performing a software installation
US20040268340A1 (en) Managing multiple devices on which operating systems can be automatically deployed
US20060259594A1 (en) Progressive deployment and maintenance of applications on a set of peer nodes
JPH10301760A (en) Automatic software distribution management system and method
US6065116A (en) Method and apparatus for configuring a distributed application program
JPH10124370A (en) Data management device
JPH11282686A (en) Network computer system
CN115202680A (en) System and method for automatically upgrading local client on line in remote manner
CN112306492A (en) Multi-platform supporting automatic compiling method based on manager and worker architecture
JPH07146851A (en) Constructing method of distributed system
CN109145054A (en) A kind of method of managing customer end data
CN111209012A (en) Linux system-oriented software agent end automatic deployment method
GB2377775A (en) Distributing programs to processing units in a network using information on the capabilities of the units
CN108650320B (en) Method for synchronizing configuration files of isomorphic cascading equipment in cluster environment
CN106909674B (en) Method and device for updating statistical information of database
US20070174913A1 (en) Method and system for acquiring particular data upon start of a particular program
JPH08115219A (en) Virsion management system and network system
JP3433858B2 (en) Resource management device
JPH05120023A (en) Program loading system