JP2000138713A - Cluster system - Google Patents

Cluster system

Info

Publication number
JP2000138713A
JP2000138713A JP31340498A JP31340498A JP2000138713A JP 2000138713 A JP2000138713 A JP 2000138713A JP 31340498 A JP31340498 A JP 31340498A JP 31340498 A JP31340498 A JP 31340498A JP 2000138713 A JP2000138713 A JP 2000138713A
Authority
JP
Japan
Prior art keywords
network
trailer
address
network address
communication data
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.)
Granted
Application number
JP31340498A
Other languages
Japanese (ja)
Other versions
JP3872909B2 (en
Inventor
Makoto Watanabe
誠 渡邊
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 JP31340498A priority Critical patent/JP3872909B2/en
Publication of JP2000138713A publication Critical patent/JP2000138713A/en
Application granted granted Critical
Publication of JP3872909B2 publication Critical patent/JP3872909B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To realize the takeover of an IP address without needing client application remodeling or further name service server setting by mounting a filter driver. SOLUTION: When an Ethernet (registered trademark) trailer which is transmitted from a client computer 10C via a network 11 is received by the network interface 108 of a server computer 10A and the matching of destination MAC addresses is detected, an IP(Internet protocol) trailer in the Ethernet trailer is transferred from an interface layer 101 to a filter driver 100. When a flag 100a capable of setting state switching is turned on, the filter driver 100 does not filter the IP trailer but filters the IP trailer according to whether or not a destination IP address is an IPS, when it is turned off and annuls the IP trailer as long as it is an IPS.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、サーバ計算機相互
のサービスの引き継ぎが行われるクラスタシステムに係
り、特に、受信データ中のネットワークトレーラのフィ
ルタリングを行うドライバ(フィルタドライバ)を持つ
複数のサーバ計算機を備えたクラスタシステムに関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a cluster system in which services are taken over between server computers, and more particularly to a cluster system having a driver (filter driver) for filtering a network trailer in received data. Cluster system with

【0002】[0002]

【従来の技術】従来から、複数のサーバ計算機(ノー
ド)をネットワークで結合し、あるサーバ計算機で障害
が発生しても、障害で停止したサービスを他のサーバ計
算機が引き継ぐことにより、システム全体として可用性
を維持できるようにしたクラスタシステムが種々開発さ
れている。
2. Description of the Related Art Conventionally, a plurality of server computers (nodes) are connected via a network, and even if a failure occurs in a certain server computer, the service stopped by the failure is taken over by another server computer, so that the entire system is obtained. Various cluster systems that can maintain availability have been developed.

【0003】この種のクラスタシステムにおいて、計算
機相互のサービスの引き継ぎを行うには、ネットワーク
アドレスとしてのIP(インターネットプロトコル)ア
ドレスのテイクオーバが必要となる。そのため、例えば
2台のサーバ計算機A,Bがネットワークで結合された
クラスタシステムについて述べるならば、当該計算機
A,Bには、それぞれ固有のIPアドレスIPA,IP
B(1種類とは限らない)の他に、テイクオーバする特
定のIPアドレスIPSが設定される。
In this type of cluster system, takeover of an IP (Internet Protocol) address as a network address is required to take over services between computers. Therefore, for example, if a cluster system in which two server computers A and B are connected by a network is described, the computers A and B have unique IP addresses IPA and IP, respectively.
In addition to B (not limited to one type), a specific IP address IPS to be taken over is set.

【0004】[0004]

【発明が解決しようとする課題】しかし従来のクラスタ
システムでは、IPアドレスのテイクオーバのために、
動的にIPアドレスを設定したり、設定を解除したりす
ることができなかった。また、論理的なIPアドレスを
動的に活性化させたり、非活性化させることもできず、
OS(オペレーティングシステム)において、IPアド
レスのテイクオーバができないという問題があった。
However, in the conventional cluster system, in order to take over the IP address,
It was not possible to dynamically set or release the IP address. Also, a logical IP address cannot be dynamically activated or deactivated,
There has been a problem that an OS (operating system) cannot take over an IP address.

【0005】そこで従来は、IPアドレスのテイクオー
バを実現するために、クライアント計算機で動作するア
プリケーション(クライアントアプリケーション)を改
造し、通信相手を切り替える特別の仕組みを導入した
り、ネームサービス(ホスト名とIPアドレスとを対応
させるサービス)を司るサーバ( ネームサービスサー
バ)を設定し、ネームサービスでホスト名とIPアドレ
スとの対応を切り替える必要があった。
Therefore, conventionally, in order to realize takeover of an IP address, an application (client application) operating on a client computer is modified to introduce a special mechanism for switching a communication partner, or a name service (host name and IP address) is required. It is necessary to set up a server (name service server) that manages the service that associates the address with the address, and switch the correspondence between the host name and the IP address in the name service.

【0006】また、従来のクラスタシステムにおいて負
荷分散を行ってシステム全体のロードバランスをとるた
めに、クライアントアプリケーションにてサービスを提
供してもらうサーバ計算機を切り替えることにより実現
するか、レイヤー(Layer)4スイッチと称される
特別のハードウェア機構を使用して実現していた。つま
り、従来のクラスシステムにおいて負荷分散を行うに
は、専用のアプリケーション(アプリケーションプログ
ラム)または専用のハードウェア機構が必要であった。
In order to balance the load of the entire system by distributing the load in a conventional cluster system, it is realized by switching a server computer to be provided with a service by a client application, or a layer 4 is used. It was implemented using a special hardware mechanism called a switch. That is, in order to perform load distribution in the conventional class system, a dedicated application (application program) or a dedicated hardware mechanism is required.

【0007】本発明は上記事情を考慮してなされたもの
でその目的は、従来ネットワークアドレスのテイクオー
バが不可能であったOSが搭載されているサーバ計算機
においても、フィルタドライバを実装することにより、
クライアントアプリケーションの改造、更にはネームサ
ービスサーバの設定を要することなく、ネットワークア
ドレスのテイクオーバが実現できるクラスタシステムを
提供することにある。
[0007] The present invention has been made in view of the above circumstances, and an object of the present invention is to implement a filter driver even in a server computer having an OS on which conventional network address takeover has been impossible.
An object of the present invention is to provide a cluster system that can realize takeover of a network address without remodeling a client application and setting a name service server.

【0008】本発明の他の目的は、サーバ計算機にフィ
ルタドライバを実装することにより、専用のアプリケー
ション、或いは専用のハードウェア機構を用いることな
く、レイヤー4スイッチを使用した場合と同様に負荷分
散が実現できるクラスタシステムを提供することにあ
る。
Another object of the present invention is to implement a filter driver in a server computer so that load distribution can be performed in the same manner as when a layer 4 switch is used without using a dedicated application or a dedicated hardware mechanism. It is to provide a cluster system that can be realized.

【0009】[0009]

【課題を解決するための手段】本発明は、テイクオーバ
される特定ネットワークアドレスが宛先ネットワークア
ドレスとして設定されたネットワークトレーラを含む通
信データを用いた通信によりサーバ計算機間でサービス
の引き継ぎが行われるクラスタシステムにおいて、上記
各サーバ計算機に、第1及び第2の状態のいずれか一方
に任意に切り替え設定可能なフラグ情報を保持するフラ
グ情報保持手段と、通信データの受信時には、上記フラ
グ情報を参照し、第1の状態の場合には通信データ中の
ネットワークトレーラのフィルタリングを行わず、第2
の状態の場合には、ネットワークトレーラ中の宛先ネッ
トワークアドレスが上記特定ネットワークアドレスであ
るか否かによりネットワークトレーラのフィルタリング
を行い、特定ネットワークアドレスである場合に限り、
ネットワークトレーラを破棄するフィルタドライバとを
備えたことを特徴とする。
SUMMARY OF THE INVENTION The present invention provides a cluster system in which a service is taken over between server computers by communication using communication data including a network trailer in which a specific network address to be taken over is set as a destination network address. In each of the server computers, a flag information holding unit that holds flag information that can be arbitrarily set to be switched to one of the first and second states, and, when receiving communication data, refer to the flag information. In the case of the first state, the filtering of the network trailer in the communication data is not performed.
In the case of the state, filtering of the network trailer is performed depending on whether the destination network address in the network trailer is the specific network address, and only when the destination network address is the specific network address,
And a filter driver for discarding the network trailer.

【0010】このような構成において、(テイクオーバ
される)特定ネットワークアドレスが設定されている各
サーバ計算機に保持されるフラグ情報は、当該特定ネッ
トワークアドレスの当該計算機での有効/無効を示す。
したがって、上記各計算機において、ユーザの操作、或
いは計算機間の通信等により、所定のコマンド(フラグ
操作コマンド)を用いて動的にフラグ情報の状態(第1
または第2の状態)を切り替え設定し、そのフラグ情報
の状態と受信データのネットワークトレーラ中の宛先ネ
ットワークアドレスをもとに、フィルタドライバにおい
てネットワークトレーラの破棄を決定することにより、
クラスタシステムにおいて重要なネットワークアドレス
(例えばIPアドレス)のテイクオーバが実現可能とな
る。
In such a configuration, the flag information held in each server computer to which a specific network address (taken over) is set indicates validity / invalidity of the specific network address in the computer.
Therefore, in each of the above-mentioned computers, the state of the flag information (the first flag information) is dynamically determined by a user operation or communication between the computers using a predetermined command (flag operation command).
Or the second state), and the filter driver determines to discard the network trailer based on the state of the flag information and the destination network address of the received data in the network trailer.
Takeover of an important network address (for example, an IP address) in a cluster system can be realized.

【0011】また本発明は、テイクオーバされる特定ネ
ットワークアドレスが複数設定されるサーバ計算機を複
数備えたクラスタシステムにおいて、上記各サーバ計算
機に、複数の特定ネットワークアドレスの各々にそれぞ
れ対応して設けられ、第1及び第2の状態のいずれか一
方に任意に且つ独立に切り替え設定可能なフラグ情報を
保持するフラグ情報保持手段と、通信データの受信時に
は上記各フラグ情報を参照し、全てが上記第1の状態の
場合には通信データ中のネットワークトレーラのフィル
タリングを行わず、それ以外の場合には、ネットワーク
トレーラ中の宛先ネットワークアドレスが、上記第2の
状態にあるフラグ情報に対応する特定ネットワークアド
レスの1つに一致した場合にネットワークトレーラを破
棄するフィルタリングを行うフィルタドライバとを備え
たことをも特徴とする。
The present invention also provides a cluster system having a plurality of server computers on which a plurality of specific network addresses to be taken over are set, each of the server computers being provided corresponding to each of the plurality of specific network addresses. Flag information holding means for holding flag information that can be set to be arbitrarily and independently switched to one of the first and second states; and In the case of the state, the filtering of the network trailer in the communication data is not performed. In the other cases, the destination network address in the network trailer is set to the specific network address corresponding to the flag information in the second state. A filter that discards the network trailer if it matches one Characterized in that it also comprises a filter driver to perform grayed.

【0012】このような構成では、上記各サーバ計算機
において、ユーザの操作、或いは計算機間の通信等によ
り、所定のコマンドを用いて動的に複数のフラグ情報の
状態(第1または第2の状態)を切り替え設定し、その
複数のフラグ情報の状態と受信データのネットワークト
レーラ中の宛先ネットワークアドレスをもとに、フィル
タドライバにおいてネットワークトレーラの破棄を決定
することにより、クラスタシステムにおいて重要なネッ
トワークアドレスのテイクオーバが複数実現可能とな
る。
In such a configuration, in each of the server computers, the state of a plurality of pieces of flag information (first or second state) is dynamically changed by a user operation or communication between the computers using a predetermined command. ) Is switched, and the filter driver decides to discard the network trailer based on the status of the plurality of flag information and the destination network address in the network trailer of the received data. A plurality of takeovers can be realized.

【0013】また本発明は、サービスを提供するサーバ
計算機を指定する特定ネットワークアドレスが宛先ネッ
トワークアドレスとして設定されたネットワークトレー
ラを含むクライアント計算機からの通信データを受け
て、複数のサーバ計算機のうち、上記特定ネットワーク
アドレスが設定されているサーバ計算機の1つが上記ク
ライアント計算機と通信を行うクラスタシステムにおい
て、上記各サーバ計算機に、上記特定ネットワークアド
レスを宛先ネットワークアドレスとする通信データの受
信時に起動され、当該通信データ中の送信元計算機に関
する情報をもとに、自計算機がサービスを提供すべきで
あるか否かを判断し、対応するフラグ情報を設定する判
断手段と、通信データの受信時に、当該通信データ中の
宛先物理アドレスに無関係に当該通信データ中のネット
ワークトレーラを取り出して、宛先ネットワークアドレ
スをチェックし、この宛先ネットワークアドレスが上記
特定ネットワークアドレスに一致し、且つ上記判断手段
により自計算機がサービスを提供すべきでないことを示
すフラグ情報が設定された場合に限り、上記ネットワー
クトレーラを破棄し、それ以外の場合には、上記ネット
ワークトレーラをネットワーク層に渡すフィルタドライ
バとを備えたことを特徴とする。
Further, the present invention receives communication data from a client computer including a network trailer in which a specific network address designating a server computer which provides a service is set as a destination network address, and receives the communication data from a plurality of server computers. In a cluster system in which one of the server computers to which a specific network address is set communicates with the client computer, each of the server computers is activated when receiving communication data having the specific network address as a destination network address, and Based on the information on the source computer in the data, the own computer determines whether or not the service should be provided, and sets a corresponding flag information. To the destination physical address inside The network trailer in the communication data is taken out of the relationship, the destination network address is checked, and the destination network address matches the specific network address, and the determination means indicates that the computer should not provide the service. A filter driver that discards the network trailer only when the flag information is set, and otherwise passes the network trailer to the network layer.

【0014】このような構成においては、特定ネットワ
ークアドレスが設定されているサーバ計算機、即ちサー
ビスを提供する計算機として指定されたサーバ計算機が
同時に複数存在する場合でも、通信データ中の送信元計
算機に関する情報(つまりサービス提供の要求元のクラ
イアント計算機に関する情報)をもとに、そのうちの1
つだけが、実際にサービスを提供するサーバ計算機とし
て要求元のクライアント計算機と通信を行うことが可能
となり、負荷分散を図ることが可能となる。
In such a configuration, even if a plurality of server computers to which a specific network address is set, that is, a plurality of server computers designated as computers providing a service, exist simultaneously, the information about the transmission source computer in the communication data. (That is, information about the client computer that has requested the service),
Only one can communicate with the requesting client computer as a server computer that actually provides the service, and it is possible to achieve load distribution.

【0015】ここで、通信データ中の送信元計算機に関
する情報として、通信データ中の送信元ネットワークア
ドレス、送信元物理アドレスまたは送信元ポート番号の
いずれか1つの情報を用いるか、送信元ネットワークア
ドレス、送信元物理アドレス及び送信元ポート番号のう
ちの少なくとも2つを組み合わせた情報を用いるなら
ば、負荷分散が簡単に実現できる。この場合、その情報
の所定部分が予め指定された値に一致するか否かに基づ
いてフラグ情報の状態を決定する、つまり自計算機が実
際にサービスを提供すべきであるか否かを決定するとよ
い。このフラグ情報の状態の決定に、各サーバ計算機の
能力の違いも反映させるようにするならば、効果的な負
荷分散が実現できる。
Here, as the information on the source computer in the communication data, any one of the information of the source network address, the source physical address, and the source port number in the communication data is used. If information combining at least two of the source physical address and the source port number is used, load distribution can be easily realized. In this case, when the state of the flag information is determined based on whether or not a predetermined portion of the information matches a predetermined value, that is, when it is determined whether the host computer should actually provide a service, Good. If the difference in the capability of each server computer is reflected in the determination of the state of the flag information, effective load distribution can be realized.

【0016】また、特定ネットワークアドレスが設定さ
れている各サーバ計算機の判断手段が、相互に通信を行
うことでサービスを提供する唯一のサーバ計算機を通信
毎に決定する構成とするとよい。
It is preferable that the determination means of each server computer to which a specific network address is set determine the only server computer that provides a service by communicating with each other for each communication.

【0017】この場合、サービスを提供するサーバ計算
機を通信毎に動的に決定できるため、一層効果的な負荷
分散が実現できる。
In this case, a server computer that provides a service can be dynamically determined for each communication, so that more effective load distribution can be realized.

【0018】[0018]

【発明の実施の形態】以下、本発明の実施の形態につき
図面を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0019】[第1の実施形態]図1は本発明の第1の
実施形態に係るクラスタシステムの構成を示すブロック
図である。
[First Embodiment] FIG. 1 is a block diagram showing a configuration of a cluster system according to a first embodiment of the present invention.

【0020】図1において、複数のサーバ計算機、例え
ばサーバ計算機10A,10B及びクライアント計算機
10Cは、ネットワーク11により結合されている。サ
ーバ計算機10A,10B及びクライアント計算機10
Cは、TCP/IP(transmission co
ntrol protocol/internetpr
otocol)のプログラムを実行する。
In FIG. 1, a plurality of server computers, for example, server computers 10A and 10B and a client computer 10C are connected by a network 11. Server computers 10A and 10B and client computer 10
C is TCP / IP (transmission
ntrol protocol / internetpr
(autocol) program.

【0021】サーバ計算機10A,10Bには、それぞ
れ当該サーバ計算機10A,10Bに固有の(ネットワ
ークアドレスとしての)IPアドレスIPA,IPB
(1種類とは限らない)、及び(物理アドレスとして
の)MACアドレスMACA,MACBが設定されると
共に、当該サーバ計算機10A,10Bに共通のテイク
オーバするIPアドレスIPSが設定される。
The server computers 10A and 10B have IP addresses IPA and IPB (as network addresses) unique to the server computers 10A and 10B, respectively.
(Not limited to one type) and MAC addresses MACA and MACB (as physical addresses) are set, and a common takeover IP address IPS is set for the server computers 10A and 10B.

【0022】サーバ計算機10Aには、本発明に直接関
係するフィルタドライバ100が実装されている。この
フィルタドライバ100は、ネットワーク11を介して
の計算機間の通信で適用されるインタフェース層10
1、ネットワーク層102、トランスポート層103、
及びアプリケーション層104のうちの、インタフェー
ス層101とネットワーク層102の間に位置してい
る。インタフェース層101、ネットワーク層102、
及びトランスポート層103は、通信ドライバ105に
より実現される。
A filter driver 100 directly related to the present invention is mounted on the server computer 10A. The filter driver 100 includes an interface layer 10 applied for communication between computers via a network 11.
1, network layer 102, transport layer 103,
And the application layer 104 between the interface layer 101 and the network layer 102. Interface layer 101, network layer 102,
The transport layer 103 is realized by the communication driver 105.

【0023】フィルタドライバ100は、宛先IPアド
レスのフィルタリングを行うもので、上記IPアドレス
IPSのオン(on)/オフ(off)を指定するため
のフラグ100a(F)を有している。このフラグ10
0aは、サーバ計算機10Aのコマンド実行機能により
実現されるフラグ操作機構106が所定のフラグ操作コ
マンド107を実行することで動的にon/offされ
る。
The filter driver 100 performs filtering of a destination IP address, and has a flag 100a (F) for designating ON / OFF of the IP address IPS. This flag 10
0a is dynamically turned on / off when the flag operation mechanism 106 realized by the command execution function of the server computer 10A executes a predetermined flag operation command 107.

【0024】本実施形態においてフィルタドライバ10
0は、フラグ100aがonの場合には、インタフェー
ス層101から送られるIPトレーラ(ネットワークト
レーラ)23(図2参照)をそのままネットワーク層1
02に通過させるように構成されている。またフィルタ
ドライバ100は、フラグ100aがoffの場合に
は、IPトレーラ23中の宛先IPアドレス24(図2
参照)がIPSに一致するか否かに応じて、当該IPト
レーラ23を破棄またはネットワーク層102に通過さ
せるようにも構成されている。
In this embodiment, the filter driver 10
0 indicates that if the flag 100a is on, the IP trailer (network trailer) 23 (see FIG. 2) sent from the interface
02. When the flag 100a is off, the filter driver 100 sets the destination IP address 24 in the IP trailer 23 (see FIG. 2).
The IP trailer 23 is configured to be discarded or passed to the network layer 102 depending on whether or not the IP trailer matches the IPS.

【0025】インタフェース層101の前段にはネット
ワーク11とのインタフェースをなすネットワークイン
タフェース108が設けられている。このネットワーク
インタフェース108は物理層を構成している。
A network interface 108 for interfacing with the network 11 is provided before the interface layer 101. This network interface 108 constitutes a physical layer.

【0026】以上の構成は、サーバ計算機10A以外の
サーバ計算機、例えばサーバ計算機10Bにおいても同
様である。したがって、フィルタドライバ100のフラ
グ100aを例にとると、サーバ計算機10Bでもフラ
グ操作コマンド107に応じて当該フラグ100aをo
n/off操作可能である。この操作は、サーバ計算機
10A,10B間で互いに通信を行って実行するとよ
い。但し、図1では、サーバ計算機10Bの構成は省略
されている。
The above configuration is the same for server computers other than the server computer 10A, for example, the server computer 10B. Therefore, taking the flag 100a of the filter driver 100 as an example, the server computer 10B sets the flag 100a to o according to the flag operation command 107.
n / off operation is possible. This operation may be performed by communicating with each other between the server computers 10A and 10B. However, in FIG. 1, the configuration of the server computer 10B is omitted.

【0027】図2はネットワーク11を転送される通信
データ(通信パケット)としてのイーサネット(Eth
ernet(登録商標))トレーラ20の概略フォーマ
ットを示す。
FIG. 2 shows an Ethernet (Eth) as communication data (communication packet) transferred through the network 11.
1 shows a schematic format of an ernet® trailer 20.

【0028】同図に示すように、イーサネットトレーラ
20は、宛先MAC(MediaAccess Con
trol)アドレス21を含むヘッダ部(イーサネット
ヘッダ)22、及びIPトレーラ23を有している。こ
のIPトレーラ23は、宛先IPアドレス24及び送信
元IPアドレス25を含むヘッダ部(IPヘッダ)26
を有している。
As shown in FIG. 1, the Ethernet trailer 20 has a destination MAC (MediaAccess Con).
(Troll) address 21 and an IP trailer 23. The IP trailer 23 has a header (IP header) 26 including a destination IP address 24 and a source IP address 25.
have.

【0029】次に、図1のシステムの動作を、サーバ計
算機10Bからサーバ計算機10Aにサービスを引き継
ぐ場合のIPアドレスのテイクオーバを例に、図3のフ
ローチャートを参照して説明する。
Next, the operation of the system shown in FIG. 1 will be described with reference to a flowchart shown in FIG. 3, taking a takeover of an IP address when taking over a service from the server computer 10B to the server computer 10A as an example.

【0030】まず、クライアント計算機10Cからネッ
トワーク11上に、IPトレーラ23の宛先IPアドレ
ス24がIPSであるイーサネットトレーラ(通信パケ
ット)20、つまりIPS宛てのIPトレーラ23を含
むイーサネットトレーラ20が送出されたものとする。
このクライアント計算機10Cからネットワーク11上
に送出されたイーサネットトレーラ20は、当該ネット
ワーク11に接続されている各計算機に導かれ、その計
算機のネットワークインタフェースで受信される。例え
ば、サーバ計算機10Aに対しては、図1において符号
12で示す経路でクライアント計算機10Cからのイー
サネットトレーラ20が導かれ、当該サーバ計算機10
Aのネットワークインタフェース108で受信される。
First, an Ethernet trailer (communication packet) 20 whose destination IP address 24 of the IP trailer 23 is IPS, that is, an Ethernet trailer 20 including the IP trailer 23 addressed to the IPS is transmitted from the client computer 10C onto the network 11. Shall be.
The Ethernet trailer 20 transmitted from the client computer 10C onto the network 11 is guided to each computer connected to the network 11 and received by the network interface of the computer. For example, the Ethernet trailer 20 from the client computer 10C is guided to the server computer 10A through the path indicated by reference numeral 12 in FIG.
A is received by the network interface 108 of A.

【0031】サーバ計算機10Aのネットワークインタ
フェース108で受信された(クライアント計算機10
Cからの)イーサネットトレーラ20は、当該サーバ計
算機10Aのインタフェース層101に渡される。
The data is received by the network interface 108 of the server computer 10A (the client computer 10A).
The Ethernet trailer 20 (from C) is passed to the interface layer 101 of the server computer 10A.

【0032】サーバ計算機10Aのインタフェース層1
01では、イーサネットトレーラ20のヘッダ部22中
の宛先MACアドレス21をチェックする(ステップS
1)。
Interface layer 1 of server computer 10A
01, the destination MAC address 21 in the header section 22 of the Ethernet trailer 20 is checked (Step S).
1).

【0033】ステップS1でのMACアドレスチェック
の結果、宛先MACアドレス21がMACAに一致する
ならば(ステップS2)、インタフェース層101では
イーサネットトレーラ20が自分宛のものであると判断
し、イーサネットトレーラ20からIPトレーラ23を
取り出して、フィルタドライバ100に渡す(ステップ
S3)。これに対し、宛先MACアドレス21がMAC
Aに一致しないならば(ステップS2)、インタフェー
ス層101ではイーサネットトレーラ20が自分宛のも
のでないものと判断し、当該イーサネットトレーラ20
を破棄する(ステップS4)。
As a result of the MAC address check in step S1, if the destination MAC address 21 matches the MACA (step S2), the interface layer 101 determines that the Ethernet trailer 20 is addressed to itself, and The IP trailer 23 is taken out from the server and passed to the filter driver 100 (step S3). On the other hand, if the destination MAC address 21
If it does not match A (step S2), the interface layer 101 determines that the Ethernet trailer 20 is not addressed to itself, and
Is discarded (step S4).

【0034】フィルタドライバ100は、インタフェー
ス層101からIPトレーラ23を渡されると、フラグ
(F)100aの状態を参照し、当該フラグ100aが
on状態にあるか否かを判断する(ステップS5)。
Upon receiving the IP trailer 23 from the interface layer 101, the filter driver 100 refers to the state of the flag (F) 100a and determines whether or not the flag 100a is on (step S5).

【0035】もし、フラグ100aがon状態にあるな
らば、つまりフラグ操作コマンド107に従うサーバ計
算機10A内のフラグ操作機構106の動作によりフラ
グ100aがonされているならば、フィルタドライバ
100は特別のフィルタリング動作を行わず、インタフ
ェース層101から渡されたIPトレーラ23をそのま
まネットワーク層102に渡す(ステップS6)。
If the flag 100a is on, that is, if the flag 100a is turned on by the operation of the flag operating mechanism 106 in the server computer 10A in accordance with the flag operation command 107, the filter driver 100 performs special filtering. The operation is not performed, and the IP trailer 23 passed from the interface layer 101 is passed to the network layer 102 as it is (step S6).

【0036】したがって、本実施形態のようにIPSに
一致する宛先IPアドレス24がIPトレーラ23に設
定されている場合には、そのIPトレーラ23が同じサ
ーバ計算機10A内のネットワーク層102に渡される
ことで、当該サーバ計算機10AでのIPアドレスのテ
イクオーバが可能となる。
Therefore, when the destination IP address 24 matching the IPS is set in the IP trailer 23 as in the present embodiment, the IP trailer 23 is transferred to the network layer 102 in the same server computer 10A. Thus, takeover of the IP address in the server computer 10A becomes possible.

【0037】一方、フラグ100aがoff状態にある
ならば、つまりフラグ操作コマンド107に従うサーバ
計算機10A内のフラグ操作機構106の動作によりフ
ラグ100aがoffされているならば、フィルタドラ
イバ100は、以下に述べるフィルタリング動作を行
う。
On the other hand, if the flag 100a is in the off state, that is, if the flag 100a is turned off by the operation of the flag operation mechanism 106 in the server computer 10A according to the flag operation command 107, the filter driver 100 The filtering operation described below is performed.

【0038】まずフィルタドライバ100は、インタフ
ェース層101から渡されたIPトレーラ23中の宛先
IPアドレス24をチェックし、当該宛先IPアドレス
24がIPSに一致するか否かを判断する(ステップS
7,S8)。
First, the filter driver 100 checks the destination IP address 24 in the IP trailer 23 passed from the interface layer 101, and determines whether or not the destination IP address 24 matches the IPS (step S).
7, S8).

【0039】もし、IPトレーラ23中の宛先IPアド
レス24がIPSに一致するならば、つまりIPS宛て
のIPトレーラ23であるならば、フラグ100aがo
ffの状態では自計算機10AがIPアドレスIPSの
テイクオーバの対象外であることから、フィルタドライ
バ100は当該IPトレーラ23を破棄する(ステップ
S9)。したがって、フラグ100aがoff状態にあ
るサーバ計算機10AにてIPアドレスのテイクオーバ
が行われるのが防止できる。
If the destination IP address 24 in the IP trailer 23 matches the IPS, that is, if it is the IP trailer 23 addressed to the IPS, the flag 100a is set to o.
In the state of ff, since the own computer 10A is not a target of the takeover of the IP address IPS, the filter driver 100 discards the IP trailer 23 (step S9). Therefore, it is possible to prevent the IP address takeover from being performed in the server computer 10A in which the flag 100a is in the off state.

【0040】これに対し、IPトレーラ23中の宛先I
Pアドレス24がIPSに一致しないならば、つまりI
PS宛てのIPトレーラ23でないならば、IPアドレ
スIPSのテイクオーバに関係ないことから、フラグ1
00aがoffの状態であっても、フィルタドライバ1
00は当該IPトレーラ23をネットワーク層102に
渡す(ステップS6)。
On the other hand, the destination I in the IP trailer 23
If the P address 24 does not match the IPS,
If it is not the IP trailer 23 addressed to the PS, it is not related to the takeover of the IP address IPS.
00a is off, the filter driver 1
00 passes the IP trailer 23 to the network layer 102 (step S6).

【0041】[第2の実施形態]図4は本発明の第2の
実施形態に係るクラスタシステムの構成を示すブロック
図であり、図1と同一部分には同一符号を付してある。
[Second Embodiment] FIG. 4 is a block diagram showing the configuration of a cluster system according to a second embodiment of the present invention, and the same parts as those in FIG. 1 are denoted by the same reference numerals.

【0042】図4において、図1中のサーバ計算機10
A,10Bに相当するサーバ計算機40A,40B、及
びクライアント計算機10Cに相当するクライアント計
算機40Cは、ネットワーク11により結合されてい
る。サーバ計算機40A,40Bには、それぞれ当該サ
ーバ計算機40A,40Bに固有のIPアドレスIP
A,IPB(1種類とは限らない)が設定されると共
に、当該サーバ計算機10A,10Bに共通のテイクオ
ーバする複数のIPアドレス、例えば2個のIPアドレ
スIPS1,IPS2が設定される。
In FIG. 4, the server computer 10 shown in FIG.
Server computers 40A and 40B corresponding to A and 10B and a client computer 40C corresponding to the client computer 10C are connected by a network 11. Each of the server computers 40A and 40B has an IP address unique to the server computer 40A and 40B.
A and IPB (not limited to one type) are set, and a plurality of IP addresses for takeover common to the server computers 10A and 10B, for example, two IP addresses IPS1 and IPS2 are set.

【0043】サーバ計算機40Aには、インタフェース
層101とネットワーク層102の間に位置するフィル
タドライバ400が実装されている。フィルタドライバ
400は、宛先IPアドレスのフィルタリングを行うも
ので、上記IPアドレスIPS1,IPS2のon/o
ffを指定するためのフラグ400a(F1),400
b(F2)を有している。このフラグ400a(F
1),400b(F2)は、フラグ操作機構106が所
定のフラグ操作コマンド407を実行することで動的に
且つ独立にon/offされる。フィルタドライバ40
0は、フラグ(F1),400b(F2)が全てonの
場合には、インタフェース層101から渡されるIPト
レーラ23をそのままネットワーク層102に渡す。ま
たフィルタドライバ400は、フラグ(F1),400
b(F2)の少なくとも一方がoffの場合には、IP
トレーラ23中の宛先IPアドレス24が、当該off
状態にあるフラグ(Fi)に対応するIPアドレスIP
Si(iは1または2)に一致するか否かに応じて、当
該IPトレーラ23を破棄またはネットワーク層102
に通過させる。
A filter driver 400 located between the interface layer 101 and the network layer 102 is mounted on the server computer 40A. The filter driver 400 filters the destination IP address, and turns on / off the IP addresses IPS1 and IPS2.
flags 400a (F1), 400 for designating ff
b (F2). This flag 400a (F
1) and 400b (F2) are dynamically and independently turned on / off by the flag operation mechanism 106 executing a predetermined flag operation command 407. Filter driver 40
If the flag (F1) and the flag 400b (F2) are all on, 0 indicates that the IP trailer 23 passed from the interface layer 101 is passed to the network layer 102 as it is. In addition, the filter driver 400 sets the flags (F1), 400
If at least one of b (F2) is off, IP
The destination IP address 24 in the trailer 23 is
IP address IP corresponding to the state flag (Fi)
The IP trailer 23 is discarded or the network layer 102
Let through.

【0044】以上の構成は、サーバ計算機40A以外の
サーバ計算機、例えばサーバ計算機40Bにおいても同
様である。
The above configuration is the same for server computers other than the server computer 40A, for example, the server computer 40B.

【0045】次に、図4のシステムの動作を、サーバ計
算機40Bからサーバ計算機40Aにサービスを引き継
ぐ場合のIPアドレスのテイクオーバを例に、図5のフ
ローチャートを参照して説明する。
Next, the operation of the system shown in FIG. 4 will be described with reference to a flowchart shown in FIG. 5, taking an example of takeover of an IP address when a service is taken over from the server computer 40B to the server computer 40A.

【0046】まず、クライアント計算機40Cからネッ
トワーク11上に、IPトレーラ23の宛先IPアドレ
ス24がIPS1またはIPS2のイーサネットトレー
ラ20が送出されたものとする。このイーサネットトレ
ーラ20は、例えばサーバ計算機40Aに対しては、図
4において符号42で示す経路で導かれ、当該サーバ計
算機40Aのネットワークインタフェース108で受信
される。
First, it is assumed that the Ethernet trailer 20 whose destination IP address 24 of the IP trailer 23 is IPS1 or IPS2 is transmitted from the client computer 40C onto the network 11. The Ethernet trailer 20 is guided to, for example, the server computer 40A via a path indicated by reference numeral 42 in FIG. 4, and is received by the network interface 108 of the server computer 40A.

【0047】サーバ計算機40Aのネットワークインタ
フェース108で受信された(クライアント計算機40
Cからの)イーサネットトレーラ20は、当該サーバ計
算機40Aのインタフェース層101に渡される。イン
タフェース層101では、前記第1の実施形態における
ステップS1〜S3に相当するステップS11〜S1
3、またはステップS1,S2,S4に相当するステッ
プS11,S12,S14が実行される。
The data is received by the network interface 108 of the server computer 40A (the client computer 40A).
The Ethernet trailer 20 (from C) is passed to the interface layer 101 of the server computer 40A. In the interface layer 101, steps S11 to S1 corresponding to steps S1 to S3 in the first embodiment are performed.
3, or steps S11, S12, and S14 corresponding to steps S1, S2, and S4 are performed.

【0048】もし、ステップS11〜S13が実行され
た場合、フィルタドライバ400は、インタフェース層
101からイーサネットトレーラ20中のIPトレーラ
23を受け取ることになる。この場合、フィルタドライ
バ400は、フラグ400a(F1),400b(F
2)の状態を参照し、当該フラグF1,F2が全てon
状態にあるか否かを判断する(ステップS15)。
If steps S11 to S13 have been executed, the filter driver 400 receives the IP trailer 23 in the Ethernet trailer 20 from the interface layer 101. In this case, the filter driver 400 outputs the flags 400a (F1) and 400b (F
With reference to the state of 2), the flags F1 and F2 are all on.
It is determined whether it is in the state (step S15).

【0049】もし、フラグF1,F2が全てon状態に
あるならば、フィルタドライバ400は特別のフィルタ
リング動作を行わず、インタフェース層101から受け
取ったIPトレーラ23をそのままネットワーク層10
2に渡す(ステップS16)。
If the flags F1 and F2 are all on, the filter driver 400 does not perform a special filtering operation, and passes the IP trailer 23 received from the interface layer 101 as it is to the network layer 10
2 (step S16).

【0050】したがって、IPS1またはIPS2に一
致する宛先IPアドレス24がIPトレーラ23に設定
されている場合には、そのIPトレーラ23が同じサー
バ計算機40A内のネットワーク層102に渡されるこ
とで、当該サーバ計算機40AでのIPアドレスのテイ
クオーバが可能となる。
Therefore, when the destination IP address 24 corresponding to IPS1 or IPS2 is set in the IP trailer 23, the IP trailer 23 is transferred to the network layer 102 in the same server computer 40A, and the server The takeover of the IP address in the computer 40A becomes possible.

【0051】一方、フラグF1,F2の少なくとも一方
がoff状態にあるならば、フィルタドライバ400
は、以下に述べるフィルタリング動作を行う。
On the other hand, if at least one of the flags F1 and F2 is in the off state, the filter driver 400
Performs the filtering operation described below.

【0052】まずフィルタドライバ400は、off状
態にあるフラグFi(iは0または1の少なくとも一
方)を検出する(ステップS17)。次にフィルタドラ
イバ400は、インタフェース層101から渡されたI
Pトレーラ23中の宛先IPアドレス24をチェック
し、当該宛先IPアドレス24が、ステップS17で検
出したフラグFiに対応するIPアドレスIPSiに一
致するか否かを判断する(ステップS18,S19)。
First, the filter driver 400 detects the flag Fi (i is at least one of 0 and 1) in the off state (step S17). Next, the filter driver 400 receives the I
The destination IP address 24 in the P trailer 23 is checked, and it is determined whether or not the destination IP address 24 matches the IP address IPSi corresponding to the flag Fi detected in step S17 (steps S18, S19).

【0053】もし、IPトレーラ23中の宛先IPアド
レス24がIPSiに一致するならば、つまりIPSi
宛てのIPトレーラ23であるならば、フラグFiがo
ffの状態では自計算機10AがIPアドレスIPSi
のテイクオーバの対象外であることから、フィルタドラ
イバ400は当該IPトレーラ23を破棄する(ステッ
プS20)。したがって、フラグFiがoff状態にあ
るサーバ計算機40AにてIPアドレスIPSiのテイ
クオーバが行われるのが防止できる。
If the destination IP address 24 in the IP trailer 23 matches the IPSi,
If the destination is the IP trailer 23, the flag Fi is set to o.
In the state of ff, the own computer 10A receives the IP address IPSi
The filter driver 400 discards the IP trailer 23 because it is not the target of takeover (step S20). Therefore, the takeover of the IP address IPSi can be prevented from being performed in the server computer 40A in which the flag Fi is in the off state.

【0054】これに対し、IPトレーラ23中の宛先I
Pアドレス24がIPSiに一致しないならば、つまり
IPSi宛てのIPトレーラ23でないならば、IPア
ドレスIPSiのテイクオーバに関係ないことから、フ
ラグFiがoffの状態であっても、フィルタドライバ
400は当該IPトレーラ23をネットワーク層102
に渡す(ステップS16)。
On the other hand, the destination I in the IP trailer 23
If the P address 24 does not match the IPSi, that is, if it is not the IP trailer 23 destined for the IPSi, the filter driver 400 does not affect the takeover of the IP address IPSi even if the flag Fi is off. Trailer 23 to network layer 102
(Step S16).

【0055】[第3の実施形態]図6は本発明の第3の
実施形態に係るクラスタシステムの構成を示すブロック
図であり、図1と同一部分には同一符号を付してある。
[Third Embodiment] FIG. 6 is a block diagram showing a configuration of a cluster system according to a third embodiment of the present invention, and the same parts as those in FIG. 1 are denoted by the same reference numerals.

【0056】図6において、例えばサーバ計算機60
A,60B及びクライアント計算機60Cは、ネットワ
ーク11により結合されている。サーバ計算機60A,
60BはTCP/IPのサーバプログラムを実行し、ク
ライアントサーバ計算機60CはTCP/IPのクライ
アントプログラムを実行する。
In FIG. 6, for example, the server computer 60
A, 60B and the client computer 60C are connected by a network 11. Server computer 60A,
60B executes a TCP / IP server program, and client server computer 60C executes a TCP / IP client program.

【0057】サーバ計算機60A,60Bには、それぞ
れ当該サーバ計算機60A,60Bに固有のIPアドレ
スIPA,IPB(1種類とは限らない)、及びMAC
アドレスMACA,MACBが設定されると共に、当該
サーバ計算機60A,60Bに共通のサービスを提供す
る(サーバ計算機を示す)IPアドレスIPSが設定さ
れる。
Each of the server computers 60A and 60B has an IP address IPA and IPB (not limited to one type) unique to the server computers 60A and 60B, and a MAC.
Addresses MACA and MACB are set, and an IP address IPS (indicating a server computer) that provides a common service to the server computers 60A and 60B is set.

【0058】サーバ計算機60A,60Bには、フィル
タドライバ600が実装されている。このフィルタドラ
イバ600は、ネットワークインタフェース108とネ
ットワーク層102との間に位置している。本実施形態
では、フィルタドライバ600にインタフェース層の機
能を持たせてある。このためサーバ計算機60A,60
Bには、前記第1及び第2の実施形態とは異なって、独
立のインタフェース層は存在しない。そこで本実施形態
では、ネットワーク11からサーバ計算機60A,60
Bのネットワークインタフェース108で受信されたイ
ーサネットトレーラ20は、そのままフィルタドライバ
600に渡される構成を適用している。
A filter driver 600 is mounted on each of the server computers 60A and 60B. This filter driver 600 is located between the network interface 108 and the network layer 102. In the present embodiment, the filter driver 600 has the function of the interface layer. For this reason, the server computers 60A, 60
In B, unlike the first and second embodiments, there is no independent interface layer. Therefore, in the present embodiment, the server computers 60A, 60A
The configuration of the Ethernet trailer 20 received by the network interface 108 of B is passed to the filter driver 600 as it is.

【0059】フィルタドライバ600の第1の特徴は、
インタフェース層の機能を持ちながら、通常のインタフ
ェース層(例えば図1中のインタフェース層101)と
異なって、宛先MACアドレスのチェックを行わない点
にある。
The first feature of the filter driver 600 is as follows.
This is different from a normal interface layer (for example, the interface layer 101 in FIG. 1) in that the destination MAC address is not checked while having the function of the interface layer.

【0060】フィルタドライバ600の第2の特徴は、
ネットワークインタフェース108で受信されたイーサ
ネットトレーラ20中のIPトレーラ23に含まれてい
る宛先IPアドレスをチェックし、IPSで、且つ後述
する判断装置601から「off」が返された場合に
は、当該IPトレーラ23を破棄し、それ以外の場合に
は当該IPトレーラ23をネットワーク層102に渡す
ように構成されている点にある。
The second feature of the filter driver 600 is as follows.
The destination IP address included in the IP trailer 23 in the Ethernet trailer 20 received by the network interface 108 is checked, and if “off” is returned by the IPS and from the determination device 601 described later, the IP The configuration is such that the trailer 23 is discarded, and otherwise the IP trailer 23 is passed to the network layer 102.

【0061】サーバ計算機60A,60Bにはまた、判
断装置601が実装されている。このサーバ計算機60
A,60B内の判断装置601は、受信イーサネットト
レーラ20中のIPトレーラ23に含まれている宛先I
PアドレスがIPSの場合にフィルタドライバ600に
より起動され、IPトレーラ23中の送信元IPアドレ
ス25に基づいて、自サーバ計算機60A,60Bがサ
ービスを提供すべきか否かを示す「on」または「of
f」のフラグ情報を当該フィルタドライバ600に返す
ように構成されている。
The server computers 60A and 60B are also provided with a judgment device 601. This server computer 60
A, 60B determines the destination I included in the IP trailer 23 in the reception Ethernet trailer 20.
When the P address is IPS, it is started by the filter driver 600, and based on the transmission source IP address 25 in the IP trailer 23, "on" or "of" indicating whether or not the own server computers 60A and 60B should provide a service.
The flag information “f” is returned to the filter driver 600.

【0062】ネットワーク層102、及び当該ネットワ
ーク層102の上位層であるトランスポート層103
は、通信ドライバ605により実現される。
The network layer 102 and the transport layer 103 which is an upper layer of the network layer 102
Is realized by the communication driver 605.

【0063】次に、図6のシステムの動作を、クライア
ント計算機60CからIPS宛てのイーサネットトレー
ラ20がネットワーク11上に送出された場合を例に、
図7及び図8のフローチャートを参照して説明する。
Next, the operation of the system shown in FIG. 6 will be described by taking, as an example, the case where the Ethernet trailer 20 addressed to the IPS is transmitted from the client computer 60C onto the network 11.
This will be described with reference to the flowcharts of FIGS.

【0064】まず、クライアント計算機60Cからネッ
トワーク11上に、IPトレーラ23の宛先IPアドレ
ス24がIPSであるイーサネットトレーラ(通信パケ
ット)20、つまりIPS宛てのIPトレーラ23を含
むイーサネットトレーラ20が送出されたものとする。
このクライアント計算機60Cからネットワーク11上
に送出されたイーサネットトレーラ20は、当該ネット
ワーク11に接続されている各計算機に導かれ、その計
算機のネットワークインタフェースで受信される。例え
ば、サーバ計算機60A,60Bに対しては、図6にお
いて符号62で示す経路でクライアント計算機60Cか
らのイーサネットトレーラ20が導かれ、当該サーバ計
算機60A,60Bのネットワークインタフェース10
8で受信される。
First, the Ethernet trailer (communication packet) 20 whose destination IP address 24 of the IP trailer 23 is IPS, that is, the Ethernet trailer 20 including the IP trailer 23 addressed to the IPS is transmitted from the client computer 60C onto the network 11. Shall be.
The Ethernet trailer 20 transmitted from the client computer 60C onto the network 11 is guided to each computer connected to the network 11, and received by the network interface of the computer. For example, the Ethernet trailer 20 from the client computer 60C is guided to the server computers 60A and 60B via a path indicated by reference numeral 62 in FIG. 6, and the network interface 10 of the server computers 60A and 60B is connected.
8 is received.

【0065】サーバ計算機60A,60Bのネットワー
クインタフェース108で受信された(クライアント計
算機60Cからの)イーサネットトレーラ20は、その
ままフィルタドライバ600に渡される(ステップS2
1)。
The Ethernet trailer 20 (from the client computer 60C) received by the network interface 108 of the server computers 60A and 60B is passed to the filter driver 600 as it is (step S2).
1).

【0066】サーバ計算機60A,60Bの各フィルタ
ドライバ600は、受け取ったイーサネットトレーラ2
0のヘッダ部22中の宛先MACアドレス21を(通常
のインタフェース層とは異なって)チェックせず、宛先
MACアドレス21(が自身のMACアドレスMAC
A,MACBに一致するか否か)に無関係に、当該イー
サネットトレーラ20からIPトレーラ23を取り出す
(ステップS22)。
The filter drivers 600 of the server computers 60A and 60B receive the received Ethernet trailer 2
0 of the destination MAC address 21 in the header portion 22 (different from the normal interface layer), and the destination MAC address 21
A, regardless of whether it matches MACB), the IP trailer 23 is taken out from the Ethernet trailer 20 (step S22).

【0067】次にサーバ計算機60A,60Bの各フィ
ルタドライバ600は、取り出したIPトレーラ23中
の宛先IPアドレス24をチェックし、当該宛先IPア
ドレス24がIPSに一致するか否かを判断する(ステ
ップS23,S24)。
Next, each of the filter drivers 600 of the server computers 60A and 60B checks the destination IP address 24 in the extracted IP trailer 23 and determines whether or not the destination IP address 24 matches the IPS (step). S23, S24).

【0068】もし、IPトレーラ23中の宛先IPアド
レス24がIPSに一致しないならば、つまりIPS宛
てのIPトレーラ23でないならば、フィルタドライバ
600は当該IPトレーラ23をネットワーク層102
に渡して、このネットワーク層102での処理に任せる
(ステップS6)。
If the destination IP address 24 in the IP trailer 23 does not match the IPS, that is, if the destination IP address 24 is not the IP trailer 23 addressed to the IPS, the filter driver 600 stores the IP trailer 23 in the network layer 102.
To the processing in the network layer 102 (step S6).

【0069】一方、本実施形態のように、IPトレーラ
23中の宛先IPアドレス24がIPSに一致するなら
ば、つまりIPS宛てのIPトレーラ23であるなら
ば、フィルタドライバ600は当該IPトレーラ23を
同じサーバ計算機60A,60Bの判断装置601に渡
して、その判断装置601から判断結果が渡されるのを
待つ(ステップS26)。
On the other hand, as in the present embodiment, if the destination IP address 24 in the IP trailer 23 matches the IPS, that is, if the IP trailer 23 is addressed to the IPS, the filter driver 600 sets the IP trailer 23 to It passes to the judgment device 601 of the same server computer 60A, 60B, and waits for the judgment result from the judgment device 601 (step S26).

【0070】サーバ計算機60A,60Bの各判断装置
601は、フィルタドライバ600から渡されたIPト
レーラ23中の送信元IPアドレス25をチェックし
(ステップS31A,31B)、当該IPアドレスが奇
数アドレス(odd)、或いは偶数アドレス(eve
n)のいずれであるかを判断する(ステップS32A,
32B)。この判断は、例えば上記IPアドレスの最下
位ビットが“1”、或いは“0”のいずれであるかを調
べることにより行われる。
Each of the judging devices 601 of the server computers 60A and 60B checks the source IP address 25 in the IP trailer 23 passed from the filter driver 600 (steps S31A and 31B), and finds that the IP address is an odd address (odd). ) Or even addresses (even
n) is determined (step S32A,
32B). This determination is made, for example, by checking whether the least significant bit of the IP address is “1” or “0”.

【0071】送信元IPアドレス25が奇数アドレスの
場合、サーバ計算機60Aの判断装置601は「on」
のフラグ情報を、サーバ計算機60Bの判断装置601
は「off」のフラグ情報を、それぞれ自計算機60
A,60Bのフィルタドライバ600に判断結果として
返す(ステップS33A,33B)。
When the transmission source IP address 25 is an odd address, the judgment device 601 of the server computer 60A sets “on”
Of the flag information of the server computer 60B
Indicates the flag information of “off”,
The determination result is returned to the filter driver 600 of A, 60B (steps S33A, 33B).

【0072】これに対し、送信元IPアドレス25が偶
数アドレスの場合には、サーバ計算機60Aの判断装置
601は「off」のフラグ情報を、サーバ計算機60
Bの判断装置601は「on」のフラグ情報を、それぞ
れ自計算機60A,60Bのフィルタドライバ600に
判断結果として返す(ステップS34A,34B)。
On the other hand, when the transmission source IP address 25 is an even address, the judging device 601 of the server computer 60A sends the “off” flag information to the server computer 60A.
The determination device 601 of B returns the flag information of “on” as the determination result to the filter drivers 600 of the own computers 60A and 60B (steps S34A and 34B).

【0073】サーバ計算機60A,60Bの各フィルタ
ドライバ600は、判断装置601から判断結果として
のフラグ情報が返されると、そのフラグ情報のon/o
ffをチェックする(ステップS27)。もし、フラグ
情報(判断結果)が「on」であるならば、フィルタド
ライバ600は、IPトレーラ23を自計算機のネット
ワーク層102に渡す(ステップS25)。これに対
し、フラグ情報(判断結果)が「off」であるなら
ば、フィルタドライバ600は、IPトレーラ23を破
棄する(ステップS28)。
When each of the filter drivers 600 of the server computers 60A and 60B returns the flag information as the determination result from the determination device 601, the flag information is turned on / off.
ff is checked (step S27). If the flag information (judgment result) is “on”, the filter driver 600 passes the IP trailer 23 to the network layer 102 of the own computer (Step S25). On the other hand, if the flag information (determination result) is “off”, the filter driver 600 discards the IP trailer 23 (Step S28).

【0074】以上により、クライアント計算機60Cか
らのイーサネットトレーラ20のIPトレーラ23に含
まれている送信元IPアドレス25、即ちクライアント
計算機60Cに設定されているIPアドレスが奇数アド
レスである場合には、サーバ計算機60Aの判断装置6
01の判断結果は「on」、サーバ計算機60Bの判断
装置601の判断結果は「off」となることから、当
該(クライアント計算機60Cからの)IPトレーラ2
3はサーバ計算機60Aで処理され、クライアント計算
機60Cとサーバ計算機60Aとの間で通信が行われ
る。
As described above, if the source IP address 25 included in the IP trailer 23 of the Ethernet trailer 20 from the client computer 60C, that is, the IP address set in the client computer 60C is an odd address, the server Judgment device 6 of computer 60A
01 is “on”, and the determination result of the determination device 601 of the server computer 60B is “off”, so that the IP trailer 2 (from the client computer 60C)
3 is processed by the server computer 60A, and communication is performed between the client computer 60C and the server computer 60A.

【0075】これとは逆に、クライアント計算機60C
からのイーサネットトレーラ20のIPトレーラ23に
含まれている送信元IPアドレス25が偶数アドレスで
ある場合には、サーバ計算機60Aの判断装置601の
判断結果は「off」、サーバ計算機60Bの判断装置
601の判断結果は「on」となることから、当該(ク
ライアント計算機60Cからの)IPトレーラ23はサ
ーバ計算機60Bで処理され、クライアント計算機60
Cとサーバ計算機60Bとの間で通信が行われる。
On the contrary, the client computer 60C
If the source IP address 25 included in the IP trailer 23 of the Ethernet trailer 20 is an even address, the determination result of the determination device 601 of the server computer 60A is “off”, and the determination device 601 of the server computer 60B. Is "on", the IP trailer 23 (from the client computer 60C) is processed by the server computer 60B, and the client computer 60
Communication is performed between C and the server computer 60B.

【0076】このように、サーバ計算機60A及び60
Bの両方にIPアドレスIPSが設定されていたとして
も、クライアント計算機60CからのIPS宛ての(イ
ーサネットトレーラ20中の)IPトレーラ23は、い
ずれか1つのサーバ計算機でのみ処理され、その計算機
とクライアント計算機60Cとの間でのみ通信が行われ
る。つまり、サーバ計算機60A及び60Bのいずれか
1つの計算機のみが要求元のクライアント計算機60C
にサービスを提供する。
As described above, the server computers 60A and 60A
B, the IP trailer 23 (in the Ethernet trailer 20) addressed to the IPS from the client computer 60C is processed by only one of the server computers. Communication is performed only with the computer 60C. That is, only one of the server computers 60A and 60B is the client computer 60C of the request source.
To provide services.

【0077】したがって、クライアント計算機60Cが
複数存在し、各クライアント計算機60Cに設定されて
いるIPアドレスが偶数アドレス、奇数アドレスほぼ同
数の場合には、全クライアント計算機60Cの半数はサ
ーバ計算機60Aからサービスの提供を受け、残りの半
数はサーバ計算機60Bからサービスの提供を受けるこ
とができ、負荷分散(ロードバランス)が図られる。
Therefore, when there are a plurality of client computers 60C and the IP addresses set in each of the client computers 60C are almost the same as the even addresses and the odd addresses, half of all the client computers 60C receive the service from the server computer 60A. After receiving the service, the other half can receive the service from the server computer 60B, and the load distribution (load balancing) is achieved.

【0078】なお、サーバ計算機の数が3台以上の場合
には、その数をNとすると、i番目(i=1〜N)のサ
ーバ計算機では、IPS宛てのイーサネットトレーラ2
0の送信元IPアドレス25がN・n+(i−1)(但
し、n=0,1,2…)の場合に、判断装置601から
フィルタドライバ600に「on」を返す構成とするこ
とで、対処できる。
If the number of server computers is three or more, and the number is N, the i-th (i = 1 to N) server computer has an Ethernet trailer 2 addressed to the IPS.
When the source IP address 25 of 0 is N · n + (i−1) (where n = 0, 1, 2,...), “On” is returned from the determination device 601 to the filter driver 600. , Can cope.

【0079】また、各サーバ計算機の能力が異なる場合
には、その能力も加味することで、一層効率的な負荷分
散を実現できる。例えば、図6のシステムのような2台
のサーバ計算機60A,60Bの場合に、サーバ計算機
60Aと60Bの能力の比が3:1であるものとする
と、サーバ計算機60Bでは、IPアドレスが4の倍数
(つまり、IPアドレスの下位2ビットが“00”)で
あるクライアント計算機からのIPS宛てのイーサネッ
トトレーラ20を受信した場合だけ、サーバ計算機60
Aでは、IPアドレスが4の倍数以外であるクライアン
ト計算機からのIPS宛てのイーサネットトレーラ20
を受信した場合だけ、それぞれ判断装置601からフィ
ルタドライバ600に「on」を返す構成とすればよ
い。
When the capacity of each server computer is different, more efficient load distribution can be realized by taking the capacity into account. For example, in the case of two server computers 60A and 60B as in the system of FIG. 6, assuming that the capacity ratio between the server computers 60A and 60B is 3: 1, the server computer 60B has an IP address of 4 Only when the Ethernet trailer 20 addressed to the IPS is received from the client computer which is a multiple (that is, the lower 2 bits of the IP address is “00”), the server computer 60
In A, the Ethernet trailer 20 addressed to the IPS from the client computer whose IP address is not a multiple of 4
, The determination device 601 may return “on” to the filter driver 600 only when the filter device 600 receives the “.

【0080】以上の実施形態では、サービスを提供する
(サーバ計算機を示す)IPアドレスIPSが設定され
ているサーバ計算機が複数存在する場合に、いずれのサ
ーバ計算機がサービスを提供するかを、送信元(要求
元)クライアント計算機に固有のIPアドレス(送信元
IPアドレス)に基づいて決定する場合について説明し
たが、これに限るものではない。例えば、送信元IPア
ドレスに代えて、送信元(要求元)クライアント計算機
に固有のMACアドレス、即ち送信元MACアドレスを
用いるようにしても構わない。必要ならば、図8のフロ
ーチャート中で「送信元IPアドレス」を「送信元MA
Cアドレス」に置き換えられたい。
In the above embodiment, when there are a plurality of server computers to which a service is provided (indicating a server computer) and an IP address IPS is set, it is determined which of the server computers provides the service by the transmission source. (Requesting Source) The case where the determination is made based on the IP address (source IP address) unique to the client computer has been described, but the present invention is not limited to this. For example, instead of the source IP address, a MAC address unique to the source (request source) client computer, that is, the source MAC address may be used. If necessary, change the “source IP address” in the flowchart of FIG.
C address ".

【0081】また、上記した送信元IPアドレスまたは
送信元MACアドレスに基づくサービス提供サーバ計算
機の決定方式は、いずれも送信元(要求元)クライアン
ト計算機に基づく決定方式といえるが、これ以外の決定
方式も適用可能である。
The above-described method of determining the service providing server computer based on the source IP address or the source MAC address can be said to be a determination method based on the source (request source) client computer. Is also applicable.

【0082】例えば、IPS宛ての通信は、送信元IP
アドレスと、その通信により宛先IPS(の示すサーバ
計算機)からのサービスの提供を必要とする送信元クラ
イアント計算機側のアプリケーション(アプリケーショ
ンプログラム)のプロセスに固有の送信元ポート番号に
より特定できる。そこで、サーバ計算機でIPS宛ての
イーサネットトレーラ20を受信した場合、IPアドレ
スIPSが設定されているサーバ計算機のうちのいずれ
が、当該クライアント計算機に対してサービスを提供す
る(当該クライアント計算機と通信を行う)かを、送信
元(要求元)クライアント計算機に固有のIPアドレス
(つまり送信元IPアドレス)と送信元ポート番号とに
基づいて決定することも可能である。この場合、同じク
ライアント計算機のアプリケーションの要求によるIP
S宛ての通信でも、プロセスが異なれば、異なるサーバ
計算機と通信が行われ、負荷分散が図れる。また、送信
元ポート番号のみに基づいて決定することも可能であ
る。
For example, the communication addressed to the IPS is based on the source IP address.
It can be specified by the address and the source port number unique to the process of the application (application program) on the source client computer side which needs to provide the service from the destination IPS (the server computer indicated by the communication). Therefore, when the server computer receives the Ethernet trailer 20 addressed to the IPS, any of the server computers to which the IP address IPS is set provides a service to the client computer (communicates with the client computer). ) Can be determined based on the IP address (that is, the source IP address) unique to the source (request source) client computer and the source port number. In this case, the IP requested by the application of the same client computer
In the communication addressed to S, if the process is different, communication with a different server computer is performed, and the load can be distributed. It is also possible to determine based on only the source port number.

【0083】なお、送信元IPアドレスと送信元ポート
番号とに基づいてサービスを提供するサーバ計算機を簡
単に決定するには、IPSが設定されているサーバ計算
が上記実施形態のようにサーバ計算機60Aと60Bの
2台の例であれば、送信元IPアドレスと送信元ポート
番号との加算値が奇数或いは偶数のいずれであるかを判
断すればよい。つまり、上記実施形態において送信元I
Pアドレスの奇数/偶数を判断する代わりに、送信元I
Pアドレスと送信元ポート番号との加算値の奇数/偶数
を判断すればよい。
In order to easily determine the server computer that provides the service based on the source IP address and the source port number, the server computer in which the IPS is set must be configured by the server computer 60A as in the above embodiment. And 60B, it is only necessary to determine whether the added value of the source IP address and the source port number is an odd number or an even number. That is, in the above embodiment, the transmission source I
Instead of determining the odd / even P address, the source I
The odd / even number of the sum of the P address and the source port number may be determined.

【0084】ところで、IPSが設定されている複数の
サーバ計算機の負荷状態は変動する。そこで、クライア
ント計算機からのIPS宛てのイーサネットトレーラ2
0を受信した場合に、これら複数のサーバ計算機間で通
信を行って、当該クライアント計算機と通信するサーバ
計算機を決定する構成とするならば、その時点で負荷の
少ないサーバ計算機がサービスを提供することが可能と
なる。これについて、図6のシステムを例に説明する。
By the way, the load state of a plurality of server computers to which the IPS is set fluctuates. Therefore, the Ethernet trailer 2 addressed to the IPS from the client computer
If the server computer communicates with the plurality of server computers when it receives 0, and the server computer that communicates with the client computer is determined, the server computer with a small load at that time should provide the service. Becomes possible. This will be described using the system of FIG. 6 as an example.

【0085】図6のシステムにおいて、サーバ計算機6
0A及び60Bがクライアント計算機60CからのIP
S宛てのイーサネットトレーラ20を受信したものとす
る。この場合、(図7中のステップS26にて)フィル
タドライバ600により起動された各サーバ計算機60
A,60Bの判断装置601間で、図9に示すようにネ
ットワーク11を介して通信90を行い、イーサネット
トレーラ20(中のIPトレーラ23)をいずれが処理
するか、即ちサーバ計算機60A及び60Bのいずれが
送信元クライアント計算機60Cにサービスを提供する
かを決定する。
In the system shown in FIG. 6, the server computer 6
0A and 60B are IPs from the client computer 60C.
It is assumed that the Ethernet trailer 20 addressed to S has been received. In this case, each server computer 60 started by the filter driver 600 (at step S26 in FIG. 7)
The communication 90 is performed between the determination devices 601 of A and 60B via the network 11 as shown in FIG. 9 to determine which one processes the Ethernet trailer 20 (the IP trailer 23 therein), that is, of the server computers 60A and 60B. It is determined which provides the service to the transmission source client computer 60C.

【0086】サービスを提供すると決定したサーバ計算
機の判断装置601は、フィルタドライバ600に対し
て「on」を返し、サービスを提供しないと決定したサ
ーバ計算機の判断装置601は、フィルタドライバ60
0に対して「off」を返す。この状態は、例えばタイ
マ管理により、一定時間保持されるようにするとよい。
The server computer determining device 601 that has decided to provide the service returns “on” to the filter driver 600, and the server computer determining device 601 that has decided not to provide the service sends the filter driver 60.
Returns "off" for 0. This state may be maintained for a certain period of time by, for example, timer management.

【0087】このようにして、サービスを提供するサー
バ計算機を通信毎に動的に決定できる。
In this way, the server computer providing the service can be dynamically determined for each communication.

【0088】[0088]

【発明の効果】以上詳述したように本発明によれば、ネ
ットワーク層の前段にフィルタドライバを実装すること
により、クライアントアプリケーションの改造、更には
ネームサービスサーバの設定を要することなく、ネット
ワークアドレスのテイクオーバが実現できる、また本発
明によれば、ネットワーク層の前段にフィルタドライバ
を実装することにより、専用のアプリケーション、或い
は専用のハードウェア機構を用いることなく、レイヤー
4スイッチを使用した場合と同様に負荷分散が実現でき
As described above in detail, according to the present invention, by installing a filter driver in the former stage of the network layer, it is not necessary to remodel a client application and further to set a name service server, without having to set a name service server. According to the present invention, a takeover can be realized, and according to the present invention, a filter driver is mounted in a stage preceding the network layer, so that a dedicated application or a dedicated hardware mechanism is not used and a layer 4 switch is used. Load distribution can be realized

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

【図1】本発明の第1の実施形態に係るクラスタシステ
ムの構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of a cluster system according to a first embodiment of the present invention.

【図2】イーサネットトレーラの概略フォーマット。FIG. 2 is a schematic format of an Ethernet trailer.

【図3】同実施形態における動作を説明するためのフロ
ーチャート。
FIG. 3 is a flowchart for explaining the operation in the embodiment.

【図4】本発明の第2の実施形態に係るクラスタシステ
ムの構成を示すブロック図。
FIG. 4 is a block diagram showing a configuration of a cluster system according to a second embodiment of the present invention.

【図5】同実施形態における動作を説明するためのフロ
ーチャート。
FIG. 5 is a flowchart for explaining the operation in the embodiment.

【図6】本発明の第3の実施形態に係るクラスタシステ
ムの構成を示すブロック図。
FIG. 6 is a block diagram showing a configuration of a cluster system according to a third embodiment of the present invention.

【図7】同実施形態における動作を説明するためのフロ
ーチャート。
FIG. 7 is a flowchart for explaining the operation in the embodiment.

【図8】同実施形態における動作を説明するためのフロ
ーチャート。
FIG. 8 is a flowchart for explaining the operation in the embodiment.

【図9】サーバ計算機60A,60Bの判断装置601
間の通信によりサービスを提供する計算機を決定する方
法を説明するための図。
FIG. 9 is a diagram illustrating a determination device 601 of the server computers 60A and 60B.
FIG. 4 is a diagram for explaining a method of determining a computer that provides a service by communication between the computers.

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

10A,10B,40A,40B,60A,60B…サ
ーバ計算機 10C,40C,60C…クライアント計算機 11…ネットワーク 100,400,600…フィルタドライバ 100a,400a,400b…フラグ 101…インタフェース層 102…ネットワーク層 105,605…通信ドライバ 106…フラグ操作機構 107,407…フラグ操作コマンド 108…ネットワークインタフェース 601…判断装置
10A, 10B, 40A, 40B, 60A, 60B ... server computers 10C, 40C, 60C ... client computers 11 ... network 100, 400, 600 ... filter drivers 100a, 400a, 400b ... flags 101 ... interface layer 102 ... network layer 105, 605: communication driver 106: flag operation mechanism 107, 407: flag operation command 108: network interface 601: judgment device

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 テイクオーバされる特定ネットワークア
ドレスが宛先ネットワークアドレスとして設定されたネ
ットワークトレーラを含む通信データを用いた通信によ
りサーバ計算機間でサービスの引き継ぎが行われるクラ
スタシステムであって、 前記各サーバ計算機は、 第1及び第2の状態のいずれか一方に任意に切り替え設
定可能なフラグ情報を保持するフラグ情報保持手段と、 通信データの受信時には前記フラグ情報を参照し、前記
第1の状態の場合には前記通信データ中のネットワーク
トレーラのフィルタリングを行わず、前記第2の状態の
場合には、前記ネットワークトレーラ中の宛先ネットワ
ークアドレスが前記特定ネットワークアドレスであるか
否かにより前記ネットワークトレーラのフィルタリング
を行い、前記特定ネットワークアドレスである場合に限
り、前記ネットワークトレーラを破棄するフィルタドラ
イバとを具備することを特徴とするクラスタシステム。
1. A cluster system in which a service is taken over between server computers by communication using communication data including a network trailer in which a specific network address to be taken over is set as a destination network address, wherein each of the server computers A flag information holding means for holding flag information which can be set to be arbitrarily switched to one of a first state and a second state; and Does not perform filtering of the network trailer in the communication data, and in the case of the second state, performs filtering of the network trailer based on whether a destination network address in the network trailer is the specific network address. Perform the specific net A cluster system comprising: a filter driver for discarding the network trailer only when the address is a work address.
【請求項2】 テイクオーバされる複数の特定ネットワ
ークアドレスの1つが宛先ネットワークアドレスとして
設定されたネットワークトレーラを含む通信データを用
いた通信によりサーバ計算機間でサービスの引き継ぎが
行われるクラスタシステムであって、 前記各サーバ計算機は、 前記複数の特定ネットワークアドレスの各々にそれぞれ
対応して設けられ、第1及び第2の状態のいずれか一方
に任意に且つ独立に切り替え設定可能なフラグ情報を保
持するフラグ情報保持手段と、 通信データの受信時には前記各フラグ情報を参照し、全
てが前記第1の状態の場合には前記通信データ中のネッ
トワークトレーラのフィルタリングを行わず、それ以外
の場合には、前記ネットワークトレーラ中の宛先ネット
ワークアドレスが、前記第2の状態にある前記フラグ情
報に対応する特定ネットワークアドレスの1つに一致し
た場合に前記ネットワークトレーラを破棄するフィルタ
リングを行うフィルタドライバとを具備することを特徴
とするクラスタシステム。
2. A cluster system in which a service is taken over between server computers by communication using communication data including a network trailer in which one of a plurality of specific network addresses to be taken over is set as a destination network address, Flag information, wherein each of the server computers is provided in correspondence with each of the plurality of specific network addresses, and holds flag information which can be arbitrarily and independently switched and set in any one of a first state and a second state. Holding means, when receiving communication data, referring to each of the flag information; if all are in the first state, filtering of a network trailer in the communication data is not performed; The destination network address in the trailer is in the second state And a filter driver that performs filtering for discarding the network trailer when the address matches one of the specific network addresses corresponding to the flag information.
【請求項3】 サービスを提供するサーバ計算機を指定
する特定ネットワークアドレスが宛先ネットワークアド
レスとして設定されたネットワークトレーラを含むクラ
イアント計算機からの通信データを受けて、複数のサー
バ計算機のうち、前記特定ネットワークアドレスが設定
されているサーバ計算機の1つが前記クライアント計算
機と通信を行うクラスタシステムであって、 前記各サーバ計算機は、 前記特定ネットワークアドレスを宛先ネットワークアド
レスとする通信データの受信時に起動され、当該通信デ
ータ中の送信元計算機に関する情報をもとに、自計算機
がサービスを提供すべきであるか否かを判断し、対応す
るフラグ情報を設定する判断手段と、 通信データの受信時に、当該通信データ中の宛先物理ア
ドレスに無関係に当該通信データ中のネットワークトレ
ーラを取り出して、宛先ネットワークアドレスをチェッ
クし、この宛先ネットワークアドレスが前記特定ネット
ワークアドレスに一致し、且つ前記判断手段により自計
算機がサービスを提供すべきでないことを示すフラグ情
報が設定された場合に限り、前記ネットワークトレーラ
を破棄し、それ以外の場合には、前記ネットワークトレ
ーラをネットワーク層に渡すフィルタドライバとを具備
することを特徴とするクラスタシステム。
3. Receiving communication data from a client computer including a network trailer in which a specific network address designating a server computer that provides a service is set as a destination network address, among the plurality of server computers, the specific network address. Is a cluster system that communicates with the client computer, wherein each of the server computers is activated when receiving communication data having the specific network address as a destination network address, and A determination unit that determines whether the own computer should provide a service based on the information about the source computer in the communication source, and sets corresponding flag information. Regardless of the destination physical address of the The network trailer in the communication data is taken out, the destination network address is checked, and the flag information indicating that the destination network address matches the specific network address and that the own computer should not provide the service is determined by the determination means. A cluster system comprising: a filter driver that discards the network trailer only when set, and otherwise passes the network trailer to a network layer.
【請求項4】 前記判断手段は、前記通信データ中の送
信元ネットワークアドレス、送信元物理アドレスまたは
送信元ポート番号の所定部分が予め指定された値に一致
するか否かに基づいて、前記フラグ情報の状態を決定す
ることを特徴とする請求項3記載のクラスシステム。
4. The method according to claim 1, wherein the determining unit determines whether or not a predetermined part of a source network address, a source physical address, or a source port number in the communication data matches a predetermined value. The class system according to claim 3, wherein a state of the information is determined.
【請求項5】 前記判断手段は、前記通信データ中の送
信元ネットワークアドレス、送信元物理アドレス及び送
信元ポート番号のうちの少なくとも2つを組み合わせた
情報の所定部分が予め指定された値に一致するか否かに
基づいて、前記フラグ情報の状態を決定することを特徴
とする請求項3記載のクラスシステム。
5. The method according to claim 1, wherein the determining unit determines that a predetermined portion of information obtained by combining at least two of the source network address, the source physical address, and the source port number in the communication data matches a predetermined value. The class system according to claim 3, wherein a state of the flag information is determined based on whether or not to perform the operation.
【請求項6】 サービスを提供するサーバ計算機を指定
する特定ネットワークアドレスが宛先ネットワークアド
レスとして設定されたネットワークトレーラを含むクラ
イアント計算機からの通信データを受けて、複数のサー
バ計算機のうち、前記特定ネットワークアドレスが設定
されているサーバ計算機の1つが前記クライアント計算
機と通信を行うクラスタシステムであって、 前記各サーバ計算機は、 前記特定ネットワークアドレスを宛先ネットワークアド
レスとする通信データの受信時に起動されて、自計算機
がサービスを提供すべきであるか否かを判断し、対応す
るフラグ情報を設定する判断手段と、 通信データの受信時に、当該通信データ中の宛先物理ア
ドレスに無関係に当該通信データ中のネットワークトレ
ーラを取り出して、宛先ネットワークアドレスをチェッ
クし、この宛先ネットワークアドレスが前記特定ネット
ワークアドレスに一致し、且つ前記判断手段により自計
算機がサービスを提供すべきでないことを示すフラグ情
報が設定された場合に限り、前記ネットワークトレーラ
を破棄し、それ以外の場合には、前記ネットワークトレ
ーラをネットワーク層に渡すフィルタドライバとを具備
し、 前記各判断手段は、相互に通信を行うことでサービスを
提供する唯一のサーバ計算機を通信毎に決定することを
特徴とするクラスタシステム。
6. Upon receiving communication data from a client computer including a network trailer in which a specific network address designating a server computer that provides a service is set as a destination network address, said specific network address among a plurality of server computers. Is a cluster system that communicates with the client computer, wherein each of the server computers is activated when receiving communication data having the specific network address as the destination network address, and Means for determining whether a service should be provided and setting corresponding flag information; and, upon receiving the communication data, a network trailer in the communication data regardless of a destination physical address in the communication data. Take out and address The network trailer is checked only when the destination network address matches the specific network address and flag information indicating that the computer should not provide a service is set by the determination means. And a filter driver for passing the network trailer to the network layer in other cases, wherein each of the determination means communicates with each other to communicate with the only server computer which provides the service for each communication. A cluster system characterized in that:
【請求項7】 テイクオーバされる特定ネットワークア
ドレスが宛先ネットワークアドレスとして設定されたネ
ットワークトレーラを含む通信データを用いた通信によ
りサーバ計算機間でサービスの引き継ぎが行われるクラ
スタシステムに適用されるサーバ計算機であって、 第1及び第2の状態のいずれか一方に任意に切り替え設
定可能なフラグ情報を保持するフラグ情報保持手段と、 通信データの受信時には、前記フラグ情報を参照し、前
記第1の状態の場合には前記通信データ中のネットワー
クトレーラのフィルタリングを行わず、前記第2の状態
の場合には、前記ネットワークトレーラの宛先ネットワ
ークアドレスが前記特定ネットワークアドレスであるか
否かにより前記ネットワークトレーラのフィルタリング
を行い、前記特定ネットワークアドレスである場合に限
り、前記ネットワークトレーラを破棄するフィルタドラ
イバとを具備することを特徴とするサーバ計算機。
7. A server computer applied to a cluster system in which a service is taken over between server computers by communication using communication data including a network trailer in which a specific network address to be taken over is set as a destination network address. A flag information holding unit that holds flag information that can be set to be arbitrarily switched to one of the first state and the second state; and refers to the flag information at the time of receiving communication data. In the case, the filtering of the network trailer in the communication data is not performed, and in the case of the second state, the filtering of the network trailer is performed based on whether a destination network address of the network trailer is the specific network address. The specific network Only if a work address, server computer, characterized by comprising discarding filter driver the network trailer.
【請求項8】 サービスを提供するサーバ計算機を指定
する特定ネットワークアドレスが宛先ネットワークアド
レスとして設定されたネットワークトレーラを含むクラ
イアント計算機からの通信データを受けて、複数のサー
バ計算機のうち、前記特定ネットワークアドレスが設定
されているサーバ計算機の1つが前記クライアント計算
機と通信を行うクラスタシステムに適用されるサーバ計
算機であって、 前記特定ネットワークアドレスを宛先ネットワークアド
レスとする通信データの受信時に起動され、当該通信デ
ータ中の送信元計算機に関する情報をもとに、自計算機
がサービスを提供すべきであるか否かを判断し、対応す
るフラグ情報を設定する判断手段と、 通信データの受信時に、当該通信データ中の宛先物理ア
ドレスに無関係に当該通信データ中のネットワークトレ
ーラを取り出して、宛先ネットワークアドレスをチェッ
クし、この宛先ネットワークアドレスが前記特定ネット
ワークアドレスに一致し、且つ前記判断手段により自計
算機がサービスを提供すべきでないことを示すフラグ情
報が設定された場合に限り、前記ネットワークトレーラ
を破棄し、それ以外の場合には、前記ネットワークトレ
ーラをネットワーク層に渡すフィルタドライバとを具備
することを特徴とするサーバ計算機。
8. Upon receiving communication data from a client computer including a network trailer in which a specific network address designating a server computer that provides a service is set as a destination network address, the specific network address among a plurality of server computers is specified. Is a server computer applied to a cluster system that communicates with the client computer, the server computer being activated when receiving communication data having the specific network address as a destination network address, A determination unit that determines whether the own computer should provide a service based on the information about the source computer in the communication source, and sets corresponding flag information. Regardless of the destination physical address of the The network trailer in the communication data is taken out, the destination network address is checked, and the flag information indicating that the destination network address matches the specific network address and that the own computer should not provide the service is determined by the determination means. A server driver that discards the network trailer only when set, and otherwise passes the network trailer to a network layer.
【請求項9】 テイクオーバされる特定ネットワークア
ドレスが宛先ネットワークアドレスとして設定されたネ
ットワークトレーラを含む通信データを用いた通信によ
りサーバ計算機間でサービスの引き継ぎが行われるクラ
スタシステムにおけるネットワークアドレスのテイクオ
ーバ方法であって、 前記各サーバ計算機に、第1及び第2の状態のいずれか
一方に任意に切り替え設定可能なフラグ情報を保持して
おき、 通信データの受信時には、インタフェース層とネットワ
ーク層との間に配置したフィルタドライバにて、前記フ
ラグ情報を参照し、前記第1の状態の場合には前記通信
データ中のネットワークトレーラのフィルタリングを行
わず、前記第2の状態の場合には、前記ネットワークト
レーラ中の宛先ネットワークアドレスが前記特定ネット
ワークアドレスであるか否かにより前記ネットワークト
レーラのフィルタリングを行い、前記特定ネットワーク
アドレスである場合に限り、前記ネットワークトレーラ
を破棄するようにしたことを特徴とするネットワークア
ドレスのテイクオーバ方法。
9. A network address takeover method in a cluster system in which a service is taken over between server computers by communication using communication data including a network trailer in which a specific network address to be taken over is set as a destination network address. In each of the server computers, flag information that can be arbitrarily set in one of the first and second states is held, and is disposed between the interface layer and the network layer when communication data is received. The filter driver refers to the flag information, does not perform filtering of the network trailer in the communication data in the first state, and does not perform filtering of the network trailer in the second state in the second state. If the destination network address is Performs filtering of the network trailer by whether a network address, the only if a particular network address, takeover method of network addresses, characterized in that so as to discard the network trailer.
【請求項10】 サービスを提供するサーバ計算機を指
定する特定ネットワークアドレスが宛先ネットワークア
ドレスとして設定されたネットワークトレーラを含むク
ライアント計算機からの通信データを受けて、複数のサ
ーバ計算機のうち、前記特定ネットワークアドレスが設
定されているサーバ計算機の1つが前記クライアント計
算機と通信を行うクラスタシステムに適用される負荷分
散方法であって、 前記特定ネットワークアドレスを宛先ネットワークアド
レスとする通信データの受信時に、当該通信データ中の
送信元計算機に関する情報をもとに、自計算機がサービ
スを提供すべきであるか否かを判断して、その判断結果
に対応する値のフラグ情報を設定する一方、 物理層とネットワーク層との間に配置したフィルタドラ
イバにて、前記通信データ中の宛先物理アドレスに無関
係に当該通信データ中のネットワークトレーラを取り出
して、宛先ネットワークアドレスをチェックし、この宛
先ネットワークアドレスが前記特定ネットワークアドレ
スに一致し、且つ前記フラグ情報により自計算機がサー
ビスを提供すべきでないことが示されている場合に限
り、前記ネットワークトレーラを破棄し、それ以外の場
合には、前記ネットワークトレーラをネットワーク層に
渡すようにしたことを特徴とする負荷分散方法。
10. Upon receiving communication data from a client computer including a network trailer in which a specific network address designating a server computer providing a service is set as a destination network address, the specific network address of a plurality of server computers Is a load balancing method applied to a cluster system in which one of the server computers configured to communicate with the client computer comprises: receiving communication data having the specific network address as a destination network address; On the basis of the information on the source computer of the above, determines whether or not the own computer should provide the service, and sets the flag information of the value corresponding to the determination result. With the filter driver placed between The network trailer in the communication data is taken out irrespective of the destination physical address in the communication data, and the destination network address is checked. This destination network address matches the specific network address. A load distribution method, wherein the network trailer is discarded only when it is indicated that the service should not be provided, and otherwise, the network trailer is passed to a network layer.
JP31340498A 1998-11-04 1998-11-04 Cluster system Expired - Fee Related JP3872909B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31340498A JP3872909B2 (en) 1998-11-04 1998-11-04 Cluster system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31340498A JP3872909B2 (en) 1998-11-04 1998-11-04 Cluster system

Publications (2)

Publication Number Publication Date
JP2000138713A true JP2000138713A (en) 2000-05-16
JP3872909B2 JP3872909B2 (en) 2007-01-24

Family

ID=18040874

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31340498A Expired - Fee Related JP3872909B2 (en) 1998-11-04 1998-11-04 Cluster system

Country Status (1)

Country Link
JP (1) JP3872909B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006252111A (en) * 2005-03-10 2006-09-21 Hitachi Ltd Information processing system and method
US7310667B2 (en) 2003-03-13 2007-12-18 International Business Machines Corporation Method and apparatus for server load sharing based on foreign port distribution
US7430603B2 (en) 2003-11-10 2008-09-30 Eath Co., Ltd. Aggregation system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7310667B2 (en) 2003-03-13 2007-12-18 International Business Machines Corporation Method and apparatus for server load sharing based on foreign port distribution
JP2008071359A (en) * 2003-03-13 2008-03-27 Internatl Business Mach Corp <Ibm> Method and device for server load sharing based on foreign port distribution
US7487242B2 (en) 2003-03-13 2009-02-03 International Business Machines Corporation Method and apparatus for server load sharing based on foreign port distribution
US7430603B2 (en) 2003-11-10 2008-09-30 Eath Co., Ltd. Aggregation system
JP2006252111A (en) * 2005-03-10 2006-09-21 Hitachi Ltd Information processing system and method

Also Published As

Publication number Publication date
JP3872909B2 (en) 2007-01-24

Similar Documents

Publication Publication Date Title
US6067569A (en) Fast-forwarding and filtering of network packets in a computer system
US7580415B2 (en) Aggregation of hybrid network resources operable to support both offloaded and non-offloaded connections
US7929420B2 (en) Method and apparatus for learning VRRP backup routers
US6901580B2 (en) Configuration parameter sequencing and sequencer
JP2561797B2 (en) Routing method and device
US7903543B2 (en) Method, apparatus and program storage device for providing mutual failover and load-balancing between interfaces in a network
US9118571B2 (en) Methods of operating load balancing switches and controllers using matching patterns with unrestricted characters
US7913106B2 (en) Failover in a host concurrently supporting multiple virtual IP addresses across multiple adapters
EP1776825B1 (en) A method for maintaining transaction integrity across multiple remote access servers
US7987266B2 (en) Failover in proxy server networks
US8300647B2 (en) Intelligent load balancing and failover of network traffic
US20020143953A1 (en) Automatic affinity within networks performing workload balancing
KR100322715B1 (en) Router monitoring in a data transmission system utilizing a network dispatcher for a cluster of hosts
US20100115118A1 (en) System and method for managing multiple stack environments
US20030231632A1 (en) Method and system for packet-level routing
US6370583B1 (en) Method and apparatus for portraying a cluster of computer systems as having a single internet protocol image
US20030018914A1 (en) Stateful packet forwarding in a firewall cluster
US6778540B1 (en) Facility for forwarding data from a network adapter to a router partition without internet protocol (ip) processing
US20020143965A1 (en) Server application initiated affinity within networks performing workload balancing
US20040083403A1 (en) Stateless redundancy in a network device
JP2000209212A (en) Communication network system and service management method in the communication network system
US7532620B2 (en) Routing table synchronization method, network apparatus, and routing table synchronization program
US7009974B1 (en) Method and apparatus for updating addresses in network processing device
US6950849B1 (en) Controlling load-balanced access by user computers to server computers in a computer network
US8099775B2 (en) Virtual firewall system based on commons security policy and method of controlling the same

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040927

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060418

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060425

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060626

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: 20061017

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20061023

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091027

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101027

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111027

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111027

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121027

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121027

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131027

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees