JP2016149664A - Processing system and processor switching method - Google Patents

Processing system and processor switching method Download PDF

Info

Publication number
JP2016149664A
JP2016149664A JP2015025989A JP2015025989A JP2016149664A JP 2016149664 A JP2016149664 A JP 2016149664A JP 2015025989 A JP2015025989 A JP 2015025989A JP 2015025989 A JP2015025989 A JP 2015025989A JP 2016149664 A JP2016149664 A JP 2016149664A
Authority
JP
Japan
Prior art keywords
processing device
processing
old
new
transfer device
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
JP2015025989A
Other languages
Japanese (ja)
Other versions
JP6371715B2 (en
Inventor
明将 橋本
Akimasa Hashimoto
明将 橋本
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 JP2015025989A priority Critical patent/JP6371715B2/en
Publication of JP2016149664A publication Critical patent/JP2016149664A/en
Application granted granted Critical
Publication of JP6371715B2 publication Critical patent/JP6371715B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a virtualization circumstance processing system capable of preventing generation of hindrance at switching a processor with unfixed functions loaded by a virtualization.SOLUTION: A processing system 1000 has a control unit 7 that controls a request distribution apparatus 1, which distributes a piece of processing to either of an old transfer apparatus 2 and a new transfer apparatus 3, to distribute the processing so that the processing ratio of the new transfer apparatus 3 relative to that of the old transfer apparatus 2 gradually increases. When the resource utilization rate of the new transfer apparatus 3 exceeds a predetermined threshold level, the control unit controls the new transfer apparatus 3 to stop from increasing the processing ratio.SELECTED DRAWING: Figure 1

Description

本発明は、複数の処理装置(サーバ、転送装置など)を備える処理システムにおける処理装置の切り替え技術に関する。   The present invention relates to a processing device switching technique in a processing system including a plurality of processing devices (server, transfer device, etc.).

従来から、複数の処理装置を備えるシステムにおいて、保守上の理由等により、処理装置を新しい別の処理装置に切り替える(置き換える)必要が生じることがある。以下、切り替える前の処理装置には名称の前に「旧」を付し(例えば、「旧処理装置」、「旧転送装置」など)、切り替えた後の処理装置には名称の前に「新」を付す(例えば、「新処理装置」、「新転送装置」など)場合がある。   Conventionally, in a system including a plurality of processing devices, it may be necessary to switch (replace) the processing device to a new processing device for maintenance reasons. Hereinafter, “old” is added to the name of the processing device before switching (for example, “old processing device”, “old transfer device”, etc.), and “new” is added to the processing device after switching. (For example, “new processing device”, “new transfer device”, etc.).

場面としては、例えば、クライアント(クライアントコンピュータ)からの要求を処理するサーバシステムが考えられる。そのサーバシステムにおけるいずれかの処理装置(サーバ、転送装置など)を切り替える場合、例えば、仮想化環境でなければ、各処理装置に必要な性能は容易に特定できるので、旧処理装置から新処理装置に切り替える際に、新処理装置に必要な性能を事前に特定して容易に切り替えを行うことができる。   As a scene, for example, a server system that processes a request from a client (client computer) can be considered. When switching any processing device (server, transfer device, etc.) in the server system, for example, if it is not a virtual environment, the performance required for each processing device can be easily identified. When switching to, the performance required for the new processing apparatus can be specified in advance and switched easily.

また、非特許文献1には、仮想化環境での機器の性能検証方法について記載されている。なお、仮想化環境で用いられる処理装置としては、例えば、いわゆるIA(Intel(登録商標) Architecture)サーバが考えられる。IAサーバとは、CPU(Central Processing Unit)にIntel社のマイクロプロセッサやその互換製品を搭載したサーバのことである。IAサーバなどの処理装置を複数用いた処理システムでは、仮想化環境で、1つの処理装置に複数の仮想化機能(以下、単に「機能」と称する。)が搭載されることが多い。   Non-Patent Document 1 describes a device performance verification method in a virtual environment. As a processing device used in a virtual environment, for example, a so-called IA (Intel (registered trademark) Architecture) server is conceivable. The IA server is a server in which an Intel microprocessor or a compatible product is mounted on a CPU (Central Processing Unit). In a processing system using a plurality of processing devices such as an IA server, a plurality of virtualization functions (hereinafter simply referred to as “functions”) are often mounted on one processing device in a virtual environment.

宮原徹、“連載:失敗しない仮想化環境の設計・構築法 仮想化で重要な事前検証と運用管理”、[online]、2011年2月22日、[2015年2月3日検索]、Impress Corporation、インターネット<URL:http://thinkit.co.jp/story/2011/02/22/2014/page/0/1>Toru Miyahara, “Series: How to Design and Build a Virtual Environment That Does Not Fail” Pre-verification and Operation Management Important in Virtualization, [online], February 22, 2011, [Search February 3, 2015], Impress Corporation, Internet <URL: http://thinkit.co.jp/story/2011/02/22/2014/page/0/1>

仮想化環境でも、仮想化によって搭載される機能が固定(機能の数、種類、組み合わせが固定。以下同様)の処理装置に関しては、事前の性能試験パターン数も限られるので、性能試験によって新処理装置に必要な性能を特定し、旧処理装置から新処理装置への切り替えを実現するのは容易である。   Even in a virtualized environment, the number of performance test patterns is limited for processing devices with fixed functions (number of functions, types and combinations are fixed, and so on). It is easy to specify the performance required for the apparatus and realize switching from the old processing apparatus to the new processing apparatus.

しかしながら、仮想化環境で、仮想化によって搭載される機能が固定ではない処理装置に関しては、事前の性能試験パターン数が膨大となり、性能試験によって新処理装置に必要な性能を特定し、旧処理装置から新処理装置への切り替えを実現するのは容易ではない。例えば、IAサーバを複数用いる処理システムでは、異なる複数のメーカ製のIAサーバが数多く用いられ、各IAサーバに仮想化によって搭載される機能が固定ではないので、切り替えのための新IAサーバに必要な性能(スループット等)を事前に特定するのは非常に困難である。   However, in a virtualized environment, with regard to processing devices whose functions are not fixed by virtualization, the number of performance test patterns in advance becomes enormous, and the performance test specifies the performance required for the new processing device. It is not easy to switch from a new processing device to a new processing device. For example, in a processing system using a plurality of IA servers, many IA servers from different manufacturers are used, and the functions installed by virtualization in each IA server are not fixed, so it is necessary for a new IA server for switching. It is very difficult to specify the performance (throughput etc.) in advance.

そして、旧処理装置から新処理装置に切り替えた場合、新処理装置に対して性能を超えた負荷がかかると、新処理装置の処理遅延がボトルネックになって処理システム全体の動作が遅くなるなど、支障をきたしてしまう。   And when switching from the old processing device to the new processing device, if a load exceeding the performance is applied to the new processing device, the processing delay of the new processing device becomes a bottleneck and the operation of the entire processing system becomes slow. It will cause trouble.

そこで、本発明は、仮想化環境の処理システムで、仮想化によって搭載される機能が固定ではない処理装置に関して、切り替え時の支障発生を抑止することを課題とする。   Therefore, an object of the present invention is to suppress the occurrence of trouble at the time of switching for a processing apparatus in which a function installed by virtualization is not fixed in a processing system in a virtual environment.

前記課題を解決するために、本発明は、仮想化環境で、仮想化によって搭載される機能が固定ではない処理装置を用いた処理システムであって、所定の処理を行う旧処理装置と、前記旧処理装置で行っている処理を新たに引き継ぐ新処理装置と、行うべき処理を前記旧処理装置と前記新処理装置のいずれかに振り分ける仮想スイッチと、前記仮想スイッチに対して、前記旧処理装置に対する前記新処理装置の処理比率が徐々に増加するように振り分けるよう制御するとともに、前記旧処理装置から前記新処理装置への処理の完全移行の前に、前記新処理装置のリソース使用率が所定の閾値を超えた場合は、前記処理比率の増加を停止させる制御装置と、を備えることを特徴とする。   In order to solve the above-described problems, the present invention provides a processing system using a processing device in which a function mounted by virtualization is not fixed in a virtual environment, and an old processing device that performs predetermined processing; A new processing device that newly takes over processing performed in the old processing device, a virtual switch that distributes processing to be performed to either the old processing device or the new processing device, and the old processing device for the virtual switch Control so that the processing ratio of the new processing device gradually increases with respect to the new processing device, and before the complete transition of processing from the old processing device to the new processing device, the resource usage rate of the new processing device is predetermined. And a control device that stops the increase in the processing ratio when the threshold value is exceeded.

これによれば、新処理装置のリソース使用率が所定の閾値を超えた場合は、新処理装置の処理比率の増加を停止させるので、新処理装置に対して性能を超えた負荷がかかる事態を確実に回避し、切り替え時の支障発生を抑止することができる。   According to this, when the resource usage rate of the new processing device exceeds a predetermined threshold, the increase of the processing rate of the new processing device is stopped, so that a situation exceeding the performance on the new processing device is applied. It is possible to reliably avoid the occurrence of troubles at the time of switching.

また、本発明は、前記旧処理装置と前記新処理装置が、データ送受信のために用いるIP(Internet Protocol)アドレスおよび/またはMAC(Media Access Control)アドレスを共通で割り当てられており、前記仮想スイッチが、自身の複数の出力ポートのうち、1つを前記旧処理装置へのデータ送信に用い、他の1つを前記新処理装置へのデータ送信に用いることが好ましい。   In the present invention, the old processing device and the new processing device are commonly assigned an IP (Internet Protocol) address and / or a MAC (Media Access Control) address used for data transmission and reception. However, it is preferable that one of the plurality of output ports is used for data transmission to the old processing device and the other one is used for data transmission to the new processing device.

これによれば、旧処理装置と新処理装置に対して、データ送受信のために用いるIPアドレスおよび/またはMACアドレスを共通で割り当てることができ、切り替えに付随する作業を低減することができる。   According to this, the IP address and / or the MAC address used for data transmission / reception can be commonly assigned to the old processing device and the new processing device, and the work accompanying the switching can be reduced.

本発明によれば、仮想化環境の処理システムで、仮想化によって搭載される機能が固定ではない処理装置に関して、切り替え時の支障発生を抑止することができる。   ADVANTAGE OF THE INVENTION According to this invention, trouble generation at the time of switching can be suppressed regarding the processing apparatus in which the function mounted by virtualization is not fixed in the processing system of a virtualization environment.

本実施形態の処理システムの全体構成図である。It is a whole block diagram of the processing system of this embodiment. (a)は処理システムの部分図である。(b)はフローテーブルの例を示す図である。(c)はグループテーブルの例を示す図である。(A) is a partial view of a processing system. (B) is a figure which shows the example of a flow table. (C) is a figure which shows the example of a group table. 処理システムの部分図である。1 is a partial view of a processing system. 制御装置の処理を示すフローチャートである。It is a flowchart which shows the process of a control apparatus. (a)は比較例としてLBとルータを用いた場合の説明図である。(b)は比較例としてL2SWとVRRPを用いた場合の説明図である。(A) is explanatory drawing at the time of using LB and a router as a comparative example. (B) is explanatory drawing at the time of using L2SW and VRRP as a comparative example.

以下、本発明に係る処理システムの実施形態について、図面を参照して説明する。なお、本実施形態では、前提としてOpenFlowの技術を用いる。OpenFlowとは、ネットワーク内の機器を一つの制御装置で集中管理し、転送制御を行う技術であり、業界団体のOpen Networking Foundationによって標準仕様が策定されている。   Embodiments of a processing system according to the present invention will be described below with reference to the drawings. In this embodiment, OpenFlow technology is used as a premise. OpenFlow is a technology that centrally manages devices in a network and performs transfer control using a single control device. Standard specifications have been established by the Open Networking Foundation, an industry group.

図1に示すように、処理システム1000は、要求振分装置1、旧転送装置2、新転送装置3、応答振分装置4、サーバ5、性能判定装置6、および、制御装置7を備え、クライアント100からの要求に応答する。ここで、少なくとも旧転送装置2と新転送装置3は、仮想化環境で、仮想化によって搭載される機能が固定(機能の数、種類、組み合わせが固定)ではない処理装置である。   As shown in FIG. 1, the processing system 1000 includes a request distribution device 1, an old transfer device 2, a new transfer device 3, a response distribution device 4, a server 5, a performance determination device 6, and a control device 7. Responds to requests from the client 100. Here, at least the old transfer device 2 and the new transfer device 3 are processing devices in which functions mounted by virtualization are not fixed (the number, type, and combination of functions are fixed) in a virtual environment.

以下では、元々稼働していた旧転送装置2から新転送装置3に切り替える場合について説明する。旧転送装置2と新転送装置3は、例えば、ファイアウォール、ロードバランサなどで、機能Aなどの同じ機能を有する。なお、図1では機能として「機能A」しか示していないが、実際には複数の機能が搭載されることが多い。
なお、要求振分装置1と応答振分装置4は、OpenFlowスイッチによって実現することができる。
また、制御装置7は、OpenFlowコントローラによって実現することができる。
Below, the case where it switches from the old transfer apparatus 2 which was operating originally to the new transfer apparatus 3 is demonstrated. The old transfer device 2 and the new transfer device 3 are, for example, a firewall, a load balancer, and the like, and have the same function such as function A. In FIG. 1, only “function A” is shown as a function, but actually, a plurality of functions are often installed.
The request distribution device 1 and the response distribution device 4 can be realized by an OpenFlow switch.
The control device 7 can be realized by an OpenFlow controller.

次に、各装置が持つIPアドレス、MACアドレスなどについて説明する。
クライアント100について、IPアドレス(グローバルIPアドレス)を「A」とし、MACアドレス(グローバルMACアドレス)を「A」とする。なお、これらの2つの「A」は、簡略記号であって、お互いにまったく同一のものであるという意味ではない。IPアドレス「A」とIPアドレス「A」は同じで、IPアドレス「A」とIPアドレス「B」は異なる、という意味で用いる簡略記号である(以下同様)。
Next, an IP address, a MAC address, and the like that each device has will be described.
For the client 100, the IP address (global IP address) is “A”, and the MAC address (global MAC address) is “A”. These two “A” s are simplified symbols and do not mean that they are exactly the same as each other. The IP address “A” and the IP address “A” are the same, and the IP address “A” and the IP address “B” are different symbols (hereinafter the same).

旧転送装置2と新転送装置3について、クライアント100側のIPアドレス(グローバルIPアドレス)を「B」とし、MACアドレス(グローバルMACアドレス)を「B」とする。また、サーバ5側のIPアドレス(ローカルIPアドレス)を「C」とし、MACアドレス(ローカルMACアドレス)を「C」とする。そして、旧転送装置2と新転送装置3は、NAT(Network Address Translation)やNAPT(Network Address and Port Translation)を用いて、グローバルIPアドレスとローカルIPアドレスの変換や、グローバルMACアドレスとローカルMACアドレスの変換を行う。   For the old transfer device 2 and the new transfer device 3, the IP address (global IP address) on the client 100 side is “B”, and the MAC address (global MAC address) is “B”. The IP address (local IP address) on the server 5 side is “C”, and the MAC address (local MAC address) is “C”. The old transfer device 2 and the new transfer device 3 use NAT (Network Address Translation) or NAPT (Network Address and Port Translation) to convert a global IP address and a local IP address, and a global MAC address and a local MAC address. Perform the conversion.

応答振分装置4は、旧転送装置2または新転送装置3から受けたデータをサーバ5に転送し、それに対してサーバ5から受けた応答を旧転送装置2または新転送装置3(送信元と同じほう)に返す。   The response distribution device 4 transfers the data received from the old transfer device 2 or the new transfer device 3 to the server 5, and responds to the response received from the server 5 by the old transfer device 2 or the new transfer device 3 (the transmission source and Return to the same).

また、サーバ5について、IPアドレス(ローカルIPアドレス)を「D」とし、MACアドレス(ローカルMACアドレス)を「D」とし、初期設定(Default)のGW(GateWay)のIPアドレス(ローカルIPアドレス)を「C」とする。   For the server 5, the IP address (local IP address) is set to “D”, the MAC address (local MAC address) is set to “D”, and the IP address (local IP address) of the initial setting (Default) GW (GateWay). Is “C”.

そして、クライアント100から要求があると、要求振分装置1はその要求を旧転送装置2または新転送装置3に振り分ける。以下、振り分けられたのが旧転送装置2とすると、旧転送装置2は、その要求を、応答振分装置4を経由してサーバ5に転送する。サーバ5は所定の処理を行い、応答を応答振分装置4に返す。その応答は、旧転送装置2、要求振分装置1と転送され、クライアント100に届く。   When there is a request from the client 100, the request distribution device 1 distributes the request to the old transfer device 2 or the new transfer device 3. Hereinafter, assuming that the old transfer device 2 is assigned, the old transfer device 2 transfers the request to the server 5 via the response distribution device 4. The server 5 performs a predetermined process and returns a response to the response distribution device 4. The response is transferred to the old transfer device 2 and the request distribution device 1 and reaches the client 100.

新転送装置3は、リソース(CPU、記憶部など)使用率の情報を定期的に性能判定装置6に送る。
性能判定装置6は、新転送装置3のリソース使用率が所定の閾値(例えば90%)を超えたか否かを判定し、超えていない場合は、制御装置7に対して、旧転送装置2に対する新転送装置3の処理比率の増加を指示し、超えていた場合は、制御装置7に対して、例えば、超えていた旨、または、旧転送装置2に対する新転送装置3の処理比率の減少を指示する。
The new transfer device 3 periodically sends resource (CPU, storage unit, etc.) usage rate information to the performance determination device 6.
The performance determination device 6 determines whether or not the resource usage rate of the new transfer device 3 has exceeded a predetermined threshold (for example, 90%). An instruction is given to increase the processing ratio of the new transfer apparatus 3 and if it exceeds, for example, the control apparatus 7 is notified that the ratio has been exceeded or the processing ratio of the new transfer apparatus 3 to the old transfer apparatus 2 Instruct.

制御装置7は、制御部71と記憶部72とを備える。
記憶部72は、要求振分用情報721と応答振分用情報722を記憶し、例えば、RAM、ROM、HDDなどによって実現することができる。
要求振分用情報721は、要求振分装置1がクライアント100からの要求を旧転送装置2と新転送装置3のいずれかに振り分ける際に使用される(詳細は図2で後記)。
応答振分用情報722は、応答振分装置4がサーバ5からの応答を旧転送装置2と新転送装置3のいずれかに振り分ける際に使用される(詳細は図3で後記)。
The control device 7 includes a control unit 71 and a storage unit 72.
The storage unit 72 stores request distribution information 721 and response distribution information 722, and can be realized by, for example, a RAM, a ROM, an HDD, or the like.
The request distribution information 721 is used when the request distribution apparatus 1 distributes a request from the client 100 to either the old transfer apparatus 2 or the new transfer apparatus 3 (details will be described later in FIG. 2).
The response distribution information 722 is used when the response distribution device 4 distributes the response from the server 5 to either the old transfer device 2 or the new transfer device 3 (details will be described later in FIG. 3).

制御部71は、要求振分装置1に対して、OpenFlowプロトコルを用いて、性能判定装置6からの指示などに基づいて、旧転送装置2に対する新転送装置3の処理比率が徐々に増加するように振り分けの制御を行うとともに、旧転送装置2から新転送装置3への処理の完全移行の前に、新転送装置3のリソース使用率が所定の閾値を超えた場合は、その処理比率の増加を停止させる(詳細は図4で後記)。   The control unit 71 uses the OpenFlow protocol for the request distribution device 1 so that the processing ratio of the new transfer device 3 to the old transfer device 2 gradually increases based on an instruction from the performance determination device 6. If the resource usage rate of the new transfer device 3 exceeds a predetermined threshold before the complete transfer of processing from the old transfer device 2 to the new transfer device 3, the processing ratio is increased. Is stopped (details will be described later in FIG. 4).

次に、図2を参照して、旧転送装置2と新転送装置3が同じIPアドレスとMACアドレスを有していても、要求振分装置1がクライアント100からの要求をそれらのいずれかに適切に振り分けることができる点について説明する。   Next, referring to FIG. 2, even if the old transfer device 2 and the new transfer device 3 have the same IP address and MAC address, the request distribution device 1 sends a request from the client 100 to one of them. Explain the points that can be allocated appropriately.

図2に示すように、制御装置7は、要求振分用情報721として、(b)のフローテーブル721aと(c)のグループテーブル721bを有しており、それらを要求振分装置1に設定(提供)しておく。そうすると、要求振分装置1は、ポート#1でクライアント100からの要求を受信したとき、まず、フローテーブル721aを参照して、受信ポートが「#1」なのでグループaの処理を行うことを認識し、次に、グループテーブル721bを参照して、要求の95%をポート#2経由で旧転送装置2に転送し、5%をポート#3経由で旧転送装置2に転送することを認識し、それに基づいて処理を行う。   As shown in FIG. 2, the control device 7 includes a flow table 721 a (b) and a group table 721 b (c) as the request distribution information 721, and sets them in the request distribution device 1. (Provide). Then, when receiving a request from the client 100 at the port # 1, the request distribution apparatus 1 first refers to the flow table 721a and recognizes that the processing of the group a is performed because the reception port is “# 1”. Next, referring to the group table 721b, it recognizes that 95% of the request is transferred to the old transfer device 2 via the port # 2, and 5% is transferred to the old transfer device 2 via the port # 3. And process based on it.

このようにすることで、旧転送装置2と新転送装置3に共通のIPアドレスとMACアドレスが割り当てられていても、要求振分装置1は、クライアント100からの要求をそれらのいずれかに適切に振り分けることができる。したがって、クライアント100、旧転送装置2などの設定を変更する必要がなく、旧転送装置2から新転送装置3への切り替えに伴う作業を低減することができる。   In this way, even if a common IP address and MAC address are assigned to the old transfer device 2 and the new transfer device 3, the request distribution device 1 can appropriately apply the request from the client 100 to any of them. Can be sorted. Therefore, it is not necessary to change the settings of the client 100, the old transfer device 2, etc., and the work involved in switching from the old transfer device 2 to the new transfer device 3 can be reduced.

次に、図3を参照して、旧転送装置2と新転送装置3が同じIPアドレスとMACアドレスを有していてもサーバ5からの応答をそれらのいずれかに適切に振り分けることができる点について説明する。   Next, referring to FIG. 3, even if the old transfer device 2 and the new transfer device 3 have the same IP address and MAC address, the response from the server 5 can be appropriately distributed to either of them. Will be described.

図3に示すように、制御装置7は、応答振分用情報722として、フローテーブル722aを有しており、それを応答振分装置4に設定(提供)しておく。フローテーブル722aは、IPアドレスに関する変換テーブルである。ここでは、新規に使用可能なIPアドレス「X」、「Y」を確保しておく。   As shown in FIG. 3, the control device 7 has a flow table 722 a as response distribution information 722, and sets (provides) it in the response distribution device 4. The flow table 722a is a conversion table related to IP addresses. Here, IP addresses “X” and “Y” that can be newly used are secured.

そうすると、例えば、応答振分装置4は、ポート#1でデータD1(送信元(SRC)IPアドレス「C」、送信元MACアドレス「C」、送信先(DST)IPアドレス「D」、送信先MACアドレス「D」)を受信すると、フローテーブル722aを参照して、送信元IPアドレスを「C」から「X」に書き換えて、データD2としてサーバ5に送る。   Then, for example, the response distribution device 4 receives data D1 (source (SRC) IP address “C”, source MAC address “C”, destination (DST) IP address “D”, destination) at port # 1. When the MAC address “D” is received, the source IP address is rewritten from “C” to “X” with reference to the flow table 722a and sent to the server 5 as data D2.

サーバ5は、データD2を受信すると、所定の処理を行って、IPアドレスとMACアドレスそれぞれの送信元と送信先を逆にしたデータD3を応答振分装置4に送る。なお、応答振分装置4におけるサーバ5とのデータ送受信に使用するポートは「#7」である。   When the server 5 receives the data D2, the server 5 performs predetermined processing and sends the data D3 in which the transmission source and the transmission destination of the IP address and the MAC address are reversed to the response distribution device 4. The port used for data transmission / reception with the server 5 in the response distribution device 4 is “# 7”.

応答振分装置4は、データD3を受信すると、フローテーブル722aを参照して、送信先IPアドレスを「X」から「C」に書き換えて、ポート#1を経由して、データD4として旧転送装置2に送る。なお、ここでは、フローテーブル722aのポート「#1」の行は、送信先IPアドレスを「X」から「C」に書き換えることを意味する。   Upon receiving the data D3, the response distribution device 4 refers to the flow table 722a, rewrites the destination IP address from “X” to “C”, and transfers the old transfer as data D4 via port # 1. Send to device 2. Here, the port “# 1” row in the flow table 722a means that the destination IP address is rewritten from “X” to “C”.

このようにすることで、旧転送装置2と新転送装置3に共通のIPアドレスとMACアドレスが割り当てられていても、サーバ5からの応答をそれらのいずれか(要求を出したほう)に適切に振り分けることができる。したがって、サーバ5の設定を変更する必要がなく、旧転送装置2から新転送装置3への切り替えに伴う作業を低減することができる。また、これにより、旧転送装置2、新転送装置3と、サーバ5との間にコネクションを容易に張ることができる。なお、フローテーブル722aは、IPアドレスに関するものに限定されず、TCP(Transmission Control Protocol)/UDP(User Datagram Protocol)のポート番号に関するものなどであってもよい。
また、新転送装置3から応答振分装置4に送信されるデータについても、応答振分装置4のポート#6を使用して、同様の処理が行われる。
In this way, even if a common IP address and MAC address are assigned to the old transfer device 2 and the new transfer device 3, the response from the server 5 is appropriate for one of them (the one that issued the request). Can be sorted. Therefore, it is not necessary to change the setting of the server 5, and work associated with switching from the old transfer device 2 to the new transfer device 3 can be reduced. This also makes it possible to easily establish a connection between the old transfer device 2, the new transfer device 3, and the server 5. The flow table 722a is not limited to an IP address, and may be a TCP (Transmission Control Protocol) / UDP (User Datagram Protocol) port number.
The same processing is performed on data transmitted from the new transfer device 3 to the response distribution device 4 using the port # 6 of the response distribution device 4.

次に、図4を参照して、制御装置7の処理について説明する。
旧転送装置2の代わりとして新転送装置3を導入してそれらを併用し始めた後、制御装置7の制御部71は、旧転送装置2に対する新転送装置3の処理比率を徐々に増加させる(ステップS1)。
Next, the processing of the control device 7 will be described with reference to FIG.
After introducing the new transfer device 3 instead of the old transfer device 2 and starting to use them together, the control unit 71 of the control device 7 gradually increases the processing ratio of the new transfer device 3 to the old transfer device 2 ( Step S1).

次に、ステップS2において、制御部71は、新転送装置3の処理比率が100%に達したか否かを判定し、Yesの場合はステップS3に進み、Noの場合はステップS4に進む。
ステップS3において、制御部71は、旧転送装置2から新転送装置3への移行(切り替え)が完了した旨を表示部(全図で不図示)に表示させ、処理を終了する。
Next, in step S2, the control unit 71 determines whether or not the processing ratio of the new transfer device 3 has reached 100%. If Yes, the process proceeds to step S3. If No, the process proceeds to step S4.
In step S3, the control unit 71 displays on the display unit (not shown in all drawings) that the transition (switching) from the old transfer device 2 to the new transfer device 3 has been completed, and ends the process.

ステップS4において、制御部71は、性能判定装置6からの指示に基づき、新転送装置3のリソース使用率が所定の閾値(例えば90%)を超えたか否かを判定し、Yesの場合はステップS5に進み、Noの場合はステップS1に戻る。   In step S4, the control unit 71 determines whether or not the resource usage rate of the new transfer device 3 exceeds a predetermined threshold (for example, 90%) based on an instruction from the performance determination device 6. Proceed to S5, and if No, return to Step S1.

ステップS5において、制御部71は、新転送装置3のリソース使用率が所定の閾値を超えた旨の警告を表示部(全図で不図示)に表示させ、処理を終了する。つまり、新転送装置3のリソース使用率が所定の閾値を超えた場合(ステップS4でYes)、ステップS1に戻らないので、新転送装置3の処理比率はそれ以上上がらない。なお、制御部71は、性能判定装置6から、新転送装置3の処理比率の減少に関する指示を受けた場合は、それを実行する。   In step S5, the control unit 71 displays a warning to the effect that the resource usage rate of the new transfer device 3 has exceeded a predetermined threshold on the display unit (not shown in all drawings), and ends the process. That is, when the resource usage rate of the new transfer device 3 exceeds a predetermined threshold (Yes in step S4), the processing rate of the new transfer device 3 does not increase any more because the process does not return to step S1. If the control unit 71 receives an instruction from the performance determination device 6 regarding a decrease in the processing ratio of the new transfer device 3, the control unit 71 executes the instruction.

このように、本実施形態の処理システム1000によれば、仮想化環境で、仮想化によって搭載される機能が固定ではない旧転送装置2、新転送装置3に関して、OpenFlowスイッチである要求振分装置1および応答振分装置4を用いて旧転送装置2に対する新転送装置3の処理比率が徐々に増加するように振り分けの制御を行うとともに、旧転送装置2から新転送装置3への処理の完全移行の前に、新転送装置3のリソース使用率が所定の閾値を超えた場合は、その処理比率の増加を停止させることで、切り替え時の支障発生を抑止することができる。   As described above, according to the processing system 1000 of the present embodiment, a request distribution device that is an OpenFlow switch with respect to the old transfer device 2 and the new transfer device 3 in which the functions mounted by virtualization are not fixed in a virtual environment. 1 and the response distribution device 4 are used to control the distribution so that the processing ratio of the new transfer device 3 to the old transfer device 2 gradually increases, and complete processing from the old transfer device 2 to the new transfer device 3 If the resource usage rate of the new transfer device 3 exceeds a predetermined threshold before the transition, it is possible to suppress the trouble at the time of switching by stopping the increase in the processing ratio.

また、OpenFlowスイッチである要求振分装置1および応答振分装置4が、自身の複数の出力ポートのうち、1つを旧転送装置2へのデータ送信に用い、他の1つを新転送装置3へのデータ送信に用いることで、旧転送装置2と新転送装置3に対してデータ送受信のために用いるIPアドレスおよび/またはMACアドレスを共通で割り当てることができ、旧転送装置2から新転送装置3への切り替えに付随する作業を低減することができる。   Further, the request distribution device 1 and the response distribution device 4 which are OpenFlow switches use one of their own output ports for data transmission to the old transfer device 2 and the other one as a new transfer device. 3 can be used in common to assign an IP address and / or a MAC address used for data transmission / reception to the old transfer device 2 and the new transfer device 3. Work associated with switching to the device 3 can be reduced.

(比較例)
次に、比較例について説明する。図5(a)に示すように、要求振分装置としてOpenFlowスイッチではなくロードバランサ(LB)を用い、応答振分装置としてOpenFlowスイッチではなくルータを用いた場合、旧転送装置と新転送装置のIPアドレスとMACアドレスを別々(B1とB2,C1とC2)にしなければならず、旧転送装置から新転送装置への切り替えに付随する作業が増大してしまう。
(Comparative example)
Next, a comparative example will be described. As shown in FIG. 5A, when a load balancer (LB) is used instead of an OpenFlow switch as a request distribution device and a router instead of an OpenFlow switch is used as a response distribution device, the old transfer device and the new transfer device The IP address and the MAC address must be made separate (B1 and B2, C1 and C2), and the work accompanying switching from the old transfer device to the new transfer device increases.

また、図5(b)に示すように、要求振分装置および応答振分装置としてOpenFlowスイッチではなくL2SWを用いた場合、旧転送装置と新転送装置のIPアドレスとMACアドレスは共通にできるが、旧転送装置と新転送装置にVRRP(Virtual Router Redundancy Protocol)の機能追加を行う必要が生じ、やはり、旧転送装置から新転送装置への切り替えに付随する作業が増大してしまう。   Further, as shown in FIG. 5B, when the request distribution device and the response distribution device use L2SW instead of the OpenFlow switch, the IP address and MAC address of the old transfer device and the new transfer device can be made common. Therefore, it becomes necessary to add a function of VRRP (Virtual Router Redundancy Protocol) to the old transfer device and the new transfer device, and the work accompanying switching from the old transfer device to the new transfer device also increases.

以上で本実施形態の説明を終えるが、本発明の態様はこれらに限定されるものではない。
例えば、切り替える対象は転送装置に限定されず、IAサーバなどの他の処理装置であってもよい。
Although description of this embodiment is finished above, the aspect of the present invention is not limited to these.
For example, the target to be switched is not limited to the transfer device, but may be another processing device such as an IA server.

また、要求振分装置1と応答振分装置4は、OpenFlowスイッチに限定されず、同様の動作が可能な仮想スイッチ全般で実現可能である。
その他、具体的な構成や処理について、本発明の主旨を逸脱しない範囲で適宜変更が可能である。
Further, the request distribution device 1 and the response distribution device 4 are not limited to OpenFlow switches, and can be realized by general virtual switches that can perform the same operation.
In addition, specific configurations and processes can be appropriately changed without departing from the gist of the present invention.

1 要求振分装置(仮想スイッチ)
2 旧転送装置(処理装置)
3 新転送装置(処理装置)
4 応答振分装置(仮想スイッチ)
5 サーバ
6 性能判定装置
7 制御装置
71 制御部
72 記憶部
100 クライアント
721 要求振分用情報
721a フローテーブル
721b グループテーブル
722 応答振分用情報
722a フローテーブル
1000 処理システム
1 Request distribution device (virtual switch)
2 Old transfer device (processing device)
3 New transfer equipment (processing equipment)
4 Response distribution device (virtual switch)
DESCRIPTION OF SYMBOLS 5 Server 6 Performance determination apparatus 7 Control apparatus 71 Control part 72 Memory | storage part 100 Client 721 Request distribution information 721a Flow table 721b Group table 722 Response distribution information 722a Flow table 1000 Processing system

Claims (4)

仮想化環境で、仮想化によって搭載される機能が固定ではない処理装置を用いた処理システムであって、
所定の処理を行う旧処理装置と、
前記旧処理装置で行っている処理を新たに引き継ぐ新処理装置と、
行うべき処理を前記旧処理装置と前記新処理装置のいずれかに振り分ける仮想スイッチと、
前記仮想スイッチに対して、前記旧処理装置に対する前記新処理装置の処理比率が徐々に増加するように振り分けるよう制御するとともに、前記旧処理装置から前記新処理装置への処理の完全移行の前に、前記新処理装置のリソース使用率が所定の閾値を超えた場合は、前記処理比率の増加を停止させる制御装置と、
を備えることを特徴とする処理システム。
In a virtualized environment, a processing system using a processing device in which functions mounted by virtualization are not fixed,
An old processing device for performing predetermined processing;
A new processing device that newly takes over the processing performed in the old processing device;
A virtual switch that distributes the processing to be performed to either the old processing device or the new processing device;
The virtual switch is controlled so that the processing ratio of the new processing device to the old processing device is gradually increased, and before the complete transition of processing from the old processing device to the new processing device. A control device that stops the increase in the processing ratio when the resource usage rate of the new processing device exceeds a predetermined threshold;
A processing system comprising:
前記旧処理装置と前記新処理装置は、データ送受信のために用いるIP(Internet Protocol)アドレスおよび/またはMAC(Media Access Control)アドレスを共通で割り当てられており、
前記仮想スイッチは、自身の複数の出力ポートのうち、1つを前記旧処理装置へのデータ送信に用い、他の1つを前記新処理装置へのデータ送信に用いる
ことを特徴とする請求項1に記載の処理システム。
The old processing device and the new processing device are commonly assigned an IP (Internet Protocol) address and / or a MAC (Media Access Control) address used for data transmission / reception,
The virtual switch uses one of its plurality of output ports for data transmission to the old processing device and the other one for data transmission to the new processing device. The processing system according to 1.
仮想化環境で、仮想化によって搭載される機能が固定ではない処理装置を用いた処理システムによる処理装置切り替え方法であって、
前記処理システムは、
所定の処理を行う旧処理装置と、
前記旧処理装置で行っている処理を新たに引き継ぐ新処理装置と、
行うべき処理を前記旧処理装置と前記新処理装置のいずれかに振り分ける仮想スイッチと、
制御装置と、を備えており、
前記制御装置は、
前記仮想スイッチに対して、前記旧処理装置に対する前記新処理装置の処理比率が徐々に増加するように振り分けるよう制御するとともに、前記旧処理装置から前記新処理装置への処理の完全移行の前に、前記新処理装置のリソース使用率が所定の閾値を超えた場合は、前記処理比率の増加を停止させる
ことを特徴とする処理装置切り替え方法。
In a virtual environment, a processing device switching method by a processing system using a processing device in which the function mounted by virtualization is not fixed,
The processing system includes:
An old processing device for performing predetermined processing;
A new processing device that newly takes over the processing performed in the old processing device;
A virtual switch that distributes the processing to be performed to either the old processing device or the new processing device;
A control device, and
The controller is
The virtual switch is controlled so that the processing ratio of the new processing device to the old processing device is gradually increased, and before the complete transition of processing from the old processing device to the new processing device. When the resource usage rate of the new processing device exceeds a predetermined threshold value, the increase in the processing rate is stopped.
前記旧処理装置と前記新処理装置は、データ送受信のために用いるIPアドレスおよび/またはMACアドレスを共通で割り当てられており、
前記仮想スイッチは、自身の複数の出力ポートのうち、1つを前記旧処理装置へのデータ送信に用い、他の1つを前記新処理装置へのデータ送信に用いる
ことを特徴とする請求項3に記載の処理装置切り替え方法。
The old processing device and the new processing device are commonly assigned an IP address and / or a MAC address used for data transmission / reception,
The virtual switch uses one of its plurality of output ports for data transmission to the old processing device and the other one for data transmission to the new processing device. 4. The processing apparatus switching method according to 3.
JP2015025989A 2015-02-13 2015-02-13 Processing system and processing device switching method Active JP6371715B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015025989A JP6371715B2 (en) 2015-02-13 2015-02-13 Processing system and processing device switching method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015025989A JP6371715B2 (en) 2015-02-13 2015-02-13 Processing system and processing device switching method

Publications (2)

Publication Number Publication Date
JP2016149664A true JP2016149664A (en) 2016-08-18
JP6371715B2 JP6371715B2 (en) 2018-08-08

Family

ID=56688500

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015025989A Active JP6371715B2 (en) 2015-02-13 2015-02-13 Processing system and processing device switching method

Country Status (1)

Country Link
JP (1) JP6371715B2 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001236293A (en) * 2000-02-24 2001-08-31 Nec Corp Server load distributing device
JP2008211567A (en) * 2007-02-27 2008-09-11 Nec Corp Traffic route changing method and system
WO2009004734A1 (en) * 2007-07-05 2009-01-08 Fujitsu Limited Virtual server system, virtual server system control method, virtual server system control program, and service load balancer
JP2011081588A (en) * 2009-10-07 2011-04-21 Nec Corp Computer system and maintenance method for the same
JP2012134582A (en) * 2010-12-20 2012-07-12 Nec Corp Packet relay device
JP2013183440A (en) * 2012-03-05 2013-09-12 Ntt Docomo Inc Communication control device, communication control system, virtual server management device, switch device and communication control method
JP2014230234A (en) * 2013-05-27 2014-12-08 株式会社Nttドコモ Network management device and network management method
JP2015149532A (en) * 2014-02-05 2015-08-20 富士通株式会社 Management device, management method, and management program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001236293A (en) * 2000-02-24 2001-08-31 Nec Corp Server load distributing device
JP2008211567A (en) * 2007-02-27 2008-09-11 Nec Corp Traffic route changing method and system
WO2009004734A1 (en) * 2007-07-05 2009-01-08 Fujitsu Limited Virtual server system, virtual server system control method, virtual server system control program, and service load balancer
JP2011081588A (en) * 2009-10-07 2011-04-21 Nec Corp Computer system and maintenance method for the same
JP2012134582A (en) * 2010-12-20 2012-07-12 Nec Corp Packet relay device
JP2013183440A (en) * 2012-03-05 2013-09-12 Ntt Docomo Inc Communication control device, communication control system, virtual server management device, switch device and communication control method
JP2014230234A (en) * 2013-05-27 2014-12-08 株式会社Nttドコモ Network management device and network management method
JP2015149532A (en) * 2014-02-05 2015-08-20 富士通株式会社 Management device, management method, and management program

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
吉羽 龍太郎: "Provisioning & Deploy on AWS", AWS BLACK BELT TECH WEBINAR 2014(旧マイスターシリーズ), JPN6018002145, 7 July 2014 (2014-07-07), ISSN: 0003776786 *
小川 大地: "第1回 Hyper-V 2.0のライブ・マイグレーションの基礎知識(1/5)", ATMARIT, JPN6018013136, 16 December 2009 (2009-12-16), ISSN: 0003776785 *

Also Published As

Publication number Publication date
JP6371715B2 (en) 2018-08-08

Similar Documents

Publication Publication Date Title
EP3355553B1 (en) Reliable load-balancer using segment routing and real-time application monitoring
US11316786B2 (en) Systems and methods for directly responding to distributed network traffic
JP6254574B2 (en) Packet processing offload for networking device virtualization
JP5610247B2 (en) Network system and policy route setting method
US9560016B2 (en) Supporting IP address overlapping among different virtual networks
CN107077579B (en) Method, apparatus, and medium for providing stateful services on stateless cluster edges
US9967257B2 (en) Software defined network (SDN) application integrity
US11228527B2 (en) Load balancing between edge systems in a high availability edge system pair
CN104468775A (en) Distributed router obtaining method suitable for cloud computing
JP2017098935A (en) Virtual router cluster, data transfer method and device
US10904148B2 (en) Flow-based local egress in a multisite datacenter
US11070475B2 (en) Transparent migration of virtual network functions
CN105556929A (en) Network element and method of running applications in a cloud computing system
US9864856B2 (en) Efficient hardware trust verification in data communication systems that comprise network interface cards, central processing units, and data memory buffers
US20190042314A1 (en) Resource allocation
US11595304B2 (en) Communication device, communication control system, communication control method, and communication control program
CN105872048B (en) Control method and electronic equipment
CN106921553B (en) Method and system for realizing high availability in virtual network
JP6371715B2 (en) Processing system and processing device switching method
US10079718B1 (en) Network traffic processing system
JP6053032B2 (en) COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL PROGRAM
US20190199579A1 (en) Method for automatically renovating correspondence failure of actual and virtual addresses of network equipment
JP6153903B2 (en) Service chaining system, service chaining policy control apparatus, and service chaining method
JP5550764B1 (en) Open flow network system
US20230224248A1 (en) Nat-based traffic steering

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170224

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180112

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180330

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180417

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180713

R150 Certificate of patent or registration of utility model

Ref document number: 6371715

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150