[go: up one dir, main page]

JPH10232848A - Client / server system - Google Patents

Client / server system

Info

Publication number
JPH10232848A
JPH10232848A JP8300010A JP30001096A JPH10232848A JP H10232848 A JPH10232848 A JP H10232848A JP 8300010 A JP8300010 A JP 8300010A JP 30001096 A JP30001096 A JP 30001096A JP H10232848 A JPH10232848 A JP H10232848A
Authority
JP
Japan
Prior art keywords
application server
server
remote procedure
client
information
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.)
Withdrawn
Application number
JP8300010A
Other languages
Japanese (ja)
Inventor
Kenji Soma
健志 相馬
Sachiko Ota
幸子 太田
Masaaki Yoshikawa
雅昭 吉川
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP8300010A priority Critical patent/JPH10232848A/en
Publication of JPH10232848A publication Critical patent/JPH10232848A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

(57)【要約】 【課題】 処理要求を行なうクライアントと処理要求を
受けるサーバとが通信経路を介して接続されるクライア
ント/サーバシステムにおいて、サーバの物理的リソー
スの消費を抑えること、およびサーバの障害発生時にも
復旧できる機構を備えることを目的とする。 【解決手段】 管理サーバ111のリモートプロシージ
ャ制御部1112は、クライアント12からの要求を受
けると、要求アプリケーションサーバ名のパラメータを
使用して起動プロシージャ1111を実行させる。起動
プロシージャ1111は、起動要求された要求アプリケ
ーションサーバ名に対応する起動アプリケーションサー
バ名をアプリケーションサーバ起動情報管理部113よ
り参照し、該当するアプリケーションサーバ112の起
動パラメータを読み取り、アプリケーションサーバ11
2を起動する。
(57) [Problem] To suppress consumption of physical resources of a server in a client / server system in which a client making a processing request and a server receiving the processing request are connected via a communication path. An object is to provide a mechanism that can recover even when a failure occurs. SOLUTION: When receiving a request from a client 12, a remote procedure control unit 1112 of a management server 111 executes a start procedure 1111 using a parameter of a request application server name. The start procedure 1111 refers to the start application server name corresponding to the requested application server name requested to be started by the application server start information management unit 113, reads the start parameters of the corresponding application server 112, and reads the application server 11
Start 2

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、処理要求を行なう
クライアントと処理要求を受けるサーバとが通信経路を
介して接続されるクライアント/サーバシステムに関す
るものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a client / server system in which a client making a processing request and a server receiving the processing request are connected via a communication path.

【0002】[0002]

【従来技術】従来、クライアント/サーバシステムとし
ては、図6に示すような構成となる。図6において、6
1はサーバで、サーバ61において、611、612は
クライアントからのリモートプロシージャコールを受け
付けるアプリケーションサーバで、多種のリモートプロ
シージャを設けたアプリケーションサーバで複数のアプ
リケーションサーバがサーバ上に起動されている。61
11、6121は、リモートプロシージャで、クライア
ントから実行可能なプロシージャを登録している。61
12、6122はリモートプロシージャ制御部で、クラ
イアントのリモートプロシージャ制御部622からリモ
ートプロシージャ6111あるいはリモートプロシージ
ャ6121の実行要求を受けてその要求内容を実行し、
またその実行結果をクライアントのリモートプロシージ
ャ制御部622へ返信する。
2. Description of the Related Art Conventionally, a client / server system has a configuration as shown in FIG. In FIG. 6, 6
Reference numeral 1 denotes a server. In the server 61, reference numerals 611 and 612 denote application servers for receiving remote procedure calls from clients. An application server provided with various types of remote procedures has a plurality of application servers running on the server. 61
Reference numerals 11 and 6121 denote remote procedures, which register procedures that can be executed by the client. 61
Reference numerals 12 and 6122 denote remote procedure control units, which receive a request to execute the remote procedure 6111 or the remote procedure 6121 from the remote procedure control unit 622 of the client and execute the contents of the request.
The execution result is returned to the remote procedure control unit 622 of the client.

【0003】62はクライアントで、クライアント62
において、621はアプリケーションで、アプリケーシ
ョンサーバ612に登録されている起動プロシージャ、
リモートプロシージャの実行を要求する。622はリモ
ートプロシージャ制御部で、アプリケーション621か
ら渡されるバインディング情報を使用してアプリケーシ
ョンサーバにアクセスし、アプリケーションサーバ61
1のリモートプロシージャ制御部6112へリモートプ
ロシージャ6111の実行要求を送信したり、リモート
プロシージャ6111の実行結果をリモートプロシージ
ャ制御部6111から受信する。63は通信経路であ
る。
Reference numeral 62 denotes a client.
, An application 621 is a start procedure registered in the application server 612;
Request execution of a remote procedure. 622, a remote procedure control unit that accesses the application server using the binding information passed from the application 621;
The remote procedure control unit 6112 transmits an execution request for the remote procedure 6111 to the remote procedure control unit 6112, and receives an execution result of the remote procedure 6111 from the remote procedure control unit 6111. 63 is a communication path.

【0004】以上のように構成されたクライアント/サ
ーバシステムについて、以下にその動作を説明する。な
お、クライアント62は、予めサーバ上の複数のアプリ
ケーションサーバへアクセスするためのバインディング
情報を知っているものとする。
The operation of the client / server system configured as described above will be described below. It is assumed that the client 62 knows in advance binding information for accessing a plurality of application servers on the server.

【0005】まず、クライアント62アプリケーション
サーバ611上のリモートプロシージャ6111を使用
したい場合には、アプリケーション621からアプリケ
ーションサーバ611のバインディング情報をパラメー
タとしてリモートプロシージャ6111を実行する。リ
モートプロシージャ制御部622は、アプリケーション
621から渡されるバインディング情報を使用してアプ
リケーションサーバ611にアクセスし、アプリケーシ
ョンサーバ611のリモートプロシージャ制御部611
2へリモートプロシージャ6112の実行要求を送信す
る。リモートプロシージャ制御部6112は、クライア
ントのリモートプロシージャ制御部622からの実行要
求を受けてその要求されるリモートプロシージャ611
1を実行し、その実行結果をクライアントのリモートプ
ロシージャ制御部622へ返信する。リモートプロシー
ジャ制御部622は、リモートプロシージャ6111の
実行結果を受信し、その内容をアプリケーション621
へ返す。他のアプリケーションサーバ612のリモート
プロシージャを使用したい場合には、アプリケーション
サーバ612のバインディング情報を使用してアプリケ
ーション621からリモートプロシージャ612を実行
する。
First, when it is desired to use the remote procedure 6111 on the client 62 application server 611, the application 621 executes the remote procedure 6111 using the binding information of the application server 611 as a parameter. The remote procedure control unit 622 accesses the application server 611 using the binding information passed from the application 621, and the remote procedure control unit 611 of the application server 611.
2 transmits a request to execute the remote procedure 6112. The remote procedure control unit 6112 receives an execution request from the remote procedure control unit 622 of the client and receives the requested remote procedure 611.
1 is executed, and the execution result is returned to the remote procedure control unit 622 of the client. The remote procedure control unit 622 receives the execution result of the remote procedure 6111, and stores the content thereof in the application 621.
Return to When the remote procedure of another application server 612 is to be used, the remote procedure 612 is executed from the application 621 using the binding information of the application server 612.

【0006】[0006]

【発明が解決しようとする課題】上記従来技術で説明し
た方法では、アプリケーションサーバを使用する/使用
しないに関わらず、複数のアプリケーションサーバを起
動することになり、サーバの物理的リソースの無駄な消
費をしていた。また、サーバの負荷状況によらず、リモ
ートプロシージャの要求を受け付けていた。また、アプ
リケーションサーバに障害が発生した際に、再起動する
機構がなかった。また、クライアントの障害により、実
行したリモートプロシージャコールを正常終了として結
果を得ることができなかった場合、リモートプロシージ
ャを再実行する必要があるのかないのか、わからなかっ
た。
In the method described in the above-mentioned prior art, a plurality of application servers are started regardless of whether or not the application server is used, so that the physical resources of the server are wasted. Was doing. In addition, a request for a remote procedure was accepted regardless of the load status of the server. Also, there is no mechanism to restart when a failure occurs in the application server. In addition, if the result of the remote procedure call cannot be obtained as a result of normal termination of the executed remote procedure call due to a client failure, it is not known whether or not it is necessary to re-execute the remote procedure.

【0007】よって本発明では、第1に、サーバの物理
的リソースの消費を抑えることを目的とする。第2に、
サーバの負荷状況によって、クライアントからの要求を
受け付けたり、拒否することを目的とする。第3に、管
理サーバまたはアプリケーションサーバ障害時にも復旧
できる機構を備え、クライアントはこれまで通り、リモ
ートプロシージャを実行できるようにすることを目的と
する。そして、第4に、クライアントの障害発生時にリ
モートプロシージャを再実行する必要があるのかないの
かをわかるようにすることを目的とする。
[0007] Therefore, the first object of the present invention is to suppress the consumption of physical resources of a server. Second,
The purpose is to accept or reject a request from a client depending on the load status of a server. Thirdly, an object of the present invention is to provide a mechanism capable of recovering from a failure of the management server or the application server, and to enable the client to execute the remote procedure as before. Fourth, it is an object of the present invention to determine whether it is necessary to re-execute a remote procedure when a failure occurs in a client.

【0008】[0008]

【課題を解決するための手段】上記課題を解決するため
に本発明は、第1に、アプリケーションサーバの起動状
況を管理する管理サーバを設け、前記管理サーバがアプ
リケーションサーバの情報を利用し、複数のクライアン
トを一つのアプリケーションサーバに対応させることに
より、サーバの物理的リソースの消費を抑えることがで
きる。
In order to solve the above-mentioned problems, the present invention firstly provides a management server for managing the activation status of an application server, wherein the management server uses information of the application server to manage a plurality of application servers. By associating the client with one application server, consumption of physical resources of the server can be suppressed.

【0009】第2に、管理サーバにCPUの負荷を監視
するCPU監視部を設けることにより、アプリケーショ
ンサーバ起動時に、また、アプリケーションサーバにC
PUの負荷を監視するCPU監視部を設けることによ
り、リモートプロシージャ実行時に、それぞれクライア
ントからの要求の受け付け/拒否を制御し、サーバの負
荷を安定させることができる。
Second, by providing the management server with a CPU monitoring unit for monitoring the load of the CPU, the CPU is provided when the application server is started and when the application server is started.
By providing the CPU monitoring unit that monitors the load on the PU, it is possible to control the acceptance / rejection of requests from the clients and to stabilize the load on the server when executing the remote procedure.

【0010】第3に、管理サーバ内にアプリケーション
サーバ障害時に別のアプリケーションサーバを起動する
リモートプロシージャを更に設けることにより、アプリ
ケーションサーバに障害が発生しても管理サーバは代替
アプリケーションサーバを起動し、クライアントは代替
アプリケーションサーバのリモートプロシージャを実行
できる。
Third, by further providing a remote procedure for starting another application server in the event of an application server failure in the management server, the management server starts the alternative application server even if a failure occurs in the application server, Can execute remote procedures on alternative application servers.

【0011】第4に、サーバ内にアプリケーションサー
バのリモートプロシージャの実行した情報を記憶する記
憶装置と、記憶装置に記憶されたリモートプロシージャ
の実行した情報を取得することができるリモートプロシ
ージャを管理サーバに登録することにより、クライアン
トの障害により正常終了として得られなかったリモート
プロシージャの結果を得ることができる。
Fourth, a storage device for storing information executed by a remote procedure of an application server in a server and a remote procedure capable of acquiring information executed by the remote procedure stored in the storage device are stored in a management server. By registering, it is possible to obtain the result of the remote procedure that was not obtained as a normal end due to the failure of the client.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図1から図5を用いて説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments of the present invention will be described below with reference to FIGS.

【0013】(実施の形態1)図1は、本発明によるク
ライアント/サーバシステムの一例を示したもので、図
1において、11はサーバ、111はアプリケーション
サーバの起動状況を管理する管理サーバ、1111は起
動プロシージャで、クライアント12からこの起動プロ
シージャ1111の実行を要求されると、指定された要
求アプリケーションサーバ名に対応した起動アプリケー
ション名をアプリケーションサーバ起動情報管理部11
3より獲得し、獲得した起動アプリケーションサーバ名
のアプリケーションサーバを起動し、起動したアプリケ
ーションサーバのバインディング情報をバインディング
情報受信部11111より受信し、アプリケーションサ
ーバ情報部114に起動したアプリケーションサーバの
情報を登録する。
(Embodiment 1) FIG. 1 shows an example of a client / server system according to the present invention. In FIG. 1, reference numeral 11 denotes a server, 111 denotes a management server for managing the activation status of an application server, and 1111. Is a start procedure. When the client 12 requests execution of the start procedure 1111, a start application name corresponding to the specified requested application server name is entered into the application server start information management unit 11.
3 starts the application server having the obtained start application server name, receives the binding information of the started application server from the binding information receiving unit 11111, and registers the information of the started application server in the application server information unit 114. .

【0014】11111はバインディング情報受信部
で、起動プロシージャ1111から起動されたアプリケ
ーションサーバのバインディング情報送信部よりアプリ
ケーションサーバのバインディング情報、つまり、クラ
イアント(ローカルマシン)とサーバ(リモートマシ
ン)との間で通信を可能とするためのプロトコルシーケ
ンスとネットワーク情報を受信する。
Reference numeral 11111 denotes a binding information receiving unit. The binding information transmitting unit of the application server activated from the activation procedure 1111 communicates the binding information of the application server, that is, communication between the client (local machine) and the server (remote machine). To receive the protocol sequence and network information for enabling.

【0015】1112はリモートプロシージャ制御部
で、クライアントのリモートプロシージャ制御部から起
動プロシージャ1111の実行要求を受けてその要求内
容を実行し、またその実行結果をクライアントのリモー
トプロシージャ制御部へ返信する。
Reference numeral 1112 denotes a remote procedure control unit which receives a request to execute the start procedure 1111 from the client remote procedure control unit, executes the request, and returns the execution result to the client remote procedure control unit.

【0016】112はクライアントからのリモートプロ
シージャコールを受け付けるアプリケーションサーバ、
1121は、バインディング情報送信部で、アプリケー
ションサーバ112のバインディング情報を管理サーバ
111のバインディング情報受信部11111へ送信す
る。
An application server 112 receives a remote procedure call from a client.
Reference numeral 1121 denotes a binding information transmitting unit that transmits the binding information of the application server 112 to the binding information receiving unit 11111 of the management server 111.

【0017】1122はリモートプロシージャで、クラ
イアントから実行可能なプロシージャを登録している。
1123はリモートプロシージャ制御部で、クライアン
トのリモートプロシージャ制御部からリモートプロシー
ジャ1122の実行要求を受けてその要求内容を実行
し、またその実行結果をクライアントのリモートプロシ
ージャ制御部へ返信する。
Reference numeral 1122 denotes a remote procedure, which registers a procedure executable by the client.
A remote procedure control unit 1123 receives an execution request of the remote procedure 1122 from the remote procedure control unit of the client, executes the content of the request, and returns an execution result to the remote procedure control unit of the client.

【0018】113はクライアントから起動要求される
アプリケーションサーバ名に対応した起動アプリケーシ
ョンサーバ名を管理するアプリケーションサーバ起動情
報管理部で、格納されている情報はクライアントから起
動要求される要求アプリケーションサーバ名、要求アプ
リケーションサーバ名に対応する起動アプリケーション
サーバ名、アプリケーションサーバを起動する際のスレ
ッド数と最大アクセス数である。
Reference numeral 113 denotes an application server start information management unit which manages a start application server name corresponding to an application server name requested to be started by a client. The start application server name corresponding to the application server name, the number of threads when starting the application server, and the maximum access number.

【0019】114は起動プロシージャ1111によっ
てアプリケーションサーバを起動した際にアプリケーシ
ョンサーバの情報およびアクセス中のクライアント情報
を格納するアプリケーションサーバ情報部で、起動した
アプリケーションサーバ名、バインディング情報、アク
セスしているクライアント情報、最大アクセス数が書き
込まれる。
Reference numeral 114 denotes an application server information section which stores information on the application server and information on the client being accessed when the application server is activated by the activation procedure 1111. The application server name, binding information, and accessing client information are stored. , The maximum number of accesses is written.

【0020】12はクライアント、121はアプリケー
ションで、管理サーバ111およびアプリケーションサ
ーバ112に登録されている起動プロシージャ、リモー
トプロシージャの実行を要求する。
Reference numeral 12 denotes a client, and 121 denotes an application, which requests execution of a start procedure and a remote procedure registered in the management server 111 and the application server 112.

【0021】122はリモートプロシージャ制御部で、
アプリケーション121から渡されるバインディング情
報を使用して管理サーバ111あるいはアプリケーショ
ンサーバ112にアクセスし、管理サーバ111のリモ
ートプロシージャ制御部1112へ起動プロシージャ1
111の実行要求、アプリケーションサーバ112のリ
モートプロシージャ制御部1123へリモートプロシー
ジャ1122の実行要求を送信したり、起動プロシージ
ャ1111、リモートプロシージャ1122の実行結果
をそれぞれリモートプロシージャ制御部1112、リモ
ートプロシージャ制御部1123から受信する。13は
通信経路である。
Reference numeral 122 denotes a remote procedure control unit.
The management server 111 or the application server 112 is accessed using the binding information passed from the application 121, and the start procedure 1 is sent to the remote procedure control unit 1112 of the management server 111.
The execution request of the remote procedure 1122 is transmitted to the remote procedure control unit 1123 of the application server 112, and the execution results of the activation procedure 1111 and the remote procedure 1122 are transmitted from the remote procedure control unit 1112 and the remote procedure control unit 1123, respectively. Receive. 13 is a communication path.

【0022】以上のように構成されたクライアント/サ
ーバシステムについて、図1を参照しながらその動作を
説明する。
The operation of the client / server system configured as described above will be described with reference to FIG.

【0023】サーバ11上では、管理サーバ111のみ
が起動されており、クライアント12からの起動プロシ
ージャ1111の実行要求の待ち状態になっている。ま
た、クライアント12はサーバ11の管理サーバ111
のバインディング情報を知っており、管理サーバ111
の起動プロシージャ1111を実行することが可能にな
っているものとする。
On the server 11, only the management server 111 has been activated, and is in a state of waiting for an execution request of the activation procedure 1111 from the client 12. The client 12 is a management server 111 of the server 11.
Knows the binding information of the management server 111
Can be executed.

【0024】処理1−1:まず、クライアント12は、
アプリケーション121から管理サーバ111のバイン
ディング情報、および起動要求する要求アプリケーショ
ンサーバ名をパラメータとしてアプリケーションサーバ
112を起動するための起動プロシージャ1111を実
行する。
Process 1-1: First, the client 12
The application 121 executes a start procedure 1111 for starting the application server 112 using the binding information of the management server 111 and the name of the requesting application server to be requested to start as parameters.

【0025】処理1−2:リモートプロシージャ制御部
122はその要求を管理サーバ111のバインディング
情報を使って管理サーバ111へアクセスし、管理サー
バ111のリモートプロシージャ制御部1112へパラ
メータと共に起動プロシージャ1111の実行を要求す
る。
Process 1-2: The remote procedure control unit 122 accesses the request to the management server 111 using the binding information of the management server 111, and executes the start procedure 1111 together with the parameters to the remote procedure control unit 1112 of the management server 111. Request.

【0026】処理1−3:管理サーバ111のリモート
プロシージャ制御部1112は、クライアント12から
の要求を受けると、要求アプリケーションサーバ名をパ
ラメータとして起動プロシージャ1111を実行させ
る。
Process 1-3: Upon receiving a request from the client 12, the remote procedure control section 1112 of the management server 111 executes the start procedure 1111 with the request application server name as a parameter.

【0027】処理1−4:起動プロシージャ1111
は、起動要求された要求アプリケーションサーバ名に対
応する起動アプリケーションサーバ名をアプリケーショ
ンサーバ起動情報管理部113より獲得し、指定された
起動アプリケーションサーバ名が既に起動されていない
かどうかをアプリケーションサーバ情報部114のアプ
リケーションサーバ情報を参照する。アプリケーション
サーバ情報のアプリケーションサーバ名に既に起動アプ
リケーションサーバ名が登録されていたら起動中である
ことを意味する。
Process 1-4: Start-up procedure 1111
Acquires from the application server startup information management unit 113 a startup application server name corresponding to the requested application server name requested to be started, and determines whether or not the specified startup application server name has already been started. Refer to the application server information. If the start application server name is already registered in the application server name of the application server information, it means that the application server is being started.

【0028】処理1−5:まず、未起動であった場合を
説明する(一方、既に起動している場合は後述の処理1
−6へ進む)。
Process 1-5: First, a case where the device has not been started will be described.
Go to -6).

【0029】処理1−51:指定されたアプリケーショ
ンサーバ112は、アプリケーションサーバ情報部11
4に登録されていないので、指定されたアプリケーショ
ンサーバ112を起動するためにアプリケーションサー
バ起動情報管理部113を参照し、該当するアプリケー
ションサーバ112の起動パラメータを読み取る。起動
パラメータは、起動アプリケーションサーバ名、スレッ
ド数、アプリケーションサーバと通信可能な最大アクセ
ス数である。これらの情報を読み取り、アプリケーショ
ンサーバ112を起動する。
Process 1-51: The designated application server 112 is in the application server information section 11
4, the application server 112 refers to the application server activation information management unit 113 to activate the specified application server 112, and reads the activation parameters of the application server 112. The start parameters are the start application server name, the number of threads, and the maximum number of accesses that can communicate with the application server. The information is read and the application server 112 is started.

【0030】処理1−52:アプリケーションサーバ1
12が起動されると、バインディング情報送信部112
1は、アプリケーションサーバ112のバインディング
情報をバインディング情報受信部11111へ送信す
る。
Process 1-52: Application server 1
12 is activated, the binding information transmitting unit 112
1 transmits the binding information of the application server 112 to the binding information receiving unit 11111.

【0031】処理1−53:起動プロシージャ1111
のバインディング情報受信部11111は、バインディ
ング情報を受信すると、起動プロシージャ1111によ
ってアプリケーションサーバ名、アプリケーションサー
バのバインディング情報、起動およびアクセスしている
クライアントのクライアント情報、アプリケーションサ
ーバと通信可能な最大アクセス数をアプリケーションサ
ーバ情報としてアプリケーションサーバ情報部114へ
登録し、起動したアプリケーションサーバ112のバイ
ンディング情報を起動プロシージャ1111の実行結果
としてリモートプロシージャ制御部1112へ返す。
Process 1-53: start procedure 1111
Upon receiving the binding information, the binding information receiving unit 11111 of the application determines the application server name, the binding information of the application server, the client information of the client that is started and accessed, and the maximum number of accesses that can communicate with the application server, by using the startup procedure 1111. It is registered in the application server information unit 114 as server information, and returns the binding information of the activated application server 112 to the remote procedure control unit 1112 as the execution result of the activation procedure 1111.

【0032】処理1−54:リモートプロシージャ制御
部1112は、起動プロシージャ1111実行結果とし
てリモートプロシージャ制御部122へアプリケーショ
ンサーバ112のバインディング情報を返信する。
Process 1-54: The remote procedure control unit 1112 returns the binding information of the application server 112 to the remote procedure control unit 122 as a result of executing the start procedure 1111.

【0033】処理1−55:リモートプロシージャ制御
部122は、返信された結果であるバインディング情報
をアプリケーション121へ渡す。アプリケーション1
21は、このバインディング情報を使ってアプリケーシ
ョンサーバ112と通信することができる。
Process 1-55: The remote procedure control unit 122 passes the returned binding information to the application 121. Application 1
21 can communicate with the application server 112 using the binding information.

【0034】処理1−6:次に、他のクライアントによ
って既にアプリケーションサーバ112を起動してお
り、その状態でクライアント12からアプリケーション
サーバ112を起動する起動プロシージャ1111を実
行したとする。
Process 1-6: Next, it is assumed that the application server 112 has already been started by another client, and in that state, the client 12 has executed the start procedure 1111 for starting the application server 112.

【0035】処理1−61:処理1−4において、参照
した結果、既に起動中であることがわかるので、次に最
大アクセス数とクライアント情報の数とを比較する。
Process 1-61: In process 1-4, as a result of reference, it is known that the device is already running, so the maximum access number is compared with the number of client information.

【0036】処理1−62:比較した結果、このクライ
アント12をアクセスさせても最大アクセス未満であれ
ば、起動中のアプリケーションサーバ112のバインデ
ィング情報をアプリケーションサーバ情報部114から
起動アプリケーションサーバ名のバインディング情報を
取得し、このバインディング情報を起動プロシージャ1
111の実行結果としてクライアントのリモートプロシ
ージャ制御部122へ返信する。
Process 1-62: As a result of the comparison, if the client 12 is accessed but the access is less than the maximum access, the binding information of the running application server 112 is obtained from the application server information unit 114 and the binding information of the running application server name is obtained. And bind the binding information to the startup procedure 1
The execution result of step 111 is returned to the remote procedure control unit 122 of the client.

【0037】処理1−63:リモートプロシージャ制御
部122は、返信された結果であるバインディング情報
をアプリケーション121へ渡す。アプリケーション1
21は、このバインディング情報を使ってアプリケーシ
ョンサーバ112と通信することができる。
Process 1-63: The remote procedure control unit 122 passes the returned binding information to the application 121. Application 1
21 can communicate with the application server 112 using the binding information.

【0038】処理1−64:一方、処理1−61におい
て、最大アクセス数を越える場合には、別の新しいアプ
リケーションサーバを起動し、上記クライアントからの
アプリケーションサーバの起動手順でクライアントに新
規に起動したアプリケーションサーバのバインディング
情報を返信することで、クライアントは新規に起動した
アプリケーションサーバへアクセスすることができる。
Process 1-64: On the other hand, if the maximum access number is exceeded in process 1-61, another new application server is started, and the client is newly started by the application server starting procedure from the client. By returning the binding information of the application server, the client can access the newly started application server.

【0039】以上のように、本実施の形態では、アプリ
ケーションサーバの起動状況を管理する管理サーバを設
けることにより、従来のように多くのアプリケーション
サーバを起動させることなく、必要最小限のアプリケー
ションサーバを起動し、複数のクライアントと通信する
ことが可能になり、マシンの物理的リソースの消費を抑
えることができる。
As described above, in the present embodiment, by providing the management server that manages the activation status of the application server, the required minimum number of application servers can be reduced without activating many application servers as in the related art. It is possible to start up and communicate with a plurality of clients, thereby reducing the consumption of physical resources of the machine.

【0040】例えば、管理サーバがアプリケーションサ
ーバを起動した後、何らかの原因によりクライアントか
ら管理サーバにアクセスすることが不可能になった場
合、手動等により新たに管理サーバを起動し、クライア
ントから管理サーバに対してアプリケーションサーバの
起動要求を行なっても、管理サーバは、アプリケーショ
ンサーバ起動情報管理部、アプリケーションサーバ管理
部を参照することによって、起動中のアプリケーション
サーバの情報を把握することができるので、無駄なアプ
リケーションサーバの起動を防ぐこともできる。
For example, if the client cannot access the management server for some reason after the management server starts the application server, a new management server is started manually or the like, and the client sends the management server to the management server. Even if an application server start request is issued to the application server, the management server can grasp the information of the application server being started by referring to the application server start information management unit and the application server management unit. It can also prevent the application server from starting.

【0041】また、管理サーバに対しアプリケーション
サーバが1つの場合でも、スレッドを複数にすることで
マシンのリソースを抑えることができ、その実用的効果
は大きい。
Further, even when there is one application server for the management server, machine resources can be suppressed by using a plurality of threads, and the practical effect is large.

【0042】(実施の形態2)図2は、本発明によるク
ライアント/サーバシステムの一例を示したもので、図
2において、21はサーバ、211はアプリケーション
サーバの起動状況を管理する管理サーバ、2111は起
動プロシージャで、クライアントからこの起動プロシー
ジャ2111の実行を要求されると、指定された要求ア
プリケーションサーバ名に対応した起動アプリケーショ
ン名をアプリケーションサーバ起動情報管理部213よ
り獲得し、CPU監視部21112へ起動できるかどう
か問い合わせ、起動可能であれば、獲得した起動アプリ
ケーションサーバ名のアプリケーションサーバを起動
し、起動したアプリケーションサーバのバインディング
情報をバインディング情報受信部21111より受信
し、アプリケーションサーバ情報部214に起動したア
プリケーションサーバの情報を登録する。CPU監視部
21112へ問い合わせた結果、起動不可能であれば、
起動できない旨の情報をリモートプロシージャ制御部2
112へ返す。
(Embodiment 2) FIG. 2 shows an example of a client / server system according to the present invention. In FIG. 2, reference numeral 21 denotes a server, 211 denotes a management server for managing the activation status of an application server, and 2111. Is a start procedure. When a client requests execution of the start procedure 2111, a start application name corresponding to the specified requested application server name is obtained from the application server start information management unit 213 and started by the CPU monitoring unit 21112. An inquiry is made as to whether the application server can be activated. If the application server can be activated, the application server having the acquired activation application server name is activated, and the binding information of the activated application server is received from the binding information receiving unit 21111. To register the information of the application server that was started in over server information section 214. If the result of the inquiry to the CPU monitoring unit 21112 indicates that it cannot be started,
Remote procedure control unit 2 sends information that it cannot be started
Return to 112.

【0043】21111はバインディング情報受信部
で、起動プロシージャ2111から起動されたアプリケ
ーションサーバのバインディング情報送信部よりアプリ
ケーションサーバのバインディング情報を受信する。
Reference numeral 21111 denotes a binding information receiving unit which receives the binding information of the application server from the binding information transmitting unit of the application server activated from the activation procedure 2111.

【0044】21112はCPU監視部で、アプリケー
ションサーバを起動する際にアプリケーションサーバ起
動情報管理部213の起動対象のアプリケーションサー
バに対応したアイドルしきい値を参照し、サーバの実際
のアイドル値と比較する。サーバの実際の負荷がアプリ
ケーションサーバ起動情報管理部213のアイドルしき
い値より低い時には起動可能という情報を起動プロシー
ジャ2111に返し、実際の負荷がアプリケーションサ
ーバ起動情報管理部213のアイドルしきい値より高い
時には起動不可能という情報を起動プロシージャ211
1に返す。
Reference numeral 21112 denotes a CPU monitoring unit which refers to the idle threshold value corresponding to the application server to be activated by the application server activation information management unit 213 when the application server is activated, and compares it with the actual idle value of the server. . When the actual load of the server is lower than the idle threshold value of the application server start information management unit 213, information that the server can be started is returned to the start procedure 2111, and the actual load is higher than the idle threshold value of the application server start information management unit 213. Sometimes, information that startup is impossible is performed by the startup procedure 211.
Return to 1.

【0045】2112はリモートプロシージャ制御部
で、クライアントのリモートプロシージャ制御部から起
動プロシージャ2111の実行要求を受けてその要求内
容を実行し、またその実行結果をクライアントのリモー
トプロシージャ制御部へ返信する。
Reference numeral 2112 denotes a remote procedure control unit which receives a request to execute the start procedure 2111 from the remote procedure control unit of the client, executes the content of the request, and returns the execution result to the remote procedure control unit of the client.

【0046】212はクライアントからのリモートプロ
シージャコールを受け付けるアプリケーションサーバ、
2121は、バインディング情報送信部で、アプリケー
ションサーバのバインディング情報を管理サーバ211
のバインディング情報受信部21111へ送信する。
An application server 212 receives a remote procedure call from a client.
Reference numeral 2121 denotes a binding information transmission unit which transmits the binding information of the application server to the management server 211.
Is transmitted to the binding information receiving unit 21111.

【0047】2122はリモートプロシージャで、クラ
イアントから実行可能なプロシージャを登録している。
2123はリモートプロシージャ制御部で、クライアン
トのリモートプロシージャ制御部からリモートプロシー
ジャ2122の実行要求を受けてその要求内容を実行
し、またその実行結果をクライアントのリモートプロシ
ージャ制御部へ返信する。
Reference numeral 2122 denotes a remote procedure, which registers a procedure executable by the client.
Reference numeral 2123 denotes a remote procedure control unit which receives the execution request of the remote procedure 2122 from the client remote procedure control unit, executes the content of the request, and returns the execution result to the client remote procedure control unit.

【0048】213はクライアントから起動要求される
アプリケーションサーバ名に対応した起動アプリケーシ
ョンサーバ名を管理するアプリケーションサーバ起動情
報管理部で、格納されている情報はクライアントから起
動要求される要求アプリケーションサーバ名、要求アプ
リケーションサーバ名に対応する起動アプリケーション
サーバ名、アプリケーションサーバを起動する際のスレ
ッド数と最大アクセス数である。
Reference numeral 213 denotes an application server start information management unit for managing a start application server name corresponding to an application server name requested to be started by a client. The start application server name corresponding to the application server name, the number of threads when starting the application server, and the maximum access number.

【0049】214は起動プロシージャ2111によっ
てアプリケーションサーバを起動した際にアプリケーシ
ョンサーバの情報およびアクセス中のクライアント情報
を格納するアプリケーションサーバ情報部で、起動した
アプリケーションサーバ名、バインディング情報、アク
セスしているクライアント情報、最大アクセス数が書き
込まれる。
Reference numeral 214 denotes an application server information section which stores information on the application server and information on the client being accessed when the application server is started by the start procedure 2111. The name of the started application server, binding information, and information on the accessing client are stored. , The maximum number of accesses is written.

【0050】22はクライアント、221はアプリケー
ションで、管理サーバ211およびアプリケーションサ
ーバ212に登録されている起動プロシージャ211
1、リモートプロシージャ2122の実行を要求する。
Reference numeral 22 denotes a client, 221 denotes an application, and a start procedure 211 registered in the management server 211 and the application server 212.
1. Request execution of remote procedure 2122.

【0051】222はリモートプロシージャ制御部で、
アプリケーション221から渡されるバインディング情
報を使用して管理サーバ211あるいはアプリケーショ
ンサーバ212にアクセスし、管理サーバ211のリモ
ートプロシージャ制御部2112へ起動プロシージャ2
111の実行要求、アプリケーションサーバ212のリ
モートプロシージャ制御部2123へリモートプロシー
ジャ2122の実行要求を送信したり、起動プロシージ
ャ2111、リモートプロシージャ2122の実行結果
をそれぞれリモートプロシージャ制御部2112、リモ
ートプロシージャ制御部2123から受信する。23は
通信経路である。
Reference numeral 222 denotes a remote procedure control unit.
The management server 211 or the application server 212 is accessed using the binding information passed from the application 221, and the start procedure 2 is transmitted to the remote procedure control unit 2112 of the management server 211.
The execution request of the remote procedure 2122 is transmitted from the remote procedure control unit 2112 and the remote procedure control unit 2123 to the remote procedure control unit 2123 of the application server 212. Receive. 23 is a communication path.

【0052】以上のように構成されたクライアント/サ
ーバシステムについて、図2を参照しながらその動作を
説明する。
The operation of the client / server system configured as described above will be described with reference to FIG.

【0053】サーバ21上では、管理サーバ211のみ
が起動されており、クライアント22からの起動プロシ
ージャ2111の実行要求の待ち状態になっている。ま
た、クライアント22はサーバ21の管理サーバ211
のバインディング情報を知っており、管理サーバ211
の起動プロシージャ2111を実行することが可能にな
っているものとする。
On the server 21, only the management server 211 has been activated, and is in a state of waiting for an execution request of the activation procedure 2111 from the client 22. The client 22 is a management server 211 of the server 21.
Knows the binding information of the management server 211
Can be executed.

【0054】処理2−1:まず、クライアント22は、
アプリケーション221から管理サーバ211のバイン
ディング情報、および起動要求する要求アプリケーショ
ンサーバ名をパラメータとしてアプリケーションサーバ
212を起動するための起動プロシージャ2111を実
行する。
Process 2-1: First, the client 22
The application 221 executes a start procedure 2111 for starting the application server 212 using the binding information of the management server 211 and the name of the requesting application server to be requested to start as parameters.

【0055】処理2−2:リモートプロシージャ制御部
222はその要求を管理サーバ211のバインディング
情報を使って管理サーバ211へアクセスし、管理サー
バ211のリモートプロシージャ制御部2111へパラ
メータと共に起動プロシージャ2111の実行を要求す
る。
Process 2-2: The remote procedure control unit 222 accesses the request to the management server 211 using the binding information of the management server 211, and executes the start procedure 2111 together with the parameter to the remote procedure control unit 2111 of the management server 211. Request.

【0056】処理2−3:管理サーバ211のリモート
プロシージャ制御部2112は、クライアント22から
の要求を受けると、要求アプリケーションサーバ名をパ
ラメータとして起動プロシージャ2111を実行させ
る。
Process 2-3: Upon receiving the request from the client 22, the remote procedure control unit 2112 of the management server 211 executes the start procedure 2111 using the request application server name as a parameter.

【0057】処理2−4:起動プロシージャ2111
は、起動要求された要求アプリケーションサーバ名に対
応する起動アプリケーションサーバ名をアプリケーショ
ンサーバ起動情報管理部213より獲得し、指定された
起動アプリケーションサーバ名が既に起動されていない
かどうかをアプリケーションサーバ情報部214のアプ
リケーションサーバ情報を参照する。アプリケーション
サーバ情報のアプリケーションサーバ名に既に起動アプ
リケーションサーバ名が登録されていたら起動中である
ことを意味する。
Process 2-4: Start-up procedure 2111
Acquires the start application server name corresponding to the requested application server name from the application server start information management unit 213, and determines whether or not the specified start application server name has already been started. Refer to the application server information. If the start application server name is already registered in the application server name of the application server information, it means that the application server is being started.

【0058】処理2−5:以下の例では、未起動であっ
た場合を説明する. 処理2−51:指定されたアプリケーションサーバ21
2は、アプリケーションサーバ情報部214に登録され
ていないので、指定されたアプリケーションサーバ21
2を起動するため、起動可能な負荷の状態であるかをC
PU監視部21112へ問い合わせる。
Process 2-5: In the following example, a case where it has not been started will be described. Process 2-51: designated application server 21
2 is not registered in the application server information section 214, so that the designated application server 21
2 to determine whether the load is ready to be activated
An inquiry is made to the PU monitoring unit 21112.

【0059】処理2−52:CPU監視部21112
は、アプリケーションサーバ起動情報管理部213の起
動対象のアプリケーションサーバに対応したアイドルし
きい値を参照し、サーバ21の実際のアイドル値と比較
する。
Process 2-52: CPU monitoring unit 21112
Refers to the idle threshold value of the application server activation information management unit 213 corresponding to the application server to be activated, and compares it with the actual idle value of the server 21.

【0060】処理2−53:まず、サーバ21の実際の
負荷がアイドルしきい値より低い場合を説明する(一
方、高い場合は後述の処理2−54へ進む)。
Process 2-53: First, the case where the actual load of the server 21 is lower than the idle threshold value will be described (if the load is higher, the process proceeds to the later-described process 2-54).

【0061】処理2−531:CPU監視部21112
は、サーバ21の実際のアイドル値がアイドルしきい値
より低いので、起動可能であることを起動プロシージャ
2111に返す。起動プロシージャ2111は、CPU
監視部211112から起動可能であるという結果を得
たので、アプリケーションサーバ起動情報管理部213
を参照し、該当するアプリケーションサーバ212の起
動パラメータを読み取る。起動パラメータは、起動アプ
リケーションサーバ名、スレッド数、アプリケーション
サーバと通信可能な最大アクセス数である。これらの情
報を読み取り、アプリケーションサーバ212を起動す
る。
Process 2-531: CPU monitoring unit 21112
Returns to the activation procedure 2111 that the server 21 can be activated because the actual idle value of the server 21 is lower than the idle threshold. The startup procedure 2111 is executed by the CPU
Since a result indicating that the application server can be started is obtained from the monitoring unit 211112, the application server start information management unit 213
And reads the start parameter of the corresponding application server 212. The start parameters are the start application server name, the number of threads, and the maximum number of accesses that can communicate with the application server. The information is read and the application server 212 is started.

【0062】処理2−532:アプリケーションサーバ
212が起動されると、バインディング情報送信部21
21は、アプリケーションサーバ212のバインディン
グ情報をバインディング情報受信部21111へ送信す
る。
Process 2-532: When the application server 212 is started, the binding information transmitting unit 21
21 transmits the binding information of the application server 212 to the binding information receiving unit 21111.

【0063】処理2−533:起動プロシージャ211
1のバインディング情報受信部21111は、バインデ
ィング情報を受信すると、起動プロシージャ2111に
よってアプリケーションサーバ名、アプリケーションサ
ーバのバインディング情報、起動およびアクセスしてい
るクライアントのクライアント情報、アプリケーション
サーバ212と通信可能な最大アクセス数、アプリケー
ションサーバ起動情報管理部213に記録されている起
動したアプリケーションサーバに対応したアプリケーシ
ョンサーバの起動許容範囲を示すアイドルしきい値をア
プリケーションサーバ情報としてアプリケーションサー
バ情報部214へ登録し、起動したアプリケーションサ
ーバ212のバインディング情報を起動プロシージャ2
111の実行結果としてリモートプロシージャ制御部2
112へ返す。
Process 2-533: start procedure 211
When the binding information is received, the binding information receiving unit 21111 receives the application information, and executes the activation procedure 2111 to execute the application server name, the binding information of the application server, the client information of the activated and accessed client, and the maximum number of accesses that can communicate with the application server 212. The application server information registration unit 214 registers, as application server information, an idle threshold value indicating an allowable range of application server activation corresponding to the activated application server recorded in the application server activation information management unit 213 in the application server information unit 214. Startup procedure 2 for binding information of 212
111 as the execution result of the remote procedure control unit 2
Return to 112.

【0064】処理2−534:リモートプロシージャ制
御部2112は、起動プロシージャ2111実行結果と
してリモートプロシージャ制御部222へアプリケーシ
ョンサーバ212のバインディング情報を返信する。
Process 2-534: The remote procedure control unit 2112 returns the binding information of the application server 212 to the remote procedure control unit 222 as a result of executing the activation procedure 2111.

【0065】処理2−535:リモートプロシージャ制
御部222は、返信された結果であるバインディング情
報をアプリケーション221へ渡す。アプリケーション
221は、このバインディング情報を使ってアプリケー
ションサーバ212と通信することができる。
Process 2-535: The remote procedure control section 222 passes the returned binding information to the application 221. The application 221 can communicate with the application server 212 using the binding information.

【0066】処理2−54:次に、前記処理2−52に
おいて、CPU監視部21112での比較時、サーバ2
1の実際の負荷がアイドルしきい値より高い場合につい
て説明する。
Process 2-54: Next, in the process 2-52, when the CPU monitoring unit 21112 makes a comparison, the server 2
A case in which the actual load of one is higher than the idle threshold will be described.

【0067】処理2−541:CPU監視部21112
は、サーバ21の実際のアイドル値がアイドルしきい値
より高いので、起動不可能であることを起動プロシージ
ャ2111に返す。
Process 2-541: CPU monitoring unit 21112
Returns to the start procedure 2111 that the server 21 cannot be started because the actual idle value of the server 21 is higher than the idle threshold value.

【0068】処理2−542:起動プロシージャ211
1は、CPU監視部21112から起動不可能であると
いう結果を得たので、サーバ21は高負荷のため起動で
きないという旨の結果を起動プロシージャ2111の実
行結果としてリモートプロシージャ制御部2112へ返
す。
Process 2-542: start procedure 211
1 obtains from the CPU monitoring unit 21112 that the server 21 cannot be started, and returns a result indicating that the server 21 cannot be started due to a high load to the remote procedure control unit 2112 as an execution result of the start procedure 2111.

【0069】処理2−543:リモートプロシージャ制
御部2112は、起動プロシージャ2111実行結果と
してリモートプロシージャ制御部222へ高負荷のため
起動不可という旨のメッセージを返信する。
Process 2-543: The remote procedure control unit 2112 returns a message to the remote procedure control unit 222 to the effect that starting is impossible due to high load as the execution procedure 2111 execution result.

【0070】処理2−544:リモートプロシージャ制
御部222は、返信された結果をアプリケーション22
1へ渡す。
Process 2-544: The remote procedure control unit 222 sends the returned result to the application 22
Pass to 1.

【0071】処理2−545:アプリケーション221
は、この結果から現在はサーバ21が高負荷のためアプ
リケーションサーバ212を起動できないということが
わかる。
Process 2-545: Application 221
Indicates that the application server 212 cannot be started because the server 21 is currently under heavy load.

【0072】また、処理2−4において、他のクライア
ントによって既にアプリケーションサーバ212を起動
しており、その状態でクライアント22からアプリケー
ションサーバ212を起動する起動プロシージャ211
1を実行した場合は、実施の形態1の処理1−6以下と
同様の処理を行う。
In the process 2-4, the application server 212 has already been activated by another client, and in this state, the activation procedure 211 for activating the application server 212 from the client 22 is performed.
When Step 1 is executed, the same processing as the processing 1-6 and the subsequent steps in the first embodiment is performed.

【0073】以上のように、本実施の形態では、管理サ
ーバ211内の起動プロシージャ2111にCPU監視
部21112を設けることによって、実施の形態1によ
る効果に加え、更に、アプリケーションサーバ212の
起動の際に、サーバが高負荷の時にはクライアントから
のアプリケーションサーバの起動を拒否することがで
き、その実用的効果は大きい。
As described above, in the present embodiment, by providing the CPU monitoring unit 21112 in the start procedure 2111 in the management server 211, in addition to the effect of the first embodiment, the present invention is further applied to the case where the application server 212 is started. In addition, when the server is under a heavy load, the activation of the application server from the client can be refused, and the practical effect is great.

【0074】(実施の形態3)図3は、本発明によるク
ライアント/サーバシステムの一例を示したもので、図
3において、31はサーバ、311はアプリケーション
サーバの起動状況を管理する管理サーバ、3111は起
動プロシージャで、クライアント32からこの起動プロ
シージャの実行を要求されると、指定された要求アプリ
ケーションサーバ名に対応した起動アプリケーション名
をアプリケーションサーバ起動情報管理部313より獲
得し、獲得した起動アプリケーションサーバ名のアプリ
ケーションサーバを起動し、起動したアプリケーション
サーバのバインディング情報をバインディング情報受信
部31111より受信し、アプリケーションサーバ情報
部314に起動したアプリケーションサーバの情報を登
録する。
(Embodiment 3) FIG. 3 shows an example of a client / server system according to the present invention. In FIG. 3, reference numeral 31 denotes a server, 311 denotes a management server for managing the activation status of an application server, 3111 Is a start-up procedure. When execution of this start-up procedure is requested from the client 32, a start-up application name corresponding to the specified request application server name is obtained from the application server start-up information management unit 313, and the obtained start-up application server name is obtained. , The binding information of the activated application server is received from the binding information receiving unit 31111, and the information of the activated application server is registered in the application server information unit 314.

【0075】31111はバインディング情報受信部
で、起動プロシージャ3111から起動されたアプリケ
ーションサーバのバインディング情報送信部3121よ
りアプリケーションサーバ312のバインディング情報
を受信する。
Reference numeral 31111 denotes a binding information receiving unit which receives the binding information of the application server 312 from the binding information transmitting unit 3121 of the application server activated from the activation procedure 3111.

【0076】3112はリモートプロシージャ制御部
で、クライアントのリモートプロシージャ制御部から起
動プロシージャ3111の実行要求を受けてその要求内
容を実行し、またその実行結果をクライアントのリモー
トプロシージャ制御部へ返信する。
Reference numeral 3112 denotes a remote procedure control unit which receives a request to execute the start procedure 3111 from the client remote procedure control unit, executes the request, and returns the execution result to the client remote procedure control unit.

【0077】312はクライアントからのリモートプロ
シージャコールを受け付けるアプリケーションサーバ、
3121は、バインディング情報送信部で、アプリケー
ションサーバのバインディング情報を管理サーバ311
のバインディング情報受信部31111へ送信する。
An application server 312 receives a remote procedure call from a client.
Reference numeral 3121 denotes a binding information transmission unit which transmits the binding information of the application server to the management server 311.
To the binding information receiving unit 31111.

【0078】3122はリモートプロシージャで、クラ
イアントから実行可能なプロシージャを登録しており、
CPU監視部31221へ問い合わせた結果によって、
リモートプロシージャを実行したり、拒否したりする。
Reference numeral 3122 denotes a remote procedure which registers a procedure which can be executed by the client.
According to the result of the inquiry to the CPU monitoring unit 31221,
Execute or reject remote procedures.

【0079】31221はCPU監視部で、リモートプ
ロシージャ実行時にアプリケーションサーバ起動情報管
理部313の起動対象のアプリケーションサーバに対応
したアイドルしきい値を参照し、サーバの実際のアイド
ル値と比較する。サーバの実際の負荷がアプリケーショ
ンサーバ情報部314のアイドルしきい値より低い時に
は実行可能という情報をリモートプロシージャに返し、
実際の負荷がアプリケーションサーバ情報部314のア
イドルしきい値より高い時には実行不可能という情報を
リモートプロシージャに返す。
Reference numeral 31221 denotes a CPU monitoring unit, which refers to an idle threshold value corresponding to the application server to be activated by the application server activation information management unit 313 when executing a remote procedure, and compares it with the actual idle value of the server. When the actual load of the server is lower than the idle threshold value of the application server information section 314, information that the server can be executed is returned to the remote procedure,
When the actual load is higher than the idle threshold value of the application server information unit 314, information indicating that execution is impossible is returned to the remote procedure.

【0080】3123はリモートプロシージャ制御部
で、クライアントのリモートプロシージャ制御部からリ
モートプロシージャ3122の実行要求を受けてその要
求内容を実行し、またその実行結果をクライアントのリ
モートプロシージャ制御部へ返信する。
Reference numeral 3123 denotes a remote procedure control unit which receives a request for executing the remote procedure 3122 from the remote procedure control unit of the client, executes the content of the request, and returns the execution result to the remote procedure control unit of the client.

【0081】313はクライアントから起動要求される
アプリケーションサーバ名に対応した起動アプリケーシ
ョンサーバ名を管理するアプリケーションサーバ起動情
報管理部で、格納されている情報はクライアントから起
動要求される要求アプリケーションサーバ名、要求アプ
リケーションサーバ名に対応する起動アプリケーション
サーバ名、アプリケーションサーバを起動する際のスレ
ッド数と最大アクセス数、リモートプロシージャの実行
を制限するためのアイドルしきい値である。
Reference numeral 313 denotes an application server start information management unit for managing a start application server name corresponding to an application server name requested to be started by a client. The start application server name corresponding to the application server name, the number of threads and the maximum number of accesses when starting the application server, and the idle threshold value for restricting the execution of the remote procedure.

【0082】314は起動プロシージャによってアプリ
ケーションサーバを起動した際にアプリケーションサー
バの情報およびアクセス中のクライアント情報を格納す
るアプリケーションサーバ情報部で、起動したアプリケ
ーションサーバ名、バインディング情報、アクセスして
いるクライアント情報、最大アクセス数、リモートプロ
シージャの実行を制限するためのアイドルしきい値が書
き込まれる。
Reference numeral 314 denotes an application server information section for storing the information of the application server and the information of the client being accessed when the application server is activated by the activation procedure. The name of the activated application server, the binding information, the accessing client information, The maximum number of accesses and the idle threshold to limit the execution of remote procedures are written.

【0083】32はクライアント、321はアプリケー
ションで、管理サーバおよびアプリケーションサーバに
登録されている起動プロシージャ、リモートプロシージ
ャの実行を要求する。
Reference numeral 32 denotes a client, and 321 denotes an application, which requests execution of a start procedure and a remote procedure registered in the management server and the application server.

【0084】322はリモートプロシージャ制御部で、
アプリケーション321から渡されるバインディング情
報を使用して管理サーバ311あるいはアプリケーショ
ンサーバ312にアクセスし、管理サーバ311のリモ
ートプロシージャ制御部3112へ起動プロシージャ3
111の実行要求、アプリケーションサーバ312のリ
モートプロシージャ制御部3123へリモートプロシー
ジャ3122の実行要求を送信したり、起動プロシージ
ャ3111、リモートプロシージャ3122の実行結果
をそれぞれリモートプロシージャ制御部3112、リモ
ートプロシージャ制御部3123から受信する。33は
通信経路である。
Reference numeral 322 denotes a remote procedure control unit.
The management server 311 or the application server 312 is accessed using the binding information passed from the application 321, and the start procedure 3 is sent to the remote procedure control unit 3112 of the management server 311.
The execution request of the remote procedure 3122 is transmitted to the remote procedure control unit 3123 of the application server 312, and the execution results of the start procedure 3111 and the remote procedure 3122 are transmitted from the remote procedure control unit 3112 and the remote procedure control unit 3123, respectively. Receive. 33 is a communication path.

【0085】以上のように構成されたクライアント/サ
ーバシステムについて、図3を参照しながらその動作を
説明する。
The operation of the client / server system configured as described above will be described with reference to FIG.

【0086】サーバ31上では、管理サーバ311のみ
が起動されていた状態で、管理サーバ311はクライア
ント32からアプリケーションサーバ312の起動要求
を受け、(実施の形態1)と同様の手順でアプリケーシ
ョンサーバ312の起動を実行する段階、つまり、処理
1−55まで行い、アプリケーションサーバ312と通
信・起動できる段階であるものとする。
In the state where only the management server 311 is running on the server 31, the management server 311 receives a start request of the application server 312 from the client 32, and executes the application server 312 in the same procedure as in the first embodiment. Is executed, that is, the processing is performed up to the processing 1-55, and the communication with the application server 312 is started.

【0087】処理3−1:まず、クライアント32は、
アプリケーション321からアプリケーションサーバ3
12のバインディング情報をパラメータとして、アプリ
ケーションサーバ312のリモートプロシージャ312
2を実行する。
Process 3-1: First, the client 32
From application 321 to application server 3
The remote procedure 312 of the application server 312 using the binding information of
Execute Step 2.

【0088】処理3−2:リモートプロシージャ制御部
322はその要求をアプリケーションサーバ312のバ
インディング情報を使ってアプリケーションサーバ31
2へアクセスし、アプリケーションサーバ312のリモ
ートプロシージャ制御部3123へパラメータと共にリ
モートプロシージャ3122の実行を要求する。
Process 3-2: The remote procedure control unit 322 transmits the request using the binding information of the application server 312 to the application server 31.
2 and requests the remote procedure control unit 3123 of the application server 312 to execute the remote procedure 3122 together with the parameters.

【0089】処理3−3:アプリケーションサーバ31
2のリモートプロシージャ制御部3123は、クライア
ント32からの要求を受けると、要求されたリモートプ
ロシージャ3122を実行させる。
Process 3-3: Application server 31
Upon receiving the request from the client 32, the second remote procedure control unit 3123 executes the requested remote procedure 3122.

【0090】処理3−4:リモートプロシージャ312
2は、サーバ31の負荷がリモートプロシージャ312
2を実行可能な状態であるかを確認するためにCPU監
視部31221へ問い合わせる。
Process 3-4: remote procedure 312
2 indicates that the load on the server 31 is
An inquiry is made to the CPU monitoring unit 3221 to confirm whether or not Step 2 is executable.

【0091】処理3−5:CPU監視部31221は、
アプリケーションサーバ起動情報管理部313のリモー
トプロシージャ3122を実行するアプリケーションサ
ーバ312に対応したアイドルしきい値を参照し、サー
バ31の実際のアイドル値と比較する。
Process 3-5: The CPU monitoring section 3221
The application server activation information management unit 313 refers to the idle threshold value corresponding to the application server 312 that executes the remote procedure 3122, and compares it with the actual idle value of the server 31.

【0092】処理3−6:まず、サーバ31の実際の負
荷がアイドルしきい値より低い場合を説明する(一方、
高い場合は後述の処理3−7へ進む)。
Process 3-6: First, a case where the actual load of the server 31 is lower than the idle threshold value will be described (while,
If it is higher, the process proceeds to the process 3-7 described later).

【0093】処理3−61:CPU監視部31221
は、サーバ31の実際のアイドル値がアイドルしきい値
より低いので、実行可能であることをリモートプロシー
ジャ3122に返す。
Process 3-61: CPU monitoring section 3221
Returns to the remote procedure 3122 that the server 31 is executable because the actual idle value is lower than the idle threshold.

【0094】処理3−62:リモートプロシージャ31
22は、CPU監視部31221から実行可能であると
いう結果を得たので、リモートプロシージャ31221
を実行し、実行結果をモートプロシージャ制御部312
3へ返す。
Process 3-62: remote procedure 31
22 has obtained a result that it can be executed from the CPU monitoring unit 31221, and
Is executed, and the execution result is sent to the mote procedure control unit 312.
Return to 3.

【0095】処理3−63:リモートプロシージャ制御
部3123は、リモートプロシージャ3122実行結果
をリモートプロシージャ制御部322へ返信する。
Process 3-63: The remote procedure control unit 3123 returns the execution result of the remote procedure 3122 to the remote procedure control unit 322.

【0096】処理3−64:リモートプロシージャ制御
部322は、返信された結果をアプリケーションへ32
1渡す。
Process 3-64: The remote procedure control unit 322 sends the returned result to the application.
Give one.

【0097】処理3−7:次に、前記処理3−5におい
て、CPU監視部31221での比較時、サーバ31の
実際の負荷がアイドルしきい値より高い場合について説
明する。
Process 3-7: Next, a description will be given of a case where the actual load of the server 31 is higher than the idle threshold value at the time of comparison by the CPU monitoring section 3221 in the process 3-5.

【0098】処理3−71:CPU監視部31221
は、サーバ31の実際のアイドル値がアイドルしきい値
より高いので、実行不可能であることをリモートプロシ
ージャ3122に返す。
Process 3-71: CPU monitoring section 31221
Returns to the remote procedure 3122 that execution is not possible because the actual idle value of the server 31 is higher than the idle threshold.

【0099】処理3−72:リモートプロシージャ31
22は、CPU監視部31221から実行不可能である
という結果を得たので、サーバ31は高負荷のためリモ
ートプロシージャ3122を実行できないという旨の結
果をリモートプロシージャ制御部3123へ返す。
Process 3-72: Remote procedure 31
The server 22 returns a result to the remote procedure control unit 3123 to the effect that the remote procedure 3122 cannot be executed due to a high load, because the server monitoring unit 31221 obtains a result indicating that the remote procedure 3122 cannot be executed.

【0100】処理3−73:リモートプロシージャ制御
部3123は、リモートプロシージャ3122実行結果
としてリモートプロシージャ制御部322へ高負荷のた
め実行不可という旨のメッセージを返信する。
Process 3-73: The remote procedure control unit 3123 returns a message to the effect that it cannot be executed due to a high load to the remote procedure control unit 322 as an execution result of the remote procedure 3122.

【0101】処理3−74:リモートプロシージャ制御
部322は、返信された結果をアプリケーション321
へ渡す。アプリケーション321は、この結果から現在
はサーバ31が高負荷のためリモートプロシージャ31
22を実行できないということがわかる。
Process 3-74: The remote procedure control unit 322 sends the returned result to the application 321.
Pass to Based on the result, the application 321 has determined that the remote procedure 31
22 can not be executed.

【0102】以上のように、本実施の形態では、アプリ
ケーションサーバのリモートプロシージャにCPU監視
部を設けることにより、実施の形態1による効果に加
え、更に、リモートプロシージャ3122の実行の際
に、サーバが高負荷の時にはクライアントからのリモー
トプロシージャの実行を拒否すること、すなわち他のプ
ロセスのパフォーマンスを重視することができ、その実
用的効果は大きい。
As described above, in the present embodiment, by providing the CPU monitoring unit in the remote procedure of the application server, in addition to the effect of the first embodiment, the server can be used when the remote procedure 3122 is executed. When the load is high, the execution of the remote procedure from the client is refused, that is, the performance of other processes can be emphasized, and the practical effect is great.

【0103】(実施の形態4)図4は、本発明によるク
ライアント/サーバシステムの一例を示したもので、図
4において、41はサーバ、411はアプリケーション
サーバの起動状況を管理する管理サーバ、4111は起
動プロシージャで、クライアント42からこの起動プロ
シージャの実行を要求されると、指定された要求アプリ
ケーションサーバ名に対応した起動アプリケーション名
をアプリケーションサーバ起動情報管理部413より獲
得し、獲得した起動アプリケーションサーバ名のアプリ
ケーションサーバを起動し、起動したアプリケーション
サーバのバインディング情報をバインディング情報受信
部41111より受信し、アプリケーションサーバ情報
部414に起動したアプリケーションサーバの情報を登
録する。
(Embodiment 4) FIG. 4 shows an example of a client / server system according to the present invention. In FIG. 4, reference numeral 41 denotes a server, 411 denotes a management server for managing the activation status of an application server, 4111 Is a start procedure. When the client 42 requests execution of this start procedure, the start application name corresponding to the specified requested application server name is obtained from the application server start information management unit 413, and the obtained start application server name is obtained. , The binding information of the activated application server is received from the binding information receiving unit 41111, and the information of the activated application server is registered in the application server information unit 414.

【0104】41111はバインディング情報受信部
で、起動プロシージャ4111から起動されたアプリケ
ーションサーバのバインディング情報送信部4121よ
りアプリケーションサーバ412のバインディング情報
を受信する。
Reference numeral 41111 denotes a binding information receiving unit which receives the binding information of the application server 412 from the binding information transmitting unit 4121 of the application server activated from the activation procedure 4111.

【0105】4112は代替アプリケーションサーバ起
動プロシージャで、クライアント42からこの起動プロ
シージャの実行を要求されると、指定された要求アプリ
ケーションサーバ名に対応した起動アプリケーション名
をアプリケーションサーバ起動情報管理部413より獲
得し、獲得した起動アプリケーションサーバ名のアプリ
ケーションサーバを起動し、起動したアプリケーション
サーバのバインディング情報をバインディング情報受信
部4121より受信し、アプリケーションサーバ情報部
414に起動したアプリケーションサーバの情報を登録
する。
Reference numeral 4112 denotes an alternative application server start procedure. When execution of this start procedure is requested by the client 42, a start application name corresponding to the specified requested application server name is obtained from the application server start information management unit 413. Then, the application server having the acquired application server name is activated, the binding information of the activated application server is received from the binding information receiving unit 4121, and the information of the activated application server is registered in the application server information unit 414.

【0106】41121はバインディング情報受信部
で、代替アプリケーション起動プロシージャ4112か
ら起動された代替アプリケーションサーバ415のバイ
ンディング情報送信部4151より代替アプリケーショ
ンサーバ415のバインディング情報を受信する。
Reference numeral 41121 denotes a binding information receiving unit which receives the binding information of the alternative application server 415 from the binding information transmitting unit 4151 of the alternative application server 415 activated from the alternative application activation procedure 4112.

【0107】4113はリモートプロシージャ制御部
で、クライアントのリモートプロシージャ制御部422
から起動プロシージャ4111または代替アプリケーシ
ョンサーバ起動プロシージャ4112の実行要求を受け
てその要求内容を実行し、またその実行結果をクライア
ントのリモートプロシージャ制御部422へ返信する。
Reference numeral 4113 denotes a remote procedure control unit.
Receives the execution request of the start procedure 4111 or the alternative application server start procedure 4112 from the client, executes the contents of the request, and returns the execution result to the remote procedure control unit 422 of the client.

【0108】412はクライアントからのリモートプロ
シージャコールを受け付けるアプリケーションサーバ
で、実施の形態1すなわち図1のアプリケーションサー
バ112と同じ構成のものである。
An application server 412 receives a remote procedure call from a client, and has the same configuration as the first embodiment, that is, the application server 112 in FIG.

【0109】415はクライアント42からのリモート
プロシージャコールを受け付ける代替アプリケーション
サーバ、4151は、バインディング情報送信部で、代
替アプリケーションサーバ415のバインディング情報
を管理サーバ411の代替アプリケーションサーバ起動
プロシージャ4112のバインディング情報受信部41
121へ送信する。
Reference numeral 415 denotes an alternative application server that receives a remote procedure call from the client 42. Reference numeral 4151 denotes a binding information transmitting unit that transmits the binding information of the alternative application server 415 to the binding information receiving unit of the alternative application server activation procedure 4112 of the management server 411. 41
Send to 121.

【0110】4152はリモートプロシージャで、クラ
イアントから実行可能なプロシージャを登録している。
Reference numeral 4152 denotes a remote procedure, which registers a procedure executable by the client.

【0111】4153はリモートプロシージャ制御部
で、クライアント42のリモートプロシージャ制御部4
22からリモートプロシージャ4152の実行要求を受
けてその要求内容を実行し、またその実行結果をクライ
アント42のリモートプロシージャ制御部422へ返信
する。
Reference numeral 4153 denotes a remote procedure control unit.
In response to the execution request of the remote procedure 4152 from the client 22, the request is executed and the execution result is returned to the remote procedure control unit 422 of the client 42.

【0112】413はクライアント42から起動要求さ
れるアプリケーションサーバ名に対応した起動アプリケ
ーションサーバ名を管理するアプリケーションサーバ起
動情報管理部で、格納されている情報はクライアントか
ら起動要求される要求アプリケーションサーバ名、要求
アプリケーションサーバ名に対応する起動アプリケーシ
ョンサーバ名、アプリケーションサーバを起動する際の
スレッド数と最大アクセス数である。
An application server start information management unit 413 manages a start application server name corresponding to an application server name requested to be started by the client 42. The stored information includes a requested application server name requested to be started by the client, The start application server name corresponding to the request application server name, the number of threads for starting the application server, and the maximum number of accesses.

【0113】414は起動プロシージャ4111によっ
てアプリケーションサーバ412または代替アプリケー
ションサーバ415を起動した際にアプリケーションサ
ーバ412または代替アプリケーションサーバ415の
情報およびアクセス中のクライアント情報を格納するア
プリケーションサーバ情報部で、起動したアプリケーシ
ョンサーバ名、バインディング情報、アクセスしている
クライアント情報、最大アクセス数が書き込まれる。
Reference numeral 414 denotes an application server information section for storing information on the application server 412 or the alternative application server 415 and the client information being accessed when the application server 412 or the alternative application server 415 is activated by the activation procedure 4111. The server name, the binding information, the accessing client information, and the maximum number of accesses are written.

【0114】42はクライアント、421はアプリケー
ションで、管理サーバ411およびアプリケーションサ
ーバ412に登録されている起動プロシージャ411
1、リモートプロシージャ4122の実行を要求する。
Reference numeral 42 denotes a client, 421 denotes an application, and a start procedure 411 registered in the management server 411 and the application server 412.
1. Request execution of the remote procedure 4122.

【0115】422はリモートプロシージャ制御部で、
アプリケーション421から渡されるバインディング情
報を使用して管理サーバ411あるいはアプリケーショ
ンサーバ412あるいは代替アプリケーションサーバ4
15にアクセスし、管理サーバ411のリモートプロシ
ージャ制御部4113へ起動プロシージャ4111の実
行要求、管理サーバ411のリモートプロシージャ制御
部4113へ代替アプリケーションサーバ起動プロシー
ジャ4112の実行要求、アプリケーションサーバ41
2のリモートプロシージャ制御部4123へリモートプ
ロシージャ4122の実行要求を送信したり、起動プロ
シージャ4111、代替アプリケーションサーバ起動プ
ロシージャ4112、リモートプロシージャ4152の
実行結果をそれぞれリモートプロシージャ制御部411
3、リモートプロシージャ制御部4153から受信す
る。43は通信経路である。
Reference numeral 422 denotes a remote procedure control unit.
Using the binding information passed from the application 421, the management server 411, the application server 412, or the alternative application server 4
15 and requests the remote procedure control unit 4113 of the management server 411 to execute the start procedure 4111, requests the remote procedure control unit 4113 of the management server 411 to execute the alternative application server start procedure 4112, and executes the application server 41.
The remote procedure control unit 411 transmits an execution request of the remote procedure 4122 to the remote procedure control unit 4123, and transmits the execution results of the start procedure 4111, the alternative application server start procedure 4112, and the remote procedure 4152 to the remote procedure control unit 411, respectively.
3. Received from the remote procedure control unit 4153. 43 is a communication path.

【0116】以上のように構成されたクライアント/サ
ーバシステムについて、図5を参照しながらその動作を
説明する。
The operation of the client / server system configured as described above will be described with reference to FIG.

【0117】サーバ41上では、管理サーバ411のみ
が起動されていた状態で、管理サーバ411はクライア
ント42からアプリケーションサーバ412の起動要求
を受け、(実施の形態1)同様の手順でアプリケーショ
ンサーバ412の起動を実行する段階、つまり、処理1
−55まで行い、アプリケーションサーバ412と通信
・起動できる段階であるものとする。
On the server 41, in a state where only the management server 411 has been started, the management server 411 receives a request for starting the application server 412 from the client 42, and (in the first embodiment) executes the same procedure as that of the application server 412 according to the same procedure. Step of executing startup, that is, processing 1
It is assumed that the process is performed up to −55 and communication and activation with the application server 412 are possible.

【0118】しかし、アプリケーションサーバ412に
障害が発生しており、クライアント42の保持するバイ
ンディング情報を使用してアプリケーションサーバ41
2へのアクセスが不可能になっている状態とする。
However, a failure has occurred in the application server 412, and the application server 41
It is assumed that the access to No. 2 is disabled.

【0119】処理4−1:まず、クライアント42は、
アプリケーション421からアプリケーションサーバ4
12のバインディング情報をパラメータとして、アプリ
ケーションサーバ412のリモートプロシージャ412
2の実行要求をする。
Process 4-1: First, the client 42
Application 421 to application server 4
The remote procedure 412 of the application server 412 using the binding information of
2 is requested.

【0120】処理4−2:リモートプロシージャ制御部
422は、その要求をアプリケーションサーバ412の
バインディング情報を使って、アプリケーションサーバ
412へアクセスを試みる。
Process 4-2: The remote procedure control unit 422 attempts to access the request to the application server 412 using the binding information of the application server 412.

【0121】処理4−3:しかし、アプリケーションサ
ーバ412の障害によりクライアント42からの通信が
不可能になっているため、リモートプロシージャ制御部
422は、通信エラーをアプリケーション421へ返
す。
Process 4-3: However, the remote procedure control unit 422 returns a communication error to the application 421 because communication from the client 42 is disabled due to a failure in the application server 412.

【0122】処理4−4:アプリケーション421は、
代替アプリケーションサーバ415を起動するために、
管理サーバ411のバインディング情報、代替アプリケ
ーションサーバ名をパラメータとして代替アプリケーシ
ョンサーバ起動プロシージャ4112を実行する。
Process 4-4: The application 421
In order to start the alternative application server 415,
The alternative application server start procedure 4112 is executed using the binding information of the management server 411 and the alternative application server name as parameters.

【0123】処理4−5:リモートプロシージャ制御部
422はその要求を管理サーバ411のバインディング
情報を使って管理サーバ411へアクセスし、管理サー
バ411のリモートプロシージャ制御部4113へパラ
メータと共に代替アプリケーションサーバ起動プロシー
ジャ4112の実行を要求する。
Process 4-5: The remote procedure control unit 422 accesses the request to the management server 411 using the binding information of the management server 411, and sends the request to the remote procedure control unit 4113 of the management server 411 together with the parameters together with the alternative application server start procedure. 4112 is requested.

【0124】処理4−6:管理サーバ411のリモート
プロシージャ制御部4113は、クライアント42から
の要求を受けると、起動要求のあった代替アプリケーシ
ョンサーバ名をパラメータとして代替アプリケーション
サーバ起動プロシージャを4112実行させる。
Processing 4-6: Upon receiving the request from the client 42, the remote procedure control unit 4113 of the management server 411 executes the alternative application server start procedure 4112 using the name of the alternative application server that has requested the start as a parameter.

【0125】処理4−7:代替アプリケーションサーバ
起動プロシージャ4112は、起動要求された要求アプ
リケーションサーバ名に対応する起動アプリケーション
サーバ名をアプリケーションサーバ起動情報管理部41
3より獲得し、指定された起動アプリケーションサーバ
名が既に起動されていないかどうかをアプリケーション
サーバ情報部414のアプリケーションサーバ情報を参
照する。アプリケーションサーバ情報のアプリケーショ
ンサーバ名に既に起動アプリケーションサーバ名が登録
されていたら起動中であることを意味する。
Process 4-7: The alternative application server start procedure 4112 stores the start application server name corresponding to the requested application server name requested to be started by the application server start information management unit 41.
3 and refers to the application server information in the application server information section 414 to determine whether the specified activation application server name has already been activated. If the start application server name is already registered in the application server name of the application server information, it means that the application server is being started.

【0126】処理4−8:まず、未起動であった場合を
説明する(一方、既に起動している場合は後述の処理4
−9へ進む)。
Process 4-8: First, the case where the device has not been started will be described.
Go to -9).

【0127】処理4−81:指定された代替アプリケー
ションサーバ415は、アプリケーションサーバ情報部
414に登録されていないので、指定された代替アプリ
ケーションサーバ415を起動するためにアプリケーシ
ョンサーバ起動情報管理部413を参照し、該当するア
プリケーションサーバ415の起動パラメータを読み取
る。起動パラメータは、起動アプリケーションサーバ
名、スレッド数、アプリケーションサーバと通信可能な
最大アクセス数である。これらの情報を読み取り、代替
アプリケーションサーバを起動する。
Process 4-81: Since the designated alternative application server 415 is not registered in the application server information section 414, refer to the application server activation information management section 413 to activate the designated alternative application server 415. Then, the corresponding application server 415 is read. The start parameters are the start application server name, the number of threads, and the maximum number of accesses that can communicate with the application server. The information is read and the alternative application server is started.

【0128】処理4−82:代替アプリケーションサー
バ415が起動されると、バインディング情報送信部4
151は、代替アプリケーションサーバ415のバイン
ディング情報をバインディング情報受信部41121へ
送信する。
Process 4-82: When the alternative application server 415 is started, the binding information transmitting unit 4
151 transmits the binding information of the alternative application server 415 to the binding information receiving unit 41121.

【0129】処理4−83:代替アプリケーションサー
バ起動プロシージャ4112のバインディング情報受信
部41121は、そのバインディング情報を受信する
と、代替アプリケーションサーバ起動プロシージャ41
12によってアプリケーションサーバ名、アプリケーシ
ョンサーバ415のバインディング情報、起動およびア
クセスしているクライアントのクライアント情報、アプ
リケーションサーバ415と通信可能な最大アクセス数
をアプリケーションサーバ情報としてアプリケーション
サーバ情報部414へ登録し、クライアント42がこれ
まで使用していたアプリケーションサーバ412に関す
るアプリケーションサーバ情報部414のクライアント
情報からクライアント42の情報を削除し、起動した代
替アプリケーションサーバ415のバインディング情報
を代替アプリケーションサーバ起動プロシージャ411
2の実行結果としてリモートプロシージャ制御部411
3へ返す。
Process 4-83: The binding information receiving section 41121 of the alternative application server start procedure 4112 receives the binding information, and
12 registers the application server name, the binding information of the application server 415, the client information of the activated and accessed client, and the maximum number of accesses that can communicate with the application server 415 in the application server information section 414 as the application server information. Deletes the information of the client 42 from the client information of the application server information section 414 relating to the application server 412 used so far, and replaces the binding information of the activated alternative application server 415 with the alternative application server activation procedure 411.
2 as the execution result of the remote procedure control unit 411
Return to 3.

【0130】処理4−84:リモートプロシージャ制御
部4113は、代替アプリケーションサーバ起動プロシ
ージャ4112実行結果としてリモートプロシージャ制
御部422へ代替アプリケーションサーバ415のバイ
ンディング情報を返信する。
Process 4-84: The remote procedure control unit 4113 returns the binding information of the alternative application server 415 to the remote procedure control unit 422 as the execution result of the alternative application server start procedure 4112.

【0131】処理4−85:リモートプロシージャ制御
部422は、返信された結果であるバインディング情報
をアプリケーション421へ渡す。アプリケーション4
21は、このバインディング情報を使って代替アプリケ
ーションサーバ415と通信することができる。
Process 4-85: The remote procedure control unit 422 passes the returned binding information to the application 421. Application 4
21 can communicate with the alternative application server 415 using this binding information.

【0132】処理4−9:次に他のクライアントによっ
て既に代替アプリケーションサーバ415を起動してお
り、その状態でクライアント42から代替アプリケーシ
ョンサーバ415を起動する代替アプリケーションサー
バ起動プロシージャ4112を実行したとする。
Process 4-9: It is assumed that the alternative application server 415 has already been started by another client, and in this state, the alternative application server start procedure 4112 for starting the alternative application server 415 from the client 42 has been executed.

【0133】処理4−91:まず、クライアントは、ア
プリケーション42から管理サーバ411のバインディ
ング情報、および起動要求する代替アプリケーションサ
ーバ名をパラメータとして代替アプリケーションサーバ
起動プロシージャ4112を実行する。
Process 4-91: First, the client executes the alternative application server start procedure 4112 from the application 42 with the binding information of the management server 411 and the name of the alternative application server to be requested to start as parameters.

【0134】処理4−92:リモートプロシージャ制御
部422はその要求を管理サーバ411のバインディン
グ情報を使って管理サーバ411へアクセスし、管理サ
ーバ411のリモートプロシージャ制御部4113へパ
ラメータと共に代替アプリケーションサーバ起動プロシ
ージャ4112の実行を要求する。
Process 4-92: The remote procedure control section 422 accesses the request to the management server 411 using the binding information of the management server 411, and sends the request to the remote procedure control section 4113 of the management server 411 together with the parameters together with the alternative application server start procedure. 4112 is requested.

【0135】処理4−93:管理サーバ411のリモー
トプロシージャ制御部4113は、クライアント42か
らの要求を受けると、要求代替アプリケーションサーバ
名のパラメータを使用して代替アプリケーション起動プ
ロシージャ4112を実行させる。
Process 4-93: Upon receiving the request from the client 42, the remote procedure control unit 4113 of the management server 411 executes the alternative application start procedure 4112 using the parameter of the request alternative application server name.

【0136】処理4−94:代替アプリケーション起動
プロシージャ4112は、起動要求された要求代替アプ
リケーションサーバ名に対応する起動アプリケーション
サーバ名をアプリケーションサーバ起動情報管理部41
3より参照し、指定された起動アプリケーションサーバ
名が既に起動されていないかどうかをアプリケーション
サーバ情報部414のアプリケーションサーバ情報を参
照する。
Process 4-94: The substitute application start procedure 4112 sets the start application server name corresponding to the requested substitute application server name requested to be started to the application server start information management section 41.
3, the application server information of the application server information section 414 is referred to as to whether the specified start application server name has already been started.

【0137】処理4−95:参照した結果、既に起動中
であることがわかるので、次に最大アクセス数とクライ
アント情報の数とを比較する。
Process 4-95: As a result of the reference, it is known that the device is already running. Then, the maximum access number is compared with the number of client information.

【0138】処理4−96:比較した結果、このクライ
アント42をアクセスさせても最大アクセス未満であれ
ば、起動中の代替アプリケーションサーバ415のバイ
ンディング情報をアプリケーションサーバ情報部414
から起動した代替アプリケーションサーバ名のバインデ
ィング情報を取得し、アプリケーションサーバ412に
関するアプリケーションサーバ情報部414のクライア
ント情報からクライアント42の情報を削除し、取得し
たバインディング情報を代替アプリケーションサーバ起
動プロシージャ4112の実行結果としてリモートプロ
シージャ制御部4113へ返す。
Process 4-96: As a result of the comparison, if the client 42 is accessed but the access is less than the maximum access, the binding information of the activated alternative application server 415 is stored in the application server information section 414.
From the client information in the application server information section 414 relating to the application server 412, the binding information of the client 42 is deleted, and the acquired binding information is used as the execution result of the alternative application server startup procedure 4112. Return to remote procedure control unit 4113.

【0139】処理4−97:リモートプロシージャ制御
部4113は、代替アプリケーションサーバ起動プロシ
ージャ4112実行結果としてリモートプロシージャ制
御部422へ代替アプリケーションサーバ415のバイ
ンディング情報を返信する。
Process 4-97: The remote procedure control unit 4113 returns the binding information of the alternative application server 415 to the remote procedure control unit 422 as the execution result of the alternative application server start procedure 4112.

【0140】処理4−98:リモートプロシージャ制御
部422は、返信された結果であるバインディング情報
をアプリケーション421へ渡す。アプリケーション4
21は、このバインディング情報を使って代替アプリケ
ーションサーバ415と通信することができる。
Process 4-98: The remote procedure control unit 422 passes the returned binding information to the application 421. Application 4
21 can communicate with the alternative application server 415 using this binding information.

【0141】処理4−99:一方、処理4−95におい
て、アプリケーションサーバ情報部414のクライアン
ト情報と最大アクセス数の比較時、アクセスするクライ
アントの数が最大アクセス数を越える場合には新しいア
プリケーションサーバを起動し、上記クライアントから
の代替アプリケーションサーバの起動手順でクライアン
トに新規に起動した代替アプリケーションサーバのバイ
ンディング情報を返信することで、クライアントは新規
に起動した代替アプリケーションサーバへアクセスする
ことができる。
Process 4-99: On the other hand, in the process 4-95, when comparing the client information of the application server information section 414 with the maximum access number, if the number of clients to be accessed exceeds the maximum access number, a new application server is set. The client can access the newly started alternative application server by starting up and returning the binding information of the newly started up alternative application server to the client in the above described starting procedure of the alternative application server from the client.

【0142】なお、本実施の形態では、アプリケーショ
ンサーバ412に対する代替アプリケーションサーバ4
15の関係を、マスタ(通常使用サーバ)に対してスレ
ーブ(臨時用の待機サーバ)のような位置づけになって
いるが、説明上の紛らわしさを解消するものであり、ア
プリケーションサーバと代替アプリケーションサーバと
の関係は、マスタとマスタといった対等な位置づけでも
一向に構わない。
In the present embodiment, the alternative application server 4
Although the relationship of No. 15 is positioned as a slave (temporary standby server) with respect to the master (normally used server), it eliminates the confusingness of the description, and the application server and the alternative application server are used. The relationship between and may be equally determined such that the master and the master are equally positioned.

【0143】以上のように、本実施の形態では、管理サ
ーバ411内に代替アプリケーションサーバ起動プロシ
ージャ4112を更に設けることにより、実施の形態1
による効果に加え、更に、アプリケーションサーバ障害
時にも、そのアプリケーションサーバとは別のサーバ
(代替アプリケーションサーバ)の指定を改めてクライ
アントから受けることによって、代替アプリケーション
サーバを使用することができ、クライアントはこれまで
通り、リモートプロシージャを実行することができ、そ
の実用的効果は大きい。
As described above, in the present embodiment, the management server 411 is further provided with the alternative application server start procedure 4112, whereby the first embodiment is provided.
In addition to the effects of the above, even in the event of an application server failure, the alternative application server can be used by receiving another designation from the client (alternate application server) different from the application server. As you can see, the remote procedure can be executed, and its practical effect is great.

【0144】(実施の形態5)図5は、本発明によるク
ライアント/サーバシステムの一例を示したもので、図
5において、51はサーバ、511はヒストリ情報取得
プロシージャを実行する管理サーバである。
(Embodiment 5) FIG. 5 shows an example of a client / server system according to the present invention. In FIG. 5, reference numeral 51 denotes a server, and 511 denotes a management server for executing a history information acquisition procedure.

【0145】5111はヒストリ情報取得プロシージャ
で、クライアント52からこのプロシージャの実行を要
求されると、ヒストリ情報部513に書き込まれたアプ
リケーションサーバ名、リモートプロシージャ名、リモ
ートプロシージャの引数を元に実行結果を取得し、ヒス
トリ情報取得プロシージャの実行結果としてクライアン
ト52へ返す。
Reference numeral 5111 denotes a history information acquisition procedure. When execution of this procedure is requested by the client 52, the execution result is obtained based on the application server name, remote procedure name, and remote procedure arguments written in the history information section 513. Acquired and returned to the client 52 as the execution result of the history information acquisition procedure.

【0146】5112はリモートプロシージャ制御部
で、クライアント52のリモートプロシージャ制御部5
22からヒストリ情報取得プロシージャ5111の実行
要求を受けてその要求内容を実行し、またその実行結果
をクライアント52のリモートプロシージャ制御部52
2へ返信する。
Reference numeral 5112 denotes a remote procedure control unit.
In response to the execution request of the history information acquisition procedure 5111 from the client 22, the content of the request is executed, and the execution result is transmitted to the remote procedure control unit 52 of the client 52.
Reply to 2.

【0147】512はクライアント52からのリモート
プロシージャコールを受け付けるアプリケーションサー
バ、5121はリモートプロシージャで、クライアント
から実行可能なプロシージャを登録している。
An application server 512 receives a remote procedure call from the client 52, and a remote procedure 5121 registers a procedure that can be executed by the client.

【0148】51211はヒストリ情報書き込み部で、
リモートプロシージャ5121を実行要求するクライア
ント52のクライアント情報、リモートプロシージャを
設けているアプリケーションサーバ名、リモートプロシ
ージャ名、リモートプロシージャの引数、リモートプロ
シージャのエラー情報をリモートプロシージャ実行時に
ヒストリ情報部513に書き込む。
Numeral 51211 denotes a history information writing unit.
The client information of the client 52 requesting the execution of the remote procedure 5121, the name of the application server having the remote procedure, the name of the remote procedure, the argument of the remote procedure, and the error information of the remote procedure are written in the history information section 513 when the remote procedure is executed.

【0149】5112はリモートプロシージャ制御部
で、クライアント52のリモートプロシージャ制御部5
22からリモートプロシージャ5121の実行要求を受
けてその要求内容を実行し、またその実行結果をクライ
アント52のリモートプロシージャ制御部522へ返信
する。
Reference numeral 5112 denotes a remote procedure control unit.
In response to the execution request of the remote procedure 5121 from the client 22, the content of the request is executed, and the execution result is returned to the remote procedure control unit 522 of the client 52.

【0150】513はヒストリ情報部で、クライアント
52から実行要求されるリモートプロシージャの実行結
果を格納するもので、リモートプロシージャを実行要求
したクライアント情報、リモートプロシージャを設けた
アプリケーションサーバ名、実行したリモートプロシー
ジャ名、リモートプロシージャの引数、リモートプロシ
ージャのエラー情報が格納される。
Reference numeral 513 denotes a history information section for storing the execution result of the remote procedure requested to be executed by the client 52, the client information requesting the execution of the remote procedure, the name of the application server provided with the remote procedure, and the executed remote procedure. Stores the name, remote procedure arguments, and remote procedure error information.

【0151】52はクライアント、521はアプリケー
ションで、管理サーバおよびアプリケーションサーバに
登録されているヒストリ情報取得プロシージャ、リモー
トプロシージャの実行を要求する。
A client 52 and an application 521 request execution of a history information acquisition procedure and a remote procedure registered in the management server and the application server.

【0152】522はリモートプロシージャ制御部で、
アプリケーション521から渡されるバインディング情
報を使用して管理サーバ511あるいはアプリケーショ
ンサーバ512にアクセスし、管理サーバ511のリモ
ートプロシージャ制御部5112へヒストリ情報取得プ
ロシージャ5111の実行要求、アプリケーションサー
バ512のリモートプロシージャ制御部5122へリモ
ートプロシージャ5121の実行要求を送信したり、起
動プロシージャ5111、リモートプロシージャ512
1の実行結果をそれぞれリモートプロシージャ制御部5
112、リモートプロシージャ制御部5122から受信
する。53は通信経路である。
Reference numeral 522 denotes a remote procedure control unit.
The management server 511 or the application server 512 is accessed using the binding information passed from the application 521, and a request to execute the history information acquisition procedure 5111 to the remote procedure control unit 5112 of the management server 511, and the remote procedure control unit 5122 of the application server 512. Request to execute the remote procedure 5121, the activation procedure 5111 and the remote procedure 512.
1 to the remote procedure control unit 5
112, received from the remote procedure control unit 5122. 53 is a communication path.

【0153】以上のように構成されたクライアント/サ
ーバシステムについて、図5を参照しながらその動作を
説明する。
The operation of the client / server system configured as described above will be described with reference to FIG.

【0154】サーバ51上では、管理サーバ511およ
びアプリケーションサーバ512が起動されており、ク
ライアント52からのヒストリ情報取得プロシージャ5
111およびリモートプロシージャ5121の実行要求
の待ち状態になっている。また、クライアント52はサ
ーバ51の管理サーバ511およびアプリケーションサ
ーバ512のバインディング情報を知っており、管理サ
ーバ511のヒストリ情報取得プロシージャ5111お
よびリモートプロシージャ5121を実行することが可
能になっているものとする。
On the server 51, the management server 511 and the application server 512 are activated, and the history information acquisition procedure 5 from the client 52 is executed.
It is in a waiting state for an execution request of the remote procedure 111 and the remote procedure 5121. Further, it is assumed that the client 52 knows the binding information of the management server 511 and the application server 512 of the server 51, and can execute the history information acquisition procedure 5111 and the remote procedure 5121 of the management server 511.

【0155】処理5−1:まず、クライアント52は、
アプリケーション521からアプリケーションサーバ5
12のバインディング情報を使ってアプリケーションサ
ーバ512上のリモートプロシージャ5121の実行要
求をする。
Process 5-1: First, the client 52
Application 521 to application server 5
A request for execution of the remote procedure 5121 on the application server 512 is made using the binding information of Twelve.

【0156】処理5−2:リモートプロシージャ制御部
522はその要求をアプリケーションサーバ512のバ
インディング情報を使ってアプリケーションサーバ51
2へアクセスし、アプリケーションサーバ512のリモ
ートプロシージャ制御部5122へリモートプロシージ
ャ5121の実行を要求する。
Process 5-2: The remote procedure control unit 522 sends the request to the application server 51 using the binding information of the application server 512.
2 and requests the remote procedure control unit 5122 of the application server 512 to execute the remote procedure 5121.

【0157】処理5−3:アプリケーションサーバ51
2のリモートプロシージャ制御部5122は、クライア
ント52からの要求を受けると、要求されたリモートプ
ロシージャ5121を実行させる。
Process 5-3: Application server 51
When receiving the request from the client 52, the second remote procedure control unit 5122 executes the requested remote procedure 5121.

【0158】処理5−4:リモートプロシージャ512
1は、実行結果としてエラー情報およびリモートプロシ
ージャ5121を実行要求したクライアント情報、リモ
ートプロシージャを設けているアプリケーションサーバ
名、リモートプロシージャ名、リモートプロシージャの
引数をヒストリ情報書き込み部51211へ渡す。
Process 5-4: remote procedure 512
1 transfers to the history information writing unit 51211 the error information, the client information requesting the execution of the remote procedure 5121, the name of the application server having the remote procedure, the remote procedure name, and the argument of the remote procedure.

【0159】処理5−5:ヒストリ情報書き込み部51
211は、パラメータとして受けたクライアント情報、
アプリケーションサーバ名、リモートプロシージャ名、
リモートプロシージャの引数、およびエラー情報をヒス
トリ情報部513へ書き込む。書き込みが終了したら、
リモートプロシージャ5121は、リモートプロシージ
ャ5121の実行結果をリモートプロシージャ制御部5
122へ返す。
Process 5-5: History information writing section 51
211 is client information received as a parameter,
Application server name, remote procedure name,
The arguments of the remote procedure and error information are written to the history information section 513. When writing is completed,
The remote procedure 5121 transmits the execution result of the remote procedure 5121 to the remote procedure control unit 5.
Return to 122.

【0160】処理5−6:リモートプロシージャ制御部
5122は、リモートプロシージャ5121実行結果を
リモートプロシージャ制御部522へ返信する。
Process 5-6: The remote procedure control unit 5122 returns the execution result of the remote procedure 5121 to the remote procedure control unit 522.

【0161】処理5−7:リモートプロシージャ制御部
522は、返信された結果をアプリケーション521へ
渡す。
Process 5-7: The remote procedure control unit 522 passes the returned result to the application 521.

【0162】ここで、更にクライアント52が上記手順
によりアプリケーションサーバ512のリモートプロシ
ージャ5121を実行し、アプリケーションサーバ51
2上のリモートプロシージャ制御部5122からクライ
アントのリモートプロシージャ制御部522へリモート
プロシージャ5121の実行結果を得る前に、クライア
ント側の停電等の障害により、実行結果を得ることがで
きなかったとする。
Here, the client 52 executes the remote procedure 5121 of the application server 512 according to the above procedure, and
Before the execution result of the remote procedure 5121 is obtained from the remote procedure control unit 5122 on the client 2 to the remote procedure control unit 522 of the client, the execution result cannot be obtained due to a failure such as a power failure on the client side.

【0163】処理5−8:障害復旧後、まず、クライア
ント52は、アプリケーション521から管理サーバ5
11のバインディング情報、直前に実行したリモートプ
ロシージャを備えたアプリケーションサーバ名、リモー
トプロシージャ名、リモートプロシージャの引数をパラ
メータとして管理サーバ511上のヒストリ情報取得プ
ロシージャ5111の実行要求をする。
Process 5-8: After recovery from the failure, first, the client 52 sends the management server 5
A request for executing the history information acquisition procedure 5111 on the management server 511 is made using the binding information of No. 11, the name of the application server having the remote procedure executed immediately before, the name of the remote procedure, and the arguments of the remote procedure as parameters.

【0164】処理5−9:リモートプロシージャ制御部
522はその要求を管理サーバ511のバインディング
情報を使って管理サーバ511へアクセスし、管理サー
バ511のリモートプロシージャ制御部5112へヒス
トリ情報取得プロシージャ5111の実行を要求する。
Processing 5-9: The remote procedure control unit 522 accesses the request to the management server 511 by using the binding information of the management server 511, and executes the history information acquisition procedure 5111 to the remote procedure control unit 5112 of the management server 511. Request.

【0165】処理5−10:アプリケーションサーバ5
12のリモートプロシージャ制御部5112は、要求さ
れたヒストリ情報取得プロシージャ5111を実行させ
る。
Process 5-10: Application server 5
The twelfth remote procedure control unit 5112 causes the requested history information acquisition procedure 5111 to be executed.

【0166】処理5−11:ヒストリ情報取得プロシー
ジャ5111は、ヒストリ情報取得プロシージャ511
1を実行要求したクライアント情報、およびパラメータ
として取得したリモートプロシージャを設けているアプ
リケーションサーバ名、リモートプロシージャ名、リモ
ートプロシージャの引数からヒストリ情報書き込み部5
1211に書き込まれた情報を参照し、該当プロシージ
ャのエラー情報を取得し、リモートプロシージャ制御部
5112へその結果を返す。
Process 5-11: History information acquisition procedure 5111
History information writing unit 5 based on the client information requesting execution of the client application 1, the name of the application server providing the remote procedure acquired as a parameter, the name of the remote procedure, and the arguments of the remote procedure.
The error information of the corresponding procedure is acquired by referring to the information written in 1211 and the result is returned to the remote procedure control unit 5112.

【0167】処理5−12:リモートプロシージャ制御
部5112は、ヒストリ情報取得プロシージャ5111
実行結果をリモートプロシージャ制御部522へ返信す
る。
Process 5-12: The remote procedure control unit 5112 executes the history information acquisition procedure 5111
The execution result is returned to the remote procedure control unit 522.

【0168】処理5−13:リモートプロシージャ制御
部522は、返信された結果をアプリケーション521
へ渡す。
Process 5-13: The remote procedure control unit 522 sends the returned result to the application 521.
Pass to

【0169】以上のように、本実施の形態では、クライ
アント側の停電等の障害原因により、リモートプロシー
ジャの実行結果を得ることができなくても、管理サーバ
にヒストリ情報プロシージャを設け、サーバ内にヒスト
リ情報部を設けることにより、障害復旧後、ヒストリ情
報取得プロシージャを実行することにより、障害前のリ
モートプロシージャの実行結果を得ることができ、リモ
ートプロシージャを再実行する必要があるのかどうか判
断することができ、その実用的効果は大きい。
As described above, in the present embodiment, the history information procedure is provided in the management server even if the execution result of the remote procedure cannot be obtained due to a failure such as a power failure on the client side. By providing the history information section, after the failure recovery, by executing the history information acquisition procedure, the execution result of the remote procedure before the failure can be obtained, and it is determined whether the remote procedure needs to be re-executed. And its practical effect is great.

【0170】[0170]

【発明の効果】従って、第1の発明によれば、管理サー
バがアプリケーションサーバの情報を利用し、複数のク
ライアントを一つのアプリケーションサーバに対応さ
せ、サーバの物理的リソースの消費を抑えることができ
るという有利な効果が得られる。
Thus, according to the first aspect, the management server can utilize the information of the application server, associate a plurality of clients with one application server, and suppress the consumption of physical resources of the server. The advantageous effect described above can be obtained.

【0171】第2の発明によれば、管理サーバにCPU
の負荷を監視するCPU監視部を設けることにより、ア
プリケーションサーバ起動時に、また、アプリケーショ
ンサーバにCPUの負荷を監視するCPU監視部を設け
ることにより、リモートプロシージャ実行時に、それぞ
れクライアントからの要求の受け付け/拒否を制御し、
サーバの負荷を安定させることができるという有利な効
果が得られる。
According to the second invention, the management server is provided with the CPU
By providing a CPU monitoring unit for monitoring the load on the application server, the CPU monitoring unit for monitoring the load on the CPU in the application server is provided. Control rejection,
An advantageous effect that the load on the server can be stabilized can be obtained.

【0172】第3に発明によれば、管理サーバ内にアプ
リケーションサーバ障害時に別のアプリケーションサー
バを起動するリモートプロシージャを更に設けることに
より、アプリケーションサーバに障害が発生しても管理
サーバは代替アプリケーションサーバを生成し、クライ
アントは代替アプリケーションサーバのリモートプロシ
ージャを実行できるという有利な効果が得られる。
According to the third aspect of the present invention, by further providing a remote procedure for starting another application server in the event of a failure of an application server in the management server, the management server can substitute an alternative application server even if a failure occurs in the application server. This has the advantageous effect that the client can execute the remote procedure of the alternative application server.

【0173】第4の発明によれば、サーバ内にアプリケ
ーションサーバのリモートプロシージャの実行した情報
を記憶する記憶装置と、記憶装置に記憶されたリモート
プロシージャの実行した情報を取得することができるリ
モートプロシージャを管理サーバに登録することによ
り、クライアントの障害により正常終了として得られな
かったリモートプロシージャの結果を得ることができる
という有利な効果が得られる。
According to the fourth aspect, a storage device for storing information executed by a remote procedure of an application server in a server, and a remote procedure capable of acquiring information executed by a remote procedure stored in the storage device Is registered in the management server, it is possible to obtain an advantageous effect that a result of a remote procedure that cannot be obtained as a normal end due to a client failure can be obtained.

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

【図1】本発明の実施の形態1によるクライアント/サ
ーバシステムの構成例を示す図
FIG. 1 is a diagram showing a configuration example of a client / server system according to a first embodiment of the present invention;

【図2】本発明の実施の形態2によるクライアント/サ
ーバシステムの構成例を示す図
FIG. 2 is a diagram showing a configuration example of a client / server system according to a second embodiment of the present invention;

【図3】本発明の実施の形態3によるクライアント/サ
ーバシステムの構成例を示す図
FIG. 3 is a diagram showing a configuration example of a client / server system according to a third embodiment of the present invention;

【図4】本発明の実施の形態4によるクライアント/サ
ーバシステムの構成例を示す図
FIG. 4 is a diagram showing a configuration example of a client / server system according to a fourth embodiment of the present invention;

【図5】本発明の実施の形態5によるクライアント/サ
ーバシステムの構成例を示す図
FIG. 5 is a diagram showing a configuration example of a client / server system according to a fifth embodiment of the present invention.

【図6】従来のクライアント/サーバシステムの構成例
を示す図
FIG. 6 is a diagram showing a configuration example of a conventional client / server system.

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

11 サーバ 111 管理サーバ 1111 起動プロシージャ 11111 バインディング情報受信部 1112 リモートプロシージャ制御部 112 アプリケーションサーバ 1121 バインディング情報送信部 1122 リモートプロシージャ 1123 リモートプロシージャ制御部 113 アプリケーションサーバ起動情報管理部 114 アプリケーションサーバ情報部 12 クライアント 121 アプリケーション 122 リモートプロシージャ制御部 13 通信経路 21 サーバ 211 管理サーバ 2111 起動プロシージャ 21111 バインディング情報受信部 21112 CPU監視部 2112 リモートプロシージャ制御部 212 アプリケーションサーバ 2121 バインディング情報送信部 2122 リモートプロシージャ 2123 リモートプロシージャ制御部 213 アプリケーションサーバ起動情報管理部 214 アプリケーションサーバ情報部 22 クライアント 221 アプリケーション 222 リモートプロシージャ制御部 23 通信経路 31 サーバ 311 管理サーバ 3111 起動プロシージャ 31111 バインディング情報受信部 3112 リモートプロシージャ正著部 312 アプリケーションサーバ 3121 バインディング情報送信部 3122 リモートプロシージャ 31221 CPU監視部 3123 リモートプロシージャ制御部 313 アプリケーションサーバ起動情報管理部 314 アプリケーションサーバ情報部 32 クライアント 321 アプリケーション 322 リモートプロシージャ制御部 33 通信経路 41 サーバ 411 管理サーバ 4111 起動プロシージャ 41111 バインディング情報受信部 4112 代替アプリケーションサーバ起動プロシージ
ャ 41121 バインディング情報受信部 4113 リモートプロシージャ制御部 412 アプリケーションサーバ 4121 バインディング情報送信部 4122 リモートプロシージャ 4123 リモートプロシージャ制御部 413 アプリケーションサーバ起動情報管理部 414 アプリケーションサーバ情報部 415 代替アプリケーションサーバ 4151 バインディング情報送信部 4152 リモートプロシージャ 4153 リモートプロシージャ制御部 42 クライアント 421 アプリケーション 422 リモートプロシージャ制御部 43 通信経路 51 サーバ 511 管理サーバ 5111 ヒストリ情報取得プロシージャ 5112 リモートプロシージャ制御部 512 アプリケーションサーバ 5121 リモートプロシージャ 51211 ヒストリ情報書き込み部 5122 リモートプロシージャ制御部 513 ヒストリ情報部 52 クライアント 521 アプリケーション 522 リモートプロシージャ制御部 53 通信経路 61 サーバ 611 アプリケーションサーバ 6111 リモートプロシージャ 6112 リモートプロシージャ制御部 612 アプリケーションサーバ 6121 リモートプロシージャ 6122 リモートプロシージャ制御部 62 クライアント 621 アプリケーション 622 リモートプロシージャ制御部 63 通信経路
11 server 111 management server 1111 startup procedure 11111 binding information receiving unit 1112 remote procedure control unit 112 application server 1121 binding information transmission unit 1122 remote procedure 1123 remote procedure control unit 113 application server startup information management unit 114 application server information unit 12 client 121 application 122 remote procedure control unit 13 communication path 21 server 211 management server 2111 start procedure 21111 binding information receiving unit 21112 CPU monitoring unit 2112 remote procedure control unit 212 application server 2121 binding information transmitting unit 2122 remote procedure 2123 Remote procedure control unit 213 Application server start information management unit 214 Application server information unit 22 Client 221 Application 222 Remote procedure control unit 23 Communication path 31 Server 311 Management server 3111 Startup procedure 31111 Binding information receiving unit 3112 Remote procedure author 312 Application server 3121 Binding information transmission unit 3122 Remote procedure 31021 CPU monitoring unit 3123 Remote procedure control unit 313 Application server startup information management unit 314 Application server information unit 32 Client 321 Application 322 Remote procedure control unit 33 Communication path 41 Server 411 Management server 41 11 Start Procedure 41111 Binding Information Receiving Unit 4112 Alternative Application Server Starting Procedure 41121 Binding Information Receiving Unit 4113 Remote Procedure Control Unit 412 Application Server 4121 Binding Information Sending Unit 4122 Remote Procedure 4123 Remote Procedure Control Unit 413 Application Server Start Information Management Unit 414 Application Server Information section 415 Alternative application server 4151 Binding information transmission section 4152 Remote procedure 4153 Remote procedure control section 42 Client 421 Application 422 Remote procedure control section 43 Communication path 51 Server 511 Management server 5111 History information acquisition procedure Key 5112 remote procedure control unit 512 application server 5121 remote procedure 5121 history information writing unit 5122 remote procedure control unit 513 history information unit 52 client 521 application 522 remote procedure control unit 53 communication path 61 server 611 application server 6111 remote procedure 6112 remote procedure control Unit 612 application server 6121 remote procedure 6122 remote procedure control unit 62 client 621 application 622 remote procedure control unit 63 communication path

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 処理要求を行なうクライアントと処理要
求を受けるサーバとが通信経路を介して接続されるクラ
イアント/サーバシステムにおいて、 前記サーバとして、前記クライアントから実行要求され
るリモートプロシージャを有するアプリケーションサー
バと、前記アプリケーションサーバを起動状況を管理す
る管理サーバと、アプリケーションサーバ起動時のパラ
メータを管理するアプリケーションサーバ起動情報管理
部と、起動したアプリケーションサーバに関する情報を
記憶するアプリケーションサーバ情報部とを設け、 前記管理サーバ内に、前記クライアントからリモートプ
ロシージャの実行要求を受け、リモートプロシージャの
結果を前記クライアントへ返す第1のリモートプロシー
ジャ制御部と、前記アプリケーションサーバを起動し、
そのアプリケーションサーバのバインディング情報を受
信するためのバインディング情報受信部を有する起動プ
ロジージャとを設け、 前記アプリケーションサーバ内に、前記管理サーバへア
プリケーションサーバのバインディング情報を送信する
バインディング情報送信部と、クライアントから実行可
能なリモートプロシージャと、前記クライアントからリ
モートプロシージャの実行要求を受け、リモートプロシ
ージャの結果を前記クライアントへ返す第2のリモート
プロシージャ制御部とを設けたクライアント/サーバシ
ステム。
1. A client / server system in which a client performing a processing request and a server receiving the processing request are connected via a communication path, wherein the server includes an application server having a remote procedure requested to be executed by the client. A management server that manages the start status of the application server, an application server start information management unit that manages parameters when the application server is started, and an application server information unit that stores information about the started application server. A first remote procedure control unit for receiving a remote procedure execution request from the client and returning a result of the remote procedure to the client in the server; Start the server,
An activation procedure having a binding information receiving unit for receiving the binding information of the application server; a binding information transmitting unit for transmitting the binding information of the application server to the management server in the application server; A client / server system comprising: a possible remote procedure; and a second remote procedure control unit that receives a remote procedure execution request from the client and returns a result of the remote procedure to the client.
【請求項2】 管理サーバの起動プロシージャ内にサー
バのCPUの負荷を監視するCPU監視部を更に設けた
請求項1記載のクライアント/サーバシステム。
2. The client / server system according to claim 1, further comprising a CPU monitoring unit that monitors a load on a CPU of the server in a startup procedure of the management server.
【請求項3】 アプリケーションサーバのリモートプロ
シージャ内にサーバのCPUの負荷を監視するCPU監
視部を更に設けた請求項1記載または請求項2記載のク
ライアント/サーバシステム。
3. The client / server system according to claim 1, further comprising a CPU monitoring unit that monitors a load on a CPU of the server in a remote procedure of the application server.
【請求項4】 サーバの管理サーバ内に、アプリケーシ
ョンサーバの障害通知を受け付ける障害受付リモートプ
ロシージャを更に設け、 クライアントより指定されたアプリケーションサーバに
障害が発生し、前記クライアントと前記アプリケーショ
ンサーバとの間で通信できなくなってしまった場合、前
記障害受付リモートプロシージャが、前記クライアント
により新たに指定された代替用のアプリケーションサー
バを起動することを特徴とする請求項1乃至3のいずれ
かに記載のクライアント/サーバシステム。
4. A failure reception remote procedure for receiving a failure notification of an application server in a management server of the server, wherein a failure occurs in an application server designated by a client, and a failure occurs between the client and the application server. The client / server according to any one of claims 1 to 3, wherein, in a case where communication becomes impossible, the failure reception remote procedure starts a substitute application server newly designated by the client. system.
【請求項5】 サーバにアプリケーションサーバのリモ
ートプロシージャの結果を記憶する記憶装置と、管理サ
ーバにリモートプロシージャとして前記記憶装置からア
プリケーションサーバによるリモートプロシージャの結
果を取り出す情報取得リモートプロシージャと、アプリ
ケーションサーバのリモートプロシージャ内にリモート
プロシージャの結果をヒストリ情報へ書き込むヒストリ
情報書き込み部とを設け、 クライアントに障害が発生し、前記アプリケーションサ
ーバからリモートプロシージャの結果を得られなかった
時、クライアントが前記管理サーバの有するヒストリ情
報取得プロシージャを実行要求することにより、クライ
アントの障害前に要求したリモートプロシージャの結果
を前記記憶装置から取得することを特徴とする請求項1
乃至4のいずれかに記載のクライアント/サーバシステ
ム。
5. A storage device for storing a result of a remote procedure of an application server in a server; an information acquisition remote procedure for retrieving a result of the remote procedure by the application server from the storage device as a remote procedure in a management server; A history information writing unit for writing the result of the remote procedure to the history information is provided in the procedure, and when a failure occurs in the client and the result of the remote procedure cannot be obtained from the application server, the history stored in the management server is stored in the client. Requesting execution of an information acquisition procedure to acquire, from the storage device, a result of the remote procedure requested before a failure of the client. Motomeko 1
5. The client / server system according to any one of claims 1 to 4.
JP8300010A 1996-11-12 1996-11-12 Client / server system Withdrawn JPH10232848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8300010A JPH10232848A (en) 1996-11-12 1996-11-12 Client / server system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8300010A JPH10232848A (en) 1996-11-12 1996-11-12 Client / server system

Publications (1)

Publication Number Publication Date
JPH10232848A true JPH10232848A (en) 1998-09-02

Family

ID=17879640

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8300010A Withdrawn JPH10232848A (en) 1996-11-12 1996-11-12 Client / server system

Country Status (1)

Country Link
JP (1) JPH10232848A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002525896A (en) * 1998-09-15 2002-08-13 インテル コーポレイション How to access the video stream
RU2477661C2 (en) * 2008-10-30 2013-03-20 Сименс Акциенгезелльшафт Method of adjusting thickness of cogged ingot fed through multi-stand mill, feed-forward and/or closed-loop control device, and rolling mill stand

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002525896A (en) * 1998-09-15 2002-08-13 インテル コーポレイション How to access the video stream
US7308699B1 (en) 1998-09-15 2007-12-11 Intel Corporation Maintaining access to a video stack after an application crash
RU2477661C2 (en) * 2008-10-30 2013-03-20 Сименс Акциенгезелльшафт Method of adjusting thickness of cogged ingot fed through multi-stand mill, feed-forward and/or closed-loop control device, and rolling mill stand
US9314828B2 (en) 2008-10-30 2016-04-19 Siemens Aktiengesellschaft Method for adjusting a discharge thickness of rolling stock that passes through a multi-stand mill train, control and/or regulation device and rolling mill

Similar Documents

Publication Publication Date Title
US6510478B1 (en) Method and apparatus for coordination of a shared object in a distributed system
US6216151B1 (en) Saving connection time by obtaining result of request at later reconnection with server supplied associated key
US6470342B1 (en) Process of maintaining a distributed map of transaction identifiers and using hashing to access these maps
US8327375B2 (en) System and method for supporting resource enlistment synchronization
JP5516398B2 (en) Multiprocessor system and method for sharing device between OS of multiprocessor system
US6411981B1 (en) Method and apparatus for conducting a transaction between homogeneous and/or heterogeneous transaction processing systems using asynchronous pull of a transaction transfer
JPH1021083A (en) Data processing method in networked computer system
US7089565B2 (en) Software architecture for providing a connection handle association
US20240036909A1 (en) Method, system, and device for modifying internal configuration of virtual machine
JPH10232848A (en) Client / server system
JP3730545B2 (en) Service control application execution method and system
Avolio et al. The process manager in the ATLAS DAQ system
JP3950752B2 (en) apparatus
JPH09251414A (en) Network communication system and method
JP3220238B2 (en) Remote procedure simple execution method
JP2004054562A (en) Method of controlling input and output for network file system
JPH10177510A (en) Client server system
JPH09330240A (en) Exclusive resource control system
CN112732530B (en) LVS operation and maintenance control system, method and device
JP3760749B2 (en) Connection management method, computer system, and computer-readable recording medium recording a program for realizing the method
JP2002082847A (en) Computer system, name server and server address response method
JP2879769B2 (en) Server program execution method
JP2513261B2 (en) Terminal attribute determination control method
CN119583471A (en) A communication processing method, device, communication transmission system, equipment and medium
JPH05298223A (en) Information processing system

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050623

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20060424