JP2000322350A - Server switching method for client / server systems - Google Patents
Server switching method for client / server systemsInfo
- Publication number
- JP2000322350A JP2000322350A JP12955599A JP12955599A JP2000322350A JP 2000322350 A JP2000322350 A JP 2000322350A JP 12955599 A JP12955599 A JP 12955599A JP 12955599 A JP12955599 A JP 12955599A JP 2000322350 A JP2000322350 A JP 2000322350A
- Authority
- JP
- Japan
- Prior art keywords
- server
- address
- client
- switching device
- signal
- 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
Links
Landscapes
- Multi Processors (AREA)
- Computer And Data Communications (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
(57)【要約】 (修正有)
【課題】並列関係にある複数のクライアントサーバシス
テム(C/S)からなる1つまたは複数のLANにおい
て、接続先のサーバに障害発生した場合、クライアント
に意識させず、管理装置により、接続先サーバを動的に
他のサーバへ切り替えることを目的とする。
【解決手段】サーバ切り替え要因発生時、1次テーブル
には障害発生したサーバのアドレスを、2次テーブルへ
サーバ切り替えの対象となるクライアントのアドレス
を、3次テーブルへ切り替え先のサーバアドレスを記述
するものとする。
(57) [Summary] (Modified) [Problem] In one or a plurality of LANs composed of a plurality of client server systems (C / S) in a parallel relationship, when a failure occurs in a connection destination server, the client is aware of the failure. Instead, the purpose is to dynamically switch the connection destination server to another server by the management device. When a server switching factor occurs, an address of a failed server is described in a primary table, an address of a client to be switched is described in a secondary table, and a server address of a switching destination is described in a tertiary table. Shall be.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、クライアントサー
バシステム( C/S )において、サーバの障害発生時、
リアルタイムでクライアントの接続先サーバを切り替え
るネットワーク方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a client / server system (C / S) which is used when a server failure occurs.
The present invention relates to a network method for switching a connection destination server of a client in real time.
【0002】[0002]
【従来の技術】C/Sにおけるサーバ機能のバックアップ
については、主にサーバ側でクライアントの信号に対応
できるようにサーバ自体の構成を変更して対応するもの
と、クライアント側の判断によりサーバ接続先を切り替
えるものがある。2. Description of the Related Art A backup of a server function in a C / S is mainly performed by changing the configuration of the server itself so that the server can respond to a signal from a client, and a server connection destination is determined by the client. There is something to switch.
【0003】先願等によると、予めクライアントに切り
替え先サーバのアドレステーブルを持ち、各クライアン
トがサーバ障害を検知した時、それぞれのクライアント
側の判断にてサーバ接続先を変更する特開平10−10
5498号公報や、正規サーバ及びバックアップサーバ
にそれぞれ制御用と接続用のLAN及びアドレスを2重に
持たせ、正規サーバに障害発生し、クライアントをバッ
クアップサーバへ切り替える場合、オンライン中にバッ
クアップサーバが接続用のLANアドレスを正規サーバの
アドレスと同じものへ書き替え、サーバ機能のバックア
ップを実現する特開平10−135993号公報や、複
数のサーバが接続されたLANにおいて、サーバに障害が
発生した時、制御装置から各中継器へ該サーバ宛ての信
号を各中継器に予め設定された方路へリレーさせること
で、バックアップサーバへ配信する特開平6−3430
76号公報がある。According to the prior application, a client has an address table of a switching destination server in advance, and when each client detects a server failure, the server connection destination is changed according to the judgment of each client side.
No. 5498, the backup server is connected online when the regular server and the backup server have dual LANs and addresses for control and connection, and when the regular server fails and the client is switched to the backup server. JP-A-10-135993 which rewrites the LAN address for use to the same address as the address of the regular server and implements backup of the server function, and when a server failure occurs in a LAN to which a plurality of servers are connected, JP-A-6-3430, in which a signal addressed to the server is relayed from a control device to each repeater to a route preset in each repeater, thereby distributing the signal to a backup server.
No. 76 publication.
【0004】[0004]
【発明が解決しようとする課題】C/Sにおけるサーバ機
能のバックアップについては、既存の発明によれば、サ
ーバ等の再起動による時間遅延や、クライアント側判断
による不確実性が考えられる。また、システム構成に対
するバックアップ対策の特異性が強く、システムの柔軟
な汎用性や拡張性に乏しいことが問題として考えられ
る。With respect to the backup of the server function in the C / S, according to the existing invention, a time delay due to the restart of the server or the like and uncertainty due to the judgment on the client side are considered. In addition, it is considered that a problem is that backup measures against the system configuration have a strong peculiarity and the system lacks flexibility and scalability.
【0005】本発明の目的は、クライアントによるサー
バ切り替え判断を不要とし、既存システムの汎用性、拡
張性に影響を与えることのないサーバのバックアップ方
式を実現することにある。An object of the present invention is to realize a server backup system which does not require a client to make a server switching decision and does not affect the versatility and expandability of an existing system.
【0006】[0006]
【課題を解決するための手段】上記目的を達成するため
に、本発明においては、サーバ切り替え要因発生時、管
理装置から接続先切り替え装置へ、該要因発生サーバ傘
下のクライアントから該要因発生サーバへの信号に対し
て切り替え対象のサーバへ信号が配信されるように信号
の宛先アドレスを書き替えて送信する設定を行う。逆
に、切り替えられたサーバからクライアントへの送信は
要因の発生したサーバから送られたように信号の送り元
アドレスを要因発生サーバのアドレスへ書き替える設定
とする。According to the present invention, in order to achieve the above object, according to the present invention, when a server switching factor occurs, a management device changes to a connection destination switching device, and a client belonging to the factor generating server changes to the factor generating server. Is set so that the destination address of the signal is rewritten so that the signal is delivered to the server to be switched. Conversely, the transmission from the switched server to the client is set so that the source address of the signal is rewritten to the address of the cause server as if it were sent from the server where the cause occurred.
【0007】接続先切り替え装置における操作は、クラ
イアント−クライアント間、サーバ−サーバ間の送受信
については信号を変換せず、サーバ−クライアント間の
送受信についてのみ信号の変換を行う。The operation of the connection destination switching device does not convert signals for transmission and reception between the client and the client and between the server and server, but converts signals only for transmission and reception between the server and the client.
【0008】該接続先切り替え装置の信号変換方法につ
いては、第1のテーブル、第2のテーブル、第3のテー
ブルを用意し、サーバ切り替え要因発生時、第1のテー
ブルへ切り替え要因の発生したサーバアドレスを、第2
のテーブルへサーバを切り替えるクライアントアドレス
を、第3のテーブルへ切り替え先のサーバアドレスを記
述する。クライアントからサーバへの送信については、
第2のテーブルに記述されたクライアントからの信号に
ついてのみ、信号の宛先アドレスを第1のテーブルに記
述されたアドレスのものから第3のテーブルに記述され
たテーブルのものへ変換する。サーバからクライアント
への送信については、第2のテーブルに記述されたクラ
イアントアドレスへの信号についてのみ信号の送り元ア
ドレスを第3のテーブルから第1のテーブルのサーバアド
レスへ変換する。In the signal conversion method of the connection destination switching device, a first table, a second table, and a third table are prepared, and when a server switching factor occurs, the server which has caused the switching factor to the first table is prepared. Address to the second
Table describes the client address for switching the server, and the third table describes the server address of the switching destination. For sending from client to server,
Only for the signal from the client described in the second table, the destination address of the signal is converted from that of the address described in the first table to that of the table described in the third table. For transmission from the server to the client, the source address of the signal is converted from the third table to the server address of the first table only for the signal to the client address described in the second table.
【0009】[0009]
【発明の実施の形態】図1はC/Sのネットワーク構成
で、図中符号1-1及び1-2はサーバ、符号2は管理装置、
符号3-1及び3-2は接続先切り替え装置、符号4-1〜4-6は
クライアントを示す。サーバ1-1にクライアント切り替
え要因が発生している場合、管理装置2から切り替え制
御を行うことで、クライアント4-1〜4-6は接続先切り替
え装置3-1によりサーバ1-2へ接続先を変更される。DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a C / S network configuration. In the figure, reference numerals 1-1 and 1-2 denote servers, reference numeral 2 denotes a management device,
Reference numerals 3-1 and 3-2 denote connection destination switching devices, and reference numerals 4-1 to 4-6 denote clients. When a client switching factor has occurred in the server 1-1, the switching control is performed from the management device 2, and the clients 4-1 to 4-6 are connected to the server 1-2 by the connection switching device 3-1. Will be changed.
【0010】図2は接続先切り替え装置の内部構成で、
図中、データ保持部11に管理装置2からの制御情報を蓄
積し、クライアントからサーバへの送信についてはクラ
イアント側インタフェース部5で受信した信号をアドレ
ス変換機構7で解析し、変換または非変換してサーバ側
へ送信する。アドレス変換機構7における具体的な動作
としては、アドレス解析部8にて信号を解析し、該アド
レス検索部9にてデータ保持部11に記述されているサー
バ/クライアント切り替え情報と信号の宛先アドレス及
び送り元アドレスを照合する。その結果、受信信号が保
持データに照合する場合、宛先アドレス変換部10にて信
号の変換を行なう。FIG. 2 shows the internal configuration of the connection destination switching device.
In the figure, control information from the management device 2 is stored in a data holding unit 11, and for transmission from a client to a server, a signal received by a client-side interface unit 5 is analyzed by an address conversion unit 7, and converted or not converted. To the server side. As a specific operation of the address conversion mechanism 7, the address analysis unit 8 analyzes a signal, and the address search unit 9 stores the server / client switching information described in the data holding unit 11, the destination address of the signal, and the like. Check the source address. As a result, when the received signal matches the held data, the destination address conversion unit 10 converts the signal.
【0011】逆に照合しない場合、変換せずにそのまま
送信する。同様にサーバからクライアントへの送信につ
いてはサーバ側インタフェース部6で受信した信号をア
ドレス変換機構15で解析し、変換または非変換してクラ
イアント側へ送信する。アドレス変換機構15における具
体的な動作としては、アドレス解析部18にて信号を解析
し、該アドレス検索部17にてデータ保持部11に記述され
ている切り替え情報と信号の宛先及び送り元アドレスを
照合する。その結果、受信信号が保持データに照合する
場合、送り元アドレス変換部16にて信号の変換を行う。
逆に照合しない場合、変換せずにそのまま送信する。On the other hand, when the collation is not performed, the data is transmitted without conversion. Similarly, for transmission from the server to the client, the signal received by the server-side interface unit 6 is analyzed by the address conversion mechanism 15 and converted or non-converted and transmitted to the client. As a specific operation in the address conversion mechanism 15, the address analysis unit 18 analyzes a signal, and the address search unit 17 converts the switching information described in the data holding unit 11 and the destination and source addresses of the signal. Collate. As a result, when the received signal is compared with the held data, the source address converter 16 converts the signal.
On the other hand, if the collation is not performed, it is transmitted without conversion.
【0012】本発明では接続先切り替え装置にてアドレ
スの変換をすることによりサーババックアップ方法を実
現する為、先述のサーバ、クライアント及び接続先切り
替え装置に対してアドレスを付与し、以降説明する。
尚、具体的な信号の内容については、TCP/IPプロトコル
を想定する。TCP/IPプロトコルでは1信号中にMACアド
レスとIPアドレスがあるが、ここでは便宜上、アドレス
とはIPアドレスのことを指し、最終的な判別の識別子と
する。同プロトコルの場合、機器間の送信にはMACアド
レスが用いられるが、MACアドレスについては既存の発
明によってIPアドレスからその機器が発信する際、適切
なMACアドレスが導出されるものとする。In the present invention, in order to realize a server backup method by converting addresses in the connection destination switching device, addresses are assigned to the above-described server, client and connection destination switching device, and the following description will be given.
Note that the TCP / IP protocol is assumed for specific signal contents. In the TCP / IP protocol, one signal includes a MAC address and an IP address. However, for convenience, the address indicates an IP address and is used as an identifier for final determination. In the case of the same protocol, a MAC address is used for transmission between devices, and an appropriate MAC address is derived for the MAC address when the device transmits from an IP address according to an existing invention.
【0013】アドレスについて、図3に示すようにサー
バ1-1にはアドレスS100を、傘下クライアント4-1〜
4-3にはそれぞれCL101,CL102,CL103
を付与する。同様にサーバ1-2にはS200を、傘下ク
ライアント4-4〜4-6にはそれぞれCL201,CL20
2,CL203を付与する。また、接続先切り替え装置
3-1、3-2にはそれぞれK10、K20を付与する。ここで、サ
ーバ1-1に何らかの事態が発生し、傘下のクライアント4
-1〜4-3をサーバ1-2に切り替える場合について考える。
この時、管理者は管理装置2から接続先切り替え装置3-
1へ以下の操作を行う。As for the address, as shown in FIG. 3, an address S100 is stored in the server 1-1, and the subordinate clients 4-1 through 4-1.
4-3 shows CL101, CL102, and CL103, respectively.
Is given. Similarly, S200 is assigned to the server 1-2, and CL201 and CL20 are assigned to the subordinate clients 4-4 to 4-6, respectively.
2, CL 203 is given. Also, connection destination switching device
K10 and K20 are assigned to 3-1 and 3-2, respectively. Here, something happens to the server 1-1, and the client 4
Consider a case where -1 to 4-3 are switched to server 1-2.
At this time, the administrator sends the connection destination switching device 3-
Perform the following operations on 1.
【0014】接続先切り替え装置3-1(アドレス K1
0)に対し、図4に示すように第1テーブルへ切り替え
要因の発生したサーバアドレスを設定する。ここではサ
ーバ1-1のアドレスS100を設定する。次に図5に示す
ように第2テーブルへ接続先を変更するクライアントア
ドレスを設定する。ここではクライアント4-1〜4-3のア
ドレスCL101,CL102,CL103を設定す
る。次に図6に示すように第3テーブルへ切り替え先の
サーバアドレスを設定する。ここではサーバ1-2のアド
レスS200を設定する。The connection destination switching device 3-1 (address K1
For 0), the server address where the switching factor has occurred is set in the first table as shown in FIG. Here, the address S100 of the server 1-1 is set. Next, as shown in FIG. 5, a client address for changing the connection destination is set in the second table. Here, the addresses CL101, CL102, CL103 of the clients 4-1 to 4-3 are set. Next, as shown in FIG. 6, the server address of the switching destination is set in the third table. Here, the address S200 of the server 1-2 is set.
【0015】実際に接続先が切り替えられる原理につい
て、接続先切り替え装置の内部構成をフローチャート図
7で追跡して説明する。クライアント4-1〜4-3のいずれ
かがサーバ1-1に対して信号を発信する場合、先ず、サ
ーバ1-1へアクセスするためのルーティングとして接続
先切り替え装置3-1へ送信する。接続先切り替え装置3-1
は、クライアントからの信号を受信し、IPアドレスより
自身宛かまたはルーティングかを判断した後、必要があ
ればサーバ側に対して出力を行う。The principle of actually switching the connection destination will be described with reference to the flowchart of FIG. When any one of the clients 4-1 to 4-3 transmits a signal to the server 1-1, the signal is first transmitted to the connection destination switching device 3-1 as routing for accessing the server 1-1. Connection destination switching device 3-1
Receives the signal from the client, determines whether it is addressed to itself or routing based on the IP address, and outputs it to the server if necessary.
【0016】サーバ側へ発信する時、接続先切り替え装
置3-1は、図2に示すアドレス変換機構7により、アド
レスの変換または非変換を行う。アドレス変換機構7で
は図7のアドレス解析部により、信号のアドレスを解析
し、クライアント4-1がサーバ1-1に送信していた場合、
宛先アドレスとしてS100を、送り元アドレスとして
CL101を得る(ステップS1)。When sending a call to the server, the connection destination switching device 3-1 performs address conversion or non-conversion by the address conversion mechanism 7 shown in FIG. The address translation mechanism 7 analyzes the address of the signal by the address analysis unit in FIG. 7 and, when the client 4-1 has transmitted to the server 1-1,
S100 is obtained as the destination address, and CL101 is obtained as the source address (step S1).
【0017】次に、接続先切り替え装置3-1が保持する
データの第1テーブルを検索し、宛先アドレスS100
が該当することを得る(ステップS2)。次いで、第2テ
ーブルを検索し、送り元アドレスCL101が第2テー
ブル上にあることを検索する(ステップS3)。Next, the first table of data held by the connection destination switching device 3-1 is searched, and the destination address S100
Is obtained (step S2). Next, the second table is searched to find that the source address CL101 is on the second table (step S3).
【0018】その結果、アドレス変換部にて信号は宛先
アドレスS100を第3テーブルの内容S200に書き
換えられサーバ側へ送信される(ステップS4)。ここで
は、第3テーブルがサーバ1-2のアドレス(S200)
なので、サーバ1-2へ送信されることになる。また、第
1、第2テーブル上の検索で該当しない場合、図7のフ
ローチャートにあるように信号のアドレスは変換されず
にサーバ側インタフェース部にてそのまま送信される。As a result, the address conversion unit rewrites the destination address S100 into the contents S200 of the third table and transmits the signal to the server (step S4). Here, the third table is the address of the server 1-2 (S200).
Therefore, it is transmitted to the server 1-2. In addition, if the result of the search on the first and second tables does not correspond, the address of the signal is not converted and transmitted as it is in the server-side interface unit as shown in the flowchart of FIG.
【0019】図9はLAN上に送信される信号の内容を模
式的に表したもので図の左端は信号の先頭に対応し、図
の右端は信号の終端に対応している。ここでは、本発明
に関連する部分だけを抽出して表しているので、TCP/IP
プロトコルの場合、先頭から順に宛先MACアドレス19、
送り元MACアドレス20、送り元IPアドレス21、宛先IPア
ドレス22、データ部としている。FIG. 9 schematically shows the contents of a signal transmitted on the LAN. The left end of the figure corresponds to the head of the signal, and the right end of the figure corresponds to the end of the signal. Here, since only the parts related to the present invention are extracted and represented, the TCP / IP
In the case of the protocol, the destination MAC address 19,
A source MAC address 20, a source IP address 21, a destination IP address 22, and a data part are provided.
【0020】前述の変換について、再度信号の内容の面
から追跡する。クライアント4-1(アドレス CL10
1)からサーバ1-1(アドレス S100)に送信し
て、接続先切り替え装置3-1によりサーバ1-2(アドレス
S200)へ切り替えられる信号の変換前後の内容を
図10に示す。クライアントは、宛先IPアドレスとして
S100(符号26)を、送り元IPアドレスとしてCL1
01(符号25)を設定し、送り元MACアドレスにはクラ
イアント4-1のMACアドレス24を設定し、既存の発明によ
るルーティングのため宛先MACアドレスには接続先切り
替え装置3-1のMACアドレス23を設定して送信する。The above-mentioned conversion is traced again in terms of the signal content. Client 4-1 (address CL10
FIG. 10 shows the contents before and after the conversion of the signal transmitted from 1) to the server 1-1 (address S100) and switched to the server 1-2 (address S200) by the connection destination switching device 3-1. The client sets S100 (reference numeral 26) as the destination IP address and CL1 as the source IP address.
01 (symbol 25) is set, the MAC address 24 of the client 4-1 is set as the source MAC address, and the MAC address 23 of the connection destination switching device 3-1 is set as the destination MAC address for routing according to the existing invention. Set and send.
【0021】この信号を受信した接続先切り替え装置3-
1では、サーバ側への送信に対して、宛先IPアドレスと
してS100(符号26)をS200(符号31)に変換
し、宛先IPアドレスが決定した段階で、既存の発明によ
り宛先MACアドレスをサーバ1-2のMACアドレス28とし
て、また、送り元MACアドレスを接続先切り替え装置3-1
のMACアドレス29として送信する。The connection destination switching device 3 receiving this signal
In step 1, for transmission to the server side, S100 (reference numeral 26) is converted to S200 (reference numeral 31) as the destination IP address, and when the destination IP address is determined, the destination MAC address is changed to the server 1 by the existing invention. -2 as the MAC address 28 and the source MAC address as the connection destination switching device 3-1
Is transmitted as the MAC address 29.
【0022】次に、サーバからクライアントへの返信に
ついて、フローチャート図8に従い、説明する。接続先
切り替え装置3-1は、図2に示すアドレス変換機構15に
より、信号のアドレスを変換または非変換する。アドレ
ス変換機構15では、図8のアドレス解析部18により信号
のアドレスを解析し、サーバ1-2からクライアント4-1に
送信していた場合、宛先アドレスとしてCL101を、
送り元アドレスとしてS200を得る(ステップS5)。Next, the reply from the server to the client will be described with reference to the flowchart of FIG. The connection destination switching device 3-1 converts or does not convert the address of the signal by the address conversion mechanism 15 shown in FIG. In the address conversion mechanism 15, the address of the signal is analyzed by the address analysis unit 18 in FIG. 8, and when the signal is transmitted from the server 1-2 to the client 4-1, CL101 is set as the destination address.
S200 is obtained as the source address (step S5).
【0023】次に、接続先切り替え装置3-1が保持する
データの第3テーブルを検索し、送り元アドレスS20
0が該当することを得る(ステップS6)。次いで、第2
テーブルを検索し、宛先アドレスCL101が第2テー
ブル上にあることを検索する(ステップS7)。Next, the third table of the data held by the connection destination switching device 3-1 is searched, and the source address S20 is searched.
0 is obtained (step S6). Then the second
The table is searched to find that the destination address CL101 is on the second table (step S7).
【0024】その結果、アドレス変換部にて信号は送り
元アドレスを第1テーブルの内容S100に書き換えら
れて送信される。また、第3、第2テーブル上の検索で
該当しない場合、図8のフローチャートにあるように信
号のアドレスは変換されずにクライアント側インタフェ
ース部にて送信される。As a result, the signal is transmitted by the address conversion unit with the source address rewritten to the content S100 of the first table. If the search on the third and second tables does not correspond, the address of the signal is transmitted by the client side interface unit without being converted as shown in the flowchart of FIG.
【0025】前述の変換について、再度信号の内容の面
から追跡する。サーバ1-2(アドレス S200)から
クライアント4-1(アドレス CL101)に送信し
て、接続先切り替え装置3-1によりサーバ1-1(アドレス
S100)からの返信とされる信号の変換前後の内容
を図11に示す。サーバ1-2は、宛先IPアドレスとして
CL101(符号36)を、送り元IPアドレスとしてS2
00(符号35)を設定し、送り元MACアドレスにはサー
バ1-2のMACアドレス34を設定し、既存の発明によるルー
ティングのため宛先MACアドレスには接続先切り替え装
置3-1のMACアドレス33を設定して送信する。この信号を
受信した接続先切り替え装置3-1では、クライアント側
への送信に対して、送り元IPアドレスとしてS200
(符号35)をS100(符号40)に変換し、既存の発明
により宛先MACアドレスをクライアント4-1のMACアドレ
ス38として、送り元MACアドレスを接続先切り替え装置3
-1のMACアドレス39として送信する。The above-mentioned conversion is traced again in terms of the signal content. Contents before and after conversion of a signal transmitted from the server 1-2 (address S100) to the client 4-1 (address CL101) and returned by the connection destination switching device 3-1 from the server 1-1 (address S100). Is shown in FIG. The server 1-2 uses CL101 (reference numeral 36) as the destination IP address and S2 as the source IP address.
00 (symbol 35) is set, the MAC address 34 of the server 1-2 is set as the source MAC address, and the MAC address 33 of the connection destination switching device 3-1 is set as the destination MAC address for routing according to the existing invention. Set and send. Upon receiving this signal, the connection destination switching device 3-1 sets S200 as the source IP address for transmission to the client side.
(Reference numeral 35) is converted to S100 (reference numeral 40), and the destination MAC address is used as the MAC address 38 of the client 4-1 and the source MAC address is used as the connection destination switching device 3 according to the existing invention.
It is transmitted as the MAC address 39 of -1.
【0026】以上の説明はサーバ1-1に切り替え要因が
発生した場合の対処方法であったが、サーバ1-2に要因
が発生した場合は接続先切り替え装置3-2が対象となっ
て操作される。The above description is a method for coping with a switching factor occurring in the server 1-1. However, when a factor has occurred in the server 1-2, the connection destination switching device 3-2 is operated. Is done.
【0027】また、図12のようにサーバが異なるLA
Nに別れていた場合、それぞれのLAN上にある切り替え
装置からルータを経由して他系のLAN上にあるサーバへ
配信される。サーバ43-1、サーバ43-2にサーバ切り替え
要因が発生してサーバ43-3がバックアップを行う場合、
クライアント45-1〜45-3の信号は接続先切り替え装置44
-1により、宛先アドレスをサーバ43-3のアドレスへ変換
され、既存の発明によりルータ47-1、WAN46、ルータ47-
2を経由してサーバ43-3へ配信される。同様にクライア
ント45-4〜45-6の信号は接続先切り替え装置44-2によ
り、宛先アドレスをサーバ43-3のアドレスへ変換され、
既存の発明により、WAN46、ルータ47-2を経由してサー
バ43-3へ配信される。Also, as shown in FIG.
N, the data is distributed from a switching device on each LAN to a server on another LAN via a router. When a server switching factor occurs in server 43-1 and server 43-2 and server 43-3 performs backup,
The signals of the clients 45-1 to 45-3 are transmitted to the connection destination switching device 44.
-1, the destination address is converted to the address of the server 43-3, and the router 47-1, the WAN 46, the router 47-
It is distributed to the server 43-3 via 2. Similarly, the signals of the clients 45-4 to 45-6 are converted from the destination address to the address of the server 43-3 by the connection destination switching device 44-2,
According to the existing invention, the data is distributed to the server 43-3 via the WAN 46 and the router 47-2.
【0028】また、逆に、クライアント45-1〜45-3への
返信は、サーバ43-3からクライアント45-1〜45-3へ向け
て発信され、既存の発明によりルータ47-2、WAN46、ル
ータ47-1を経由し、接続先切り替え装置44-1により、送
り元アドレスをサーバ43-1に変換されて、各クライアン
ト45-1〜45-3へ配信される。Conversely, a reply to the clients 45-1 to 45-3 is transmitted from the server 43-3 to the clients 45-1 to 45-3, and the router 47-2 and the WAN 46 according to the existing invention. The source address is converted to the server 43-1 by the connection destination switching device 44-1 via the router 47-1, and is distributed to the clients 45-1 to 45-3.
【0029】同様にクライアント45-4〜45-6への返信
は、サーバ43-3からクライアント45-4〜45-6へ向けて発
信され、既存の発明によりルータ47-2、WAN46を経由
し、接続先切り替え装置44-2により、送り元アドレスを
サーバ43-2に変換されて、各クライアント45-4〜45-6へ
配信される。Similarly, a reply to the clients 45-4 to 45-6 is transmitted from the server 43-3 to the clients 45-4 to 45-6, and is transmitted via the router 47-2 and the WAN 46 according to the existing invention. The connection destination switching device 44-2 converts the source address to the server 43-2 and distributes it to each of the clients 45-4 to 45-6.
【0030】この場合他系のLANにて切り替え装置自体
がルータ機能を兼ねているまたは対象となっている配信
サーバが切り替え装置の配下にある場合、他系LAN上に
おいても接続先を動的に切りかえることができ、WAN間
で一貫したアドレスのもと各LAN上の動的なサーバ切り
替えが可能である。In this case, if the switching device itself also functions as a router in the LAN of the other system or the distribution server to be controlled is under the control of the switching device, the connection destination can be dynamically changed on the LAN of the other system. It can be switched, and dynamic server switching on each LAN under a consistent address between WANs is possible.
【0031】[0031]
【発明の効果】以上のように、本発明によれば既存のシ
ステムにおいて、接続先切り替え装置を一部取り付ける
だけでバックアップ効果を得ることができ、サーバ台数
が増加した場合でも、テーブルの項目を増やすことによ
り、先の説明と同様にバックアップすることが可能であ
り、また、切り替え先を分散することも可能である。更
に、接続先切り替え装置はサーバ−クライアント間の信
号が必ず経由するところに配置すればよく、接続先切り
替え装置の配置数は任意である。As described above, according to the present invention, in the existing system, the backup effect can be obtained only by attaching a part of the connection destination switching device, and even if the number of servers increases, the items in the table can be obtained. By increasing the number, backup can be performed in the same manner as described above, and switching destinations can be distributed. Further, the connection destination switching device may be disposed at a location where a signal between the server and the client always passes, and the number of connection destination switching devices is arbitrary.
【図1】本発明の基本的なサーババックアップシステム
である。FIG. 1 is a basic server backup system of the present invention.
【図2】本発明の接続先切り替え装置の内部構成図であ
る。FIG. 2 is an internal configuration diagram of a connection destination switching device of the present invention.
【図3】図1におけるサーバ、クライアントへアドレス
を付与した図である。FIG. 3 is a diagram in which addresses are assigned to a server and a client in FIG. 1;
【図4】接続先切り替え装置の第1テーブルへアドレス
を設定した図である。FIG. 4 is a diagram in which an address is set in a first table of the connection destination switching device.
【図5】接続先切り替え装置の第2テーブルへアドレス
を設定した図である。FIG. 5 is a diagram in which addresses are set in a second table of the connection destination switching device.
【図6】接続先切り替え装置の第3テーブルへアドレス
を設定した図である。FIG. 6 is a diagram in which addresses are set in a third table of the connection destination switching device.
【図7】接続先切り替え装置のアドレス変換機構1の処
理フローチャートである。FIG. 7 is a processing flowchart of the address conversion mechanism 1 of the connection destination switching device.
【図8】接続先切り替え装置のアドレス変換機構2の処
理フローチャートである。FIG. 8 is a processing flowchart of the address conversion mechanism 2 of the connection destination switching device.
【図9】信号内容の模式図である。FIG. 9 is a schematic diagram of a signal content.
【図10】図7のフローチャートを処理した結果の図で
ある。FIG. 10 is a diagram showing a result of processing the flowchart of FIG. 7;
【図11】図8のフローチャートを処理した結果の図で
ある。FIG. 11 is a diagram showing a result obtained by processing the flowchart of FIG. 8;
【図12】WAN経由のサーババックアップを示した図
である。FIG. 12 is a diagram showing server backup via a WAN.
1−1,1−2…サーバ、2…管理装置、3−1,3−
2…切り替え装置、5…クライアント側インタフェース
部、7…アドレス変換機構。1-1, 1-2: server, 2: management device, 3-1, 3-
2 switching device, 5 client-side interface unit, 7 address conversion mechanism.
───────────────────────────────────────────────────── フロントページの続き (72)発明者 真弓 武行 神奈川県川崎市幸区鹿島田890番地 株式 会社日立製作所情報システム事業部内 Fターム(参考) 5B045 BB11 GG01 JJ44 5B089 GA11 GA21 HA06 HB02 JB17 KA12 KB04 KB06 KC24 KC28 KH03 ME04 5K030 GA12 HD09 KA05 LB08 MD01 5K033 AA06 EA04 EB06 EC04 ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Takeyuki Mayumi 890 Kashimada, Saiwai-ku, Kawasaki-shi, Kanagawa Prefecture F-term in the Information Systems Division, Hitachi, Ltd. (Reference) 5B045 BB11 GG01 JJ44 5B089 GA11 GA21 HA06 HB02 JB17 KA12 KB04 KB06 KC24 KC28 KH03 ME04 5K030 GA12 HD09 KA05 LB08 MD01 5K033 AA06 EA04 EB06 EC04
Claims (1)
切り替え装置下に接続された複数のクライアントが接続
された、複数のサーバからなるネットワークシステムに
おいて、サーバ/クライアントの接続状態を管理する管
理装置をネットワーク上の任意の位置に最低1台接続
し、前記切替え装置内に、該切り替え装置下のクライア
ントが現在接続されているサーバのアドレスを保持する
第1のテーブルと、該切り替え装置下のクライアントを
接続サーバ単位にグループ分けしてクライアントのアド
レスを保持する第2のテーブルと、前記切替え装置下の
クライアントを他のサーバへ接続変更する接続先サーバ
のアドレスを保持する第3のテーブルを持ち、クライア
ントの接続先サーバを変更する要因が発生した場合、前
記管理装置から、前記第1のテーブルには接続変更すべ
きクライアントが現在接続されているサーバのアドレス
を、前記第2のテーブルには前記第1のテーブルに設定
したサーバと関連付けされたクライアントのアドレス
を、前記第3のテーブルには接続変更すべき接続先サー
バのアドレスを、それぞれ設定し、クライアントからサ
ーバへの送信に対して、前記テーブルの内容に従い、前
記切り替え装置が第2のテーブルに示すクライアントか
らの信号に対して、第1のテーブルに示すサーバアドレ
スから第3のテーブルに示すサーバアドレスへ宛先アド
レスを変換することによって、サーバ接続を変更でき、
サーバからクライアントへの送信に対しては、前記テー
ブルの内容に従い、前記切り替え装置が第3のテーブル
に示すサーバの信号のうち第2のテーブルに示すクライ
アントへの信号に対し、第3のテーブルに示すサーバア
ドレスから第1のテーブルに示すサーバアドレスへ送り
元アドレスを変換することによって応答することができ
ることを特徴とするクライアント・サーバシステムのサ
ーバ切り替え方式。1. A management system for managing a server / client connection state in a network system including a plurality of servers, wherein one switching device and a plurality of clients connected under the switching device are connected to one server. At least one device is connected to an arbitrary position on the network, and a first table holding an address of a server to which a client under the switching device is currently connected in the switching device; There is a second table that holds client addresses by grouping clients in connection server units and a third table that holds addresses of connection destination servers that change the connection of clients under the switching device to other servers. When a factor for changing the server to which the client connects is generated, the management device The first table contains the address of the server to which the client whose connection is to be changed is currently connected, and the second table contains the address of the client associated with the server set in the first table. In the table, the address of the connection destination server to be changed in connection is set, and for the transmission from the client to the server, according to the contents of the table, the switching device transmits the signal from the client shown in the second table. By converting the destination address from the server address shown in the first table to the server address shown in the third table, the server connection can be changed,
For the transmission from the server to the client, the switching device transmits the signal to the client shown in the second table among the signals of the server shown in the third table according to the contents of the table. A server switching method for a client-server system, wherein a response can be made by converting a source address from a server address shown to a server address shown in a first table.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12955599A JP2000322350A (en) | 1999-05-11 | 1999-05-11 | Server switching method for client / server systems |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12955599A JP2000322350A (en) | 1999-05-11 | 1999-05-11 | Server switching method for client / server systems |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JP2000322350A true JP2000322350A (en) | 2000-11-24 |
Family
ID=15012406
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12955599A Pending JP2000322350A (en) | 1999-05-11 | 1999-05-11 | Server switching method for client / server systems |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2000322350A (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002342181A (en) * | 2001-05-16 | 2002-11-29 | Nec Miyagi Ltd | Method and system for bypassing fault |
| JP2006018643A (en) * | 2004-07-02 | 2006-01-19 | Fujitsu Ltd | Video distribution system |
| US7107481B2 (en) | 2002-06-25 | 2006-09-12 | Hitachi, Ltd. | Server takeover system and method |
| JP2007251818A (en) * | 2006-03-17 | 2007-09-27 | Fujitsu Ltd | Transmission control program, transmission control method, and transmission control apparatus |
| JP2012100313A (en) * | 2011-12-22 | 2012-05-24 | Telecom Italia Spa | Failure recovery architecture |
| JP2013003722A (en) * | 2011-06-14 | 2013-01-07 | Nippon Telegr & Teleph Corp <Ntt> | Network system and server system used for the same |
| JP2018160720A (en) * | 2017-03-22 | 2018-10-11 | ブラザー工業株式会社 | Communication method and communication program |
| US10880364B2 (en) | 2019-04-08 | 2020-12-29 | Fujitsu Limited | Application management apparatus, information processing system, and recording medium storing therein application management program |
-
1999
- 1999-05-11 JP JP12955599A patent/JP2000322350A/en active Pending
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002342181A (en) * | 2001-05-16 | 2002-11-29 | Nec Miyagi Ltd | Method and system for bypassing fault |
| US7107481B2 (en) | 2002-06-25 | 2006-09-12 | Hitachi, Ltd. | Server takeover system and method |
| JP2006018643A (en) * | 2004-07-02 | 2006-01-19 | Fujitsu Ltd | Video distribution system |
| JP2007251818A (en) * | 2006-03-17 | 2007-09-27 | Fujitsu Ltd | Transmission control program, transmission control method, and transmission control apparatus |
| JP2013003722A (en) * | 2011-06-14 | 2013-01-07 | Nippon Telegr & Teleph Corp <Ntt> | Network system and server system used for the same |
| JP2012100313A (en) * | 2011-12-22 | 2012-05-24 | Telecom Italia Spa | Failure recovery architecture |
| JP2018160720A (en) * | 2017-03-22 | 2018-10-11 | ブラザー工業株式会社 | Communication method and communication program |
| US10462198B2 (en) | 2017-03-22 | 2019-10-29 | Brother Kogyo Kabushiki Kaisha | Communication method and storage medium storing communication program |
| US10880364B2 (en) | 2019-04-08 | 2020-12-29 | Fujitsu Limited | Application management apparatus, information processing system, and recording medium storing therein application management program |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7379458B2 (en) | Server load sharing system | |
| US6804233B1 (en) | Method and system for link level server/switch trunking | |
| US7991914B2 (en) | Technique for addressing a cluster of network servers | |
| US7639624B2 (en) | Method and system for monitoring network connectivity | |
| US10855539B2 (en) | Configuration of forwarding rules using the address resolution protocol | |
| US9419940B2 (en) | IPv4 data center support for IPv4 and IPv6 visitors | |
| EP3026872B1 (en) | Packet forwarding method, apparatus, and system | |
| US7836142B2 (en) | System and method for updating a dynamic domain name server | |
| US8284783B1 (en) | System and method for avoiding neighbor cache pollution | |
| US7380002B2 (en) | Bi-directional affinity within a load-balancing multi-node network interface | |
| RU2005141461A (en) | VIRTUAL MULTI-ADDRESS ROUTING FOR A CLUSTER HAVING A SYNCHRONIZATION OF A STATE | |
| US20070171930A1 (en) | Communication system | |
| KR20000011301A (en) | Method and System for Improving Communications in Data Communications Networks that provide Network Emulation | |
| DE60305581D1 (en) | Procedure for Performing a Router Interface Backup Using VRRP (Virtual Router Redundancy Protocol) | |
| US20220345331A1 (en) | Two-layer private line network system, configuration method, and device | |
| CN104506513A (en) | Firewall flow graph backup method, firewall and firewall system | |
| EP1041776A1 (en) | Multiple ARP functionality for an IP data transmission system | |
| JP2000322350A (en) | Server switching method for client / server systems | |
| US20040095962A1 (en) | Data routing device, method for determining a destination of a request, and a computer program product for realizing the method | |
| CN115567383B (en) | Network configuration method, host server, device and storage medium | |
| CN107547339B (en) | Method and device for feeding back MAC address of gateway media access control | |
| US7724746B2 (en) | Method and system for providing load balanced traffic in redundant infiniband ethernet gateways network | |
| US20040114590A1 (en) | Packet switching networks | |
| US20040215827A1 (en) | Address sequencing in a domain name server | |
| JP2010226665A (en) | Load distribution system, apparatus and method |