JP2019016259A - Communication service system and system switch-back method - Google Patents

Communication service system and system switch-back method Download PDF

Info

Publication number
JP2019016259A
JP2019016259A JP2017134484A JP2017134484A JP2019016259A JP 2019016259 A JP2019016259 A JP 2019016259A JP 2017134484 A JP2017134484 A JP 2017134484A JP 2017134484 A JP2017134484 A JP 2017134484A JP 2019016259 A JP2019016259 A JP 2019016259A
Authority
JP
Japan
Prior art keywords
server
standby
active
communication
standby server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017134484A
Other languages
Japanese (ja)
Other versions
JP6745767B2 (en
Inventor
諒 長岡
Ryo Nagaoka
諒 長岡
石禾 幹生
Mikio Isawa
幹生 石禾
山下 康治
Koji Yamashita
康治 山下
木村 修治
Shuji Kimura
修治 木村
友宏 佐藤
Tomohiro Sato
友宏 佐藤
義和 中村
Yoshikazu Nakamura
義和 中村
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP2017134484A priority Critical patent/JP6745767B2/en
Publication of JP2019016259A publication Critical patent/JP2019016259A/en
Application granted granted Critical
Publication of JP6745767B2 publication Critical patent/JP6745767B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

To switch back from an in-operation system/in-operation system server configuration to an in-operation system/standby system server configuration speedily at arbitrary timing without exerting any influence on communication in service provision and without letting a maintenance person intervene after settlement from an overload state.SOLUTION: An in-operation system server 1a transmits, according to settlement from congestion of the server, a request to switch a standby system server 1b, used as an in-operation system back to an original standby system server 1b, stops processing for distributing a new communication signal from an edge router 5 to the standby server 1b that a load balancer 3 performs, and transmits a request to change the destination of the communication signal from an accommodated terminal 70 from the load balancer 3 to a router 7, used in in-operation system/standby system server configuring, to the edge router 5, and the standby system server 1b moves data related to communication being processed by the server to the in-operation system server 1a through synchronous copying processing.SELECTED DRAWING: Figure 1

Description

本発明は、運用系/予備系の系切り替え技術に関する。   The present invention relates to an active / standby system switching technique.

現在、SIPサーバ等、所定のサービスを提供するサーバは、一定の需要予測に基づき構築されている。そして、その需要予測の条件を満たすため、関東ブロック等の地域毎に、運用系のサーバと予備系のサーバでクラスタリングされたHA(High Availability)構成が採用されている。   Currently, servers that provide predetermined services, such as SIP servers, are built based on certain demand forecasts. In order to satisfy the demand prediction conditions, an HA (High Availability) configuration in which clustering is performed by an active server and a standby server is adopted for each region such as the Kanto block.

特開2002−232465号公報JP 2002-232465 A 特開2013−003722号公報JP 2013-003722 A 特開2016−122343号公報JP, 2006-122343, A

しかし、大規模なイベントや機器トラブル等により、その需要予測に当てはまらない突発的な信号の流入出が発生し、一部の地域で運用系サーバが過負荷状態(輻輳状態)になる場合がある。   However, due to large-scale events, equipment troubles, etc., sudden inflows and outflows of signals that do not meet the demand forecast may occur, and the active server may become overloaded (congested) in some areas .

そこで、予備系サーバを運用系として利用し、通常状態での運用系/予備系のサーバ構成を運用系/運用系のサーバ構成に変更することにより、利用していなかった予備系サーバの既存設備を最大限有効活用しつつ、運用系サーバの過負荷状態に対して一時的に対応する方法が考えられる。   Therefore, by using the standby server as the active system and changing the active / standby server configuration in the normal state to the active / active server configuration, the existing equipment of the standby server that was not used A method for temporarily responding to an overload state of the active server while using the server as much as possible can be considered.

しかし、運用系/運用系のサーバ構成は、通常状態での運用系/予備系のサーバ構成に比べて可用性が劣るという課題があった。例えば、過負荷状態の収束後は速やかに通常状態である運用系/予備系のサーバ構成に切り戻す必要があるが、この時、運用系として利用している予備系サーバを唐突に元の予備系に切り戻すと、予備系サーバでサービス提供中の通信が切断されてしまう。   However, the operational / active server configuration has a problem that the availability is inferior to the operational / standby server configuration in the normal state. For example, after convergence of the overload state, it is necessary to switch back to the active / standby server configuration in the normal state as soon as possible. At this time, the standby server used as the active system suddenly changes to the original standby server. If the system is switched back to the system, the communication being provided by the standby server is disconnected.

この課題を回避するためには、(a)予備系サーバでサービス提供中の通信が全て切断されるまで運用系/運用系のサーバ構成を継続する方法、(b)予備系サーバでサービス提供中の通信を継続したままで運用系/予備系のサーバ構成に切り戻す方法が考えられる。   In order to avoid this problem, (a) a method of continuing the active / active server configuration until all communications being provided by the standby server are disconnected, and (b) a service being provided by the standby server A method of switching back to the active / standby server configuration while continuing the communication is conceivable.

しかし、(a)の方法では、運用系サーバの過負荷状態が収束した後であっても、予備系サーバの切り戻しを任意のタイミングで行うことができず、切り戻しのタイミングを保守者が判断しなければならないため、保守者の負担が大きい。また、(b)の方法では、予備系サーバで継続している通信の存在により可用性が劣ったままとなる。   However, in the method (a), even after the overload state of the active server has converged, the standby server cannot be switched back at an arbitrary timing. Since it must be judged, the burden on the maintenance person is great. Further, in the method (b), the availability remains inferior due to the presence of communication continued in the standby server.

本発明は、上記事情を鑑みてなされたものであり、運用系/運用系のサーバ構成から運用系/予備系のサーバ構成への切り戻しを、サービス提供中の通信に影響を与えることなく、かつ、過負荷状態の収束後は保守者が介在することなく、任意のタイミングで速やかに行うことを目的とする。   The present invention has been made in view of the above circumstances, and switching back from the active / active server configuration to the active / standby server configuration without affecting communication during service provision, And after the convergence of an overload state, it aims at performing immediately at arbitrary timings, without a maintenance person intervening.

以上の課題を解決するため、請求項1に係る通信サービスシステムは、運用系として利用している予備系サーバを元の予備系に戻す契機を前記予備系サーバへ通知する切り戻し通知部と、信号振り分け装置が行う端末収容装置からの通信信号を前記予備系サーバへ振り分ける処理を停止させる振り分け遮断部と、前記予備系サーバが処理している処理中の通信に関するデータを運用系サーバへ送信するデータ同期部と、を備えることを特徴とする。   In order to solve the above-described problem, the communication service system according to claim 1 includes a switch-back notification unit that notifies the standby server of an opportunity to return the standby server used as the active system to the original standby system; A distribution blocking unit for stopping a process of distributing a communication signal from a terminal accommodating apparatus performed by the signal distribution apparatus to the standby server, and data related to the communication being processed by the standby server are transmitted to the active server. And a data synchronization unit.

請求項2に係る通信サービスシステムは、請求項1に記載の通信サービスシステムにおいて、前記端末収容装置に対して、収容端末からの通信信号の宛先を前記予備系サーバが元の予備系である時に用いる転送装置のアドレスに変更することを通知する宛先変更通知部を更に備えることを特徴とする。   A communication service system according to a second aspect is the communication service system according to the first aspect, wherein when the standby server is the original standby system, the destination of the communication signal from the accommodating terminal is sent to the terminal accommodating device. A destination change notification unit for notifying that the address is changed to the address of the transfer device to be used is further provided.

請求項3に係る系切り戻し方法は、通信サービスシステムで行う系切り戻し方法において、切り戻し通知部が、運用系として利用している予備系サーバを元の予備系に戻す契機を前記予備系サーバへ通知するステップを行い、振り分け遮断部が、信号振り分け装置が行う端末収容装置からの通信信号を前記予備系サーバへ振り分ける処理を停止させるステップを行い、データ同期部が、前記予備系サーバが処理している処理中の通信に関するデータを運用系サーバへ送信するステップを行う、ことを特徴とする。   The system switch-back method according to claim 3 is the system switch-back method performed in the communication service system, wherein the switch-back notification unit triggers to return the standby server used as the active system to the original standby system. A step of notifying the server, and the distribution blocking unit performs a step of stopping the process of distributing the communication signal from the terminal accommodating device performed by the signal distribution device to the standby server, and the data synchronization unit is configured so that the standby server A step of transmitting data related to the communication being processed to the active server is performed.

請求項4に係る系切り戻し方法は、請求項3に記載の系切り戻し方法において、宛先変更通知部が、前記端末収容装置に対して、収容端末からの通信信号の宛先を前記予備系サーバが元の予備系である時に用いる転送装置のアドレスに変更することを通知するステップを行うことを特徴とする。   The system switch-back method according to claim 4 is the system switch-back method according to claim 3, wherein the destination change notifying unit sets the destination of the communication signal from the storage terminal to the standby server with respect to the terminal storage device. The step of notifying that the address is changed to the address of the transfer device used when is the original standby system is performed.

本発明によれば、運用系/運用系のサーバ構成から運用系/予備系のサーバ構成への切り戻しを、サービス提供中の通信に影響を与えることなく、かつ、過負荷状態の収束後は保守者が介在することなく、任意のタイミングで速やかに行うことができる。   According to the present invention, switching back from the active / active server configuration to the active / standby server configuration does not affect communication during service provision, and after the overload state has converged It can be performed promptly at any timing without intervention of a maintenance person.

本発明の機能説明図である。It is function explanatory drawing of this invention. 通信サービスシステムの構成を示す図である。It is a figure which shows the structure of a communication service system. 宛先管理テーブルの例を示す図である。It is a figure which shows the example of a destination management table. 通信サービスシステムの処理動作を示す図である。It is a figure which shows the processing operation of a communication service system. 通信サービスシステムの処理動作を示す図である。It is a figure which shows the processing operation of a communication service system. 通信サービスシステムの処理動作を示す図である。It is a figure which shows the processing operation of a communication service system.

図1は、本発明の通信サービスシステム100が備える特徴的機能を示す図である。まず、本発明は、運用系サーバ1aおよび予備系サーバ1bがともに運用系であり、ロードバランサ3によってエッジルータ5からの通信に関する通信信号が運用系サーバ1aまたは予備系サーバ1bへ振り分けられている、運用系/運用系のサーバ構成を前提とする。   FIG. 1 is a diagram showing characteristic functions provided in the communication service system 100 of the present invention. First, according to the present invention, both the active server 1a and the standby server 1b are active, and the load balancer 3 distributes communication signals related to communication from the edge router 5 to the active server 1a or the standby server 1b. Assuming an active / active server configuration.

そして、当該運用系/運用系のサーバ構成において、本発明は、(1)運用系として利用している予備系サーバ1bを元の予備系に切り戻す契機を当該予備系サーバ1bへ通知する機能、(2)ロードバランサ3が行うエッジルータ5からの通信信号を予備系サーバ1bへ振り分ける処理を遮断する機能、(3)予備系サーバ1bが処理している処理中の通信に関するデータをコピーして運用系サーバ1aへ送信し、当該処理中の通信データを系間同期する機能、(4)エッジルータ5に対して、収容端末70からの通信信号の宛先を、ロードバランサ3のアドレスから、予備系サーバ1bが元の予備系である運用系/予備系のサーバ構成時に用いるルータ7のアドレスに変更することを通知する機能、を追加する。   In the active / active server configuration, the present invention provides (1) a function for notifying the standby server 1b of an opportunity to switch the standby server 1b used as the active system back to the original standby system. (2) A function for blocking the processing of distributing the communication signal from the edge router 5 performed by the load balancer 3 to the standby server 1b. (3) Copying data related to the communication being processed by the standby server 1b. (4) A function for synchronizing the communication data being processed between the systems, and (4) the address of the communication signal from the accommodating terminal 70 to the edge router 5 from the address of the load balancer 3 A function for notifying that the standby server 1b is changed to the address of the router 7 used in the configuration of the active / standby server as the original standby system is added.

以下、本発明を実施する一実施の形態について図面を用いて説明する。   Hereinafter, an embodiment for carrying out the present invention will be described with reference to the drawings.

図2は、本実施の形態に係る通信サービスシステム100の構成を示す図である。当該通信サービスシステム100は、運用系サーバ1a、予備系サーバ1b、ロードバランサ3、エッジルータ5、および、ルータ7、を備えて構成される。これら全ての装置は、互いに通信可能に接続されており、運用系サーバ1aまたは予備系サーバ1bとエッジルータ5との間も図示しないルータを介して通信可能に接続されている。   FIG. 2 is a diagram showing a configuration of the communication service system 100 according to the present embodiment. The communication service system 100 includes an active server 1a, a standby server 1b, a load balancer 3, an edge router 5, and a router 7. All these apparatuses are communicably connected to each other, and the active server 1a or standby server 1b and the edge router 5 are also communicably connected via a router (not shown).

運用系サーバ1aおよび予備系サーバ1bは、HA構成された一組のHAサーバであり、それぞれ、処理データ記憶部10、信号処理部11、リソース監視部12、リソース使用量記録部13、ACT/SBY切り替え部14、警報通知部15、警報監視部16、および、処理データ同期部17、を備えて構成される。図2に示した「a」は運用系サーバ、「b」は予備系サーバを識別するための符号である。   The active server 1a and the standby server 1b are a set of HA servers configured as HA, and each includes a processing data storage unit 10, a signal processing unit 11, a resource monitoring unit 12, a resource usage recording unit 13, an ACT / The SBY switching unit 14, the alarm notification unit 15, the alarm monitoring unit 16, and the processing data synchronization unit 17 are configured. “A” shown in FIG. 2 is a code for identifying an active server, and “b” is a code for identifying a standby server.

処理データ記憶部10は、信号処理部11で処理中および処理済の通信に関するデータを記憶する機能を備える。例えば、運用系サーバ1aおよび予備系サーバ1bがSIPサーバの場合、INVITE信号等に含まれるデータ、INVITE信号等を処理するために必要なデータである。   The processing data storage unit 10 has a function of storing data relating to communication being processed and processed by the signal processing unit 11. For example, when the active server 1a and the standby server 1b are SIP servers, the data included in the INVITE signal and the data necessary for processing the INVITE signal and the like.

信号処理部11は、通信信号を処理する機能を備える。例えば、運用系サーバ1aおよび予備系サーバ1bがSIPサーバの場合、エッジルータ5の収容端末から送信されたINVITE信号等に対して呼処理を実行する。   The signal processing unit 11 has a function of processing communication signals. For example, when the active server 1a and the standby server 1b are SIP servers, call processing is executed on the INVITE signal transmitted from the accommodating terminal of the edge router 5 or the like.

リソース監視部12は、自サーバが備えるCPU、メモリ、ハードディスク、物理通信ポート等のリソースの使用状況を監視する機能を備える。例えば、自サーバ内で動作するOSのリソース監視機能を用いてCPU使用率を計測する。   The resource monitoring unit 12 has a function of monitoring the usage status of resources such as a CPU, a memory, a hard disk, and a physical communication port provided in the server. For example, the CPU usage rate is measured by using a resource monitoring function of an OS operating in the own server.

リソース使用量記録部13は、リソース監視部12で計測されたリソース使用率を計測時刻に関連付けてリソース使用量情報として記憶する機能を備える。なお、リソース使用率の計測方法および計測時刻は任意であり、例えば、定期的又は非定期に測定する。   The resource usage recording unit 13 has a function of storing the resource usage rate measured by the resource monitoring unit 12 as resource usage information in association with the measurement time. Note that the resource usage rate measurement method and measurement time are arbitrary, and are measured periodically or irregularly, for example.

ACT/SBY切り替え部14は、自サーバの系(運用系/予備系)を切り替える機能を備える。例えば、本実施の形態では、予備系サーバ1bは既に運用系であることから、予備系サーバ1bのACT/SBY切り替え部14bは、警報監視部16bからの切り戻し命令に基づき、運用系として稼働中の予備系サーバ1bを元の予備系に切り戻す。なお、この切り戻し命令は、運用系サーバ1aからの切り戻し要求に応じた命令である。   The ACT / SBY switching unit 14 has a function of switching the system (active system / standby system) of its own server. For example, in this embodiment, since the standby server 1b is already an active system, the ACT / SBY switching unit 14b of the standby server 1b operates as an active system based on a switch-back command from the alarm monitoring unit 16b. The secondary standby server 1b is switched back to the original standby system. This switchback command is a command in response to a switchback request from the active server 1a.

警報通知部15は、図1に示した複数の機能のうち、(1)切り戻し通知機能、(2)振り分け遮断機能、(4)宛先変更通知機能を備える。   The alarm notification unit 15 includes (1) a switchback notification function, (2) a distribution blocking function, and (4) a destination change notification function among the plurality of functions illustrated in FIG.

具体的には、運用系サーバ1aの警報通知部15aは、運用系サーバ1aの現在のリソース使用率、または、過去のリソース使用率を記録したリソース使用量情報を参照し、運用系サーバ1aのリソース使用率が閾値を下回るか否かに基づき、運用系として稼働中の予備系サーバ1bを予備系へ切り戻すか否かを判定する機能を備える。   Specifically, the alarm notification unit 15a of the active server 1a refers to the resource usage information in which the current resource usage rate or the past resource usage rate of the active server 1a is recorded, and A function is provided for determining whether or not to switch back the standby server 1b operating as the active system to the standby system based on whether or not the resource usage rate falls below the threshold.

また、警報通知部15aは、運用系サーバ1aのリソース使用率が閾値を下回り、運用系として稼働中の予備系サーバ1bを予備系へ切り戻すと判定した場合、運用系から元の予備系へ切り戻すための切り戻し要求を予備系サーバ1bの警報監視部16bへ通知する機能(切り戻し通知部)を備える。   When the alarm notification unit 15a determines that the standby server 1b operating as the active system is to be switched back to the standby system when the resource usage rate of the active server 1a falls below the threshold, the alarm notification unit 15a returns from the active system to the original standby system. A function (switchback notification unit) of notifying a switchback request for switchback to the alarm monitoring unit 16b of the standby server 1b is provided.

また、警報通知部15aは、運用系の予備系サーバ1bを予備系へ切り戻すと判定した場合、新規の通信信号を予備系サーバ1bへ振り分ける処理を遮断・停止するための振り分け遮断信号をロードバランサ3へ送信する機能(振り分け遮断部)を備える。   In addition, when the alarm notification unit 15a determines that the active standby server 1b is switched back to the standby system, the alarm notification unit 15a loads a distribution blocking signal for blocking / stopping the process of distributing the new communication signal to the standby server 1b. A function (distribution blocking unit) for transmitting to the balancer 3 is provided.

また、警報通知部15aは、運用系の予備系サーバ1bを予備系へ切り戻すと判定した場合、収容端末からの通信信号の宛先を、ロードバランサ3のアドレスから、運用系/予備系のサーバ構成時に用いるルータ7のアドレスに変更するための宛先変更要求をエッジルータ5へ通知する機能(宛先変更通知部)を備える。   Further, when the alarm notification unit 15a determines to switch the active standby server 1b back to the standby system, the destination of the communication signal from the accommodating terminal is determined from the address of the load balancer 3 to the active / standby server. A function (destination change notification unit) for notifying the edge router 5 of a destination change request for changing to the address of the router 7 used at the time of configuration is provided.

警報監視部16は、HA構成の相手サーバからの切り戻し要求の有無を監視する機能を備える。例えば、予備系サーバ1bの警報監視部16bは、運用系サーバ1aからの切り戻し要求の有無を常時監視し、当該切り戻し要求を受信した場合、受信した切り戻し要求に応じた切り戻し命令をACT/SBY切り替え部14bおよび処理データ同期部17bへ通知する。   The alarm monitoring unit 16 has a function of monitoring the presence / absence of a switchback request from a partner server having an HA configuration. For example, the alarm monitoring unit 16b of the standby server 1b constantly monitors the presence / absence of a switchback request from the active server 1a, and when receiving the switchback request, issues a switchback command corresponding to the received switchback request. The ACT / SBY switching unit 14b and the processing data synchronization unit 17b are notified.

処理データ同期部17は、図1に示した複数の機能のうち、(3)データ同期機能を備える。具体的には、予備系サーバ1bの処理データ同期部17bは、警報監視部16bから切り戻し命令を受信すると、信号処理部11bに対して処理中の通信信号の有無を問い合わせ、処理中の通信がある場合は、処理中の通信に関するデータを検索し、当該データのコピーを処理データ記憶部10bに記憶するとともに、当該データのコピーを運用系サーバ1aの処理データ記憶部10aへ送信・転送し、運用系サーバ1aとの間で処理中の通信データの系間同期を行う機能(データ同期部)を備える。   The processing data synchronization unit 17 includes (3) a data synchronization function among the plurality of functions illustrated in FIG. Specifically, when the processing data synchronization unit 17b of the standby server 1b receives a switch-back command from the alarm monitoring unit 16b, the processing data synchronization unit 17b inquires the signal processing unit 11b about the presence of a communication signal being processed, and performs the communication being processed. If there is, search for data related to the communication being processed, store a copy of the data in the processing data storage unit 10b, and transmit / transfer the copy of the data to the processing data storage unit 10a of the active server 1a. And a function (data synchronization unit) for performing inter-system synchronization of communication data being processed with the active server 1a.

次に、ロードバランサ3について説明する。   Next, the load balancer 3 will be described.

ロードバランサ3は、エッジルータ5からの通信信号を運用系サーバ1aまたは予備系サーバ1bに振り分ける信号振り分け装置であり、信号振り分け部31を備えて構成される。信号振り分け部31は、例えば、運用系サーバ1aの警報通知部15aから上記振り分け遮断信号を受信した場合、エッジルータ5からの通信信号を予備系サーバ1bへ送信・転送する処理を遮断・停止する機能を備える。   The load balancer 3 is a signal distribution device that distributes communication signals from the edge router 5 to the active server 1 a or the standby server 1 b, and includes a signal distribution unit 31. For example, when the signal distribution unit 31 receives the distribution cutoff signal from the alarm notification unit 15a of the active server 1a, the signal distribution unit 31 blocks or stops the process of transmitting / transferring the communication signal from the edge router 5 to the standby server 1b. It has a function.

次に、エッジルータ5について説明する。   Next, the edge router 5 will be described.

エッジルータ5は、端末を収容する端末収容装置、例えば通信サービスに加入中の加入者回線および加入者端末を収容する加入者収容装置であり、信号処理部51、警報監視部52、および、宛先管理部53、を備えて構成される。   The edge router 5 is a terminal accommodating device that accommodates a terminal, for example, a subscriber accommodating device that accommodates a subscriber line and a subscriber terminal subscribed to a communication service, and includes a signal processing unit 51, an alarm monitoring unit 52, and a destination A management unit 53 is provided.

信号処理部51は、宛先管理部53が管理している宛先管理テーブルを参照し、当該宛先管理テーブルに設定されている宛先へ収容端末からの通信信号を転送する機能部である。信号処理部51は、例えば、運用系サーバ1aから上記宛先変更要求が通知された場合、当該宛先変更要求に基づき上記通信信号を新たな宛先(ルータ7)へ転送する。   The signal processing unit 51 is a functional unit that refers to the destination management table managed by the destination management unit 53 and transfers a communication signal from the accommodating terminal to the destination set in the destination management table. For example, when the destination change request is notified from the active server 1a, the signal processing unit 51 transfers the communication signal to a new destination (router 7) based on the destination change request.

警報監視部52は、運用系サーバ1aおよび予備系サーバ1bからの宛先変更要求の有無を常時監視し、当該宛先変更要求に含まれる新たな宛先で宛先管理部53の宛先管理テーブルを更新または追加する機能を備える。   The alarm monitoring unit 52 constantly monitors whether there is a destination change request from the active server 1a and the standby server 1b, and updates or adds the destination management table of the destination management unit 53 with a new destination included in the destination change request. It has a function to do.

宛先管理部53は、収容端末からの通信信号の宛先(転送先)を宛先管理テーブルで管理する機能を備える。本実施の形態に係る宛先管理テーブルの例を図3に示す。運用系/運用系のサーバ構成時は、図3(a)に示すように、ロードバランサ3のIPアドレスが高優先度の「値1」に設定されている。運用系/予備系のサーバ構成に切り替えられた場合には、図3(b)に示すように、ルータ7のIPアドレス(仮想IPアドレス)が高優先度の「値1」に設定される。   The destination management unit 53 has a function of managing the destination (transfer destination) of the communication signal from the accommodation terminal using the destination management table. An example of the destination management table according to the present embodiment is shown in FIG. When the active / active server is configured, as shown in FIG. 3A, the IP address of the load balancer 3 is set to “value 1” with high priority. When switching to the active / standby server configuration, as shown in FIG. 3B, the IP address (virtual IP address) of the router 7 is set to “value 1” with high priority.

次に、ルータ7について説明する。   Next, the router 7 will be described.

ルータ7は、通常状態である運用系/予備系のサーバ構成時に用いられる転送装置であり、図3に示した仮想IPアドレスが設定されている。   The router 7 is a transfer device used in the configuration of the active / standby server in the normal state, and the virtual IP address shown in FIG. 3 is set.

次に、図2〜図6を参照しながら、通信サービスシステム100の処理動作を説明する。具体的には、運用系として利用している予備系サーバ1bを元の予備系に切り戻す系切り戻し方法について説明する。なお、予備系サーバ1bを運用系として利用するための前提として、予備系サーバ1bが所定のサービスを提供するために必要な設定情報、コンフィグ、その他の固定値等は運用系サーバ1aと同期されているものとする。   Next, the processing operation of the communication service system 100 will be described with reference to FIGS. Specifically, a system switch back method for switching back the standby server 1b used as the active system to the original standby system will be described. As a premise for using the standby server 1b as an active system, the setting information, configuration, and other fixed values necessary for the standby server 1b to provide a predetermined service are synchronized with the active server 1a. It shall be.

ステップS1(図4);
まず、運用系サーバ1aは、自サーバのリソース使用率を監視し、予備系サーバ1bを運用系から予備系へ切り戻すべきか否かを判定する。そして、運用系サーバ1aの輻輳が解消し、リソース監視部12aでのリソース監視においてリソース使用率が閾値を一定時間継続して下回った場合、警報通知部15aは、運用系として稼働中の予備系サーバ1bを元の予備系へ切り戻すための切り戻し要求を予備系サーバ1bへ送信する。
Step S1 (FIG. 4);
First, the active server 1a monitors the resource usage rate of its own server, and determines whether or not the standby server 1b should be switched back from the active system to the standby system. When the congestion of the active server 1a is resolved and the resource usage rate falls below the threshold for a certain time in the resource monitoring by the resource monitoring unit 12a, the alarm notification unit 15a A switch-back request for switching back the server 1b to the original standby server is transmitted to the standby server 1b.

ステップS2(図4);
次に、運用系サーバ1aの警報通知部15aは、これ以降、新規の通信信号が予備系サーバ1bへ転送されないように、新規の通信信号を予備系サーバ1bへの振り分ける処理を遮断・停止するための振り分け遮断信号をロードバランサ3へ送信する。ロードバランサ3は、当該振り分け遮断信号に基づき、予備系サーバ1bへの通信信号の振り分けを停止する。
Step S2 (FIG. 4);
Next, the alarm notification unit 15a of the active server 1a blocks and stops the process of distributing the new communication signal to the standby server 1b so that the new communication signal is not transferred to the standby server 1b. For this purpose is transmitted to the load balancer 3. The load balancer 3 stops distributing the communication signal to the standby server 1b based on the distribution cutoff signal.

ステップS3(図4);
予備系サーバ1bは、運用系サーバ1aから切り戻し要求を受信すると、警報監視部16bが、当該切り戻し要求に応じた切り戻し命令をACT/SBY切り替え部14bおよび処理データ同期部17bへ送信する。そして、処理データ同期部17bは、信号処理部11bに対して処理中の通信信号の有無を問い合わせ、処理中の通信がある場合、処理中の通信に関するデータを検索し、当該データをコピーして、当該データのコピーを処理データ記憶部10bに記憶するとともに、当該データのコピーを運用系サーバ1aの処理データ記憶部10aへ送信し、処理中の通信データの同期処理を行う。
Step S3 (FIG. 4);
When the standby server 1b receives the switchback request from the active server 1a, the alarm monitoring unit 16b transmits a switchback command corresponding to the switchback request to the ACT / SBY switching unit 14b and the processing data synchronization unit 17b. . Then, the processing data synchronization unit 17b inquires of the signal processing unit 11b about the presence or absence of a communication signal being processed, and when there is communication being processed, searches for data related to the communication being processed and copies the data. The copy of the data is stored in the processing data storage unit 10b, and the copy of the data is transmitted to the processing data storage unit 10a of the active server 1a to perform the synchronization processing of the communication data being processed.

ここで、ステップS3の処理を具体的に説明する。図5は、処理データ同期部17bで行う同期コピー処理の処理フローを示す図である。   Here, the process of step S3 will be specifically described. FIG. 5 is a diagram showing a processing flow of synchronous copy processing performed by the processing data synchronization unit 17b.

まず、処理データ同期部17bは、警報監視部16bから切り戻し命令を受信する(ステップS100)。   First, the processing data synchronization unit 17b receives a switchback command from the alarm monitoring unit 16b (step S100).

次に、処理データ同期部17bは、信号処理部11bに対して処理中の通信信号の有無を問い合わせる(ステップS101)。   Next, the processing data synchronization unit 17b inquires of the signal processing unit 11b whether there is a communication signal being processed (step S101).

次に、ステップS101で問い合わせした結果、処理中の通信信号がない場合、以降のステップS102〜ステップS107を行うことなく、ステップS108へ進む。一方、処理中の通信信号がある場合、処理データ同期部17bは、信号処理部11bが扱うデータ情報から処理中の通信信号に関するデータを検索する(ステップS102)。処理中の通信信号に関するデータを検索できればよいため、信号処理部11bに直接問い合わせしてもよい。   Next, when there is no communication signal being processed as a result of the inquiry in step S101, the process proceeds to step S108 without performing the subsequent steps S102 to S107. On the other hand, when there is a communication signal being processed, the processing data synchronization unit 17b searches for data related to the communication signal being processed from the data information handled by the signal processing unit 11b (step S102). Since it is only necessary to search for data related to the communication signal being processed, the signal processing unit 11b may be directly inquired.

次に、処理データ同期部17bは、ステップS102で検索したデータについて、信号処理部11bに対して排他制御を設定する(ステップS103)。   Next, the processing data synchronization unit 17b sets exclusive control for the signal processing unit 11b with respect to the data searched in step S102 (step S103).

次に、処理データ同期部17bは、ステップS102で検索したデータを、予備系サーバ1bの処理データ記憶部10bおよび運用系サーバ1aの処理データ記憶部10aにコピーすることにより、処理中の通信データを同期する(ステップS104)。   Next, the processing data synchronization unit 17b copies the data retrieved in step S102 to the processing data storage unit 10b of the standby server 1b and the processing data storage unit 10a of the active server 1a, thereby processing the communication data being processed. Are synchronized (step S104).

次に、処理データ同期部17bは、ステップS104で設定していた排他制御を解除する(ステップS105)。   Next, the processing data synchronization unit 17b releases the exclusive control set in step S104 (step S105).

次に、処理データ同期部17bは、信号処理部11bが扱うデータ情報を再度参照し、処理中の通信信号に関するデータを再び検索して、ステップS104で処理データ記憶部10bにコピーしたデータとの差分の有無を判定する(ステップS106)。   Next, the processing data synchronization unit 17b refers again to the data information handled by the signal processing unit 11b, searches again for data regarding the communication signal being processed, and the data copied to the processing data storage unit 10b in step S104. It is determined whether or not there is a difference (step S106).

次に、ステップS106で判定した結果、差分がある場合、ステップS102へ戻る。一方、差分がない場合、処理データ同期部17bは、運用系サーバ1aの処理データ記憶部10aおよび警報監視部16bに対して、処理中の通信信号に関するデータの同期コピー処理の終了を通知する(ステップS107)。   Next, when there is a difference as a result of the determination in step S106, the process returns to step S102. On the other hand, if there is no difference, the processing data synchronization unit 17b notifies the processing data storage unit 10a and the alarm monitoring unit 16b of the active server 1a of the end of the synchronous copy processing of data related to the communication signal being processed ( Step S107).

最後に、警報監視部16bが、切り戻し命令をACT/SBY切り替え部14bへ通知する(ステップS108)。   Finally, the alarm monitoring unit 16b notifies the switch-back command to the ACT / SBY switching unit 14b (step S108).

ステップS4(図4);
その後、予備系サーバ1bのACT/SBY切り替え部14bは、警報監視部16bから切り戻し命令を受信すると、自サーバを運用系から予備系に切り戻す。これにより、運用系/運用系のサーバ構成が運用系/予備系のサーバ構成に戻る。
Step S4 (FIG. 4);
Thereafter, when the ACT / SBY switching unit 14b of the standby server 1b receives the switch-back command from the alarm monitoring unit 16b, the ACT / SBY switching unit 14b switches the own server from the active system to the standby system. As a result, the active / active server configuration returns to the active / standby server configuration.

ここまでの処理で、ロードバランサ3は、エッジルータ5からの信号を運用系サーバ1aにのみ転送することとなる。ただ、ロードバランサ3の本来の機能は、通信信号を処理するサーバ側の処理負荷を分散するために運用系であった2つのサーバへ信号を振り分けることにある。しかし、運用系/予備系のサーバ構成に戻したことにより信号を振り分ける必要がなくなるので、ロードバランサ3をあえて用いなくともよい。そこで、次のステップに進む。   With the processing so far, the load balancer 3 transfers the signal from the edge router 5 only to the active server 1a. However, the original function of the load balancer 3 is to distribute the signals to the two servers that were active in order to distribute the processing load on the server side that processes the communication signals. However, it is not necessary to use the load balancer 3 because there is no need to distribute signals by returning to the active / standby server configuration. Therefore, it proceeds to the next step.

ステップS5(図6);
運用系サーバ1aの警報通知部15aは、収容端末からの通信信号の宛先を、ロードバランサ3のアドレスから、運用系/予備系のサーバ構成時に用いるルータ7に変更するための宛先変更要求をエッジルータ5へ送信する。エッジルータ5は、宛先管理テーブルの高優先度の「値1」に設定されている宛先(ロードバランサ3のIPアドレス)を、元の宛先(ルータ7の仮想IPアドレス)に変更する。
Step S5 (FIG. 6);
The alarm notification unit 15a of the active server 1a issues an address change request for changing the destination of the communication signal from the accommodating terminal from the address of the load balancer 3 to the router 7 used in the configuration of the active / standby server. Transmit to router 5. The edge router 5 changes the destination (IP address of the load balancer 3) set to “value 1” with high priority in the destination management table to the original destination (virtual IP address of the router 7).

以降、エッジルータ5は、収容端末から信号を受信すると、元の宛先であったルータ7へ転送する。これにより、収容端末からの信号は、全て運用系サーバ1aで処理されることとなる。ロードバランサ3に代えてルータ7を用いることにより、通信信号の転送処理を速くすることができる。   Thereafter, when receiving a signal from the accommodating terminal, the edge router 5 transfers the signal to the router 7 that was the original destination. Thereby, all the signals from the accommodation terminal are processed by the active server 1a. By using the router 7 instead of the load balancer 3, the communication signal transfer process can be speeded up.

以上より、本実施の形態では、運用系サーバ1aが、自サーバの輻輳の収束に応じて、運用系として利用している予備系サーバ1bを元の予備系へ切り戻す要求を予備系サーバ1bへ送信し、ロードバランサ3が行うエッジルータ5からの新規の通信信号を予備系サーバ1bへ振り分ける処理を停止させ、収容端末70からの通信信号の宛先をロードバランサ3から運用系/予備系のサーバ構成時に用いるルータ7に変更する要求をエッジルータ5へ送信し、予備系サーバ1bが、自サーバで処理中の通信に関するデータを同期コピー処理により運用系サーバ1aへ移すので、サービス提供中の通信に影響を与えることなく、任意のタイミングで、かつ、保守者の作業を要することなく、運用系/運用系のサーバ構成から運用系/予備系のサーバ構成に切り戻すことができる。   As described above, in the present embodiment, the active server 1a issues a request to switch back the standby server 1b used as the active system to the original standby system in accordance with the convergence of the congestion of the own server. And the processing of distributing the new communication signal from the edge router 5 performed by the load balancer 3 to the standby server 1b is stopped, and the destination of the communication signal from the accommodating terminal 70 is transferred from the load balancer 3 to the active / standby system. A request to change to the router 7 used at the time of server configuration is transmitted to the edge router 5, and the standby server 1b moves the data related to the communication being processed in its own server to the active server 1a by the synchronous copy process. From the active / active server configuration to the active / standby server support at any time without affecting communication, and without requiring maintenance work. It can be switched back to the server configuration.

なお、本実施の形態では、(1)の切り戻し通知機能、(2)の振り分け遮断機能、および、(4)の宛先変更通知機能を、運用系サーバ1aで実現する場合について説明したが、他の装置で行ってもよい。例えば、運用系サーバ1aと予備系サーバ1bを管理する管理サーバで実現してもよい。当該管理サーバでは、運用系サーバ1aおよび予備系サーバ1bの負荷状況を常時管理し、運用系サーバ1aの輻輳の収束に応じて上記各機能を実行する。   In the present embodiment, a case has been described in which the switchback notification function (1), the distribution blocking function (2), and the destination change notification function (4) are realized in the active server 1a. You may carry out with another apparatus. For example, it may be realized by a management server that manages the active server 1a and the standby server 1b. The management server always manages the load status of the active server 1a and the standby server 1b, and executes the above functions according to the convergence of congestion of the active server 1a.

また、(4)の宛先変更通知機能を、予備系サーバ1bで実現してもよい。予備系サーバ1bは、予備系に切り戻す前であれば、運用系サーバ1aから切り戻し要求を受信したタイミングで宛先変更要求をロードバランサ3へ要求することができる。   Further, the destination change notification function (4) may be realized by the standby server 1b. The standby server 1b can request a destination change request to the load balancer 3 at the timing of receiving the switch-back request from the active server 1a if it is before switching back to the standby system.

また、本実施の形態では、(2)の信号振り分け遮断機能を、ロードバランサ3で実現する場合について説明したが、信号の振り分け処理はサーバやルータでも実行できるので、運用系サーバ、エッジルータ又は他の装置で行ってもよい。   Further, in the present embodiment, the case where the signal distribution blocking function of (2) is realized by the load balancer 3 has been described. However, since the signal distribution process can also be executed by a server or a router, You may carry out with another apparatus.

また、本実施の形態では、(3)データ同期機能を、予備系サーバ1bで実施する場合について説明したが、他の装置で行ってもよい。例えば、上記管理サーバで実現してもよい。当該管理サーバでは、運用系サーバ1aから予備系サーバ1bへ切り戻し通知が送信されたタイミングで処理中の通信データを予備系サーバ1bから取得して運用系サーバ1aへ送信する。   In the present embodiment, (3) the case where the data synchronization function is implemented in the standby server 1b has been described, but it may be performed by another device. For example, it may be realized by the management server. The management server acquires the communication data being processed from the standby server 1b and transmits it to the active server 1a at the timing when the switchback notification is transmitted from the active server 1a to the standby server 1b.

最後に、本実施の形態で説明した通信サービスシステム100は、コンピュータで実現できる。また、通信サービスシステム100としてコンピュータを機能させるためのプログラム、当該プログラムの記憶媒体を作成することも可能である。   Finally, the communication service system 100 described in the present embodiment can be realized by a computer. It is also possible to create a program for causing a computer to function as the communication service system 100 and a storage medium for the program.

100…通信サービスシステム
1a…運用系サーバ
1b…予備系サーバ
10,10a,10b…処理データ記憶部
11,11a,11b…信号処理部
12,12a,12b…リソース監視部
13,13a,13b…リソース使用量記録部
14,14a,14b…ACT/SBY切り替え部
15,15a,15b…警報通知部
16,16a,16b…警報監視部
17,17a,17b…処理データ同期部
3…ロードバランサ
31…信号振り分け部
5…エッジルータ
51…信号処理部
52…警報監視部
53…宛先管理部
7…ルータ
70…収容端末
DESCRIPTION OF SYMBOLS 100 ... Communication service system 1a ... Active system server 1b ... Standby system server 10, 10a, 10b ... Processing data storage part 11, 11a, 11b ... Signal processing part 12, 12a, 12b ... Resource monitoring part 13, 13a, 13b ... Resource Usage recording unit 14, 14a, 14b ... ACT / SBY switching unit 15, 15a, 15b ... Alarm notification unit 16, 16a, 16b ... Alarm monitoring unit 17, 17a, 17b ... Processing data synchronization unit 3 ... Load balancer 31 ... Signal Distribution unit 5 ... Edge router 51 ... Signal processing unit 52 ... Alarm monitoring unit 53 ... Destination management unit 7 ... Router 70 ... Accommodating terminal

Claims (4)

運用系として利用している予備系サーバを元の予備系に戻す契機を前記予備系サーバへ通知する切り戻し通知部と、
信号振り分け装置が行う端末収容装置からの通信信号を前記予備系サーバへ振り分ける処理を停止させる振り分け遮断部と、
前記予備系サーバが処理している処理中の通信に関するデータを運用系サーバへ送信するデータ同期部と、
を備えることを特徴とする通信サービスシステム。
A switch-back notification unit for notifying the standby server of an opportunity to return the standby server used as the active system to the original standby system;
A distribution blocking unit for stopping a process of distributing the communication signal from the terminal accommodating device performed by the signal distribution device to the standby server;
A data synchronization unit that transmits data related to the communication being processed by the standby server to the active server;
A communication service system comprising:
前記端末収容装置に対して、収容端末からの通信信号の宛先を前記予備系サーバが元の予備系である時に用いる転送装置のアドレスに変更することを通知する宛先変更通知部を更に備えることを特徴とする請求項1に記載の通信サービスシステム。   A destination change notification unit for notifying the terminal accommodation device that the destination of the communication signal from the accommodation terminal is changed to the address of the transfer device used when the standby server is the original standby system; The communication service system according to claim 1, wherein: 通信サービスシステムで行う系切り戻し方法において、
切り戻し通知部が、運用系として利用している予備系サーバを元の予備系に戻す契機を前記予備系サーバへ通知するステップを行い、
振り分け遮断部が、信号振り分け装置が行う端末収容装置からの通信信号を前記予備系サーバへ振り分ける処理を停止させるステップを行い、
データ同期部が、前記予備系サーバが処理している処理中の通信に関するデータを運用系サーバへ送信するステップを行う、
ことを特徴とする系切り戻し方法。
In the system switchback method performed in the communication service system,
The switchback notification unit performs a step of notifying the standby server of an opportunity to return the standby server used as the active system to the original standby system,
The distribution blocking unit performs a step of stopping the process of distributing the communication signal from the terminal accommodating device performed by the signal distribution device to the standby server,
The data synchronization unit performs a step of transmitting data related to the communication being processed by the standby server to the active server,
A system switchback method characterized by that.
宛先変更通知部が、前記端末収容装置に対して、収容端末からの通信信号の宛先を前記予備系サーバが元の予備系である時に用いる転送装置のアドレスに変更することを通知するステップを行うことを特徴とする請求項3に記載の系切り戻し方法。   A destination change notification unit notifies the terminal accommodating device that the destination of the communication signal from the accommodating terminal is changed to the address of the transfer device used when the standby server is the original standby system. The system switchback method according to claim 3.
JP2017134484A 2017-07-10 2017-07-10 Communication service system and system switchback method Active JP6745767B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017134484A JP6745767B2 (en) 2017-07-10 2017-07-10 Communication service system and system switchback method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017134484A JP6745767B2 (en) 2017-07-10 2017-07-10 Communication service system and system switchback method

Publications (2)

Publication Number Publication Date
JP2019016259A true JP2019016259A (en) 2019-01-31
JP6745767B2 JP6745767B2 (en) 2020-08-26

Family

ID=65359330

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017134484A Active JP6745767B2 (en) 2017-07-10 2017-07-10 Communication service system and system switchback method

Country Status (1)

Country Link
JP (1) JP6745767B2 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070198721A1 (en) * 2006-02-20 2007-08-23 Naoki Ikawa Load balancing method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070198721A1 (en) * 2006-02-20 2007-08-23 Naoki Ikawa Load balancing method and system
JP2007219964A (en) * 2006-02-20 2007-08-30 Hitachi Ltd Load balancing method and system

Also Published As

Publication number Publication date
JP6745767B2 (en) 2020-08-26

Similar Documents

Publication Publication Date Title
EP2458768B1 (en) Method for switching node main-standby controllers based on content delivery network (cdn) and cdn thereof
JP5537600B2 (en) Control node and communication control method
JP2003186765A (en) Network connecting device, network connecting device management system and network connecting device management method
WO2013186825A1 (en) Computer system, communication control server, communication control method, and program
CN110932876B (en) Communication system, method and device
JP5816960B2 (en) Communications system
WO2012176337A1 (en) Information processing system, information processing system control method, administration device, and system switching program
JP5808700B2 (en) Communication control device, communication control system, virtualization server management device, switch device, and communication control method
JPH10312365A (en) Load decentralization system
CN108900441B (en) Network switching method, first electronic device and readable storage medium
JP2013187656A (en) Network control system, path management server, and network control method and program for distributed type cloud infrastructure
WO2014050493A1 (en) Backup device, main device, redundancy configuration system, and load dispersion method
WO2013164917A1 (en) Mobile communication system, call processing node, and communication control method
JP2019016259A (en) Communication service system and system switch-back method
KR20170008814A (en) Communication apparatus, control apparatus, communication system, and transmission control method
US10263915B2 (en) Method for processing event between controller and network device
JP2014158225A (en) Communication system
JP6647234B2 (en) Communication service system and congestion avoidance method
JP5545887B2 (en) Distributed recovery method and network system
CN110958182B (en) Communication method and related equipment
WO2019244932A1 (en) Server device used in distributed processing system, distributed processing method, and program
WO2020177471A1 (en) Message transmission method, apparatus and storage medium
JP2008277968A (en) Ip telephone communication system and ip telephone communication method
JP2002268962A (en) Monitoring system
JP6246677B2 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, AND PROCESSING DEVICE SWITCHING METHOD

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190621

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200327

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200512

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200710

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200728

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200804

R150 Certificate of patent or registration of utility model

Ref document number: 6745767

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150