JP4550604B2 - Setting information synchronization program - Google Patents
Setting information synchronization program Download PDFInfo
- Publication number
- JP4550604B2 JP4550604B2 JP2005021032A JP2005021032A JP4550604B2 JP 4550604 B2 JP4550604 B2 JP 4550604B2 JP 2005021032 A JP2005021032 A JP 2005021032A JP 2005021032 A JP2005021032 A JP 2005021032A JP 4550604 B2 JP4550604 B2 JP 4550604B2
- Authority
- JP
- Japan
- Prior art keywords
- server
- setting
- setting information
- information
- synchronization
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、処理の負荷分散を管理する負荷分散装置を介して運用される分散サーバシステムにおいて負荷分散対象の分散サーバを、各分散サーバでそれぞれ保持される設定情報を同期させる設定情報同期装置として機能させるためのプログラムに関する。 The present invention is a configuration information synchronization device that synchronizes the configuration information held by each distribution server in a distribution server system that is operated via a load distribution device that manages processing load distribution. It relates to a program to make it function.
複数の分散サーバが負荷分散装置を介して運用される分散サーバシステムにおいて、負荷分散の対象である各分散サーバでは、例えばホストエミュレータとしての情報などの設定情報は同一でなければならない。従来、システムの導入時には、分散対象となるすべての分散サーバに対して手動で設定情報を配布して一致させる必要があり、また、運用時においても、設定情報の変更がある度に、手動で設定情報を配布して同期させる必要があった。 In a distributed server system in which a plurality of distributed servers are operated via a load balancer, setting information such as information as a host emulator must be the same in each distributed server that is the target of load distribution. Conventionally, when installing a system, it is necessary to manually distribute and match the setting information to all distributed servers that are to be distributed. It was necessary to distribute and synchronize the setting information.
そのため、分散処理システムにおいて、各分散処理装置の定義情報をリアルタイムで変更できるようにするために、定義情報を一元管理する管理装置を備えて、定義情報の変更指示部からの指示により定義情報の変更を同期的に制御して各分散処理装置に転送する方式が知られている(例えば、特許文献1)。
近年では、負荷分散装置を介して運用される分散サーバシステムの形態が増加し、システム構成の規模も大きくなっている。また、分散サーバの設定情報の変更が必要な状況も頻繁に生じるようになっているため、分散サーバシステムのクライアント側から設定情報を柔軟に変更できるような仕組みが要求されている。 In recent years, the form of a distributed server system operated via a load balancer has increased, and the scale of the system configuration has increased. In addition, since a situation in which the setting information of the distributed server needs to be changed frequently occurs, a mechanism that can flexibly change the setting information from the client side of the distributed server system is required.
しかし、負荷分散装置を介して運用されている分散サーバシステムでは、利用するクライアント側からシステムを構成する各分散サーバを直接指定して設定情報を配布することはできず、導入時をはじめ運用時の設定情報の変更が必要な度に、各分散サーバに設定情報を手作業によって配布しなければならない。そのため、システム構成が大きな場合には、多数の分散サーバへ設定情報を手作業で配布することは、作業負担が過大となるばかりでなく、誤作業を生じるおそれがある。 However, in a distributed server system operated via a load balancer, configuration information cannot be distributed by directly specifying each distributed server constituting the system from the client side to be used. Each time the configuration information needs to be changed, the configuration information must be distributed manually to each distributed server. For this reason, when the system configuration is large, manually distributing the setting information to a large number of distributed servers not only increases the work load but also may cause erroneous work.
また、分散サーバシステムではクライアントの要求は負荷分散装置で配布されるため、特許文献1のように、定義情報の一元管理装置を設けてクライアントの設定情報変更要求を一元的に管理する技術を適用することはできない。
In the distributed server system, since client requests are distributed by the load balancer, a technology for centrally managing client setting information change requests by applying a centralized management device for definition information as in
本発明の目的は、負荷分散を管理する負荷分散装置を介して運用される分散サーバシステムにおいて、分散サーバシステムを構成する各分散サーバでそれぞれ保持する設定情報を同期させる設定情報同期処理技術を提供することである。 An object of the present invention is to provide a setting information synchronization processing technique for synchronizing setting information held in each distributed server constituting a distributed server system in a distributed server system operated via a load balancing apparatus that manages load balancing. It is to be.
上記の目的を達成するため、本発明は、負荷分散を管理する負荷分散装置を介して運用される分散サーバシステムにおいて、前記分散サーバシステムを構成する分散サーバを、前記分散サーバそれぞれが保持する設定情報を同期させる設定情報同期装置として機能させるためのプログラムであって、前記設定情報同期装置は、1)前記設定情報を記憶する設定情報記憶手段と、2)前記分散サーバシステムを構成する1つのプライマリサーバと1または複数のセカンダリサーバとを指定するグループ情報を記憶するグループ情報記憶手段と、3)前記負荷分散装置から設定情報の設定要求を受信すると、前記グループ情報をもとに、自サーバがプライマリサーバまたはセカンダリサーバのいずれかに指定されているかを判定する判定手段と、4)設定情報同期手段を備える。 In order to achieve the above object, the present invention provides a distributed server system operated via a load balancer that manages load balancing, wherein each of the distributed servers holds a distributed server that constitutes the distributed server system. A program for functioning as a setting information synchronization device for synchronizing information, wherein the setting information synchronization device includes: 1) setting information storage means for storing the setting information; and 2) one of the distributed server system. Group information storage means for storing group information for designating a primary server and one or a plurality of secondary servers; 3) upon receiving a setting information setting request from the load balancer, Determining means for determining whether is designated as a primary server or a secondary server; ) Ru with the configuration information synchronization means.
前記設定情報同期手段は、自サーバがプライマリサーバである場合に、前記設定情報の設定要求を他のセカンダリの分散サーバへ通知し、前記設定情報を前記設定情報記憶手段に格納する処理を行い、自サーバがセカンダリサーバである場合に、前記設定情報の設定要求をプライマリサーバへ通知し、前記プライマリサーバから転送された設定情報を前記設定情報記憶手段に格納する処理を行う。 The setting information synchronization means performs processing for notifying the setting request for the setting information to other secondary distributed servers when the server is the primary server, and storing the setting information in the setting information storage means, When the own server is a secondary server, a setting request for the setting information is notified to the primary server, and the setting information transferred from the primary server is stored in the setting information storage means .
本発明では、分散サーバシステムを構成する各分散サーバに、同期すべき設定情報およびグループ情報が格納される。グループ情報は、分散サーバシステムで負荷分散の対象となる1つのプライマリサーバと1または複数のセカンダリサーバとを設定する情報である。 In the present invention, setting information and group information to be synchronized are stored in each distributed server constituting the distributed server system. The group information is information for setting one primary server and one or more secondary servers that are targets of load distribution in the distributed server system.
分散サーバシステムのクライアントが、分散サーバの設定情報の設定要求(または更新要求)を送信した場合に、分散サーバシステムを運用する負荷分散装置によって設定要求は、その時点の負荷状態によって分散サーバの1つに振り分けられる。振り分けられた分散サーバは、グループ情報記憶手段に記憶したグループ情報をもとに、自サーバがプライマリまたはセカンダリのいずれの指定であるかを判定する。 When a client of the distributed server system transmits a setting request (or update request) for the setting information of the distributed server, the setting request by the load balancer operating the distributed server system is changed according to the load status at that time. It is distributed to one. The distributed servers that have been distributed determine whether the local server is designated as primary or secondary based on the group information stored in the group information storage means.
判定の結果、自サーバがプライマリである場合には、設定情報の設定要求を他のセカンダリの分散サーバ(セカンダリサーバ)すべてへ直ちに配信し、受信した設定情報を設定情報記憶手段に格納する。 As a result of the determination, if the server is primary, the setting information setting request is immediately distributed to all other secondary distributed servers (secondary servers), and the received setting information is stored in the setting information storage means.
一方、判定の結果、自サーバがセカンダリである場合には、設定情報を参照して、設定情報の設定要求をプライマリの分散サーバ(プライマリサーバ)へ転送する。プライマリサーバでは、転送された設定情報の設定要求を受信し、他のセカンダリサーバへ即時に配信する。そして、セカンダリサーバでは、プライマリサーバから受信した設定情報の設定要求を設定情報記憶手段に格納する。 On the other hand, as a result of the determination, if the server is secondary, the setting information setting request is transferred to the primary distributed server (primary server) with reference to the setting information. The primary server receives the transferred setting information setting request and immediately distributes it to the other secondary servers. Then, the secondary server stores the setting information setting request received from the primary server in the setting information storage means.
このように、クライアントから送信された設定情報の設定要求は負荷分散装置により分散サーバシステムのいずれかの分散サーバに配信されるため、配信先を指定して要求することはできない。そこで、本発明では、設定情報の設定要求はすべて、いったんプライマリサーバへ通知され、その後、プライマリサーバから、他のセカンダリサーバへ通知されるようにする。これにより、負荷分散装置により運用される分散サーバシステムにおいても、グループ情報に設定されたすべての分散サーバに対して設定情報の設定要求(または更新要求)が通知され、設定情報の同期を行うことができる。 As described above, since the setting information setting request transmitted from the client is distributed to one of the distributed servers in the distributed server system by the load distribution device, it cannot be requested by specifying the distribution destination. Therefore, in the present invention, all setting information setting requests are once notified to the primary server, and then notified from the primary server to other secondary servers. As a result, even in the distributed server system operated by the load balancer, the setting information setting request (or update request) is notified to all the distributed servers set in the group information, and the setting information is synchronized. Can do.
さらに、本発明は、自サーバがプライマリサーバである場合に、前記グループ情報の設定要求を受信すると、前記グループ情報の設定要求を他のセカンダリサーバへ通知し、前記グループ情報を前記グループ情報記憶手段に格納する処理を行い、自サーバがセカンダリサーバである場合に、前記グループ情報の設定要求を受信すると、前記グループ情報の設定要求をプライマリサーバへ通知し、前記プライマリサーバから転送されたグループ情報を前記グループ情報記憶手段に格納する処理を行うグループ情報同期手段とを備える。 Further, in the present invention, when the own server is a primary server, when the group information setting request is received, the group information setting request is notified to the other secondary server when the group information setting request is received. When the local server is a secondary server and receives the group information setting request, the group information setting request is notified to the primary server, and the group information transferred from the primary server is received. Ru and a group information synchronization means for performing a process of storing the group information storage means.
これにより、グループの構成に変更があった場合でも、自動的にグループ情報を配布して同期をとることができる。As a result, even when there is a change in the group configuration, the group information can be automatically distributed and synchronized.
これにより、例えば、分散サーバが追加されることによって分散サーバシステムの構成が変更された場合でも、グループ情報や設定情報の同期を、情報の設定要求の配布によって即時かつ自動的に行うことができる。 Thereby, for example, even when the configuration of the distributed server system is changed by adding a distributed server, the group information and the setting information can be synchronized immediately and automatically by distributing the information setting request. .
本発明によれば、負荷分散装置を介して運用される分散サーバシステムにおいて、クライアント側のアプリケーションから設定情報の設定要求を渡された分散サーバがプライマリサーバである場合には、この設定要求を他のセカンダリサーバへ即時に配布する。また、設定情報の設定要求を渡された分散サーバがセカンダリサーバである場合には、プライマリサーバへ設定情報の設定要求を必ず転送し、プライマリサーバから他のセカンダリサーバへ設定情報の設定要求を即時に配布することができる。 According to the present invention, in the distributed server system operated via the load balancer, when the distributed server to which the setting information setting request is passed from the client-side application is the primary server, To the secondary server immediately. If the distributed server to which the setting information setting request is passed is a secondary server, the setting information setting request must be transferred to the primary server, and the setting information setting request is immediately sent from the primary server to another secondary server. Can be distributed to.
そのため、クライアントから送信された設定情報の同期を自動的に行うことができ、導入時の設定情報の設定、運用時の設定情報の変更など、手作業による情報設定/変更処理をなくすことができる。特に、大規模な分散サーバシステムにおいては、情報の同期に関する作業負担の軽減に著しい効果を奏する。 Therefore, it is possible to automatically synchronize the setting information sent from the client, and it is possible to eliminate manual information setting / change processing such as setting of setting information at the time of introduction and change of setting information at the time of operation. . In particular, in a large-scale distributed server system, there is a significant effect in reducing the work load related to information synchronization.
また、負荷分散装置の運用環境を変更することなく、クライアントから設定情報の設定要求を受け付けることができる。よって、クライアントは、分散サーバの設定情報の変更を容易かつ柔軟に行うことができ、分散サーバシステムの利用性の向上が期待できる。 In addition, a setting information setting request can be received from a client without changing the operating environment of the load balancer. Therefore, the client can easily and flexibly change the setting information of the distributed server, and improvement in the usability of the distributed server system can be expected.
また、変更された情報が即時に同期されるため、分散サーバシステムの環境設定のミスマッチを意識する必要がなくなるため、情報の信頼性が向上する。 In addition, since the changed information is immediately synchronized, it is not necessary to be aware of the mismatch in the environment settings of the distributed server system, so that the reliability of the information is improved.
また、本発明によれば、グループ情報の設定要求を、分散サーバシステムのプライマリサーバだけでなく、セカンダリサーバでも受信することができる。これにより、プライマリサーバの負荷が大きい状態や通信エラー状態などの場合でも、管理者はプライマリサーバの復旧を待たずにグループ情報の設定要求を行うことができるため、サーバ−クライアント間の接続の自由度が増し、また、管理者の負担を軽減することができる。 Further, according to the present invention, the group information setting request can be received not only by the primary server of the distributed server system but also by the secondary server. This allows the administrator to make a group information setting request without waiting for recovery of the primary server even when the load on the primary server is high or a communication error occurs. The degree is increased and the burden on the administrator can be reduced.
図1は、本発明の実施の形態における構成例を示す図である。 FIG. 1 is a diagram showing a configuration example in the embodiment of the present invention.
Webサーバ1(1a、1b)は、負荷分散装置2を介して運用される分散サーバシステム10を構成する、負荷分散の対象となるコンピュータである。 The Web server 1 (1a, 1b) is a computer that is a target of load distribution that constitutes the distributed server system 10 operated via the load distribution device 2.
負荷分散装置2は、クライアントであるコンピュータに備えられたWebクライアントアプリケーション3から送信される分散サーバシステム10への要求を受信し、Webサーバ1aおよびWebサーバ1bの処理負荷を監視して、処理負荷の低いWebサーバへ受信した要求を振り分けて負荷分散を管理するコンピュータ、ルータなどの装置である。
The load distribution device 2 receives a request to the distributed server system 10 transmitted from the
Webクライアントアプリケーション3は、分散サーバシステム10の利用者が使用するコンピュータに備えられ、分散サーバシステム10の導入時または運用中に、Webサーバ1a、1bで保持される設定情報の設定要求を送信する処理手段として機能する、Webブラウザなどのプログラムである。
The
設定情報は、分散サーバシステム10において負荷分散の対象となるすべてのWebサーバ1に保持される情報であり、例えば、接続先ホスト名、画面構成や表示フォント、マクロなどホストエミュレータとしての情報などである。
The setting information is information held in all the
管理ツール4は、クライアントであるコンピュータに備えられ、分散サーバシステム10のグループ情報を生成し、グループ情報の設定要求や同期要求などをWebサーバ1a、1bへ送信する処理手段として機能するプログラムである。
The
グループ情報は、分散サーバシステム10を構成する分散サーバとして、1つのプライマリサーバ(Webサーバa)と、1または複数のセカンダリサーバ(Webサーバb)とを指定する情報である。本例では、グループ情報に、Webサーバ1a=プライマリ、Webサーバ1b=セカンダリと設定されているとする。
The group information is information that designates one primary server (Web server a) and one or a plurality of secondary servers (Web server b) as distributed servers constituting the distributed server system 10. In this example, it is assumed that the
Webサーバ1a、1bは、それぞれ、設定情報同期処理部11a、11b、同期管理部13a、13b、情報記憶部15a、15b、Webサーバエンジン17a、17b、CGI(Common Gateway Interface)19a、19bを備える。 Webサーバ1a/1bでは、設定情報同期処理部11a/11bと同期管理部13a/13bとによって、設定情報の同期処理が実現される。
The
Webサーバ1aの設定情報同期処理部11aは、グループ情報の設定要求を受信すると、情報記憶部15aに格納されたグループ情報をもとに、自サーバがプライマリまたはセカンダリのいずれに指定されているかを判定し、自サーバがプライマリであるので、受信したグループ情報の設定要求をWebサーバ1b(セカンダリ)へ通知し、受信したグループ情報を情報記憶部15aへ格納する処理手段として機能するプログラムである。
When receiving the group information setting request, the setting information
なお、設定情報同期処理部11a、11bは、例えば、CGI、ISAPI(Internet Server Application Program Interface)などのインタフェースに対応するプログラムである。
The setting information
同期管理部13aは、設定情報同期処理部11aがグループ情報の設定要求を受信した場合、または設定情報の設定要求を受信した場合に、情報の同期処理状態を管理するプログラムである。また、自サーバがプライマリであるので、受信した設定情報の設定要求をWebサーバ1b(セカンダリ)へ通知し、設定情報を情報記憶部15aへ格納する。また、同期管理部13aは、グループ情報の設定後または管理ツール4からの要求により、情報記憶部15aに格納されたすべての設定情報を一括してWebサーバ1b(セカンダリ)へ送信する。
The
情報記憶部15aは、グループ情報および設定情報を記憶する手段である。
The
Webサーバエンジン17aは、HTTPプロトコルを介したWebクライアントアプリケーション3からの要求に応じて、HTMLで記述されたWebサーバ1a内のドキュメントをWebクライアントアプリケーション3へ送信するプログラムである。
The Web server engine 17a is a program that transmits a document in the
CGI19aは、Webクライアントアプリケーション3からの入力に応じて処理を行うプログラムである。CGI19aは、設定情報の設定要求を同期管理部13aへ通知する。また、受信した設定情報を情報記憶部15aへ格納する処理を行ってもよい。
The
また、Webサーバ1bの設定情報同期処理部11bは、自サーバがセカンダリであるので、受信したグループ情報の設定要求をプライマリのWebサーバ1aへ通知する。
The setting information
また、同期管理部13bは、自サーバがセカンダリであるので、受信した設定情報の設定要求をプライマリのWebサーバ1aへ通知する。
Further, since the server itself is a secondary server, the
まず、図1および図2を用いて、Webクライアントアプリケーション3から設定情報の変更要求があった場合の処理動作の概要を説明する。
First, the outline of the processing operation when there is a setting information change request from the
ステップS1:Webクライアントアプリケーション3からWebサーバ1へ情報が到着する。例えば、分散サーバシステム10の運用中、分散サーバの設定を変更するために、Webクライアントアプリケーション3から設定情報の設定要求が、分散サーバシステム10を運用する負荷分散装置2へ送信される。負荷分散装置2は、分散サーバ1a、1bのうち、負荷が低いサーバへ設定情報の設定要求を送信する。
Step S1: Information arrives from the
ステップS3:設定情報の設定要求を受信したWebサーバがプライマリサーバであるか否かを判定する。受信したWebサーバ1の設定情報同期処理部11は、情報記憶部15のグループ情報を参照して、自サーバがプライマリサーバであるか否かを判定する。自サーバがプライマリサーバでなければステップS5の処理を行い、プライマリサーバであれば、ステップS7の処理を行う。
Step S3: It is determined whether or not the Web server that has received the setting information setting request is a primary server. The received setting information synchronization processing unit 11 of the
ステップS5:プライマリサーバへ設定情報を転送する。同期管理部13は、グループ情報を参照してプライマリのWebサーバ1(1a)を特定し、設定情報の設定要求を転送する。 Step S5: Transfer the setting information to the primary server. The synchronization management unit 13 refers to the group information, identifies the primary Web server 1 (1a), and transfers a setting information setting request.
ステップS7:セカンダリサーバへ同期する情報を送信する(マルチタスク処理)。同期管理部13は、グループ情報を参照して、セカンダリのWebサーバ1(1b)のすべてに対し、設定情報の設定要求を送信する。 Step S7: Information to be synchronized is transmitted to the secondary server (multitask process). The synchronization management unit 13 refers to the group information and transmits a setting information setting request to all of the secondary Web servers 1 (1b).
このように、Webクライアントアプリケーション3からの設定情報の設定要求が、どのWebサーバ1ヘ到着しても、必ずプライマリに指定された分散サーバ1aへ転送され、Webサーバ1aから、すべてのセカンダリの分散サーバ1bへ設定情報が配信されて設定情報の即時同期が行われる。
In this way, regardless of which
次に、同図を用いてクライアントの管理ツール4からグループ情報の設定または変更の要求があった場合の処理動作の概要を説明する。
Next, the outline of the processing operation when there is a request for setting or changing group information from the
ステップS1:Webクライアントアプリケーション3からWebサーバ1へ情報が到着する。例えば、分散サーバシステム10の導入時に、負荷分散の対象となる分散サーバを指定したグループ情報の設定要求が、管理ツール4からWebサーバ1aへ送信される。
ステップS3:グループ情報の設定要求を受信したWebサーバがプライマリサーバであるか否かを判定する。受信したWebサーバ1の設定情報同期処理部11は、情報記憶部15のグループ情報を参照して、自サーバがプライマリサーバであるか否かを判定し、プライマリサーバでなければステップS5の処理を行い、プライマリサーバであればステップS7の処理を行う。
Step S1: Information arrives from the
Step S3: It is determined whether or not the Web server that has received the group information setting request is a primary server. The received setting information synchronization processing unit 11 of the
ステップS5:プライマリサーバへ設定情報を転送する。設定情報同期処理部11は、グループ情報を参照してプライマリのWebサーバ1(1a)を特定し、設定情報の設定要求を転送する。 Step S5: Transfer the setting information to the primary server. The setting information synchronization processing unit 11 refers to the group information, identifies the primary Web server 1 (1a), and transfers a setting information setting request.
ステップS7:セカンダリサーバへ同期する情報を送信する(マルチタスク処理)。設定情報同期処理部11は、グループ情報を参照して、セカンダリのWebサーバ1(1b)のすべてに対し、グループ情報を送信する。 Step S7: Information to be synchronized is transmitted to the secondary server (multitask process). The setting information synchronization processing unit 11 refers to the group information and transmits the group information to all of the secondary Web servers 1 (1b).
そして、グループ情報の同期が終了すると、同期管理部13は、情報記憶部15の全設定情報を圧縮した設定情報一括ファイルを生成し、セカンダリのWebサーバ1(1b)すべてへ送信し、グループ情報および設定情報の同期が行われる。 When the synchronization of the group information is completed, the synchronization management unit 13 generates a setting information batch file in which all the setting information in the information storage unit 15 is compressed, and transmits it to all the secondary Web servers 1 (1b). And the setting information is synchronized.
このように、通常では、グループ情報の設定変更はプライマリのWebサーバ1aへ送信されるが、セカンダリのWebサーバ1bヘグループ情報の設定要求が到着しても、必ずプライマリのWebサーバ1aへ転送され、Webサーバ1aから、すべてのセカンダリの分散サーバ1bへグループ情報が配信され、設定情報の一括同期が行われる。
As described above, the group information setting change is normally transmitted to the
図3に、分散サーバシステム10を構成する分散サーバ1を登録するための画面例を示す。
FIG. 3 shows an example of a screen for registering the distributed
図3(A)は、Webサーバ1を個々に登録する登録画面例を示す図である。登録画面には、Webサーバ1の位置情報(URL)と、プライマリまたはセカンダリのいずれのサーバとして動作するかの指定を入力するフィールドが設けられる。
FIG. 3A is a diagram illustrating an example of a registration screen for individually registering the
図3(B)は、図3(A)の登録画面で登録されたWebサーバのグループ情報の編集画面例を示す図である。編集画面上で、グループの構成一覧からWebサーバ1が選択され、「追加、削除、または変更」のボタンが選択されると、管理ツール4によって、選択したWebサーバ1をグループ情報に追加、削除し、または登録内容が変更される。
FIG. 3B is a diagram illustrating an example of an editing screen for group information of a Web server registered on the registration screen of FIG. When the
また、編集画面で「同期処理」のボタンが選択されると、プライマリのWebサーバ1aの同期管理部13aにより設定情報の一括同期の処理が行われる。
When the “synchronization process” button is selected on the editing screen, the
図4に、グループ情報の例を示す。グループ情報の各キータイプは、SV0〜SV3の4つのWebサーバ1が負荷分散の対象となる1グループを構成し、SV0のWebサーバ1がプライマリとして指定されていることを示す。
FIG. 4 shows an example of group information. Each key type of the group information indicates that the four
グループ情報の各キータイプの意味を以下に示す。 The meaning of each key type of group information is shown below.
[ServerGroup]:グループに関する設定、
Count=同期対象のサーバ数を指定、
Primary=プライマリとなるWebサーバのサーバ番号を指定、
[SVxx]:各Webサーバに関する設定、
URL=セクションで指定したWebサーバのURL(実IPアドレス)、
Enable=同期の有無(同期なし(0)、同期あり(1))の指定、
Desc=Webサーバの説明(省略可)、
GUID=Webサーバを一意に識別する情報
以下に、本実施例における発明のより詳細な処理シーケンスを説明する。ここで、グループ情報には3つのWebサーバが登録され、Webサーバ1aがプライマリ、Webサーバ1b、1cがセカンダリと指定されているとする。
[ServerGroup]: Settings related to groups
Count = number of servers to be synchronized
Primary = Specify the server number of the primary Web server,
[SVxx]: settings for each Web server,
URL = URL (real IP address) of the Web server specified in the section,
Enable = Specify presence / absence of synchronization (no synchronization (0), synchronization (1)),
Desc = Description of Web server (can be omitted),
GUID = information for uniquely identifying a Web server Hereinafter, a more detailed processing sequence of the invention in this embodiment will be described. Here, it is assumed that three Web servers are registered in the group information, and the
図5は、設定情報の設定要求をWebサーバ1a(以下、プライマリサーバa)が受信した場合のシーケンス図である。
FIG. 5 is a sequence diagram when the
(a) プライマリサーバaのCGI19は、Webクライアントアプリケーション3から設定情報の設定要求(アップロード要求)を受信する。そして、受信した設定情報を情報記憶部15aに格納し、Webクライアントアプリケーション3へ結果「OK」を応答する。同期管理部13は、「同期中フラグ=オン」に設定する。
(A) The CGI 19 of the primary server a receives a setting information setting request (upload request) from the
図6(A)にアップロード要求の例、および図6(B)にアップロード要求の結果応答の例を示す。これらのデータは、HTTPプロトコルで送信される。 FIG. 6A shows an example of an upload request, and FIG. 6B shows an example of a result response of the upload request. These data are transmitted by the HTTP protocol.
図6(A)のアップロード要求は、「cmd=サーバの操作コマンド、値の例(upload)、head=送受信ファイル名、ファイルの作成時刻などの指定、from=送信元(Webクライアントアプリケーション3からの送信では値=なし)、data=バイナリ形式のデータ本体(ここでは設定情報のデータ)」で構成されている。図6(B)の結果応答は、「rsp=応答を示す、code=結果を示すコード(0=正常、その他=エラーコード)」で構成されている。 The upload request in FIG. 6A is “cmd = server operation command, value example (upload), head = send / receive file name, file creation time, etc., from = sender (from Web client application 3) Value = none in transmission), data = binary data body (in this case, setting information data) ”. The result response of FIG. 6B is configured by “rsp = response indicating code = code indicating result (0 = normal, other = error code)”.
なお、アップロード要求のcmdまたはheadの記述を変えることにより、ファイルの削除、フォルダの作成などの同期をとるためのサーバ操作のすべてに対応することが可能である。 It should be noted that by changing the description of cmd or head in the upload request, it is possible to cope with all server operations for synchronization such as file deletion and folder creation.
(b) CGI19aは、同期管理部13aへ設定情報のアップロード要求を渡し、同期管理部13aは、アップロード要求を受け付けると、結果「受付」を応答する。
(B) The
同期管理部13aへのアップロード要求のデータ構成例は、図6に示すデータと同様であるが、データの転送にはメールスロットなどのプロセス間通信手段を用いてもよい。
The data configuration example of the upload request to the
(c) 同期管理部13aは、情報記憶部15aのグループ情報を参照して、すべてのセカンダリのWebサーバ1b、1c(以下、セカンダリサーバb、c)ヘ設定情報のアップロード要求を配布して、即時同期を実行する。
(C) The
配布先のセカンダリサーバb、cでは、それぞれ、情報記憶部15b、15cのグループ情報を参照して、受信したアップロード要求のheadをもとに要求元が同一グループのプライマリサーバaであることを確認し、受信した設定情報を情報記憶部15b、15cに格納する。
The distribution destination secondary servers b and c refer to the group information in the
プライマリサーバaの同期管理部13aは、配布先のセカンダリサーバb、cから、送信状態「完了」が応答されたら、同期中フラグ=オフに設定して通常の運用状態へ戻る。
When the transmission state “complete” is responded from the distribution destination secondary servers b and c, the
図7に、セカンダリサーバへ配布する設定情報のデータ構成例を示す。図7の設定情報の構成は、図6に示すデータと同様であるが、アップロード要求の「from」に送信元のサーバ情報として、プライマリサーバaの識別情報が格納される。 FIG. 7 shows a data configuration example of the setting information distributed to the secondary server. The configuration of the setting information in FIG. 7 is the same as the data shown in FIG. 6, but the identification information of the primary server a is stored as “server” of the transmission source in “from” of the upload request.
図8は、設定情報の設定要求をセカンダリサーバcが受信した場合のシーケンス図である。 FIG. 8 is a sequence diagram when the secondary server c receives a setting information setting request.
(a) セカンダリサーバcのCGI19cは、Webクライアントアプリケーション3から設定情報の設定要求(アップロード要求)を受信する。CGI19cは、同期管理部13cヘアップロード要求を通知し、同期管理部13cは、アップロード要求を受け付けると、情報記憶部15cのグループ情報を参照して、受け付けたアップロード要求をプライマリサーバaへ転送する。
(A) The CGI 19 c of the secondary server c receives a setting information setting request (upload request) from the
プライマリサーバaのCGI19aは、転送されたアップロード要求を受信すると、受信した設定情報を情報記憶部15aに格納する。そして、送信元のセカンダリサーバcへ結果「OK」を応答する。同期管理部13aは、同期中フラグ=オンに設定する。
Upon receiving the transferred upload request, the
セカンダリサーバcの同期管理部13cは、プライマリサーバaからの結果応答を受信すると、Webクライアントアプリケーション3ヘ結果「OK」を応答する。
When receiving the result response from the primary server a, the synchronization management unit 13c of the secondary server c responds with the result “OK” to the
(b) プライマリサーバaのCGI19aは、同期管理部13aへアップロード要求を渡す。
(B) The
(c) 同期管理部13aは、グループ情報を参照して、すべてのセカンダリサーバb、cヘアップロード要求を配布して、即時同期を実行する。セカンダリサーバb、cでは、情報記憶部15b、15cに格納するグループ情報を参照して、アップロード要求がプライマリサーバaからのものであることを確認し、受信した設定情報を情報記憶部15b、15cに格納する。
(C) The
また、プライマリサーバaの同期管理部13aは、配布先のセカンダリサーバb、cから、送信状態「完了」が応答されたら、同期中フラグ=オフに設定して通常の運用状態へ戻る。
Further, when the transmission status “completed” is responded from the distribution destination secondary servers b and c, the
図9は、グループ情報の設定要求をプライマリサーバaが受信した場合のシーケンス図である。 FIG. 9 is a sequence diagram when the primary server a receives a group information setting request.
(a) Webクライアントの管理ツール4は、グループを構成するすべてのWebサーバa、b、cに対し、GUIDを依頼する。各Webサーバa、b、cは、それぞれ、Macアドレス、現在時刻などをもとに自サーバを一意に識別できるGUIDを生成して管理ツール4に応答する。
(A) The Web
(b) その後、管理ツール4はグループ情報を生成し保存する。
(B) Thereafter, the
(c) プライマリサーバaの設定情報同期処理部11aは、管理ツール4からグループ情報の設定要求(グループ情報アップロード要求)を受信する。
(C) The setting information
受信したグループ情報を参照し、グループ情報に設定されたプライマリサーバのGUIDと自サーバのGUIDとを照合し、GUIDが一致した場合に、「プライマリ」として動作を行う。そして、同期管理部13aは、「更新中フラグ=オン」に設定する。また、設定情報同期処理部11aは、受信したグループ情報を情報記憶部15aに格納し、管理ツール4ヘ状態「更新中」を応答し、グループ情報を参照してセカンダリサーバb、cに対してグループ情報を配布する。
The received group information is referred to, the GUID of the primary server set in the group information is compared with the GUID of the own server, and if the GUID matches, the operation is performed as “primary”. Then, the
セカンダリサーバb、cは、それぞれ、グループ情報を情報記憶部11b、11cに格納し、配布応答を返却する。プライマリサーバaの設定情報同期処理部11aは、セカンダリサーバb、cから配布応答を受信したら、同期管理部13は、同期中フラグ=オフに設定して処理が完了する。
Secondary servers b and c store group information in
なお、管理ツール4はモニタリング機能を備える。管理ツール4が、同期状態要求(GetStatus)を発した場合に状態「更新中」を応答し、同期中フラグ=オフである場合には、状態「更新完了」を応答する。
The
同期状態要求の応答として、例えば、未実施、同期完了、同期中、サーバ設定更新中、無効、エラーなどが設定されている。 As a response to the synchronization status request, for example, incomplete, synchronization completed, in synchronization, server setting update, invalid, error, etc. are set.
図10は、グループ情報の設定要求をセカンダリサーバcが受信した場合のシーケンス図である。 FIG. 10 is a sequence diagram when the secondary server c receives a group information setting request.
(a) 管理ツール4は、グループを構成するすべてのWebサーバa、b、cに対し、GUIDを依頼する。各Webサーバa、b、cは、GUIDを生成して管理ツール4に応答する。
(A) The
(b) その後、管理ツール4はグループ情報を生成し保存する。
(B) Thereafter, the
(c) セカンダリサーバcの設定情報同期処理部11cは、管理ツール4からグループ情報の設定要求(グループ情報アップロード要求)を受信する。受信したグループ情報を参照し、グループ情報のGUIDと自サーバのGUIDとを照合し、自GUIDがセカンダリに登録されていれば、「セカンダリ」として動作を行う。そして、設定情報同期処理部11cは、受信したグループ情報アップロード要求をグループ情報を参照してプライマリサーバaへ転送する。
(C) The setting information synchronization processing unit 11 c of the secondary server c receives a group information setting request (group information upload request) from the
プライマリサーバaの設定情報同期処理部11aは、受信したグループ情報を参照し、グループ情報に設定されたプライマリサーバのGUIDと自サーバのGUIDとを照合し、GUIDが一致した場合に、「プライマリ」として動作を行う。そして、同期管理部13aは、「更新中フラグ=オン」に設定する。
The setting information
また、設定情報同期処理部11aは、受信したグループ情報を情報記憶部15aに格納し、管理ツール4ヘ状態「更新中」を応答し、グループ情報に指定されているセカンダリサーバb、cに対してグループ情報アップロード要求を配布する。
In addition, the setting information
セカンダリサーバb、cは、グループ情報を各情報記憶部15b、15cに格納し、配布応答を返却する。プライマリサーバaの設定情報同期処理部11aは、セカンダリサーバb、cから配布応答を受信したら、同期管理部13は、同期中フラグ=オフに設定して処理が完了する。
The secondary servers b and c store the group information in the
図11は、プライマリサーバaの設定情報を一括して同期する場合のシーケンス図である。 FIG. 11 is a sequence diagram when the setting information of the primary server a is synchronized in a lump.
(a) 図3(B)に示す画面において同期処理のボタンが選択され、管理ツール4から同期要求が送信されると、プライマリサーバaの設定情報同期処理部11aは、受信した同期要求を同期管理部13aへ渡す。同期管理部13aは、同期要求の「受付」を応答し、設定情報同期処理部11aは、その同期応答を管理ツール4へ送信する。また、同期管理部13aは、同期中フラグ=オンに設定する。
(A) When the synchronization processing button is selected on the screen shown in FIG. 3B and a synchronization request is transmitted from the
同期要求のデータ構成は、「cmd=syncreq」と同期対象となるセカンダリサーバの指定とで構成されている。 The data structure of the synchronization request includes “cmd = syncreq” and designation of a secondary server to be synchronized.
(b) 同期管理部13aは、情報記憶部15aに格納している設定情報すべてを取り出して圧縮し設定情報イメージを作成する。そして、グループ情報を参照して、同期要求で指定されたセカンダリサーバb、cを取得し、取得したセカンダリサーバb、cへ設定情報イメージの同期要求を送信する。
(B) The
図12(A)に同期要求の例、および図12(B)に同期要求の結果応答の例を示す。これらのデータは、所定のプロトコルで送信される。 FIG. 12A shows an example of a synchronization request, and FIG. 12B shows an example of a result response of the synchronization request. These data are transmitted by a predetermined protocol.
図12(A)の同期要求は、「cmd=サーバの操作コマンド、値の例(syncdata)、head=送受信ファイル名、ファイルの作成時刻などの指定、from=送信元の情報(プライマリサーバ)、data=設定情報イメージのデータ本体」で構成されている。図12(B)同期要求の結果応答は、「rsp=応答を示す、code=結果を示すコード(0=正常、その他=エラーコード)」で構成されている。 The synchronization request in FIG. 12A includes “cmd = server operation command, value example (syncdata), head = transmission / reception file name, designation of file creation time, etc., from = transmission source information (primary server), data = setting information image data body ”. The result response of the synchronization request shown in FIG. 12B includes “rsp = response indicating code = result indicating code (0 = normal, other = error code)”.
同期要求を受信したセカンダリサーバb、cは、圧縮された設定情報一括データを解凍し、それぞれ情報記憶部15b、15cヘ格納し、同期「完了」をプライマリサーバaへ送信する。プライマリサーバaの同期管理部13aは、同期対象となっているすべてのセカンダリサーバから同期「完了」の応答を受信すると、同期中フラグ=オフに設定して、通常の運用状態に切り替える。
Receiving the synchronization request, the secondary servers b and c decompress the compressed setting information batch data, store them in the
なお、プライマリサーバaにより、グループ情報アップロード要求が行われた後、続けて、図11の(b)のシーケンスで同期処理を行うようにしてもよい。 Note that after the group information upload request is made by the primary server a, the synchronization processing may be performed in the sequence of FIG. 11B.
例えば、グループに新しい分散サーバ1dがセカンダリに指定されて追加された場合に、分散サーバ1d(セカンダリサーバd)の設定を追加したグループ情報の設定要求が管理ツール4からプライマリサーバaへ送信されると、プライマリサーバaは、図9に示す(a)〜(c)のシーケンスによってグループ情報を配布し、その後直ちに、図11の(b)のシーケンスを行う。既にグループに登録されているセカンダリサーバb、cの同期状態は「完了」であり、新たに追加されたセカンダリサーバdの同期状態は「未実施」となっているので、プライマリサーバaは、同期状態が「未実施」のセカンダリサーバdを同期対象として同期処理を行う。
For example, when a new distributed server 1d is designated as the secondary and added to the group, a group information setting request to which the setting of the distributed server 1d (secondary server d) is added is transmitted from the
このように、本発明によれば、Webクライアントアプリケーション3から送信された設定情報の同期を自動的に行うことができ、グループ情報の設定や更新、これに伴う設定情報の同期も自動的に行うことができる。また、変更された情報が即時に同期されるため、分散サーバシステムの環境設定のミスマッチを意識する必要がなくなるため、情報の信頼性が向上する。
As described above, according to the present invention, it is possible to automatically synchronize the setting information transmitted from the
以上、本発明をその実施の形態により説明したが、本発明はその主旨の範囲において種々の変形が可能であることは当然である。 As mentioned above, although this invention was demonstrated by the embodiment, it cannot be overemphasized that a various deformation | transformation is possible for this invention in the range of the main point.
また、本発明は、コンピュータにより読み取られ実行される処理プログラムとして実施するものとして説明したが、本発明を実現する処理プログラムは、コンピュータが読み取り可能な、可搬媒体メモリ、半導体メモリ、ハードディスクなどの適当な記録媒体に格納することができ、これらの記録媒体に記録して提供され、または、通信インタフェースを介して種々の通信網を利用した送受信により提供されるものである。 Further, although the present invention has been described as being implemented as a processing program that is read and executed by a computer, the processing program that implements the present invention is a computer-readable portable medium memory, semiconductor memory, hard disk, etc. It can be stored in an appropriate recording medium, provided by being recorded on these recording media, or provided by transmission / reception using various communication networks via a communication interface.
本発明の形態および実施例の特徴を列記すると以下のとおりである。 The features of the embodiments and examples of the present invention are listed as follows.
(付記1) 負荷分散を管理する負荷分散装置を介して運用される分散サーバシステムにおいて、前記分散サーバシステムを構成する分散サーバを、前記分散サーバそれぞれが保持する設定情報を同期させる設定情報同期装置として機能させるためのプログラムであって、
前記設定情報同期装置は、
前記設定情報を記憶する設定情報記憶手段と、
前記分散サーバシステムを構成する1つのプライマリサーバと1または複数のセカンダリサーバとを指定するグループ情報を記憶するグループ情報記憶手段と、
前記負荷分散装置から設定情報の設定要求を受信すると、前記グループ情報をもとに、自サーバがプライマリサーバまたはセカンダリサーバのいずれかに指定されているかを判定する判定手段と、
自サーバがプライマリサーバである場合に、前記設定情報の設定要求を他のセカンダリの分散サーバへ通知し、前記設定情報を前記設定情報記憶手段に格納する設定情報同期手段を備える
ことを特徴とする設定情報同期プログラム。
(Supplementary Note 1) In a distributed server system operated via a load balancer that manages load balancing, a setting information synchronization device that synchronizes the setting information held by each of the distributed servers with the distributed server that constitutes the distributed server system Is a program for functioning as
The setting information synchronization device includes:
Setting information storage means for storing the setting information;
Group information storage means for storing group information for designating one primary server and one or more secondary servers constituting the distributed server system;
When receiving a setting information setting request from the load balancer, based on the group information, determining means for determining whether the local server is designated as a primary server or a secondary server;
When the local server is a primary server, it comprises setting information synchronization means for notifying a setting request for the setting information to another secondary distributed server and storing the setting information in the setting information storage means. Setting information synchronization program.
(付記2) 前記付記1に記載の設定情報同期プログラムにおいて、
前記設定情報同期装置は、
自サーバがプライマリサーバである場合に、前記グループ情報の設定要求を受信すると、前記グループ情報の設定要求を他のセカンダリサーバへ通知し、前記グループ情報を前記グループ情報記憶手段に格納するグループ情報同期手段とを備える
ことを特徴とする設定情報同期プログラム。
(Supplementary note 2) In the setting information synchronization program described in the
The setting information synchronization device includes:
When the own server is a primary server, when receiving the group information setting request, the group information synchronization request for notifying the group information setting request to another secondary server and storing the group information in the group information storage means And a setting information synchronization program.
(付記3) 前記付記2に記載の設定情報同期プログラムにおいて、
前記グループ情報同期手段は、前記設定要求されたグループ情報をもとに、プライマリサーバが保持する設定情報と同一の設定情報を保持していないセカンダリサーバを検出した場合に、前記検出されたセカンダリサーバに対して自サーバの設定情報記憶手段に格納されている全設定情報を転送する
ことを特徴とする設定情報同期プログラム。
(Supplementary note 3) In the setting information synchronization program described in the supplementary note 2,
When the group information synchronization unit detects a secondary server that does not hold the same setting information as the setting information held by the primary server based on the group information requested for setting, the detected secondary server A setting information synchronization program for transferring all setting information stored in the setting information storage means of the own server.
(付記4) 負荷分散を管理する負荷分散装置を介して運用される分散サーバシステムにおいて、前記分散サーバシステムを構成する分散サーバを、前記分散サーバそれぞれが保持する設定情報を同期させる設定情報同期装置として機能させるためのプログラムであって、
前記設定情報同期装置は、
前記設定情報を記憶する設定情報記憶手段と、
前記分散サーバシステムを構成する1つのプライマリサーバと1または複数のセカンダリサーバとを指定するグループ情報を記憶するグループ情報記憶手段と、
前記負荷分散装置から設定情報の設定要求を受信すると、前記グループ情報をもとに、自サーバがプライマリサーバまたはセカンダリサーバのいずれかに指定されているかを判定する判定手段と、
自サーバがセカンダリサーバである場合に、前記設定情報の設定要求をプライマリサーバへ通知し、前記プライマリサーバから転送された設定情報を前記設定情報記憶手段に格納する設定情報同期手段を備える
ことを特徴とする設定情報同期プログラム。
(Supplementary Note 4) In a distributed server system operated via a load distribution device that manages load distribution, a setting information synchronization device that synchronizes the setting information held by each of the distributed servers with the distributed server that constitutes the distributed server system Is a program for functioning as
The setting information synchronization device includes:
Setting information storage means for storing the setting information;
Group information storage means for storing group information for designating one primary server and one or more secondary servers constituting the distributed server system;
When receiving a setting information setting request from the load balancer, based on the group information, determining means for determining whether the local server is designated as a primary server or a secondary server;
When the local server is a secondary server, it comprises a setting information synchronization means for notifying the primary server of a setting request for the setting information and storing the setting information transferred from the primary server in the setting information storage means. Setting information synchronization program.
(付記5) 前記付記4に記載の設定情報同期プログラムにおいて、
前記設定情報同期装置は、
自サーバがセカンダリサーバである場合に、前記グループ情報の設定要求を受信すると、前記グループ情報の設定要求をプライマリサーバへ通知し、前記プライマリサーバから転送されたグループ情報を前記グループ情報記憶手段に格納するグループ情報同期手段とを備える
ことを特徴とする設定情報同期プログラム。
(Supplementary Note 5) In the setting information synchronization program according to
The setting information synchronization device includes:
When the local server is a secondary server and receives the group information setting request, it notifies the primary server of the group information setting request and stores the group information transferred from the primary server in the group information storage means And a group information synchronization means for performing the setting information synchronization program.
(付記6) 負荷分散を管理する負荷分散装置を介して運用されるシステムであって、当該システムを構成する分散サーバそれぞれが保持する設定情報を同期させる設定情報同期処理を行う分散サーバシステムにおいて、管理者クライアントとして、コンピュータを機能させるためのプログラムであって、
前記管理者クライアントは、
前記分散サーバシステムを構成する1つのプライマリサーバと1または複数のセカンダリサーバとを指定するグループ情報を生成し、前記グループ情報を前記分散サーバシステムのいずれかの分散サーバへ送信するグループ情報設定手段を備える
ことを特徴とする管理者クライアントプログラム。
(Supplementary Note 6) In a distributed server system that operates via a load balancer that manages load balancing and performs setting information synchronization processing that synchronizes setting information held by each of the distributed servers that constitute the system. A program for functioning a computer as an administrator client,
The administrator client is
Group information setting means for generating group information designating one primary server and one or a plurality of secondary servers constituting the distributed server system, and transmitting the group information to any distributed server of the distributed server system An administrator client program characterized by comprising:
(付記7) 前記付記6に記載の管理者クライアントプログラムにおいて、
前記プライマリサーバが保持する設定情報と同一の情報を保持していないセカンダリサーバに対して、プライマリサーバの設定情報記憶手段に格納された全設定情報を転送させる設定情報同期要求を、前記プライマリサーバに対して送信する同期要求手段を備える
ことを特徴とする管理者クライアントプログラム。
(Supplementary note 7) In the administrator client program described in the supplementary note 6,
A setting information synchronization request for transferring all setting information stored in the setting information storage means of the primary server to a secondary server that does not hold the same information as the setting information held by the primary server. An administrator client program characterized by comprising synchronization request means for transmitting to an administrator.
(付記8) 負荷分散を管理する負荷分散装置を介して運用されるシステムであって、当該システムを構成する分散サーバそれぞれが保持する設定情報を同期させる設定情報同期処理を行う分散サーバシステムにおいて、管理者クライアントとして、コンピュータを機能させるためのプログラムであって、
前記管理者クライアントは、
前記分散サーバで保持される設定情報の設定または更新の要求を前記分散サーバシステムへ送信する設定情報設定手段を備える
ことを特徴とする管理者クライアントプログラム。
(Supplementary Note 8) In a distributed server system that performs a setting information synchronization process that synchronizes setting information held by each distributed server that constitutes the system, the system being operated via a load balancing device that manages load balancing. A program for functioning a computer as an administrator client,
The administrator client is
An administrator client program comprising setting information setting means for transmitting a request for setting or updating setting information held in the distributed server to the distributed server system.
(付記9) 負荷分散を管理する負荷分散装置を介して運用される分散サーバシステムにおいて、前記分散サーバシステムを構成する分散サーバを、前記分散サーバそれぞれが保持する設定情報を同期させる設定情報同期処理方法であって、
前記分散サーバが前記負荷分散装置を介して設定情報の設定要求を受信すると、前記分散サーバシステムを構成する1つのプライマリサーバと1または複数のセカンダリサーバとを指定するグループ情報をもとに、自サーバがプライマリサーバまたはセカンダリサーバのいずれに指定されているかを判定する処理過程と、
前記判定処理過程の結果、自サーバがプライマリサーバである場合に前記設定情報の設定要求を他のセカンダリサーバへ通知し、または、自サーバがセカンダリサーバである場合に前記設定情報の設定要求をプライマリサーバへ通知する処理過程と、
前記設定要求された設定情報を前記設定情報記憶手段に格納する処理過程とを備える
ことを特徴とする設定情報同期処理方法。
(Supplementary Note 9) In a distributed server system operated via a load balancer that manages load distribution, setting information synchronization processing for synchronizing setting information held by each of the distributed servers with the distributed server that constitutes the distributed server system A method,
When the distributed server receives a setting information setting request via the load balancer, the distributed server automatically determines, based on group information that specifies one primary server and one or more secondary servers that constitute the distributed server system. A process of determining whether the server is designated as a primary server or a secondary server;
As a result of the determination process, when the local server is the primary server, the setting information setting request is notified to another secondary server, or when the local server is the secondary server, the setting information setting request is primary. The process of notifying the server;
A setting information synchronization processing method comprising: storing the setting information requested to be set in the setting information storage means.
1a、1b Webサーバ
11a、11b 設定情報同期処理部
13a、13b 同期管理部
15a、15b 情報記憶部
17a、17b Webサーバエンジン
19a、19b CGI
10 分散サーバシステム
2 負荷分散装置
3 Webクライアントアプリケーション
4 管理ツール
1a,
DESCRIPTION OF SYMBOLS 10 Distributed server system 2
Claims (2)
前記設定情報同期装置は、
前記設定情報を記憶する設定情報記憶手段と、
前記分散サーバシステムを構成する1つのプライマリサーバと1または複数のセカンダリサーバとを指定するグループ情報を記憶するグループ情報記憶手段と、
前記負荷分散装置から設定情報の設定要求を受信すると、前記グループ情報をもとに、自サーバがプライマリサーバまたはセカンダリサーバのいずれかに指定されているかを判定する判定手段と、
自サーバがプライマリサーバである場合に、前記設定情報の設定要求を他のセカンダリの分散サーバへ通知し、前記設定情報を前記設定情報記憶手段に格納する処理を行い、自サーバがセカンダリサーバである場合に、前記設定情報の設定要求をプライマリサーバへ通知し、前記プライマリサーバから転送された設定情報を前記設定情報記憶手段に格納する処理を行う設定情報同期手段を備える
ことを特徴とする設定情報同期プログラム。 In a distributed server system operated via a load distribution device that manages load distribution, in order to cause the distributed server that constitutes the distributed server system to function as a setting information synchronization device that synchronizes setting information held by each of the distributed servers The program of
The setting information synchronization device includes:
Setting information storage means for storing the setting information;
Group information storage means for storing group information for designating one primary server and one or more secondary servers constituting the distributed server system;
When receiving a setting information setting request from the load balancer, based on the group information, determining means for determining whether the local server is designated as a primary server or a secondary server;
When the own server is a primary server, the setting information setting request is notified to other secondary distributed servers, and the setting information is stored in the setting information storage means . The own server is the secondary server A setting information synchronization means for performing a process of notifying a setting request for the setting information to a primary server and storing the setting information transferred from the primary server in the setting information storage means. Synchronous program.
前記設定情報同期装置は、
自サーバがプライマリサーバである場合に、前記グループ情報の設定要求を受信すると、前記グループ情報の設定要求を他のセカンダリサーバへ通知し、前記グループ情報を前記グループ情報記憶手段に格納する処理を行い、自サーバがセカンダリサーバである場合に、前記グループ情報の設定要求を受信すると、前記グループ情報の設定要求をプライマリサーバへ通知し、前記プライマリサーバから転送されたグループ情報を前記グループ情報記憶手段に格納する処理を行うグループ情報同期手段とを備える
ことを特徴とする設定情報同期プログラム。 In the setting information synchronization program according to claim 1,
The setting information synchronization device includes:
If the local server is the primary server, when receiving the setting request of the group information, the setting request of the group information notified to another secondary server performs a process of storing the group information in the group information storage means When the own server is a secondary server and receives the group information setting request, the group information setting request is notified to the primary server, and the group information transferred from the primary server is stored in the group information storage means. A setting information synchronization program comprising group information synchronization means for performing a storing process.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005021032A JP4550604B2 (en) | 2005-01-28 | 2005-01-28 | Setting information synchronization program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005021032A JP4550604B2 (en) | 2005-01-28 | 2005-01-28 | Setting information synchronization program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2006209490A JP2006209490A (en) | 2006-08-10 |
JP4550604B2 true JP4550604B2 (en) | 2010-09-22 |
Family
ID=36966279
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005021032A Expired - Fee Related JP4550604B2 (en) | 2005-01-28 | 2005-01-28 | Setting information synchronization program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4550604B2 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4842742B2 (en) * | 2006-09-05 | 2011-12-21 | 富士通株式会社 | Software management program, software management method, and software management apparatus |
EP2371109A1 (en) * | 2008-12-30 | 2011-10-05 | Thomson Licensing | Synchronization of configurations for display systems |
JP2014086763A (en) * | 2012-10-19 | 2014-05-12 | Nec Access Technica Ltd | Method of home gateway configuration takeover, home gateway, and program |
JP6108443B2 (en) * | 2013-02-19 | 2017-04-05 | Kddi株式会社 | Page setting method and system for controlling terminal to remotely update setting information of controlled device via Web server |
JP6414436B2 (en) * | 2014-10-21 | 2018-10-31 | サクサ株式会社 | Telephone system, master telephone control device, slave telephone control device, and system information setting method |
JP7120599B2 (en) * | 2018-03-09 | 2022-08-17 | Necプラットフォームズ株式会社 | Information processing system and control method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08314875A (en) * | 1995-03-14 | 1996-11-29 | Mitsubishi Electric Corp | Cooperative distributed processing method, distributed shared memory monitoring device, distributed shared memory network tracking device and distributed shared memory network setting supporting device |
JPH08314788A (en) * | 1995-05-16 | 1996-11-29 | Hitachi Ltd | Distributed environment information management system |
JP2001155007A (en) * | 1999-12-01 | 2001-06-08 | Ntt Comware Corp | Synchronizing system for data base, data transmitting/ receiving system and electronic perusal system |
-
2005
- 2005-01-28 JP JP2005021032A patent/JP4550604B2/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08314875A (en) * | 1995-03-14 | 1996-11-29 | Mitsubishi Electric Corp | Cooperative distributed processing method, distributed shared memory monitoring device, distributed shared memory network tracking device and distributed shared memory network setting supporting device |
JPH08314788A (en) * | 1995-05-16 | 1996-11-29 | Hitachi Ltd | Distributed environment information management system |
JP2001155007A (en) * | 1999-12-01 | 2001-06-08 | Ntt Comware Corp | Synchronizing system for data base, data transmitting/ receiving system and electronic perusal system |
Also Published As
Publication number | Publication date |
---|---|
JP2006209490A (en) | 2006-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5178539B2 (en) | Information processing apparatus, information processing apparatus control method, session management system, and program | |
CN106685691A (en) | Efficient configuration update method and system of terminal device in Internet of things system | |
JP4550604B2 (en) | Setting information synchronization program | |
US20060123121A1 (en) | System and method for service session management | |
JP2007135109A (en) | Virtual network management method, virtual network management program, virtual network management system, and virtual network management means | |
JP4328806B2 (en) | System, method and apparatus for accessing or sharing digital documents in a peer-to-peer communication network | |
EP2075975B1 (en) | Relay server and relay communication system | |
WO2015006970A1 (en) | Switching device, controller, and method and system for switching device configuration and packet processing | |
CN102594874B (en) | Synchronization processing method and device | |
WO2013065545A1 (en) | Data sharing system | |
US8166199B2 (en) | Communication apparatus, network system, communication method and program | |
CN100423514C (en) | Data synchronization method in distributed equipment according to address resolution protocol | |
JP2010086137A (en) | Message queuing method and program | |
CN101335610B (en) | ARP synchronization method in high-side Ethernet network switch | |
JP6812673B2 (en) | Image processing systems, image forming equipment, data sharing methods, and computer programs | |
JP2007249659A (en) | System-switching method, computer system therefor, and program | |
JP4862346B2 (en) | Download system and program | |
US20190205069A1 (en) | Data processing apparatus and non-transitory computer-readable storage medium for storing program | |
CN111125001A (en) | Snap copy method, electronic device, and computer program product | |
CN114124928B (en) | Method, device and system for quickly synchronizing files between devices | |
US20050281258A1 (en) | Address translation program, program utilizing method, information processing device and readable-by-computer medium | |
JP2005100343A (en) | Server having connection management function | |
JP2000148563A (en) | System having plurality of server computers | |
CN116957479A (en) | Document processing method, device, electronic equipment, medium and program | |
JP3360633B2 (en) | Online environment automatic change system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20071219 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091113 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091124 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100125 |
|
RD03 | Notification of appointment of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7423 Effective date: 20100125 |
|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20100125 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20100706 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100708 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4550604 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130716 Year of fee payment: 3 |
|
LAPS | Cancellation because of no payment of annual fees |