JP2002149439A - Method for switching server and server device in distributed processing system - Google Patents

Method for switching server and server device in distributed processing system

Info

Publication number
JP2002149439A
JP2002149439A JP2000347554A JP2000347554A JP2002149439A JP 2002149439 A JP2002149439 A JP 2002149439A JP 2000347554 A JP2000347554 A JP 2000347554A JP 2000347554 A JP2000347554 A JP 2000347554A JP 2002149439 A JP2002149439 A JP 2002149439A
Authority
JP
Japan
Prior art keywords
service
server
providing server
service providing
connection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2000347554A
Other languages
Japanese (ja)
Inventor
Shinichi Kiji
慎一 木地
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Solution Innovators Ltd
Original Assignee
NEC Solution Innovators Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Solution Innovators Ltd filed Critical NEC Solution Innovators Ltd
Priority to JP2000347554A priority Critical patent/JP2002149439A/en
Publication of JP2002149439A publication Critical patent/JP2002149439A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To shorten the task stopping period accompanying server switching. SOLUTION: A service requesting server 1 executes a plurality of kinds of task processing. Server providing servers 2-5 are constituted as servers for providing various services necessary for the execution of the task processing in the service requesting server 1, and made redundant to the present servers and the preliminary servers. The server 1 stops the task when any failure is generated in the present server 2, and switches the present server 2 to the preliminary server 3, and performs service connection processing to the server 2 as for only the service whose connection priority order is high among the services which are provided by the server 2, and resumes the task. Then, a process for providing the service is generated on the server 2 by the service connection processing. After resuming the task, the server 1 dynamically executes the service connection of the service whose service connection is not completed when it is necessary to use the service.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、サーバを現用と予
備とに冗長化している分散処理システムにおけるサーバ
切替え技術に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a server switching technique in a distributed processing system in which a server is made redundant for an active server and a standby server.

【0002】[0002]

【従来の技術】分散処理システムの一形態に、利用者端
末等から要求される業務処理を遂行する第1のサーバ
と、この第1のサーバにおける業務処理の遂行に必要な
各種のサービスを第1のサーバに対して提供する第2の
サーバとを含み、更に、第2のサーバを現用と予備とに
冗長化した分散処理システムがある。第2のサーバは、
サービスを第1のサーバに提供するため「サービス提供
サーバ」と呼ばれ、第1のサーバは、第2のサーバに対
してサービスを要求するため「サービス要求サーバ」と
呼ばれる。図11に、この種の分散処理システムの概略
構成を示す。
2. Description of the Related Art One form of a distributed processing system includes a first server for performing business processing requested from a user terminal or the like, and various services required for performing business processing in the first server. There is a distributed processing system including a second server provided for one server, and further having the second server made redundant for a working server and a standby server. The second server is
The service is provided to the first server and is referred to as a "service providing server", and the first server is referred to as a "service request server" to request a service from the second server. FIG. 11 shows a schematic configuration of a distributed processing system of this type.

【0003】図11において、サービス要求サーバ10
1は複数種類の業務を実行する機能を有している。サー
ビス要求サーバ101は、端末100から或る業務の要
求が出されると、その要求を受け付け、要求された業務
に対応する業務プログラムの実行を開始する。そして、
業務プログラムの実行過程において、サービス提供サー
バの提供するサービスが必要になると、サービス提供サ
ーバ102、103のうちアクティブ状態のサービス提
供サーバ102に対して必要なサービスの提供を要求す
る。
In FIG. 11, a service request server 10
1 has a function of executing a plurality of types of tasks. When a request for a certain task is issued from the terminal 100, the service request server 101 receives the request and starts executing a task program corresponding to the requested task. And
When a service provided by the service providing server is required in the course of executing the business program, the service providing server 102 requests the active service providing server 102 of the service providing servers 102 and 103 to provide the required service.

【0004】サービス提供サーバ102は数百以上の種
類のサービスを提供する機能を持っており、サービス要
求があった種類のサービス機能により要求元のサービス
要求サーバ101に対してサービスを提供する。サービ
ス要求サーバ101の業務プログラムは、提供されたサ
ービスを利用して処理を続ける。そして、サービス提供
サーバ102の提供するサービスが再び必要になると、
前述と同様にしてサービス提供サーバ102の提供する
サービスを利用する。
The service providing server 102 has a function of providing hundreds or more types of services, and provides a service to the requesting service request server 101 by using the type of service function that has received the service request. The business program of the service request server 101 continues processing using the provided service. When the service provided by the service providing server 102 becomes necessary again,
The service provided by the service providing server 102 is used in the same manner as described above.

【0005】このようにサービス要求サーバ101にお
ける業務処理は、サービス提供サーバ102の提供する
サービスを利用して進められるため、サービス提供サー
バ102に障害が発生し、その提供するサービスが利用
できなくなると、サービス要求サーバ101の業務処理
自体が遂行できなくなる。そこで、アクティブ状態のサ
ービス提供サーバ102に障害が発生した場合には、従
来、図12に示す手順に従って以下のようにサービス提
供サーバの切替えを行う。
[0005] As described above, the business process in the service request server 101 is performed using the service provided by the service providing server 102. Therefore, if a failure occurs in the service providing server 102 and the service provided becomes unavailable, In this case, the service processing of the service request server 101 cannot be performed. Therefore, when a failure occurs in the service providing server 102 in the active state, the service providing server is conventionally switched according to the procedure shown in FIG. 12 as follows.

【0006】サービス要求サーバ101は、先ず業務を
停止し、端末100からの新たな業務要求の受け付けを
停止する(S101)。次に、障害の発生したサービス
提供サーバ102へ接続されていたサービスを全て切断
する(S102)。次に、アクティブ状態のサービス提
供サーバを、サービス提供サーバ102からサービス提
供サーバ103へ切り替える(S103)。次に、障害
の発生したサービス提供サーバ102で提供されていた
全てのサービスの種類を抽出し、この抽出したサービス
の全てについて、アクティブ状態にしたサービス提供サ
ーバ103へのサービス接続を行う(S104)。具体
的には、個々のサービス毎に、サービス要求サーバ10
1からサービス提供サーバ103に対して当該サービス
機能を起動するコマンドを送出して、サービス提供サー
バ103上に当該サービスの要求があったら直ぐに実行
できる環境を生成する。そして、全サービスのサービス
接続を完了した時点で、サービス要求サーバ101は業
務を再開し、端末100から業務要求の受け付けを再開
する(S105)。
[0006] The service request server 101 first stops the business, and stops accepting a new business request from the terminal 100 (S101). Next, all services connected to the failed service providing server 102 are disconnected (S102). Next, the service providing server in the active state is switched from the service providing server 102 to the service providing server 103 (S103). Next, the types of all services provided by the failed service providing server 102 are extracted, and a service connection is made to all the extracted services to the activated service providing server 103 (S104). . Specifically, for each service, the service request server 10
1 sends a command for activating the service function to the service providing server 103, and generates an environment that can be executed immediately when the service is requested on the service providing server 103. Then, when the service connection of all services is completed, the service request server 101 resumes the business and resumes accepting the business request from the terminal 100 (S105).

【0007】[0007]

【発明が解決しようとする課題】上述した従来のサーバ
切替え方式の課題は、サービス要求サーバ101の業務
停止期間が長くなることである。その理由は、障害の発
生したサービス提供サーバ102が提供していた全サー
ビスについて、サービス提供サーバ103へのサービス
接続を完了してからでないと業務を再開できないためで
ある。サービス接続のために要する時間は1サービス当
たりでは数秒程度であるが、大規模なシステムになる
と、1つのサービス提供サーバが数百以上のサービスを
提供しているため、全サービスのサービス接続が完了す
るまでには長い時間を必要とする。
A problem with the above-described conventional server switching method is that the service suspension period of the service request server 101 becomes longer. The reason is that for all services provided by the service providing server 102 in which the failure has occurred, the business cannot be resumed until the service connection to the service providing server 103 is completed. The time required for service connection is several seconds per service, but in a large-scale system, service connection for all services is completed because one service providing server provides hundreds or more services. It takes a long time to do so.

【0008】他方、サーバの切替えに関する技術ではな
いが、相互スタンバイシステムにおける優先順位切替え
制御の方法が特公平7−120298号公報に記載され
ている。この手法(以下、従来手法と称す)では、各ホ
ストコンピュータが正常状態のときにはそれぞれの有す
る稼働系のホットスタンバイ運転制御ジョブの処理を行
い、他ホストコンピュータが処理続行不可能状態となっ
たときには、処理続行不可能状態となったホストコンピ
ュータの稼働系のホットスタンバイ運転制御ジョブと同
一グループである自ホストコンピュータの待機系のホッ
トスタンバイ運転制御ジョブのうち最も優先順位の高い
ホットスタンバイ運転制御ジョブから順に、それぞれ同
一グループの稼働系のホットスタンバイ運転制御ジョブ
の処理を引き継ぐことにより、情報処理系利用者が優先
的に行いたい業務のホスト切替え時間を実質的に短縮し
ている。
[0008] On the other hand, although it is not a technique relating to server switching, a method for controlling priority switching in a mutual standby system is described in Japanese Patent Publication No. 7-120298. In this method (hereinafter, referred to as a conventional method), when each host computer is in a normal state, processing of a hot standby operation control job of its own operating system is performed, and when another host computer is in a state where processing cannot be continued, From the hot standby operation control job of the standby system of the own host computer which is in the same group as the hot standby operation control job of the active system of the host computer which has become unable to continue processing, in order from the hot standby operation control job with the highest priority By taking over the processing of the hot standby operation control job of the active system in the same group, the host switching time of the business which the information processing system user prefers to perform is shortened substantially.

【0009】しかし、この従来手法は相互スタンバイシ
ステムには有効であるが、本発明が前提とする図11に
示したような分散処理システムには馴染まない。その理
由は、相互スタンバイシステムでは、処理の引き継ぎに
よって直ちに当該引き継ぎの完了した業務の再開が可能
になるが、図11に示した分散処理システムではサービ
ス接続を優先順位の高いサービスから順に行ったとして
も、それだけでは業務を早期に再開できることにはなら
ないからである。
Although this conventional method is effective for a mutual standby system, it is not suitable for a distributed processing system as shown in FIG. The reason for this is that, in the mutual standby system, it is possible to immediately resume the task for which the takeover has been completed by taking over the process. However, in the distributed processing system shown in FIG. However, this does not mean that business can be resumed early.

【0010】本発明の目的は、サービス提供サーバに障
害が発生した場合におけるサービス要求サーバでの業務
停止期間をできるだけ短縮し得るようにすることにあ
る。
[0010] An object of the present invention is to make it possible to minimize the business suspension period in the service request server when a failure occurs in the service providing server.

【0011】[0011]

【課題を解決するための手段】本発明の第1の分散処理
システムにおけるサーバ切替え方法は、複数種類の業務
処理を遂行するサービス要求サーバと、このサービス要
求サーバにおける業務処理の遂行に必要な各種のサービ
スを提供するサービス提供サーバとを含み、且つ、サー
ビス提供サーバが現用と予備とに冗長化されている分散
処理システムにおけるサーバ切替え方法において、
(a)現用のサービス提供サーバに障害が発生したとき
にサービス要求サーバの業務を停止するステップと、
(b)障害の発生したサービス提供サーバで提供されて
いたサービスの全てをサービス接続未完状態として管理
するステップと、(c)予備のサービス提供サーバを現
用に切り替えるステップと、(d)サービス要求サーバ
の業務を再開するステップと、(e)サービス要求サー
バでサービス提供サーバの提供するサービスを利用する
ことが必要になったとき、当該サービスがサービス接続
未完状態か否かを判別し、サービス接続未完状態のとき
は現用に切り替わったサービス提供サーバに対して当該
サービスのサービス接続を行うことによりサービスの利
用を可能にするステップとを含んでいる。
According to a first aspect of the present invention, there is provided a server switching method in a distributed processing system, comprising: a service request server for performing a plurality of types of business processes; A server switching method in a distributed processing system that includes a service providing server that provides the service of
(A) stopping the operation of the service request server when a failure occurs in the active service providing server;
(B) managing all of the services provided by the failed service providing server as a service connection incomplete state; (c) switching a spare service providing server to active; and (d) a service request server. And (e) when it becomes necessary for the service request server to use the service provided by the service providing server, it is determined whether the service is in a service connection incomplete state, and the service connection incomplete state is determined. And making the service available to the service providing server that has been switched to the active state when the state is in the state.

【0012】また本発明の第2の分散処理システムにお
けるサーバ切替え方法は、複数種類の業務処理を遂行す
るサービス要求サーバと、このサービス要求サーバにお
ける業務処理の遂行に必要な各種のサービスを提供する
サービス提供サーバとを含み、且つ、サービス提供サー
バが現用と予備とに冗長化されている分散処理システム
におけるサーバ切替え方法において、(a)現用のサー
ビス提供サーバに障害が発生したときにサービス要求サ
ーバの業務を停止するステップと、(b)障害の発生し
たサービス提供サーバで提供されていたサービスの全て
をサービス接続未完状態として管理するステップと、
(c)予備のサービス提供サーバを現用に切り替えるス
テップと、(d)サービス要求サーバの業務を再開する
ステップと、(e)障害の発生したサービス提供サーバ
で提供されていたサービスについて、1サービスずつ順
番に、サービス要求サーバから現用に切り替わったサー
ビス提供サーバに対してサービス接続を行うステップ
と、(f)サービス要求サーバでサービス提供サーバの
提供するサービスを利用することが必要になったとき、
当該サービスがサービス接続未完状態か否かを判別し、
サービス接続未完状態のときは、前記ステップeの処理
を中断して、現用に切り替わったサービス提供サーバに
対して当該サービスのサービス接続を優先的に行うこと
によりサービスの利用を可能にするステップとを含んで
いる。
A server switching method in a second distributed processing system according to the present invention provides a service request server for performing a plurality of types of business processes and various services required for performing the business processes in the service request server. A server switching method in a distributed processing system that includes a service providing server, and wherein the service providing server is redundantly provided for an active service and a backup, wherein: (a) a service request server when a failure occurs in the active service providing server; (B) managing all services provided by the failed service providing server as a service connection incomplete state;
(C) the step of switching the spare service providing server to the active service; (d) the step of restarting the service of the service request server; and (e) one service for each service provided by the failed service providing server. In order, a service connection is made from the service request server to the service providing server switched to the active service; and (f) when the service request server needs to use a service provided by the service providing server,
Determine whether the service is in a service connection incomplete state,
If the service connection is not completed, the step of interrupting the processing of the step e and enabling the service to be used by giving priority to the service connection of the service to the service providing server switched to the current service is performed. Contains.

【0013】また本発明の第3の分散処理システムにお
けるサーバ切替え方法は、複数種類の業務処理を遂行す
るサービス要求サーバと、このサービス要求サーバにお
ける業務処理の遂行に必要な各種のサービスを提供する
サービス提供サーバとを含み、且つ、サービス提供サー
バが現用と予備とに冗長化されている分散処理システム
におけるサーバ切替え方法において、(a)現用のサー
ビス提供サーバに障害が発生したときにサービス要求サ
ーバの業務を停止するステップと、(b)障害の発生し
たサービス提供サーバで提供されていたサービスの全て
をサービス接続未完状態として管理するステップと、
(c)予備のサービス提供サーバを現用に切り替えるス
テップと、(d)障害の発生したサービス提供サーバで
提供されていたサービスの一部のサービスについて、1
サービスずつ順番に、サービス要求サーバから現用に切
り替わったサービス提供サーバに対してサービス接続を
行うステップと、(e)サービス要求サーバの業務を再
開するステップと、(f)障害の発生したサービス提供
サーバで提供されていたサービスのうち、未だサービス
接続未完状態となっているサービスについて、1サービ
スずつ順番に、サービス要求サーバから現用に切り替わ
ったサービス提供サーバに対してサービス接続を行うス
テップと、(g)サービス要求サーバでサービス提供サ
ーバの提供するサービスを利用することが必要になった
とき、当該サービスがサービス接続未完状態か否かを判
別し、サービス接続未完状態のときは、前記ステップf
の処理を中断して、現用に切り替わったサービス提供サ
ーバに対して当該サービスのサービス接続を優先的に行
うことによりサービスの利用を可能にするステップとを
含んでいる。
A server switching method in a third distributed processing system according to the present invention provides a service request server for performing a plurality of types of business processes and various services required for performing the business processes in the service request server. A server switching method in a distributed processing system that includes a service providing server, and wherein the service providing server is redundantly provided for an active service and a backup, wherein: (a) a service request server when a failure occurs in the active service providing server; (B) managing all services provided by the failed service providing server as a service connection incomplete state;
(C) the step of switching the spare service providing server to the active service; and (d) one of the services provided by the failed service providing server,
A step of making a service connection from the service request server to the service providing server switched to the service in order of service, (e) a step of restarting the service request server, and (f) a failed service providing server. (G) connecting services from the service request server to the service providing server switched to the current service one by one for the services which are still in the service connection incomplete state among the services provided in (g). When it is necessary for the service request server to use the service provided by the service providing server, it is determined whether or not the service is in a service connection incomplete state.
And suspending the processing of step (b), and making service connection of the service preferentially to the service providing server switched to the current service to enable use of the service.

【0014】また本発明の第4の分散処理システムにお
けるサーバ切替え方法は、第3の分散処理システムにお
けるサーバ切替え方法において、サービス提供サーバで
提供される個々のサービスに利用頻度及びサービス特性
の少なくとも一方を考慮して優先度を付与しておき、前
記ステップdにおいてサービス接続を行うサービスは最
も高い優先度を持つサービスだけに限定する。
The server switching method in the fourth distributed processing system according to the present invention is the server switching method in the third distributed processing system, wherein each service provided by the service providing server has at least one of a use frequency and a service characteristic. In consideration of the above, the priority is given, and the service for performing the service connection in the step d is limited to only the service having the highest priority.

【0015】また本発明の第5の分散処理システムにお
けるサーバ切替え方法は、第4の分散処理システムにお
けるサーバ切替え方法において、前記ステップfにおけ
るサービス接続は、より優先度の高いサービスから順に
行う。
According to a fifth server switching method in the distributed processing system of the present invention, in the fourth server switching method in the distributed processing system, the service connection in the step f is performed in order from a service having a higher priority.

【0016】また本発明のサーバ装置は、業務処理の遂
行に必要な各種のサービスを提供する現用と予備とに冗
長化されたサービス提供サーバに接続され、現用のサー
ビス提供サーバの障害時に予備のサービス提供サーバに
切り替えて業務を再開するサーバ装置において、業務処
理中に、必要となるサービスのサービス接続が完了して
いないと判断された時点で当該サービスのサービス接続
を動的に実施する手段を備えている。より具体的には以
下のような構成を有する。
Further, the server apparatus of the present invention is connected to a redundant service providing server for providing a variety of services necessary for performing business processes and a backup service providing a backup service in the event of a failure of the current service providing server. In a server device that switches to a service providing server and resumes a business, a means for dynamically implementing a service connection of a required service when it is determined that a service connection of a required service is not completed during business processing Have. More specifically, it has the following configuration.

【0017】本発明の第1のサーバ装置は、複数種類の
業務処理を遂行するサーバ装置であって、業務処理の遂
行に必要な各種のサービスを提供する現用と予備とに冗
長化されたサービス提供サーバに接続されたサーバ装置
において、サービス提供サーバの障害を検知するサーバ
障害検知手段と、該サーバ障害検知手段によって現用の
サービス提供サーバの障害が検出されたときに予備のサ
ービス提供サーバへの切替えを行うサーバ切替手段とを
備え、該サーバ切替手段は、現用のサービス提供サーバ
の障害発生時に業務処理を停止させる手段、障害の発生
したサービス提供サーバで提供されていたサービスの全
てをサービス接続未完状態として管理する手段、予備の
サービス提供サーバを現用に切り替える手段、サービス
要求サーバの業務を再開する手段、及び、再開した業務
においてサービス提供サーバの提供するサービスを利用
することが必要になったとき、当該サービスがサービス
接続未完状態か否かを判別し、サービス接続未完状態の
ときは現用に切り替わったサービス提供サーバに対して
当該サービスのサービス接続を優先的に行うことにより
サービスの利用を可能にする手段を含んでいる。
A first server device according to the present invention is a server device for performing a plurality of types of business processes, and is provided with redundant services for working and backup for providing various services required for performing the business processes. In a server device connected to the providing server, a server failure detecting means for detecting a failure of the service providing server, and a server service server for connecting to the spare service providing server when the failure of the active service providing server is detected by the server failure detecting means. Server switching means for switching, wherein the server switching means stops the business processing when a failure occurs in the active service providing server, and connects all the services provided by the failed service providing server to the service. Means for managing the service as incomplete, means for switching the spare service providing server to active, and service request server operations Means for resuming, and when it becomes necessary to use the service provided by the service providing server in the resumed business, determine whether the service is in a service connection incomplete state, and when the service connection incomplete state is in use, And means for enabling the use of the service by giving priority to the service connection of the service to the service providing server switched to the service providing server.

【0018】本発明の第2のサーバ装置は、複数種類の
業務処理を遂行するサーバ装置であって、業務処理の遂
行に必要な各種のサービスを提供する現用と予備とに冗
長化されたサービス提供サーバに接続されたサーバ装置
において、サービス提供サーバの障害を検知するサーバ
障害検知手段と、該サーバ障害検知手段によって現用の
サービス提供サーバの障害が検出されたときに予備のサ
ービス提供サーバへの切替えを行うサーバ切替手段とを
備え、該サーバ切替手段は、現用のサービス提供サーバ
の障害発生時に業務処理を停止させる手段、障害の発生
したサービス提供サーバで提供されていたサービスの全
てをサービス接続未完状態として管理する手段、予備の
サービス提供サーバを現用に切り替える手段、サービス
要求サーバの業務を再開する手段、障害の発生したサー
ビス提供サーバで提供されていたサービスについて、1
サービスずつ順番に、サービス要求サーバから現用に切
り替わったサービス提供サーバに対してサービス接続を
行う順次接続手段、及び、再開した業務においてサービ
ス提供サーバの提供するサービスを利用することが必要
になったとき、当該サービスがサービス接続未完状態か
否かを判別し、サービス接続未完状態のときは、前記順
次接続手段の処理を中断して、現用に切り替わったサー
ビス提供サーバに対して当該サービスのサービス接続を
優先的に行うことによりサービスの利用を可能にする手
段を含んでいる。
A second server device according to the present invention is a server device for performing a plurality of types of business processes, and is provided with redundant services for working and backup for providing various services necessary for performing the business processes. In a server device connected to the providing server, a server failure detecting means for detecting a failure of the service providing server, and a server service server for connecting to the spare service providing server when the failure of the active service providing server is detected by the server failure detecting means. Server switching means for switching, wherein the server switching means stops the business processing when a failure occurs in the active service providing server, and connects all the services provided by the failed service providing server to the service. Means for managing the service as incomplete, means for switching the spare service providing server to active, and service request server operations Resume means, for services provided by the service providing server the failed, 1
When it becomes necessary to use the service provided by the service providing server in the service which is sequentially switched from the service request server to the service providing server switched to the service in order of service, and the service provided by the service providing server in the resumed business. It is determined whether the service is in a service connection incomplete state. If the service connection is in an incomplete state, the processing of the connection means is interrupted in sequence, and the service connection of the service is switched to the service providing server switched to the current service. It includes means to enable use of the service by giving priority.

【0019】本発明の第3のサーバ装置は、複数種類の
業務処理を遂行するサーバ装置であって、業務処理の遂
行に必要な各種のサービスを提供する現用と予備とに冗
長化されたサービス提供サーバに接続されたサーバ装置
において、サービス提供サーバの障害を検知するサーバ
障害検知手段と、該サーバ障害検知手段によって現用の
サービス提供サーバの障害が検出されたときに予備のサ
ービス提供サーバへの切替えを行うサーバ切替手段とを
備え、該サーバ切替手段は、現用のサービス提供サーバ
の障害発生時に業務処理を停止させる手段、障害の発生
したサービス提供サーバで提供されていたサービスの全
てをサービス接続未完状態として管理する手段、予備の
サービス提供サーバを現用に切り替える手段、障害の発
生したサービス提供サーバで提供されていたサービスの
一部のサービスについて、1サービスずつ順番に、サー
ビス要求サーバから現用に切り替わったサービス提供サ
ーバに対してサービス接続を行う手段、サービス要求サ
ーバの業務を再開する手段、障害の発生したサービス提
供サーバで提供されていたサービスのうち、未だサービ
ス接続未完状態となっているサービスについて、1サー
ビスずつ順番に、サービス要求サーバから現用に切り替
わったサービス提供サーバに対してサービス接続を行う
順次接続手段、及び、再開した業務においてサービス提
供サーバの提供するサービスを利用することが必要にな
ったとき、当該サービスがサービス接続未完状態か否か
を判別し、サービス接続未完状態のときは、前記順次接
続手段の処理を中断して、現用に切り替わったサービス
提供サーバに対して当該サービスのサービス接続を優先
的に行うことによりサービスの利用を可能にする手段を
含んでいる。
A third server device according to the present invention is a server device for performing a plurality of types of business processes, and is provided with redundant services for working and backup for providing various services required for performing the business processes. In a server device connected to the providing server, a server failure detecting means for detecting a failure of the service providing server, and a server service server for connecting to the spare service providing server when the failure of the active service providing server is detected by the server failure detecting means. Server switching means for switching, wherein the server switching means stops the business processing when a failure occurs in the active service providing server, and connects all the services provided by the failed service providing server to the service. Means for managing the service as incomplete, means for switching the spare service providing server to active, Means for making a service connection from the service request server to the service providing server switched to the current service in order for each of the services provided by the server, one unit at a time, a means for resuming the work of the service request server; Among the services provided by the failed service providing server, the services that are still in the service connection incomplete state are connected one by one in order from the service request server to the service providing server switched to the current service. When it is necessary to use the service provided by the service providing server in the resumed business, determine whether the service is in a service connection incomplete state, and when the service connection incomplete state Interrupts the processing of the sequential connection means and switches to It includes means to enable the use of services by performing a service connection of the service a higher priority to the replaced service providing server.

【0020】本発明の第4のサーバ装置は、第3のサー
バ装置において、サービス提供サーバで提供される個々
のサービスに利用頻度及びサービス特性の少なくとも一
方を考慮して優先度を付与しておき、業務再開前にサー
ビス接続を行うサービスは最も高い優先度を持つサービ
スだけに限定する。
A fourth server device according to the present invention, in the third server device, assigns a priority to each service provided by the service providing server in consideration of at least one of a use frequency and a service characteristic. In addition, the service that performs the service connection before the business restart is limited to only the service having the highest priority.

【0021】本発明の第5のサーバ装置は、第4のサー
バ装置において、業務再開後におけるサービス接続は、
より優先度の高いサービスから順に行う。
According to a fifth server device of the present invention, in the fourth server device, the service connection after the business is resumed is:
The service is performed in the order of higher priority.

【0022】本発明の第1の分散処理システムにおける
サーバ切替え方法およびサーバ装置にあっては、現用の
サービス提供サーバに障害が発生したときにサービス要
求サーバの業務を停止して、障害の発生したサービス提
供サーバで提供されていたサービスの全てをサービス接
続未完状態として管理し、予備のサービス提供サーバを
現用に切り替えてサービス要求サーバの業務を再開す
る。そして、業務再開後、サービス要求サーバでサービ
ス提供サーバの提供するサービスを利用することが必要
になったとき、当該サービスがサービス接続未完状態か
否かを判別し、サービス接続未完状態のときは現用に切
り替わったサービス提供サーバに対して当該サービスの
サービス接続を行うことによりサービスの利用を可能に
する。
In the server switching method and server device in the first distributed processing system of the present invention, when a failure occurs in the active service providing server, the service request server is stopped, and the failure occurs. All services provided by the service providing server are managed as a service connection incomplete state, the spare service providing server is switched to the active service, and the service of the service request server is resumed. Then, after the business is resumed, when it becomes necessary for the service request server to use the service provided by the service providing server, it is determined whether or not the service is in a service connection incomplete state. The service can be used by making a service connection of the service to the service providing server switched to.

【0023】本発明の第2の分散処理システムにおける
サーバ切替え方法およびサーバ装置にあっては、現用の
サービス提供サーバに障害が発生したときにサービス要
求サーバの業務を停止して、障害の発生したサービス提
供サーバで提供されていたサービスの全てをサービス接
続未完状態として管理し、予備のサービス提供サーバを
現用に切り替えてサービス要求サーバの業務を再開す
る。そして、業務再開後、障害の発生したサービス提供
サーバで提供されていたサービスについて、1サービス
ずつ順番に、サービス要求サーバから現用に切り替わっ
たサービス提供サーバに対してサービス接続を行うと共
に、サービス要求サーバでサービス提供サーバの提供す
るサービスを利用することが必要になったとき、当該サ
ービスがサービス接続未完状態か否かを判別し、サービ
ス接続未完状態のときは現用に切り替わったサービス提
供サーバに対して当該サービスのサービス接続を優先的
に行うことによりサービスの利用を可能にする。
In the server switching method and the server device in the second distributed processing system according to the present invention, when a failure occurs in the active service providing server, the service of the service request server is stopped, and the failure occurs. All services provided by the service providing server are managed as a service connection incomplete state, the spare service providing server is switched to the active service, and the service of the service request server is resumed. Then, after the business is resumed, for the services provided by the failed service providing server, a service connection is made from the service request server to the service providing server switched to the active one at a time, one by one. When it becomes necessary to use the service provided by the service providing server, it is determined whether or not the service is in an incomplete service connection state. The service can be used by giving priority to the service connection of the service.

【0024】本発明の第3の分散処理システムにおける
サーバ切替え方法およびサーバ装置にあっては、現用の
サービス提供サーバに障害が発生したときにサービス要
求サーバの業務を停止して、障害の発生したサービス提
供サーバで提供されていたサービスの全てをサービス接
続未完状態として管理し、予備のサービス提供サーバを
現用に切り替え、障害の発生したサービス提供サーバで
提供されていたサービスの一部のサービスについて、1
サービスずつ順番に、サービス要求サーバから現用に切
り替わったサービス提供サーバに対してサービス接続を
行って、サービス要求サーバの業務を再開する。そし
て、業務再開後、障害の発生したサービス提供サーバで
提供されていたサービスのうち、未だサービス接続未完
状態となっているサービスについて、1サービスずつ順
番に、サービス要求サーバから現用に切り替わったサー
ビス提供サーバに対してサービス接続を行うと共に、サ
ービス要求サーバでサービス提供サーバの提供するサー
ビスを利用することが必要になったとき、当該サービス
がサービス接続未完状態か否かを判別し、サービス接続
未完状態のときは現用に切り替わったサービス提供サー
バに対して当該サービスのサービス接続を優先的に行う
ことによりサービスの利用を可能にする。
In the server switching method and the server device in the third distributed processing system of the present invention, when a failure occurs in the active service providing server, the service request server is stopped, and the failure occurs. All services provided by the service providing server are managed as a service connection incomplete state, the spare service providing server is switched to the active service, and some of the services provided by the failed service providing server are managed. 1
A service connection is made from the service request server to the service providing server switched to the active service in order of each service, and the service request server resumes its business. Then, after the business is resumed, of the services provided by the service providing server in which the failure has occurred, services that are still in a service connection incomplete state are sequentially provided one by one from the service request server to the service providing service. When a service connection is made to the server and the service request server needs to use a service provided by the service providing server, it is determined whether the service is in a service connection incomplete state, and the service connection incomplete state is determined. In the case of, the service can be used by giving priority to the service providing server switched to the service providing server.

【0025】本発明の第4の分散処理システムにおける
サーバ切替え方法およびサーバ装置にあっては、サービ
ス提供サーバで提供される個々のサービスに利用頻度及
びサービス特性の少なくとも一方を考慮して優先度を付
与しておき、業務再開前にサービス接続を行うサービス
は最も高い優先度を持つサービスだけに限定する。
In the server switching method and the server device in the fourth distributed processing system according to the present invention, the priority is given to each service provided by the service providing server in consideration of at least one of a use frequency and a service characteristic. The service to be connected before the business resumption is limited to only the service having the highest priority.

【0026】本発明の第5の分散処理システムにおける
サーバ切替え方法およびサーバ装置にあっては、更に、
業務再開後におけるサービス接続は、より優先度の高い
サービスから順に行う。
The server switching method and server device in the fifth distributed processing system according to the present invention further include:
Service connection after business resumption is performed in order from the service with higher priority.

【0027】[0027]

【発明の実施の形態】次に本発明の実施の形態の例につ
いて図面を参照して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, embodiments of the present invention will be described in detail with reference to the drawings.

【0028】図1を参照すると、本発明を適用した分散
処理システムの一例は、サービス要求サーバ1と、複数
のサービス提供サーバ2〜5と、複数のクライアントの
端末6と、各端末6とサービス要求サーバ1とを相互に
接続するネットワーク7と、サービス要求サーバ1と各
サービス提供サーバ2〜5とを相互に接続するネットワ
ーク8とで構成されている。ネットワーク7、8はLA
N、WAN、電話回線、インターネット等の任意のネッ
トワークである。この例では、サービス要求サーバ1を
異なるネットワーク7、8を介して端末6及びサービス
提供サーバ2〜5に接続してあるが、1つ或いは3つ以
上のネットワークによってサービス要求サーバ1を端末
6及びサービス提供サーバ2〜5に接続するようにして
も良い。
Referring to FIG. 1, an example of a distributed processing system to which the present invention is applied includes a service request server 1, a plurality of service providing servers 2 to 5, a plurality of client terminals 6, a terminal 6 A network 7 connects the request server 1 to each other, and a network 8 connects the service request server 1 and each of the service providing servers 2 to 5 to each other. Networks 7 and 8 are LA
N, WAN, telephone line, the Internet or any other network. In this example, the service request server 1 is connected to the terminal 6 and the service providing servers 2 to 5 through different networks 7 and 8, but the service request server 1 is connected to the terminal 6 and the service providing server 1 by three or more networks. You may make it connect to the service provision servers 2-5.

【0029】サービス提供サーバ2〜5は、サービス要
求サーバ1に対して各種のサービスを提供するサーバで
あり、サービス提供サーバ3はサービス提供サーバ2の
スタンバイサーバ、サービス提供サーバ5はサービス提
供サーバ4のスタンバイサーバである。つまり、サービ
ス提供サーバ3はサービス提供サーバ2の障害時にその
代わりに使用されるサーバであり、サービス提供サーバ
5はサービス提供サーバ4の障害時にその代わりに使用
されるサーバである。提供するサービスには、住所を引
数として受け取り、その郵便番号や住所コードを提供す
るサービス、被演算数と演算種別を引数として受け取
り、演算結果を提供するサービスなど各種のサービスが
ある。
The service providing servers 2 to 5 provide various services to the service request server 1. The service providing server 3 is a standby server of the service providing server 2, and the service providing server 5 is a service providing server 4. Is a standby server. That is, the service providing server 3 is a server that is used instead when the service providing server 2 fails, and the service providing server 5 is a server that is used instead when the service providing server 4 fails. The services to be provided include various services such as a service that receives an address as an argument and provides a postal code and an address code thereof, and a service that receives an operand and an operation type as arguments and provides a calculation result.

【0030】各サービス提供サーバ2〜5の内部構成は
ほぼ同じであり、図1にはサービス提供サーバ2のブロ
ック内にその概略構成例を示してある。記憶部21は磁
気ディスク等の外部記憶装置であり、サービス提供プロ
グラムが記憶されている。通信部22は、ネットワーク
8経由でサービス要求サーバ1と通信するための手段で
ある。サービス接続処理部23は、サービス要求サーバ
1からサービス名を指定したサービス接続要求があった
とき、そのサービス名を持つサービス提供プログラムを
記憶部21から読み出し、そのサービス提供プログラム
のプロセスを生成する手段である。サービス実行部24
−1〜24−nは、サービス提供プログラムのプロセス
を実行する部分であり、サービス接続処理を終えたサー
ビス毎に動的に生成される。このサービス実行部24−
1〜24−nが実際にサービスの提供を行うことにな
る。
The internal configuration of each of the service providing servers 2 to 5 is almost the same, and FIG. 1 shows a schematic configuration example in a block of the service providing server 2. The storage unit 21 is an external storage device such as a magnetic disk, and stores a service providing program. The communication unit 22 is means for communicating with the service request server 1 via the network 8. When a service connection request specifying a service name is received from the service request server 1, the service connection processing unit 23 reads a service providing program having the service name from the storage unit 21 and generates a process of the service providing program. It is. Service execution unit 24
Numerals -1 to 24-n are parts for executing the process of the service providing program, and are dynamically generated for each service that has completed the service connection processing. This service execution unit 24-
1 to 24-n actually provide the service.

【0031】他方、サービス要求サーバ1は、図1のブ
ロック内に例示するような内部構成を有している。業務
受付部11は、ネットワーク7経由で端末6から業務処
理の要求を受け付けたり、業務処理結果を端末6に返却
する部分である。通信部12は、ネットワーク8経由で
サービス提供サーバ2〜5と通信するための手段であ
る。業務部13−1〜13−mは、サービス要求サーバ
1が端末6のクライアントに対して提供する業務を遂行
する部分であり、各業務の種類毎に存在する。サーバ障
害検知部14は、サービス提供サーバ2〜5の障害を検
知する手段である。障害検知の方法は、例えばネットワ
ーク8経由で一定周期毎にサービス提供サーバ2〜5に
問い掛けのメッセージを送信し、その応答が有るか無い
かで障害を検知する方法など、任意の方法が使用でき
る。サーバ切替部15は、現用のサービス提供サーバ
2、4に障害が発生した場合に、現用のサーバをサービ
ス提供サーバ3、5に切り替える処理を司る部分であ
る。記憶部16は、サービス要求サーバ1で必要となる
各種の情報を保持するメモリである。記憶部16は、各
業務部13−1〜13−m、サーバ切替部15及びサー
バ障害検知部14から参照され、またサーバ切替部15
から更新可能になっている。
On the other hand, the service request server 1 has an internal configuration as exemplified in the block of FIG. The task accepting unit 11 is a part that accepts a task processing request from the terminal 6 via the network 7 and returns a task processing result to the terminal 6. The communication unit 12 is means for communicating with the service providing servers 2 to 5 via the network 8. The business units 13-1 to 13-m are units that perform the business provided by the service request server 1 to the client of the terminal 6, and exist for each type of business. The server failure detection unit 14 is a unit that detects a failure of the service providing servers 2 to 5. As a failure detection method, any method can be used, such as a method of transmitting an inquiry message to the service providing servers 2 to 5 at regular intervals via the network 8 and detecting a failure based on whether or not there is a response. . The server switching unit 15 is a part that performs processing for switching the active server to the service providing servers 3 and 5 when a failure occurs in the active service providing servers 2 and 4. The storage unit 16 is a memory that stores various types of information required by the service request server 1. The storage unit 16 is referred to by each of the business units 13-1 to 13 -m, the server switching unit 15 and the server failure detecting unit 14, and is stored in the server switching unit 15.
It can be updated from.

【0032】図2に、記憶部16に記憶されるサービス
提供サーバ情報テーブルT1の内容例を示す。各サービ
ス提供サーバ2〜5毎のエントリE1〜E4で構成さ
れ、各エントリに、当該サービス提供サーバの物理ノー
ド名、論理ノード名、IPアドレス、アクティブかスタ
ンバイかの状態、提供するサービス名のリストが設定さ
れている。なお、現用のサービス提供サーバ2とその予
備のサービス提供サーバ3とは同じ論理ノード名が付与
される。現用のサービス提供サーバ4とその予備のサー
ビス提供サーバ5も同様に同じ論理ノード名が付与され
ている。
FIG. 2 shows an example of the contents of the service providing server information table T1 stored in the storage unit 16. It is composed of entries E1 to E4 for each of the service providing servers 2 to 5, and each entry has a physical node name, a logical node name, an IP address, an active or standby state of the service providing server, and a list of service names to be provided. Is set. The active service providing server 2 and its spare service providing server 3 are assigned the same logical node name. The active service providing server 4 and its spare service providing server 5 are similarly given the same logical node name.

【0033】記憶部16に記憶されるその他の情報の内
容例を図3に示す。サービス・接続優先度情報テーブル
T2は、サービス提供サーバ2〜5で提供されるサービ
ス毎のエントリE1〜Exで構成され、各エントリに、
当該サービスの接続優先度が設定されている。接続優先
度は、サーバ切替え時にどのサービスからサービス接続
を行うべきかを指定する情報であり、サービスの使用頻
度およびサービス特性の少なくとも一方を考慮して事前
にシステム管理者によって決定される。接続優先度の数
は、優先度1、優先度2のように2種類だけ用意しても
良いし、3種類の優先度を用意することもできる。各サ
ービスにどの優先度を割り当てるか具体的な方法は各種
考えられる。以下に幾つかの例を示す。なお、優先順位
は、優先度1>優先度2>優先度3>…である。
FIG. 3 shows an example of the contents of other information stored in the storage unit 16. The service / connection priority information table T2 includes entries E1 to Ex for each service provided by the service providing servers 2 to 5, and each entry includes:
The connection priority of the service is set. The connection priority is information for designating which service should be connected to a service at the time of server switching, and is determined in advance by a system administrator in consideration of at least one of a service use frequency and a service characteristic. As the number of connection priorities, only two types such as priority 1 and priority 2 may be prepared, or three types of priorities may be prepared. There are various possible methods for assigning a priority to each service. Some examples are shown below. The priority order is priority 1> priority 2> priority 3>.

【0034】(1)例1 サービス要求サーバ1で遂行される全業務或いは一定数
p以上の業務で必ず利用されるサービス(業務共通サー
ビス)には優先度1を付与し、それ以外のサービス(業
務固有サービス)には優先度2を付与する。また、一定
数p未満の業務でしか利用されないサービスを更に、一
定数q(<p)以上の業務で必ず利用されるサービス、
それ以外のサービスのように利用頻度に応じて幾つかに
区分し、優先度2、優先度3のように更に細分化しても
良い。
(1) Example 1 A service (service common to all services) executed by the service request server 1 or a service (business common service) which is always used in a service of a certain number p or more is assigned a priority 1 and other services ( Priority 2 is assigned to the business-specific service). In addition, a service that is used only in a business less than a certain number p, and a service that is always used in a business that is more than a certain number q (<p)
As in other services, the service may be divided into some according to the frequency of use, and may be further subdivided into priority 2 and priority 3.

【0035】(2)例2 サービス要求を出してからサービスが提供されるまでの
時間(サービスの応答時間)の要求が厳しいサービスに
ついては優先度1を付与し、それ以外のサービスには優
先度2を付与する。例1と同様に3以上の優先度に区分
するようにしても良い。
(2) Example 2 Priority 1 is assigned to a service that requires strict time (service response time) from the time a service request is issued until the service is provided, and the other services are assigned a priority. 2 is given. As in the first example, the priority may be divided into three or more priorities.

【0036】(3)例3 サービス要求サーバ1で遂行される全業務或いは一定数
p以上の業務で必ず利用されるサービス及びサービス応
答時間の要求が厳しいサービスについては優先度1を付
与し、それ以外のサービスには優先度2を付与する。例
1と同様に3以上の優先度に区分するようにしても良
い。
(3) Example 3 Priority 1 is assigned to a service which is always used in all services or services of a certain number p or more and services whose service response time is strictly required, which are performed by the service request server 1. Priority 2 is assigned to services other than. As in the first example, the priority may be divided into three or more priorities.

【0037】再び図3を参照すると、サービス・論理ノ
ード情報テーブルT3は、サービス提供サーバ2〜5で
提供されるサービス毎のエントリE1〜Eyで構成さ
れ、各エントリに、当該サービスを提供する論理ノード
名と、サービス接続が完了しているか否かを示すフラグ
F(サービス接続の有無を示すフラグF)とが設定され
ている。
Referring back to FIG. 3, the service / logical node information table T3 includes entries E1 to Ey for each service provided by the service providing servers 2 to 5. Each entry has a logic for providing the service. A node name and a flag F indicating whether the service connection has been completed (a flag F indicating whether there is a service connection) are set.

【0038】論理ノード・リロケータブルIP情報テー
ブルT4は、論理ノード毎のエントリE1、E2で構成
され、各エントリに、当該論理ノードに付与されたリロ
ケータブルIPが設定されている。
The logical node / relocatable IP information table T4 is composed of entries E1 and E2 for each logical node, and a relocatable IP assigned to the logical node is set in each entry.

【0039】リロケータブルIP・IPアドレス情報テ
ーブルT5は、リロケータブルIP毎のエントリE1、
E2で構成され、各エントリに、当該リロケータブルI
Pに対応付けられたサービス提供サーバのIPアドレス
が設定されている。このテーブルT5にIPアドレスが
設定されたサービス提供サーバが、現用のサービス提供
サーバとなる。
The relocatable IP / IP address information table T5 includes an entry E1 for each relocatable IP,
E2, and each entry has the relocatable I
The IP address of the service providing server associated with P is set. The service providing server in which the IP address is set in the table T5 is the active service providing server.

【0040】次に本実施の形態の動作を説明する。先
ず、現用のサービス提供サーバ2、4に障害が発生して
いないときの分散処理システムの動作を説明する。
Next, the operation of this embodiment will be described. First, the operation of the distributed processing system when no failure occurs in the active service providing servers 2 and 4 will be described.

【0041】図4は現用のサービス提供サーバ2、4に
障害が発生していないときのサービス要求サーバ1の記
憶部16の内容例を示しており、ここでは、説明を簡略
化するためにサービス提供サーバ2はサービスA、B、
Cの3種類のサービスを提供し、サービス提供サーバ4
はサービスDを提供するものとしている。サービス・論
理ノード情報テーブルT3には、サービスA〜Cは論理
ノード名SV1の論理ノードが提供し、サービスDは論
理ノード名SV2の論理ノードが提供すること、及びそ
れら全てのサービスA〜Dのサービス接続は完了してい
る旨が設定されている。また、論理ノード・リロケータ
ブルIP情報テーブルT4には、論理ノード名SV1に
対し「10.20.30.1」のリロケータブルIP
が、論理ノード名SV2に対し「10.20.30.
2」のリロケータブルIPがそれぞれ設定されている。
更に、リロケータブルIP・IPアドレス情報テーブル
T5には、リロケータブルIP「10.20.30.
1」に対してサービス提供サーバ2のIPアドレス「1
0.20.30.10」が設定され、リロケータブルI
P「10.20.30.2」に対してサービス提供サー
バ4のIPアドレス「10.20.30.20」が設定
されている。なお、サービス提供サーバ情報テーブルT
1の内容例は理解し易いように各サービス提供サーバ2
〜5のブロック内に図示してある。
FIG. 4 shows an example of the contents of the storage unit 16 of the service request server 1 when no failure has occurred in the active service providing servers 2 and 4. Here, the service is provided to simplify the description. The providing server 2 has services A, B,
The service providing server 4 which provides three types of services C
Provides service D. In the service / logical node information table T3, the services A to C are provided by the logical node with the logical node name SV1, the service D is provided by the logical node with the logical node name SV2. It is set that the service connection has been completed. Also, the logical node relocatable IP information table T4 includes a relocatable IP “10.20.30.1” for the logical node name SV1.
Is “10.20.30.
A relocatable IP of “2” is set.
Further, the relocatable IP “10.20.30.
For “1”, the IP address “1” of the service providing server 2
0.20.30.10 ”is set and the relocatable I
The IP address “10.20.30.20” of the service providing server 4 is set for P “10.20.30.2”. The service providing server information table T
The example of the contents of each of the service providing servers 2 is easy to understand.
5 are shown in blocks.

【0042】端末6のクライアントから或る業務処理の
要求がネットワーク7を通じてサービス要求サーバ1に
送られてくると、業務受付部11がその要求を受け付
け、複数存在する業務部13−1〜13−mのうち、要
求された業務処理に対応する業務部に業務処理の要求を
伝達し、当該業務部に業務処理を行わせる。
When a request for a certain business process is sent from the client of the terminal 6 to the service request server 1 via the network 7, the business reception unit 11 receives the request and a plurality of business units 13-1 to 13- m, the request for the business process is transmitted to the business unit corresponding to the requested business process, and the business unit performs the business process.

【0043】各業務部13−1〜13−mは、業務処理
の要求があると業務処理の実行を開始する。そして、サ
ービス提供サーバの提供するサービスを利用する必要が
生じる毎に、例えば図5に示すような処理を実行する。
以下、サービスAを利用する場合を例に図5の処理を説
明する。先ず、利用するサービス名Aでサービス・論理
ノード情報テーブルT3を検索し、論理ノード名「SV
1」とサービス接続の有無フラグFの値「1」とを取得
する(S1)。次に、取得したフラグFの値によって当
該サービスのサービス接続が完了しているか否かを判別
する(S2)。フラグFの値が「1」のときはサービス
接続完了しているので、次に、取得した論理ノード名
「SV1」で論理ノード・リロケータブルIP情報テー
ブルT4を検索し、リロケータブルIP「10.20.
30.1」を取得する(S3)。更に、取得したリロケ
ータブルIP「10.20.30.1」でリロケータブ
ルIP・IPアドレス情報テーブルT5を検索し、IP
アドレス「10.20.30.10」を取得する(S
4)。そして、このIPアドレス「10.20.30.
10」で特定されるサービス提供サーバ2に対して通信
部12及びネットワーク8経由でサービス名Aを指定し
てサービスを要求し(S5)、この要求に対してサービ
ス提供サーバ2から提供されるサービスを受け取る(S
6)。
Each of the business units 13-1 to 13-m starts execution of a business process when there is a request for the business process. Then, every time it becomes necessary to use the service provided by the service providing server, for example, a process as shown in FIG. 5 is executed.
Hereinafter, the processing of FIG. 5 will be described using the service A as an example. First, the service / logical node information table T3 is searched for the service name A to be used, and the logical node name “SV
"1" and the value "1" of the service connection presence / absence flag F are acquired (S1). Next, it is determined whether the service connection of the service is completed based on the acquired value of the flag F (S2). When the value of the flag F is "1", the service connection has been completed. Next, the logical node relocatable IP information table T4 is searched with the acquired logical node name "SV1", and the relocatable IP "10.20.
30.1 ”(S3). Further, the relocatable IP / IP address information table T5 is searched with the obtained relocatable IP “10.20.30.1”, and
The address “10.20.30.10” is obtained (S
4). Then, the IP address “10.20.30.
The service providing server 2 specifies the service name A via the communication unit 12 and the network 8 to request the service to the service providing server 2 specified by "10" (S5). (S
6).

【0044】他方、サービス名Aのサービス接続が完了
していなかった場合(S2でNO)、サーバ切替部15
に対してサービス名Aを指定してサービス接続を要求し
(S7)、この要求に応じてサーバ切替部15がサービ
ス名Aのサービス接続を完了すると(S8でYES)、
ステップS3以降の処理を実行することにより、サービ
ス名Aのサービスを利用する。
On the other hand, if the service connection of the service name A has not been completed (NO in S2), the server switching unit 15
When the server switching unit 15 completes the service connection of the service name A in response to the request (S7), the server switching unit 15 requests the service connection by designating the service name A (S7).
The service of service name A is used by executing the processing after step S3.

【0045】サービス提供サーバ2では、サービス名A
を指定したサービス要求を通信部22が受信し、複数存
在するサービス実行部24−1〜24−nのうち、指定
されたサービス名Aに対応するサービス実行部(例えば
サービス実行部24−1とする)に当該サービス要求を
伝達する。サービス実行部24−1は、受信したサービ
ス要求に応じたサービスを実施し、その結果を通信部2
2及びネットワーク8経由で要求元のサービス要求サー
バ1における業務部に返却する。
In the service providing server 2, the service name A
The communication unit 22 receives the service request specifying the service execution unit 24-1 to 24-n, and the service execution unit corresponding to the specified service name A (for example, the service execution unit 24-1). The service request. The service execution unit 24-1 executes a service according to the received service request, and transmits the result to the communication unit 2.
2 and returns to the business unit in the service request server 1 of the request source via the network 8.

【0046】次に、現用のサービス提供サーバに障害が
発生したときの分散処理システムの動作を、サービス提
供サービス2に障害が発生した場合を例に説明する。ま
た、サービス提供サーバ2に障害が発生する前のサービ
ス要求サーバ1の記憶部16の内容は図4に示すもので
あったものとする。
Next, the operation of the distributed processing system when a failure occurs in the active service providing server will be described with reference to an example in which a failure occurs in the service providing service 2. It is also assumed that the contents of the storage unit 16 of the service request server 1 before the failure occurs in the service providing server 2 are as shown in FIG.

【0047】サービス要求サーバ1のサーバ障害検出部
14は、記憶部16に記憶されているサービス提供サー
バ情報テーブルT1を参照して、アクティブ状態のサー
ビス提供サーバ2、4に対して周期的に問い掛けメッセ
ージを送出する等の方法により、障害発生の有無を検知
しており、サービス提供サーバ2の障害を検出すると、
サービス提供サーバ2の物理ノード名「SERVER1
0」及び論理ノード名「SV1」を含む障害発生通知を
サーバ切替部15に送出する。この通知を契機にサーバ
切替部15等において図6に示す処理が開始される。
The server failure detecting section 14 of the service request server 1 refers to the service providing server information table T1 stored in the storage section 16 and periodically queries the service providing servers 2 and 4 in the active state. The presence or absence of a failure is detected by a method such as sending a message. When a failure of the service providing server 2 is detected,
The physical node name of the service providing server 2 "SERVER1"
A failure notification including the logical node name “SV1” and “0” is sent to the server switching unit 15. In response to this notification, the processing shown in FIG. 6 is started in the server switching unit 15 or the like.

【0048】先ず、サーバ切替部15は、稼働中の業務
部13−1〜13−mを停止させると共に業務受付部1
1に対して業務要求の受け付けを停止させることによ
り、サービス要求サーバ1の業務を停止させる(S1
1)。次に、サービス提供サーバ2へ接続されているサ
ービスを全て切断する(S12)。具体的には、記憶部
16に記憶されているサービス・論理ノード情報テーブ
ルT3中のフラグFのうち、障害発生通知で通知された
論理ノード名「SV1」で提供されていたサービスA、
B、Cに対応するフラグFを、図7に示すように全て0
にリセットする。
First, the server switching unit 15 stops the running business units 13-1 to 13 -m, and sets the business reception unit 1.
The service request server 1 stops accepting the task request, thereby stopping the task of the service request server 1 (S1).
1). Next, all services connected to the service providing server 2 are disconnected (S12). Specifically, among the flags F in the service / logical node information table T3 stored in the storage unit 16, the service A provided by the logical node name “SV1” notified by the failure occurrence notification,
The flags F corresponding to B and C are all set to 0 as shown in FIG.
Reset to.

【0049】次に、記憶部16に記憶されているサービ
ス提供サーバ情報テーブルT1を参照して、障害発生通
知で通知された物理ノード名「SERVER10」のサ
ービス提供サーバ2のスタンバイサーバが物理ノード名
「SERVER11」、論理ノード名「SV1」のサー
ビス提供サーバ3であることを認識し、サービス提供サ
ーバ3をアクティブサーバに切り替える(S13)。具
体的には、記憶部16に記憶されているサービス提供サ
ーバ情報テーブルT1からサービス提供サーバ2、3の
IPアドレスを取得し、リロケータブルIP・IPアド
レス情報テーブルT5におけるIPアドレスのうち、障
害の発生したサービス提供サーバ2のIPアドレスを、
図7に示すように、サービス提供サーバ3のIPアドレ
ス「10.20.30.11」に変更する。
Next, with reference to the service providing server information table T1 stored in the storage unit 16, the standby server of the service providing server 2 of the physical node name "SERVER10" notified by the failure notification is the physical node name. Recognizing that the service providing server 3 is “SERVER11” and the logical node name “SV1”, the service providing server 3 is switched to the active server (S13). Specifically, the IP addresses of the service providing servers 2 and 3 are obtained from the service providing server information table T1 stored in the storage unit 16, and the occurrence of a failure among the IP addresses in the relocatable IP / IP address information table T5. The IP address of the service providing server 2
As shown in FIG. 7, the IP address of the service providing server 3 is changed to “10.20.30.11”.

【0050】次にサーバ切替部15は、サービス・論理
ノード情報テーブルT3を参照して、障害発生通知で通
知された論理ノード名「SV1」で提供される全てのサ
ービスA、B、Cを抽出する(S14)。次に、この抽
出した各サービスA、B、Cの接続優先度をサービス・
接続優先度情報テーブルT2から取得して、接続優先度
1のサービスA、Cを抽出し(S15)、このサービス
A、Cのサービス接続を実施する(S16)。具体的に
は、通信部12及びネットワーク8を通じてサービス提
供サーバ3に対してサービスAを起動するコマンドを送
出する。サービス提供サーバ2側では、そのコマンドは
通信部22を通じてサービス接続処理部23に渡され、
サービス接続処理部23は記憶部21からサービスAの
サービス提供プログラムを読み出してプロセスを生成
し、サービスA用のサービス実行部を生成する。そし
て、サービスAのサービス接続の完了を通信部22及び
ネットワーク8経由でサーバ切替部15に通知する。サ
ーバ切替部15は、記憶部16に記憶されているサービ
ス・論理ノード情報テーブルT3におけるサービス名A
に対応するサービス接続の有無フラグFを1にセットす
る。同様のサービス接続処理を残りのサービスCについ
ても実施する。
Next, the server switching unit 15 refers to the service / logical node information table T3 and extracts all services A, B, and C provided by the logical node name “SV1” notified by the failure notification. (S14). Next, the connection priority of each of the extracted services A, B, and C is determined by the service
The services A and C having the connection priority 1 are extracted from the connection priority information table T2 (S15), and the service connection of the services A and C is performed (S16). Specifically, a command for activating service A is transmitted to service providing server 3 through communication unit 12 and network 8. On the service providing server 2 side, the command is passed to the service connection processing unit 23 through the communication unit 22.
The service connection processing unit 23 reads out the service providing program of the service A from the storage unit 21, generates a process, and generates a service execution unit for the service A. Then, completion of the service connection of the service A is notified to the server switching unit 15 via the communication unit 22 and the network 8. The server switching unit 15 stores the service name A in the service / logical node information table T3 stored in the storage unit 16.
Is set to 1 for the service connection presence / absence flag F corresponding to. The same service connection process is performed for the remaining service C.

【0051】サーバ切替部15は、優先度1のサービス
全てについてのサービス接続を完了すると、業務部13
−1〜13−mの業務を再開させると共に業務受付部1
1に端末6からの業務要求の受け付けを再開させること
により、サービス要求サーバ1の業務を再開する(S1
7)。引き続きサーバ切替部15は、ステップS14で
抽出したサービスのうち優先度1以外の優先度を持つ全
てのサービスについてのサービス接続を開始する(S1
8)。図7の例では、優先度1以外の優先度は優先度2
であり、優先度2を持つサービスはサービスBだけなの
で、サービスBのサービス接続をサービスA、Cと同様
に開始する。
When the server switching unit 15 completes the service connection for all the services of the priority 1, the server switching unit 15
-1 to 13-m business is resumed and the business reception unit 1
1 restarts the service request server 1 by accepting the service request from the terminal 6 (S1).
7). Subsequently, the server switching unit 15 starts a service connection for all services having a priority other than the priority 1 among the services extracted in step S14 (S1).
8). In the example of FIG. 7, the priority other than the priority 1 is the priority 2
Since only the service having the priority 2 is the service B, the service connection of the service B is started in the same manner as the services A and C.

【0052】他方、業務を再開したサービス要求サーバ
1における何れかの業務部13−1〜13−mにおい
て、サービス提供サーバのサービスを利用する必要があ
る場合、前述したように図5に示したような処理が実施
される。ここで、本実施例では、優先度1のサービスは
業務再開以前にサービス接続を完了しているため、これ
らのサービスは直ちに利用可能である。他方、優先度2
のサービスは業務再開後にサービス接続処理が開始され
ているため、図5のステップS2においてサービス接続
未完と判定されるサービスが生じる場合がある(本例で
は優先度2のサービスがサービスBだけなので、その可
能性は極めて少ないが、一般には多くのサービスが存在
するため、その可能性は大きい)。
On the other hand, when it is necessary to use the service of the service providing server in any of the service units 13-1 to 13-m in the service request server 1 which has resumed the service, as shown in FIG. Such processing is performed. Here, in this embodiment, the services of the priority 1 have completed the service connection before the business resumption, and therefore these services can be used immediately. On the other hand, priority 2
Since the service connection processing has been started after the service is resumed, there may be a service determined to be incompletely connected in step S2 in FIG. 5 (in this example, since the service of priority 2 is only service B, Although the possibility is extremely small, the possibility is large because there are many services in general).

【0053】このような場合、当該業務部からサーバ切
替部15に対して、サービス名を指定してサービス接続
が要求される(S7)。サーバ切替部15は、このサー
ビス接続要求を受けると、ステップS18のサービス接
続処理を一時中断して、要求されたサービスのサービス
接続を優先的に実施する(S19)。具体的には、ステ
ップS18で現に行っている或るサービス接続処理が完
了した時点で、業務部13−1〜13−mから要求され
たサービスについてのサービス接続処理を行い、その終
了後にステップS18における次のサービスについての
サービス接続処理を開始する。但し、業務部13−1〜
13−mからの要求で既にサービス接続を終えたサービ
スはステップS18では除外される。なお、図6のステ
ップS20は業務部13−1〜13−mでサービスの利
用が必要になったことを、ステップS21は業務部13
−1〜13−mが利用するサービスのサービス接続完了
の有無を判定していることを、ステップS22は業務部
13−1〜13−mが要求サービスの提供を受けている
ことをそれぞれ示している。
In such a case, the business unit requests the server switching unit 15 to connect to the service by designating the service name (S7). Upon receiving the service connection request, the server switching unit 15 temporarily suspends the service connection process of step S18, and preferentially implements the service connection of the requested service (S19). Specifically, when a certain service connection process currently being performed in step S18 is completed, a service connection process for a service requested from the business units 13-1 to 13-m is performed. Starts a service connection process for the next service in. However, the business units 13-1 to 13-1
The service that has already completed the service connection in response to the request from 13-m is excluded in step S18. Step S20 in FIG. 6 indicates that the business units 13-1 to 13-m need to use the service, and step S21 indicates that the business unit 13
Step S22 indicates that the service units 13-1 to 13-m have received the provision of the requested service, respectively. I have.

【0054】以上の実施例の動作では、接続優先度が優
先度1と優先度2の2種類であったが、3種類以上の接
続優先度を用いて各サービスの接続優先度を管理してい
る実施例では、業務再開後に、先ず接続優先度2を持つ
全てのサービスのサービス接続処理を行い、次に接続優
先度3を持つ全てのサービスのサービス接続処理を行う
如く、より接続優先度の高いサービスから順にサービス
接続を行っていく。その場合の処理の概要を図8に示
す。図6との相違点はステップS31〜S34であり、
接続優先度をループ変数として、接続優先度2のサービ
スから接続優先度nのサービスまで順にサービス接続処
理を繰り返している。この例の場合も同様に、業務部1
3−1〜13−mからサービス接続要求のあったサービ
スについては、サービス接続ループの処理を一時中断し
て優先的にサービス接続処理を行うようにしている。
In the operation of the above embodiment, there are two types of connection priorities, priority 1 and priority 2. However, the connection priority of each service is managed using three or more types of connection priorities. In some embodiments, after the business is resumed, first, service connection processing of all services having connection priority 2 is performed, and then service connection processing of all services having connection priority 3 is performed. Service connection is performed in order from the highest service. FIG. 8 shows an outline of the processing in that case. The differences from FIG. 6 are steps S31 to S34,
With the connection priority as a loop variable, the service connection processing is repeated in order from the service with the connection priority 2 to the service with the connection priority n. In the case of this example, similarly, the business unit 1
For services for which a service connection request has been issued from 3-1 to 13-m, the processing of the service connection loop is temporarily suspended, and the service connection processing is preferentially performed.

【0055】また以上の各実施例では、少なくとも一部
のサービス(実施例では接続優先度1のサービス)のサ
ービス接続を完了してから業務を再開したが、全くサー
ビス接続を行わずに業務を再開し、業務再開後に、先ず
接続優先度1を持つ全てのサービスのサービス接続処理
を行い、次に接続優先度2を持つ全てのサービスのサー
ビス接続処理を行う如く、より接続優先度の高いサービ
スから順にサービス接続を行っていく実施例も本発明に
含まれる。その場合の処理の概要を図9に示す。図8と
の相違点は、業務再開以前におけるサービス接続に関係
する処理(S14〜S16)が省略されており、ステッ
プS31〜S34のループ処理では、接続優先度をルー
プ変数として、接続優先度1のサービスから接続優先度
nのサービスまで順にサービス接続処理を繰り返してい
る点である。なお、本実施例でも、業務部13−1〜1
3−mからサービス接続要求のあったサービスについて
は、サービス接続ループの処理を一時中断して優先的に
サービス接続処理を行うようにしている。
In each of the above embodiments, the service is resumed after completing the service connection of at least a part of the service (in the embodiment, the service of the connection priority 1). After resuming and resuming the business, first, the service connection processing of all services having connection priority 1 is performed, and then the service connection processing of all services having connection priority 2 is performed. The present invention also includes an embodiment in which service connection is performed in order from. FIG. 9 shows an outline of the processing in that case. The difference from FIG. 8 is that the processes (S14 to S16) related to the service connection before the business resumption are omitted, and in the loop process of steps S31 to S34, the connection priority is set as the loop variable and the connection priority 1 The point is that the service connection processing is repeated in order from the service No. to the service of the connection priority n. Note that also in the present embodiment, the business units 13-1 to 13-1
For a service for which a service connection request has been issued from 3-m, the service connection loop processing is temporarily interrupted to preferentially perform the service connection processing.

【0056】また以上の各実施例では、業務再開後に、
サービス接続未完了のサービスについて順次にサービス
接続処理を行うようにしたが、業務再開後は、業務部1
3−1〜13−mから要求があったサービスについてだ
けサービス接続処理を行う実施例も本発明に含まれる。
その場合の処理の概要を図10に示す。図6との相違点
は、業務再開後に優先度2のサービスのサービス接続処
理を順次行うステップS18が省略されている点であ
る。この実施例では、業務部13−1〜13−mから少
なくとも1回、優先度2の各サービスを利用する場面が
生じると、全サービスのサービス接続が完了する。同様
な手法は、図8、図9に示した実施例に対しても適用可
能である。
In each of the above embodiments, after the business is resumed,
The service connection processing is sequentially performed for services for which service connection has not been completed.
Embodiments in which service connection processing is performed only for services requested from 3-1 to 13-m are also included in the present invention.
FIG. 10 shows an outline of the processing in that case. The difference from FIG. 6 is that step S <b> 18 of sequentially performing service connection processing of the service of priority 2 after resuming the business is omitted. In this embodiment, when the service units 13-1 to 13-m use each service of priority 2 at least once, the service connection of all services is completed. A similar technique is also applicable to the embodiments shown in FIGS.

【0057】なお、以上の各実施例では、サービス要求
サーバ1の業務部13−1〜13−mはクライアントの
端末6からの業務処理を遂行するものとしたが、バッチ
ジョブを実施する構成であっても構わない。
In each of the above embodiments, the business units 13-1 to 13-m of the service request server 1 execute the business process from the client terminal 6, but are configured to execute a batch job. It does not matter.

【0058】[0058]

【発明の効果】以上説明したように本発明によれば、サ
ービス要求サーバは業務処理で必要となるサービスのサ
ービス接続が完了していないと業務処理中に判断された
時点で当該サービスのサービス接続を動的に実施する手
段を備えているため、現用のサービス提供サーバの障害
によって予備のサービス提供サーバに切り替えて業務を
再開する前に、障害サーバが提供していた全サービスに
ついて予備のサービス提供サーバに対しサービス接続し
ていなくても業務を支障なく再開することができ、業務
再開以前に実施するサービス接続の処理量を低減できる
分だけ、業務停止期間を短縮することができる。
As described above, according to the present invention, the service request server determines that the service connection of the service required for the business process has not been completed during the business process. Before the service is switched to the spare service server due to the failure of the active service server and the business is resumed, the spare service is provided for all the services provided by the failed server. Even if the server is not connected to the service, the business can be resumed without any trouble, and the business suspension period can be shortened by the amount of processing of the service connection performed before the business restart.

【0059】特に、サービス提供サーバで提供される個
々のサービスに利用頻度及びサービス特性の少なくとも
一方を考慮して優先度を付与しておき、業務再開前に最
も高い優先度を持つサービスだけのサービス接続を済ま
せておく構成によれば、業務停止期間をそれほど増加さ
せずに、業務再開後の動的なサービス接続処理数を削減
でき、業務処理での待ち合わせ(図5のステップS8)
を少なくすることができる。業務再開後におけるサービ
ス接続をより優先度の高いサービスから順に行う構成に
よれば、より効果的である。
In particular, priorities are given to individual services provided by the service providing server in consideration of at least one of the use frequency and service characteristics, and only services having the highest priority are provided before the business restarts. According to the configuration in which the connection is completed, the number of dynamic service connection processes after the restart of the business can be reduced without significantly increasing the business suspension period, and waiting in the business process (step S8 in FIG. 5).
Can be reduced. According to the configuration in which the service connection after the business resumption is performed in order from the service having the higher priority, it is more effective.

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

【図1】本発明を適用した分散処理システムの一例を示
すブロック図である。
FIG. 1 is a block diagram illustrating an example of a distributed processing system to which the present invention has been applied.

【図2】サービス提供サーバ情報テーブルの内容例を示
す図である。
FIG. 2 is a diagram illustrating a content example of a service providing server information table.

【図3】サービス・接続優先度情報テーブル、サービス
・論理ノード情報テーブル、論理ノード・リロケータブ
ルIP情報テーブル、リロケータブルIP・IPアドレ
ス情報テーブルの内容例を示す図である。
FIG. 3 is a diagram showing an example of contents of a service / connection priority information table, a service / logical node information table, a logical node / relocatable IP information table, and a relocatable IP / IP address information table.

【図4】現用のサービス提供サーバに障害が発生してい
ないときのサービス提供サーバの記憶部の内容例を示す
図である。
FIG. 4 is a diagram illustrating an example of the contents of a storage unit of a service providing server when no failure has occurred in an active service providing server;

【図5】サービス要求サーバにおいてサービス提供サー
バの提供するサービスを利用する必要が生じたときに実
施する処理例を示すフローチャートである。
FIG. 5 is a flowchart illustrating an example of processing performed when the service request server needs to use a service provided by the service providing server.

【図6】本発明の分散処理システムにおけるサーバ切替
え方法の一実施例の流れ図である。
FIG. 6 is a flowchart of one embodiment of a server switching method in the distributed processing system of the present invention.

【図7】サーバ切替え後のサービス提供サーバの記憶部
の内容例を示す図である。
FIG. 7 is a diagram illustrating an example of contents of a storage unit of a service providing server after server switching.

【図8】本発明の分散処理システムにおけるサーバ切替
え方法の別の実施例の流れ図である。
FIG. 8 is a flowchart of another embodiment of the server switching method in the distributed processing system of the present invention.

【図9】本発明の分散処理システムにおけるサーバ切替
え方法の更に別の実施例の流れ図である。
FIG. 9 is a flowchart of yet another embodiment of the server switching method in the distributed processing system of the present invention.

【図10】本発明の分散処理システムにおけるサーバ切
替え方法の他の実施例の流れ図である。
FIG. 10 is a flowchart of another embodiment of the server switching method in the distributed processing system of the present invention.

【図11】分散処理システムの概略構成図である。FIG. 11 is a schematic configuration diagram of a distributed processing system.

【図12】従来の分散処理システムにおけるサーバ切替
え方法の流れ図である。
FIG. 12 is a flowchart of a server switching method in a conventional distributed processing system.

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

1…サービス要求サーバ、 2、3、4、5…サービス提供サーバ 6…端末 7、8…ネットワーク DESCRIPTION OF SYMBOLS 1 ... Service request server, 2, 3, 4, 5 ... Service providing server 6 ... Terminal 7, 8 ... Network

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 複数種類の業務処理を遂行するサービス
要求サーバと、このサービス要求サーバにおける業務処
理の遂行に必要な各種のサービスを提供するサービス提
供サーバとを含み、且つ、サービス提供サーバが現用と
予備とに冗長化されている分散処理システムにおけるサ
ーバ切替え方法において、(a)現用のサービス提供サ
ーバに障害が発生したときにサービス要求サーバの業務
を停止するステップと、(b)障害の発生したサービス
提供サーバで提供されていたサービスの全てをサービス
接続未完状態として管理するステップと、(c)予備の
サービス提供サーバを現用に切り替えるステップと、
(d)サービス要求サーバの業務を再開するステップ
と、(e)サービス要求サーバでサービス提供サーバの
提供するサービスを利用することが必要になったとき、
当該サービスがサービス接続未完状態か否かを判別し、
サービス接続未完状態のときは現用に切り替わったサー
ビス提供サーバに対して当該サービスのサービス接続を
行うことによりサービスの利用を可能にするステップと
を含む分散処理システムにおけるサーバ切替え方法。
1. A service request server for performing a plurality of types of business processing, and a service providing server for providing various services necessary for performing the business processing in the service request server, and the service providing server is currently used. Server switching method in a distributed processing system that is made redundant with a service and a backup, (a) stopping a service request server operation when a failure occurs in an active service providing server, and (b) generating a failure Managing all of the services provided by the service providing server that has been provided as a service connection uncompleted state; and (c) switching the spare service providing server to the active service providing server;
(D) restarting the service request server; and (e) when the service request server needs to use a service provided by the service providing server.
Determine whether the service is in a service connection incomplete state,
Making the service available to the service providing server switched to the service when the service connection is not completed.
【請求項2】 複数種類の業務処理を遂行するサービス
要求サーバと、このサービス要求サーバにおける業務処
理の遂行に必要な各種のサービスを提供するサービス提
供サーバとを含み、且つ、サービス提供サーバが現用と
予備とに冗長化されている分散処理システムにおけるサ
ーバ切替え方法において、(a)現用のサービス提供サ
ーバに障害が発生したときにサービス要求サーバの業務
を停止するステップと、(b)障害の発生したサービス
提供サーバで提供されていたサービスの全てをサービス
接続未完状態として管理するステップと、(c)予備の
サービス提供サーバを現用に切り替えるステップと、
(d)サービス要求サーバの業務を再開するステップ
と、(e)障害の発生したサービス提供サーバで提供さ
れていたサービスについて、1サービスずつ順番に、サ
ービス要求サーバから現用に切り替わったサービス提供
サーバに対してサービス接続を行うステップと、(f)
サービス要求サーバでサービス提供サーバの提供するサ
ービスを利用することが必要になったとき、当該サービ
スがサービス接続未完状態か否かを判別し、サービス接
続未完状態のときは、前記ステップeの処理を中断し
て、現用に切り替わったサービス提供サーバに対して当
該サービスのサービス接続を優先的に行うことによりサ
ービスの利用を可能にするステップとを含む分散処理シ
ステムにおけるサーバ切替え方法。
2. A service request server for performing a plurality of types of business processing, and a service providing server for providing various services necessary for performing the business processing in the service request server, and the service providing server is currently used. Server switching method in a distributed processing system that is made redundant with a service and a backup, (a) stopping a service request server operation when a failure occurs in an active service providing server, and (b) generating a failure Managing all of the services provided by the service providing server that has been provided as a service connection uncompleted state; and (c) switching the spare service providing server to the active service providing server;
(D) a step of restarting the service of the service request server; and (e) the services provided by the failed service providing server are sequentially switched one by one from the service request server to the service providing server switched to the current service. Making a service connection to (f)
When it becomes necessary for the service request server to use the service provided by the service providing server, it is determined whether or not the service is in a service connection incomplete state. Interrupting and prioritizing the service connection of the service to the service providing server switched to the current service so as to enable the use of the service, the server switching method in the distributed processing system.
【請求項3】 複数種類の業務処理を遂行するサービス
要求サーバと、このサービス要求サーバにおける業務処
理の遂行に必要な各種のサービスを提供するサービス提
供サーバとを含み、且つ、サービス提供サーバが現用と
予備とに冗長化されている分散処理システムにおけるサ
ーバ切替え方法において、(a)現用のサービス提供サ
ーバに障害が発生したときにサービス要求サーバの業務
を停止するステップと、(b)障害の発生したサービス
提供サーバで提供されていたサービスの全てをサービス
接続未完状態として管理するステップと、(c)予備の
サービス提供サーバを現用に切り替えるステップと、
(d)障害の発生したサービス提供サーバで提供されて
いたサービスの一部のサービスについて、1サービスず
つ順番に、サービス要求サーバから現用に切り替わった
サービス提供サーバに対してサービス接続を行うステッ
プと、(e)サービス要求サーバの業務を再開するステ
ップと、(f)障害の発生したサービス提供サーバで提
供されていたサービスのうち、未だサービス接続未完状
態となっているサービスについて、1サービスずつ順番
に、サービス要求サーバから現用に切り替わったサービ
ス提供サーバに対してサービス接続を行うステップと、
(g)サービス要求サーバでサービス提供サーバの提供
するサービスを利用することが必要になったとき、当該
サービスがサービス接続未完状態か否かを判別し、サー
ビス接続未完状態のときは、前記ステップfの処理を中
断して、現用に切り替わったサービス提供サーバに対し
て当該サービスのサービス接続を優先的に行うことによ
りサービスの利用を可能にするステップとを含む分散処
理システムにおけるサーバ切替え方法。
3. A service request server for performing a plurality of types of business processing, and a service providing server for providing various services necessary for performing the business processing in the service request server, and the service providing server is currently used. Server switching method in a distributed processing system that is made redundant with a service and a backup, (a) stopping a service request server operation when a failure occurs in an active service providing server, and (b) generating a failure Managing all of the services provided by the service providing server that has been provided as a service connection uncompleted state; and (c) switching the spare service providing server to the active service providing server;
(D) making a service connection from the service request server to the service providing server that has been switched to the active service one by one for some of the services provided by the failed service providing server; (E) a step of resuming the service of the service request server; and (f) of the services provided by the service providing server in which the failure has occurred, the services that are still in an incomplete connection state, one by one in order. Making a service connection from the service request server to the service providing server switched to the active service;
(G) When it becomes necessary for the service request server to use the service provided by the service providing server, it is determined whether or not the service is in a service connection incomplete state. Interrupting the processing of step (b) and making the service connection of the service preferentially to the service providing server switched to the current service, thereby enabling the use of the service.
【請求項4】 サービス提供サーバで提供される個々の
サービスに利用頻度及びサービス特性の少なくとも一方
を考慮して優先度を付与しておき、前記ステップdにお
いてサービス接続を行うサービスは最も高い優先度を持
つサービスだけに限定する請求項3記載の分散処理シス
テムにおけるサーバ切替え方法。
4. A priority is given to each service provided by the service providing server in consideration of at least one of a use frequency and a service characteristic, and the service for which a service connection is made in step d has the highest priority. 4. The server switching method in a distributed processing system according to claim 3, wherein the service is limited to only services having the following.
【請求項5】 前記ステップfにおけるサービス接続
は、より優先度の高いサービスから順に行うようにした
請求項4記載の分散処理システムにおけるサーバ切替え
方法。
5. The server switching method in a distributed processing system according to claim 4, wherein the service connection in the step f is performed in order from a service having a higher priority.
【請求項6】 業務処理の遂行に必要な各種のサービス
を提供する現用と予備とに冗長化されたサービス提供サ
ーバに接続され、現用のサービス提供サーバの障害時に
予備のサービス提供サーバに切り替えて業務を再開する
サーバ装置において、業務処理中に、必要となるサービ
スのサービス接続が完了していないと判断された時点で
当該サービスのサービス接続を動的に実施する手段を備
えたサーバ装置。
6. A service providing server for providing various services necessary for performing business processes, which is connected to a service providing server which is redundantly provided, and which is switched to a spare service providing server when a failure occurs in the current service providing server. A server device for resuming a business, comprising: means for dynamically executing a service connection of a required service when it is determined that a service connection of a required service is not completed during a business process.
【請求項7】 複数種類の業務処理を遂行するサーバ装
置であって、業務処理の遂行に必要な各種のサービスを
提供する現用と予備とに冗長化されたサービス提供サー
バに接続されたサーバ装置において、 サービス提供サーバの障害を検知するサーバ障害検知手
段と、 該サーバ障害検知手段によって現用のサービス提供サー
バの障害が検出されたときに予備のサービス提供サーバ
への切替えを行うサーバ切替手段とを備え、 該サーバ切替手段は、現用のサービス提供サーバの障害
発生時に業務処理を停止させる手段、障害の発生したサ
ービス提供サーバで提供されていたサービスの全てをサ
ービス接続未完状態として管理する手段、予備のサービ
ス提供サーバを現用に切り替える手段、サービス要求サ
ーバの業務を再開する手段、及び、再開した業務におい
てサービス提供サーバの提供するサービスを利用するこ
とが必要になったとき、当該サービスがサービス接続未
完状態か否かを判別し、サービス接続未完状態のときは
現用に切り替わったサービス提供サーバに対して当該サ
ービスのサービス接続を優先的に行うことによりサービ
スの利用を可能にする手段を含むことを特徴とするサー
バ装置。
7. A server device for performing a plurality of types of business processes, wherein the server device is connected to a service providing server which is provided with various services required for performing the business processes and which is redundantly provided as an active service and a backup service. A server failure detecting means for detecting a failure of the service providing server; and a server switching means for switching to a spare service providing server when the failure of the active service providing server is detected by the server failure detecting means. The server switching means includes means for stopping business processing when a failure occurs in the active service providing server, means for managing all services provided by the failed service providing server as a service connection incomplete state, For switching the service providing server to the current service, means for resuming the service of the service request server, and resuming When it is necessary to use the service provided by the service providing server in the service that has been completed, it is determined whether or not the service is in a service connection incomplete state. A server device comprising means for enabling service utilization by giving priority to service connection of the service.
【請求項8】 複数種類の業務処理を遂行するサーバ装
置であって、業務処理の遂行に必要な各種のサービスを
提供する現用と予備とに冗長化されたサービス提供サー
バに接続されたサーバ装置において、 サービス提供サーバの障害を検知するサーバ障害検知手
段と、 該サーバ障害検知手段によって現用のサービス提供サー
バの障害が検出されたときに予備のサービス提供サーバ
への切替えを行うサーバ切替手段とを備え、 該サーバ切替手段は、現用のサービス提供サーバの障害
発生時に業務処理を停止させる手段、障害の発生したサ
ービス提供サーバで提供されていたサービスの全てをサ
ービス接続未完状態として管理する手段、予備のサービ
ス提供サーバを現用に切り替える手段、サービス要求サ
ーバの業務を再開する手段、障害の発生したサービス提
供サーバで提供されていたサービスについて、1サービ
スずつ順番に、サービス要求サーバから現用に切り替わ
ったサービス提供サーバに対してサービス接続を行う順
次接続手段、及び、再開した業務においてサービス提供
サーバの提供するサービスを利用することが必要になっ
たとき、当該サービスがサービス接続未完状態か否かを
判別し、サービス接続未完状態のときは、前記順次接続
手段の処理を中断して、現用に切り替わったサービス提
供サーバに対して当該サービスのサービス接続を優先的
に行うことによりサービスの利用を可能にする手段を含
むことを特徴とするサーバ装置。
8. A server device for performing a plurality of types of business processes, wherein the server device is connected to a service providing server that is provided with various types of services necessary for performing the business processes, and is provided with a redundant service server. A server failure detecting means for detecting a failure of the service providing server; and a server switching means for switching to a spare service providing server when the failure of the active service providing server is detected by the server failure detecting means. The server switching means includes means for stopping business processing when a failure occurs in the active service providing server, means for managing all services provided by the failed service providing server as a service connection incomplete state, To switch the current service providing server to active, to restart the service request server, and to generate a failure Connection means for making a service connection from the service request server to the service providing server switched to the service in order one by one for the services provided by the service providing server that has been provided by the service providing server; When it becomes necessary to use the service to be provided, it is determined whether or not the service is in a service connection incomplete state. A server device comprising means for enabling service utilization by giving priority to service connection of the service to the service providing server.
【請求項9】 複数種類の業務処理を遂行するサーバ装
置であって、業務処理の遂行に必要な各種のサービスを
提供する現用と予備とに冗長化されたサービス提供サー
バに接続されたサーバ装置において、 サービス提供サーバの障害を検知するサーバ障害検知手
段と、 該サーバ障害検知手段によって現用のサービス提供サー
バの障害が検出されたときに予備のサービス提供サーバ
への切替えを行うサーバ切替手段とを備え、 該サーバ切替手段は、現用のサービス提供サーバの障害
発生時に業務処理を停止させる手段、障害の発生したサ
ービス提供サーバで提供されていたサービスの全てをサ
ービス接続未完状態として管理する手段、予備のサービ
ス提供サーバを現用に切り替える手段、障害の発生した
サービス提供サーバで提供されていたサービスの一部の
サービスについて、1サービスずつ順番に、サービス要
求サーバから現用に切り替わったサービス提供サーバに
対してサービス接続を行う手段、サービス要求サーバの
業務を再開する手段、障害の発生したサービス提供サー
バで提供されていたサービスのうち、未だサービス接続
未完状態となっているサービスについて、1サービスず
つ順番に、サービス要求サーバから現用に切り替わった
サービス提供サーバに対してサービス接続を行う順次接
続手段、及び、再開した業務においてサービス提供サー
バの提供するサービスを利用することが必要になったと
き、当該サービスがサービス接続未完状態か否かを判別
し、サービス接続未完状態のときは、前記順次接続手段
の処理を中断して、現用に切り替わったサービス提供サ
ーバに対して当該サービスのサービス接続を優先的に行
うことによりサービスの利用を可能にする手段を含むこ
とを特徴とするサーバ装置。
9. A server device for performing a plurality of types of business processes, wherein the server device is connected to a service providing server which is provided with various types of services required for performing the business processes, and is provided with redundant working and backup services. A server failure detecting means for detecting a failure of the service providing server; and a server switching means for switching to a spare service providing server when the failure of the active service providing server is detected by the server failure detecting means. The server switching means includes means for stopping business processing when a failure occurs in the active service providing server, means for managing all services provided by the failed service providing server as a service connection incomplete state, Means to switch the current service providing server to the active server, and the service provided by the failed service providing server. A means for making a service connection from the service request server to the service providing server switched to the service in order one service at a time for some services of the service, a means for resuming the business of the service request server, and providing a failed service. Of the services provided by the server, for services that are still in a service connection incomplete state, a sequential connection means for performing a service connection from the service request server to the service providing server switched to the active one by one in order, And when it is necessary to use the service provided by the service providing server in the resumed business, it is determined whether the service is in a service connection incomplete state. Service provision service switched to Server apparatus characterized by comprising means for enabling the use of the service by performing the service connection of the service a higher priority to.
【請求項10】 サービス提供サーバで提供される個々
のサービスに利用頻度及びサービス特性の少なくとも一
方を考慮して優先度を付与しておき、業務再開前にサー
ビス接続を行うサービスは最も高い優先度を持つサービ
スだけに限定する請求項9記載のサーバ装置。
10. A priority is given to each service provided by the service providing server in consideration of at least one of a use frequency and a service characteristic, and a service to which a service connection is made before business restart is the highest priority. 10. The server device according to claim 9, wherein the service is limited to only services having the following.
【請求項11】 業務再開後におけるサービス接続は、
より優先度の高いサービスから順に行うようにした請求
項10記載のサーバ装置。
11. The service connection after the business is resumed,
11. The server device according to claim 10, wherein the service is performed in order from a service having a higher priority.
JP2000347554A 2000-11-15 2000-11-15 Method for switching server and server device in distributed processing system Pending JP2002149439A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000347554A JP2002149439A (en) 2000-11-15 2000-11-15 Method for switching server and server device in distributed processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000347554A JP2002149439A (en) 2000-11-15 2000-11-15 Method for switching server and server device in distributed processing system

Publications (1)

Publication Number Publication Date
JP2002149439A true JP2002149439A (en) 2002-05-24

Family

ID=18821266

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000347554A Pending JP2002149439A (en) 2000-11-15 2000-11-15 Method for switching server and server device in distributed processing system

Country Status (1)

Country Link
JP (1) JP2002149439A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006260357A (en) * 2005-03-18 2006-09-28 Hitachi Ltd Fail-over cluster system and fail-over method
JP2006302081A (en) * 2005-04-22 2006-11-02 Ntt Data Corp Service restart device and service restart program
WO2008047920A1 (en) * 2006-10-20 2008-04-24 Nec Corporation Proxy server, communication system, communication method, and program
JP2013186481A (en) * 2012-03-05 2013-09-19 Nippon Telegr & Teleph Corp <Ntt> Life and death monitoring server, life and death monitoring program and life and death monitoring method
CN113824812A (en) * 2021-08-27 2021-12-21 济南浪潮数据技术有限公司 Method, device and storage medium for HDFS service to acquire service node IP

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006260357A (en) * 2005-03-18 2006-09-28 Hitachi Ltd Fail-over cluster system and fail-over method
JP4516458B2 (en) * 2005-03-18 2010-08-04 株式会社日立製作所 Failover cluster system and failover method
JP2006302081A (en) * 2005-04-22 2006-11-02 Ntt Data Corp Service restart device and service restart program
JP4717500B2 (en) * 2005-04-22 2011-07-06 株式会社エヌ・ティ・ティ・データ Service restart device and service restart program
WO2008047920A1 (en) * 2006-10-20 2008-04-24 Nec Corporation Proxy server, communication system, communication method, and program
US8374079B2 (en) 2006-10-20 2013-02-12 Nec Corporation Proxy server, communication system, communication method and program
JP2013186481A (en) * 2012-03-05 2013-09-19 Nippon Telegr & Teleph Corp <Ntt> Life and death monitoring server, life and death monitoring program and life and death monitoring method
CN113824812A (en) * 2021-08-27 2021-12-21 济南浪潮数据技术有限公司 Method, device and storage medium for HDFS service to acquire service node IP

Similar Documents

Publication Publication Date Title
US7130897B2 (en) Dynamic cluster versioning for a group
US8032786B2 (en) Information-processing equipment and system therefor with switching control for switchover operation
JP2005512190A (en) Real composite objects that provide high availability of resources in networked systems
JPH0576654B2 (en)
US6226694B1 (en) Achieving consistency and synchronization among multiple data stores that cooperate within a single system in the absence of transaction monitoring
JP2010067042A (en) Computer switching method, computer switching program, and computer system
JP2013171301A (en) Device, method, and program for job continuation management
CN110109772B (en) CPU restarting method, communication equipment and readable storage medium
US20020073409A1 (en) Telecommunications platform with processor cluster and method of operation thereof
JP2000299691A (en) Redundant lan system and active/reserve system switching method
WO2006131440A1 (en) Apparatus, system, and method for facilitating communication between an enterprise information system and a client
JP5285045B2 (en) Failure recovery method, server and program in virtual environment
JP4009192B2 (en) Efficient timer management system
JP2009223368A (en) Cluster control apparatus, control system, control method, and control program
JP2002149439A (en) Method for switching server and server device in distributed processing system
JPH08235132A (en) Hot stand-by control method for multiserver system
JP2003167746A (en) Software distribution method, execution system for the same and processing program for the same
JP2001027951A (en) File loading device for information processing system of multiprocessor configuration and recording medium
JP2002366381A (en) Dynamic exchange processing method for object
JPH0879246A (en) Distributed communication system and fault recovery method therefor
JP2003298624A (en) Communication path securing method in service control application execution program
JPH10289215A (en) Computer system having current and spare switching function in application program unit and machine readable recording medium recording program
JPH02139630A (en) Online task exchange device
JPH0895932A (en) System switching control method for distributed processing system
JPH0757010A (en) Operation performance control system and its switching method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040330

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040817