JP2015133590A - Communication system and communication apparatus - Google Patents

Communication system and communication apparatus Download PDF

Info

Publication number
JP2015133590A
JP2015133590A JP2014003559A JP2014003559A JP2015133590A JP 2015133590 A JP2015133590 A JP 2015133590A JP 2014003559 A JP2014003559 A JP 2014003559A JP 2014003559 A JP2014003559 A JP 2014003559A JP 2015133590 A JP2015133590 A JP 2015133590A
Authority
JP
Japan
Prior art keywords
server
router
switching
communication
interface
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
JP2014003559A
Other languages
Japanese (ja)
Inventor
健雄 笹井
Takeo Sasai
健雄 笹井
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.)
Fujitsu Telecom Networks Ltd
Original Assignee
Fujitsu Telecom Networks 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 Fujitsu Telecom Networks Ltd filed Critical Fujitsu Telecom Networks Ltd
Priority to JP2014003559A priority Critical patent/JP2015133590A/en
Publication of JP2015133590A publication Critical patent/JP2015133590A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To support switching between systems in the case of constructing a system of a standby system for a system of a non-redundant active system.SOLUTION: An identical IP address is set to a server A12 of an active system 10 and a server B22 of a standby system 20. When a switch trigger is detected, a router A14 stops the server A12 and simultaneously gives a switch message to a router B24. When the switch message is given from the router A14, the router B24 checks whether communication with the server A12 is possible or not. If the communication with the server A12 is not possible, the router B24 activates an interface between the server B22 and the router B24.

Description

本発明は、データ通信技術に関し、特に通信システムおよび通信装置に関する。   The present invention relates to data communication technology, and more particularly to a communication system and a communication apparatus.

ビジネスやインフラの観点から重要な情報システムは、可用性を高めるため、運用系のシステムとは別に予備系のシステムが構築され、冗長化されることがある。   In order to increase the availability of information systems that are important from the viewpoint of business and infrastructure, a standby system may be constructed and made redundant in addition to an operational system.

ルータの冗長化技術としてVRRP(Virtual Router Redundancy Protocol)が知られている(例えば非特許文献1参照)。VRRPは、同じLAN内の複数台のルータを仮想的に1台のルータとして扱えるようにする技術である。VRRPを使えば、「マスタ・ルータ」と呼ばれる実際に稼働しているルータに障害が発生した場合に、直ちに「バックアップ・ルータ」と呼ばれる常時スタンバイさせている予備のルータへ自動的に処理が引き継がれる。   VRRP (Virtual Router Redundancy Protocol) is known as a router redundancy technique (see, for example, Non-Patent Document 1). VRRP is a technology that allows a plurality of routers in the same LAN to be virtually handled as one router. With VRRP, when a failure occurs in a router that is actually operating called a “master router”, the process is automatically taken over immediately to a standby router that is always on standby, called a “backup router”. It is.

”Virtual Router Redundancy Protocol (VRRP) Version 3 for IPv4 and IPv6”、[平成25年12月10日検索]、インターネット〈http://tools.ietf.org/html/rfc5798〉"Virtual Router Redundancy Protocol (VRRP) Version 3 for IPv4 and IPv6", [Searched on December 10, 2013], Internet <http://tools.ietf.org/html/rfc5798>

もともと二重化されていないサーバ・クライアントシステムでは、クライアントには既存システムの1つのサーバIPアドレスのみ登録されていることがある。例えば、災害対策等のために遠隔地にバックアップシステムを構築する場合で、クライアントが1つのサーバIPアドレスしか使用できない場合、IPアドレスが重複するため、既存システムのサーバIPアドレスと同一のIPアドレスを設定したサーバをバックアップシステムに配置することはできない。   In a server / client system that is not originally duplicated, only one server IP address of the existing system may be registered in the client. For example, when building a backup system in a remote location for disaster countermeasures, etc., if the client can only use one server IP address, the IP address is duplicated, so the same IP address as the server IP address of the existing system is used. The configured server cannot be placed on the backup system.

このように、冗長化されていない既存システム(運用系のシステム)に対して予備系のシステムを新たに構築する場合、通常、予備系のサーバに設定するIPアドレスは、運用系のサーバのIPアドレスとは異なる値にする必要がある。しかし、クライアントは二重化を前提とした構成でないため、予備系に切替える場合、クライアントの設定変更が必要となる。例えば、アクセス先サーバのIPアドレスの設定値を、運用系の値から予備系の値へ変更する必要が生じる。したがって、クライアントの数が多いと、各クライアントの設定を変更することは容易でなく、また変更作業に伴うトラブル発生のリスクもある。   As described above, when a standby system is newly constructed for an existing system that is not made redundant (active system), the IP address set for the standby server is usually the IP address of the active server. Must be different from address. However, since the client is not configured to be duplicated, changing the setting of the client is required when switching to the standby system. For example, it is necessary to change the setting value of the IP address of the access destination server from the active system value to the standby system value. Therefore, when the number of clients is large, it is not easy to change the setting of each client, and there is a risk of trouble occurring due to the change work.

本発明は本発明者の上記課題認識にもとづきなされたものであり、その主な目的は、冗長化されていないシステムに対して予備系のシステムを構築する場合のシステム間の切替を支援する技術を提供することである。   The present invention has been made on the basis of the above-mentioned problem recognition of the present inventor, and its main object is a technology for supporting switching between systems when a standby system is constructed for a system that is not made redundant. Is to provide.

上記課題を解決するために、本発明のある態様の通信システムは、運用系の第1サーバとのインタフェースを有する第1通信装置と、第1サーバと同じアドレスが設定された予備系の第2サーバとのインタフェースを有する第2通信装置と、を備える。第1通信装置は、運用系を切替えるべきことを示す所定の切替トリガを検出する検出部と、切替トリガが検出された場合に、第1サーバを停止状態へ切替え、または、第1サーバとのインタフェースを無効な状態へ切替える切替制御部と、切替トリガが検出された場合に、第2通信装置に対して切替を通知する通知部と、を含む。第2通信装置は、第1通信装置から切替が通知された場合に、第1サーバとの通信可否を判定する判定部と、第1サーバと通信できない場合に、第2サーバとのインタフェースを無効な状態から有効な状態へ切替えることにより、外部のクライアント装置から送出された第1サーバのアドレスを指定したパケットを第2サーバに到達させる切替制御部と、を含む。   In order to solve the above-described problem, a communication system according to an aspect of the present invention includes a first communication device having an interface with an active first server, and a second standby system in which the same address as the first server is set. A second communication device having an interface with the server. The first communication device detects a predetermined switching trigger indicating that the active system should be switched, and switches the first server to a stopped state when a switching trigger is detected, or A switching control unit that switches the interface to an invalid state; and a notification unit that notifies the second communication device of switching when a switching trigger is detected. The second communication device invalidates the interface with the second server when it is not possible to communicate with the first server and the determination unit that determines whether communication with the first server is possible when switching is notified from the first communication device. And a switching control unit for causing the packet specifying the address of the first server sent from the external client device to reach the second server by switching from a valid state to an effective state.

本発明の別の態様は、通信装置である。この装置は、運用系の第1サーバとのインタフェースと、運用系を切替えるべきことを示す所定の切替トリガを検出する検出部と、切替トリガが検出された場合に、第1サーバを停止状態へ切替え、または、第1サーバとのインタフェースを無効な状態へ切替える切替制御部と、切替トリガが検出された場合に、第1サーバと同じアドレスが設定された予備系の第2サーバとのインタフェースを有する他の通信装置に対して切替を通知することにより、第2サーバとのインタフェースを無効な状態から有効な状態へ切替えさせ、外部のクライアント装置から送出された第1サーバのアドレスを指定したパケットを第2サーバに到達させる通知部と、を備える。   Another aspect of the present invention is a communication device. This device puts the first server into a stopped state when an interface with the first active server, a detection unit for detecting a predetermined switching trigger indicating that the active system should be switched, and a switching trigger are detected. A switching control unit for switching or switching the interface with the first server to an invalid state; and when a switching trigger is detected, an interface with the standby second server set with the same address as the first server A packet specifying the address of the first server sent from the external client device by switching the interface with the second server from the invalid state to the valid state by notifying the other communication device having the switching. And a notification unit for reaching the second server.

本発明のさらに別の態様もまた、通信装置である。この装置は、運用系の第1サーバと同じアドレスが設定された予備系の第2サーバとのインタフェースと、第1サーバとのインタフェースを有する他の通信装置から、運用系の切替が通知された場合に、第1サーバとの通信可否を判定する判定部と、第1サーバと通信できない場合に、第2サーバとのインタフェースを無効な状態から有効な状態へ切替えることにより、外部のクライアント装置から送出された第1サーバのアドレスを指定したパケットを第2サーバに到達させる切替制御部と、を備える。   Yet another embodiment of the present invention is also a communication device. This device is notified of switching of the active system from another communication device having an interface with the standby second server set with the same address as the first server of the active system and the interface with the first server. In this case, the determination unit that determines whether or not communication with the first server is possible, and when the communication with the first server cannot be performed, the interface with the second server is switched from the invalid state to the valid state, thereby enabling an external client device to A switching control unit for causing the packet specifying the address of the first server sent to reach the second server.

なお、以上の構成要素の任意の組合せ、本発明の表現を、方法、プログラム、プログラムを格納した記録媒体などの間で変換したものもまた、本発明の態様として有効である。   It should be noted that any combination of the above components and the expression of the present invention converted between a method, a program, a recording medium storing the program, and the like are also effective as an aspect of the present invention.

本発明によれば、冗長化されていないシステムに対して予備系のシステムを構築する場合のシステム間の切替を支援することができる。   According to the present invention, it is possible to support switching between systems when a standby system is constructed for a non-redundant system.

実施の形態の情報処理システムの構成を示す図である。It is a figure which shows the structure of the information processing system of embodiment. 図1のルータAとルータBの機能構成を詳細に示すブロック図である。It is a block diagram which shows the functional structure of the router A and the router B of FIG. 1 in detail. ルータAとルータBの動作を示すアクティビティ図である。FIG. 6 is an activity diagram showing operations of router A and router B.

実施の形態の伝送装置について、その構成を説明する前に概要を説明する。
二重化されていないサーバ・クライアントのシステムでは、網の障害やサーバの故障が発生するとシステムが停止してしまう。VRRPやサーバのクラスタ化により、ルータやサーバの機器故障をある程度救済することは可能である。しかし、運用系(言い換えれば現用系)の機器と予備系(言い換えれば待機系)の機器を同一網上に設置する必要があり、典型的には地理的に近い位置に配置する必要がある。したがって、ルータやサーバの機器故障の救済には限界がある。例えば、大規模な災害が発生して、運用系および予備系のルータやサーバを収容するビル全体が災害に遭った場合、すべてのサーバやルータが接続不可となり、システムが機能しないことになる。
An outline of the transmission apparatus according to the embodiment will be described before the configuration thereof is described.
In a non-redundant server / client system, if a network failure or server failure occurs, the system stops. It is possible to relieve router or server equipment failures to some extent by clustering VRRP or servers. However, it is necessary to install an active system (in other words, active system) and a standby system (in other words, standby system) on the same network, and it is typically necessary to arrange them at geographically close positions. Therefore, there is a limit to repairing a router or server device failure. For example, if a large-scale disaster occurs and the entire building that accommodates the active and standby routers and servers encounters a disaster, all servers and routers cannot be connected, and the system does not function.

これを踏まえ、バックアップ用の予備のシステムを運用系から地理的に離れた遠隔地に設置することが考えられる。本発明者は、運用系から予備系への切替におけるクライアントの負担やオペレーションリスクを低減するため、予備系サーバのIPアドレスを現用系サーバのIPアドレスと同一にすることが望ましいと考えた。ただし、ネットワーク上でIPアドレスの重複は許されないため、運用系を落とした後に、予備系を立ち上げる順序は厳密に守る必要がある。   Based on this, it is possible to install a backup backup system in a remote location that is geographically distant from the operational system. The present inventor considered that it is desirable to make the IP address of the standby server the same as the IP address of the active server in order to reduce the burden on the client and the operation risk when switching from the active system to the standby system. However, since duplicate IP addresses are not allowed on the network, it is necessary to strictly observe the order of starting up the standby system after dropping the active system.

実施の形態では、もともと二重化されていない運用系のシステムに対して、予備系のシステムを新たに構築した場合に、システム間の切替を複数の通信装置の連携により自動化する技術を提案する。この技術により、もともと二重化されていないサーバ・クライアントシステムにおいても、遠隔地への予備系の構築と、予備系への自動での切替を実現する。実施の形態では、システム間の切替を支援する通信装置をルータ(後述のルータA14、ルータB24)とする。変形例として、例えばレイヤ3スイッチ等、ルータ以外の通信装置であってもよい。   The embodiment proposes a technique for automating switching between systems by cooperation of a plurality of communication devices when a standby system is newly constructed for an active system that is not originally duplicated. With this technology, even in a server / client system that is not originally duplicated, it is possible to construct a standby system at a remote location and automatically switch to a standby system. In the embodiment, communication devices that support switching between systems are routers (routers A14 and B24 described later). As a modification, a communication device other than a router, such as a layer 3 switch, may be used.

図1は、実施の形態の情報処理システムの構成を示す図である。情報処理システム100は、サーバ・クライアントシステムであり、サービス提供中のサーバA12が設置されたシステムである運用系10と、待機中のサーバB22が設置されたシステムである予備系20を備える。例えば、運用系10はもともと二重化されていない既存システムであり、予備系20は運用系10の遠隔地に新たに構築されたバックアップシステムである。   FIG. 1 is a diagram illustrating a configuration of an information processing system according to an embodiment. The information processing system 100 is a server / client system, and includes an operation system 10 that is a system in which a service providing server A12 is installed and a standby system 20 that is a system in which a standby server B22 is installed. For example, the active system 10 is an existing system that is not originally duplicated, and the standby system 20 is a backup system newly constructed at a remote location of the active system 10.

サーバA12とサーバB22は、各種の情報処理サービスを提供する情報処理装置である。例えば、ウェブサーバやアプリケーションサーバであってもよい。クライアント30は、サーバA12またはサーバB22による情報処理サービスを享受する情報処理装置である。例えば、サーバA12またはサーバB22から提供された情報を表示するPCやスマートフォン、タブレット端末であってもよい。   The server A12 and the server B22 are information processing apparatuses that provide various information processing services. For example, a web server or an application server may be used. The client 30 is an information processing apparatus that enjoys an information processing service by the server A12 or the server B22. For example, a PC, a smartphone, or a tablet terminal that displays information provided from the server A12 or the server B22 may be used.

クライアント30は、網C32を介して運用系10のサーバA12または予備系20のサーバB22と接続され、サーバA12またはサーバB22とパケットを送受する。網C32にはルータC34が設置される。ルータC34は、クライアント30から送出されたサーバ宛のパケットを運用系10または予備系20へ転送する。ルータC34は公知のルータであってよい。   The client 30 is connected to the server A12 of the active system 10 or the server B22 of the standby system 20 via the network C32, and sends and receives packets to and from the server A12 or server B22. A router C34 is installed in the network C32. The router C34 transfers the packet addressed to the server sent from the client 30 to the active system 10 or the standby system 20. Router C34 may be a known router.

運用系10は、サーバA12とルータA14を含む。ルータA14は、種々のルータやスイッチを含む網A16を介してサーバA12と接続され、サーバA12〜クライアント30間で送受されるパケットを中継する。予備系20は、サーバB22とルータB24を含む。ルータB24は、種々のルータやスイッチを含む網B26を介してサーバB22と接続され、サーバB22〜クライアント30間で送受されるパケットを中継する。   The active system 10 includes a server A12 and a router A14. The router A14 is connected to the server A12 via a network A16 including various routers and switches, and relays packets transmitted and received between the server A12 and the client 30. The standby system 20 includes a server B22 and a router B24. The router B24 is connected to the server B22 via a network B26 including various routers and switches, and relays packets transmitted and received between the server B22 and the client 30.

サーバA12とサーバB22には同一のIPアドレスが設定される。したがって、サーバA12が稼働中で、クライアント30に対してサービスを提供している間は、ルータB24は、サーバB22とのインタフェース、例えば網B26側のポートを無効化する。例えば、ポートを閉じた状態を維持し、言い換えれば、パケットの通過を禁止する状態を維持する。図1のルータA14とルータB24は、互いに連携して運用系10と予備系20間の切替を支援する通信システムを構成する。   The same IP address is set for the server A12 and the server B22. Therefore, while the server A12 is operating and providing services to the client 30, the router B24 invalidates the interface with the server B22, for example, the port on the network B26 side. For example, the state where the port is closed is maintained, in other words, the state where the passage of the packet is prohibited is maintained. The router A14 and the router B24 in FIG. 1 constitute a communication system that supports switching between the active system 10 and the standby system 20 in cooperation with each other.

図2は、図1のルータA14とルータB24の機能構成を詳細に示すブロック図である。本明細書のブロック図において示される各ブロックは、ハードウェア的には、コンピュータのCPUやメモリをはじめとする素子や機械装置、電子回路で実現でき、ソフトウェア的にはコンピュータプログラム等によって実現される。ここでは、それらの連携によって実現される機能ブロックを描いている。したがって、これらの機能ブロックはハードウェア、ソフトウェアの組合せによっていろいろなかたちで実現できることは、当業者には理解されるところである。   FIG. 2 is a block diagram showing in detail the functional configuration of the router A14 and the router B24 in FIG. Each block shown in the block diagram of the present specification can be realized in hardware by an element such as a CPU and memory of a computer, a mechanical device, and an electronic circuit, and in software by a computer program or the like. . Here, functional blocks realized by the cooperation are illustrated. Therefore, those skilled in the art will understand that these functional blocks can be realized in various forms by a combination of hardware and software.

ルータA14は、CPU40、IF部42、IF部44、IF部46を有する。CPU40は、各種データ処理を実行し、またルータA14の動作を制御する。IF部42は、サーバA12とのインタフェース機能を提供する。サーバA12に至る網A16とのインタフェース機能を提供するとも言える。IF部44は、ルータC34とのインタフェース機能を提供する。ルータC34に至る網C32とのインタフェース機能を提供するとも言える。IF部46は、ルータB24と直接通信するためのインタフェースである。   The router A14 includes a CPU 40, an IF unit 42, an IF unit 44, and an IF unit 46. The CPU 40 executes various data processing and controls the operation of the router A14. The IF unit 42 provides an interface function with the server A12. It can be said that an interface function with the network A16 leading to the server A12 is provided. The IF unit 44 provides an interface function with the router C34. It can be said that an interface function with the network C32 extending to the router C34 is provided. The IF unit 46 is an interface for directly communicating with the router B24.

ルータB24は、CPU50、IF部52、IF部54、IF部56を有する。CPU50は、各種データ処理を実行し、またルータB24の動作を制御する。IF部52は、サーバB22とのインタフェース機能を提供する。サーバB22に至る網B26とのインタフェース機能を提供するとも言える。IF部54は、ルータC34とのインタフェース機能を提供する。ルータC34に至る網C32とのインタフェース機能を提供するとも言える。IF部56は、ルータB24と直接通信するためのインタフェースである。   The router B24 includes a CPU 50, an IF unit 52, an IF unit 54, and an IF unit 56. The CPU 50 executes various data processing and controls the operation of the router B24. The IF unit 52 provides an interface function with the server B22. It can be said that an interface function with the network B26 leading to the server B22 is provided. The IF unit 54 provides an interface function with the router C34. It can be said that an interface function with the network C32 extending to the router C34 is provided. The IF unit 56 is an interface for directly communicating with the router B24.

ルータA14のIF部42、IF部44、IF部46と、ルータB24のIF部52、IF部54、IF部56は、ポートとして実装されてもよい。また、IF部46とIF部56を介してルータA14とルータB24を直接接続させる構成はオプションであり、必ずしも直接接続させる必要はない。   The IF unit 42, IF unit 44, and IF unit 46 of the router A14 and the IF unit 52, IF unit 54, and IF unit 56 of the router B24 may be implemented as ports. Further, the configuration in which the router A14 and the router B24 are directly connected via the IF unit 46 and the IF unit 56 is an option, and is not necessarily required to be directly connected.

ルータA14のCPU40は、切替トリガ検出部60、通知部62、通信判定部64、切替制御部66を含む。ルータB24のCPU50も、CPU40と同じ機能ブロックを含む(不図示)。実施の形態では、これらの機能ブロックに対応するコンピュータプログラムが所定の記憶装置に記憶され、CPUが実行することで、各機能ブロックの機能を実現する。変形例として、各機能ブロックの機能は、専用のハードウェアにより実現されてもよい。   The CPU 40 of the router A14 includes a switching trigger detection unit 60, a notification unit 62, a communication determination unit 64, and a switching control unit 66. The CPU 50 of the router B24 also includes the same functional blocks as the CPU 40 (not shown). In the embodiment, computer programs corresponding to these functional blocks are stored in a predetermined storage device and executed by the CPU, thereby realizing the functions of the functional blocks. As a modification, the function of each functional block may be realized by dedicated hardware.

切替トリガ検出部60は、運用系を切替えるべきことを示す切替トリガを検出する。例えば、クライアント30に対してサービスを提供すべきシステムを、それまでの運用系10から予備系20へ切替えるべき契機を検出する。具体的には切替トリガ検出部60は、予め定められた切替条件が充足されたか否かを常時監視し、充足された事実を切替トリガとして検出する。   The switching trigger detection unit 60 detects a switching trigger indicating that the operating system should be switched. For example, an opportunity to switch the system that should provide the service to the client 30 from the active system 10 to the standby system 20 is detected. Specifically, the switching trigger detection unit 60 constantly monitors whether or not a predetermined switching condition is satisfied, and detects the satisfied fact as a switching trigger.

この切替条件は、例えば、網A16における障害の発生や、サーバA12における故障発生の通知を外部装置から受け付けたことでもよい。また、網A16の通信機器やサーバA12に対して定期的に監視パケット(例えばICMPのエコー要求等)を送信し、その応答にもとづいて異常を検出したことでもよい。また、網A16の各機器やサーバA12が出力したログを監視して異常を検出したことでもよい。また、情報処理システム100の保守者等が入力した系切替の指示を検出したことでもよい。   This switching condition may be received from an external device, for example, a failure occurrence in the network A16 or a failure occurrence notification in the server A12. Alternatively, a monitoring packet (for example, an ICMP echo request) may be periodically transmitted to the communication device of the network A16 or the server A12, and an abnormality may be detected based on the response. Further, it may be that an abnormality is detected by monitoring each device of the network A16 and the log output by the server A12. In addition, a system switching instruction input by a maintenance person or the like of the information processing system 100 may be detected.

通知部62は、切替制御部66の制御に応じて、自装置が運用系であれば予備系のルータへ、自装置が予備系であれば運用系のルータ(以下「対応ルータ」と呼ぶ。)へ所定のメッセージを示すパケットを送信する。このメッセージは、系切替の開始を示す「切替開始」、切替開始メッセージに対する応答であり、運用系のサーバへアクセスできないことを示す「切替応答」、運用系における切替処理の完了を示す「切替完了」を含む。   In response to the control of the switching control unit 66, the notification unit 62 is referred to as a standby router if the own device is an active system, and is referred to as an active router (hereinafter “corresponding router”) if the own device is a standby system. ) To send a packet indicating a predetermined message. This message is “switch start” indicating the start of system switchover, a response to the switch start message, “switch response” indicating that the active server cannot be accessed, and “switch complete” indicating completion of switch processing in the active system "including.

通信判定部64は、切替制御部66の制御に応じて、運用系のサーバおよびルータとの通信状態、言い換えれば、疎通状態を判定する。例えば、通信判定部64は、所定の監視パケット(ICMPのエコー要求等)を、疎通状態を確認すべき対象装置へ送信し、対象装置からの応答にもとづいて、対象装置へのアクセスが可能か否かを判定してもよい。   The communication determination unit 64 determines the communication state with the active server and the router, in other words, the communication state under the control of the switching control unit 66. For example, the communication determination unit 64 transmits a predetermined monitoring packet (ICMP echo request or the like) to the target device whose communication state should be confirmed, and can the target device be accessed based on a response from the target device. It may be determined whether or not.

切替制御部66は、自装置が運用系か予備系かに応じて切替処理を制御する。
(1)自装置が運用系の場合:
切替トリガ検出部60により切替トリガが検出されると、切替制御部66は、予備系のルータへ切替開始メッセージを送信するよう通知部62に指示する。また、運用系のサーバを停止状態へ切替える。例えば、公知のシャットダウンコマンドをサーバへ送信して、実行させることにより、サーバをシャットダウンさせてもよい。変形例として、サーバを停止させる代わりに、もしくは停止させるとともに、サーバへのインタフェースを無効な状態、すなわちパケットの通過を禁止する状態へ切替えてもよい。
The switching control unit 66 controls switching processing depending on whether the own apparatus is an active system or a standby system.
(1) When the own device is active:
When a switching trigger is detected by the switching trigger detection unit 60, the switching control unit 66 instructs the notification unit 62 to transmit a switching start message to the standby router. Also, switch the active server to the stopped state. For example, the server may be shut down by sending a known shutdown command to the server and executing it. As a modification, instead of or stopping the server, the interface to the server may be switched to an invalid state, that is, a state in which packet passage is prohibited.

切替制御部66は、予備系のルータから切替応答メッセージが通知されると、網C32側のインタフェースを無効な状態へ切替える。そして、予備系のルータへ切替完了メッセージを送信するよう通知部62に指示する。   When the switching response message is notified from the standby router, the switching control unit 66 switches the interface on the network C32 side to an invalid state. Then, the notification unit 62 is instructed to transmit a switch completion message to the standby router.

(2)自装置が予備系の場合:
切替制御部66は、運用系のルータから切替開始メッセージが通知されると、運用系のサーバとの通信状態を判定するよう通信判定部64に指示する。通信判定部64から通信不可の旨が通知されると、運用系のルータへ切替応答メッセージを送信するよう通知部62に指示する。
(2) When the own device is a standby system:
When the switching start message is notified from the active router, the switching control unit 66 instructs the communication determination unit 64 to determine the communication state with the active server. When the communication determination unit 64 notifies that the communication is not possible, the notification unit 62 is instructed to transmit a switching response message to the active router.

切替制御部66は、運用系のルータから切替完了メッセージが通知されると、運用系のルータとの通信状態を判定するよう通信判定部64に指示する。通信判定部64から通信不可の旨が通知されると、サーバB22側(網B26)とのインタフェースを無効な状態から有効な状態へ切替える。すなわち、パケットの通過を禁止する状態から、パケットの通過を許可する状態へ切替える。   When the switching completion message is notified from the active router, the switching control unit 66 instructs the communication determination unit 64 to determine the communication state with the active router. When the communication determination unit 64 notifies that the communication is impossible, the interface with the server B22 side (network B26) is switched from an invalid state to an valid state. That is, the state is switched from a state in which packet passage is prohibited to a state in which packet passage is permitted.

以上の構成による情報処理システム100の動作を説明する。ここでは、クライアント30へサービスを提供するシステムを運用系10から予備系20へ切替える場合の動作を説明する。前提として、サーバA12とサーバB22には同一のIPアドレスが設定される。また、ルータB24のIF部52、すなわちサーバB22側インタフェースは閉鎖状態であり、すなわちパケットが不通過の状態である。   The operation of the information processing system 100 configured as above will be described. Here, the operation when the system that provides services to the client 30 is switched from the active system 10 to the standby system 20 will be described. As a premise, the same IP address is set for the server A12 and the server B22. The IF unit 52 of the router B24, that is, the server B22 side interface is in a closed state, that is, a packet is not passed.

図3は、ルータA14とルータB24の動作を示すアクティビティ図である。ルータA14の切替トリガ検出部60は、予め定められた切替条件が充足した場合に切替トリガを検出する(S2)。ルータA14の通知部62は、切替開始メッセージをIF部46からルータB24へ送信する(S4)。ルータA14の切替制御部66は、IF部42を介してサーバA12のシャットダウン制御を実行する(S6)。変形例として、IF部42をシャットダウンさせ、無効な状態へ切替えてもよい。   FIG. 3 is an activity diagram showing operations of the router A14 and the router B24. The switching trigger detection unit 60 of the router A14 detects a switching trigger when a predetermined switching condition is satisfied (S2). The notification unit 62 of the router A14 transmits a switching start message from the IF unit 46 to the router B24 (S4). The switching control unit 66 of the router A14 performs shutdown control of the server A12 via the IF unit 42 (S6). As a modification, the IF unit 42 may be shut down and switched to an invalid state.

ルータB24の切替制御部66は、ルータA14から送信された切替開始メッセージを、IF部56を介して受信する。ルータB24の通信判定部64は、サーバA12のIPアドレスを指定した監視パケットをIF部56から送出する(S8)。ルータA14は、この監視パケットをIF部46で受け付け、IF部42から送出することでサーバA12へ転送する。監視パケットに対してサーバA12が送信した応答パケットを受信すると、ルータB24の通信判定部64は、サーバA12へのアクセスに成功したと判定する。この場合、S8に戻り、再度監視パケットを送出する。   The switching control unit 66 of the router B24 receives the switching start message transmitted from the router A14 via the IF unit 56. The communication determination unit 64 of the router B24 sends out a monitoring packet designating the IP address of the server A12 from the IF unit 56 (S8). The router A14 receives this monitoring packet at the IF unit 46, and forwards it to the server A12 by sending it out from the IF unit 42. When the response packet transmitted from the server A12 to the monitoring packet is received, the communication determination unit 64 of the router B24 determines that the access to the server A12 is successful. In this case, the process returns to S8, and the monitoring packet is transmitted again.

サーバA12のシャットダウン処理が完了している場合、監視メッセージに対する応答メッセージは返らない。サーバA12からの応答パケットが所定時間以上未受信であれば、ルータB24の通信判定部64は、サーバA12へのアクセスに失敗したと判定し、その旨をルータB24の切替制御部66に通知する。ルータB24の切替制御部66は、サーバA12のシャットダウン処理が完了したと判定し、ルータB24の通知部62は、切替応答メッセージをIF部56からルータA14へ送信する(S10)。   When the server A12 shutdown process is completed, no response message to the monitoring message is returned. If the response packet from the server A12 has not been received for a predetermined time or longer, the communication determination unit 64 of the router B24 determines that access to the server A12 has failed, and notifies the switching control unit 66 of the router B24 to that effect. . The switching control unit 66 of the router B24 determines that the shutdown processing of the server A12 has been completed, and the notification unit 62 of the router B24 transmits a switching response message from the IF unit 56 to the router A14 (S10).

ルータA14の切替制御部66は、ルータB24から送信された切替応答メッセージを、IF部46を介して受信すると、IF部44をダウンさせてクライアント30からのアクセスを遮断する(S12)。ルータA14の通知部62は、切替完了メッセージをIF部46からルータB24へ送信する(S14)。   When receiving the switching response message transmitted from the router B24 via the IF unit 46, the switching control unit 66 of the router A14 lowers the IF unit 44 and blocks access from the client 30 (S12). The notification unit 62 of the router A14 transmits a switching completion message from the IF unit 46 to the router B24 (S14).

ルータB24の切替制御部66は、ルータA14から送信された切替完了メッセージを、IF部56を介して受信する。ルータB24の通信判定部64は、ルータA14のIPアドレスを指定した監視パケットをIF部54から送出する(S16)。ルータC34は、その監視メッセージをルータA14へ転送する。監視パケットに対してルータA14が送信した応答パケットを受信すると、ルータB24の通信判定部64はルータA14へのアクセスに成功したと判定する。この場合、S16に戻り、再度監視パケットを送出する。   The switching control unit 66 of the router B24 receives the switching completion message transmitted from the router A14 via the IF unit 56. The communication determination unit 64 of the router B24 transmits a monitoring packet designating the IP address of the router A14 from the IF unit 54 (S16). The router C34 transfers the monitoring message to the router A14. When the response packet transmitted from the router A14 to the monitoring packet is received, the communication determination unit 64 of the router B24 determines that the access to the router A14 is successful. In this case, the process returns to S16, and the monitoring packet is transmitted again.

ルータA14のIF部44の閉鎖処理が完了している場合、ルータA14は監視メッセージを受け付けず、監視メッセージに対する応答メッセージは返らない。ルータA14からの応答パケットが所定時間以上未受信であれば、ルータB24の通信判定部64は、ルータA14へのアクセスに失敗したと判定し、その旨をルータB24の切替制御部66に通知する。ルータB24の切替制御部66は、サーバB22とのインタフェースであるIF部52を有効な状態へ切替え、言い換えれば、パケットの通過を許可する開放状態へ切替える(S18)。   When the closing process of the IF unit 44 of the router A14 is completed, the router A14 does not accept the monitoring message and does not return a response message for the monitoring message. If the response packet from the router A14 has not been received for a predetermined time or more, the communication determination unit 64 of the router B24 determines that access to the router A14 has failed and notifies the switching control unit 66 of the router B24 to that effect. . The switching control unit 66 of the router B24 switches the IF unit 52, which is an interface with the server B22, to a valid state, in other words, switches to an open state that permits packet passage (S18).

以上の動作により、サーバ〜クライアント間の通信経路の切替が完了する。ルータC34は、ルータA14との通信不可状態(リンク断)と、ルータB24の先に(サーバA12と同一アドレスの)サーバB22が存在することを公知の技術により検出し、内部のルーティングテーブルを更新する。例えば、OSPF(Open Shortest Path First)を使用して、系切替後の経路情報をルーティングテーブルに反映させてもよい。以降、クライアント30から送出された、サーバA12のIPアドレスを宛先アドレスとして指定するパケットは、ルータB24へルーティングされ、サーバB22に到達する。   With the above operation, switching of the communication path between the server and the client is completed. The router C34 detects that communication with the router A14 is not possible (link is broken) and that the server B22 (having the same address as the server A12) exists ahead of the router B24, and updates the internal routing table. To do. For example, the path information after system switching may be reflected in the routing table using OSPF (Open Shortest Path First). Thereafter, the packet sent from the client 30 and specifying the IP address of the server A12 as the destination address is routed to the router B24 and reaches the server B22.

実施の形態の情報処理システム100によると、もともと二重化されていないサーバ・クライアントシステムにおいても、遠隔地への予備系の構築と、予備系への自動での切替えを可能にすることができる。また、サーバ側で系切替がなされた場合でも、クライアントは、それまでの運用系のサーバと同一のIPアドレスを指定したまま、予備系サーバにアクセスできる。すなわち設定変更を要せず、継続してサービスを享受できる。このように情報処理システム100によると、IPアドレスの変更等の作業に要するクライアントの負担、またオペレーションリスクを排除することができる。   According to the information processing system 100 of the embodiment, even in a server / client system that is not originally duplicated, it is possible to construct a standby system at a remote location and automatically switch to the standby system. Further, even when the system is switched on the server side, the client can access the standby server while designating the same IP address as that of the previous active server. That is, it is possible to continuously enjoy the service without changing the setting. In this way, according to the information processing system 100, it is possible to eliminate the burden on the client and the operation risk required for work such as changing the IP address.

以上、本発明を実施の形態をもとに説明した。これらの実施の形態は例示であり、それらの各構成要素や各処理プロセスの組合せによりいろいろな変形例が可能なこと、またそうした変形例も本発明の範囲にあることは当業者に理解されるところである。   The present invention has been described based on the embodiments. It is understood by those skilled in the art that these embodiments are exemplifications, and that various modifications are possible depending on combinations of the respective constituent elements and processing processes, and such modifications are also within the scope of the present invention. By the way.

一部既述したが、変形例として、ルータA14とルータB24は直接接続されず、網C32のルータC34を介して接続されてもよい。この場合、ルータA14〜ルータB24の通信は、網C32のルータC34を経由するものに限定される。したがってこの変形例では、図3のS14がS12より先に実行されてもよい。この変形例によると、網構成をより簡易化できるとともに、クライアント30と同じ経路を介してサーバA12との通信状態の確認を実施できる。   Although a part has already been described, as a modification, the router A14 and the router B24 may not be directly connected but may be connected via the router C34 of the network C32. In this case, the communication between the routers A14 to B24 is limited to that via the router C34 of the network C32. Therefore, in this modification, S14 of FIG. 3 may be executed before S12. According to this modification, the network configuration can be further simplified, and the communication state with the server A12 can be confirmed via the same route as the client 30.

また、実施の形態の記載にもとづいて、以下に示す通信システムを実現できることは当業者には理解されるところである。すなわち、通信システムは、運用系10のルータA14と予備系20のルータB24を備える。ルータA14は、切替トリガを検出すると、サーバA12を停止状態へ切替え、また、ルータB24に対して切替メッセージを通知する。ルータB24は、ルータA14から切替メッセージが通知された場合に、サーバA12との通信可否を判定する。ルータB24は、サーバA12との通信ができない状態であることを確認すると、サーバA12と同じIPアドレスが設定されたサーバB22と自装置とのインタフェースを無効な状態から有効な状態へ切替える。この態様においても実施の形態と同様の効果を奏する。   Further, it is understood by those skilled in the art that the communication system shown below can be realized based on the description of the embodiment. That is, the communication system includes a router A14 of the active system 10 and a router B24 of the standby system 20. When the router A14 detects the switching trigger, the router A14 switches the server A12 to the stopped state and notifies the router B24 of the switching message. When the switching message is notified from the router A14, the router B24 determines whether communication with the server A12 is possible. When the router B24 confirms that communication with the server A12 is not possible, the router B24 switches the interface between the server B22, which is set with the same IP address as the server A12, and the own device from the invalid state to the valid state. In this aspect, the same effects as in the embodiment can be obtained.

請求項に記載の各構成要件が果たすべき機能は、実施の形態および変形例において示された各構成要素の単体もしくはそれらの連携によって実現されることも当業者には理解されるところである。   It should also be understood by those skilled in the art that the functions to be fulfilled by the constituent elements described in the claims are realized by the individual constituent elements shown in the embodiments and the modification examples or by their cooperation.

10 運用系、 12 サーバA、 14 ルータA、 20 予備系、 22 サーバB、 24 ルータB、 30 クライアント、 40 CPU、 50 CPU、 60 切替トリガ検出部、 62 通知部、 64 通信判定部、 66 切替制御部、 100 情報処理システム。   10 operation system, 12 server A, 14 router A, 20 standby system, 22 server B, 24 router B, 30 client, 40 CPU, 50 CPU, 60 switching trigger detection unit, 62 notification unit, 64 communication determination unit, 66 switching Control unit, 100 information processing system;

Claims (3)

運用系の第1サーバとのインタフェースを有する第1通信装置と、
前記第1サーバと同じアドレスが設定された予備系の第2サーバとのインタフェースを有する第2通信装置と、
を備え、
前記第1通信装置は、
運用系を切替えるべきことを示す所定の切替トリガを検出する検出部と、
前記切替トリガが検出された場合に、前記第1サーバを停止状態へ切替え、または、前記第1サーバとのインタフェースを無効な状態へ切替える切替制御部と、
前記切替トリガが検出された場合に、前記第2通信装置に対して切替を通知する通知部と、を含み、
前記第2通信装置は、
前記第1通信装置から切替が通知された場合に、前記第1サーバとの通信可否を判定する判定部と、
前記第1サーバと通信できない場合に、前記第2サーバとのインタフェースを無効な状態から有効な状態へ切替えることにより、外部のクライアント装置から送出された前記第1サーバのアドレスを指定したパケットを前記第2サーバに到達させる切替制御部と、を含むことを特徴とする通信システム。
A first communication device having an interface with an active first server;
A second communication device having an interface with a standby second server in which the same address as the first server is set;
With
The first communication device is
A detection unit for detecting a predetermined switching trigger indicating that the active system should be switched;
A switching control unit for switching the first server to a stopped state or switching the interface with the first server to an invalid state when the switching trigger is detected;
A notification unit that notifies the second communication device of switching when the switching trigger is detected, and
The second communication device is
A determination unit that determines whether communication with the first server is possible when switching is notified from the first communication device;
When communication with the first server cannot be performed, the packet specifying the address of the first server sent from an external client device is switched by switching the interface with the second server from the invalid state to the valid state. A switching control unit for reaching the second server.
運用系の第1サーバとのインタフェースと、
運用系を切替えるべきことを示す所定の切替トリガを検出する検出部と、
前記切替トリガが検出された場合に、前記第1サーバを停止状態へ切替え、または、前記第1サーバとのインタフェースを無効な状態へ切替える切替制御部と、
前記切替トリガが検出された場合に、前記第1サーバと同じアドレスが設定された予備系の第2サーバとのインタフェースを有する他の通信装置に対して切替を通知することにより、前記第2サーバとのインタフェースを無効な状態から有効な状態へ切替えさせ、外部のクライアント装置から送出された前記第1サーバのアドレスを指定したパケットを前記第2サーバに到達させる通知部と、
を備えることを特徴とする通信装置。
An interface with the active first server;
A detection unit for detecting a predetermined switching trigger indicating that the active system should be switched;
A switching control unit for switching the first server to a stopped state or switching the interface with the first server to an invalid state when the switching trigger is detected;
When the switching trigger is detected, the second server is notified by switching to another communication device having an interface with the standby second server set with the same address as the first server. A notification unit that switches the interface to the invalid state from the invalid state and causes the packet specifying the address of the first server sent from an external client device to reach the second server;
A communication apparatus comprising:
運用系の第1サーバと同じアドレスが設定された予備系の第2サーバとのインタフェースと、
前記第1サーバとのインタフェースを有する他の通信装置から、運用系の切替が通知された場合に、前記第1サーバとの通信可否を判定する判定部と、
前記第1サーバと通信できない場合に、前記第2サーバとのインタフェースを無効な状態から有効な状態へ切替えることにより、外部のクライアント装置から送出された前記第1サーバのアドレスを指定したパケットを前記第2サーバに到達させる切替制御部と、
を備えることを特徴とする通信装置。
An interface with the second server of the standby system set with the same address as the first server of the active system;
A determination unit that determines whether or not communication with the first server is possible when switching of the active system is notified from another communication device having an interface with the first server;
When communication with the first server cannot be performed, the packet specifying the address of the first server sent from an external client device is switched by switching the interface with the second server from the invalid state to the valid state. A switching control unit for reaching the second server;
A communication apparatus comprising:
JP2014003559A 2014-01-10 2014-01-10 Communication system and communication apparatus Pending JP2015133590A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014003559A JP2015133590A (en) 2014-01-10 2014-01-10 Communication system and communication apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014003559A JP2015133590A (en) 2014-01-10 2014-01-10 Communication system and communication apparatus

Publications (1)

Publication Number Publication Date
JP2015133590A true JP2015133590A (en) 2015-07-23

Family

ID=53900510

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014003559A Pending JP2015133590A (en) 2014-01-10 2014-01-10 Communication system and communication apparatus

Country Status (1)

Country Link
JP (1) JP2015133590A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021061478A (en) * 2019-10-03 2021-04-15 セイコーソリューションズ株式会社 Relay device, relay system, and relay program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021061478A (en) * 2019-10-03 2021-04-15 セイコーソリューションズ株式会社 Relay device, relay system, and relay program

Similar Documents

Publication Publication Date Title
US10567340B2 (en) Data center system
US9379968B2 (en) Redundancy support for network address translation (NAT)
CN105607590B (en) Method and apparatus to provide redundancy in a process control system
JP5187249B2 (en) Redundant system connection recovery device, method and processing program
US20090172151A1 (en) Dynamic network configuration
US20050135233A1 (en) Redundant routing capabilities for a network node cluster
US9992058B2 (en) Redundant storage solution
JP2004032103A (en) Network system and server switching method
JP2010103695A (en) Cluster system, cluster server and cluster control method
KR101763863B1 (en) Method for duplicating of firewall and apparatus thereof
JP4964666B2 (en) Computer, program and method for switching redundant communication paths
JP7161008B2 (en) Application redundancy management system and application redundancy management method
JP2013167922A (en) Redundant communication system and redundant communication method
CN111030926A (en) Method and device for improving high availability of network
CN112564983B (en) Data transmission method, device, computer system and medium
WO2011110134A2 (en) Method, device and broadband access server system for load share
CN107959626B (en) Communication method, device and system of data center
JP2015133590A (en) Communication system and communication apparatus
JP4579850B2 (en) Blade type system and connection management method
JP6579608B2 (en) Address translation system, address translation duplex method and program
JP4133738B2 (en) High-speed network address takeover method, network device, and program
JP2009278436A (en) Communication system and redundant configuration management method
US9019964B2 (en) Methods and systems for routing application traffic
JP5723757B2 (en) Virtual IP address management method and duplex server system
JP6680709B2 (en) Router and communication control method

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20151023

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20151030

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20151125