JP2001229070A - Directory server retrieving device and recording medium with retrieval program in the same device recorded - Google Patents

Directory server retrieving device and recording medium with retrieval program in the same device recorded

Info

Publication number
JP2001229070A
JP2001229070A JP2000037920A JP2000037920A JP2001229070A JP 2001229070 A JP2001229070 A JP 2001229070A JP 2000037920 A JP2000037920 A JP 2000037920A JP 2000037920 A JP2000037920 A JP 2000037920A JP 2001229070 A JP2001229070 A JP 2001229070A
Authority
JP
Japan
Prior art keywords
access
directory server
directory
response
application
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
JP2000037920A
Other languages
Japanese (ja)
Inventor
Masashi Sato
昌志 佐藤
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2000037920A priority Critical patent/JP2001229070A/en
Publication of JP2001229070A publication Critical patent/JP2001229070A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a directory server retrieving device capable of retrieving an accessible directory server without mounting the switching function of the directory server on an application. SOLUTION: This directory server retrieving device 1 is provided with an access requesting means 2 which requests access based on a directory server list file 6 in response to an access request to a directory server, an access judging means 3 which judges whether or not the directory server is made accessible, based on a judgment reference definition file 7, an access switching means 4 which switches the access to the other directory server when the access fails, and an access responding means 5 which transmits an access response when the access succeeds, and transmits an error response when all the directory servers can not be accessed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、クラスタリングさ
れたディレクトリサーバへのアクセスを検索するための
ディレクトリサーバ検索装置であって、複数のディレク
トリサーバの中からアクセス可能なディレクトリサーバ
を検索することのできるディレクトリサーバ検索装置及
びディレクトリサーバ検索装置における検索プログラム
を記録した記録媒体に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a directory server search device for searching for access to a clustered directory server, and is capable of searching for an accessible directory server from a plurality of directory servers. The present invention relates to a directory server search device and a recording medium storing a search program in the directory server search device.

【0002】[0002]

【従来の技術】ディレクトリサーバへアクセスするため
のプロトコルであるLDAP(Lightweight Directory
Access Protocol)v3プロトコルを実装したディレク
トリサーバでは、従来から格納されている情報の安全性
とサーバの負荷を分散させるという目的から、ディレク
トリサーバ及びディレクトリデータベースを二重化、あ
るいは三重化するクラスタリングが行われていた。
2. Description of the Related Art LDAP (Lightweight Directory) is a protocol for accessing a directory server.
In a directory server that implements the Access Protocol (v3) protocol, clustering for duplicating or tripling the directory server and the directory database is conventionally performed for the purpose of distributing the load of the server and the security of the stored information. Was.

【0003】このようなクラスタリングされたディレク
トリサーバを検索するための従来の方法について、図6
に基づいて説明する。
A conventional method for searching such a clustered directory server is shown in FIG.
It will be described based on.

【0004】従来では、クライアントの端末装置61
は、ネットワーク62を介してクラスタリング(図6で
は二重化)されたディレクトリサーバ63、64と接続
されており、各ディレクトリサーバ63、64はディレ
クトリデータベース65、66をそれぞれ管理してい
た。
Conventionally, a client terminal device 61
Is connected to clustered (duplicated in FIG. 6) directory servers 63 and 64 via a network 62, and the directory servers 63 and 64 manage directory databases 65 and 66, respectively.

【0005】このディレクトリデータベース65、66
は、情報をディレクトリツリーの形態で階層化して管理
しており、図6ではその一例としてA社の組織を階層構
造で管理している場合を表している。
[0005] The directory databases 65 and 66
6 manages information in a hierarchical structure in the form of a directory tree, and FIG. 6 shows an example in which the organization of company A is managed in a hierarchical structure.

【0006】図6に示すディレクトリツリーは、A社が
α工場とβ工場との2つの工場を有しており、β工場に
は電力分野、流通分野、金融分野などの事業部があり、
電力分野には山田、佐藤などの社員がいることを表して
いる。
In the directory tree shown in FIG. 6, Company A has two factories, an α factory and a β factory. The β factory has business units in the electric power field, the distribution field, the finance field, and the like.
This indicates that there are employees of Yamada and Sato in the electric power field.

【0007】このようなディレクトリサーバにアクセス
するアプリケーションとしては、各社員のメールアドレ
スを検索するアプリケーションやワークフローシステム
によるアプリケーションなどがある。このようなアプリ
ケーションでは、ディレクトリサーバ63へアクセスを
要求したときに、ディレクトリサーバ63がダウンして
いたり、ビジー状態などの理由によってアクセスできな
かったときには、アクセス要求を切り換えてディレクト
リサーバ64にアクセスを行うような機能がそれぞれ実
装されていた。
[0007] Applications that access such a directory server include an application for retrieving the mail address of each employee and an application using a workflow system. In such an application, when the access to the directory server 63 is requested and the directory server 63 is down or cannot be accessed due to a busy state or the like, the access request is switched to access the directory server 64. Such functions were implemented respectively.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、上述し
たように、従来では各アプリケーションがそれぞれディ
レクトリサーバの切り替え処理を行っていたので、各ア
プリケーションがすべてディレクトリサーバを切り換え
るための機能を実装していなければならなかった。
However, as described above, in the related art, each application has performed the switching process of the directory server. Therefore, unless each application has a function for switching the directory server. did not become.

【0009】例えば、クライアント61のアプリケーシ
ョンA1、A2、・・・、Anの中で、ディレクトリサ
ーバへのアクセスする処理を含むアプリケーションがあ
ると、それらすべてのアプリケーションにそれぞれディ
レクトリサーバの切り替え機能を実装しなければならな
かった。
For example, if any of the applications A1, A2,..., An of the client 61 includes a process for accessing the directory server, a directory server switching function is implemented in each of those applications. I had to.

【0010】したがって、開発者が、ディレクトリサー
バへアクセスする処理を含むようなアプリケーションを
作成するときには、それらすべてのアプリケーションを
作成するたびにディレクトリサーバの切り換え機能を実
装する作業を繰り返し行わなければならないという問題
点があった。
Therefore, when a developer creates an application including a process for accessing a directory server, the developer must repeatedly perform a task of implementing a directory server switching function every time the application is created. There was a problem.

【0011】とくに、ディレクトリサーバが稼働してい
てアクセスできないとき、例えばディレクトリサーバが
ビジー状態のときのような場合にはサーバ側でディレク
トリサーバを切り換えることもできるが、ディレクトリ
サーバがダウンしているような場合にはサーバ側で切り
換える処理を行うことはできないので、このような場合
には各アプリケーションがそれぞれディレクトリサーバ
を切り換える機能を実装していなければ、サーバを切り
換えることはできなかった。
In particular, when the directory server is running and cannot be accessed, for example, when the directory server is busy, the server can switch the directory server, but the directory server may be down. In such a case, the server cannot perform the switching process. In such a case, the server cannot be switched unless each application has a function of switching the directory server.

【0012】したがって、開発者は、ディレクトリサー
バへアクセスする処理を含むようなアプリケーションを
作成する毎にサーバの切り替え機能を実装させなければ
いけないので、煩雑な作業を繰り返し行わなければなら
なかった。
[0012] Therefore, the developer must implement a server switching function every time an application including a process for accessing the directory server is created, and thus has to repeatedly perform a complicated operation.

【0013】本発明は上記事情に鑑みてなされたもので
あり、その目的は、アプリケーションにディレクトリサ
ーバの切り替え機能を実装することなく、アクセス可能
なディレクトリサーバを検索してアクセスすることので
きるディレクトリサーバ検索装置及びディレクトリサー
バ検索装置における検索プログラムを記録した記録媒体
を提供することにある。
The present invention has been made in view of the above circumstances, and has as its object to provide a directory server which can search and access an accessible directory server without implementing a directory server switching function in an application. It is an object of the present invention to provide a recording medium that records a search program in a search device and a directory server search device.

【0014】[0014]

【課題を解決するための手段】上記目的を達成するため
に、請求項1に記載の発明であるディレクトリサーバ検
索装置は、アプリケーションからのディレクトリサーバ
へのアクセス要求に応じて、クラスタリングされた複数
のディレクトリサーバの中から、アクセス要求の対象と
なるアクセス対象ディレクトリサーバを選択して、アク
セスを要求するアクセス要求手段と、このアクセス要求
手段でアクセス要求された前記アクセス対象ディレクト
リサーバがアクセスできる状態であるか否かを判断する
アクセス判断手段と、このアクセス判断手段で前記アク
セス対象ディレクトリサーバがアクセスできない状態で
あると判断されたときには、その他のディレクトリサー
バにアクセスを切り換えるアクセス切り替え手段と、前
記アクセス判断手段で前記アクセス対象ディレクトリサ
ーバがアクセスできる状態であると判断されたときには
アクセスが成功した旨のアクセス応答を前記アプリケー
ションに送信し、すべてのディレクトリサーバがアクセ
スできない状態であると判断されたときには前記アプリ
ケーションにエラーの応答をするアクセス応答手段とを
含むことを特徴とする。
In order to achieve the above object, a directory server search device according to the first aspect of the present invention comprises a plurality of clustered clusters in response to an access request from an application to a directory server. An access requesting directory server to be an access request target is selected from the directory servers, and the access requesting means for requesting the access and the access target directory server requested by the access requesting means are accessible. Access judging means for judging whether or not the access target directory server is inaccessible when the access judging means judges that the directory server is inaccessible; and an access switching means for switching access to another directory server. When it is determined that the directory server to be accessed is accessible, an access response indicating that access is successful is transmitted to the application, and when it is determined that all directory servers are inaccessible, the application is notified to the application. Access response means for responding to an error.

【0015】この請求項1の発明によれば、各アプリケ
ーションはディレクトリサーバを検索する機能を実装す
ることなく、複数のディレクトリサーバの中からアクセ
ス可能なディレクトリサーバにアクセスすることがで
き、ディレクトリサーバは複数のクライアントからの負
荷分散を実現することができる。
According to the first aspect of the present invention, each application can access a directory server that can be accessed from among a plurality of directory servers without implementing a function of searching the directory server. Load distribution from a plurality of clients can be realized.

【0016】請求項2に記載の発明であるディレクトリ
サーバ検索装置は、このディレクトリサーバ検索装置
が、クライアントの端末装置に実装されることを特徴と
する。
A directory server search device according to a second aspect of the present invention is characterized in that the directory server search device is mounted on a client terminal device.

【0017】この請求項2の発明によれば、ディレクト
リサーバ検索装置を、各クライアント毎に実装するの
で、ディレクトリサーバへのアクセス要求が増加した場
合でもそれらのアクセス要求を処理することが可能にな
る。
According to the second aspect of the present invention, since the directory server search device is installed for each client, even if access requests to the directory server increase, it is possible to process those access requests. .

【0018】請求項3に記載の発明であるディレクトリ
サーバ検索装置における検索プログラムを記録した記録
媒体は、アプリケーションからのディレクトリサーバへ
のアクセス要求に応じて、クラスタリングされた複数の
ディレクトリサーバの中から、アクセス要求の対象とな
るアクセス対象ディレクトリサーバを選択して、アクセ
スを要求するアクセス要求処理と、このアクセス要求処
理でアクセス要求された前記アクセス対象ディレクトリ
サーバがアクセスできる状態であるか否かを判断するア
クセス判断処理と、このアクセス判断処理で前記アクセ
ス対象ディレクトリサーバがアクセスできない状態であ
ると判断されたときには、その他のディレクトリサーバ
にアクセスを切り換えるアクセス切り替え処理と、前記
アクセス判断処理で前記アクセス対象ディレクトリサー
バがアクセスできる状態であると判断されたときにはア
クセスが成功した旨のアクセス応答を前記アプリケーシ
ョンに送信し、すべてのディレクトリサーバがアクセス
できない状態であると判断されたときには前記アプリケ
ーションにエラーの応答をするアクセス応答処理とを含
むことを特徴とする。
According to the third aspect of the present invention, a storage medium storing a search program in the directory server search device includes a plurality of clustered directory servers in response to an access request to the directory server from an application. An access request target directory server is selected as an access request target, and an access request process for requesting access is determined, and it is determined whether the access target directory server requested to be accessed in the access request process is accessible. An access determining process, an access switching process for switching access to another directory server when the access target directory server is determined to be inaccessible in the access determining process, and the access determining process When it is determined that the directory server to be accessed is accessible, an access response indicating that the access is successful is transmitted to the application, and when it is determined that all directory servers are inaccessible, an error is issued to the application. And an access response process for responding to the request.

【0019】この請求項3の発明によれば、各アプリケ
ーションはディレクトリサーバを検索する機能を実装す
ることなく、複数のディレクトリサーバの中からアクセ
ス可能なディレクトリサーバにアクセスすることがで
き、ディレクトリサーバは複数のクライアントからの負
荷分散を実現することができる。
According to the third aspect of the present invention, each application can access a directory server that can be accessed from a plurality of directory servers without implementing a function of searching the directory server. Load distribution from a plurality of clients can be realized.

【0020】[0020]

【発明の実施の形態】以下、本発明に係るディレクトリ
サーバ検索装置の第1の実施形態を図面に基づいて説明
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a first embodiment of a directory server search device according to the present invention will be described with reference to the drawings.

【0021】図1は本実施形態に係るディレクトリサー
バ検索装置の構成を示すブロック図である。図1に示す
ように、ディレクトリサーバ検索装置1は、クライアン
トCのアプリケーションによるディレクトリサーバの検
索要求に応じて複数のディレクトリサーバDS1、DS
2、・・・、DSnの中から1つのディレクトリサーバ
にアクセス要求をするアクセス要求手段2と、このディ
レクトリサーバへのアクセスが成功したか否かを判断す
るアクセス判断手段3と、このアクセス判断手段3でア
クセス対象ディレクトリサーバがアクセスできる状態で
はないと判断されたときには、その他のディレクトリサ
ーバにアクセスを切り換えるアクセス切り替え手段4
と、アクセス判断手段3でアクセス対象ディレクトリサ
ーバへのアクセスが成功したと判断されたときにはアク
セスが完了した旨のアクセス応答を送信し、すべてのデ
ィレクトリサーバがアクセスできない状態であると判断
されたときにはクライアントにエラー応答を送信するア
クセス応答手段5と、複数あるディレクトリサーバDS
1、DS2、・・・DSnのホスト名、ポート番号など
の情報を格納したディレクトリサーバリストファイル6
と、ディレクトリサーバへのアクセスが成功したか否か
を判断するための判断基準を格納する判断基準定義ファ
イル7とから構成されている。
FIG. 1 is a block diagram showing the configuration of the directory server search device according to this embodiment. As shown in FIG. 1, the directory server search device 1 includes a plurality of directory servers DS1, DS in response to a directory server search request by an application of a client C.
, DSn, access requesting means 2 for making an access request to one directory server, access determining means 3 for determining whether or not access to this directory server was successful, and this access determining means If it is determined in step 3 that the directory server to be accessed is not in an accessible state, the access switching means 4 switches the access to another directory server.
When the access determining means 3 determines that the access to the access target directory server is successful, it transmits an access response indicating that the access has been completed, and when it is determined that all the directory servers are inaccessible, the client Response means 5 for transmitting an error response to a plurality of directory servers DS
1, DS2,... Directory server list file 6 storing information such as the host name and port number of DSn
And a criterion definition file 7 for storing a criterion for determining whether or not access to the directory server has been successful.

【0022】さらに、ディレクトリサーバ検索装置1は
クラスタリングされた複数のディレクトリサーバDS
1、DS2、・・・、DSnと接続されており、これら
のディレクトリサーバDS1、DS2、・・・、DSn
は、それぞれディレクトリデータベースDD1、DD
2、・・・DDnを管理している。
Further, the directory server search device 1 includes a plurality of clustered directory servers DS.
1, DS2,..., DSn, and these directory servers DS1, DS2,.
Are the directory databases DD1 and DD, respectively.
2,... DDn are managed.

【0023】また、ディレクトリサーバ検索装置1は、
ネットワーク8を介してクライアントCに接続されてい
る。
Also, the directory server search device 1
It is connected to the client C via the network 8.

【0024】なお、ディレクトリサーバ検索装置1は、
各種の処理を行うためのCPUと、この処理の命令を記
憶する記憶手段とを含む通常のコンピュータシステムが
含まれる。上記ディレクトリサーバ検索装置1に含まれ
るアクセス要求手段2、アクセス判断手段3、アクセス
切り替え手段4、アクセス応答手段5の各処理の命令や
タイミング制約は記憶手段に保持されており、必要に応
じてCPUにロードされ、実行がなされる。
The directory server search device 1
An ordinary computer system including a CPU for performing various types of processing and storage means for storing instructions for the processing is included. Instructions and timing constraints for the respective processes of the access requesting unit 2, the access determining unit 3, the access switching unit 4, and the access responding unit 5 included in the directory server search device 1 are stored in a storage unit. And is executed.

【0025】次に、図2のフローチャートに基づいて本
実施形態のディレクトリサーバ検索装置におけるディレ
クトリサーバの検索処理について説明する。
Next, a directory server search process in the directory server search device of the present embodiment will be described with reference to the flowchart of FIG.

【0026】まず、クライアントCのアプリケーション
からディレクトリサーバDS1、・・・DSnに対する
検索要求があると(S201)、ディレクトリサーバ検
索装置1のアクセス要求手段2はディレクトリサーバリ
ストファイル6を読み込む(S202)。このディレク
トリサーバリストファイル6には、各ディレクトリサー
バDS1、・・・、DSnのホスト名及びポート番号が
記述されている。ここで、このディレクトリサーバリス
トファイル6の一例を図3に示す。図3では、ホスト名
としてDS1、DS2、・・・、DSnが記述されてお
り、この各ホスト名に対してポート番号がそれぞれ38
9、389、・・・、9000と記述されている。
First, when there is a search request from the application of the client C to the directory servers DS1,... DSn (S201), the access request means 2 of the directory server search device 1 reads the directory server list file 6 (S202). The directory server list file 6 describes the host names and port numbers of the directory servers DS1,..., DSn. Here, an example of the directory server list file 6 is shown in FIG. In FIG. 3, DS1, DS2,..., DSn are described as host names, and a port number is 38 for each host name.
9, 389, ..., 9000 are described.

【0027】次に、アクセス判断手段3は判断基準定義
ファイル7を読み込む(S203)。この判断基準定義
ファイル7には、ディレクトリサーバDS1、・・・D
Snへのアクセスが成功したか否かを、アクセス判断手
段3が判断するための情報が記述されている。ここで、
この判断基準定義ファイル7の一例を図4に示す。
Next, the access judgment means 3 reads the judgment criterion definition file 7 (S203). This determination criterion definition file 7 includes directory servers DS1,.
Information for the access determining means 3 to determine whether or not access to Sn has succeeded is described. here,
FIG. 4 shows an example of the criterion definition file 7.

【0028】図4において、「cycle」とは、ディ
レクトリサーバDS1からディレクトリサーバDSnま
でのアクセス要求を1サイクルとした場合に、繰り返し
アクセス要求を行うサイクル数の上限値のことをいう。
したがって、「cycle=2」の場合にはディレクト
リサーバDS1からDSnまでのアクセス要求を2サイ
クルまでは繰り返すが、3サイクル目には入らないこと
を意味する。
In FIG. 4, "cycle" refers to the upper limit of the number of cycles for repeatedly making an access request when the access request from directory server DS1 to directory server DSn is one cycle.
Therefore, in the case of “cycle = 2”, it means that the access request from the directory servers DS1 to DSn is repeated up to two cycles, but does not enter the third cycle.

【0029】また、「timeout」とは、1つのデ
ィレクトリサーバからの応答を待つ応答タイムアウト時
間のことをいう。したがって、「timeout=60
0」の場合には600秒間応答を待ってもディレクトリ
サーバから応答がないときにはタイムアウトと判断す
る。
The "timeout" refers to a response timeout period for waiting for a response from one directory server. Therefore, "timeout = 60
In the case of "0", if there is no response from the directory server even after waiting for a response for 600 seconds, it is determined that a timeout has occurred.

【0030】さらに、図4ではディレクトリサーバの数
をSv=nと記述している。
Further, in FIG. 4, the number of directory servers is described as Sv = n.

【0031】そして、ステップS203、S204にお
いて、ディレクトリサーバリストファイル6と判断基準
定義ファイル7の各ファイルの読み込みが終了したら、
アクセス要求手段2はディレクトリサーバリストファイ
ル6の先頭に記述されているディレクトリサーバをアク
セス対象ディレクトリサーバとしてアクセスを要求する
(S204)。従って、図3のディレクトリサーバリス
トファイルの場合にはディレクトリサーバDS1が先頭
に記述されているので、ディレクトリサーバDS1をア
クセス対象ディレクトリサーバとして、まずアクセスを
要求する。
Then, in steps S203 and S204, when the reading of each of the directory server list file 6 and the criterion definition file 7 is completed,
The access request unit 2 requests access by using the directory server described at the head of the directory server list file 6 as the access target directory server (S204). Therefore, in the case of the directory server list file in FIG. 3, since the directory server DS1 is described at the top, the access is first requested with the directory server DS1 as the access target directory server.

【0032】そして、アクセス判断手段3では、このア
クセス要求の結果ディレクトリサーバDS1がダウンし
ているなどの理由によってエラーの応答があるか否かを
まず判断し(S205)、次にディレクトリサーバDS
1がビジー状態などの理由によってタイムアウトしたか
どうかを判断する(S206)。例えば、図4の判断基
準定義ファイル7ではtimeout=600と記述さ
れているので、600秒間ディレクトリサーバDS1か
ら応答がなかった場合にはタイムアウトと判断する。
The access determining means 3 first determines whether or not there is an error response due to a reason such as the directory server DS1 being down as a result of the access request (S205), and then the directory server DS1.
It is determined whether 1 has timed out due to a busy state or the like (S206). For example, since timeout = 600 is described in the criterion definition file 7 in FIG. 4, if there is no response from the directory server DS1 for 600 seconds, it is determined that a timeout has occurred.

【0033】そして、ステップS205、S206にお
いて、エラー応答もなく、タイムアウトすることもなけ
れば、アクセス判断手段3はアクセスが成功したと判断
し、アクセス応答手段5によってディレクトリサーバD
S1へのアクセスが完了した旨のアクセス応答を送信し
(S207)、ディレクトリサーバ検索装置1によるデ
ィレクトリサーバの検索処理は終了する。
In steps S205 and S206, if there is no error response and there is no timeout, the access determining means 3 determines that the access was successful, and the access response means 5
An access response to the effect that access to S1 has been completed is transmitted (S207), and the directory server search processing by the directory server search device 1 ends.

【0034】また、ステップS205、S206におい
て、アクセス判断手段3がエラー応答を受信するか、あ
るいはタイムアウトしたと判断したときには、次にディ
レクトリサーバの検索を繰り返すサイクル数の上限値c
ycleを越えているか否かを判断する(S208)。
このサイクル数の上限値cycleは、ディレクトリサ
ーバDS1からディレクトリサーバDSnまでのアクセ
ス要求を1サイクルとして、このサイクルを繰り返す回
数の上限値のことをいうので、図4の場合には2回目の
サイクルには入るが、3回目のサイクルは行わないこと
になる。
In steps S205 and S206, when the access judging means 3 receives an error response or judges that a time-out has occurred, the upper limit value c of the number of cycles to repeat the next directory server search is set.
Then, it is determined whether or not the value exceeds ycycle (S208).
The upper limit cycle of the number of cycles is an upper limit of the number of times that the cycle is repeated with one cycle of an access request from the directory server DS1 to the directory server DSn. In the case of FIG. , But the third cycle is not performed.

【0035】ここでは、まだ1回目のサイクルになるの
で、上限値cycle以下となり、ステップS211に
進んで、アクセス切り替え手段4がアクセス対象となっ
ているディレクトリサーバを切り換えてアクセスの要求
をする(S211)。
In this case, since the cycle is still the first cycle, the cycle becomes equal to or less than the upper limit cycle, and the process proceeds to step S211 where the access switching means 4 switches the directory server to be accessed and requests access (S211). ).

【0036】ここで、アクセス切り替え手段4はディレ
クトリサーバリストファイル6に記述されている順序で
アクセスを切り換える。したがって、図3の場合にはア
クセス切り替え手段4はディレクトリサーバDS1から
次にディレクトリサーバDS2に切り換えることにな
る。その後アクセスが成功しなければ順次ディレクトリ
サーバをDS2からDSnへと切り換えていく。
Here, the access switching means 4 switches the access in the order described in the directory server list file 6. Therefore, in the case of FIG. 3, the access switching means 4 switches from the directory server DS1 to the next directory server DS2. Thereafter, if the access is not successful, the directory server is sequentially switched from DS2 to DSn.

【0037】そして、アクセス判断手段3では、切り換
えられたディレクトリサーバへのアクセス要求の結果、
ディレクトリサーバからサーバがダウンしているなどの
理由によってエラー応答があるか否か(S212)、ビ
ジー状態などの理由によってタイムアウトしたかどうか
を判断する(S213)。
Then, the access judging means 3 obtains the result of the access request to the switched directory server,
It is determined whether there is an error response due to a reason such as the server being down from the directory server (S212), and whether a timeout has occurred due to a busy state or the like (S213).

【0038】ここで、エラー応答もなく、タイムアウト
することもなければ、アクセスが成功したと判断してス
テップS207に進んで、クライアントCにアクセス応
答を送信して(S207)ディレクトリサーバ検索装置
1によるディレクトリサーバの検索処理は終了する。
Here, if there is no error response and there is no timeout, it is determined that the access has succeeded, and the flow advances to step S207 to transmit an access response to the client C (S207). The directory server search process ends.

【0039】また、ステップS212及びステップS2
13において、アクセス判断手段3がエラー応答か、あ
るいはタイムアウトしたと判断したときには、アクセス
判断手段3によってすべてのディレクトリサーバに切り
替えられたか否かを判断する(S214)。これは判断
基準定義ファイル7に記述されているサーバ数Svに、
切り換えた回数が達したか否かによって判断する。従っ
て、図1の場合にはサーバ数がn個あるので、図4の判
断基準定義ファイルにはSv=nと記述され、アクセス
判断手段3はサーバの切り替え数がnになったか否かに
よって、すべてのディレクトリサーバに切り換えられた
か否かを判断する。
Steps S212 and S2
In 13, when the access determining means 3 determines that an error response or timeout has occurred, it is determined whether the access determining means 3 has switched to all directory servers (S 214). This corresponds to the number of servers Sv described in the criterion definition file 7,
Judgment is made based on whether or not the number of times of switching has been reached. Therefore, in the case of FIG. 1, since the number of servers is n, Sv = n is described in the criterion definition file of FIG. It is determined whether or not all directory servers have been switched.

【0040】ここで、すべてのディレクトリサーバに切
り替えが終了していないときには、ステップS211に
進んで次のディレクトリサーバに切り換えられ、すべて
のディレクトリサーバの切り替えが終了しているときに
はステップS208に戻って次のサイクルに入るか否か
を判断する。
Here, if the switching has not been completed for all directory servers, the process proceeds to step S211 to be switched to the next directory server, and if the switching has been completed for all directory servers, the process returns to step S208 and returns to step S208. It is determined whether or not to enter the cycle.

【0041】ここで、ステップS208において、上限
値cycleを超えているときにはアクセス判断手段3
は、すべてのディレクトリサーバDS1、DS2・・
・、DSnがアクセスできる状態ではないと判断し(S
209)、この判断を受けてアクセス応答手段5は検索
を要求したクライアントCのアプリケーションに対して
ディレクトリサーバにアクセスできなかった旨のエラー
応答を送信して(S210)ディレクトリサーバ検索装
置1によるディレクトリサーバの検索処理は終了する。
Here, in step S208, when the value exceeds the upper limit cycle, the access judging means 3
Means that all directory servers DS1, DS2,.
.., It is determined that DSn is not in an accessible state (S
209) In response to this determination, the access response means 5 transmits an error response indicating that the directory server could not be accessed to the application of the client C requesting the search (S210). Is terminated.

【0042】また、ステップS208において、上限値
cycleを越えていないときには、次のサイクルに入
って上述の検索処理が続けられ、アクセス応答手段5に
よってステップS207のアクセス応答か、あるいはス
テップS210のエラー応答がクライアントCに送信さ
れるまで、ディレクトリサーバ検索装置1によるディレ
クトリサーバの検索処理は続けられる。
If it is determined in step S208 that the value does not exceed the upper limit cycle, the next cycle is entered and the above-described search processing is continued, and the access response means 5 returns the access response in step S207 or the error response in step S210. Until is transmitted to the client C, the directory server search processing by the directory server search device 1 is continued.

【0043】このように、本実施形態のディレクトリサ
ーバ検索装置では、各アプリケーションからのディレク
トリサーバの検索要求に応じて、アクセス可能なディレ
クトリサーバを検索する処理を行うので、各アプリケー
ションはディレクトリサーバを検索する機能を実装する
ことなく、ディレクトリサーバにアクセスすることが可
能になる。
As described above, the directory server search device of the present embodiment performs a process of searching for an accessible directory server in response to a directory server search request from each application. Therefore, each application searches the directory server. It is possible to access a directory server without implementing a function to perform this.

【0044】次に、第2の実施形態に係るディレクトリ
サーバ検索装置を図5に基づいて説明する。
Next, a directory server search device according to a second embodiment will be described with reference to FIG.

【0045】図5に示すように、本実施形態に係るディ
レクトリサーバ検索装置1は、クライアントCの端末装
置に実装されている点のみが、図1に示す第1の実施形
態と異なっている。
As shown in FIG. 5, the directory server search device 1 according to the present embodiment differs from the first embodiment shown in FIG. 1 only in that it is mounted on the terminal device of the client C.

【0046】しかしながら、第1の実施形態では、ディ
レクトリサーバ検索装置1がディレクトリサーバ側に設
けられていたので、多くのクライアントのアプリケーシ
ョンから検索要求があった場合には対応しきれなくなる
という問題点があったのに対して、この第2の実施形態
では、各クライアントC1、・・・、Cnにそれぞれデ
ィレクトリサーバ検索装置1が実装されるので、そのよ
うな問題点を解消することができる。
However, in the first embodiment, since the directory server search device 1 is provided on the directory server side, there is a problem that it is impossible to respond to a search request from many client applications. On the other hand, in the second embodiment, since the directory server search device 1 is mounted on each of the clients C1,..., Cn, such a problem can be solved.

【0047】したがって、この第2の実施形態に係るデ
ィレクトリサーバ検索装置1は、第1の実施形態と同様
に、各アプリケーションからのディレクトリサーバの検
索要求に応じて、アクセス可能なディレクトリサーバを
検索する処理を行うので、各アプリケーションはディレ
クトリサーバを検索する機能を実装することなく、ディ
レクトリサーバにアクセスすることが可能になる。
Therefore, the directory server search device 1 according to the second embodiment searches for an accessible directory server in response to a directory server search request from each application, as in the first embodiment. Since the processing is performed, each application can access the directory server without implementing a function of searching the directory server.

【0048】さらに、第2の実施形態に係るディレクト
リサーバ検索装置は、各クライアント毎に実装されるの
で、ディレクトリサーバへのアクセス要求が増加した場
合でもそれらのアクセス要求を処理することが可能にな
る。
Further, since the directory server search device according to the second embodiment is installed for each client, even if access requests to the directory server increase, it is possible to process those access requests. .

【0049】なお、上述したディレクトリサーバ検索装
置の各処理を実現するためのプログラムは記録媒体に保
存することができ、この記録媒体をコンピュータシステ
ムによって読み込ませることにより、前記プログラムを
実行してコンピュータを制御しながら上述したディレク
トリサーバ検索装置の各処理を実現することができる。
ここで、前記記録媒体とは、メモリ装置、磁気ディスク
装置、光ディスク装置等、プログラムを記録することが
できるような装置が含まれる。
A program for realizing each process of the directory server search device described above can be stored in a recording medium, and by reading this recording medium by a computer system, the program is executed to execute the computer. The respective processes of the directory server search device described above can be realized while controlling.
Here, the recording medium includes a device capable of recording a program, such as a memory device, a magnetic disk device, and an optical disk device.

【0050】[0050]

【発明の効果】以上説明したように、本発明のディレク
トリサーバ検索装置、及びディレクトリサーバ検索装置
における検索プログラムを記録した記録媒体によれば、
各アプリケーションはディレクトリサーバを検索する機
能を実装することなく、複数のディレクトリサーバの中
からアクセス可能なディレクトリサーバにアクセスする
ことができ、ディレクトリサーバは複数のクライアント
からの負荷分散を実現することができる。
As described above, according to the directory server search device and the storage medium storing the search program in the directory server search device of the present invention,
Each application can access a directory server that can be accessed from multiple directory servers without implementing a function to search the directory server, and the directory server can realize load distribution from multiple clients. .

【0051】さらに、本発明のディレクトリサーバ検索
装置を、各クライアント毎に実装することによって、デ
ィレクトリサーバへのアクセス要求が増加した場合でも
それらのアクセス要求を処理することが可能になる。
Further, by mounting the directory server search device of the present invention for each client, even if access requests to the directory server increase, it becomes possible to process those access requests.

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

【図1】本発明によるディレクトリサーバ検索装置の第
1の実施形態の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a first embodiment of a directory server search device according to the present invention.

【図2】図1に示すディレクトリサーバ検索装置におけ
るディレクトリサーバの検索処理を説明するためのフロ
ーチャートである。
FIG. 2 is a flowchart illustrating a directory server search process in the directory server search device illustrated in FIG. 1;

【図3】図1に示すディレクトリサーバリストファイル
の一例を示す図である。
FIG. 3 is a diagram showing an example of a directory server list file shown in FIG.

【図4】図1に示す判断基準定義ファイルの一例を示す
図である。
FIG. 4 is a diagram showing an example of a criterion definition file shown in FIG.

【図5】本発明によるディレクトリサーバ検索装置の第
2の実施形態の構成を示すブロック図である。
FIG. 5 is a block diagram showing the configuration of a second embodiment of the directory server search device according to the present invention.

【図6】従来のディレクトリサーバの検索処理を説明す
るための図である。
FIG. 6 is a diagram for explaining a conventional directory server search process.

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

1 ディレクトリサーバ検索装置 2 アクセス要求手段 3 アクセス判断手段 4 アクセス切り替え手段 5 アクセス応答手段 6 ディレクトリサーバリストファイル 7 判断基準定義ファイル 8、62 ネットワーク 61、C、C1、・・・、Cn クライアント 63、64、DS1、DS2、・・・、DSn ディレ
クトリサーバ 65、66、DD1、DD2、・・・DDn ディレク
トリデータベース A1、A2、・・・、An アプリケーション
DESCRIPTION OF SYMBOLS 1 Directory server search apparatus 2 Access request means 3 Access judgment means 4 Access switching means 5 Access response means 6 Directory server list file 7 Judgment standard definition file 8, 62 Network 61, C, C1, ..., Cn client 63, 64 , DS1, DS2, ..., DSn Directory server 65, 66, DD1, DD2, ... DDn Directory database A1, A2, ..., An application

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 アプリケーションからのディレクトリサ
ーバへのアクセス要求に応じて、クラスタリングされた
複数のディレクトリサーバの中から、アクセス要求の対
象となるアクセス対象ディレクトリサーバを選択して、
アクセスを要求するアクセス要求手段と、 このアクセス要求手段でアクセス要求された前記アクセ
ス対象ディレクトリサーバがアクセスできる状態である
か否かを判断するアクセス判断手段と、 このアクセス判断手段で前記アクセス対象ディレクトリ
サーバがアクセスできない状態であると判断されたとき
には、その他のディレクトリサーバにアクセスを切り換
えるアクセス切り替え手段と、 前記アクセス判断手段で前記アクセス対象ディレクトリ
サーバがアクセスできる状態であると判断されたときに
はアクセスが成功した旨のアクセス応答を前記アプリケ
ーションに送信し、すべてのディレクトリサーバがアク
セスできない状態であると判断されたときには前記アプ
リケーションにエラーの応答をするアクセス応答手段と
を含むことを特徴とするディレクトリサーバ検索装置。
In response to an access request to a directory server from an application, an access target directory server to which an access request is to be made is selected from a plurality of clustered directory servers.
Access requesting means for requesting access; access determining means for determining whether or not the access target directory server requested by the access requesting means is accessible; and the access determining directory server using the access determining means. Access switching means for switching access to another directory server when it is determined that the access target directory server is not accessible, and the access is successful when the access determination means determines that the access target directory server is in an accessible state. Access response means for transmitting an access response to the effect to the application, and when it is determined that all the directory servers are inaccessible, an error response to the application is provided. Directory server search device and butterflies.
【請求項2】 前記ディレクトリサーバ検索装置が、ク
ライアントの端末装置に実装されることを特徴とする請
求項1に記載のディレクトリサーバ検索装置。
2. The directory server search device according to claim 1, wherein the directory server search device is mounted on a client terminal device.
【請求項3】 アプリケーションからのディレクトリサ
ーバへのアクセス要求に応じて、クラスタリングされた
複数のディレクトリサーバの中から、アクセス要求の対
象となるアクセス対象ディレクトリサーバを選択して、
アクセスを要求するアクセス要求処理と、 このアクセス要求処理でアクセス要求された前記アクセ
ス対象ディレクトリサーバがアクセスできる状態である
か否かを判断するアクセス判断処理と、 このアクセス判断処理で前記アクセス対象ディレクトリ
サーバがアクセスできない状態であると判断されたとき
には、その他のディレクトリサーバにアクセスを切り換
えるアクセス切り替え処理と、 前記アクセス判断処理で前記アクセス対象ディレクトリ
サーバがアクセスできる状態であると判断されたときに
はアクセスが成功した旨のアクセス応答を前記アプリケ
ーションに送信し、すべてのディレクトリサーバがアク
セスできない状態であると判断されたときには前記アプ
リケーションにエラーの応答をするアクセス応答処理と
を含むことを特徴とするディレクトリサーバ検索装置に
おける検索プログラムを記録した記録媒体。
3. In response to an access request to a directory server from an application, an access target directory server targeted for the access request is selected from a plurality of clustered directory servers.
Access request processing for requesting access; access determination processing for determining whether or not the access target directory server requested in the access request processing is accessible; and the access target directory server in the access determination processing. Is determined to be inaccessible, an access switching process for switching access to another directory server, and the access is successful when the access determination process determines that the access target directory server is accessible. Transmitting an access response to the application to the effect that all directory servers are inaccessible when the directory server is determined to be inaccessible. Recording medium recording a search program in the directory server retrieval apparatus according to symptoms.
JP2000037920A 2000-02-16 2000-02-16 Directory server retrieving device and recording medium with retrieval program in the same device recorded Pending JP2001229070A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000037920A JP2001229070A (en) 2000-02-16 2000-02-16 Directory server retrieving device and recording medium with retrieval program in the same device recorded

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000037920A JP2001229070A (en) 2000-02-16 2000-02-16 Directory server retrieving device and recording medium with retrieval program in the same device recorded

Publications (1)

Publication Number Publication Date
JP2001229070A true JP2001229070A (en) 2001-08-24

Family

ID=18561738

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000037920A Pending JP2001229070A (en) 2000-02-16 2000-02-16 Directory server retrieving device and recording medium with retrieval program in the same device recorded

Country Status (1)

Country Link
JP (1) JP2001229070A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012238155A (en) * 2011-05-11 2012-12-06 Chugoku Electric Power Co Inc:The Directory information providing device, information processing system, directory information providing method, and program
WO2015008450A1 (en) * 2013-07-19 2015-01-22 International Business Machines Corporation Directory service discovery and/or learning

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012238155A (en) * 2011-05-11 2012-12-06 Chugoku Electric Power Co Inc:The Directory information providing device, information processing system, directory information providing method, and program
WO2015008450A1 (en) * 2013-07-19 2015-01-22 International Business Machines Corporation Directory service discovery and/or learning
CN105453058A (en) * 2013-07-19 2016-03-30 国际商业机器公司 Directory service discovery and/or learning
US9392079B2 (en) 2013-07-19 2016-07-12 International Business Machines Corporation Directory service discovery and/or learning
US10594804B2 (en) 2013-07-19 2020-03-17 International Business Machines Corporation Directory service discovery and/or learning

Similar Documents

Publication Publication Date Title
KR102293093B1 (en) Versioned hierarchical data structures in a distributed data store
US10423342B1 (en) Scaling events for hosting hierarchical data structures
US8495131B2 (en) Method, system, and program for managing locks enabling access to a shared resource
US5737523A (en) Methods and apparatus for providing dynamic network file system client authentication
US5778384A (en) System and method for automounting and accessing remote file systems in Microsoft Windows in a networking environment
US5687372A (en) Customer information control system and method in a loosely coupled parallel processing environment
US7315854B2 (en) Distributed directory replication
JP4463661B2 (en) Computer system, computer, database access method and database system
WO2002079973A2 (en) Workload management of stateful program entities(e.g. enterprise java session beans)
KR20000028677A (en) method, apparatus and program storage device for a client and adaptive synchronization and transformation server
JPH10222407A (en) Method for processing multiple data base transactions in same process for reducing process overhead and redundant retrieval from data base server
JPH11331245A (en) Network directory access mechanism and method therefor
US5995972A (en) System and method for retrieving data
US5682507A (en) Plurality of servers having identical customer information control procedure functions using temporary storage file of a predetermined server for centrally storing temporary data records
CN114265814B (en) Data lake file system based on object storage
EP1197881B1 (en) Method and apparatus for performing parallel data operations
CN117591038A (en) Data access method, device, distributed storage system, equipment and medium
CA2176905A1 (en) Customer information control system and method with api start and cancel transaction functions in a loosely coupled parallel processing environment
JPH05143435A (en) Data base system
JP2001229070A (en) Directory server retrieving device and recording medium with retrieval program in the same device recorded
JP2000047890A (en) Distributed object managing system, its object selecting method and storage medium recording its processing program
US7143097B1 (en) Method and apparatus for migrating file locks from one server to another
WO2006026761A2 (en) Method and system for caching directory services
WO2006013213A1 (en) Method, system and computer program product for managing database records with attributes located in multiple databases
KR100324276B1 (en) method for data backup of DBMS in switching system

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060926

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070320