JP3184098B2 - Same operation command execution device and method of using same - Google Patents

Same operation command execution device and method of using same

Info

Publication number
JP3184098B2
JP3184098B2 JP22712096A JP22712096A JP3184098B2 JP 3184098 B2 JP3184098 B2 JP 3184098B2 JP 22712096 A JP22712096 A JP 22712096A JP 22712096 A JP22712096 A JP 22712096A JP 3184098 B2 JP3184098 B2 JP 3184098B2
Authority
JP
Japan
Prior art keywords
same operation
command
file
target host
execution
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP22712096A
Other languages
Japanese (ja)
Other versions
JPH1069462A (en
Inventor
智子 桑野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Software Kyushu Ltd
Original Assignee
NEC Software Kyushu 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 Software Kyushu Ltd filed Critical NEC Software Kyushu Ltd
Priority to JP22712096A priority Critical patent/JP3184098B2/en
Publication of JPH1069462A publication Critical patent/JPH1069462A/en
Application granted granted Critical
Publication of JP3184098B2 publication Critical patent/JP3184098B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は同一操作コマンド実
行装置およびその使用方法に関し、特にコンピュータネ
ットワークシステムにおける複数のホストマシンに対し
て同一操作を要求するコマンドである同一操作コマンド
の実行装置およびその使用方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a device for executing the same operation command and a method of using the same, and more particularly to a device for executing the same operation command which is a command for requesting the same operation to a plurality of host machines in a computer network system and the use thereof. About the method.

【0002】[0002]

【従来の技術】従来の同一操作コマンド実行装置、すな
わち、複数のホストマシンに同一操作を要求するコマン
ドを実行させる技術の例として、例えば特公昭58−3
6375号公報記載の技術がある。
2. Description of the Related Art As an example of a conventional same operation command execution apparatus, that is, a technique for causing a plurality of host machines to execute a command requesting the same operation, for example, Japanese Patent Publication No. Sho 58-3
There is a technique described in US Pat.

【0003】上記公報の技術は、単一バスを用いてサブ
システム間の通信を行なう多重系計算機システムにおい
て、複数のサブシステムにデータを一斉に通信できるよ
うにした多重系計算機システムにおけるデータ通信処理
方式に関するものであり、その概要を以下に述べる。
The technique disclosed in the above publication is a data communication process in a multi-computer system in which data can be simultaneously communicated to a plurality of sub-systems in a multi-computer system that performs communication between subsystems using a single bus. This is related to the system, and its outline is described below.

【0004】単一バスは、データ線と、そのデータ線上
の情報がデータ情報であるかそれ以外のコマンド情報ま
たはレスポンス情報であるかを指示する制御情報を送受
信するための制御線と、を含んで構成されている。
[0004] The single bus includes a data line and a control line for transmitting and receiving control information indicating whether information on the data line is data information or other command information or response information. It is composed of

【0005】一斉通信を行なう場合に、送信サブシステ
ムは、先ず、制御線上にデータ線上のデータがコマンド
情報またはレスポンス情報であることを指示する制御情
報を送出するとともに、データ線上に各受信サブシステ
ム宛のデータ転送コマンド情報を個別に送出する。
[0005] When performing simultaneous communication, the transmitting subsystem first sends control information indicating that the data on the data line is command information or response information on the control line, and transmits each receiving subsystem on the data line. It sends out data transfer command information addressed to it individually.

【0006】各受信サブシステムは、自サブシステム宛
のデータ転送コマンド情報を受信したとき、これに応答
してレスポンス情報をデータ線上に送出する。
When each receiving subsystem receives data transfer command information addressed to its own subsystem, it sends response information on the data line in response to the command.

【0007】次に、送信サブシステムは制御線上にデー
タ線上のデータがデータ情報であることを指示する制御
情報を送出するとともに各受信サブシステム宛の同一デ
ータをデータ線上に同時に一斉に送出し、その後、送信
サブシステムは制御線上にデータ線上のデータがコマン
ド情報またはレスポンス情報であることを指示する制御
情報を送出するとともにデータ線上に各受信サブシステ
ム宛のデータ終了コマンド情報を個別に送出する。
Next, the transmitting subsystem transmits control information indicating that the data on the data line is data information on the control line, and simultaneously transmits the same data addressed to each receiving subsystem on the data line simultaneously. Thereafter, the transmission subsystem sends control information indicating that the data on the data line is command information or response information on the control line, and also sends data end command information destined for each reception subsystem on the data line.

【0008】各受信サブシステムは自サブシステム宛の
データ終了コマンド情報を受信したときこれに応答して
レスポンス情報をデータ線上に送出している。
When each receiving subsystem receives the data end command information addressed to its own subsystem, it sends response information on the data line in response to the command.

【0009】このようにして、特公昭58−36375
号公報記載の技術では、データ受信という同一操作を単
一バスに並列に接続されている複数のサブシステムに行
なわせている。
Thus, Japanese Patent Publication No. 58-36375
In the technique described in the publication, the same operation of data reception is performed by a plurality of subsystems connected in parallel to a single bus.

【0010】[0010]

【発明が解決しようとする課題】上述した従来の同一操
作コマンド実行装置は、データの受信に際しては、転送
データの受信が正常に終了したか否かのデータ転送に関
する確認しか行なっておらず、他の操作を要求するコマ
ンドをデータとして転送しても、そのコマンドの実行結
果の確認を取得する機能を有していないため、複数の装
置に対して同一操作を一斉に実行するコマンド、所謂同
一操作コマンドが転送データの受信動作を指示するコマ
ンドのみに限定され、他の動作を指示するコマンドに対
しては作用しないという欠点がある。
In the above-mentioned conventional operation command execution device, upon reception of data, only the confirmation of data transfer as to whether or not the reception of the transfer data has been completed normally is performed. Even if a command requesting the operation is transmitted as data, it does not have a function of acquiring confirmation of the execution result of the command, so a command for simultaneously executing the same operation on a plurality of devices, so-called the same operation There is a disadvantage that the command is limited to only a command instructing an operation of receiving transfer data, and does not act on a command instructing another operation.

【0011】環境の設定や、バックアップ処理など、同
一ネットワーク上の複数ホストマシンに対する同一操作
の実行は多数あり、これらに対しては各々のホストマシ
ンに必要な操作をオペレータがそれぞれ実行しなければ
ならず、対象ホストマシン数が多ければ、その操作数も
増え煩雑であるという欠点がある。
There are a number of executions of the same operation on a plurality of host machines on the same network, such as environment setting and backup processing. For these operations, an operator must execute the necessary operations for each host machine. On the other hand, if the number of target host machines is large, the number of operations increases, which is complicated.

【0012】また、従来の同一操作コマンド実行装置
は、あるサブシステムに対してデータの転送が失敗した
場合に、この異常サブシステムを特定することはできる
が、この異常サブシステムは、失敗したままの状態であ
り、データの転送が成功した他のサブシステムとは異な
った状態になってしまっており、サブシステム間の同期
がとれないという欠点がある。
Further, the conventional same operation command execution device can identify the abnormal subsystem when data transfer to a certain subsystem fails, but the abnormal subsystem remains failed. This is a state different from that of other subsystems to which data transfer has succeeded, and there is a disadvantage that synchronization between the subsystems cannot be achieved.

【0013】また、転送するデータがコマンドまたはレ
スポンスであるか、データであるかを示す制御情報を流
すための制御線と、転送しようとするデータを流すため
のデータ線の2つの回線が必要なため、単一バスで並列
に繋がれたサブシステム間でしかデータ転送ができず、
特定のネットワーク構成に限定されるという欠点があ
る。
Also, two lines are required: a control line for passing control information indicating whether the data to be transferred is a command or a response or data, and a data line for passing data to be transferred. Therefore, data can be transferred only between subsystems connected in parallel with a single bus,
It has the disadvantage of being limited to a specific network configuration.

【0014】本発明の目的は、同一ネットワークシステ
ム内の複数のホストマシンに対して同一操作を要求する
コマンドを実行し、実行結果についての各ホストマシン
の状態の同期を確保できる同一操作コマンド実行装置お
よびその使用方法を提供することにある。
An object of the present invention is to execute a command for requesting the same operation to a plurality of host machines in the same network system, and to ensure the synchronization of the state of each host machine with respect to the execution result. And a method of using the same.

【0015】[0015]

【課題を解決するための手段】第1の発明の同一操作コ
マンド実行装置は、同一ネットワークシステム内の複数
のホストマシンに対して同一操作を要求し実行させるコ
マンドである同一操作コマンドを実行する同一操作コマ
ンド実行装置において、前記同一操作の対象となる前記
ホストマシンの識別子とそのログオン時のユーザ識別子
とパスワードとを記憶するホスト構成記憶手段と、前記
同一操作を実行する前記対象ホストマシンのデイレクト
リを前記対象ホストマシン毎に記憶するデイレクトリ記
憶手段と、外部から供給される同一操作実行の開始要求
に応答して前記ホスト構成記憶手段を参照して前記対象
ホストマシンをログオンしログオンした前記対象ホスト
マシンのデイレクトリと前記デイレクトリ記憶手段との
整合性を調べすべての前記対象ホストマシンが整合して
いるときには同一操作実行開始を指示しそれ以外の場合
にはすべての前記対象ホストマシンをログオフし同一操
作実行中止を指示する同一操作開始指示手段と、前記同
一操作開始指示手段からの同一操作実行開始指示に応答
して外部から入力されるコマンドをすべての前記対象ホ
ストマシンに供給して実行させすべての前記対象ホスト
マシンで実行成功のときには次の処理に移行しそれ以外
のときには外部から入力されるコマンドに応じてすべて
の前記対象ホストマシンの状態を前記同一操作実行開始
指示供給前の状態に復旧させ同一操作実行失敗を表示指
示する同一操作実行手段と、外部から供給される同一操
作終了要求に応答してすべての前記対象ホストマシンを
ログオフし同一操作終了を表示指示する同一操作終了手
段とを含んで構成されている。
According to a first aspect of the present invention, there is provided an identical operation command execution device for executing an identical operation command which is a command for requesting and executing the same operation to a plurality of host machines in the same network system. In the operation command execution device, a host configuration storage unit that stores an identifier of the host machine to be subjected to the same operation, a user identifier and a password at the time of logon thereof, and a directory of the target host machine that executes the same operation. A directory storage means for storing for each of the target host machines, and the target host machine logging on and logging on to the target host machine by referring to the host configuration storage means in response to a start request for executing the same operation supplied from outside Check the consistency between the directory and the directory storage means. The same operation start instructing means for instructing the start of the same operation when the target host machines are consistent, and otherwise instructing to log off all the target host machines and to stop the execution of the same operation, In response to the same operation execution start instruction from the start instruction means, a command input from the outside is supplied to all the target host machines and executed, and when the execution is successful on all the target host machines, the process proceeds to the next processing. At other times, the same operation execution means for restoring the states of all the target host machines to a state before the supply of the same operation execution start instruction according to a command input from the outside and displaying the same operation execution failure display instruction, Log off all the target host machines in response to the same operation end request supplied from outside and display the same operation end display It is configured to include a same operation end means that.

【0016】第2の発明の同一操作コマンド実行装置の
使用方法は、同一操作コマンド実行装置を使用して同一
操作対象ホストマシンにデイレクトリ作成を行なわせる
ときには、先ず同一操作実行の開始要求を行ない、次い
でデイレクトリ作成コマンドを供給し、実行失敗の同一
操作対象ホストマシンがあるときにはデイレクトリ削除
コマンドを供給して実行成功の同一操作対象ホストマシ
ンで新たに作成したデイレクトリを削除し、次いで同一
操作終了要求を行なうことを特徴としている。
The method of using the same operation command execution device according to the second invention is such that, when the same operation command execution device is used to create a directory on the same operation target host machine, a start request for the same operation execution is first made, Next, a directory creation command is supplied, and if there is an identical operation target host machine that has failed in execution, a directory deletion command is supplied to delete the newly created directory on the same operation target host machine that has succeeded in execution, and then a termination request of the same operation is issued. It is characterized by doing.

【0017】第3の発明の同一操作コマンド実行装置の
使用方法は、同一操作コマンド実行装置を使用して同一
操作対象ホストマシンにフアイルの削除またはコピーを
行なわせるときには、先ず同一操作実行の開始要求を行
ない、次いで前記対象フアイルの退避コマンドを供給
し、次ぎに前記対象フアイルの削除またはコピーコマン
ドを供給し、すべての前記対象ホストマシンでの前記対
象フアイルの削除またはコピーコマンドの実行が成功し
たときには前記退避コマンドにより退避させられたフア
イルの削除コマンドを供給し、それ以外のときには、前
記退避コマンドにより退避させられたフアイルの復元コ
マンドを供給し、次いで同一操作終了要求を行なうこと
を特徴としている。
The method of using the same operation command execution device according to the third invention is the same as that of using the same operation command execution device but causing the same operation target host machine to delete or copy a file. Then, the save command of the target file is supplied, then the delete or copy command of the target file is supplied, and when the delete or copy command of the target file is successfully executed on all the target host machines, A delete command for the file saved by the save command is supplied, and a restoring command for the file saved by the save command is supplied at other times, and then a request for terminating the same operation is made.

【0018】第4の発明の同一操作コマンド実行装置の
使用方法は、同一操作コマンド実行装置を使用して同一
操作対象ホストマシンにあるフアイルの編集処理を行な
うときには、先ず同一操作実行の開始要求を行ない、次
いで前記対象フアイルの転送コマンドを供給し、次いで
同一操作終了要求を行ない、次に前記転送されたフアイ
ルの編集を行ない、次に同一操作実行の開始要求を行な
い、次に前記編集されたフアイルの転送コマンドを供給
し、前記編集されたフアイルの転送コマンドの実行失敗
の前記同一操作対象ホストマシンがあるときには前記編
集して転送されたフアイルの削除コマンドを供給し、次
いで同一操作終了要求を行なうことを特徴としている。
A method of using the same operation command execution device according to a fourth aspect of the present invention is that, when a file in the same operation target host machine is edited using the same operation command execution device, first, a request to start the same operation execution is made. Then, the transfer command of the target file is supplied, then the same operation end request is made, then the transferred file is edited, then the start of the same operation is requested, and then the edited file is sent. A file transfer command is supplied, and when there is the same operation target host machine in which execution of the edited file transfer command has failed, a delete command of the edited and transferred file is supplied, and then a same operation end request is issued. It is characterized by doing.

【0019】[0019]

【発明の実施の形態】次に、本発明の実施の形態につい
て図面を参照して説明する。
Next, embodiments of the present invention will be described with reference to the drawings.

【0020】図1は本発明の同一操作コマンド実行装置
の一実施の形態の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of an embodiment of the same operation command execution device according to the present invention.

【0021】本実施の形態の同一操作コマンド実行装置
1は、図1に示すように、複数のホストマシン8(例え
ば、ホストA、BおよびC)と協働して作用する。
As shown in FIG. 1, the same operation command execution device 1 of this embodiment works in cooperation with a plurality of host machines 8 (for example, hosts A, B and C).

【0022】同一操作コマンド実行装置1にはデイレク
トリフアイル5と、ホスト構成フアイル6と、同一操作
開始指示手段2と、同一操作コマンド実行手段3と同一
操作終了手段4とを含んで構成されている。
The same operation command execution device 1 includes a directory file 5, a host configuration file 6, the same operation start instructing means 2, the same operation command execution means 3, and the same operation end means 4. .

【0023】ホスト構成フアイル6には、同一操作の対
象とするホストマシン8のホストマシン名とホストマシ
ン毎にログオン時のユーザ名とパスワードとを予め記憶
している。
The host configuration file 6 stores in advance the host machine name of the host machine 8 to be subjected to the same operation, and the user name and password for logon for each host machine.

【0024】対象とするホストマシンの追加または削除
が発生した場合には、ホスト構成フアイル6を更新すれ
ば、容易に対象ホストマシンの変更が可能である。
When a target host machine is added or deleted, the target host machine can be easily changed by updating the host configuration file 6.

【0025】ホスト構成フアイル6によって同一操作コ
マンドを実行するホストマシンを特定するので、どのよ
うなネットワーク構成であっても、同一のネットワーク
で繋がっていれば、同一操作コマンドの対象とすること
ができる。
Since the host machine that executes the same operation command is specified by the host configuration file 6, it can be the target of the same operation command in any network configuration as long as they are connected by the same network. .

【0026】デイレクトリフアイル5には、同一操作を
実行するデイレクトリを各ホストマシン毎に予め記憶し
ている。
In the directory file 5, directories for executing the same operation are stored in advance for each host machine.

【0027】同一操作を実施するデイレクトリに変更が
発生した場合は、デイレクトリフアイル5を変更すれば
変更されたデイレクトリで、同一操作コマンドが実行さ
れる。
If the directory in which the same operation is performed is changed, the same operation command is executed in the changed directory by changing the directory file 5.

【0028】同一操作開始指示手段2は、同一操作を開
始するための準備を行なう。
The same operation start instructing means 2 makes preparations for starting the same operation.

【0029】同一操作の開始を要求されると、同一操作
開始指示手段2によって、ホスト構成フアイル6を基に
全対象ホストマシンをログオンし、全ホストマシン8の
デイレクトリの整合性をデイレクトリフアイル5によっ
てチェックする。正常に同一操作開始指示手段2が終了
すれば、同一操作の開始を表示指示し、以降の操作を全
て同一操作コマンドと認識する。
When the start of the same operation is requested, the same operation start instructing means 2 logs on all the target host machines based on the host configuration file 6 and checks the consistency of directories of all the host machines 8 by the directory file 5. To check. When the same operation start instructing means 2 ends normally, the start of the same operation is instructed to be displayed, and all subsequent operations are recognized as the same operation command.

【0030】同一操作コマンド実行手段3は、要求され
たコマンド(デイレクトリの作成、フアイルのコピー/
削除、エデイタなど)に応じて、コマンドを作成し、ホ
スト構成フアイル6に記憶されているホスト情報を基に
各ホストマシン8にコマンドを転送する。
The same operation command execution means 3 transmits the requested command (creation of a directory, copying of a file /
A command is created in response to the deletion, editor, etc.), and the command is transferred to each host machine 8 based on the host information stored in the host configuration file 6.

【0031】全ホストマシン8で正常に終了すれば、同
一操作コマンドの成功を表示指示する。一つでも失敗し
たホストマシン8があった場合には、ホストマシン8を
コマンド実行前の状態に戻し、同一操作コマンドの失敗
を表示指示する。
When the processing is completed normally in all the host machines 8, the display of the success of the same operation command is instructed. If any one of the host machines 8 has failed, the host machine 8 is returned to the state before the execution of the command, and the display of the failure of the same operation command is instructed.

【0032】同一操作終了手段4は、同一操作の終了処
理を行なう。
The same operation ending means 4 performs the same operation ending process.

【0033】同一操作の終了が要求されると、同一操作
終了手段4は同一操作を終了するために、ホスト構成フ
アイル6を基に全対象ホストマシン8をログオフし、同
一操作の終了を表示指示し、本同一操作を終了する。
When the end of the same operation is requested, the same operation end means 4 logs off all the target host machines 8 based on the host configuration file 6 to end the same operation, and instructs the end of the same operation to be displayed. Then, the same operation ends.

【0034】次に図1を参照して、本実施の形態の同一
操作コマンド実行装置の動作について説明する。
Next, the operation of the same operation command execution device according to the present embodiment will be described with reference to FIG.

【0035】まず、同一操作開始指示手段2によって同
一操作開始の準備を行なう。
First, the same operation start instructing means 2 prepares for the start of the same operation.

【0036】図2は同一操作開始指示手段2の動作を示
す流れ図である。
FIG. 2 is a flowchart showing the operation of the same operation start instructing means 2.

【0037】同一操作の実行開始要求を受取ると(ステ
ップ21)、同一操作開始指示手段2はホスト構成フア
イル6にあるユーザ名とパスワードでログオンコマンド
を作成し、これを全対象ホストに転送し、各々ログオン
する(ステップ22)。
When receiving a request to start execution of the same operation (step 21), the same operation start instructing means 2 creates a logon command using the user name and password in the host configuration file 6 and transfers it to all target hosts. Each is logged on (step 22).

【0038】ログオンが成功すれば(ステップ23のY
ES枝)、各ホストマシン8上のデイレクトリとデイレ
クトリフアイル5の情報との整合性をチェックする(ス
テップ24)。
If the logon is successful (Y in step 23)
ES branch), the consistency between the directory on each host machine 8 and the information in the directory file 5 is checked (step 24).

【0039】ログオンとデイレクトリの整合性のチェッ
クが正常に終了すれば(ステップ25のYES枝)、同
一操作の開始を表示指示する(ステップ26)。
If the consistency check between the logon and the directory is completed normally (YES branch of step 25), a display instruction is given to start the same operation (step 26).

【0040】これ以降に入力されるコマンドは、全て同
一操作コマンドとして認識される。
All commands input thereafter are recognized as the same operation command.

【0041】ログオンまたはデイレクトリのチェックに
おいて、1つでも実行に失敗したホストマシン8があっ
た場合には(ステップ23のNO枝またはステップ25
のNO枝)、実行を中止する。すなわち、ログオフコマ
ンドを作成し、対象ホストマシンにコマンドを転送し、
各々ログオフし(ステップ27)、同一操作の失敗を表
示指示する。
If at least one of the host machines 8 failed in the logon or directory check (NO in step 23 or step 25).
NO branch), the execution is stopped. That is, create a logoff command, transfer the command to the target host machine,
Each of them is logged off (step 27), and an instruction is given to display the failure of the same operation.

【0042】対象となるホストマシン8の電源が入って
いなかったり、ホストマシン8の負荷が高いなどの異常
が発生していて、同一操作ができないホストマシン8
は、ログオンに失敗する。これにより、同一操作ができ
ないホストマシン8があるかどうかの確認を行なうこと
ができる。
An abnormality such as the power of the target host machine 8 not being turned on or a high load on the host machine 8 has occurred and the host machine 8 cannot perform the same operation.
Fails to log on. Thereby, it is possible to confirm whether there is a host machine 8 that cannot perform the same operation.

【0043】また、デイレクトリフアイル5で、デイレ
クトリの整合性のチェックを行なうため(ステップ2
4)、各同一操作コマンドの実行時にチェックする必要
がなく、デイレクトリの不一致によるエラーも防止する
ことができる。
In order to check the consistency of the directory in the directory file 5 (step 2).
4) It is not necessary to check when each identical operation command is executed, and errors due to directory mismatch can be prevented.

【0044】上記のように、同一操作開始指示手段2に
よってチェックを実行前に行ない、同一操作の実施
可能なホストマシン8があった場合には、同一操作の開
始はしない。そのため、対象ホストマシン8のうち、同
一操作の実施が可能なホストマシン8のみ同一操作を実
施するということがないので、対象ホストマシン8全て
を同じ状態に保つことができる。
As described above, the check is performed by the same operation start instructing means 2 before execution, and if there is a host machine 8 that can not execute the same operation, the same operation is not started. Therefore, among the target host machines 8, only the host machine 8 capable of performing the same operation does not execute the same operation, so that all the target host machines 8 can be kept in the same state.

【0045】同一操作コマンドの実行は同一操作コマン
ド実行手段3によって行なわれる。図3は同一操作コマ
ンド実行手段3の動作を示す流れ図である。
The execution of the same operation command is performed by the same operation command execution means 3. FIG. 3 is a flowchart showing the operation of the same operation command executing means 3.

【0046】一つの処理を行なわせるには、N(N=1
以上の整数)個のコマンドの実行により達成できるの
で、オペレータは第1番目のコマンドより順に入力す
る。これに応じて同一操作コマンド実行手段3は第1番
目のコマンドを先ず複数の対象ホストマシン8に転送し
(ステップ31および32)、全ての対象ホストマシン
8からその実行結果の成功の返事を受理したら(ステッ
プ33のYES枝)、次に第2番目のコマンドと、処理
を構成するN個のコマンドの実行を順に行なわせ(ステ
ップ32、33のYES枝、34、35のNOのルー
プ)、すべてのコマンドの実行が成功裡に終了したとき
には(ステップ35のYES枝)、実行結果を表示指示
して(ステップ37)、終了する。
To execute one process, N (N = 1)
This can be achieved by executing the above (integer) commands, and the operator inputs the commands in order from the first command. In response to this, the same operation command executing means 3 first transfers the first command to a plurality of target host machines 8 (steps 31 and 32), and receives a response indicating success of the execution result from all the target host machines 8. Then (YES branch of step 33), the second command and the N commands constituting the process are executed sequentially (YES branch of steps 32 and 33, NO loop of 34 and 35), and When the execution of all the commands is completed successfully (YES branch of step 35), the execution result is instructed to be displayed (step 37), and the process ends.

【0047】しかしながら、ステップ33で、対象ホス
トマシン8の中の1つでもコマンド実行を失敗したとき
には(ステップ33のNO枝)、この処理の開始前の状
態に戻すコマンドをオペレータが入力し、この同一操作
コマンド実行手段3によりこのコマンドをすべての対象
ホストマシン8に転送し(ステップ36)、すべての対
象ホストマシン8の状態をこの処理の開始前の状態に戻
し、同一操作の失敗表示指示を行なって(ステップ3
7)、終了する。
However, in step 33, if even one of the target host machines 8 fails to execute the command (NO branch of step 33), the operator inputs a command to return to the state before the start of this processing, and This command is transferred to all the target host machines 8 by the same operation command executing means 3 (step 36), the state of all the target host machines 8 is returned to the state before the start of this processing, and a failure display instruction of the same operation is issued. Go (Step 3
7), end.

【0048】次に、図5参照してこの同一操作コマン
ド実行手段3による処理方法の3つの実施例を説明す
る。
Next, with reference to FIG. 5 will be described three examples of processing method according to the same operation command executing means 3.

【0049】デイレクトリの作成処理であれば図5
(a)に示すデイレクトリコマンド処理に、フアイルの
コピーまたは削除処理であれば図5(b)に示すフアイ
ルコマンド処理に、エデイタ処理であれば図5(c)に
示すエデイタコマンド処理に分れる。以下の説明で便宜
上、失敗時の復元処理動作を省略している場合がある。
FIG. 5 shows a directory creation process.
In the directory command processing shown in (a), the file copy or deletion processing can be divided into the file command processing shown in FIG. 5B, and in the editor processing, it can be divided into the editor command processing shown in FIG. 5C. In the following description, the restoration processing operation at the time of failure may be omitted for convenience.

【0050】次に各々の動作の詳細を説明する。Next, the details of each operation will be described.

【0051】先ず、図5(a)を参照してデイレクトリ
コマンド処理を説明する。
First, the directory command processing will be described with reference to FIG.

【0052】入力されたコマンドを基に、デイレクトリ
作成コマンドを作成し各ホストマシン8に転送する(ス
テップA1)。全対象ホストマシン8でデイレクトリの
作成が正常終了であれば(ステップA2のYES枝)、
同一操作コマンドの成功を表示指示する(ステップA
4)。
Based on the input command, a directory creation command is created and transferred to each host machine 8 (step A1). If directory creation is completed normally on all target host machines 8 (YES branch of step A2),
Display and instruct the success of the same operation command (step A
4).

【0053】デイレクトリの作成に失敗したホストマシ
ン8があった場合には(ステップA2のNO枝)、コマ
ンド実行前の状態に戻すために、入力されたコマンドを
基に、デイレクトリ削除コマンドを作成しデイレクトリ
の作成に成功したホストマシン8に転送し(ステップA
3)、同一操作コマンドの失敗を表示指示する。
If there is any host machine 8 that failed to create a directory (NO branch of step A2), a directory deletion command is created based on the input command in order to return to the state before the command was executed. Transfer to the host machine 8 where the directory has been successfully created (step A
3), display indication of failure of the same operation command.

【0054】次に、図5(b)を参照してフアイルのコ
ピーまたは削除を行なうフアイルコマンド処理を説明す
る。
Next, a file command process for copying or deleting a file will be described with reference to FIG.

【0055】入力されたコマンドを基に、対象フアイル
を退避するために、フアイル退避コマンドを作成し、各
ホストマシン8に転送し、対象フアイルを退避させる
(ステップB1)。次にフアイルのコピーを行なう場合
にはフアイルのコピーコマンドを、フアイルの削除を行
なう場合にはフアイル削除コマンドを入力されたコマン
ドを基に作成し、全ホストマシン8に転送する(ステッ
プB2)。全対象ホストマシン8の実行結果が正常終了
であれば(ステップB3のYES枝)、退避したフアイ
ルを削除するために、入力されたコマンドを基にフアイ
ル削除コマンドを作成し、各ホストマシン8に転送し、
退避フアイルを削除し(ステップB4)、同一操作コマ
ンドの成功を表示指示する(ステップB6)。
In order to save the target file based on the input command, a file save command is created, transferred to each host machine 8, and the target file is saved (step B1). Next, a file copy command is created when copying a file, and a file deletion command is created based on the input command when a file is deleted, and transferred to all host machines 8 (step B2). If the execution results of all the target host machines 8 are completed normally (YES branch of step B3), a file deletion command is created based on the input command in order to delete the saved file, and each host machine 8 Transfer,
The evacuation file is deleted (step B4), and the display of the success of the same operation command is instructed (step B6).

【0056】フアイルのコピーまたは削除に失敗したホ
ストマシン8があった場合には(ステップB3のNO
枝)、コマンド実行前の状態に戻すために、退避したフ
アイルを元に戻すためのコマンドを入力されたコマンド
を基に作成し、各ホストマシン8に転送し(ステップB
5)、同一操作コマンドの失敗を表示指示する(ステッ
プB6)。
If there is any host machine 8 that failed to copy or delete the file (NO in step B3)
Branch), in order to return to the state before the command execution, a command for returning the saved file to the original file is created based on the input command, and transferred to each host machine 8 (step B).
5), display failure indication of the same operation command (step B6).

【0057】次に、図5(c)を参照してエデイタコマ
ンド処理を説明する。
Next, an editor command process will be described with reference to FIG.

【0058】フアイルの編集処理は個々のホストマシン
8でそれぞれ行なわせると、同一操作コマンド実行装置
1と各ホストマシン間のデータの授受が輻輳することと
なり、非効率となるので、この処理を集中して行なうた
めに、先ず、編集対象フアイルを同一操作コマンド実行
装置1に転送するコマンドを入力されたコマンドを基に
作成し、これを各ホストマシン8に転送し対象フアイル
を同一操作コマンド実行装置1に転送させる(ステップ
C1)。編集対象フアイルが存在しない場合には(ステ
ップC1のNO)、当然新規に編集対象フアイルを作成
する(ステップC3)。
If the file editing process is performed by each of the host machines 8, the transmission and reception of data between the same operation command execution device 1 and each host machine becomes congested, resulting in inefficiency. First, a command to transfer the file to be edited to the same operation command execution device 1 is created based on the input command, and the created file is transferred to each host machine 8 so that the target file is copied to the same operation command execution device 1. 1 (step C1). When there is no file to be edited (NO in step C1), a file to be edited is newly created (step C3).

【0059】入力されたエデイタコマンドにより同一操
作コマンド実行装置1に集めたフアイルの編集を行なう
(ステップC4)。
The files collected in the same operation command execution device 1 are edited by the input editor command (step C4).

【0060】エデイタ終了後、編集したフアイルを転送
するために入力されたコマンドを基にフアイル転送のコ
マンドを作成し、各ホストマシン8に転送する(ステッ
プC5)。正常であれば(ステップC6のYES枝)、
同一操作コマンドの成功を表示指示する(ステップC
8)。失敗した場合には(ステップC6のNO枝)、入
力されたコマンドを基に転送フアイルの削除コマンドを
作成しエデイタ処理前に戻し(ステップC7)、同一操
作コマンドの失敗を表示指示する(ステップC8)。
After completion of the editor, a file transfer command is created based on the command input for transferring the edited file and transferred to each host machine 8 (step C5). If normal (YES branch of step C6),
Display and instruct the success of the same operation command (step C
8). In the case of failure (NO branch of step C6), a transfer file deletion command is created based on the input command and returned to before the editor processing (step C7), and an indication of failure of the same operation command is displayed (step C8). ).

【0061】ステップC3とステップC4とは同一操作
コマンド実行装置1外の装置で行なう動作であり、同一
操作動作ではない。したがって、この場合は、同一操作
動作はステップC3またはC4より前の動作と、その後
の動作とに、2段に分けて行なわれることとなる。
Steps C3 and C4 are operations performed by devices other than the same operation command execution device 1, and are not the same operation operations. Therefore, in this case, the same operation is performed in two stages, the operation before step C3 or C4 and the operation after step C3 or C4.

【0062】上述のように、同一操作コマンド実行手段
3によって、コマンドの実行結果を受け取ることができ
るため、その実行結果が保証される。そのため、対象と
する複数のホストマシン8に対して、同一の操作を実施
することができる。また、同一操作コマンドの実行に一
つでも失敗したホストマシン8があった場合、実行前の
状態に戻すため、対象ホストマシン8全てを同じ状態に
保つことができる。
As described above, the execution result of the command can be received by the same operation command execution means 3, so that the execution result is guaranteed. Therefore, the same operation can be performed on a plurality of target host machines 8. Further, if any one of the host machines 8 has failed in executing the same operation command, the host machine 8 is returned to the state before the execution, so that all the target host machines 8 can be kept in the same state.

【0063】同一操作コマンドの実行が終了したら、同
一操作終了手段4に同一操作の終了を要求する。図4は
同一操作終了手段4の動作を示す流れ図である。
When the execution of the same operation command ends, the same operation ending means 4 is requested to end the same operation. FIG. 4 is a flowchart showing the operation of the same operation end means 4.

【0064】同一操作終了を受けて(ステップ41)、
ログオフコマンドを作成し各ホストマシン8に転送し全
対象ホストマシン8をログオフし(ステップ42)、同
一操作の終了を表示指示し(ステップ43)、同一操作
を終了する。
When the same operation is completed (step 41),
A logoff command is created and transferred to each host machine 8 to log off all target host machines 8 (step 42), display the termination of the same operation (step 43), and terminate the same operation.

【0065】以上のように、本実施の形態の同一操作コ
マンド実行装置は、同一ネットワークシステム内の複数
のホストマシンに対して同一操作を要求するコマンドを
実行できるという効果を有している。
As described above, the same operation command execution device of the present embodiment has an effect that a command for requesting the same operation to a plurality of host machines in the same network system can be executed.

【0066】更に、その実行結果について、実行失敗の
場合には実行前の状態に戻すことにより各ホストマシン
の状態の同期を確保できるという効果を有している。
Further, when the execution result is unsuccessful, by returning to the state before the execution, the synchronization of the states of the respective host machines can be ensured.

【0067】[0067]

【発明の効果】以上説明したように、本発明の同一操作
コマンド実行装置およびその使用方法は、同一ネットワ
ークシステム内の複数のホストマシンに対して同一操作
を要求するコマンドを実行できるという効果を有してい
る。
As described above, the same operation command execution device and the method of using the same according to the present invention have an effect that a command for requesting the same operation to a plurality of host machines in the same network system can be executed. are doing.

【0068】更に、その実行結果について、実行失敗の
場合には実行前の状態に戻すことにより各ホストマシン
の状態の同期を確保できるという効果を有している。
Further, when the execution result is unsuccessful, the state of each host machine can be synchronized by returning the state to the state before the execution.

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

【図1】本発明の同一操作コマンド実行装置の一実施の
形態を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of the same operation command execution device of the present invention.

【図2】本実施の形態の同一操作コマンド実行装置にお
ける同一操作開始指示手段の動作の一例を示す流れ図で
ある。
FIG. 2 is a flowchart showing an example of the operation of the same operation start instruction means in the same operation command execution device of the present embodiment.

【図3】本実施の形態の同一操作コマンド実行装置にお
ける同一操作コマンド実行手段の動作の一例を示す流れ
図である。
FIG. 3 is a flowchart showing an example of the operation of the same operation command execution means in the same operation command execution device of the present embodiment.

【図4】本実施の形態の同一操作コマンド実行装置にお
ける同一操作終了手段の動作の一例を示す流れ図であ
る。
FIG. 4 is a flowchart showing an example of the operation of the same operation ending means in the same operation command execution device of the present embodiment.

【図5】本実施の形態の同一操作コマンド実行装置にお
ける同一操作コマンド実行手段の処理方法の実施例の動
作の一例を示す流れ図であり、図5(a)はディレクト
リコマンド処理を示す流れ図、図5(b)はファイルコ
マンド処理を示す流れ図、図5(c)はエディタコマン
ド処理を示す流れ図である。
FIG. 5 is a flowchart showing an example of an operation of an example of a processing method of the same operation command execution means in the same operation command execution device of the present embodiment, and FIG. 5 (a) is a flowchart showing directory command processing; 5B is a flowchart showing file command processing, and FIG. 5C is a flowchart showing editor command processing.

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

1 同一操作コマンド実行装置 2 同一操作開始指示手段 3 同一操作コマンド実行手段 4 同一操作終了手段 5 デイレクトリフアイル 6 ホスト構成フアイル 8 ホストマシン DESCRIPTION OF SYMBOLS 1 Same operation command execution device 2 Same operation start instruction means 3 Same operation command execution means 4 Same operation end means 5 Directory file 6 Host configuration file 8 Host machine

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 同一ネットワークシステム内の複数のホ
ストマシンに対して同一操作を要求し実行させるコマン
ドである同一操作コマンドを実行する同一操作コマンド
実行装置において、前記同一操作の対象となる前記ホス
トマシンの識別子とそのログオン時のユーザ識別子とパ
スワードとを記憶するホスト構成記憶手段と、前記同一
操作を実行する前記対象ホストマシンのデイレクトリを
前記対象ホストマシン毎に記憶するデイレクトリ記憶手
段と、外部から供給される同一操作実行の開始要求に応
答して前記ホスト構成記憶手段を参照して前記対象ホス
トマシンをログオンしログオンした前記対象ホストマシ
ンのデイレクトリと前記デイレクトリ記憶手段との整合
性を調べすべての前記対象ホストマシンが整合している
ときには同一操作実行開始を指示しそれ以外の場合には
すべての前記対象ホストマシンをログオフし同一操作実
行中止を指示する同一操作開始指示手段と、前記同一操
作開始指示手段からの同一操作実行開始指示に応答して
外部から入力されるコマンドをすべての前記対象ホスト
マシンに供給して実行させすべての前記対象ホストマシ
ンで実行成功のときには次の処理に移行しそれ以外のと
きには外部から入力されるコマンドに応じてすべての前
記対象ホストマシンの状態を前記同一操作実行開始指示
供給前の状態に復旧させ同一操作実行失敗を表示指示す
る同一操作実行手段と、外部から供給される同一操作終
了要求に応答してすべての前記対象ホストマシンをログ
オフし同一操作終了を表示指示する同一操作終了手段と
を含むことを特徴とする同一操作コマンド実行装置。
1. An identical operation command execution device for executing an identical operation command, which is a command for requesting and executing an identical operation to a plurality of host machines in an identical network system, wherein the host machine to be subjected to the same operation is used. Host configuration storage means for storing the identifier of the user and the user identifier and password at the time of logon; directory storage means for storing the directory of the target host machine for executing the same operation for each of the target host machines; In response to the same operation start request, the host configuration storage unit is referred to and the target host machine is logged on, and the directory of the target host machine that has logged on and the consistency of the directory storage unit are checked. When the target host machine is consistent, the same operation In response to the same operation start instruction from the same operation start instruction, the same operation start instructing means for instructing a line start and otherwise logging off all the target host machines and instructing the same operation to be stopped. The command input from the outside is supplied to all the target host machines and executed, and when the execution is successful on all the target host machines, the process proceeds to the next process. Otherwise, according to the command input from the outside. The same operation executing means for restoring the states of all the target host machines to the state before the supply of the same operation execution start instruction and displaying the same operation execution failure indication, and in response to the same operation end request supplied from the outside, An identical operation ending means for logging off all the target host machines and instructing the end of the same operation to be displayed. De execution device.
【請求項2】 請求項1記載の同一操作コマンド実行装
置において、同一操作対象ホストマシンにディレクトリ
作成を行わせるときには、先ず同一操作実行の開始要求
を行ない、次いでディレクトリ作成コマンドを供給し、
実行失敗の同一操作対象ホストマシンがあるときにはデ
ィレクトリ削除コマンドを供給して実行成功の同一操作
対象ホストマシンで新たに作成したディレクトリを削除
し、次いで同一操作終了要求を行なうことを特徴とする
同一操作コマンド実行装置の使用方法。
2. An apparatus for executing the same operation command according to claim 1.
In order to cause the same operation target host machine to create a directory, first, a request to start execution of the same operation is made, and then a directory creation command is supplied,
The same operation characterized by supplying a directory delete command when there is the same operation target host machine that has failed in execution, deleting a newly created directory in the same operation target host machine that has succeeded in execution, and then issuing the same operation end request. How to use the command execution device.
【請求項3】 請求項1記載の同一操作コマンド実行装
置において、同一操作対象ホストマシンにファイルの削
除またはコピーを行なわせるときには、先ず同一操作実
行の開始要求を行ない、次いで対象ファイルの退避コマ
ンドを供給し、次に前記対象ファイルの削除またはコピ
ーコマンドを供給し、すべての前記同一操作対象ホスト
マシンでの前記対象ファイルの削除またはコピーコマン
ドの実行が成功したときには前記退避コマンドにより退
避させられたファイルの削除コマンドを供給し、それ以
外のときには前記退避コマンドにより退避させられたフ
ァイルの復元コマンドを供給し、次いで同一操作終了要
求を行なうことを特徴とする同一操作コマンド実行装置
の使用方法。
3. An apparatus for executing the same operation command according to claim 1.
In order to cause the same operation target host machine to delete or copy a file, first, a request to start execution of the same operation is made, then a save command of the target file is supplied, and then the deletion or copy command of the target file is executed. Supplying the deletion command of the file saved by the save command when the deletion or copy command of the target file is successfully executed on all the same operation target host machines; otherwise, the save command A method of using the same operation command execution device, characterized in that the same operation command execution device is supplied with a restoration command of the file saved by the above, and then issues the same operation end request.
【請求項4】 請求項1記載の同一操作コマンド実行装
置において、同一操作対象ホストマシンにあるファイル
の編集処理を行なうときには、先ず同一操作実行の開始
要求を行ない、次いで対象ファイルの転送コマンドを供
給し、次いで同一操作終了要求を行ない、次に前記転送
されたファイルの編集を行ない、次に同一操作実行の開
始要求を行ない、次に前記編集されたファイルの転送コ
マンドを供給し、前記編集されたファイルの転送コマン
ドの実行失敗の同一操作対象ホストマシンがあるときに
は前記編集して転送されたファイルの削除コマンドを供
給し、次いで同一操作終了要求を行なうことを特徴とす
る同一操作コマンド実行装置の使用方法。
4. An apparatus for executing the same operation command according to claim 1.
In order to edit a file in the same operation target host machine, first, a request to start the same operation is made, then a transfer command of the target file is supplied, then a request to end the same operation is made, and then the transfer is performed. Edits the edited file, then makes a request to start execution of the same operation, then supplies the transfer command of the edited file, and fails to execute the transfer command of the edited file. A method of using the same operation command execution device, wherein a deletion command of the edited and transferred file is supplied, and then a same operation end request is made.
JP22712096A 1996-08-28 1996-08-28 Same operation command execution device and method of using same Expired - Fee Related JP3184098B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22712096A JP3184098B2 (en) 1996-08-28 1996-08-28 Same operation command execution device and method of using same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22712096A JP3184098B2 (en) 1996-08-28 1996-08-28 Same operation command execution device and method of using same

Publications (2)

Publication Number Publication Date
JPH1069462A JPH1069462A (en) 1998-03-10
JP3184098B2 true JP3184098B2 (en) 2001-07-09

Family

ID=16855800

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22712096A Expired - Fee Related JP3184098B2 (en) 1996-08-28 1996-08-28 Same operation command execution device and method of using same

Country Status (1)

Country Link
JP (1) JP3184098B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6389543B1 (en) * 1998-08-31 2002-05-14 International Business Machines Corporation System and method for command routing and execution in a multiprocessing system

Also Published As

Publication number Publication date
JPH1069462A (en) 1998-03-10

Similar Documents

Publication Publication Date Title
US8396830B2 (en) Data control method for duplicating data between computer systems
CA1273116A (en) Method of distributed file recovery and a system using the method
RU2192039C2 (en) Executive regeneration routine for backup copying support program
US20110154332A1 (en) Operation management device and operation management method
JP3901060B2 (en) Application update processing method, update processing system, and update processing program
US7325039B1 (en) Router image support device
JP3184098B2 (en) Same operation command execution device and method of using same
US6363498B1 (en) Method and apparatus to automatically back up switching system files
US7533132B2 (en) Parallel replication mechanism for state information produced by serialized processing
JP3143640B2 (en) Distributed processing file transfer method
JP2000315157A (en) Program updating and restoring method
JP3536547B2 (en) Monitor system and monitor method
JPH09138769A (en) System and method for software delivery
CN115372803B (en) Motherboard test system, method, device and storage medium
JP3317239B2 (en) Automatic distribution system of program, automatic distribution method of program, and recording medium recording program for automatic distribution of program
CN117349025B (en) Configuration migration method and device, electronic equipment and storage medium
JPS63178358A (en) Down-load processing system
JPS63126032A (en) Program updating control system
JP3551552B2 (en) Information processing method for distributed information processing system
JP2666426B2 (en) Duplex auxiliary storage device
JP2008192058A (en) File remote copying device, method, and program
KR19980046388A (en) Version Control Method of Mobile Switching Software
CN111831619A (en) GPFS-based online data migration method and device
JP3382700B2 (en) Synchronized delivery method of program library
CN110572277A (en) Machine management method and system

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010410

LAPS Cancellation because of no payment of annual fees