JP2006129094A - Redundant server system and server apparatus - Google Patents

Redundant server system and server apparatus Download PDF

Info

Publication number
JP2006129094A
JP2006129094A JP2004314880A JP2004314880A JP2006129094A JP 2006129094 A JP2006129094 A JP 2006129094A JP 2004314880 A JP2004314880 A JP 2004314880A JP 2004314880 A JP2004314880 A JP 2004314880A JP 2006129094 A JP2006129094 A JP 2006129094A
Authority
JP
Japan
Prior art keywords
server
standby
active
lan
wan
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004314880A
Other languages
Japanese (ja)
Inventor
Ryuichi Aoki
隆一 青木
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP2004314880A priority Critical patent/JP2006129094A/en
Publication of JP2006129094A publication Critical patent/JP2006129094A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Hardware Redundancy (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To redundantize a server disposed at a border between LAN and WAN and providing services of the LAN and WAN to clients on the LAN at a low cost. <P>SOLUTION: Two servers are provided at the border between the LAN and WAN, one of them is operated as an operating server 10A, and the other is operated as a standby server 10B. The operating server 10A and the standby server 10B are connected to a hub 20L of the LAN side, and clients 40 over the LAN are each connected to the hub 20L. Also, the operating server 10A and the standby server 10B are connected to a hub 20W of the WAN side, and the hub 20W is connected to an ADSL modem 22 for connection with an ISP 30. The operating server 10A and the standby server 10B can communicate doubly on a WAN side path via the hub 20W and a LAN side path via the hub 20L, and perform communication for health check and system switching via the double paths. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、運用系と待機系のサーバを備えた冗長構成のサーバシステムに関する。   The present invention relates to a redundant server system including an active server and a standby server.

サーバを冗長構成とすることで可用性を向上させる仕組みは従来より多く提案されている。このような冗長構成のサーバシステムでは、運用系サーバと待機系サーバのヘルスチェック(稼働しているか否かの確認)や、運用系が停止した場合の待機系への切り替えが行われている。   Many mechanisms have been proposed for improving availability by making servers redundant. In such a redundant server system, health check (checking whether the server is active) of the active server and the standby server, and switching to the standby system when the active system is stopped are performed.

例えば特許文献1には、LANで他の計算機と接続され、同一の論理アドレスを持つ現用系の計算機と予備系の計算機により構成されるホットスタンバイ型の2重化ノードシステムにおいて、予備系の計算機は、現用系の計算機がダウンしたかどうかを監視し、現用系の計算機がダウンしたと認識した場合に、予備系の計算機の論理アドレスを活性化し、かつ2つの系間通信路およびLANを経由して系切替え情報を通知して現用系の計算機の論理アドレスを非活性化する点が開示されている。   For example, Patent Document 1 discloses a standby computer in a hot standby type dual node system that is connected to another computer via a LAN and includes a working computer and a standby computer having the same logical address. Monitors whether the active computer is down and activates the logical address of the standby computer when it recognizes that the active computer is down, and passes through the two inter-system communication paths and the LAN. Thus, the system switching information is notified to deactivate the logical address of the active computer.

また特許文献2に示されるシステムでは、現用系サーバは、ヘルスチェックにより待機系サーバの異常を検出するとLANを介してクライアントの接続確認を行うことで自サーバの孤立の判定を行い、孤立と判定した場合に共通IPアドレスを無効化する。一方、待機系サーバは、ヘルスチェックにより現用系サーバの異常を検出するとLANを介して現用系サーバの接続確認を行い、これにより現用系サーバのダウンと判定した場合にLANを介してクライアントの接続確認を行うことで自サーバの孤立の判定を行い、孤立でないと判定した場合に共通IPアドレスを有効化する。   In the system disclosed in Patent Document 2, when the active server detects an abnormality of the standby server through a health check, it determines whether the server is isolated by checking the connection of the client via the LAN, and determines that the server is isolated. If this happens, the common IP address is invalidated. On the other hand, when the standby server detects an abnormality of the active server through the health check, it confirms the connection of the active server via the LAN, and if it is determined that the active server is down, the client connection via the LAN By confirming, it is determined whether or not the server is isolated, and when it is determined that the server is not isolated, the common IP address is validated.

特開2001−344125号公報JP 2001-344125 A 特開2004−171370号公報JP 2004-171370 A

特許文献1及び2はいずれもLAN(ローカル・エリア・ネットワーク)のみを対象としたサーバに関するものである。   Patent Documents 1 and 2 both relate to a server intended only for a LAN (local area network).

一方、LANとWAN(ワイド・エリア・ネットワーク)の境界に位置し、クライアント装置に対してLAN上のサービスのみならずWANへの接続のためのサービスを提供するサーバも存在する。例えばこの種のサーバでは、LANに対してはDHCP(dynamic host configuration protocol)などのネットワークサービスを、またLAN−WAN接続においてISP(internet service provider)認証、ファイアウォール、VPN(virtual private network)などのサービスを一台の装置で提供する例も少なくない。   On the other hand, there are servers that are located at the boundary between a LAN and a WAN (Wide Area Network) and provide services for connection to the WAN as well as services on the LAN to client devices. For example, in this type of server, network services such as DHCP (dynamic host configuration protocol) are used for LAN, and services such as ISP (internet service provider) authentication, firewall, and VPN (virtual private network) are used for LAN-WAN connection. There are not a few examples in which this is provided by a single device.

インターネット接続や、同一法人もしくはグループ法人に属する物理的に分散した拠点間接続を行うVPNなどは、近年、業務遂行の上で欠かせないものとなりつつある。このため、LAN−WAN境界に位置するサーバの可用性を向上させることが極めて重要となる。サーバ単体としては、内部の構成要素が二重化されているような高可用性サーバも存在するが、価格が極めて高い。安価に実現可能な、冗長構成のシステムが求められる。   In recent years, VPNs that perform Internet connection and connection between physically dispersed bases belonging to the same corporation or group corporation have become indispensable for business execution. For this reason, it is extremely important to improve the availability of servers located at the LAN-WAN boundary. As a single server, there is a highly available server in which internal components are duplicated, but the price is extremely high. There is a need for a redundantly configured system that can be implemented at low cost.

特許文献1及び2に示される構成はLANとの間の通信しか考慮していないため、LAN−WAN境界に位置するサーバの冗長構成としては必ずしも好適なものとはいえない。   The configurations shown in Patent Documents 1 and 2 consider only communication with a LAN, and are not necessarily suitable as a redundant configuration of servers located at a LAN-WAN boundary.

本発明に係る冗長サーバシステムは、LANとWANとの境界に設置され、一方がLAN上のクライアントに対してサービスを提供する運用系、他方がその運用系の予備である待機系として機能する2台のサーバ装置と、前記2台のサーバ装置の各LAN側ネットワークポートと前記LANとを接続するLAN側ハブと、前記2台のサーバ装置の各WAN側ネットワークポートと前記WANとを接続するWAN側ハブと、を備え、前記LAN側ハブを介した前記2台のサーバ装置間の通信経路と、前記WAN側ハブを介した前記2台のサーバ装置間の通信経路と、の両経路を介して前記2台のサーバ装置間での冗長系制御のための通信を行う。   The redundant server system according to the present invention is installed at the boundary between the LAN and the WAN, and functions as a standby system in which one side provides a service to clients on the LAN and the other is a backup of the operational system. Server servers, LAN-side hubs connecting the LAN-side network ports of the two server devices and the LAN, and WANs connecting the WAN-side network ports of the two server devices and the WAN And a communication path between the two server apparatuses via the LAN side hub and a communication path between the two server apparatuses via the WAN side hub. Communication for redundant system control between the two server devices.

好適な態様では、前記2台のサーバ装置のうち運用系は、前記WANとの通信のための論理アドレスとは別に前記WAN側ハブを介して待機系と通信するためのWAN側論理アドレスを有し、待機系は前記WAN側ハブを介して運用系と通信するためのWAN側論理アドレスを有し、前記運用系及び待機系は相互のWAN側論理アドレスを用いて冗長系制御のための通信を行う。   In a preferred aspect, the active system of the two server devices has a WAN logical address for communicating with the standby system via the WAN hub separately from the logical address for communication with the WAN. The standby system has a WAN side logical address for communicating with the active system via the WAN side hub, and the active system and the standby system use the mutual WAN side logical address for communication for redundant system control. I do.

別の好適な態様では、前記2台のサーバ装置のうち待機系は、運用系が前記WANと接続できない状態であることを検知した場合、前記WANに対する接続を試み、その接続が成功した場合、運用系に停止を指示し、自らが運用系に切り替わる。   In another preferred aspect, when the standby system of the two server devices detects that the active system cannot connect to the WAN, it tries to connect to the WAN, and when the connection is successful, Instruct the active system to stop and switch to the active system.

更に別の好適な態様では、前記2台のサーバ装置のうち待機系が運用系を監視し、この監視により運用系が停止していることを検知した場合は待機系が自律的に運用系へと切り替わり、前記監視により運用系は稼働しているものの機能不全であることを検知した場合は待機系が運用系に対して停止又は待機系への切替を指示し、その指示に対する処理が完了した後で待機系が運用系へと切り替わる。   In yet another preferred mode, the standby system monitors the active system of the two server devices, and when the monitoring detects that the active system is stopped, the standby system autonomously changes to the active system. When the monitoring detects that the active system is operating but malfunctions, the standby system instructs the active system to stop or switch to the standby system, and the processing for that instruction is completed. Later, the standby system switches to the active system.

更に別の好適な態様では、前記2台のサーバ装置のうち運用系は、自らのソフトウエア及びハードウエアの状態を監視し、この監視により異常を発見した場合は、待機系に対し運用系への切替を依頼し、この依頼に応じて待機系が運用系へ切り替わる。   In yet another preferred aspect, the operating system of the two server devices monitors the state of its own software and hardware, and if an abnormality is found by this monitoring, the standby system is switched to the operating system. In response to this request, the standby system switches to the active system.

更に別の好適な態様では、前記各サーバ装置は、起動時には待機系として機能し、前記LAN側ハブを介した前記2台のサーバ装置間の通信経路と、前記WAN側ハブを介した前記2台のサーバ装置間の通信経路とを介して運用系の存在の有無を確認し、運用系が存在することが確認された場合は待機系としての動作を続行し、運用系が存在しないことが確認された場合は運用系に切り替わる。   In yet another preferred aspect, each of the server devices functions as a standby system at the time of activation, and the communication path between the two server devices via the LAN side hub and the 2 via the WAN side hub. The presence of the active system is confirmed via the communication path between the two server devices. If it is confirmed that the active system exists, the operation as the standby system continues and the active system may not exist. If confirmed, switch to the active system.

更に別の好適な態様では、前記2台のサーバ装置は、それぞれ、前記LAN側ハブを介した通信用の論理アドレスとして、LAN上のクライアント装置へのサービス提供のための運用系LAN側論理アドレスと、運用系との冗長系制御のための通信のための待機系LAN側論理アドレスとを保持しており、該サーバ装置が運用系である場合はそれらのうちの運用系LAN側論理アドレスを有効にし、該サーバ装置が待機系である場合はそれらのうちの待機系LAN側論理アドレスを有効にする。   In yet another preferred aspect, each of the two server devices is a logical address for operation LAN side for providing a service to a client device on the LAN as a logical address for communication via the LAN side hub. And a standby LAN side logical address for communication for redundant system control with the active system, and if the server device is an active system, the active LAN side logical address of them is If the server apparatus is a standby system, the logical address on the standby LAN side is validated.

本発明の別の側面では、LANとWANとの境界に設置されるサーバ装置であって、2台1組として構成した場合に、一方がLAN上のクライアントに対してサービスを提供する運用系、他方がその運用系の予備である待機系として機能し得るサーバ装置であって、自らが運用系としてLAN上のクライアントに対してサービスを提供する際に用いる運用系WAN側論理アドレス及び運用系LAN側論理アドレスと、自らが待機系として機能する際に用いる待機系WAN側論理アドレス及び待機系LAN側論理アドレスと、を記憶した記憶装置と、自らが運用系になった場合には、当該サーバ装置のWAN側通信ポート及びLAN側通信ポートに運用系WAN側論理アドレス及び運用系LAN側論理アドレスをそれぞれ設定し、自らが待機系になった場合には、前記WAN側通信ポート及びLAN側通信ポートに待機系WAN側論理アドレス及び待機系LAN側論理アドレスをそれぞれ設定するアドレス設定手段と、自らが運用系である場合は、待機系との間の冗長系制御のために、前記WAN側ポートから前記待機系WAN側論理アドレスを宛先として通信を行うとともに、前記LAN側ポートから前記待機系LAN側論理アドレスを宛先として通信を行い、自らが待機系である場合は、運用系との間の冗長系制御のために、前記WAN側ポートから前記運用系WAN側論理アドレスを宛先として通信を行うとともに、前記LAN側ポートから前記運用系LAN側論理アドレスを宛先として通信を行う冗長系制御手段と、を備えるサーバ装置を提供する。   In another aspect of the present invention, a server device installed at the boundary between a LAN and a WAN, and when configured as a set of two, one operating system that provides services to clients on the LAN, The other is a server device capable of functioning as a standby system that is a reserve for the active system, and the active WAN logical address and the active LAN used by itself when providing services to clients on the LAN as the active system Storage device that stores the logical address on the side, the standby side WAN logical address and the standby side LAN logical address used when it functions as a standby system, Set the active WAN side logical address and the active LAN side logical address in the WAN side communication port and LAN side communication port of the device. The address setting means for setting the standby WAN side logical address and the standby LAN side logical address in the WAN side communication port and the LAN side communication port, respectively, and the standby system if it is the active system. Communication between the WAN side port and the standby WAN side logical address as a destination, and communication from the LAN side port to the standby LAN side logical address as a destination. In the case where it is a standby system, it communicates from the WAN side port with the active WAN side logical address as a destination for redundancy system control with the active system, and from the LAN side port to the active system There is provided a server device comprising redundant system control means for performing communication with a logical address on the LAN side as a destination.

好適な態様では、前記サーバ装置は、起動されたときに前記WAN側通信ポート及びLAN側通信ポートに前記待機系WAN側論理アドレス及び待機系LAN側論理アドレスをそれぞれ設定することにより待機系として機能し、その後前記WAN側ポートから前記運用系WAN側論理アドレスを宛先として通信を試み、前記LAN側ポートから前記運用系LAN側論理アドレスを宛先として通信を試みることで、運用系の有無を確認し、運用系が存在することが確認された場合は待機系としての動作を続行し、運用系が存在しないことが確認された場合は前記WAN側通信ポート及びLAN側通信ポートに前記運用系WAN側論理アドレス及び運用系LAN側論理アドレスをそれぞれ設定することにより運用系に切り替わる。   In a preferred aspect, the server device functions as a standby system by setting the standby WAN side logical address and the standby LAN side logical address in the WAN side communication port and the LAN side communication port, respectively, when activated. Then, communication is attempted from the WAN side port to the active WAN side logical address as a destination, and communication is attempted from the LAN side port to the active LAN side logical address as a destination, thereby confirming whether there is an active system. When it is confirmed that the active system exists, the operation as the standby system is continued. When it is confirmed that the active system does not exist, the WAN side communication port and the LAN side communication port are connected to the active WAN side. By setting the logical address and the logical address on the operational LAN side, the system is switched to the operational system.

以下、図面を参照して、本発明を実施するための最良の形態(以下「実施形態」と呼ぶ)について説明する。   The best mode for carrying out the present invention (hereinafter referred to as “embodiment”) will be described below with reference to the drawings.

LANとWANと境界に位置し、例えばLANに対してはDHCPなどのネットワークサービスを、またLAN−WAN接続についてはISP認証、ファイアウォール、VPNなどのサービスを提供するサーバが広く普及している。本実施形態では、この種のサーバを二台設置し、一方を運用系、他方をホットスタンバイしている待機系とし、運用系が機能不全に陥ったときに待機系に切り替えることにより可用性を向上させる。   Servers that are located at the boundary between the LAN and the WAN, for example, provide network services such as DHCP for the LAN, and services such as ISP authentication, firewall, and VPN for the LAN-WAN connection are widely used. In this embodiment, two servers of this type are installed, one serving as the active system and the other as the standby system that is hot-standby, and switching to the standby system when the operational system fails, improves availability. Let

図1は本発明に係るシステムの概略構成を示す図である。図1のシステムでは、例えば企業内の内部ネットワークであるLANと、その外部のインターネット等の外部ネットワークであるWANとの境界に2つのサーバ10A,10Bが設けられている。そして図示例ではその一方がLAN上の各クライアント40にサービスを提供する運用系サーバ10Aとして、他方がその運用系サーバ10Aが停止乃至故障した際のバックアップである待機系サーバ10Bとして機能している。   FIG. 1 is a diagram showing a schematic configuration of a system according to the present invention. In the system of FIG. 1, for example, two servers 10A and 10B are provided at the boundary between a LAN, which is an internal network in a company, and a WAN, which is an external network such as the Internet. In the illustrated example, one of them functions as an active server 10A that provides services to each client 40 on the LAN, and the other functions as a standby server 10B that is a backup when the active server 10A stops or breaks down. .

LAN側では、運用系サーバ10A及び待機系サーバ10Bは、ハブ20Lに接続されている。そして、LAN上の各クライアント40は、そのハブ20Lに対して直接、又は他のハブを介して間接的に接続されている。   On the LAN side, the active server 10A and the standby server 10B are connected to the hub 20L. Each client 40 on the LAN is directly connected to the hub 20L or indirectly through another hub.

WAN側では、運用系サーバ10A及び待機系サーバ10Bは、ハブ20Wに接続されている。このハブ20WはADSLモデム22に接続されており、ADSLモデム22はADSL回線を介してISP(プロバイダ)30に接続されている。ここでは、サーバ10A,10BとISP30との間の接続回線としてADSLを例示したが、これはFTTHや専用線など、他の回線であってももちろん構わない。   On the WAN side, the active server 10A and the standby server 10B are connected to the hub 20W. The hub 20W is connected to an ADSL modem 22, and the ADSL modem 22 is connected to an ISP (provider) 30 via an ADSL line. Here, ADSL is exemplified as a connection line between the servers 10A and 10B and the ISP 30, but it may of course be another line such as FTTH or a dedicated line.

本実施形態では、運用系サーバ10A及び待機系サーバ10Bは、ハードウエア及びソフトウエア構成としては共通のものを用いる。すなわち、同じ構成を持つ2台のサーバ10が、相互に協調しながら動作することで、一方が運用系サーバ10Aとなり、他方が待機系サーバ10Bとなるようにしている。この共通のサーバ10の構成を、図2を参照して以下に説明する。   In this embodiment, the active server 10A and the standby server 10B use the same hardware and software configurations. That is, two servers 10 having the same configuration operate in cooperation with each other, so that one becomes the active server 10A and the other becomes the standby server 10B. The configuration of the common server 10 will be described below with reference to FIG.

サーバ10は、LAN側の通信デバイス110Lと、WAN側の通信デバイス110Wを備えている。通信デバイス110L及び110Wは、例えばNIC(network interaface card)である。   The server 10 includes a LAN-side communication device 110L and a WAN-side communication device 110W. The communication devices 110L and 110W are, for example, NIC (network interaface card).

また、サーバ10は、運用系サーバ10Aとしての処理の実行に用いる運用用データ102及び運用用プログラム104と、もう一方のサーバとの冗長構成の制御のために用いる冗長制御データ106及び冗長制御プログラム108を有している。   The server 10 also includes operational data 102 and operational program 104 used for execution of processing as the active server 10A, and redundant control data 106 and redundant control program used for controlling a redundant configuration with the other server. 108.

運用用データ102は、運用系サーバ10Aが提供するサービスのための処理に必要な各種データであり、運用系サーバ10Aが提供するサービスの内容によってデータ項目は様々である。一例として、インターネット接続サービスのためには、図3に示すように、ISPへの接続時の認証に必要なネットワークID1020やパスワード情報1022を挙げることができる。なお、接続時のアクセス認証にどのような情報を必要とするかはISPによって異なるので、ここに挙げたネットワークID1020やパスワード情報1022はあくまで一例に過ぎない。また、LAN上のクライアント40との通信のためのLAN側IPアドレス1024も、運用用データ102の一項目ではあるが、これは後述する冗長制御データ106中の運用系LAN側IPアドレスと同じであるので、運用用データ102に含める必要はない。また、インターネット接続用のIPアドレスとしてISPから固定のIPアドレスが付与されている場合は、そのIPアドレスも運用用データ102の一つになり、サブネットマスクがある場合はそれも運用用データ102の一項目となる。また、DHCPサービスのための割り当て可能なアドレス領域の情報や、ファイヤウォール制御のためのセキュリティポリシーの情報、VPNサービスのための相手側のIPアドレスや認証情報なども運用用データ102に含まれる。このほか、運用系サーバ10Aがクライアント40に対し提供する各種サービスそれぞれに応じた設定データが運用用データ102には含まれる。   The operational data 102 is various data necessary for processing for the service provided by the operational server 10A, and the data items vary depending on the contents of the service provided by the operational server 10A. As an example, for the Internet connection service, as shown in FIG. 3, a network ID 1020 and password information 1022 necessary for authentication when connecting to the ISP can be listed. Note that what information is required for access authentication at the time of connection differs depending on the ISP, and thus the network ID 1020 and password information 1022 listed here are merely examples. Also, the LAN side IP address 1024 for communication with the client 40 on the LAN is one item of the operational data 102, but this is the same as the operational LAN side IP address in the redundant control data 106 described later. Therefore, there is no need to include it in the operational data 102. In addition, when a fixed IP address is assigned from the ISP as an IP address for Internet connection, the IP address is also one of the operation data 102, and when there is a subnet mask, it is also the operation data 102. One item. The operation data 102 also includes information on address areas that can be allocated for the DHCP service, security policy information for firewall control, and the IP address and authentication information of the other party for the VPN service. In addition, the operational data 102 includes setting data corresponding to various services provided by the operational server 10 </ b> A to the client 40.

運用用プログラム104は、サーバ10が運用系サーバ10Aとして動作する際に、各クライアント40に対して提供するサービスのための処理を記述したプログラムである。運用用プログラム104は、上述の運用用データ102を用いて、ISP接続サービス、DHCPサービス、ファイアウォール制御、VPN接続サービスなどの各種サービスのための処理を実行する。   The operation program 104 is a program describing a process for a service provided to each client 40 when the server 10 operates as the active server 10A. The operation program 104 executes processing for various services such as an ISP connection service, a DHCP service, a firewall control, and a VPN connection service using the operation data 102 described above.

なお、運用用データ102及び運用用プログラム104は、LAN−WAN境界でサービスを提供する従来のサーバが備えているものと同様のものでよい。   The operation data 102 and the operation program 104 may be the same as those provided in a conventional server that provides a service at the LAN-WAN boundary.

冗長制御データ106は、図4に示すように、運用系フラグ1060、運用系WAN側IPアドレス1062、運用系LAN側IPアドレス1064、待機系WAN側IPアドレス1066、待機系LAN側IPアドレス1068を含んでいる。   As shown in FIG. 4, the redundancy control data 106 includes an operational flag 1060, an operational WAN side IP address 1062, an operational LAN side IP address 1064, a standby WAN side IP address 1066, and a standby LAN side IP address 1068. Contains.

運用系フラグ1060は、当該サーバ10自身が運用系であるか否かを示すフラグであり、自身が運用系であればオンに、待機系であればオフにセットされる。   The active system flag 1060 is a flag indicating whether or not the server 10 itself is an active system, and is set to ON if the server 10 itself is an active system, and set to OFF if it is a standby system.

運用系WAN側IPアドレス1062は、自身が運用系サーバ10Aである時に用いる、待機系サーバ10Bとの通信専用のIPアドレスである。運用系サーバ10Aは、WAN側の通信デバイス110W及びハブ20Wを介して待機系サーバ10Bとの間で冗長系制御のための通信を行う場合に、この運用系WAN側IPアドレス1062を自身のIPアドレスとして用いる。すなわち、本システムでは、運用系サーバ10A−ハブ20W−待機系サーバ10Bという接続経路が、そこだけで独立したサブネットとなる。   The active WAN side IP address 1062 is an IP address dedicated for communication with the standby server 10B, which is used when the active WAN side IP address 1062 itself is the active server 10A. When the active server 10A performs communication for redundant system control with the standby server 10B via the WAN side communication device 110W and the hub 20W, the active server side IP address 1062 is assigned to its own IP address 1062. Used as an address. That is, in this system, the connection path of the operational server 10A-hub 20W-standby server 10B becomes an independent subnet by itself.

なお、この運用系WAN側IPアドレス1062は、ISP30を介したインターネット接続において用いるIPアドレスとは別のものである。すなわち、運用系サーバ10Aのインターネット接続のためのIPアドレスは、固定割当又はDHCPによる動的割当のいずれにせよISP30から割り当てられるものであるのに対し、冗長系制御に用いる運用系WAN側IPアドレスは、システム管理者が適宜定め、各サーバ10に登録しておく。   Note that this active WAN side IP address 1062 is different from the IP address used for Internet connection via the ISP 30. In other words, the IP address for the Internet connection of the active server 10A is assigned from the ISP 30 whether it is fixed assignment or dynamic assignment by DHCP, whereas the active WAN side IP address used for redundant system control. Is appropriately determined by the system administrator and registered in each server 10.

運用系LAN側IPアドレス1064は、自身が運用系サーバ10Aの時に用いるLAN側のIPアドレスであり、クライアント40や待機系サーバ10Aとの通信に用いる。クライアント40は、この運用系LAN側IPアドレス1064を宛先として通信を行うことで、運用系サーバ10Aに対して各種のサービスを要求することができる。また、運用系サーバ10Aは、LAN側の通信デバイス110L及びハブ20Lを介して待機系サーバ10Bとの間で冗長系制御のための通信を行う場合、この運用系LAN側IPアドレス1064を自身のIPアドレスとして用いる。   The operational LAN side IP address 1064 is an IP address on the LAN side that is used when the operational LAN side IP address 1064 is itself, and is used for communication with the client 40 and the standby system server 10A. The client 40 can request various services from the operational server 10A by communicating with the operational LAN side IP address 1064 as a destination. When the active server 10A performs communication for redundant system control with the standby server 10B via the LAN-side communication device 110L and the hub 20L, the active server-side IP address 1064 is assigned to itself. Used as an IP address.

待機系WAN側IPアドレス1066は、自身が待機系サーバ10Bであるときに用いる、運用系サーバ10Aとの通信専用のIPアドレスである。待機系サーバ10Bは、WAN側の通信デバイス110W及びハブ20Wを介して運用系サーバ10Aとの間で冗長系制御のための通信を行う場合に、この待機系WAN側IPアドレス1066を自身のIPアドレスとして用いる。   The standby WAN side IP address 1066 is an IP address dedicated for communication with the active server 10A, which is used when the standby WAN IP address 1066 is the standby server 10B. When the standby server 10B performs communication for redundant system control with the active server 10A via the WAN side communication device 110W and the hub 20W, the standby server IP address 1066 is assigned to its own IP address 1066. Used as an address.

待機系LAN側IPアドレス1068は、自身が待機系サーバ10Bであるときに用いる、運用系サーバ10Aとの通信専用のIPアドレスである。待機系サーバ10Bは、LAN側の通信デバイス110L及びハブ20Lを介して運用系サーバ10Aとの間で冗長系制御のための通信を行う場合、この待機系LAN側IPアドレス1068を自身のIPアドレスとして用いる。   The standby LAN side IP address 1068 is an IP address dedicated for communication with the active server 10A, which is used when the standby LAN server 10B is the standby server 10B. When the standby server 10B performs communication for redundant system control with the active server 10A via the LAN side communication device 110L and the hub 20L, the standby server LAN side IP address 1068 is used as its own IP address. Used as

二重化サーバシステムを構成する2つのサーバ10A,10Bが持つ冗長制御データ106は、運用系フラグ1060の値以外のIPアドレス1062〜1068の値は共通である。すなわち、本実施形態では、2つのサーバ10A,10Bのうち運用系となったものが、それら共通のIPアドレス群のうち運用系のものを用い、待機系となったものが待機系用のものを用いる。したがって、各サーバ10A(又は10B)は、待機系用アドレスと運用系用アドレスのうち、自分が用いていない方を相手のサーバ10B(又は10A)が用いていることが分かる。   The redundancy control data 106 possessed by the two servers 10A and 10B constituting the redundant server system has the same value of the IP addresses 1062 to 1068 other than the value of the operation system flag 1060. That is, in the present embodiment, one of the two servers 10A and 10B that is the active system uses the common IP address group that is the active system, and the one that is the standby system is for the standby system. Is used. Therefore, it can be seen that each server 10A (or 10B) uses the other server 10B (or 10A) which is not used among the standby address and the active address.

再び図2に戻り、冗長制御プログラム108は、運用系及び待機系により冗長システムを成り立たせるための処理を記述したプログラムである。以下、この冗長制御プログラム108により実現される処理について説明する。   Returning to FIG. 2 again, the redundancy control program 108 is a program describing a process for establishing a redundant system by an active system and a standby system. Hereinafter, processing realized by the redundancy control program 108 will be described.

まず、サーバ10が起動したときに実行される処理の手順を図5に示す。図5に示すように、本実施形態では、サーバ10が起動した場合、運用系フラグ1060をオフに設定する(S10)。すなわち、本実施形態では、二重系のどちらのサーバ10も、まず待機系として起動する。その後、待機系として起動したサーバ10は、稼働中の運用系サーバ10Aが存在するかを調べ、存在すればそのまま待機系サーバ10Bとしての動作を続行し、存在しなければ自らが運用系サーバ10Aとなる。   First, the procedure of processing executed when the server 10 is started is shown in FIG. As shown in FIG. 5, in the present embodiment, when the server 10 is started, the operational system flag 1060 is set to OFF (S10). That is, in this embodiment, both servers 10 in the dual system are first activated as standby systems. Thereafter, the server 10 activated as the standby system checks whether or not there is an active operational server 10A. If it exists, the server 10B continues to operate as the standby server 10B. It becomes.

図5の処理手順では、S10の後、《WAN側IPアドレス切替制御》S100を実行することにより、WAN側の通信デバイス110Wに対し、IPアドレスとして待機系WAN側IPアドレス1066の値を設定し、また《LAN側IPアドレス切替制御》S200を実行することにより、LAN側の通信デバイス110Lに対し、IPアドレスとして待機系LAN側IPアドレス1068の値を設定する。これらの処理により、起動したサーバ10は、待機系サーバ10Bとして他の装置(例えば存在するかも知れない運用系サーバ10A)と通信可能になる。S100とS200の詳細な処理内容は、後で図6及び図7を参照して説明する。なお、S100とS200はどちらを先に実行してもよい。   In the processing procedure of FIG. 5, the value of the standby WAN side IP address 1066 is set as the IP address for the WAN side communication device 110W by executing << WAN side IP address switching control >> S100 after S10. Further, by executing <LAN side IP address switching control> S200, the value of the standby LAN side IP address 1068 is set as the IP address for the communication device 110L on the LAN side. With these processes, the activated server 10 can communicate with another device (for example, an active server 10A that may exist) as the standby server 10B. Detailed processing contents of S100 and S200 will be described later with reference to FIGS. Either S100 or S200 may be executed first.

このようにして、起動したサーバ10が待機系サーバ10Bとして他の装置と通信可能な状態になると、次に《待機系による運用系障害監視》の処理を実行する(S300)。この《待機系による運用系障害監視》(S300)は、運用系サーバ10Aの障害を監視する処理であり、これにより運用系サーバ10Aの障害を検知した場合は、そのS300の処理を実行している自分自身(すなわち待機系サーバ10B)が運用系サーバ10Aに成り代わる。なお、サーバ10が起動したときに、二重化サーバシステム中のもう一方のサーバが稼働していなければ、このS300の処理により、運用系サーバ10Aが不在であることが検知され、これに応じ、最初は待機系として起動したそのサーバ10自身が運用系サーバ10Aになる。なお、S300の処理の詳細は、後で図10を参照して説明する。   When the activated server 10 becomes communicable with another device as the standby server 10B in this way, the processing of << active system fault monitoring by standby system >> is executed next (S300). This << active system failure monitoring by the standby system >> (S300) is a process for monitoring the failure of the active server 10A. When a failure of the active server 10A is detected by this, the process of S300 is executed. The own server (that is, the standby server 10B) replaces the active server 10A. If the other server in the redundant server system is not operating when the server 10 is started, it is detected by the processing of S300 that the active server 10A is absent. The server 10 itself activated as the standby system becomes the active server 10A. Details of the process of S300 will be described later with reference to FIG.

次に図6を参照してS100の《WAN側IPアドレス切替制御》の詳細について説明する。   Next, the details of << WAN side IP address switching control >> of S100 will be described with reference to FIG.

この処理では、まず当該サーバ10自身が持つ冗長制御データ106中の運用系フラグ1060がオンであるか否かを調べる(S102)。この結果、運用系フラグがオフであれば、そのサーバ10は待機系であるので、図8に示すように、WAN側の通信デバイス110Wに対し、通信のためのIPアドレスとして、待機系WAN側IPアドレス1066の値をセットする(S104)。   In this process, first, it is checked whether or not the operational flag 1060 in the redundant control data 106 possessed by the server 10 itself is on (S102). As a result, if the operation system flag is off, the server 10 is a standby system, and as shown in FIG. 8, the standby WAN side as the IP address for communication is sent to the WAN communication device 110W. The value of the IP address 1066 is set (S104).

一方、S102で運用系フラグ1060がオンであれば、そのサーバ10は運用系であり、ISP30に対する接続処理を実行し(S106)、WAN側の通信デバイス110Wに対し、運用系WAN側IPアドレス1062の値をセットする(S108)。ここで、S106のISP接続処理では、ISP30から固定に割り当てられるかDHCPによって動的に割り当てられるかしたインターネット接続用のIPアドレスをWAN側の通信デバイス110Wにセットする。したがって、本実施形態では、サーバ10が運用系である場合、WAN側の通信デバイス110Wには、図9に示すように、インターネット接続用のIPアドレス112と、待機系との通信専用のIPアドレスである運用系WAN側IPアドレス1062とがセットされることになる。1つのNIC(ネットワーク・インタフェース・カード)ポートに対してデバイスドライバ上で複数のIPアドレスを割り当て、複数のNICが存在するのと同等の通信を実現する仕組みは既に存在するので、WAN側の通信デバイス110Wにこの仕組みを利用して2つのIPアドレスを割り当て、2系統の通信を実現することができる。   On the other hand, if the operational system flag 1060 is turned on in S102, the server 10 is the operational system and executes connection processing to the ISP 30 (S106), and the operational WAN side IP address 1062 for the WAN side communication device 110W. Is set (S108). Here, in the ISP connection processing of S106, an IP address for Internet connection, which is fixedly assigned by the ISP 30 or dynamically assigned by DHCP, is set in the communication device 110W on the WAN side. Therefore, in the present embodiment, when the server 10 is an active system, the WAN-side communication device 110W includes an IP address 112 for Internet connection and an IP address dedicated for communication with the standby system, as shown in FIG. That is, the operational WAN side IP address 1062 is set. There is already a mechanism for assigning multiple IP addresses to one NIC (network interface card) port on the device driver and realizing communication equivalent to the presence of multiple NICs. Using this mechanism, two IP addresses can be assigned to the device 110W to realize two systems of communication.

次に図7を参照してS200の《LAN側IPアドレス切替制御》の詳細について説明する。   Next, details of << LAN side IP address switching control >> of S200 will be described with reference to FIG.

この処理では、まず当該サーバ10自身が持つ冗長制御データ106中の運用系フラグ1060がオンであるか否かを調べる(S202)。この結果、運用系フラグがオフであれば、そのサーバ10は待機系であるので、図8に示すように、LAN側の通信デバイス110Lに対し、通信のためのIPアドレスとして、待機系LAN側IPアドレス1068の値をセットする(S204)。一方、S202で運用系フラグ1060がオンであれば、図9に示すように、LAN側の通信デバイス110Lに対し、運用系LAN側IPアドレス1064をセットする。   In this process, first, it is checked whether or not the operational flag 1060 in the redundant control data 106 possessed by the server 10 itself is on (S202). As a result, if the operational system flag is off, the server 10 is a standby system, and as shown in FIG. 8, the standby LAN side as the IP address for communication is sent to the communication device 110L on the LAN side. The value of the IP address 1068 is set (S204). On the other hand, if the operational system flag 1060 is turned on in S202, as shown in FIG. 9, the operational system LAN side IP address 1064 is set for the communication device 110L on the LAN side.

以上に説明した《WAN側IPアドレス切替制御》及び《LAN側IPアドレス切替制御》の各処理プログラムは、サーバ10が運用系である場合と待機系である場合とに共通したプログラムとなっている。   The processing programs of << WAN-side IP address switching control >> and << LAN-side IP address switching control >> described above are programs common to the case where the server 10 is the active system and the standby system. .

なお、図5の起動処理でのS100の《WAN側IPアドレス切替制御》及びS200の《LAN側IPアドレス切替制御》では、サーバ10は待機系として動作しているので、S104及びS204がそれぞれが実行され、図8に示すように通信デバイス110W、110Lには、それぞれ待機系のときのIPアドレス1066及び1068がセットされることになる。   In addition, in the << WAN side IP address switching control >> of S100 and the << LAN side IP address switching control >> of S200 in the startup process of FIG. 5, since the server 10 operates as a standby system, S104 and S204 are respectively As shown in FIG. 8, IP addresses 1066 and 1068 for the standby system are set in the communication devices 110W and 110L, respectively.

次に、図10を参照して、S300の《待機系による運用系障害監視》の詳細な流れを説明する。この処理は待機系サーバ10Bにより実行される処理であり、必然的に運用系サーバ10Aも存在している。   Next, with reference to FIG. 10, a detailed flow of “active system fault monitoring by standby system” in S300 will be described. This process is a process executed by the standby server 10B, and inevitably the active server 10A also exists.

この処理では、待機系サーバ10Bは、まずタイマー計時により所定時間ごとの監視時刻が到来したかどうかを判定し(S302)、監視時刻になるごとに、S304以下の処理を実行する。   In this process, the standby server 10B first determines whether or not the monitoring time for each predetermined time has arrived by timer counting (S302), and executes the processes from S304 onward every time the monitoring time comes.

監視時刻が到来すると、待機系サーバ10Bは、WAN側の通信デバイス110Wのポート、及びLAN側の通信デバイス110Lのポートの双方から、運用系サーバ10Aへのアクセスを試み(S304)、アクセスできるかどうかを判定する(S306)。このときの通信では、自分が持っている冗長制御データ106の中にある運用系WAN側IPアドレス1062と運用系LAN側IPアドレス1064を宛先として用いれば、運用系サーバ10A(もし存在するならば)と通信できる。このアクセス試行において、WAN側の経路(すなわちハブ20Wを経由する経路)とLAN側の経路(すなわちハブ20Lを経由する経路)のいずれを用いても運用系サーバ10Aにアクセスできなければ、待機系サーバ10Bは、運用系サーバ10Aが存在しないか、WAN側及びLAN側のいずれの側からのアクセス要求にも応えられないほど深刻な障害が生じているものと判断し、S400に進み《待機系による系切替》を実行することで、その待機系サーバ10Bが運用系サーバ10Aへと成り代わる。なおS400の《待機系による系切替》の詳細な処理については、後で説明する。   When the monitoring time comes, the standby server 10B attempts to access the active server 10A from both the port of the WAN communication device 110W and the port of the LAN communication device 110L (S304). It is determined whether or not (S306). In the communication at this time, if the active WAN side IP address 1062 and the active LAN side IP address 1064 in the redundancy control data 106 possessed by itself are used as destinations, the active server 10A (if it exists) ). In this access attempt, if it is not possible to access the active server 10A using either the WAN side route (ie, the route via the hub 20W) or the LAN side route (ie, the route via the hub 20L), the standby system The server 10B determines that there is no active server 10A, or that a serious failure has occurred that cannot respond to an access request from either the WAN side or the LAN side, and proceeds to S400. The standby server 10B is replaced with the active server 10A by executing the “system switch by”. Detailed processing of “system switching by standby system” in S400 will be described later.

WAN側及びLAN側の少なくとも一方の経路で運用系サーバ10Aにアクセスできた場合、運用系サーバ10Aは動作しており、かつ少なくとも一方の経路で通信可能ということである。この場合、待機系サーバ10Bは、その通信可能な経路を用いて(両方とも通信可能なら両方を用いてもよい)、運用系サーバ10Aに対するヘルスチェックを行う(S308)。このヘルスチェックでは、運用系サーバ10Aがサービスに必要な処理を実行しているかどうかを調べる。例えばISP30への接続が実行できているかや、LAN上のクライアント40への接続が実行できているかを調査する。ISP30やクライアント40と通信可能かどうかは、従来手法によりチェックできる。クライアント40へのアクセスが可能かどうかは、1つのクライアント40だけではクライアント40が単に停止しているためアクセスできない可能性もあるため、いくつかのクライアント40に対してアクセス可否を確認する。S308では、このほかにも、従来の冗長サーバシステムでのヘルスチェックで確認している項目を調べるようにしてももちろんよい。このような調査では、例えば待機系サーバ10Bから運用系サーバ10Aに対し各調査項目の処理が実行できているかを問い合わせ、この問い合わせに応じ運用系サーバ10Aが各調査項目の処理が実行できているかを自己診断し、その結果を待機系サーバ10Bに返すようにすればよい。これは、待機系サーバ10Bの主導によるヘルスチェックであるが、この代わりに、運用系サーバ10Aが定期的に各調査項目の自己診断を行い、その結果を定期的に待機系サーバ10Bに通知するような構成でもよい。この構成の場合、S308は、定期的に運用系サーバ10Aから通知されてくる診断結果を確認する処理となる。   When the active server 10A can be accessed through at least one of the WAN side and LAN side paths, the active server 10A is operating and can communicate through at least one of the paths. In this case, the standby server 10B performs a health check on the active server 10A using the communicable path (both may be used if both can communicate) (S308). In this health check, it is checked whether or not the active server 10A is executing processing necessary for the service. For example, it is investigated whether the connection to the ISP 30 can be executed or the connection to the client 40 on the LAN can be executed. Whether communication with the ISP 30 or the client 40 is possible can be checked by a conventional method. Whether or not the access to the client 40 is possible may be impossible with only one client 40 because the client 40 is simply stopped. Therefore, access to several clients 40 is confirmed. In S308, it is of course possible to check the items confirmed by the health check in the conventional redundant server system. In such an investigation, for example, the standby server 10B inquires to the active server 10A whether the processing of each investigation item can be executed, and whether the active server 10A can execute the processing of each investigation item in response to this inquiry. May be returned to the standby server 10B. This is a health check led by the standby server 10B. Instead, the active server 10A periodically performs self-diagnosis of each investigation item, and periodically notifies the standby server 10B of the result. Such a configuration may be used. In the case of this configuration, S308 is processing for periodically checking the diagnosis result notified from the active server 10A.

このヘルスチェックの結果、運用系サーバ10AがISP30に接続不可であるか否かを判定する(S310)。ここで運用系サーバ10AがISP30に接続できなければ、運用系サーバ10Aは現在クライアント40に対してインターネット接続のサービスを提供できないということなので、待機系サーバ10Bが交代できないかを調べる。すなわち、待機系サーバ10BはISP30にアクセスを試み(S312)、アクセスが成功したかどうかを判定する(S314)。そしてS312のアクセスが成功した場合、WAN側のハブ20Wは正常に動作しており、運用系サーバ10AのWAN側ポート(通信デバイス110W)、又は運用系のWAN側ポートとハブ20Wを結ぶケーブルの障害と判断できるので、待機系サーバ10Bが主導的に系切替を実行する。すなわち、待機系サーバ10Bは、ISP接続サービスを提供できるため、運用系サーバに成り代わることができるので、S400に進んで《待機系による系切替》を実行する。一方、S312のアクセスが成功しなかった場合は、運用系サーバ10Aも待機系サーバ10BもISP30に接続できないので、冗長サーバシステムとしてISP接続サービスが提供できないということになる。この場合は、冗長制御では対処できないので、待機系サーバ10B(及び運用系サーバ10A)は冗長制御に関しては何も行わず、S302に戻って監視処理を続ける。   As a result of this health check, it is determined whether or not the active server 10A is unable to connect to the ISP 30 (S310). If the active server 10A cannot connect to the ISP 30, the active server 10A cannot currently provide the Internet connection service to the client 40, so it checks whether the standby server 10B can be replaced. That is, the standby server 10B attempts to access the ISP 30 (S312), and determines whether the access is successful (S314). If the access in S312 is successful, the WAN-side hub 20W is operating normally, and the WAN-side port (communication device 110W) of the active server 10A or the cable connecting the active-WAN side port and the hub 20W is not connected. Since it can be determined that there is a failure, the standby server 10B performs system switching in an initiative. That is, since the standby server 10B can provide an ISP connection service and can impersonate the active server, the process proceeds to S400 to execute << system switching by standby system >>. On the other hand, if the access in S312 is not successful, neither the active server 10A nor the standby server 10B can connect to the ISP 30, and therefore the ISP connection service cannot be provided as a redundant server system. In this case, since the redundancy control cannot cope, the standby server 10B (and the active server 10A) does not perform any redundancy control and returns to S302 to continue the monitoring process.

S310の判定で、運用系サーバ10AがISP30に接続できると判定した場合、待機系サーバ10Bは、更にヘルスチェックの結果に基づき、運用系サーバ10AがLAN上のクライアント40に接続不可であるか否かを判定する(S316)。ここで運用系サーバ10AがLAN上のクライアント40に接続できなければ、運用系サーバ10Aはクライアント40に対し、各種サービスが提供できないということなので、待機系サーバ10Bは交代を試みる。すなわち、待機系サーバ10Bは、LAN上のいずれかのクライアント40にアクセスを試み(S318)、その結果を判定する(S320)。クライアント40にアクセスできるかどうかは、例えばpingコマンドなどをクライアント40に送信し、それに対する応答があるかどうかで判断すればよい。ここで、クライアント40へのアクセスが成功すればS400に進んで《待機系による系切替》を実行する。すなわち、この場合、運用系サーバ10AのLAN側ポート、又は運用系のWAN側ポートとLAN側のハブ20Lを結ぶケーブルの障害と判断できるので、待機系サーバ10Bが主導的に系切替を実行する。一方、S318のアクセスが成功しなかった場合は、運用系サーバ10Aも待機系サーバ10Bもどちらもクライアント40と通信できない、すなわち冗長サーバシステムがクライアント40と通信できないことになる。この場合は、冗長制御では対処できないので、待機系サーバ10B(及び運用系サーバ10A)は冗長制御に関しては何も行わず、S302に戻って監視処理を続ける。   If it is determined in S310 that the active server 10A can connect to the ISP 30, the standby server 10B further determines whether the active server 10A cannot connect to the client 40 on the LAN based on the result of the health check. Is determined (S316). If the active server 10A cannot connect to the client 40 on the LAN, it means that the active server 10A cannot provide various services to the client 40, so the standby server 10B tries to change. That is, the standby server 10B attempts to access any of the clients 40 on the LAN (S318), and determines the result (S320). Whether or not the client 40 can be accessed may be determined by, for example, transmitting a ping command or the like to the client 40 and receiving a response thereto. Here, if the access to the client 40 is successful, the process proceeds to S400 to execute << system switching by standby system >>. That is, in this case, since it can be determined that the failure is in the LAN side port of the active server 10A or the cable connecting the active WAN side port and the LAN hub 20L, the standby server 10B performs the system switching. . On the other hand, if the access in S318 is not successful, neither the active server 10A nor the standby server 10B can communicate with the client 40, that is, the redundant server system cannot communicate with the client 40. In this case, since the redundancy control cannot cope, the standby server 10B (and the active server 10A) does not perform any redundancy control and returns to S302 to continue the monitoring process.

なお、S308のヘルスチェックで、運用系サーバ10AがISP30にもクライアント40にも接続可能であることが分かれば(S310及びS316の判定結果が共に否定(N))、運用系サーバ10Aは正常にサービスを提供できる状態であるので、待機系サーバ10BはS302に戻って監視処理を続行すればよい。   If the health check in S308 shows that the active server 10A can be connected to both the ISP 30 and the client 40 (both the determination results in S310 and S316 are negative (N)), the active server 10A is operating normally. Since the service can be provided, the standby server 10B may return to S302 and continue the monitoring process.

次に、図11を参照して、S400の《待機系による系切替》の詳細な手順を説明する。この処理手順は、サーバ10が待機系サーバ10Bにある時に呼び出される処理である。   Next, with reference to FIG. 11, the detailed procedure of “system switching by standby system” in S400 will be described. This processing procedure is called when the server 10 is in the standby server 10B.

この処理では、まず待機系サーバ10Bは、WAN側及びLAN側の両方の経路から運用系サーバ10Aへのアクセスを試み(S402)、アクセスできるかどうかを判定する(S404)。そして、少なくとも一方の経路でアクセスできた場合、待機系サーバ10Bは、その経路を使って運用系サーバ10Aに停止を指示する(S406)。この指示を受け取った運用系サーバ10Aは、サーバとしての動作を停止する。そして、待機系サーバ10Bは、運用系サーバ10Aが停止したのを確認して、自分が運用系に成り代わるためにS408以降の処理を行う。なお、S404で運用系サーバ10AへのアクセスがWAN側、LAN側のどちらの経路でも失敗した場合、待機系サーバ10Bは、運用系サーバ10A自体が停止しているものと判断し、運用系の停止処理は飛ばし、S408に進んで自らが運用系となるための処理を行う。   In this process, the standby server 10B first tries to access the active server 10A from both the WAN side and LAN side paths (S402), and determines whether or not access is possible (S404). If access is possible via at least one of the routes, the standby server 10B instructs the active server 10A to stop using the route (S406). The active server 10A that has received this instruction stops its operation as a server. Then, the standby server 10B confirms that the active server 10A has been stopped, and performs the processing from S408 onward in order to impersonate the active server. If the access to the active server 10A fails in both the WAN side and the LAN side in S404, the standby server 10B determines that the active server 10A itself has stopped, and the active server 10A has stopped. The stop process is skipped, and the process proceeds to S408 to perform a process for becoming an active system.

なお、S406では、運用系サーバ10Aを停止させる代わりに、待機系への切替を指示するようにしてもよい。この場合、指示を受けた運用系サーバ10Aは、WAN側及びLAN側のIPアドレスを待機系のものへと切り替える。そして、この切替が完了した後で、待機系サーバ10Bが運用系へと切り替わる。   In S406, instead of stopping the active server 10A, a switch to the standby system may be instructed. In this case, the operational server 10A that has received the instruction switches the IP address on the WAN side and the LAN side to the standby one. Then, after this switching is completed, the standby server 10B is switched to the active system.

S408では、待機系サーバ10Bは、自らの運用系フラグ1060をオンに設定する。そして、この状態で、前述の《WAN側IPアドレス切替処理》(S100)及び《LAN側IPアドレス切替処理》(S200)を実行することで、それまで待機系サーバ10Bであったサーバは、運用系サーバ10AとしてのIPアドレスで他の装置と通信可能な状態となり、運用系サーバ10Aとしての動作を開始する。そして、今や運用系サーバ10Aとなったこのサーバは、S500の《運用系自己監視》の処理を実行することで、自己の運用系サーバとしての機能に問題がないかをチェックする。   In S408, standby server 10B sets its own operational flag 1060 to ON. In this state, by executing the above-mentioned << WAN side IP address switching process >> (S100) and << LAN side IP address switching process >> (S200), the server that has been the standby server 10B until then is operated. Communication with other devices is possible with the IP address as the active server 10A, and the operation as the active server 10A is started. Then, this server, which has now become the active server 10A, checks whether there is a problem in the function as its own active server by executing the “active self-monitoring” process of S500.

次に図12を参照して、S500の《運用系自己監視》の詳細な手順について説明する。この手順では、サーバ10は、自身の運用系フラグ1060がオンにセットされているか否かを判定し、オンになっていれば、S502以降の処理により、運用系サーバとしての機能の自己診断を行う。   Next, with reference to FIG. 12, the detailed procedure of “active self-monitoring” in S500 will be described. In this procedure, the server 10 determines whether or not its operational flag 1060 is set to ON. If it is ON, the server 10 performs self-diagnosis of the function as the active server by the processing from S502. Do.

まずS502では、タイマー計時により、定期的な診断処理の実行タイミングが来たかどうかを判定し(S502)、実行タイミングが到来した場合には、サーバ10は自己診断プログラムを実行する(S504)。この自己診断プログラムは、運用系サーバ10Aとしてのサービスを提供するために必要な各ハードウエア、ソフトウエアが実際に働いているかどうかを確認する。自己診断では、例えば、ISPへの接続可否、LAN上のクライアントとの通信可否、DHCPサービスやVPNサービスの実行可否、通信デバイスやハードディスクなどの性能などを確認する。そして、この自己診断により、いずれかのソフトウエア又はハードウエアに異常(障害又はその兆候)があるかどうかを判定する(S506)。ここで障害も、その兆候もないと判定した場合は、S502に戻って定期的な診断を実行する。   First, in S502, it is determined whether or not the execution timing of periodic diagnostic processing has come by the timer timing (S502). When the execution timing has come, the server 10 executes a self-diagnosis program (S504). This self-diagnosis program confirms whether each hardware and software necessary for providing the service as the operational server 10A is actually working. In the self-diagnosis, for example, whether or not connection to an ISP is possible, whether or not communication with a client on a LAN is possible, whether or not a DHCP service or a VPN service can be executed, and the performance of a communication device or a hard disk is confirmed. Then, by this self-diagnosis, it is determined whether any software or hardware has an abnormality (failure or its sign) (S506). Here, when it is determined that there is no failure and no sign thereof, the process returns to S502 to perform periodic diagnosis.

一方、S506でいずれかの機能に異常があると判定した場合は、運用系サーバ10Aは、運用系としての十分な能力を持っていないか、あるいは近い将来そのような事態に陥る可能性が高いと判断できるので、運用系サーバ10Aは、待機系サーバ10Bに運用系の処理を引き継ぐための処理を実行する。すなわち、この場合、運用系サーバ10Aは、WAN側及びLAN側の両経路から待機系サーバ10Bに対してアクセスを試み(S508)、アクセスできれば(S510の判定結果がY)、待機系サーバ10Bに対して《待機系による系切替》の実行を依頼する(S512)。この依頼を受けた待機系サーバ10Bは、図11に示した《待機系による系切替》の処理を実行することで、運用系サーバ10Aを停止させ、自らが新たに運用系サーバとなる。   On the other hand, if it is determined in S506 that one of the functions is abnormal, the active server 10A does not have sufficient capability as the active system, or is likely to fall into such a situation in the near future. Therefore, the active server 10A executes a process for taking over the active process to the standby server 10B. That is, in this case, the active server 10A attempts to access the standby server 10B from both the WAN side and LAN side paths (S508), and if it can be accessed (the determination result in S510 is Y), On the other hand, execution of << system switching by standby system >> is requested (S512). The standby server 10B that has received this request executes the process of “system switching by standby system” shown in FIG. 11, thereby stopping the active server 10A and becoming a new active server.

なお、S508での待機系へのアクセスが失敗した場合は、待機系サーバ10Bが存在しない(或いは稼働していない)ということであり、この場合冗長制御では運用系サーバ10Aの能力不足は解消できないので、運用系サーバ10Aは冗長制御に関しては何も行わず、S502に戻って定期的な自己診断を繰り返す。なお、この場合、運用系サーバ10Aが障害のある機能の自己復旧処理を実行するようにしてももちろんよい。   If the access to the standby system in S508 fails, it means that the standby server 10B does not exist (or is not operating). In this case, the shortage of capacity of the active server 10A cannot be solved by the redundancy control. Therefore, the active server 10A does not perform any redundancy control and returns to S502 to repeat periodic self-diagnosis. In this case, of course, the active server 10A may execute the self-recovery process for the function with the failure.

以上、冗長サーバシステムを構成するサーバ10の処理手順について説明した。   The processing procedure of the server 10 configuring the redundant server system has been described above.

以上の手順では、運用系サーバ10Aとして機能していたサーバ10は、待機系サーバ10Bからの監視により障害発生を検出されるか、或いは自己診断により機能障害やそのおそれが検出した場合、《待機系による系切替》により停止させられる。このあと、その停止されたサーバ10がシステム管理者等により復旧された場合は、単にそのサーバ10を起動すれば、図5の起動処理により、そのサーバ10を待機系サーバ10Bとして冗長サーバシステムに参加させることができる(もちろんこれは運用系サーバ10Aは健在であるとした場合のことである)。   In the above procedure, if the server 10 functioning as the active server 10A detects the occurrence of a failure by monitoring from the standby server 10B, or if a functional failure or its risk is detected by self-diagnosis, It is stopped by system switching by system. Thereafter, when the stopped server 10 is recovered by a system administrator or the like, if the server 10 is simply started, the server 10 is set as a standby server 10B in the redundant server system by the startup process of FIG. (Of course, this is the case where the active server 10A is alive).

また、本実施形態のサーバ10は、1台でも動作可能である。すなわちこの場合は、まずサーバ10は、起動処理により待機系として起動した後、待機系による運用系の障害監視(S300)により、稼働中の運用系サーバ10Aがないことを検知し、自らが運用系へと切り替わる。そして、このサーバ10が、運用系のみの一台構成のサーバとして、クライアント40に対してLAN上及びインターネット接続その他のサービスを提供する。したがって、予算が少ないユーザは、1台のサーバ10のみを導入することもできる。そして、資金的に余裕ができた場合は、もう1台のサーバ10をシステムに追加することで、上述の冗長サーバシステムを実現できる。この場合、追加したサーバは、図5の起動処理により、待機系として機能することになる。   Further, even one server 10 of this embodiment can operate. That is, in this case, first, the server 10 is activated as a standby system by the activation process, and then detects that there is no active system server 10A in operation by monitoring the operation system failure by the standby system (S300). Switch to the system. The server 10 provides a service on the LAN and the Internet and other services to the client 40 as a single server having only an operational system. Therefore, a user with a small budget can introduce only one server 10. If there is a financial allowance, the above-described redundant server system can be realized by adding another server 10 to the system. In this case, the added server functions as a standby system by the startup process of FIG.

なお、システムへのサーバ10の追加のために、例えば、1台しかサーバ10を用いないときでもWAN側及びLAN側のハブ20W及び20Lを設置しておけば、新たに追加するサーバ10をこれらハブ20W及び20Lに接続し、起動するだけで、冗長構成のサーバシステムを構成できる。   For the addition of the server 10 to the system, for example, even when only one server 10 is used, if the WAN-side and LAN-side hubs 20W and 20L are installed, these newly added servers 10 can be added. A redundant server system can be configured simply by connecting to the hubs 20W and 20L and starting up.

以上説明した本実施形態のシステムでは、まず2つのサーバ10A及び10B間でのヘルスチェックその他の通信のために、ハブ20Wを経由するWAN側の経路と、ハブ20Lを経由するLAN側の経路の2つの経路を用いることができる。これら2つの経路は、各サーバ10A,10Bがクライアント40やISP30と通信する際にも用いる経路である。すなわち、本実施形態では、ヘルスチェックなど2つのサーバ10A及び10B間での冗長制御のための通信を、専用の通信経路を用いなくても、二重の通信経路を用いて実行することができる。これら2つの通信経路が同時に通信不可となる可能性は極めて低いので、一方のサーバから他方へどちらの通信経路を用いても通信ができなければ、十分に高い確率で他方が停止していると判断できる。   In the system of the present embodiment described above, first, for the health check and other communications between the two servers 10A and 10B, the WAN-side route via the hub 20W and the LAN-side route via the hub 20L Two paths can be used. These two routes are used when the servers 10A and 10B communicate with the client 40 and the ISP 30. That is, in the present embodiment, communication for redundancy control between the two servers 10A and 10B such as a health check can be executed using a dual communication path without using a dedicated communication path. . Since it is very unlikely that these two communication paths will not be able to communicate at the same time, if communication cannot be performed from one server to the other using either communication path, the other is stopped with a sufficiently high probability. I can judge.

本実施形態の冗長サーバ構成は、LAN−WAN境界のサーバが1つしかない従来のシステム構成に比べ、ハードウエア構成上は、サーバ1台と、WAN側及びLAN側で合計2台のハブを追加するだけで済むのでコスト面で有利である。また、LAN側のハブは、LAN構成上もともと設置されている場合が一般的なので、通常はサーバ1台とハブ1台を追加する分のコストアップしかない。また、冗長系を構成する個々のサーバ10は、WAN側及びLAN側にネットワークインタフェースカードなどの通信デバイスを1つずつ持つだけでよいので、サーバ1台当たりの通信デバイスの数も従来から増やす必要がない。   The redundant server configuration of the present embodiment has one server and two hubs on the WAN side and the LAN side in terms of hardware configuration compared to the conventional system configuration having only one server at the LAN-WAN boundary. It is advantageous in terms of cost because it only needs to be added. Also, since the LAN side hub is generally installed in the LAN configuration, the cost is usually increased by adding one server and one hub. In addition, each server 10 constituting the redundant system only needs to have one communication device such as a network interface card on the WAN side and the LAN side. Therefore, it is necessary to increase the number of communication devices per server. There is no.

また、本実施形態では、一旦停止した運用系サーバが自動的に復旧した場合でも、復旧時の起動処理により、そのサーバは待機系として冗長サーバシステムに参加することとなるので、運用系サーバが重複してしまうという不具合を避けることができる。   In this embodiment, even if the active server once stopped is automatically recovered, the server will participate in the redundant server system as a standby system by the startup process at the time of recovery. The problem of duplication can be avoided.

また、本実施形態のサーバは1台だけでも運用系サーバとして機能できると共に、同じソフトウエア構成のサーバをもう1台追加すれば、追加したサーバが自動的に待機系として動作する。また、2台のサーバの冗長構成で運用している際に、運用系サーバを停止さても、残った待機系が自動的に運用系に成り代わってサービスを引き継ぐ。このように、本実施形態のサーバを用いた冗長サーバシステムは、システム構成を柔軟に壊変することができるという利点を持つ。   In addition, only one server of this embodiment can function as an active server, and when another server having the same software configuration is added, the added server automatically operates as a standby system. In addition, when operating in a redundant configuration of two servers, even if the active server is stopped, the remaining standby system automatically takes over as the active system and takes over the service. As described above, the redundant server system using the server of this embodiment has an advantage that the system configuration can be flexibly changed.

また、特許文献1及び2に示した従来技術では、サーバ相互間のヘルスチェックは行っていたが、これだけでは、相手方のサーバまでの通信経路が繋がっていることと、相手方のサーバがpingコマンド等の問い合わせに答えられることが分かるだけである。仮にpingの問い合わせに答えられたとしても、それだけでは相手がクライアントに対して必要なサービスを提供できるかまでは分からない。これに対し、本実施形態では、(1)待機系が運用系を監視することで、運用系の停止や、待機系のみが検出可能な運用系の障害を検出でき、(2)運用系自身が自己診断を行うことで外からは分からない内部機能の障害を検出できる。   Further, in the prior arts disclosed in Patent Documents 1 and 2, health check between servers is performed. However, with this alone, the communication path to the partner server is connected, and the partner server performs a ping command or the like. It is only understood that it can answer the inquiry. Even if a ping inquiry is answered, it is not clear that the other party can provide the necessary services to the client. On the other hand, in the present embodiment, (1) the standby system monitors the active system, so that the active system can be stopped, or an active system failure that can be detected only by the standby system can be detected. (2) The active system itself By performing self-diagnosis, it is possible to detect internal function failures that are unknown from the outside.

また、本実施形態では、運用系及び待機系が、定期的な監視や自己診断の際に、それぞれISP30やLAN上のクライアント40と通信ができるかどうかを検査するので、孤立検査も実現できる。   Further, in this embodiment, since the active system and the standby system each check whether communication with the ISP 30 or the client 40 on the LAN is possible during regular monitoring or self-diagnosis, an isolated test can be realized.

また、本実施形態の冗長サーバシステムでは、ISP30との接続は、運用系サーバ10Aのみが行うので、ISP30への登録情報など、WAN側の接続系に設定変更を行う必要がない。また、運用系サーバ10Aと待機系サーバ10Bが同時にインターネット接続を行うことがないので、一般的に1台との接続しか許していないISPの契約条件やシステム上の利用制限を満足することができる。   Further, in the redundant server system of this embodiment, since only the active server 10A is connected to the ISP 30, there is no need to change the setting of the WAN-side connection system such as registration information for the ISP 30. In addition, since the active server 10A and the standby server 10B do not connect to the Internet at the same time, it is possible to satisfy the ISP contract conditions and system usage restrictions that generally permit only one connection. .

また、本実施形態のシステムでは、運用系サーバ10Aは常に一つしか存在せず、そのLAN側のIPアドレスは固定されているので、LAN−WAN境界のサーバが1つしかない従来のシステム構成と比べて、LAN上のクライアント40などサービスを享受する側の装置の持つソフトウエアや設定に変更や追加を加える必要がない。   Further, in the system of the present embodiment, there is always only one active server 10A and the IP address on the LAN side is fixed, so that the conventional system configuration has only one server at the LAN-WAN boundary. Compared to the above, it is not necessary to change or add to software or settings of the device on the side of the service such as the client 40 on the LAN.

以上の例では、各サーバ10A、10BのWAN側ポートに設定する運用系−待機系間の通信のためのIPアドレス(すなわち運用系WAN側IPアドレス1062と待機系WAN側IPアドレス1066)を、系の切替に応じて切り替えた。しかし、これらは運用系−待機系間の通信専用のIPアドレスであり、LAN上及びWAN上の他のノードには影響を及ぼさないので、そのような切替をせずに、サーバ10Aとサーバ10Bとで固定的に設定しておく方式でも構わない。   In the above example, the IP addresses (that is, the active WAN side IP address 1062 and the standby WAN side IP address 1066) for communication between the active system and the standby system set in the WAN side ports of the servers 10A and 10B are The system was switched according to the system switching. However, these are IP addresses dedicated for communication between the active system and the standby system, and do not affect other nodes on the LAN and WAN. Therefore, the server 10A and the server 10B do not have such switching. It is also possible to use a fixed method.

本発明に係るシステムの概略構成例を示す図である。It is a figure which shows the schematic structural example of the system which concerns on this invention. 本実施形態のサーバの構成例を示す図である。It is a figure which shows the structural example of the server of this embodiment. 運用用データの例を示す図である。It is a figure which shows the example of operation data. 冗長制御データの例を示す図である。It is a figure which shows the example of redundant control data. 起動処理の手順を示すフローチャートである。It is a flowchart which shows the procedure of a starting process. WAN側IPアドレス切替制御の手順を示すフローチャートである。It is a flowchart which shows the procedure of WAN side IP address switching control. LAN側IPアドレス切替制御の手順を示すフローチャートである。It is a flowchart which shows the procedure of LAN side IP address switching control. サーバが待機系に設定されたときの、通信デバイスにセットされるIPアドレスを説明するための図である。It is a figure for demonstrating the IP address set to a communication device when a server is set to a standby system. サーバが運用系に設定されたときの、通信デバイスにセットされるIPアドレスを説明するための図である。It is a figure for demonstrating the IP address set to a communication device when a server is set to an operation system. 待機系による運用系障害監視の手順を示すフローチャートである。It is a flowchart which shows the procedure of the active system failure monitoring by a standby system. 待機系による系切替の手順を示すフローチャートである。It is a flowchart which shows the procedure of the system switching by a standby system. 運用系自己監視の手順を示すフローチャートである。It is a flowchart which shows the procedure of active self-monitoring.

符号の説明Explanation of symbols

10A 運用系サーバ、10B 待機系サーバ、20L,20W ハブ、22 ADSLモデム、30 ISP、40 クライアント。   10A Active server, 10B Standby server, 20L, 20W hub, 22 ADSL modem, 30 ISP, 40 clients.

Claims (10)

LANとWANとの境界に設置され、一方がLAN上のクライアントに対してサービスを提供する運用系、他方がその運用系の予備である待機系として機能する2台のサーバ装置と、
前記2台のサーバ装置の各LAN側ネットワークポートと前記LANとを接続するLAN側ハブと、
前記2台のサーバ装置の各WAN側ネットワークポートと前記WANとを接続するWAN側ハブと、
を備え、前記LAN側ハブを介した前記2台のサーバ装置間の通信経路と、前記WAN側ハブを介した前記2台のサーバ装置間の通信経路と、の両経路を介して前記2台のサーバ装置間での冗長系制御のための通信を行う冗長サーバシステム。
Two server devices installed at the boundary between the LAN and the WAN, one of which serves as a standby system that provides services to clients on the LAN and the other is a standby system for the operational system;
A LAN-side hub that connects each LAN-side network port of the two server devices and the LAN;
A WAN-side hub that connects each WAN-side network port of the two server devices and the WAN;
The two units via both paths of a communication path between the two server apparatuses via the LAN side hub and a communication path between the two server apparatuses via the WAN side hub Server system that performs communication for redundant system control among other server devices.
前記2台のサーバ装置のうち運用系は、前記WANとの通信のための論理アドレスとは別に前記WAN側ハブを介して待機系と通信するためのWAN側論理アドレスを有し、待機系は前記WAN側ハブを介して運用系と通信するためのWAN側論理アドレスを有し、前記運用系及び待機系は相互のWAN側論理アドレスを用いて冗長系制御のための通信を行うことを特徴とする請求項1記載の冗長サーバシステム。   Of the two server devices, the active system has a WAN side logical address for communicating with the standby system via the WAN side hub separately from the logical address for communication with the WAN. A WAN side logical address for communicating with the active system via the WAN side hub is provided, and the active system and the standby system perform communication for redundant system control using the mutual WAN side logical address. The redundant server system according to claim 1. 前記2台のサーバ装置のうち待機系は、運用系が前記WANと接続できない状態であることを検知した場合、前記WANに対する接続を試み、その接続が成功した場合、運用系に停止を指示し、自らが運用系に切り替わることを特徴とする請求項1記載の冗長サーバシステム。   When the standby system detects that the active system cannot connect to the WAN, the standby system tries to connect to the WAN, and if the connection is successful, the standby system instructs the active system to stop. 2. The redundant server system according to claim 1, wherein the server is switched to an active system. 前記2台のサーバ装置のうち待機系が運用系を監視し、この監視により運用系が停止していることを検知した場合は待機系が自律的に運用系へと切り替わり、前記監視により運用系は稼働しているものの機能不全であることを検知した場合は待機系が運用系に対して停止又は待機系への切替を指示し、その指示に対する処理が完了した後で待機系が運用系へと切り替わることを特徴とする請求項1記載の冗長サーバシステム。   Of the two server devices, the standby system monitors the active system, and if this monitoring detects that the active system has stopped, the standby system autonomously switches to the active system, and the monitoring causes the active system to If the standby system detects that it is operating but malfunctions, the standby system instructs the active system to stop or switch to the standby system, and after the processing for that instruction is completed, the standby system switches to the active system. The redundant server system according to claim 1, wherein the redundant server system is switched. 前記2台のサーバ装置のうち運用系は、自らのソフトウエア及びハードウエアの状態を監視し、この監視により異常を発見した場合は、待機系に対し運用系への切替を依頼し、この依頼に応じて待機系が運用系への切り替わることを特徴とする請求項1記載の冗長サーバシステム。   Of the two server devices, the operating system monitors the status of its own software and hardware. If an abnormality is detected by this monitoring, the standby system requests the standby system to switch to the operating system. The redundant server system according to claim 1, wherein the standby system is switched to the active system in response to. 前記各サーバ装置は、起動時には待機系として機能し、前記LAN側ハブを介した前記2台のサーバ装置間の通信経路と、前記WAN側ハブを介した前記2台のサーバ装置間の通信経路とを介して運用系の存在の有無を確認し、運用系が存在することが確認された場合は待機系としての動作を続行し、運用系が存在しないことが確認された場合は運用系に切り替わることを特徴とする、請求項1記載の冗長サーバシステム。   Each server device functions as a standby system at the time of startup, and a communication path between the two server devices via the LAN-side hub and a communication route between the two server devices via the WAN-side hub Check if the active system exists, and if it is confirmed that the active system exists, continue the operation as the standby system, and if it is confirmed that the active system does not exist, change to the active system The redundant server system according to claim 1, wherein the redundant server system is switched. 前記2台のサーバ装置は、それぞれ、前記LAN側ハブを介した通信用の論理アドレスとして、LAN上のクライアント装置へのサービス提供のための運用系LAN側論理アドレスと、運用系との冗長系制御のための通信のための待機系LAN側論理アドレスとを保持しており、該サーバ装置が運用系である場合はそれらのうちの運用系LAN側論理アドレスを有効にし、該サーバ装置が待機系である場合はそれらのうちの待機系LAN側論理アドレスを有効にすることを特徴とする請求項1記載の冗長サーバシステム。   Each of the two server apparatuses has a logical system LAN side logical address for providing a service to a client apparatus on the LAN as a logical address for communication via the LAN side hub, and a redundant system of the operational system. If the server apparatus is an active system, the active LAN side logical address is validated, and the server apparatus is on standby. 2. The redundant server system according to claim 1, wherein if it is a system, the standby LAN side logical address is validated. LANとWANとの境界に設置されるサーバ装置であって、2台1組として構成した場合に、一方がLAN上のクライアントに対してサービスを提供する運用系、他方がその運用系の予備である待機系として機能し得るサーバ装置であって、
自らが運用系としてLAN上のクライアントに対してサービスを提供する際に用いる運用系WAN側論理アドレス及び運用系LAN側論理アドレスと、自らが待機系として機能する際に用いる待機系WAN側論理アドレス及び待機系LAN側論理アドレスと、を記憶した記憶装置と、
自らが運用系になった場合には、当該サーバ装置のWAN側通信ポート及びLAN側通信ポートに運用系WAN側論理アドレス及び運用系LAN側論理アドレスをそれぞれ設定し、自らが待機系になった場合には、前記WAN側通信ポート及びLAN側通信ポートに待機系WAN側論理アドレス及び待機系LAN側論理アドレスをそれぞれ設定するアドレス設定手段と、
自らが運用系である場合は、待機系との間の冗長系制御のために、前記WAN側ポートから前記待機系WAN側論理アドレスを宛先として通信を行うとともに、前記LAN側ポートから前記待機系LAN側論理アドレスを宛先として通信を行い、自らが待機系である場合は、運用系との間の冗長系制御のために、前記WAN側ポートから前記運用系WAN側論理アドレスを宛先として通信を行うとともに、前記LAN側ポートから前記運用系LAN側論理アドレスを宛先として通信を行う冗長系制御手段と、
を備えるサーバ装置。
A server device installed at the boundary between a LAN and a WAN. When configured as a set of two, one is an operational system that provides services to clients on the LAN, and the other is a spare for the operational system. A server device that can function as a standby system,
An active WAN side logical address and an active LAN side logical address that are used when the service is provided to clients on the LAN as an active system, and a standby WAN side logical address that is used when the self functions as a standby system And a storage system that stores the standby LAN side logical address;
When the server itself becomes the active system, the active WAN side logical address and the active LAN side logical address are set in the WAN side communication port and the LAN side communication port of the server device, respectively, and the server system becomes the standby system. In this case, address setting means for setting a standby WAN side logical address and a standby LAN side logical address in the WAN side communication port and the LAN side communication port, respectively.
When the system itself is an active system, for the purpose of redundant system control with the standby system, communication is performed from the WAN side port with the standby WAN side logical address as a destination, and from the LAN side port to the standby system When communication is performed with the logical address on the LAN side as the destination, and when it is a standby system, communication is performed with the logical address on the operational WAN side as the destination from the WAN side port for redundant system control with the operational system. And redundant system control means for communicating from the LAN side port with the operating LAN side logical address as a destination,
A server device comprising:
前記サーバ装置は、起動されたときに前記WAN側通信ポート及びLAN側通信ポートに前記待機系WAN側論理アドレス及び待機系LAN側論理アドレスをそれぞれ設定することにより待機系として機能し、その後前記WAN側ポートから前記運用系WAN側論理アドレスを宛先として通信を試み、前記LAN側ポートから前記運用系LAN側論理アドレスを宛先として通信を試みることで、運用系の有無を確認し、運用系が存在することが確認された場合は待機系としての動作を続行し、運用系が存在しないことが確認された場合は前記WAN側通信ポート及びLAN側通信ポートに前記運用系WAN側論理アドレス及び運用系LAN側論理アドレスをそれぞれ設定することにより運用系に切り替わることを特徴とする、請求項8記載のサーバ装置。   The server device functions as a standby system by setting the standby WAN side logical address and the standby LAN side logical address in the WAN side communication port and the LAN side communication port, respectively, when activated. The communication is attempted from the side port to the logical address of the active WAN side, and the communication is attempted from the LAN side port to the logical address of the active LAN side. If it is confirmed that the active system does not exist, the operation side WAN logical port and the LAN side communication port are connected to the active WAN logical address and the active system. 9. The system is switched to an active system by setting each logical address on the LAN side. Over server apparatus. LANとWANとの境界に設置されるサーバ装置であって、2台1組として構成した場合に、一方がLAN上のクライアントに対してサービスを提供する運用系、他方がその運用系の予備である待機系として機能し得るサーバ装置として、コンピュータシステムを機能させるためのプログラムであって、該コンピュータシステムを、
自らが運用系としてLAN上のクライアントに対してサービスを提供する際に用いる運用系WAN側論理アドレス及び運用系LAN側論理アドレスと、自らが待機系として機能する際に用いる待機系WAN側論理アドレス及び待機系LAN側論理アドレスと、を記憶した記憶手段、
自らが運用系になった場合には、当該サーバ装置のWAN側通信ポート及びLAN側通信ポートに運用系WAN側論理アドレス及び運用系LAN側論理アドレスをそれぞれ設定し、自らが待機系になった場合には、前記WAN側通信ポート及びLAN側通信ポートに待機系WAN側論理アドレス及び待機系LAN側論理アドレスをそれぞれ設定するアドレス設定手段、
自らが運用系である場合は、待機系との間の冗長系制御のために、前記WAN側ポートから前記待機系WAN側論理アドレスを宛先として通信を行うとともに、前記LAN側ポートから前記待機系LAN側論理アドレスを宛先として通信を行い、自らが待機系である場合は、運用系との間の冗長系制御のために、前記WAN側ポートから前記運用系WAN側論理アドレスを宛先として通信を行うとともに、前記LAN側ポートから前記運用系LAN側論理アドレスを宛先として通信を行う冗長系制御手段、
として機能させるプログラム。
A server device installed at the boundary between a LAN and a WAN. When configured as a set of two, one is an operational system that provides services to clients on the LAN, and the other is a spare for the operational system. A program for causing a computer system to function as a server device that can function as a certain standby system,
An active WAN side logical address and an active LAN side logical address that are used when the service is provided to clients on the LAN as an active system, and a standby WAN side logical address that is used when the self functions as a standby system And a storage means storing the standby LAN side logical address,
When the server itself becomes the active system, the active WAN side logical address and the active LAN side logical address are set in the WAN side communication port and the LAN side communication port of the server device, respectively, and the server system becomes the standby system. In this case, address setting means for setting a standby WAN side logical address and a standby LAN side logical address respectively in the WAN side communication port and the LAN side communication port;
When the system itself is an active system, for the purpose of redundant system control with the standby system, communication is performed from the WAN side port with the standby WAN side logical address as a destination, and from the LAN side port to the standby system When communication is performed with the logical address on the LAN side as the destination, and when it is a standby system, communication is performed with the logical address on the operational WAN side as the destination from the WAN side port for redundant system control with the operational system. Redundant system control means for performing communication from the LAN side port with the working LAN side logical address as a destination,
Program to function as.
JP2004314880A 2004-10-28 2004-10-28 Redundant server system and server apparatus Pending JP2006129094A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004314880A JP2006129094A (en) 2004-10-28 2004-10-28 Redundant server system and server apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004314880A JP2006129094A (en) 2004-10-28 2004-10-28 Redundant server system and server apparatus

Publications (1)

Publication Number Publication Date
JP2006129094A true JP2006129094A (en) 2006-05-18

Family

ID=36723287

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004314880A Pending JP2006129094A (en) 2004-10-28 2004-10-28 Redundant server system and server apparatus

Country Status (1)

Country Link
JP (1) JP2006129094A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009273041A (en) * 2008-05-09 2009-11-19 Hitachi Ltd Management server in information processing system, and cluster management method
JP2010515316A (en) * 2006-12-29 2010-05-06 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Data provision method
JP2010183157A (en) * 2009-02-03 2010-08-19 Toshiba Corp Communication device
JP2011059930A (en) * 2009-09-09 2011-03-24 Nec Computertechno Ltd Power supply unit
US8787150B2 (en) 2006-10-09 2014-07-22 Telefonaktiebolaget L M Ericsson (Publ) Resiliency schemes in communications networks
WO2017122298A1 (en) * 2016-01-13 2017-07-20 三菱電機株式会社 Communication system, communication device, and communication destination switching method
JP2020091618A (en) * 2018-12-05 2020-06-11 アズビル株式会社 Facility monitoring system and communication method in facility monitoring system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8787150B2 (en) 2006-10-09 2014-07-22 Telefonaktiebolaget L M Ericsson (Publ) Resiliency schemes in communications networks
JP2010515316A (en) * 2006-12-29 2010-05-06 テレフオンアクチーボラゲット エル エム エリクソン(パブル) Data provision method
JP2009273041A (en) * 2008-05-09 2009-11-19 Hitachi Ltd Management server in information processing system, and cluster management method
JP4571203B2 (en) * 2008-05-09 2010-10-27 株式会社日立製作所 Management server and cluster management method in information processing system
JP2010183157A (en) * 2009-02-03 2010-08-19 Toshiba Corp Communication device
JP2011059930A (en) * 2009-09-09 2011-03-24 Nec Computertechno Ltd Power supply unit
JP6207770B1 (en) * 2016-01-13 2017-10-04 三菱電機株式会社 Communication system, communication device, and communication destination switching method
WO2017122369A1 (en) * 2016-01-13 2017-07-20 三菱電機株式会社 Communication system, communication device, and communication destination switching method
WO2017122298A1 (en) * 2016-01-13 2017-07-20 三菱電機株式会社 Communication system, communication device, and communication destination switching method
KR20180078323A (en) * 2016-01-13 2018-07-09 미쓰비시덴키 가부시키가이샤 How to switch communication systems, communication devices, and communicators
KR101892906B1 (en) 2016-01-13 2018-08-28 미쓰비시덴키 가부시키가이샤 How to switch communication systems, communication devices, and communicators
CN108476171A (en) * 2016-01-13 2018-08-31 三菱电机株式会社 The switching method of communication system, communication instrument and communication target
TWI640176B (en) * 2016-01-13 2018-11-01 三菱電機股份有限公司 Communication system, communication equipment and method for switching communication destination
CN108476171B (en) * 2016-01-13 2019-06-28 三菱电机株式会社 The switching method of communication system, communication instrument and communication target
JP2020091618A (en) * 2018-12-05 2020-06-11 アズビル株式会社 Facility monitoring system and communication method in facility monitoring system
JP7316779B2 (en) 2018-12-05 2023-07-28 アズビル株式会社 FACILITY MONITORING SYSTEM AND COMMUNICATION METHOD IN FACILITY MONITORING SYSTEM

Similar Documents

Publication Publication Date Title
US6728780B1 (en) High availability networking with warm standby interface failover
US6732186B1 (en) High availability networking with quad trunking failover
US6718383B1 (en) High availability networking with virtual IP address failover
CN110572275B (en) Network card switching method and device, server and computer readable storage medium
EP3047631B1 (en) Redundancy network protocol system
US7505401B2 (en) Method, apparatus and program storage device for providing mutual failover and load-balancing between interfaces in a network
US8339940B2 (en) Multi-active detection method and stack member device
JP4860677B2 (en) Method and system for assigning multiple MACs to multiple processors
US7652982B1 (en) Providing high availability network services
US8891358B2 (en) Method for application broadcast forwarding for routers running redundancy protocols
US11855809B2 (en) Resilient zero touch provisioning
JP2006129446A (en) Fault tolerant network architecture
US9898377B2 (en) Switch provided failover
CA2618227A1 (en) Fault-tolerant communications in routed networks
US20030233473A1 (en) Method for configuring logical connections to a router in a data communication system
US20040010583A1 (en) Method and apparatus for defining failover events in a network device
US11349706B2 (en) Two-channel-based high-availability
JP2010103695A (en) Cluster system, cluster server and cluster control method
CN112583708B (en) Connection relation control method and device and electronic equipment
EP1751960A1 (en) Simplifying connection establishment in systems accessing other systems via redundant addressable gateways
JP2006129094A (en) Redundant server system and server apparatus
CN101277262B (en) Method for restarting virtual router redundancy protocol and router
WO2007006198A1 (en) A method for realizing the dual homing in the network with separated controlling and bearing
JP4133738B2 (en) High-speed network address takeover method, network device, and program
JP4378205B2 (en) Blade type network relay device