JP2018137570A - Load control system and load control method - Google Patents
Load control system and load control method Download PDFInfo
- Publication number
- JP2018137570A JP2018137570A JP2017029842A JP2017029842A JP2018137570A JP 2018137570 A JP2018137570 A JP 2018137570A JP 2017029842 A JP2017029842 A JP 2017029842A JP 2017029842 A JP2017029842 A JP 2017029842A JP 2018137570 A JP2018137570 A JP 2018137570A
- Authority
- JP
- Japan
- Prior art keywords
- physical
- server
- link group
- load
- physical link
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
本発明は、大規模データセンタなどにおける物理サーバの負荷分散に好適な負荷制御システムおよび負荷制御方法に関する。 The present invention relates to a load control system and a load control method suitable for load distribution of physical servers in a large-scale data center or the like.
SSI(Single System Image)技術とは、複数の物理サーバを1台の論理サーバとして仮想化し、複数のサーバリソースを協調させることで大規模な仮想化サーバを構築することをいう(非特許文献1)。これによりシステム全体の性能を向上させて、高負荷処理を実現し、大容量データの使用が可能となり、例えばロードバランサや、WebAPIの処理に好適である。SSI技術を実現するソフトウェアは、例えばOS(Operating System)と連携して動作する。 SSI (Single System Image) technology means that a plurality of physical servers are virtualized as one logical server and a large-scale virtual server is constructed by coordinating a plurality of server resources (Non-patent Document 1). ). As a result, the performance of the entire system is improved, high-load processing is realized, and a large amount of data can be used, which is suitable for, for example, a load balancer and Web API processing. Software that implements the SSI technology operates in cooperation with, for example, an OS (Operating System).
更にNIC(Network Interface Card)に着目すると、複数の物理サーバにまたがってNICを論理サーバに割当てて、L2(Layer 2)スイッチにLAG(Link Aggregation)設定を行うことは負荷分散の観点からメリットが大きい。 Furthermore, paying attention to NIC (Network Interface Card), assigning NIC to logical servers across multiple physical servers and setting LAG (Link Aggregation) in L2 (Layer 2) switch is advantageous from the viewpoint of load distribution. large.
LAG設定されたL2スイッチは、パケットを複数のNICへ振り分ける。クライアントから仮想化サーバに送信されたパケットが、どのNICに振り分けられるかは、L2スイッチに予め設定されたアルゴリズムに依存する。L2スイッチがどのNICへパケットが振り分けるかに関しては、ブラックボックス化されている。一般的には、このL2スイッチを制御して、クライアントから仮想化サーバに送信されたパケットが、どのNICに振り分けられるかを制御することはできない。 The L2 switch for which LAG is set distributes the packet to a plurality of NICs. The NIC to which the packet transmitted from the client to the virtualization server is distributed depends on an algorithm set in advance in the L2 switch. The NIC to which the L2 switch assigns the packet is black boxed. In general, it is impossible to control which NIC the packet transmitted from the client to the virtualization server is distributed by controlling this L2 switch.
そのため、このL2スイッチに到達したパケットを、どのNICを備える物理サーバに振り分けるかについては制御できない。よって、このようなシステムでは、物理サーバの負荷の偏りを分散できない。なお、このような物理サーバの負荷の偏りは、例えば、特定の物理サーバにアクセスが集中することによって生じる。
また、OSのアップデートなどの際に、特定の物理サーバでの処理を停止することができない。L2スイッチは、この特定の物理サーバにもパケットを振り分ける可能性があるためである。
For this reason, it is not possible to control to which physical server a NIC is provided that distributes packets that have reached this L2 switch. Therefore, in such a system, it is not possible to distribute the load imbalance of the physical server. Note that such an uneven load on the physical server occurs, for example, when access concentrates on a specific physical server.
Further, it is not possible to stop processing on a specific physical server when updating the OS. This is because the L2 switch may distribute packets to this specific physical server.
そこで、本発明は、各パケットを、どの物理サーバに振り分けるかについて制御可能とする負荷制御システムおよび負荷制御方法を提供することを課題とする。 Therefore, an object of the present invention is to provide a load control system and a load control method that can control which physical server to which each packet is distributed.
前記した課題を解決するため、請求項1に記載の発明では、第1の物理リンク群に対してリンクアグリゲーション設定を行うL2スイッチと、前記第1の物理リンク群と第2の物理リンク群との間のパケットを振り分けるOpenFlowスイッチと、それぞれが前記第2の物理リンク群のいずれかに接続され、かつSSI(Single System Image)技術によって単一の仮想化サーバに仮想化された複数の物理サーバと、を備えることを特徴とする負荷制御システムとした。
In order to solve the above-described problem, in the invention according to
このようにすることで、外部から受信した各パケットを、どの物理サーバに振り分けるかについて制御可能となる。 In this way, it is possible to control to which physical server each packet received from the outside is distributed.
請求項2に記載の発明では、前記物理サーバは、自身の負荷を検知する負荷検知部を備え、前記仮想化サーバは、各前記物理サーバが備える前記負荷検知部によって負荷の偏りを検知すると、前記OpenFlowスイッチに対して、前記第1の物理リンク群と前記第2の物理リンク群との間のパケットの振り分け先を変更させる振分変更部を備える、ことを特徴とする請求項1に記載の負荷制御システムとした。
In the invention according to
このようにすることで、この仮想化サーバを構成する各物理サーバの負荷を調整可能である。 By doing in this way, it is possible to adjust the load of each physical server constituting this virtual server.
請求項3に記載の発明では、前記OpenFlowスイッチは、前記第1の物理リンク群と前記第2の物理リンク群との間のパケットの振り分け先の変更指示を受けると、前記各物理サーバの負荷を平準化するように、前記第1の物理リンク群と前記第2の物理リンク群との間のパケットを振り分ける、ことを特徴とする請求項2に記載の負荷制御システムとした。
According to a third aspect of the present invention, when the OpenFlow switch receives an instruction to change the distribution destination of a packet between the first physical link group and the second physical link group, the load of each
このようにすることで、仮想化サーバを構成する各物理サーバの負荷を平準化することかできる。 By doing in this way, the load of each physical server which comprises a virtualization server can be equalized.
請求項4に記載の発明では、前記仮想化サーバは、前記OpenFlowスイッチに対して、第2の物理リンク群のうち所定の物理サーバに接続される物理リンクに対して、パケットを振り分けないように変更させる処理停止決定部を備える、ことを特徴とする請求項1に記載の負荷制御システムとした。
In the invention according to
このようにすることで、仮想化サーバによるパケットの処理を停止することなく、この仮想化サーバを構成する各物理サーバのうちいずれかを停止可能となる。 By doing in this way, it becomes possible to stop any of the physical servers constituting the virtualization server without stopping the packet processing by the virtualization server.
請求項5に記載の発明では、前記処理停止決定部は、前記OpenFlowスイッチに対して、第2の物理リンク群のうち所定の物理サーバに接続される物理リンクに対して、パケットを振り分けないように変更させ、所定時間が経過したのちに前記所定の物理サーバを停止させる、ことを特徴とする請求項4に記載の負荷制御システムとした。
In the invention according to claim 5, the processing stop determination unit does not distribute packets to a physical link connected to a predetermined physical server in the second physical link group with respect to the OpenFlow switch. The load control system according to
このようにすることで、仮想化サーバによるパケットの処理を誤って停止することがなくなる。 By doing so, packet processing by the virtualization server is not erroneously stopped.
請求項6に記載の発明では、前記OpenFlowスイッチは、各前記物理サーバの負荷を検知する負荷検知部を備え、前記仮想化サーバは、前記負荷検知部によって負荷の偏りを検知すると、前記OpenFlowスイッチに対して、前記第1の物理リンク群と前記第2の物理リンク群との間のパケットの振り分け先を変更させる振分変更部を備える、ことを特徴とする請求項1に記載の負荷制御システムとした。
According to a sixth aspect of the present invention, the OpenFlow switch includes a load detection unit that detects a load of each physical server, and the virtualization server detects the load bias by the load detection unit, and the OpenFlow switch The load control according to
このようにすることで、各物理サーバに負荷検知部を設けることなく、これら物理サーバの負荷を検知することができる。 By doing in this way, the load of these physical servers can be detected, without providing a load detection part in each physical server.
請求項7に記載の発明では、論理リンク群に対してリンクアグリゲーション設定を行うと共に、前記論理リンク群と物理リンク群との間のパケットを振り分けるL2スイッチと、それぞれが前記物理リンク群に接続され、かつSSI技術によって単一の仮想化サーバに仮想化された複数の物理サーバと、を備えることを特徴とする負荷制御システムとした。 In the invention according to claim 7, the link aggregation setting is performed for the logical link group, and the L2 switch that distributes packets between the logical link group and the physical link group, and each is connected to the physical link group. And a plurality of physical servers virtualized to a single virtualization server by SSI technology.
このようにすることで、仮想サーバによる高負荷処理を実現することができる。 By doing in this way, the high load process by a virtual server is realizable.
請求項8に記載の発明では、第1の物理リンク群に対してリンクアグリゲーション設定を行うL2スイッチと、それぞれが第2の物理リンク群のいずれかに接続され、かつSSI技術によって単一の仮想化サーバに仮想化された複数の物理サーバとの間に接続されたOpenFlowスイッチが実行する負荷制御方法であって、前記OpenFlowスイッチは、各前記物理サーバの負荷が平準化されるように、前記第1の物理リンク群と前記第2の物理リンク群との間のパケットを振り分けるステップ、を実行することを特徴とする負荷制御方法とした。 In the invention according to claim 8, the L2 switch for performing the link aggregation setting for the first physical link group, each connected to one of the second physical link groups, and a single virtual link by the SSI technology The OpenFlow switch is connected to a plurality of physical servers virtualized by the virtualization server, and the OpenFlow switch performs the load control so that the load on each physical server is leveled. The load control method is characterized by executing a step of distributing packets between the first physical link group and the second physical link group.
このようにすることで、外部から受信した各パケットを、どの物理サーバに振り分けるかについて制御可能となる。 In this way, it is possible to control to which physical server each packet received from the outside is distributed.
本発明によれば、各パケットを、どの物理サーバに振り分けるかについて制御可能となる。 According to the present invention, it is possible to control to which physical server each packet is distributed.
以降、本発明を実施するための形態を、各図を参照して詳細に説明する。
図1は、第1の実施形態における負荷制御システムSの構成図である。
第1の実施形態の負荷制御システムSは、L2スイッチ1と、物理回線10a〜10dと、OpenFlowスイッチ2と、物理回線20a〜20dと、物理サーバ3A,3Bとを備える。これら物理サーバ3A,3Bは、SSI技術によって仮想化された1台の仮想化サーバ4として動作する。第1の実施形態は、L2スイッチ1の後段に、物理的なOpenFlowスイッチ2を設けて、パケットの中継先を切り替えている。
Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings.
FIG. 1 is a configuration diagram of a load control system S in the first embodiment.
The load control system S of the first embodiment includes an
L2スイッチ1は、LAG設定部11と、インタフェース12、インタフェース13a〜13dを備えている。インタフェース12は、インターネット9の不図示のエッジに接続される。インタフェース13a〜13dは、それぞれ物理回線10a〜10d(第1の物理リンク群)を介して、OpenFlowスイッチ2のインタフェース22a〜22dに接続される。
The
L2スイッチ1は、パケットに宛先情報として含まれるMAC(Media Access Control)アドレスで中継先を判断して、このパケットを中継する。L2スイッチ1は更に、LAG設定部11により、自身のインタフェース13a〜13dに接続された複数の物理回線10a〜10d(第1の物理リンク群)を束ねる。このように、物理リンク群を束ねることを、リングアグリゲーション設定という。L2スイッチ1は更に、仮想化サーバ4を宛先とするパケットを、LAG設定で束ねられた複数の物理回線10a〜10dのいずれかに中継する。
The
OpenFlowスイッチ2は、振分設定部21と、インタフェース22a〜22dと、インタフェース23a〜23dと、フローテーブル25とを備える。フローテーブル25は、OpenFlowコントローラにより設定される。OpenFlowスイッチ2の振分設定部21は、このフローテーブル25に基づいて、パケットの中継先を切り替える。インタフェース23a,23bは、それぞれ物理回線20a,20b(第2の物理リンク群)を介して、物理サーバ3AのNIC31a,31bに接続される。インタフェース23c,23dは、それぞれ物理回線20c,20dを介して、物理サーバ3BのNIC31c,31dに接続される。以下、各NIC31a〜31dを特に区別しないときには、単にNIC31と記載する。
The OpenFlow
物理サーバ3Aは、NIC31a,31bと負荷検知部32を備える。物理サーバ3Bは、NIC31c,31dと負荷検知部32を備える。この負荷検知部32は、各物理サーバ3A,3Bの負荷の偏りを検知するためのものである。負荷検知部32は、物理サーバ3が備える不図示のCPU(Central Processing Unit)リソース、メモリリソース、NICの通信リソースなどから、それぞれ物理サーバ3A,3Bの負荷を検知する。これら物理サーバ3A,3Bは、SSI技術で仮想化された仮想化サーバ4を具現化する。以下、物理サーバ3A,3Bを区別しないときには、単に物理サーバ3と記載する。
The
仮想化サーバ4は、OpenFlowコントローラとして機能する振分変更部41および処理停止決定部42と、パケットを処理するパケット処理部43を備える。仮想化サーバ4は、複数の物理サーバ3A,3Bによって実現される。
振分変更部41や処理停止決定部42は、負荷検知部32によって物理サーバ3の負荷の偏りを検知すると、OpenFlowスイッチ2のフローテーブル25を設定する。これにより、OpenFlowスイッチ2はパケットの中継先を切り替え、仮想化サーバ4へのパケット振り分け先は変更される。
振分変更部41の動作は、後記する図2で説明する。処理停止決定部42の動作は、後記する図3で説明する。
The
The
The operation of the
図2は、振分先変更処理を説明するシーケンス図である。
L2スイッチ1が、インターネット9に接続された外部装置からパケットを受信すると(ステップS10)、この振分先変更処理が開始する。このパケットは、仮想化サーバ4を宛先とするものである。L2スイッチ1は、仮想化サーバ4に通信するための物理回線10a〜10dをLAG設定で束ねている。よってL2スイッチ1は、このLAG設定に従って、このパケットの転送先を決定し(ステップS11)、決定した転送先の経路を介してこのパケットを転送する(ステップS12)。このパケットは、物理回線10a〜10dのいずれかを介してOpenFlowスイッチ2に転送される。
FIG. 2 is a sequence diagram for explaining the distribution destination changing process.
When the
このパケットを受信すると、OpenFlowスイッチ2は、振り分け設定に従って、このパケットの転送先を決定し(ステップS13)、決定した転送先の経路を介してこのパケットを転送する(ステップS14)。このパケットは、物理回線20a〜20dのいずれかを介して、複数の物理サーバ3A,3Bのうちいずれかに転送される。なお、この図2では物理サーバ3と記載している。
When receiving this packet, the
このパケットを受信すると、物理サーバ3は、SSI技術により仮想化サーバ4にパケットを転送する(ステップS15)。仮想化サーバ4は、このパケットに係る処理を実行する物理サーバ3を決定し(ステップS16)、決定した物理サーバ3に対してこのパケットに係る処理を命令する(ステップS17)。これらステップS15〜S17の処理は、いずれもSSI技術によって実行される。このパケットに係る処理を命令された物理サーバ3は、このパケットに係る処理を実行する(ステップS18)。
なお、ステップS15でパケットを転送する物理サーバ3と、ステップS18でパケットに係る処理を実行する物理サーバ3とは相違する場合がある。この場合には、一方の物理サーバ3から、他方の物理サーバ3へ、処理命令を含んだ信号が送信される。
When receiving this packet, the
Note that the
ステップS19において、特定の物理サーバ3で処理の偏りが発生する。仮想化サーバ4は、各物理サーバ3に対して負荷を問い合わせ(ステップS20)、この負荷応答を受信する(ステップS21)。これらステップS20,S21の処理は、仮想化サーバ4が定期的に行う処理(ポーリング)である。
仮想化サーバ4は、特定の物理サーバ3における負荷の偏りを検知すると(ステップS22)、振り分けを変更することを決定する(ステップS23)。仮想化サーバ4は、物理サーバ3における負荷が平準化されるような振り分け設定を算出する。仮想化サーバ4は、算出した振り分け設定への変更要求をOpenFlowスイッチ2に送信する(ステップS24)。
In step S <b> 19, processing bias occurs in the specific
When the
振り分け設定の変更要求を受信すると、OpenFlowスイッチ2は、自身の振り分け設定を変更し(ステップS25)、変更完了通知を仮想化サーバ4に応答する(ステップS26)。これにより、各物理サーバ3における負荷が平準化される。
When receiving the distribution setting change request, the
図3は、停止処理を説明するシーケンス図である。
図3のステップS30〜S38の処理は、図2に示したステップS10〜S18の処理と同様である。
例えば、システム管理者の操作等に基づき、仮想化サーバ4は、特定の物理サーバ3の処理を停止させることを決定する(ステップS39)。仮想化サーバ4は、この物理サーバ3へパケットを振り分けないように振り分け設定を算出する。仮想化サーバ4は、算出した振り分け設定への変更要求をOpenFlowスイッチ2に送信する(ステップS40)。
FIG. 3 is a sequence diagram illustrating the stop process.
The processes in steps S30 to S38 in FIG. 3 are the same as the processes in steps S10 to S18 shown in FIG.
For example, based on the operation of the system administrator or the like, the
振り分け設定の変更要求を受信すると、OpenFlowスイッチ2は、自身の振り分け設定を変更し(ステップS41)、振り分け設定の変更完了通知を仮想化サーバ4に応答する(ステップS42)。これ以降、特定の物理サーバ3へパケットが振り分けられなくなる。
Upon receiving the distribution setting change request, the
仮想化サーバ4は、ステップS42の時点から所定時間だけ待つ(ステップS43)。特定の物理サーバ3へのパケットの振り分けを停止した後であっても、この物理サーバ3は、停止前に受信したパケットの処理を行っている場合があるからである。ステップS43以降、システム管理者は、仮想化サーバ4によるパケット処理を中断することなく、特定の物理サーバ3の処理を停止させることができる。
仮想化サーバ4は更に、特定の物理サーバ3のSSIクラスタ設定を解除する(ステップS44)。その後、システム管理者は、この特定の物理サーバ3の処理を停止させるとよい。
なお、仮想化サーバ4は、ステップS42の時点から特定の物理サーバ3の処理状態を監視して、パケットの処理が停止したのちに特定の物理サーバ3のSSIクラスタ設定を解除してもよい。
The
The
The
なお、特定の物理サーバ3へパケットを振り分けないようにした後、この物理サーバ3のOSやアプリケーションのアップデートを行ってもよい。システム管理者は、仮想化サーバ4によるパケット処理を中断することなく、特定の物理サーバ3のOSやアプリケーションのアップデートを行うことができる。
Note that the OS and application of the
図4は、比較例の振分動作を説明する図である。
比較例の負荷制御システムSは、L2スイッチ1と、物理回線10a〜10dと、物理サーバ3A,3Bとを備える。これら物理サーバ3A,3Bは、SSI技術によって仮想化された1台の仮想化サーバ4として動作する。
L2スイッチ1は、LAG設定部11と、インタフェース12、インタフェース13a〜13dを備えている。インタフェース12は、インターネット9の不図示のエッジに接続される。インタフェース13a,13bは、それぞれ物理回線10a,10bを介して、物理サーバ3AのNIC31a,31bに接続される。インタフェース13c,13dは、それぞれ物理回線10c,10dを介して、物理サーバ3AのNIC31c,31dに接続される。
FIG. 4 is a diagram for explaining the sorting operation of the comparative example.
The load control system S of the comparative example includes an
The
L2スイッチ1は、パケットに宛先情報として含まれるMACアドレスで中継先を判断して、このパケットを中継する。L2スイッチ1は更に、LAG設定部11により、自身のインタフェース13a〜13dに接続された複数の物理回線10a〜10d(第1の物理リンク群)を束ねる。L2スイッチ1は更に、仮想化サーバ4を宛先とするパケットを、LAG設定で束ねられた複数の物理回線10a〜10dのいずれかに中継する。図の破線は、仮想化サーバ4を宛先とするパケットを示している。図4に示した例は、物理回線10a,10bを介して中継されるパケット量が多く、物理回線10c,10dを介して中継されるパケット量が少ないことを示している。このとき、物理サーバ3Aの負荷が大きく、物理サーバ3Bの負荷は小さい。
The
図5は、第1の実施形態の振分動作を説明する図である。
図5に示した例は、物理回線10a,10bを介して中継されるパケット量が多く、物理回線10c,10dを介して中継されるパケット量が少ないことを示している。
更にOpenFlowスイッチ2の振分設定部21(図1参照)は、フローテーブル25(図1参照)に基づいて、パケットの中継先を切り替えている。
FIG. 5 is a diagram for explaining the sorting operation of the first embodiment.
The example shown in FIG. 5 indicates that the amount of packets relayed via the
Further, the distribution setting unit 21 (see FIG. 1) of the
OpenFlowスイッチ2は、物理回線10aを介して中継されるパケットを、物理回線20aを介して物理サーバ3AのNIC31aに中継する。OpenFlowスイッチ2は、物理回線10bを介して中継されるパケットを、物理回線20cを介して物理サーバ3BのNIC31cに中継する。OpenFlowスイッチ2は、物理回線10cを介して中継されるパケットを、物理回線20bを介して物理サーバ3AのNIC31bに中継する。OpenFlowスイッチ2は、物理回線10dを介して中継されるパケットを、物理回線20dを介して物理サーバ3BのNIC31dに中継する。つまり、OpenFlowスイッチ2は、インタフェース13bを介して中継されるパケットを物理サーバ3BのNIC31cに中継している。OpenFlowスイッチ2は更に、インタフェース13cを介して中継されるパケットを物理サーバ3AのNIC31bに中継している。このように、振り分け先を変更することで、物理サーバ3Aが処理するパケット量と、物理サーバ3Bが処理するパケット量が平準化される。
The
なお、第1の実施形態では、各物理サーバ3A,3Bがそれぞれ複数のNIC31を有している。これにより、OpenFlowスイッチ2は、一方のインタフェース22a〜22dと他方のインタフェース23a〜23dとの間の接続を切り替えるだけで、或る程度のパケット量の平準化を行うことができる。
In the first embodiment, each
図6は、第2の実施形態における負荷制御システムSの構成図である。
第2の実施形態の負荷制御システムSは、第1の実施形態とは異なり、L2スイッチ5の後段に論理のOpenFlowスイッチである振分設定部52が設けられている。この振分設定部52により、パケットの中継先を切り替えさせることができる。
L2スイッチ5は、インタフェース12と、LAG設定部51と、振分設定部52と、インタフェース57a〜57dを備えている。インタフェース12は、インターネット9のエッジ(不図示)と接続されている。インタフェース57a〜57dは、それぞれNIC31a〜31dと接続されている。
LAG設定部51は、論理インタフェース53と、論理インタフェース54a〜54dを備えている。論理インタフェース53は、インタフェース12と論理的に接続されている。論理インタフェース54a〜54dは、それぞれ論理インタフェース55a〜55dと論理的に接続されている。
振分設定部52は、論理インタフェース55a〜55dと、論理インタフェース56a〜56dと、フローテーブル58とを備えている。論理インタフェース56a〜56dは、インタフェース57a〜57dと論理的に接続されている。
FIG. 6 is a configuration diagram of the load control system S in the second embodiment.
Unlike the first embodiment, the load control system S of the second embodiment is provided with a
The L2 switch 5 includes an
The
The
このように、第2の実施形態では、L2スイッチ5に論理のOpenFlowスイッチである振分設定部52を設けている。これによっても、各パケットを、どの物理サーバに振り分けるかについて制御可能とすることができる。
As described above, in the second embodiment, the L2 switch 5 is provided with the
図7は、第3の実施形態における負荷制御システムSの構成図である。
第3の実施形態の負荷制御システムSは、第1の実施形態とは異なり、OpenFlowスイッチ2に負荷検知部24が設けられている。負荷検知部24は、各インタフェース23a〜23dを介して中継される各パケット量を検知するものである。
この負荷検知部24によって、各物理サーバ3に振り分けられているパケット量を検知し、よって負荷を検知してもよい。
FIG. 7 is a configuration diagram of the load control system S in the third embodiment.
Unlike the first embodiment, the load control system S of the third embodiment is provided with a
The
(本実施形態の効果)
従来のL2スイッチでは、パケット振り分け先を変更できなかった。しかし第1〜第3の実施形態では、物理のOpenFlowスイッチ2やL2スイッチ1への機能追加により、パケット振り分け先を変更可能としている。これにより、負荷制御システムSは、物理サーバ3の負荷の偏りを解消できる。
更に、特定の物理サーバに処理を集中、もしくは特定の物理サーバでの処理を取りやめることで、OSやアプリケーションのアップデート等をサービス中断なく実行できる。
(Effect of this embodiment)
In the conventional L2 switch, the packet distribution destination cannot be changed. However, in the first to third embodiments, the packet distribution destination can be changed by adding a function to the
Furthermore, by concentrating the processing on a specific physical server or canceling the processing on a specific physical server, it is possible to update the OS and applications without interrupting the service.
(変形例)
本発明は、上記実施形態に限定されることなく、本発明の趣旨を逸脱しない範囲で、変更実施が可能であり、例えば、次の(a)〜(e)のようなものがある。
(a) 第1および第2の実施形態では、物理サーバ3に負荷検知部32が設けられている。第3の実施形態では、OpenFlowスイッチ2に負荷検知部24が設けられて、物理サーバ3へ振り分けられているパケット数を検知して負荷を検知している。しかし、これに限られず、L2スイッチに論理のOpenFlowスイッチと負荷検知部とが設けられてもよい。これにより、各物理サーバへ振り分けられているパケット数を検知して、各物理サーバの負荷を検知することができる。よって、各物理サーバへのパケット数を平準化し、各物理サーバの負荷を平準化することができる。
(b) 各物理サーバの数は2台に限定されず、3台以上であってもよい。
(c) 各物理サーバが有するNIC数は、2個に限定されない。
(d) OpenFlowスイッチの動作は、一方の物理リンク群と他方の物理リンク群との間のパケットを一対一で振り分ける動作に限定されず、任意の基準で振り分けてもよい。
(e) 仮想化サーバが各物理サーバの負荷を監視することに限定されない。各物理サーバが自身の負荷を監視し、負荷が所定閾値を超えたときに仮想化サーバに通知してもよい。
(Modification)
The present invention is not limited to the above-described embodiment, and can be modified without departing from the spirit of the present invention. For example, there are the following (a) to (e).
(A) In the first and second embodiments, the
(B) The number of each physical server is not limited to two, and may be three or more.
(C) The number of NICs that each physical server has is not limited to two.
(D) The operation of the OpenFlow switch is not limited to the operation of distributing packets between one physical link group and the other physical link group on a one-to-one basis, and may be distributed on an arbitrary basis.
(E) The virtualization server is not limited to monitoring the load of each physical server. Each physical server may monitor its own load and notify the virtualization server when the load exceeds a predetermined threshold.
S 負荷制御システム
1 L2スイッチ
10a〜10d 物理回線 (第1の物理リンク群)
11 LAG設定部
12,13a〜13d インタフェース
2 OpenFlowスイッチ
20a〜20d 物理回線 (第2の物理リンク群)
21 振分設定部
22a〜22d,23a〜23d インタフェース
24 負荷検知部
25 フローテーブル
3 物理サーバ
3A 物理サーバ
3B 物理サーバ
31a〜31d NIC
32 負荷検知部
4 仮想化サーバ
41 振分変更部
42 処理停止決定部
43 パケット処理部
5 L2スイッチ
51 LAG設定部
52 振分設定部
53,54a〜54d,55a〜55d,56a〜56d 論理インタフェース
57a〜57d インタフェース
58 フローテーブル
9 インターネット
S
11
21
32
Claims (8)
前記第1の物理リンク群と第2の物理リンク群との間のパケットを振り分けるOpenFlowスイッチと、
それぞれが前記第2の物理リンク群のいずれかに接続され、かつSSI(Single System Image)技術によって単一の仮想化サーバに仮想化された複数の物理サーバと、
を備えることを特徴とする負荷制御システム。 An L2 switch that performs link aggregation setting for the first physical link group;
An OpenFlow switch that distributes packets between the first physical link group and the second physical link group;
A plurality of physical servers each connected to one of the second physical link groups and virtualized to a single virtual server by SSI (Single System Image) technology;
A load control system comprising:
前記仮想化サーバは、各前記物理サーバが備える前記負荷検知部によって負荷の偏りを検知すると、前記OpenFlowスイッチに対して、前記第1の物理リンク群と前記第2の物理リンク群との間のパケットの振り分け先を変更させる振分変更部を備える、
ことを特徴とする請求項1に記載の負荷制御システム。 The physical server includes a load detection unit that detects its own load,
When the virtualization server detects a load imbalance by the load detection unit included in each physical server, the virtualization server is configured to connect the OpenFlow switch between the first physical link group and the second physical link group. A distribution changing unit for changing the packet distribution destination;
The load control system according to claim 1.
ことを特徴とする請求項2に記載の負荷制御システム。 When the OpenFlow switch receives an instruction to change the distribution destination of a packet between the first physical link group and the second physical link group, the OpenFlow switch is configured to level the load on each physical server. Distributing packets between one physical link group and the second physical link group;
The load control system according to claim 2.
ことを特徴とする請求項1に記載の負荷制御システム。 The virtualization server includes a processing stop determining unit that causes the OpenFlow switch to change a physical link connected to a predetermined physical server in the second physical link group so as not to distribute packets.
The load control system according to claim 1.
ことを特徴とする請求項4に記載の負荷制御システム。 The processing stop determination unit causes the OpenFlow switch to change so that packets are not distributed to physical links connected to a predetermined physical server in the second physical link group, and a predetermined time has elapsed. To stop the predetermined physical server later,
The load control system according to claim 4.
前記仮想化サーバは、前記負荷検知部によって負荷の偏りを検知すると、前記OpenFlowスイッチに対して、前記第1の物理リンク群と前記第2の物理リンク群との間のパケットの振り分け先を変更させる振分変更部を備える、
ことを特徴とする請求項1に記載の負荷制御システム。 The OpenFlow switch includes a load detection unit that detects the load of each physical server,
When the load detection unit detects a load imbalance, the virtualization server changes a packet distribution destination between the first physical link group and the second physical link group with respect to the OpenFlow switch. A distribution change section
The load control system according to claim 1.
それぞれが前記物理リンク群に接続され、かつSSI技術によって単一の仮想化サーバに仮想化された複数の物理サーバと、
を備えることを特徴とする負荷制御システム。 L2 switch that performs link aggregation setting for the logical link group and distributes packets between the logical link group and the physical link group;
A plurality of physical servers each connected to the physical link group and virtualized to a single virtualized server by SSI technology;
A load control system comprising:
前記OpenFlowスイッチは、各前記物理サーバの負荷が平準化されるように、前記第1の物理リンク群と前記第2の物理リンク群との間のパケットを振り分けるステップ、
を実行することを特徴とする負荷制御方法。 A plurality of L2 switches that perform link aggregation setting for the first physical link group, each of which is connected to one of the second physical link groups and virtualized to a single virtualization server by SSI technology A load control method executed by an OpenFlow switch connected to a physical server,
The OpenFlow switch distributes packets between the first physical link group and the second physical link group so that the load of each physical server is leveled;
The load control method characterized by performing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017029842A JP6734793B2 (en) | 2017-02-21 | 2017-02-21 | Load control system and load control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017029842A JP6734793B2 (en) | 2017-02-21 | 2017-02-21 | Load control system and load control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2018137570A true JP2018137570A (en) | 2018-08-30 |
JP6734793B2 JP6734793B2 (en) | 2020-08-05 |
Family
ID=63367131
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017029842A Active JP6734793B2 (en) | 2017-02-21 | 2017-02-21 | Load control system and load control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6734793B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1127320A (en) * | 1997-07-03 | 1999-01-29 | Fujitsu Ltd | Packet relay control method, packet relay device, and program storage medium |
JP2013013032A (en) * | 2011-06-30 | 2013-01-17 | Fujitsu Ltd | Communication control method and communication control program |
JP2014220675A (en) * | 2013-05-09 | 2014-11-20 | 日本電信電話株式会社 | Communication control system |
-
2017
- 2017-02-21 JP JP2017029842A patent/JP6734793B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH1127320A (en) * | 1997-07-03 | 1999-01-29 | Fujitsu Ltd | Packet relay control method, packet relay device, and program storage medium |
JP2013013032A (en) * | 2011-06-30 | 2013-01-17 | Fujitsu Ltd | Communication control method and communication control program |
JP2014220675A (en) * | 2013-05-09 | 2014-11-20 | 日本電信電話株式会社 | Communication control system |
Also Published As
Publication number | Publication date |
---|---|
JP6734793B2 (en) | 2020-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2020239763B2 (en) | Virtual network, hot swapping, hot scaling, and disaster recovery for containers | |
US11895016B2 (en) | Methods and apparatus to configure and manage network resources for use in network-based computing | |
US10498601B2 (en) | Dynamic, load-based, auto-scaling network security microservices architecture | |
EP3135007B1 (en) | System and method for live migration of a virtualized networking stack | |
EP3586494B1 (en) | Load balancing in distributed computing systems | |
US10326838B2 (en) | Live migration of probe enabled load balanced endpoints in a software defined network | |
JP6393742B2 (en) | Multipath routing with distributed load balancers | |
US12068957B2 (en) | Methods and physical network to reduce network dependencies in a multi-fabric virtual network | |
US7984123B2 (en) | Method and system for reconfiguring a virtual network path | |
US8370530B2 (en) | Method and system for controlling network traffic in a blade chassis | |
US10225194B2 (en) | Transparent network-services elastic scale-out | |
EP3201761A1 (en) | Load balancing | |
US20190020559A1 (en) | Distributed health check in virtualized computing environments | |
US20130054817A1 (en) | Disaggregated server load balancing | |
JP5983782B2 (en) | Computer system, communication control server, communication control method and program | |
Hikichi et al. | Dynamic application load balancing in distributed SDN controller | |
US10333867B2 (en) | Active-active load-based teaming | |
WO2016051335A1 (en) | Algorithm for faster convergence through affinity override | |
US10659391B1 (en) | Methods and apparatus to preserve packet order in a multi-fabric virtual network | |
JP6734793B2 (en) | Load control system and load control method | |
JP2013161283A (en) | Server, physical node, load distribution method and program | |
JP6572184B2 (en) | Packet transfer system and packet transfer method | |
WO2016119877A1 (en) | Load balancing of data packet flows |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20190308 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20191209 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20200204 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200406 |
|
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: 20200707 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200710 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6734793 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |