JP7613022B2 - Information processing device, cluster node, cluster system, information processing method and program - Google Patents
Information processing device, cluster node, cluster system, information processing method and program Download PDFInfo
- Publication number
- JP7613022B2 JP7613022B2 JP2020130122A JP2020130122A JP7613022B2 JP 7613022 B2 JP7613022 B2 JP 7613022B2 JP 2020130122 A JP2020130122 A JP 2020130122A JP 2020130122 A JP2020130122 A JP 2020130122A JP 7613022 B2 JP7613022 B2 JP 7613022B2
- Authority
- JP
- Japan
- Prior art keywords
- virtual machine
- address
- cluster node
- information
- migration
- 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.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims description 83
- 238000003672 processing method Methods 0.000 title claims description 9
- 238000013508 migration Methods 0.000 claims description 92
- 230000005012 migration Effects 0.000 claims description 92
- 230000005540 biological transmission Effects 0.000 claims description 24
- 230000006870 function Effects 0.000 description 19
- 238000012544 monitoring process Methods 0.000 description 14
- 230000008859 change Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 238000012546 transfer Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 4
- 230000004913 activation Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 238000004549 pulsed laser deposition Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Landscapes
- Hardware Redundancy (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Description
本発明は、情報処理装置、クラスタノード、クラスタシステム、情報処理方法及びプログラムに関する。 The present invention relates to an information processing device, a cluster node, a cluster system, an information processing method, and a program.
特許文献1には、装置の内部ログが埋め込まれたハートビート信号に基づいて、ログ情報を装置の外部で抽出する技術が開示されている。 Patent document 1 discloses a technique for extracting log information outside a device based on a heartbeat signal in which the device's internal log is embedded.
特許文献1には、装置の内部ログが埋め込まれたハートビート信号を装置の外部に送信して、ログ情報を装置の外部で抽出させる技術が開示されている。しかし、仮想マシン(Virtual Machine,VM)が動作する装置の内部においてマイグレーションが生じた場合、装置と装置の外部とのルーティングを維持するためには、ログ情報でなく経路情報を外部に送信する必要がある。また、別装置で装置の経路情報を管理すると追加のコストが生じ得る。
本発明の目的は、上述した課題を解決する情報処理装置、クラスタノード、クラスタシステム、情報処理方法及びプログラムを提供することにある。
Patent Literature 1 discloses a technology in which a heartbeat signal in which an internal log of a device is embedded is sent to the outside of the device, and the log information is extracted outside the device. However, when migration occurs inside a device in which a virtual machine (VM) runs, it is necessary to send route information to the outside, not log information, in order to maintain routing between the device and the outside of the device. In addition, managing the route information of the device with a separate device may result in additional costs.
An object of the present invention is to provide an information processing device, a cluster node, a cluster system, an information processing method, and a program that solve the above-mentioned problems.
本発明に係る情報処理装置は、1つ以上の仮想マシンが動作する第1クラスタノードに組み込まれる装置であって、仮想マシンのマイグレーションが生じた場合、仮想マシンが属するネットワークセグメントの経路情報を外部に送信する送信手段を備える。 The information processing device according to the present invention is a device incorporated in a first cluster node on which one or more virtual machines operate, and includes a transmission means for transmitting route information of a network segment to which the virtual machine belongs to an external device when migration of the virtual machine occurs.
本発明に係るクラスタノードは、ネットワークと接続されるネットワークアダプタと、ホストOS機能手段と、1つ以上の仮想マシンと、ネットワークアダプタと1つ以上の仮想マシンとの間、またはホストOS機能手段と1つ以上の仮想マシンとの間でパケットを転送するパケット転送装置と、を備え、パケット転送装置は、仮想マシンのマイグレーションが生じた場合、仮想マシンが属するネットワークセグメントの経路情報を外部に送信する送信手段を有する。 The cluster node according to the present invention comprises a network adapter connected to a network, a host OS function means, one or more virtual machines, and a packet forwarding device that forwards packets between the network adapter and the one or more virtual machines, or between the host OS function means and the one or more virtual machines, and the packet forwarding device has a transmission means that transmits to the outside route information of the network segment to which the virtual machine belongs when migration of the virtual machine occurs.
本発明に係るクラスタシステムは、第1クラスタノードと、第2クラスタノードとを含むクラスタシステムであって、第1クラスタノードは、ネットワークと接続されるネットワークアダプタと、ホストOS機能手段と、1つ以上の仮想マシンと、ネットワークアダプタと1つ以上の仮想マシンとの間、またはホストOS機能手段と1つ以上の仮想マシンとの間でパケットを転送するパケット転送装置と、を備え、パケット転送装置は、仮想マシンのマイグレーションが生じた場合、仮想マシンが属するネットワークセグメントの経路情報を外部に送信する送信手段を有する。 The cluster system according to the present invention is a cluster system including a first cluster node and a second cluster node, the first cluster node including a network adapter connected to a network, a host OS function means, one or more virtual machines, and a packet forwarding device that forwards packets between the network adapter and the one or more virtual machines, or between the host OS function means and the one or more virtual machines, and the packet forwarding device includes a transmission means that transmits route information of the network segment to which the virtual machine belongs to an external device when migration of the virtual machine occurs.
本発明に係る情報処理方法は、1つ以上の仮想マシンが動作する第1クラスタノードにおいて、仮想マシンのマイグレーションが生じた場合、仮想マシンが属するネットワークセグメントの経路情報を外部に送信することを含む。 The information processing method according to the present invention includes transmitting, to the outside, route information of the network segment to which the virtual machine belongs when migration of the virtual machine occurs in a first cluster node on which one or more virtual machines are running.
本発明に係るプログラムは、1つ以上の仮想マシンが動作する第1クラスタノードのコンピュータを、仮想マシンのマイグレーションが生じた場合、仮想マシンが属するネットワークセグメントの経路情報を外部に送信することとして実行させる。 The program of the present invention causes a computer of a first cluster node on which one or more virtual machines are running to transmit, to the outside, route information of the network segment to which the virtual machine belongs when migration of the virtual machine occurs.
上記態様のうち少なくとも1つの態様によれば、仮想マシンを備える装置にマイグレーションが生じた場合、装置の外部に別装置を設けなくても、マイグレーションに係る経路情報を装置の外部で受信することができる。 According to at least one of the above aspects, when migration occurs in a device having a virtual machine, route information related to the migration can be received outside the device without having to provide a separate device outside the device.
〈第1の実施形態〉
《情報処理システムの構成》
以下、第1の実施形態に係る情報処理システム1の構成について説明する。
図1は、第1の実施形態に係る情報処理システム1の構成を示す図である。情報処理システム1は、クライアントマシン101と、ネットワーク102と、クラスタノード10を備える。
First Embodiment
Configuration of Information Processing System
The configuration of the information processing system 1 according to the first embodiment will be described below.
1 is a diagram showing the configuration of an information processing system 1 according to the first embodiment. The information processing system 1 includes a client machine 101, a
情報処理システム1は、複数のクラスタノード10を連携して1つのシステムとして運用される。情報処理システム1は、クラスタシステムの一例である。第1の実施形態において、情報処理システム1は高可用性(High Availability,HA)クラスタシステムである。HAクラスタシステムの詳細について以下にて説明する。
The information processing system 1 is operated as a single system by linking
<HAクラスタシステム>
HAクラスタシステムとは、複数のクラスタノードをお互い接続させて、複数のクラスタノード10を1つのシステムのように振る舞わせるシステムである。HAクラスタシステムは、クラスタノード10を複数台使用してシステムを冗長化する。これにより、HAクラスタシステムはHAクラスタシステムの障害時におけるシステムの停止時間を最小限に抑え、HAクラスタシステムにより稼働する業務の可用性を向上させる。ここで、上記障害の例としては、クラスタノードの障害と、クラスタノードを接続させるネットワークの障害が挙げられる。HAクラスタシステムにおいて、クラスタノードは役割により現用系と待機系と称される。現用系とは、業務アプリケーションが起動しているクラスタノードをいう。待機系とは、現用系に障害が生じた場合に、現用系の業務アプリケーションを切り替えるための予備のクラスタノードをいう。上記業務アプリケーションは、クラスタノードで動作する仮想マシンの上で起動する。
<HA Cluster System>
The HA cluster system is a system in which a plurality of
上記マイグレーションの例としては、クイックマイグレーション(または、コールドマイグレーションともいう)と、ライブマイグレーションとが挙げられる。クイックマイグレーションとは、HAクラスタシステムの障害が検出された場合、現用系で動作する仮想マシンを一時停止させて、仮想マシンを待機系に移動させた後、仮想マシンを再動作させることをいう。他方、ライブマイグレーションとは、HAクラスタシステムの障害が検出された場合、現用系で動作する仮想マシンを動作させたまま、仮想マシンを待機系に移動させることをいう。第1の実施形態における情報処理システム1のマイグレーションはクイックマイグレーションをいう。 Examples of the above migration include quick migration (also called cold migration) and live migration. Quick migration refers to pausing a virtual machine running in an active system when a failure is detected in an HA cluster system, moving the virtual machine to a standby system, and then restarting the virtual machine. On the other hand, live migration refers to moving a virtual machine running in an active system to a standby system while keeping it running when a failure is detected in an HA cluster system. The migration of the information processing system 1 in the first embodiment refers to quick migration.
HAクラスタシステムの運用形態の例としては、片方向スタンバイと、双方向スタンバイとが挙げられる。片方向スタンバイとは、各クラスタノードが現用系と待機系のうち、何れか一方のみとして運用される運用形態である。他方、双方向スタンバイとは、各クラスタノードが、起動する業務アプリケーションにより、現用系及び待機系として運用される運用形態である。 Examples of operation modes of an HA cluster system include unidirectional standby and bidirectional standby. Unidirectional standby is an operation mode in which each cluster node is operated as either the active system or the standby system. On the other hand, bidirectional standby is an operation mode in which each cluster node is operated as either the active system or the standby system depending on the business application that is launched.
HAクラスタシステムは、予め設定された時間ごとに、各クラスタノードに障害が生じているかいなかを判定するために、信号(以下、ハートビート信号と称する)を送る。例えば、クラスタノードの電源が遮断された場合、ハートビート信号で当該クラスタノードの障害が判定されると、マイグレーションが行われる。 The HA cluster system sends a signal (hereafter referred to as a heartbeat signal) at preset intervals to determine whether or not a failure has occurred in each cluster node. For example, if the power to a cluster node is cut off, and the heartbeat signal determines that the cluster node has failed, migration will be performed.
<クライアントマシンとネットワーク>
以下、クライアントマシン101と、ネットワーク102について説明する。
クライアントマシン101は、ネットワーク102を介して複数のクラスタノード10と接続し、クラスタノード10で動作する仮想マシンで起動する業務アプリケーションを利用する。図1において、1つのクライアントマシン101が表されているが、情報処理システム1は、複数のクライアントマシン101を備えても良い。
ネットワーク102は、有線又は無線でクライアントマシン101とクラスタノード10を接続させる。
<Client machines and networks>
The client machine 101 and the
The client machine 101 is connected to a plurality of
The
<クラスタノード>
以下、クラスタノード10の構成について説明する。
図1において、情報処理システム1はクラスタノード10Aと、クラスタノード10Bとを備える。情報処理システム1は、3つ以上のクラスタノード10を備えても良い。クラスタノード10Aは、第1クラスタノードの一例である。クラスタノード10Bは、第2クラスタノードの一例である。
クラスタノード10は、1つ以上の仮想マシン116を動作させる。クラスタノード10の詳細な構成について以下にて説明する。
<Cluster node>
The configuration of the
1, the information processing system 1 includes a
The
図2はクラスタノード10の構成を示す図である。
クラスタノード10は、ホストOS(Operating System)111と、仮想ポート112と、物理NIC(Network Interface Card)113と、パケット転送装置114と、仮想スイッチ115と、仮想マシン116を備える。ここで、仮想ポート112と、仮想スイッチ115と、仮想マシン116は、物理装置でなく、クラスタノード10が備える記憶装置(図示しない)に記録される仮想化ソフトウェア(図示しない)により実現される。また、ホストOS111は、物理装置でなく、クラスタノード10の記憶装置に記録されるソフトウェアである。
FIG. 2 is a diagram showing the configuration of the
The
仮想ポート112は、データを送信し、データを受信するインタフェースである。図2に示すように、仮想ポート112により、クラスタノード10が備えるハードウェア及びソフトウェアの間でデータの送信とデータの受信が可能になる。各仮想ポート112には、IP(Internet Protocol)アドレスが割り当てられている。
仮想ポート112Bは仮想ポート112Aと接続する。仮想ポート112Bは、仮想ポート112Aをデフォルトゲートウェイとする。仮想ポート112Aは、物理NIC113Aと接続する。仮想ポート112Aは、ネットワーク102に接続する何れかの装置をデフォルトゲートウェイとする。仮想ポート112Cは仮想スイッチ115Aと接続する。仮想ポート112Dは仮想スイッチ115Bと接続する。仮想スイッチ115と接続する仮想ポート112の数は一例である。パケット転送装置114は、仮想スイッチ115の数に対応する仮想ポート112の数と接続する。
The virtual ports 112 are interfaces for transmitting and receiving data. As shown in Fig. 2, the virtual ports 112 enable data transmission and reception between the hardware and software included in the
物理NIC113は、クラスタノード10とネットワーク102とを接続させる装置である。クラスタノード10は、他のクラスタノード10又はクライアントマシン101と、物理NIC113を介してデータを送信し、データを受信できる。物理NIC113は、ネットワークアダプタの一例である。クラスタノード10A及びクラスタノード10Bは、それぞれ1つの物理NIC113を備える。物理NICは仮想ポート112と接続する。
The physical NIC 113 is a device that connects the
仮想スイッチ115は、データの通信状態及びデータの経路を制御する。例えば、仮想スイッチ115Aは、パケット転送装置114Aからデータを受信して、仮想マシン116A又は仮想マシン116Bへデータを送信する。また、仮想スイッチ115Aは、仮想マシン116A又は仮想マシン116Bから受信したデータをパケット転送装置114Bに送信する。
各クラスタノード10は、2つの仮想スイッチ115を有する。クラスタノード10は、3つ以上の仮想スイッチ115を有しても良い。クラスタノード10は、仮想マシン116が属するネットワークセグメント131の数と同数の仮想スイッチ115を有する。図2に示す仮想スイッチ115の数は一例である。
The virtual switch 115 controls the communication state of data and the path of data. For example, the
Each
仮想マシン116は、クラスタノード10の物理マシン上において動作する仮想のコンピュータである。仮想マシン116上で、基本ソフトウェアが動作する。また、仮想マシン116で動作する基本ソフトウェア上で、業務アプリケーションが起動する。
仮想マシン116A及び仮想マシン116Bは、仮想スイッチ115Aと接続する。仮想マシン116A及び仮想マシン116Bは、仮想ポート112Cをデフォルトゲートウェイとする。また、仮想マシン116Cは、仮想スイッチ115Bと接続する。仮想マシン116Cは、仮想ポート112Dをデフォルトゲートウェイとする。なお、図1及び図2に示す仮想マシン116の数は一例である。
The virtual machine 116 is a virtual computer that runs on a physical machine of the
The
<ホストOS>
以下、ホストOS111について詳細に説明する。
ホストOS111は、クラスタノード10の全体を管理し、クラスタノード10の仮想化ソフト及びクロスプラットフォーム141を動作させる基本ソフトウェアである。ホストOS111は、ホストOS機能手段の一例である。
<Host OS>
The host OS 111 will be described in detail below.
The host OS 111 is basic software that manages the
クロスプラットフォーム141は、ホストOS111と仕様の異なる環境で動作するクラスタ情報提供部142及びVM監視部143を動作させるソフトウェアである。クラスタ情報提供部142及びVM監視部143が動作する仕様と、ホストOS111の仕様が同様である場合、クラスタノード10はクロスプラットフォーム141を動作させなくもて良い。
クロスプラットフォーム141上において、クラスタ情報提供部142と、VM監視部143が動作する。
The cross platform 141 is software that operates a cluster information providing unit 142 and a VM monitoring unit 143 that operate in an environment with specifications different from those of the host OS 111. When the specifications under which the cluster information providing unit 142 and the VM monitoring unit 143 operate are similar to the specifications of the host OS 111, the
A cluster information providing unit 142 and a VM monitoring unit 143 operate on the cross platform 141 .
クラスタ情報提供部142は、仮想マシン116のIPアドレスと、仮想マシン116が動作しているクラスタノード10のIPアドレスを取得する。また、クラスタ情報提供部142は、VM監視部143から仮想マシン116の情報を受信した場合、仮想マシン116のIPアドレスと、マイグレーションに係るクラスタノード10のIPアドレスを、パケット転送装置114に送信する。
例えば、仮想マシン116にマイグレーションが生じた場合、クラスタ情報提供部142はVM監視部143から仮想マシン116の情報を受信する。クラスタ情報提供部142はマイグレーションにより新たにクラスタノード10に接続された仮想マシン116のIPアドレスと、クラスタノード10のIPアドレスを取得する。クラスタ情報提供部142は、取得した仮想マシン116のIPアドレス及びクラスタノード10のIPアドレスを、パケット転送装置114に送信する。
The cluster information providing unit 142 acquires the IP address of the virtual machine 116 and the IP address of the
For example, when migration occurs in the virtual machine 116, the cluster information providing unit 142 receives information about the virtual machine 116 from the VM monitoring unit 143. The cluster information providing unit 142 acquires the IP address of the virtual machine 116 newly connected to the
VM監視部143は、仮想マシン116に障害が発生しているか否かを判定する。仮想マシン116に障害が発生していると判定された場合、VM監視部143はマイグレーションを実行させる。マイグレーションの詳細な動作については後述する。また、VM監視部143はマイグレーションが生じたか否かを判定する。VM監視部143は判定手段の一例である。また、VM監視部143はマイグレーションが生じた場合、マイグレーションに係る仮想マシン116の情報をクラスタ情報提供部142に送信する。 The VM monitoring unit 143 determines whether or not a failure has occurred in the virtual machine 116. If it is determined that a failure has occurred in the virtual machine 116, the VM monitoring unit 143 executes migration. Detailed operations of migration will be described later. The VM monitoring unit 143 also determines whether or not migration has occurred. The VM monitoring unit 143 is an example of a determination means. If migration has occurred, the VM monitoring unit 143 sends information about the virtual machine 116 related to the migration to the cluster information providing unit 142.
物理NIC113Aはネットワークセグメント131Aに属する。物理NIC113Bはネットワークセグメント131Bに属する。仮想スイッチ115A、仮想マシン116A、仮想マシン116B、仮想マシン116C、仮想スイッチ115C及び仮想マシン116Dは、ネットワークセグメント131Cに属する。仮想スイッチ115B、仮想マシン116C及び仮想スイッチ115Dは、ネットワークセグメント131Dに属する。
<マイグレーション>
以下、情報処理装置のマイグレーションについて説明する。
仮想マシン116C上の業務アプリケーションが起動しているとする。この場合、仮想マシン116Cが動作するクラスタノード10Aは現用系である。VM監視部143Aは仮想マシン116Cの障害を検出する。その後、VM監視部143Aは、仮想マシン116Cのマイグレーションを実行する。仮想マシン116Cのマイグレーションは以下のように実行される。仮想マシン116Cは、仮想マシン116Cが属するネットワークセグメント131Dの仮想スイッチ115のうち、他のクラスタノード10B(待機系)で動作する仮想スイッチ115Dに接続される。すなわち、マイグレーションの後、仮想マシン116Cは仮想スイッチ115Dに接続される。
<Migration>
The migration of information processing devices will be described below.
Assume that a business application on the
<パケット転送装置>
以下、パケット転送装置114について詳細に説明する。
パケット転送装置114は、仮想マシン116のマイグレーションが生じた場合、仮想マシン116が属するネットワークセグメント131の経路情報を外部に送信する。パケット転送装置114は、物理NIC113と仮想マシン116と間でパケットを転送する。パケット転送装置114は、ホストOS111と仮想マシン116と間でパケットを転送する。パケット転送装置114は、情報処理装置の一例である。パケット転送装置114は、ルーティング部121と、経路情報送信部122と、VM起動ノード記憶部123と、ヘッダ書換部124を備える。
<Packet forwarding device>
The
When migration of the virtual machine 116 occurs, the
ルーティング部121は、VM起動ノード記憶部123に記憶されたアドレス情報に基づき、パケットの転送先を決定する。また、ルーティング部121は、決定した転送先にパケットを転送する。ルーティング部121は、転送手段の一例である。アドレス情報とは、仮想マシン116のIPアドレスとパケット転送装置114のIPアドレスとを関連付けた情報である。IPアドレスの詳細については、後述する。
例えば、ルーティング部121Aは、パケット転送装置114Aと接続する仮想ポート112A、仮想ポート112C及び仮想ポート112Dの何れかから受け取ったパケットを適切な仮想ポート112(転送先)に向けて転送する。
The
For example, the
経路情報送信部122は、VM起動ノード記憶部123に記憶されたアドレス情報に基づいて、仮想マシン116が属するネットワークセグメント131の経路情報を生成する。また、経路情報送信部122は、VM監視部143によりマイグレーションが生じたと判定された場合、生成された経路情報を外部に送信する。経路情報送信部122は、送信手段の一例である。経路情報送信部122は、経路情報の送信に動的ルーティングアルゴリズムを用いる。
例えば、経路情報送信部122Aは、仮想マシン116A、仮想マシン116B及び仮想マシンCが属するネットワークセグメント131の経路情報を外部に送信する。すなわち、経路情報送信部122Aは、ネットワークセグメント131A及びネットワークセグメント131Bの経路情報を外部に送信する。外部に送信された経路情報はネットワーク102内のルータ(図示しない)やスイッチ(図示しない)に記録される。これにより、ネットワーク102内の機器はネットワークセグメント131に属する仮想マシン116と通信可能になる。
The route information transmitting unit 122 generates route information of the network segment 131 to which the virtual machine 116 belongs, based on the address information stored in the VM startup node storage unit 123. Furthermore, when the VM monitoring unit 143 determines that migration has occurred, the route information transmitting unit 122 transmits the generated route information to the outside. The route information transmitting unit 122 is an example of a transmitting means. The route information transmitting unit 122 uses a dynamic routing algorithm to transmit the route information.
For example, the route
VM起動ノード記憶部123は、クラスタ情報提供部142から仮想マシン116のIPアドレス及びパケット転送装置114のIPアドレスを受信して、アドレス情報を記憶する。VM起動ノード記憶部123は記憶手段の一例である。
図3は、アドレス情報の一例を示す図である。例えば、仮想マシン116A、仮想マシン116B及び仮想マシン116CのIPアドレスと、パケット転送装置114AのIPアドレスは関連付けられてアドレス情報として記憶される。また、仮想マシン116DのIPアドレスとパケット転送装置114BのIPアドレスは関連付けられてアドレス情報として記憶される。図3に示すように、アドレス情報は、クラスタノード10Aとは異なるクラスタノード10Bで動作する仮想マシン116DのIPアドレスも含む。
The VM startup node storage unit 123 receives the IP address of the virtual machine 116 and the IP address of the
3 is a diagram showing an example of address information. For example, the IP addresses of the
例えば、クラスタノード10Aにマイグレーションが生じた場合、クラスタ情報提供部142Aはマイグレーションに係る仮想マシン116のIPアドレス及びクラスタノード10AのIPアドレスを、パケット転送装置114Aに送信する。上記マイグレーションに係る仮想マシン116のIPアドレス及びクラスタノード10AのIPアドレスは、第1情報の一例である。VM起動ノード記憶部123Aはマイグレーションに係る仮想マシン116のIPアドレス及びクラスタノード10AのIPアドレスを受信して、アドレス情報を更新する。例えば、クラスタノード10Bにマイグレーションが生じた場合、クラスタ情報提供部142Bはマイグレーションに係る仮想マシン116のIPアドレス及びクラスタノード10BのIPアドレスを、パケット転送装置114Bに送信する。上記マイグレーションに係る仮想マシン116のIPアドレス及びクラスタノード10BのIPアドレスは、第2情報の一例である。VM起動ノード記憶部123Aはマイグレーションに係る仮想マシン116のIPアドレス及びクラスタノード10BのIPアドレスを受信して、アドレス情報を更新する。
For example, when migration occurs in
ヘッダ書換部124は、物理NIC113と接続される仮想ポート112のIPアドレスを宛先とするパケットをルーティング部121が受信した場合、VM起動ノード記憶部123に記憶されたアドレス情報に基づき、新たなIPヘッダを作成し受信したパケットをカプセル化する。上記他のクラスタノード10とは、ヘッダ書換部124が動作しているクラスタノード10ではないクラスタノード10をいう。ヘッダ書換部124は、書換手段の一例である。
この場合、宛先IPアドレスは他のクラスタノード10で動作するパケット転送装置114となる。また、送信元IPアドレスはヘッダ書換部124が動作しているパケット転送装置114となる。また、ヘッダ書換部124は、宛先MACアドレスをネットワーク102のゲートウェイのMACアドレスに書き換える。また、ヘッダ書換部124は、送信元MACアドレスを仮想ポート112AのMACアドレスに書き換える。ルーティング部121は、ヘッダ書換部124により書き換えられたアドレスに係るパケットを転送する。ルーティング部121は、ARP(Address Resolution Protocol)の機能を有しており、ARPを用いてMACアドレスを取得する。
When the
In this case, the destination IP address is the
また、ヘッダ書換部124は、自クラスタノード10で動作するパケット転送装置114を宛先とするパケットをルーティング部121が受信した場合、パケットを非カプセル化する。ルーティング部121は、非カプセル化されたパケットを対応する仮想ポート112から転送する。上記自クラスタノード10とは、ヘッダ書換部124が動作しているクラスタノード10をいう。
When the
<マイグレーションに係る情報処理システムの動作>
以下、マイグレーションに係る情報処理システム1の動作について説明する。
図4は、マイグレーションに係る情報処理システム1の動作を示すフローチャートである。
<Operation of information processing system related to migration>
The operation of the information processing system 1 related to migration will be described below.
FIG. 4 is a flowchart showing the operation of the information processing system 1 regarding migration.
VM監視部143は、仮想マシン116の障害を検出する(ステップS1)。
VM監視部143は、仮想マシン116のマイグレーションを実行する(ステップS2)。マイグレーションを失敗した場合、再度ステップS1からの動作又はステップS2の動作が行われる。
The VM monitor 143 detects a failure in the virtual machine 116 (step S1).
The VM monitor 143 executes migration of the virtual machine 116 (step S2). If the migration fails, the operation from step S1 or the operation from step S2 is performed again.
VM監視部143は、ステップS2のマイグレーションに係る仮想マシン116の情報をクラスタ情報提供部142に送信する(ステップS3)。
クラスタ情報提供部142は、ステップS2のマイグレーションに係る仮想マシン116のIPアドレスと、クラスタノード10のIPアドレスを、パケット転送装置114に送信する(ステップS4)。
The VM monitor unit 143 transmits information about the virtual machine 116 related to the migration in step S2 to the cluster information provider 142 (step S3).
The cluster information providing unit 142 transmits the IP address of the virtual machine 116 involved in the migration in step S2 and the IP address of the
VM起動ノード記憶部123は、ステップS4で送信された仮想マシン116のIPアドレス及びパケット転送装置114のIPアドレスを受信して、アドレス情報を更新する(ステップS5)。
パケット転送装置114は、ステップS2のマイグレーションにより、仮想マシン116が新たなネットワークセグメント131に属することになったか否かを判定する(ステップS6)。
The VM startup node storage unit 123 receives the IP address of the virtual machine 116 and the IP address of the
The
仮想マシン116が新たなネットワークセグメント131に属することになっていない場合(ステップS6:NO)、マイグレーションに係る情報処理システム1の動作は終了する。
他方、仮想マシン116が新たなネットワークセグメント131に属することになった場合(ステップS6:YES)、経路情報送信部122は経路情報を外部に送信する(ステップS7)。ここで、経路情報送信部122は、ステップS2のマイグレーションにより、ネットワークセグメント131に仮想マシン116が1台も属しないことになった場合、当該ネットワークセグメント131にかかる経路情報の送信を行わない。
If the virtual machine 116 is not to belong to the new network segment 131 (step S6: NO), the operation of the information processing system 1 relating to the migration ends.
On the other hand, if the virtual machine 116 belongs to the new network segment 131 (step S6: YES), the route information transmitting unit 122 transmits the route information to the outside (step S7). Here, if no virtual machine 116 belongs to the network segment 131 due to the migration in step S2, the route information transmitting unit 122 does not transmit the route information related to the network segment 131.
<パケットの受信に係る情報処理システムの動作>
以下、パケットの受信に係る情報処理システム1の動作について説明する。
図5は、パケットの受信に係る情報処理システム1の動作を示すフローチャートである。
<Operation of Information Processing System Related to Receiving Packets>
The operation of the information processing system 1 related to packet reception will be described below.
FIG. 5 is a flowchart showing the operation of the information processing system 1 regarding packet reception.
パケット転送装置114はパケットを受信する(ステップS11)。
パケット転送装置114はパケットに係るIPヘッダを読み取って、宛先IPアドレスが自クラスタノード10にかかるパケット転送装置114のIPアドレスであり、且つ送信元IPアドレスが他のクラスタノード10にかかるパケット転送装置114のIPアドレスであるか否かを判定する(ステップS12)。
The
The
宛先IPアドレスが自クラスタノード10にかかるパケット転送装置114のIPアドレスであり、且つ送信元IPアドレスが他のクラスタノード10にかかるパケット転送装置114のIPアドレスである場合(ステップS12:YES)、ヘッダ書換部124は、パケットを非カプセル化する(ステップS13)。その後、パケット転送装置114は、VM起動ノード記憶部123が記憶しているアドレス情報を読み取る(ステップS14)。
他方、宛先IPアドレスが自クラスタノード10にかかるパケット転送装置114のIPアドレスでないか、又は送信元IPアドレスが他のクラスタノード10にかかるパケット転送装置114のIPアドレスでない場合(ステップS12:NO)、パケット転送装置114は、VM起動ノード記憶部123が記憶しているアドレス情報を読み取る(ステップS14)。
If the destination IP address is the IP address of the
On the other hand, if the destination IP address is not the IP address of the
パケット転送装置114は、ステップS14で読み取ったアドレス情報と、ステップS12で読み取ったIPヘッダを照らし合わせて、宛先IPアドレスが他のクラスタノード10にかかるものであるか否かを判定する(ステップS15)。
The
宛先IPアドレスが他のクラスタノード10にかかるものでない場合(ステップS15:NO)、ルーティング部121は、パケットを仮想ポート112から転送する(ステップS16)。
他方、宛先IPアドレスが他のクラスタノード10にかかるものである場合(ステップS15:YES)、ヘッダ書換部124は、パケットをカプセル化する(ステップS17)。その後、パケット転送装置114はパケットを外部のネットワーク102に転送する(ステップS18)。
If the destination IP address does not belong to another cluster node 10 (step S15: NO), the
On the other hand, if the destination IP address is that of another cluster node 10 (step S15: YES), the header rewriting unit 124 encapsulates the packet (step S17). After that, the
《作用・効果》
本発明に係る情報処理装置は、1つ以上の仮想マシン116が動作する第1クラスタノードに組み込まれる装置であって、仮想マシン116のマイグレーションが生じた場合、仮想マシン116が属するネットワークセグメント131の経路情報を外部に送信する送信手段を備える。
情報処理装置は、マイグレーションが生じた場合、経路情報を外部に送信する送信手段を備える。このため、情報処理装置は、クラスタノード10の外部のスイッチがVLAN(Virtual Local Area Network)などの仮想ネットワークに非対応の場合でも、仮想マシンを保護対象とするHAクラスタシステムを構築することができる。また、情報処理装置を備えるクラスタノード10は、外部のネットワークのルーティングを自クラスタノード10のみで動的に変更できる。また、クラスタノード10の外部に仮想ネットワークを構築できない環境でマイグレーションを実行する場合、ネットワークセグメント131に属する全ての仮想マシン116のマイグレーションを実行しなくても良い。そのため、情報処理装置は、マイグレーションに係る時間を短縮することができる。また、仮想ネットワークを構築するためのコストを削減することができ、仮想ネットワークを管理するための管理コストや、管理の際に生じるコミュニケーションコストを削減できる。
<Action and Effects>
The information processing device of the present invention is a device incorporated into a first cluster node on which one or more virtual machines 116 operate, and is equipped with a transmission means for transmitting route information of the network segment 131 to which the virtual machine 116 belongs to an external device when migration of the virtual machine 116 occurs.
The information processing device includes a transmission unit that transmits route information to the outside when migration occurs. Therefore, the information processing device can build an HA cluster system that protects virtual machines even if an external switch of the
また、情報処理装置の第1クラスタノードは、マイグレーションが生じたか否かを判定する判定手段を備え、送信手段は、判定手段によりマイグレーションが生じたと判定された場合、経路情報を外部に送信する。
情報処理装置は、判定手段の判定に基づいて経路情報を外部に送信する。これにより、情報処理装置は、外部に仮想ネットワークを構築しなくても、ネットワークのルーティングを動的に変更できる。
Moreover, the first cluster node of the information processing device includes a determining means for determining whether or not migration has occurred, and the transmitting means transmits the route information to the outside when the determining means determines that migration has occurred.
The information processing device transmits the route information to the outside based on the determination by the determining means, thereby enabling the information processing device to dynamically change the network routing without constructing a virtual network externally.
また、情報処理装置は、仮想マシン116のIPアドレスと情報処理装置のIPアドレスとを関連付けたアドレス情報を記憶する記憶手段をさらに備え、送信手段は、記憶手段に記憶されたアドレス情報に基づいて経路情報を生成し、生成した経路情報を外部に送信する。
情報処理装置は、アドレス情報に基づいて経路情報を生成して、生成した経路情報を送信する。これにより、情報処理装置は、外部に仮想ネットワークを構築しなくても、ネットワークのルーティングを動的に変更できる。
In addition, the information processing device further includes a storage means for storing address information associating an IP address of the virtual machine 116 with an IP address of the information processing device, and a transmission means for generating route information based on the address information stored in the storage means and transmitting the generated route information to the outside.
The information processing device generates route information based on the address information and transmits the generated route information, thereby enabling the information processing device to dynamically change the network routing without constructing an external virtual network.
また、情報処理装置の記憶手段は、マイグレーションが生じた場合、第1クラスタノードに含まれる別装置から受信する第1情報に基づき、アドレス情報を更新する。
情報処理装置は、更新されたアドレス情報に基づいて、外部に仮想ネットワークを構築しなくても、ネットワークのルーティングを動的に変更できる。
Furthermore, when migration occurs, the storage means of the information processing device updates the address information based on the first information received from another device included in the first cluster node.
The information processing device can dynamically change the network routing based on the updated address information, without having to construct an external virtual network.
また、情報処理装置のアドレス情報は、第1クラスタノードとは異なる第2クラスタノードで動作する仮想マシン116のIPアドレスを含み、記憶手段は、第2クラスタノードから受信する第2情報に基づき、アドレス情報を更新する。
情報処理装置は、第2クラスタノードに係るアドレス情報に基づいて、外部に仮想ネットワークを構築しなくても、ネットワークのルーティングを動的に変更できる。
Furthermore, the address information of the information processing device includes an IP address of a virtual machine 116 operating on a second cluster node different from the first cluster node, and the storage means updates the address information based on second information received from the second cluster node.
The information processing device can dynamically change the network routing based on the address information related to the second cluster node without constructing an external virtual network.
また、情報処理装置は、記憶手段に記憶されたアドレス情報に基づき、パケットの転送先を決定する転送手段をさらに備える。
情報処理装置は、アドレス情報に基づいてパケットの転送先を決定する。これにより、情報処理装置は、アドレス情報に基づいて決定された転送先を用いて、パケットの転送を行うことができる。
The information processing device further comprises a forwarding unit that determines a forwarding destination of the packet based on the address information stored in the storage unit.
The information processing device determines a transfer destination of the packet based on the address information, thereby enabling the information processing device to transfer the packet using the transfer destination determined based on the address information.
本発明に係るクラスタノード10は、ネットワーク102と接続されるネットワークアダプタと、ホストOS機能手段と、1つ以上の仮想マシン116と、ネットワークアダプタと1つ以上の仮想マシン116との間、またはホストOS機能手段と1つ以上の仮想マシン116との間でパケットを転送するパケット転送装置114と、を備え、パケット転送装置114は、仮想マシン116のマイグレーションが生じた場合、仮想マシン116が属するネットワークセグメント131の経路情報を外部に送信する送信手段を有する。
クラスタノード10は、ネットワークセグメント131の経路情報を外部に送信することにより、外部に仮想ネットワークを構築しなくても、ネットワークのルーティングを動的に変更できる。
The
The
本発明に係るクラスタシステムは、第1クラスタノードと、第2クラスタノードとを含むクラスタシステムであって、第1クラスタノードは、ネットワーク102と接続されるネットワークアダプタと、ホストOS機能手段と、1つ以上の仮想マシン116と、ネットワークアダプタと1つ以上の仮想マシン116との間、またはホストOS機能手段と1つ以上の仮想マシン116との間でパケットを転送するパケット転送装置114と、を備え、パケット転送装置114は、仮想マシン116のマイグレーションが生じた場合、仮想マシン116が属するネットワークセグメント131の経路情報を外部に送信する送信手段を有する。
クラスタシステムは、ネットワークセグメント131の経路情報をネットワーク102などに送信することにより、仮想ネットワークを備えなくても、ネットワークのルーティングを動的に変更できる。
The cluster system of the present invention is a cluster system including a first cluster node and a second cluster node, the first cluster node comprising a network adapter connected to a
The cluster system can dynamically change the network routing by transmitting route information of the network segment 131 to the
本発明に係る情報処理方法は、1つ以上の仮想マシン116が動作する第1クラスタノードにおいて、仮想マシン116のマイグレーションが生じた場合、仮想マシン116が属するネットワークセグメント131の経路情報を外部に送信すること、を含む。
情報処理方法のユーザは、情報処理方法を用いると、ネットワークセグメント131の経路情報を外部に送信することにより、外部に仮想ネットワークを構築しなくても、ネットワークのルーティングを動的に変更できる。
The information processing method of the present invention includes transmitting, to the outside, route information of the network segment 131 to which the virtual machine 116 belongs when migration of the virtual machine 116 occurs in a first cluster node on which one or more virtual machines 116 are running.
By using the information processing method, a user of the information processing method can dynamically change the network routing by transmitting route information of the network segment 131 to the outside, without constructing a virtual network outside.
1つ以上の仮想マシン116が動作する第1クラスタノードのコンピュータを、仮想マシン116のマイグレーションが生じた場合、仮想マシン116が属するネットワークセグメント131の経路情報を外部に送信すること、として実行させる。
プログラムのユーザは、プログラムを実行させると、ネットワークセグメント131の経路情報を外部に送信することにより、外部に仮想ネットワークを構築しなくても、ネットワークのルーティングを動的に変更できる。
The computer of the first cluster node on which one or more virtual machines 116 operate is executed to transmit, when migration of the virtual machine 116 occurs, route information of the network segment 131 to which the virtual machine 116 belongs to the outside.
When a user of the program executes the program, the user can dynamically change the network routing by transmitting route information of the network segment 131 to the outside, without constructing a virtual network outside.
《他の実施形態》
上記、第1の実施形態に係る情報処理装置を説明してきた。情報処理装置は、以下のような態様の形態においても実施できる。
第1の実施形態において、マイグレーションはクラスタノード10の間で行われた。しかし、情報処理装置におけるマイグレーションは、同一の物理マシン上で、同一IPアドレスに係るものであっても良い。この場合、マイグレーションは同一の物理マシン上で、異なるネットワークセグメント131に移行させることにより実行される。
Other Embodiments
The information processing device according to the first embodiment has been described above. The information processing device can also be embodied in the following forms.
In the first embodiment, migration is performed between
〈基本構成〉
以下、基本構成に係る情報処理装置について説明する。
図6は、基本構成に係る情報処理装置の構成を示す図である。図6に示すように、基本構成に係る情報処理装置は、ルーティング部121を備える。
<Basic configuration>
The information processing device according to the basic configuration will be described below.
6 is a diagram showing the configuration of an information processing device according to a basic configuration. As shown in FIG. 6, the information processing device according to the basic configuration includes a
《作用・効果》
基本構成に係る情報処理装置は、1つ以上の仮想マシン116が動作する第1クラスタノードに組み込まれる装置であって、仮想マシン116のマイグレーションが生じた場合、仮想マシン116が属するネットワークセグメント131の経路情報を外部に送信する送信手段を備える。
これにより、情報処理装置は、外部に仮想ネットワークを構築しなくても、ネットワークのルーティングを動的に変更できる。
<Action and Effects>
The information processing device relating to the basic configuration is a device incorporated into a first cluster node on which one or more virtual machines 116 operate, and is provided with a transmission means for transmitting route information of the network segment 131 to which the virtual machine 116 belongs to an external device when migration of the virtual machine 116 occurs.
This allows the information processing device to dynamically change the network routing without having to construct an external virtual network.
〈コンピュータ構成〉
図7は、少なくとも1つの実施形態に係るコンピュータの構成を示す概略ブロック図である。
コンピュータ1100は、プロセッサ1110、メインメモリ1120、ストレージ1130、インタフェース1140を備える。
上述のクライアントマシン101及びクラスタノード10は、コンピュータ1100に実装される。そして、上述した各処理部の動作は、プログラムの形式でストレージ1130に記憶されている。プロセッサ1110は、プログラムをストレージ1130から読み出してメインメモリ1120に展開し、当該プログラムに従って上記処理を実行する。また、プロセッサ1110は、プログラムに従って、上述した各記憶部に対応する記憶領域をメインメモリ1120に確保する。
Computer Configuration
FIG. 7 is a schematic block diagram illustrating a computer configuration according to at least one embodiment.
The
The above-mentioned client machine 101 and
プログラムは、コンピュータ1100に発揮させる機能の一部を実現するためのものであってもよい。例えば、プログラムは、ストレージ1130に既に記憶されている他のプログラムとの組み合わせ、または他の装置に実装された他のプログラムとの組み合わせによって機能を発揮させるものであってもよい。なお、他の実施形態においては、コンピュータ1100は、上記構成に加えて、または上記構成に代えてPLD(Programmable Logic Device)などのカスタムLSI(Large Scale Integrated Circuit)を備えてもよい。PLDの例としては、PAL(Programmable Array Logic)、GAL(Generic Array Logic)、CPLD(Complex Programmable Logic Device)、FPGA(Field Programmable Gate Array)が挙げられる。この場合、プロセッサ1110によって実現される機能の一部または全部が当該集積回路によって実現されてよい。
The program may be for implementing part of the functions to be performed by the
ストレージ1130の例としては、磁気ディスク、光磁気ディスク、半導体メモリ等が挙げられる。ストレージ1130は、コンピュータ1100のバスに直接接続された内部メディアであってもよいし、インタフェース1140または通信回線を介してコンピュータに接続される外部メディアであってもよい。また、このプログラムが通信回線によってコンピュータ1100に配信される場合、配信を受けたコンピュータ1100が当該プログラムをメインメモリ1120に展開し、上記処理を実行してもよい。少なくとも1つの実施形態において、ストレージ1130は、一時的でない有形の記憶媒体である。
Examples of
また、当該プログラムは、前述した機能の一部を実現するためのものであってもよい。さらに、当該プログラムは、前述した機能をストレージ1130に既に記憶されている他のプログラムとの組み合わせで実現するもの、いわゆる差分ファイル(差分プログラム)であってもよい。
The program may be for realizing part of the above-mentioned functions. Furthermore, the program may be a so-called differential file (differential program) that realizes the above-mentioned functions in combination with other programs already stored in
上記の実施形態の一部又は全部は、以下の付記のようにも記載されうるが、以下には限られない。 Some or all of the above embodiments may be described as follows, but are not limited to the following:
(付記1)1つ以上の仮想マシンが動作する第1クラスタノードに組み込まれる装置であって、前記仮想マシンのマイグレーションが生じた場合、前記仮想マシンが属するネットワークセグメントの経路情報を外部に送信する送信手段、を備える情報処理装置。 (Appendix 1) An information processing device that is incorporated into a first cluster node on which one or more virtual machines are running, and that includes a transmission means for transmitting to the outside route information of a network segment to which the virtual machine belongs when migration of the virtual machine occurs.
(付記2)前記第1クラスタノードは、前記マイグレーションが生じたか否かを判定する判定手段を備え、前記送信手段は、前記判定手段により前記マイグレーションが生じたと判定された場合、前記経路情報を外部に送信する、付記1に記載の情報処理装置。 (Appendix 2) The information processing device according to appendix 1, wherein the first cluster node includes a determination means for determining whether the migration has occurred, and the transmission means transmits the route information to the outside when the determination means determines that the migration has occurred.
(付記3)前記仮想マシンのIPアドレスと前記情報処理装置のIPアドレスとを関連付けたアドレス情報を記憶する記憶手段をさらに備え、前記送信手段は、前記記憶手段に記憶された前記アドレス情報に基づいて前記経路情報を生成し、生成した前記経路情報を外部に送信する、付記1又は付記2に記載の情報処理装置。
(Appendix 3) The information processing device according to
(付記4)前記記憶手段は、前記マイグレーションが生じた場合、前記第1クラスタノードに含まれる別装置から受信する第1情報に基づき、前記アドレス情報を更新する、付記3に記載の情報処理装置。 (Appendix 4) The information processing device according to appendix 3, wherein the storage means updates the address information based on the first information received from another device included in the first cluster node when the migration occurs.
(付記5)前記アドレス情報は、前記第1クラスタノードとは異なる第2クラスタノードで動作する仮想マシンのIPアドレスを含み、前記記憶手段は、前記第2クラスタノードから受信する第2情報に基づき、前記アドレス情報を更新する、付記3又は付記4に記載の情報処理装置。 (Appendix 5) The information processing device according to appendix 3 or appendix 4, wherein the address information includes an IP address of a virtual machine operating on a second cluster node different from the first cluster node, and the storage means updates the address information based on second information received from the second cluster node.
(付記6)前記記憶手段に記憶された前記アドレス情報に基づき、パケットの転送先を決定する転送手段をさらに備える、付記3から付記5のうちいずれかの付記に記載の情報処理装置。 (Appendix 6) The information processing device according to any one of appendices 3 to 5, further comprising a forwarding means for determining a forwarding destination of a packet based on the address information stored in the storage means.
(付記7)前記第1クラスタノードとは異なる第2クラスタノードで動作する仮想マシンを宛先とするパケットを前記転送手段が受信した場合、前記記憶手段に記憶された前記アドレス情報に基づき、前記パケットのヘッダのIPアドレスを書き換える書換手段をさらに備える、付記6に記載の情報処理装置。 (Appendix 7) The information processing device according to appendix 6, further comprising a rewriting means for rewriting an IP address in a header of a packet based on the address information stored in the storage means when the forwarding means receives a packet addressed to a virtual machine operating in a second cluster node different from the first cluster node.
(付記8)ネットワークと接続されるネットワークアダプタと、ホストOS機能手段と、1つ以上の仮想マシンと、前記ネットワークアダプタと前記1つ以上の仮想マシンとの間、または前記ホストOS機能手段と前記1つ以上の仮想マシンとの間でパケットを転送するパケット転送装置と、を備え、前記パケット転送装置は、前記仮想マシンのマイグレーションが生じた場合、前記仮想マシンが属するネットワークセグメントの経路情報を外部に送信する送信手段を有する、クラスタノード。 (Appendix 8) A cluster node comprising a network adapter connected to a network, a host OS function means, one or more virtual machines, and a packet forwarding device that forwards packets between the network adapter and the one or more virtual machines, or between the host OS function means and the one or more virtual machines, the packet forwarding device having a transmission means that transmits to the outside route information of the network segment to which the virtual machine belongs when migration of the virtual machine occurs.
(付記9)第1クラスタノードと、第2クラスタノードとを含むクラスタシステムであって、前記第1クラスタノードは、ネットワークと接続されるネットワークアダプタと、ホストOS機能手段と、1つ以上の仮想マシンと、前記ネットワークアダプタと前記1つ以上の仮想マシンとの間、または前記ホストOS機能手段と前記1つ以上の仮想マシンとの間でパケットを転送するパケット転送装置と、を備え、前記パケット転送装置は、前記仮想マシンのマイグレーションが生じた場合、前記仮想マシンが属するネットワークセグメントの経路情報を外部に送信する送信手段を有する、クラスタシステム。 (Appendix 9) A cluster system including a first cluster node and a second cluster node, the first cluster node comprising a network adapter connected to a network, a host OS function means, one or more virtual machines, and a packet forwarding device for forwarding packets between the network adapter and the one or more virtual machines, or between the host OS function means and the one or more virtual machines, the packet forwarding device having a transmission means for transmitting to the outside, when migration of the virtual machine occurs, route information of the network segment to which the virtual machine belongs.
(付記10)1つ以上の仮想マシンが動作する第1クラスタノードにおいて、前記仮想マシンのマイグレーションが生じた場合、前記仮想マシンが属するネットワークセグメントの経路情報を外部に送信すること、を含む情報処理方法。 (Appendix 10) An information processing method including, in a first cluster node on which one or more virtual machines are running, when migration of the virtual machines occurs, transmitting to the outside route information of the network segment to which the virtual machines belong.
(付記11)1つ以上の仮想マシンが動作する第1クラスタノードのコンピュータを、前記仮想マシンのマイグレーションが生じた場合、前記仮想マシンが属するネットワークセグメントの経路情報を外部に送信すること、として実行させるプログラム。 (Appendix 11) A program that causes a computer of a first cluster node on which one or more virtual machines are running to transmit, when migration of the virtual machine occurs, route information of the network segment to which the virtual machine belongs to the outside.
1 情報処理システム
10 クラスタノード
101 クライアントマシン
102 ネットワーク
111 ホストOS
112 仮想ポート
113 物理NIC
114 パケット転送装置
115 仮想スイッチ
116 仮想マシン
121 ルーティング部
122 経路情報送信部
123 VM起動ノード記憶部
124 ヘッダ書換部
131 ネットワークセグメント
141 クロスプラットフォーム
142 クラスタ情報提供部
143 VM監視部
1100 コンピュータ
1110 プロセッサ
1120 メインメモリ
1130 ストレージ
1140 インタフェース
1
112 Virtual port 113 Physical NIC
114 Packet forwarding device 115 Virtual switch 116
Claims (8)
前記仮想マシンのIPアドレスと前記情報処理装置のIPアドレスとを関連付けたアドレス情報を記憶する記憶手段と、
前記仮想マシンのマイグレーションが生じたことにより、前記仮想マシンが新たなネットワークセグメントに属することになったか否かを判定する判定手段と、
前記マイグレーションが生じ、前記仮想マシンが前記新たなネットワークセグメントに属することになった場合、前記仮想マシンが属するネットワークセグメントの経路情報を動的ルーティングアルゴリズムを用いて生成し、外部に送信する送信手段と、を備え、
前記記憶手段は、前記マイグレーションが生じた場合、前記第1クラスタノードに含まれる別装置から受信する第1情報に基づき、前記アドレス情報を更新し、
前記送信手段は、前記判定手段により前記マイグレーションが生じ、前記仮想マシンが前記新たなネットワークセグメントに属することになったと判定された場合、前記経路情報を外部に送信する、
情報処理装置。 An information processing device incorporated in a first cluster node on which one or more virtual machines operate,
a storage means for storing address information that associates an IP address of the virtual machine with an IP address of the information processing device;
a determination means for determining whether or not the virtual machine has come to belong to a new network segment due to the occurrence of migration of the virtual machine;
a transmission means for generating route information of the network segment to which the virtual machine belongs by using a dynamic routing algorithm when the migration occurs and the virtual machine belongs to the new network segment , and transmitting the route information to an outside ,
When the migration occurs, the storage means updates the address information based on first information received from another device included in the first cluster node;
the transmitting means transmits the route information to an outside when the determining means determines that the migration has occurred and that the virtual machine has come to belong to the new network segment.
Information processing device.
請求項1に記載の情報処理装置。 The transmission means generates the route information based on the address information stored in the storage means, and transmits the generated route information to an external device.
The information processing device according to claim 1 .
前記記憶手段は、前記第2クラスタノードから受信する第2情報に基づき、前記アドレス情報を更新する、
請求項1または2に記載の情報処理装置。 the address information includes an IP address of a virtual machine operating on a second cluster node different from the first cluster node;
The storage means updates the address information based on second information received from the second cluster node.
3. The information processing device according to claim 1 or 2 .
請求項2または3に記載の情報処理装置。 a forwarding unit that determines a forwarding destination of a packet based on the address information stored in the storage unit,
4. The information processing device according to claim 2 or 3 .
ホストOS機能手段と、
1つ以上の仮想マシンと、
前記ネットワークアダプタと前記1つ以上の仮想マシンとの間、または前記ホストOS機能手段と前記1つ以上の仮想マシンとの間でパケットを転送するパケット転送装置と、
を備え、
前記仮想マシンのIPアドレスとクラスタノードに組み込まれる情報処理装置のIPアドレスとを関連付けたアドレス情報を記憶する記憶手段と、
前記仮想マシンのマイグレーションが生じたことにより、前記仮想マシンが新たなネットワークセグメントに属することになったか否かを判定する判定手段と、
前記マイグレーションが生じ、前記仮想マシンが前記新たなネットワークセグメントに属することになった場合、前記パケット転送装置は、前記仮想マシンが属するネットワークセグメントの経路情報を動的ルーティングアルゴリズムを用いて生成し、外部に送信する送信手段とを有し、
前記記憶手段は、前記マイグレーションが生じた場合、前記クラスタノードに含まれる別装置から受信する第1情報に基づき、前記アドレス情報を更新し、
前記送信手段は、前記判定手段により前記マイグレーションが生じ、前記仮想マシンが前記新たなネットワークセグメントに属することになったと判定された場合、前記経路情報を外部に送信する、
クラスタノード。 a network adapter connected to a network;
A host OS function means;
one or more virtual machines;
a packet forwarding device that forwards packets between the network adapter and the one or more virtual machines, or between the host OS function means and the one or more virtual machines;
Equipped with
a storage means for storing address information that associates an IP address of the virtual machine with an IP address of an information processing device incorporated in a cluster node;
a determination means for determining whether or not the virtual machine has come to belong to a new network segment due to the occurrence of migration of the virtual machine;
when the migration occurs and the virtual machine comes to belong to the new network segment, the packet forwarding device has a transmission means for generating route information of the network segment to which the virtual machine belongs by using a dynamic routing algorithm and transmitting the route information to an outside,
When the migration occurs, the storage means updates the address information based on first information received from another device included in the cluster node;
the transmitting means transmits the route information to an outside when the determining means determines that the migration has occurred and that the virtual machine has come to belong to the new network segment.
Cluster node.
前記第1クラスタノードは、
ネットワークと接続されるネットワークアダプタと、
ホストOS機能手段と、
1つ以上の仮想マシンと、
前記ネットワークアダプタと前記1つ以上の仮想マシンとの間、または前記ホストOS機能手段と前記1つ以上の仮想マシンとの間でパケットを転送するパケット転送装置と、
を備え、
前記仮想マシンのIPアドレスと前記第1クラスタノードに組み込まれる情報処理装置のIPアドレスとを関連付けたアドレス情報を記憶する記憶手段と、
前記仮想マシンのマイグレーションが生じたことにより、前記仮想マシンが新たなネットワークセグメントに属することになったか否かを判定する判定手段と、
前記マイグレーションが生じ、前記仮想マシンが前記新たなネットワークセグメントに属することになった場合、前記パケット転送装置は、前記仮想マシンが属するネットワークセグメントの経路情報を動的ルーティングアルゴリズムを用いて生成し、外部に送信する送信手段とを有し、
前記記憶手段は、前記マイグレーションが生じた場合、前記第1クラスタノードに含まれる別装置から受信する第1情報に基づき、前記アドレス情報を更新し、
前記送信手段は、前記判定手段により前記マイグレーションが生じ、前記仮想マシンが前記新たなネットワークセグメントに属することになったと判定された場合、前記経路情報を外部に送信する、
クラスタシステム。 A cluster system including a first cluster node and a second cluster node,
The first cluster node:
a network adapter connected to a network;
A host OS function means;
one or more virtual machines;
a packet forwarding device that forwards packets between the network adapter and the one or more virtual machines, or between the host OS function means and the one or more virtual machines;
Equipped with
a storage means for storing address information that associates an IP address of the virtual machine with an IP address of an information processing device incorporated in the first cluster node;
a determination means for determining whether or not the virtual machine has come to belong to a new network segment due to the occurrence of migration of the virtual machine;
when the migration occurs and the virtual machine comes to belong to the new network segment, the packet forwarding device has a transmission means for generating route information of the network segment to which the virtual machine belongs by using a dynamic routing algorithm and transmitting the route information to an outside,
When the migration occurs, the storage means updates the address information based on first information received from another device included in the first cluster node;
the transmission means, when the determination means determines that the migration has occurred and that the virtual machine has come to belong to the new network segment, transmits the route information to an external device.
Cluster system.
前記仮想マシンのIPアドレスと前記第1クラスタノードに組み込まれる情報処理装置のIPアドレスとを関連付けたアドレス情報を記憶することと、
前記仮想マシンのマイグレーションが生じたことにより、前記仮想マシンが新たなネットワークセグメントに属することになったか否かを判定することと、
前記マイグレーションが生じ、前記仮想マシンが前記新たなネットワークセグメントに属することになった場合、前記仮想マシンが属するネットワークセグメントの経路情報を動的ルーティングアルゴリズムを用いて生成し、外部に送信することと、を含み、
前記記憶することは、前記マイグレーションが生じた場合、前記第1クラスタノードに含まれる別装置から受信する第1情報に基づき、前記アドレス情報を更新し、
前記送信することは、前記判定することにより前記マイグレーションが生じ、前記仮想マシンが前記新たなネットワークセグメントに属することになったと判定された場合、前記経路情報を外部に送信する、
情報処理方法。 In a first cluster node on which one or more virtual machines operate,
storing address information that associates an IP address of the virtual machine with an IP address of an information processing device incorporated in the first cluster node;
determining whether or not the virtual machine has been migrated to a new network segment;
When the migration occurs and the virtual machine comes to belong to the new network segment, generating route information of the network segment to which the virtual machine belongs using a dynamic routing algorithm and transmitting the route information to an outside ;
The storing includes, when the migration occurs, updating the address information based on first information received from another device included in the first cluster node;
The transmitting step includes transmitting the route information to an outside when it is determined that the migration has occurred and the virtual machine has come to belong to the new network segment.
Information processing methods.
前記仮想マシンのIPアドレスと前記第1クラスタノードに組み込まれる情報処理装置のIPアドレスとを関連付けたアドレス情報を記憶することと、
前記仮想マシンのマイグレーションが生じたことにより、前記仮想マシンが新たなネットワークセグメントに属することになったか否かを判定することと、
前記マイグレーションが生じ、前記仮想マシンが前記新たなネットワークセグメントに属することになった場合、前記仮想マシンが属するネットワークセグメントの経路情報を動的ルーティングアルゴリズムを用いて生成し、外部に送信することと、して実行させ、
前記記憶することは、前記マイグレーションが生じた場合、前記第1クラスタノードに含まれる別装置から受信する第1情報に基づき、前記アドレス情報を更新し、
前記送信することは、前記判定することにより前記マイグレーションが生じ、前記仮想マシンが前記新たなネットワークセグメントに属することになったと判定された場合、前記経路情報を外部に送信する、
プログラム。 A first cluster node computer on which one or more virtual machines are running,
storing address information that associates an IP address of the virtual machine with an IP address of an information processing device incorporated in the first cluster node;
determining whether or not the virtual machine has been migrated to a new network segment;
When the migration occurs and the virtual machine comes to belong to the new network segment, route information of the network segment to which the virtual machine belongs is generated using a dynamic routing algorithm, and transmitted to the outside ;
The storing includes, when the migration occurs, updating the address information based on first information received from another device included in the first cluster node;
The transmitting step includes transmitting the route information to an outside when it is determined that the migration has occurred and the virtual machine has come to belong to the new network segment.
program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020130122A JP7613022B2 (en) | 2020-07-31 | 2020-07-31 | Information processing device, cluster node, cluster system, information processing method and program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2020130122A JP7613022B2 (en) | 2020-07-31 | 2020-07-31 | Information processing device, cluster node, cluster system, information processing method and program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022026580A JP2022026580A (en) | 2022-02-10 |
| JP7613022B2 true JP7613022B2 (en) | 2025-01-15 |
Family
ID=80264186
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2020130122A Active JP7613022B2 (en) | 2020-07-31 | 2020-07-31 | Information processing device, cluster node, cluster system, information processing method and program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7613022B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2025177571A1 (en) * | 2024-02-22 | 2025-08-28 | Ntt株式会社 | Communication device and communication system |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011198299A (en) | 2010-03-23 | 2011-10-06 | Fujitsu Ltd | Program, computer, communicating device, and communication control system |
| JP2015153409A (en) | 2014-02-19 | 2015-08-24 | 富士通株式会社 | Information processing system, movement control method and movement control program |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5972838B2 (en) * | 2013-06-24 | 2016-08-17 | 日本電信電話株式会社 | Management device, communication system, management method, and management program |
-
2020
- 2020-07-31 JP JP2020130122A patent/JP7613022B2/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2011198299A (en) | 2010-03-23 | 2011-10-06 | Fujitsu Ltd | Program, computer, communicating device, and communication control system |
| JP2015153409A (en) | 2014-02-19 | 2015-08-24 | 富士通株式会社 | Information processing system, movement control method and movement control program |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022026580A (en) | 2022-02-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12126533B2 (en) | Packet transmission method, proxy node, and storage medium | |
| US6751191B1 (en) | Load sharing and redundancy scheme | |
| CN107846342B (en) | Method, device and system for forwarding VXLAN message | |
| AU2004306913B2 (en) | Redundant routing capabilities for a network node cluster | |
| JP6512990B2 (en) | Transfer device and transfer system | |
| US10038629B2 (en) | Virtual machine migration using label based underlay network forwarding | |
| US7864666B2 (en) | Communication control apparatus, method and program thereof | |
| JP4231773B2 (en) | VRRP technology that maintains the confidentiality of VR | |
| US9634887B2 (en) | System, method and computer-readable medium for using a plurality of virtual machines | |
| US11750496B2 (en) | Method for multi-cloud interconnection and device | |
| US20170359198A1 (en) | Non-transitory computer-readable storage medium, communication control method, and communication control device | |
| CN110062057A (en) | The proxy gateway and communication means of message are handled for hot-backup system | |
| US20210014166A1 (en) | Data traffic processing method, device, and system | |
| CN108540386B (en) | Method and device for preventing service flow interruption | |
| CN108833272B (en) | Route management method and device | |
| JP7613022B2 (en) | Information processing device, cluster node, cluster system, information processing method and program | |
| JP2019530267A (en) | COMMUNICATION DEVICE, SYSTEM, ROLLBACK METHOD, AND PROGRAM | |
| US20210226839A1 (en) | Mac-sync based mechanism for bridge port failover | |
| JP2014023137A (en) | Communication system, route control device, user terminal and route control method | |
| US9819594B2 (en) | Information processing system and controlling method and controlling device for the same | |
| JP2018019232A (en) | Packet transmission equipment and route change control method | |
| JP6693141B2 (en) | Packet transfer device, packet transfer method, and program | |
| JP2017022579A (en) | Communication system, communication node and substitution processing method for communication system | |
| CN120358136A (en) | Traffic transmission method and device and tenant gateway | |
| JP4728435B2 (en) | Internetwork equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20230608 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240229 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240305 |
|
| RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20240408 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240425 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20240723 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20240920 |
|
| 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: 20241126 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241209 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7613022 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |