JP2016206898A - Information processing device, fault detection method, and computer program - Google Patents
Information processing device, fault detection method, and computer program Download PDFInfo
- Publication number
- JP2016206898A JP2016206898A JP2015086948A JP2015086948A JP2016206898A JP 2016206898 A JP2016206898 A JP 2016206898A JP 2015086948 A JP2015086948 A JP 2015086948A JP 2015086948 A JP2015086948 A JP 2015086948A JP 2016206898 A JP2016206898 A JP 2016206898A
- Authority
- JP
- Japan
- Prior art keywords
- physical port
- virtual switch
- failure
- virtual
- physical
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、仮想化した情報処理装置(コンピュータ)における障害検知に関する。 The present invention relates to failure detection in a virtualized information processing apparatus (computer).
仮想化されていない一般的な情報処理装置においては、アプリケーションが、OS(オペレーションシステム)のコマンドなどによって、自身が動作する情報処理装置の物理ポートの状態を知ることができる。 In a general information processing apparatus that is not virtualized, an application can know the state of the physical port of the information processing apparatus on which the application operates by using an OS (operation system) command or the like.
一方、仮想化した情報処理装置(仮想化システム)において、各仮想マシンが、ネットワークスイッチを仮想化した仮想スイッチを介して物理ポートに接続することにより、物理ネットワークに対する通信を行う方法が普及している。このような仮想化システムにおいて、物理ポートは、仮想マシンにとって、仮想スイッチの向こうのアップリンク側に存在する。すなわち、仮想化システムにおける物理ポートは、仮想スイッチによって、仮想マシンから隠ぺいされる。したがって、上述した仮想化されていない情報処理装置とは異なり、仮想マシンは、自身が動作する物理マシンの物理ポートの状態を知ることが困難であるという問題がある。 On the other hand, in a virtualized information processing apparatus (virtualized system), a method of communicating with a physical network by connecting each virtual machine to a physical port via a virtual switch that virtualizes a network switch has become widespread. Yes. In such a virtualization system, the physical port exists for the virtual machine on the uplink side beyond the virtual switch. That is, the physical port in the virtualization system is hidden from the virtual machine by the virtual switch. Therefore, unlike the above-described non-virtualized information processing apparatus, the virtual machine has a problem that it is difficult to know the state of the physical port of the physical machine on which the virtual machine operates.
このような仮想化システムにおいて、ネットワーク障害を検知する様々な仕組みが考案されている。例えば、特許文献1には、2つの物理マシンにおいて動作する仮想マシン同士のアプリケーション通信によってネットワークの障害を検知する仮想化システムが開示されている。この特許文献1に記載された仮想化システムにおいては、仮想マシンが、物理スイッチを介して接続される他の物理マシンにおいて動作する他の仮想マシンとTCP(Transmission Control Protocol)ポートによるアプリケーション通信を行う際に、同一の経路で転送される監視用UDPパケットを送出する。仮想マシンは、監視用UDP(User Datagram Protocol)パケットに対して他の物理マシンから返信される返信パケットを受信することによって、ネットワークに障害がないことを検知する。すなわち、この仮想マシンは、返信パケットが届かないことによって、物理ポートの障害を含む、ネットワークの障害を検知することができる。 In such a virtualization system, various mechanisms for detecting a network failure have been devised. For example, Patent Literature 1 discloses a virtualization system that detects a network failure by application communication between virtual machines operating on two physical machines. In the virtualization system described in Patent Document 1, a virtual machine performs application communication using a TCP (Transmission Control Protocol) port with another virtual machine that operates on another physical machine connected via a physical switch. At this time, the monitoring UDP packet transferred through the same route is transmitted. The virtual machine detects that there is no failure in the network by receiving a reply packet returned from another physical machine in response to a monitoring UDP (User Datagram Protocol) packet. That is, this virtual machine can detect a network failure including a physical port failure by not receiving a reply packet.
しかしながら、特許文献1に開示された仮想化システムにおいては、物理ポートの障害を検知する目的で、パケットの送受信を行う必要があるという問題がある。また、このような仮想化システムでは、監視UDPパケットおよび返信パケットに係るデータ通信を行うことができる対向装置が必要であるという問題もある。 However, the virtualization system disclosed in Patent Document 1 has a problem that it is necessary to transmit and receive packets for the purpose of detecting a physical port failure. In addition, such a virtual system also has a problem that an opposite apparatus that can perform data communication related to the monitoring UDP packet and the return packet is necessary.
本発明の1つの目的は、データ通信を行うことなく、仮想スイッチを介して物理ポートと接続される仮想マシンが、物理ポートの障害を認識することが可能な情報処理装置などを提供することにある。 One object of the present invention is to provide an information processing apparatus and the like in which a virtual machine connected to a physical port via a virtual switch can recognize a physical port failure without performing data communication. is there.
上記の目的を達成すべく、本発明の一態様に係る情報処理装置は、以下の構成を備えることを特徴とする。 In order to achieve the above object, an information processing apparatus according to one embodiment of the present invention includes the following configuration.
すなわち、本発明の一態様に係る情報処理装置は、
仮想マシンと物理ポートとを接続する仮想スイッチと、
前記物理ポートの状態を監視する制御手段と
を含み、
前記制御手段は、前記物理ポートに関連する障害を検知したとき、前記障害が検知された前記物理ポートに接続される前記仮想スイッチに対して停止を指示する停止指示を出力し、
前記仮想スイッチは、前記停止指示に応じて停止する。
That is, an information processing device according to one embodiment of the present invention is provided.
A virtual switch that connects the virtual machine to the physical port;
Control means for monitoring the state of the physical port;
When the control unit detects a failure related to the physical port, the control unit outputs a stop instruction to instruct the virtual switch connected to the physical port where the failure is detected,
The virtual switch stops in response to the stop instruction.
また、上記の同目的を達成すべく、本発明の一態様に係る障害検知方法は、情報処理装置によって、
物理ポートの状態を監視し、
物理ポートに関連する障害を検知したとき、前記障害が検知された前記物理ポートと仮想マシンとを接続する仮想スイッチに対して停止を指示する停止指示を出力し、
前記仮想スイッチが、前記停止指示に応じて停止する。
In order to achieve the above object, a failure detection method according to one aspect of the present invention is performed by an information processing device.
Monitor the physical port status,
When a failure related to a physical port is detected, a stop instruction that instructs the virtual switch that connects the physical port where the failure is detected and the virtual machine to stop is output.
The virtual switch stops in response to the stop instruction.
また、同目的は、上記の各構成を有する情報処理装置、並びに対応する方法を、コンピュータによって実現するコンピュータ・プログラム、およびそのコンピュータ・プログラムが格納されている、コンピュータ読み取り可能な記憶媒体によっても達成される。 The object is also achieved by an information processing apparatus having each of the above-described configurations and a corresponding method by a computer program for realizing the method by a computer and a computer-readable storage medium storing the computer program. Is done.
本発明には、仮想スイッチを介して物理ポートと接続される仮想マシンが、物理ポートの障害を認識できるという効果がある。 The present invention has an effect that a virtual machine connected to a physical port via a virtual switch can recognize a failure of the physical port.
次に、本発明の実施形態について図面を参照して詳細に説明する。 Next, embodiments of the present invention will be described in detail with reference to the drawings.
<第1の実施形態>
図1は、本発明の第1の実施形態に係る情報処理装置1の構成を示すブロック図である。図1を参照すると、本実施形態に係る情報処理装置(物理マシン)1は、物理ポート2、仮想スイッチ3、制御部4、および仮想マシン5を含む。
<First Embodiment>
FIG. 1 is a block diagram showing the configuration of the information processing apparatus 1 according to the first embodiment of the present invention. Referring to FIG. 1, an information processing apparatus (physical machine) 1 according to this embodiment includes a
物理マシン1は、CPU(Central Processing Unit:図示せず)を用いて実行されるコンピュータ・プログラム(ソフトウェア・プログラム)の制御により動作する一般的な情報処理装置(コンピュータ)によって構成されても良い。または、物理マシン1の各部が、専用のハードウェアデバイス、または論理回路によって構成されても良い。なお、この物理マシン1をコンピュータによって実現したハードウェア構成例については、図4を参照して後述する。 The physical machine 1 may be configured by a general information processing apparatus (computer) that operates under the control of a computer program (software program) that is executed using a CPU (Central Processing Unit: not shown). Alternatively, each unit of the physical machine 1 may be configured by a dedicated hardware device or a logic circuit. A hardware configuration example in which the physical machine 1 is realized by a computer will be described later with reference to FIG.
物理ポート2は、物理マシン1と、インターネットや構内LAN(ローカルエリアネットワーク)等である通信ネットワーク(以下、単にネットワークと称する)1001とを接続することができる。
The
仮想スイッチ3は、仮想マシン5と物理ポート2とを接続する。仮想スイッチ3は、ネットワークスイッチの機能を仮想的に実現するソフトウェアである。仮想スイッチ3は、制御部4によって制御される。
The virtual switch 3 connects the
制御部4は、物理ポート2の状態を監視する。物理ポート2の監視方法は、例えば、図示しないOSなどに対する状態取得コマンドの実行、または、OSが出力するシステムログなどに含まれるエラーログの調査などを定期的に行うことであってもよい。または、物理ポート2の監視方法としては、物理ポート2の信号線の監視などによって直接的に行ってもよい。上述した物理ポート2の状態には、物理ポート2に接続されるリンク6の状態のような、物理ポート2に関連のある周辺的事象を含めてもよい。
The control unit 4 monitors the state of the
物理ポート2に関連する障害(以下、「物理ポート2の障害」と言う)を検知したとき、制御部4は、その物理ポート2に接続される仮想スイッチ3に対して、停止を指示する停止指示を出力する。仮想スイッチ3は、制御部4から停止指示を受けた場合、停止指示に応じて停止する。仮想マシン5は、仮想スイッチ3との接続が切れたことを検知することによって、物理ポート2における障害の発生を認識することができる。このようにして、仮想マシン5は、物理マシン1に閉じた処理によって、物理ポート2の障害を認識することができる。
When a failure related to the physical port 2 (hereinafter referred to as “failure of the
以上説明したように、本実施形態によれば、データ通信を行うことなく、仮想スイッチ3を介して物理ポート2と接続される仮想マシン5が、物理ポート2の障害を認識することができるという効果がある。
As described above, according to the present embodiment, the
その理由は、制御部4が、物理ポート2の障害を検知した際に、仮想スイッチ3を停止するからである。その結果、仮想マシン5は、仮想スイッチ3の停止を検知することにより、物理ポート2の障害を検知することができるからである。
The reason is that the control unit 4 stops the virtual switch 3 when detecting a failure of the
なお、本実施形態の変形例としては、以下のようなものが考えられる。 In addition, the following can be considered as a modification of this embodiment.
例えば、制御部4は、物理ポート2の障害が復旧した(正常に動作した)ことを検知した場合に、仮想スイッチ3を起動してもよい。この変形例において、制御部4は、仮想スイッチ3を停止した後も、物理ポート2の状態の監視を継続する。そして、制御部4は、物理ポート2の障害が復旧したことを検知したとき、仮想スイッチ3を起動する。なお、制御部4は、図示しない起動部に対して、仮想スイッチ3の起動を指示する起動指示を出力することによって、間接的に仮想スイッチ3を起動してもよい。この場合、起動部が、制御部4から起動指示に応じて、仮想スイッチ3を起動する。なお、制御部4は、物理ポート2の障害発生後に限定せず、物理マシン1の初期起動時においても上述した動作を行ってもよい。
For example, the control unit 4 may activate the virtual switch 3 when detecting that the failure of the
このようにして、仮想マシン5は、仮想スイッチ3との接続が回復された(または、接続可能な状態になった)ことを検知することによって、物理ポート2が正常な状態であることを認識することができる。
In this way, the
以上、説明したように本変形例には、仮想マシン5は、データ通信を行う(試みる)ことなく、物理ポート2の復旧を認識することができるという効果がある。
As described above, this modification has an effect that the
その理由は、制御部4が物理ポート2の障害が復旧したことを検知した際に、仮想スイッチ3を起動するからである。その結果、仮想マシン5は、仮想スイッチ3との接続の回復を検知することにより、物理ポート2の復旧を検知することができるからである。
The reason is that the virtual switch 3 is activated when the control unit 4 detects that the failure of the
<第2の実施形態>
次に、上述した第1の実施形態を基本とする第2の実施形態について説明する。以下では、第2の実施形態に係る特徴的な部分を中心に説明し、第1の実施形態と同様な構成を有する第2の実施形態の構成要素には、第1の実施形態で付した参照符号と同一の参照符号を付し、その構成要素について重複する詳細な説明は省略する。
<Second Embodiment>
Next, a second embodiment based on the above-described first embodiment will be described. In the following, the characteristic part according to the second embodiment will be mainly described, and the components of the second embodiment having the same configuration as the first embodiment are attached in the first embodiment. The same reference numerals as those of the reference numerals are attached, and the detailed description of the constituent elements is omitted.
まず、図2を参照して、以下に本実施形態の構成を説明する。図2は、本発明の第2の実施形態に係る情報処理装置10の構成を示すブロック図である。図2を参照すると、本実施形態に係る情報処理装置(物理マシン)10は、物理ポート2Aおよび2B、仮想スイッチ3Aおよび3B、制御部14、および仮想マシン5を含む。本実施形態における物理マシン10は、上述した第1の実施形態における物理マシン1を基本とする。
First, the configuration of this embodiment will be described below with reference to FIG. FIG. 2 is a block diagram showing the configuration of the
本実施形態では、それぞれ複数の物理ポート2Aおよび2B、並びに仮想スイッチ3Aおよび3Bを含む点が上述した第1の実施形態と異なる。それに応じて、制御部14が、それぞれ複数の物理ポート2Aおよび2B、並びに仮想スイッチ3Aおよび3Bを制御できる点が、上述した第1の実施形態と異なる。
This embodiment is different from the first embodiment described above in that it includes a plurality of
物理マシン10は、CPU(図示せず)を用いて実行されるコンピュータ・プログラム(ソフトウェア・プログラム)の制御により動作する一般的な情報処理装置(コンピュータ)によって構成されても良い。または、物理マシン10の各部が、専用のハードウェアデバイス、または論理回路によって構成されても良い。なお、この物理マシン10をコンピュータによって実現したハードウェア構成例については、図4を参照して後述する。
The
物理ポート2Aおよび2Bは、第1の実施形態における物理ポート2を基本とする。仮想スイッチ3Aおよび3Bは、第1の実施形態における仮想スイッチ3を基本とする。本実施形態では、物理ポート2Aおよび2Bは、一例として、物理マシン10とインターネットや構内LAN等であるネットワーク1001とを接続することができる。なお、物理ポート2Aと2Bとは、異なるネットワークに接続されていてもよい。
The
本実施形態においては、仮想スイッチ3Aおよび3Bは、それぞれ物理ポート2Aおよび2Bに接続される。すなわち、仮想マシン5は、仮想スイッチ3Aを介して物理ポート2Aに接続し、その物理ポート2Aからネットワーク1001に対する通信を行うことができる。同様に、仮想マシン5は、仮想スイッチ3Bを介して物理ポート2Bに接続し、その物理ポート2Bからネットワーク1001に対する通信を行うことができる。物理ポート2Aおよび2B、並びに仮想スイッチ3Aおよび3Bの構成は、上述した点以外は、第1の実施形態と同様であるので、重複する詳細な説明は省略する。
In the present embodiment, the
本実施形態における物理ポート2Aおよび2B、仮想スイッチ3Aおよび3B、並びに仮想マシン5の数は、一例である。上述した各部は、本実施形態より多く含まれていてもよい。また、物理ポート2Aおよび2Bと、仮想スイッチ3Aおよび3Bとは1対1の関係でなくてもよい。例えば、複数の仮想スイッチが、1つの物理ポートに接続していてもよい。
The number of
制御部14は、第1の実施形態における制御部4を基本とする。以下に、制御部14が、第1の実施形態における制御部4と異なる点を説明する。制御部14は、各物理ポート2Aおよび2Bに接続する各仮想スイッチ3Aおよび3Bの対応関係を表す情報をあらかじめ保持する。そして、制御部14は、物理ポート2Aおよび2Bの状態をそれぞれ監視する。物理ポート2Aまたは2Bの障害を検知したとき、制御部14は、上記の対応関係を表す情報に基づいて、障害が発生した物理ポート2Aまたは2Bに接続される仮想スイッチ3Aまたは3Bに対して、停止を指示する停止指示を出力する。制御部14の構成は、上述した点以外は、第1の実施形態における制御部4と同様であるので、重複する詳細な説明は省略する。
The
仮想マシン5は、仮想スイッチ3Aおよび3Bを介して、ネットワーク1001に対する通信を行うことができる。仮想マシン5は、仮想スイッチ3Aまたは3Bとの接続が切れたことを検知することにより、物理ポート2Aまたは2B、および物理ポート2Aまたは2Bに接続されるリンク6Aまたは6Bにおける障害の発生を認識することができる。本実施形態に係る動作を行う仮想マシン5は、例えば、仮想マシン5のゲストOSに含まれる処理部であってもよい。または、仮想マシン5は、仮想マシン5において動作するアプリケーションであってもよい。
The
次に、上述した構成を備える本実施形態の動作について詳細に説明する。 Next, the operation of the present embodiment having the above-described configuration will be described in detail.
図3は、第2の実施形態における物理ポート2Aの障害検知後における動作の一例を示すシーケンスチャートである。以下では、物理ポート2Aにおいて障害が発生した場合の動作を一例として説明する。初めに、仮想スイッチ3Aおよび3B、物理ポート2Aおよび2B、並びに仮想マシン5は、それぞれ正常な状態で、図2に示す通りに互いに接続されている状態であることを前提とする。また、本実施形態では、仮想マシン5は、一例として、仮想スイッチ3Aおよび3Bとの接続状態を周期的に監視していることを前提とする。
FIG. 3 is a sequence chart illustrating an example of an operation after detecting a failure of the
制御部14は、物理ポート2Aおよび2Bの状態を監視する。例えば、制御部14は、物理マシン10を制御するOSの状態取得コマンドなどを、物理ポート2Aおよび2Bのそれぞれに対して周期的に実行することにより、継続的に監視を行ってもよい。または、制御部14は、物理マシン10において発生した事象を記録するログなどに、監視周期の間に発生した物理ポート2Aまたは2Bの障害を表す情報が含まれることによって、障害を検知してもよい。
The
そして、物理ポート2Aにおいて障害が発生した場合、制御部14は、物理ポート2Aの障害を検知する。例えば、制御部14は、物理ポート2Aに接続されるリンク6Aがリンクダウンしたことを検知してもよい。
When a failure occurs in the
物理ポート2Aの障害を検知すると、制御部14は、物理ポート2Aに対応する(接続されている)仮想スイッチ3Aに対して、停止指示100を出力する。仮想スイッチ3Aは、停止指示100に応じて停止する。この結果として、仮想マシン5と仮想スイッチ3Aとの接続は切断される。
When detecting the failure of the
仮想スイッチ3Aおよび3Bとの接続状態を監視していた仮想マシン5は、仮想スイッチ3Aとの接続が切れたことを検知する。仮想マシン5は、仮想スイッチ3Aとの接続が切れたことにより、物理ポート2A(および、リンク6A)の障害が発生したことを認識することができる。このとき、仮想マシン5は、物理ポート2Aの障害以外の原因によって仮想スイッチ3Aとの接続が切れた可能性を考慮した動作を行ってもよい。例えば、仮想マシン5は、物理ポート2Aの障害および仮想スイッチ3A自体の障害の可能性も含めて、異常処理を行ってもよい。
The
このようにして、仮想マシン5は、物理マシン10に閉じた処理によって、物理ポート2Aの障害を認識することができる。なお、仮想マシン5は、物理ポート2Bにおける障害の発生に際しても、上述した物理ポート2Aの障害の場合と同様の動作によって、物理ポート2Bの障害を認識することができる。
In this way, the
以上、説明したように、本実施形態には、上述した第1の実施形態と同様にの効果に加えて、さらに、複数の物理ポート2Aおよび2B、並びに、複数の仮想スイッチ3Aおよび3Bを制御できるという効果もある。
As described above, the present embodiment controls the plurality of
その理由は、制御部14が、障害が発生した物理ポート2Aまたは2Bに対応する仮想スイッチ3Aまたは3Bに対して、停止指示100を出力することができるからである。
(第2の実施形態の変形例)
なお、本実施形態の変形例としては以下のようなものが考えられる。
The reason is that the
(Modification of the second embodiment)
In addition, the following can be considered as a modification of this embodiment.
例えば、仮想マシン5が複数あってもよい。この場合、物理ポート2Aおよび2B、仮想スイッチ3Aおよび3B、並びに制御部14は、各仮想マシン5に対して、それぞれ上述した動作を実行すればよい。
For example, there may be a plurality of
また、本実施形態に示す各構成要素の配置は、一例である。例えば、制御部14は、仮想マシン5に含めてもよい。この場合、仮想マシン5は、仮想スイッチ3Aおよび3Bとの接続状態の監視とは別に、制御部14として物理ポート2Aおよび2Bを監視してもよい。そして、仮想マシン5(制御部14)は、物理ポート2Aまたは2Bの障害を検知したことにより、対応する仮想スイッチ3Aまたは3Bが使用不能になったと判断してもよい。このようにすれば、仮想マシン5が、仮想スイッチ3Aまたは3Bにおける障害と、物理ポート2Aまたは2Bの障害とを区別することができる。
Moreover, the arrangement of each component shown in the present embodiment is an example. For example, the
また、仮想スイッチ3Aおよび3Bは、停止指示に応じて停止する代わりに、仮想マシン5に対して、物理ポート2Aまたは2Bにおける障害の発生を表すエラーを通知してもよい。このような変形例は、第1の実施形態における物理マシン1を基本とした場合にも実現可能である。また、第1の実施形態における変形例を本実施形態に適用した場合、仮想スイッチ3Aおよび3Bは、起動指示に応じて、正常接続(または、障害復旧)を表すステータス情報を仮想マシン5に対して通知してもよい。このとき、制御部14は、物理ポート2Aまたは2Bにおける障害復旧の検知に際しては、仮想スイッチ3Aおよび3Bに対して起動指示を出力する。このようにすれば、仮想マシン5は、仮想スイッチ3Aまたは3Bから、物理ポート2Aまたは2Bにおける障害の発生または復旧を表す通知を受け取ることができる。すなわち、仮想マシン5は、これらの通知なしに仮想スイッチ3Aまたは3Bとの接続が切断または復旧した場合、物理ポート2Aまたは2Bの障害(復旧)が理由ではないことを認識できる。すなわち、本変形例には、仮想マシン5が、仮想スイッチ3Aまたは3Bにおける障害と、物理ポート2Aまたは2Bの障害とを区別することができるという効果がある。
Further, the
なお、上述した各実施形態において図1または図2に示した各部は、それぞれ独立したハードウェア回路で構成されていてもよいし、ソフトウェアプログラムの機能(処理)単位(ソフトウェアモジュール)と捕らえることができる。ただし、これらの図面に示した各部の区分けは、説明の便宜上の構成であり、実装に際しては、様々な構成が想定され得る。このような場合のハードウェア環境の一例を、図4を参照して説明する。 In each embodiment described above, each unit illustrated in FIG. 1 or 2 may be configured by an independent hardware circuit, or may be regarded as a function (processing) unit (software module) of a software program. it can. However, the division of each part shown in these drawings is a configuration for convenience of explanation, and various configurations can be assumed for mounting. An example of the hardware environment in such a case will be described with reference to FIG.
図4は、本発明の各実施形態、および、その変形例に係る情報処理装置1および10に適用可能なコンピュータ(情報処理装置)の構成を例示する図である。すなわち、図4は、上述した各実施形態における情報処理装置1または10の少なくともどちらかを実現可能なコンピュータの構成であって、上述した各実施形態における各機能を実現可能なハードウェア環境を示す。
FIG. 4 is a diagram illustrating a configuration of a computer (information processing apparatus) applicable to each of the embodiments of the present invention and
図4に示したコンピュータ900は、CPU901、ROM(Read Only Memory)902、RAM(Random Access Memory)903、通信インタフェース(IF)904、ディスプレイ905、およびハードディスク装置(HDD)906を備え、これらがバス907を介して接続された構成を有する。なお、図4に示したコンピュータが情報処理装置1または10として機能する場合、ディスプレイ905は常時設けられる必要はない。
4 includes a
また、通信インタフェース904は、上述した各実施形態において、当該各コンピュータ間における通信を実現する一般的な通信手段である。ハードディスク装置906には、プログラム群906Aと、各種の記憶情報906Bとが格納されている。プログラム群906Aは、例えば、上述した図1または図2に示した各ブロック(各部)に対応する機能を実現するためのコンピュータ・プログラムである。各種の記憶情報906Bは、例えば、図1または図2に示した各部が動作する際にあらかじめ保持する情報などである。このようなハードウェア構成において、CPU901は、コンピュータ900の全体の動作を司る。
The
そして、上述した各実施形態を例に説明した本発明は、各実施形態の説明において参照したブロック構成図(図1および図2)あるいはフローチャート(図3)の機能を実現可能なコンピュータ・プログラムを供給した後、そのコンピュータ・プログラムを、当該ハードウェアのCPU901に読み出して実行することによって達成される。また、このコンピュータ内に供給されたコンピュータ・プログラムは、読み書き可能な一時記憶メモリであるRAM903またはハードディスク装置906などの不揮発性の記憶デバイス(記憶媒体)に格納すれば良い。
The present invention described by taking each of the above embodiments as an example is a computer program capable of realizing the functions of the block configuration diagrams (FIGS. 1 and 2) or the flowchart (FIG. 3) referred to in the description of each embodiment. After being supplied, the computer program is read by the
また、前記の場合において、当該各装置内へのコンピュータ・プログラムの供給方法は、フロッピーディスク(登録商標)やCD−ROM等の各種記録媒体を介して当該装置内にインストールする方法や、インターネット等の通信ネットワーク1000を介して外部よりダウンロードする方法等のように、現在では一般的な手順を採用することができる。そして、このような場合において、本発明は、係るコンピュータ・プログラムを構成するコード、或いは係るコードが記録されたところの、コンピュータ読み取り可能な記憶媒体によって構成されると捉えることができる。
In the above-described case, the computer program can be supplied to each device by a method of installing in the device via various recording media such as a floppy disk (registered trademark) and CD-ROM, the Internet, etc. Currently, a general procedure can be employed, such as a method of downloading from the outside via the
なお、上述した実施形態の一部または全部は、以下の付記のようにも記載されうるが、以下の付記に限定されるものではない。 Note that a part or all of the above-described embodiment can be described as the following supplementary notes, but is not limited to the following supplementary notes.
(付記1)
仮想マシンと物理ポートとを接続する仮想スイッチと、
前記物理ポートの状態を監視する制御手段と
を含み、
前記制御手段は、前記物理ポートに関連する障害を検知したとき、前記障害が検知された前記物理ポートに接続される前記仮想スイッチに対して停止を指示する停止指示を出力し、
前記仮想スイッチは、前記停止指示に応じて停止する
情報処理装置。
(Appendix 1)
A virtual switch that connects the virtual machine to the physical port;
Control means for monitoring the state of the physical port;
When the control unit detects a failure related to the physical port, the control unit outputs a stop instruction to instruct the virtual switch connected to the physical port where the failure is detected,
The virtual switch stops in response to the stop instruction.
(付記2)
前記制御手段は、前記物理ポートが正常に動作したことを検知した場合に、前記仮想スイッチを起動する
付記1記載の情報処理装置。
(Appendix 2)
The information processing apparatus according to claim 1, wherein the control unit activates the virtual switch when it detects that the physical port operates normally.
(付記3)
前記物理ポートおよび前記仮想スイッチの少なくともいずれかが複数の場合、前記制御手段は、前記各物理ポートに接続する前記各仮想スイッチの対応関係を表す情報に基づいて、前記障害が検知された前記物理ポートに接続される前記仮想スイッチに対する前記停止指示を出力する
付記1または2記載の情報処理装置。
(Appendix 3)
When at least one of the physical port and the virtual switch is plural, the control unit is configured to control the physical in which the failure is detected based on information indicating a correspondence relationship between the virtual switches connected to the physical ports. The information processing apparatus according to
(付記4)
前記仮想スイッチは、前記停止指示に応じて、停止する代わりに、前記物理ポートにおける障害の発生を表すエラーを通知する
付記1乃至3のいずれか1つに記載の情報処理装置。
(Appendix 4)
The information processing apparatus according to any one of appendices 1 to 3, wherein the virtual switch notifies an error indicating the occurrence of a failure in the physical port instead of stopping in response to the stop instruction.
(付記5)
物理ポートの状態を監視し、
物理ポートに関連する障害を検知したとき、前記障害が検知された前記物理ポートと仮想マシンとを接続する仮想スイッチに対して停止を指示する停止指示を出力し、
前記仮想スイッチが、前記停止指示に応じて停止する
障害検知方法。
(Appendix 5)
Monitor the physical port status,
When a failure related to a physical port is detected, a stop instruction that instructs the virtual switch that connects the physical port where the failure is detected and the virtual machine to stop is output.
A failure detection method in which the virtual switch stops in response to the stop instruction.
(付記6)
前記仮想スイッチが停止した後、または、前記仮想スイッチを初期起動するとき、前記物理ポートが正常に動作したことを検知した場合に、前記仮想スイッチを起動する
付記5記載の障害検知方法。
(Appendix 6)
The failure detection method according to
(付記7)
前記物理ポートおよび前記仮想スイッチの少なくともいずれかが複数の場合、
前記停止指示を出力する際、前記各物理ポートに接続する前記各仮想スイッチの対応関係を表す情報に基づいて、前記障害が検知された前記物理ポートに接続される前記仮想スイッチに対する前記停止指示を出力する
付記5または6記載の障害検知方法。
(Appendix 7)
When at least one of the physical port and the virtual switch is plural,
When outputting the stop instruction, the stop instruction for the virtual switch connected to the physical port where the failure is detected is based on information indicating the correspondence relationship of the virtual switches connected to the physical ports. Output the fault detection method according to
(付記8)
前記仮想スイッチは、前記停止指示に応じて、停止する代わりに、前記物理ポートにおける障害の発生を表すエラーを通知する
付記5乃至7のいずれか1つに記載の障害検知方法。
(Appendix 8)
The failure detection method according to any one of
(付記9)
物理ポートの状態を監視し、物理ポートに関連する障害を検知したとき、前記障害が検知された前記物理ポートと仮想マシンとを接続する仮想スイッチに対して停止を指示する停止指示を出力する制御処理と、
前記停止指示に応じて停止する仮想マシン処理と
をコンピュータに実行させるコンピュータ・プログラム。
(Appendix 9)
Control that monitors the state of the physical port and outputs a stop instruction that instructs the virtual switch that connects the physical port in which the failure is detected and the virtual machine when a failure related to the physical port is detected Processing,
A computer program that causes a computer to execute virtual machine processing that stops in response to the stop instruction.
(付記10)
前記制御処理において、前記物理ポートが正常に動作したことを検知した場合に、前記仮想スイッチを起動する
付記9記載のコンピュータ・プログラム。
(Appendix 10)
The computer program according to claim 9, wherein, in the control process, the virtual switch is activated when it is detected that the physical port operates normally.
(付記11)
前記物理ポートおよび前記仮想スイッチの少なくともいずれかが複数の場合、前記制御処理において、前記各物理ポートに接続する前記各仮想スイッチの対応関係を表す情報に基づいて、前記障害が検知された前記物理ポートに接続される前記仮想スイッチに対する前記停止指示を出力する
付記9または10記載のコンピュータ・プログラム。
(Appendix 11)
When at least one of the physical port and the virtual switch is plural, in the control process, the physical in which the failure has been detected is based on information indicating a correspondence relationship between the virtual switches connected to the physical ports. The computer program according to
(付記12)
前記仮想スイッチにおいて、前記停止指示に応じて、停止する代わりに、前記物理ポートにおける障害の発生を表すエラーを通知する
付記9乃至11のいずれか1つに記載のコンピュータ・プログラム。
(Appendix 12)
The computer program according to any one of appendices 9 to 11, wherein the virtual switch notifies an error indicating the occurrence of a failure in the physical port instead of stopping in response to the stop instruction.
1、10 情報処理装置(物理マシン)
2、2A、2B 物理ポート
3、3A、3B 仮想スイッチ
4、14 制御部
5 仮想マシン
6、6A、6B リンク
900 情報処理装置(コンピュータ)
901 CPU
902 ROM
903 RAM
904 通信インタフェース(IF)
905 ディスプレイ
906 ハードディスク装置(HDD)
906A プログラム群
906B 各種の記憶情報
907 バス
1000、1001 ネットワーク(通信ネットワーク)
1, 10 Information processing equipment (physical machine)
2, 2A,
901 CPU
902 ROM
903 RAM
904 Communication interface (IF)
905
Claims (10)
前記物理ポートの状態を監視する制御手段と
を含み、
前記制御手段は、前記物理ポートに関連する障害を検知したとき、前記障害が検知された前記物理ポートに接続される前記仮想スイッチに対して停止を指示する停止指示を出力し、
前記仮想スイッチは、前記停止指示に応じて停止する
情報処理装置。 A virtual switch that connects the virtual machine to the physical port;
Control means for monitoring the state of the physical port;
When the control unit detects a failure related to the physical port, the control unit outputs a stop instruction to instruct the virtual switch connected to the physical port where the failure is detected,
The virtual switch stops in response to the stop instruction.
請求項1記載の情報処理装置。 The information processing apparatus according to claim 1, wherein the control unit activates the virtual switch when detecting that the physical port operates normally.
請求項1または2記載の情報処理装置。 When at least one of the physical port and the virtual switch is plural, the control unit is configured to control the physical in which the failure is detected based on information indicating a correspondence relationship between the virtual switches connected to the physical ports. The information processing apparatus according to claim 1, wherein the stop instruction for the virtual switch connected to the port is output.
請求項1乃至3のいずれか1つに記載の情報処理装置。 The information processing apparatus according to any one of claims 1 to 3, wherein the virtual switch notifies an error indicating the occurrence of a failure in the physical port instead of stopping in response to the stop instruction.
物理ポートに関連する障害を検知したとき、前記障害が検知された前記物理ポートと仮想マシンとを接続する仮想スイッチに対して停止を指示する停止指示を出力し、
前記仮想スイッチが、前記停止指示に応じて停止する
障害検知方法。 Monitor the physical port status,
When a failure related to a physical port is detected, a stop instruction that instructs the virtual switch that connects the physical port where the failure is detected and the virtual machine to stop is output.
A failure detection method in which the virtual switch stops in response to the stop instruction.
請求項5記載の障害検知方法。 The failure detection method according to claim 5, wherein the virtual switch is activated when it is detected that the physical port has normally operated after the virtual switch is stopped or when the virtual switch is initially activated.
前記停止指示を出力する際、前記各物理ポートに接続する前記各仮想スイッチの対応関係を表す情報に基づいて、前記障害が検知された前記物理ポートに接続される前記仮想スイッチに対する前記停止指示を出力する
請求項5または6記載の障害検知方法。 When at least one of the physical port and the virtual switch is plural,
When outputting the stop instruction, the stop instruction for the virtual switch connected to the physical port where the failure is detected is based on information indicating the correspondence relationship of the virtual switches connected to the physical ports. The fault detection method according to claim 5 or 6.
前記停止指示に応じて停止する仮想マシン処理と
をコンピュータに実行させるコンピュータ・プログラム。 Control that monitors the state of the physical port and outputs a stop instruction that instructs the virtual switch that connects the physical port in which the failure is detected and the virtual machine when a failure related to the physical port is detected Processing,
A computer program that causes a computer to execute virtual machine processing that stops in response to the stop instruction.
請求項8記載のコンピュータ・プログラム。 The computer program according to claim 8, wherein, in the control process, the virtual switch is activated when it is detected that the physical port operates normally.
請求項8または9記載のコンピュータ・プログラム。 When at least one of the physical port and the virtual switch is plural, in the control process, the physical in which the failure has been detected is based on information indicating a correspondence relationship between the virtual switches connected to the physical ports. The computer program according to claim 8 or 9, wherein the stop instruction for the virtual switch connected to the port is output.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015086948A JP2016206898A (en) | 2015-04-21 | 2015-04-21 | Information processing device, fault detection method, and computer program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2015086948A JP2016206898A (en) | 2015-04-21 | 2015-04-21 | Information processing device, fault detection method, and computer program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2016206898A true JP2016206898A (en) | 2016-12-08 |
Family
ID=57487690
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2015086948A Pending JP2016206898A (en) | 2015-04-21 | 2015-04-21 | Information processing device, fault detection method, and computer program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2016206898A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE112017005328T5 (en) | 2016-10-21 | 2019-08-01 | Med-Tech Inc. | Warming device and infusion system |
CN111026086A (en) * | 2019-12-19 | 2020-04-17 | 三一重机有限公司 | Control channel diagnosis system, control channel regulation and control method and engineering machinery |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120254863A1 (en) * | 2011-03-31 | 2012-10-04 | International Business Machines Corporation | Aggregating shared ethernet adapters in a virtualized environment |
JP2012198651A (en) * | 2011-03-18 | 2012-10-18 | Nec Corp | Cluster system, virtual machine server, failover method for virtual machine, and failover program for the virtual machine |
JP2014096675A (en) * | 2012-11-08 | 2014-05-22 | Hitachi Ltd | Communication apparatus and setting method |
WO2014141593A1 (en) * | 2013-03-15 | 2014-09-18 | 日本電気株式会社 | Information processing device |
-
2015
- 2015-04-21 JP JP2015086948A patent/JP2016206898A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012198651A (en) * | 2011-03-18 | 2012-10-18 | Nec Corp | Cluster system, virtual machine server, failover method for virtual machine, and failover program for the virtual machine |
US20120254863A1 (en) * | 2011-03-31 | 2012-10-04 | International Business Machines Corporation | Aggregating shared ethernet adapters in a virtualized environment |
JP2014096675A (en) * | 2012-11-08 | 2014-05-22 | Hitachi Ltd | Communication apparatus and setting method |
WO2014141593A1 (en) * | 2013-03-15 | 2014-09-18 | 日本電気株式会社 | Information processing device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE112017005328T5 (en) | 2016-10-21 | 2019-08-01 | Med-Tech Inc. | Warming device and infusion system |
CN111026086A (en) * | 2019-12-19 | 2020-04-17 | 三一重机有限公司 | Control channel diagnosis system, control channel regulation and control method and engineering machinery |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6272958B2 (en) | Physical network security device and control method thereof | |
EP3142011B9 (en) | Anomaly recovery method for virtual machine in distributed environment | |
US8547972B2 (en) | Bypass mechanism for virtual computing infrastructures | |
JP6056554B2 (en) | Cluster system | |
JP6299640B2 (en) | Communication device | |
US9697069B2 (en) | Providing a remote diagnosis for an information appliance via a secure connection | |
EP2637102B1 (en) | Cluster system with network node failover | |
CN102710457A (en) | N+1 backup method and device of cross-network segment | |
CN103036701A (en) | Network segment crossing N+1 backup method and network segment crossing N+1 backup device | |
US9426022B2 (en) | SEA failover mechanism with minimized packet losses | |
JP2013167922A (en) | Redundant communication system and redundant communication method | |
JP2016206898A (en) | Information processing device, fault detection method, and computer program | |
JP5712714B2 (en) | Cluster system, virtual machine server, virtual machine failover method, virtual machine failover program | |
JP2012038257A (en) | Os operating state confirmation system, confirmation object device, os operating state confirmation device, and os operating state confirmation method and program | |
JP2011203941A (en) | Information processing apparatus, monitoring method and monitoring program | |
JP2015148893A (en) | virtualization system, control method, and control program | |
WO2012164418A1 (en) | Facilitating processing in a communications environment using stop signaling | |
US10237122B2 (en) | Methods, systems, and computer readable media for providing high availability support at a bypass switch | |
CN111897681A (en) | Message forwarding method and device, computing equipment and storage medium | |
CN107423113B (en) | Method for managing virtual equipment, out-of-band management equipment and standby virtual equipment | |
JP2012075009A (en) | Redundancy device and redundancy program | |
KR101799340B1 (en) | Method for emergency recovery of network function virtualization | |
JP2006171995A (en) | Control computer | |
JP5806987B2 (en) | Computer and its fault processing method and program | |
JP2013254333A (en) | Multiple system control system and control method therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20180315 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20181219 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190108 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20190730 |