JP2017146695A - Communication setting method, communication setting program, information processing device, and information processing system - Google Patents
Communication setting method, communication setting program, information processing device, and information processing system Download PDFInfo
- Publication number
- JP2017146695A JP2017146695A JP2016026722A JP2016026722A JP2017146695A JP 2017146695 A JP2017146695 A JP 2017146695A JP 2016026722 A JP2016026722 A JP 2016026722A JP 2016026722 A JP2016026722 A JP 2016026722A JP 2017146695 A JP2017146695 A JP 2017146695A
- Authority
- JP
- Japan
- Prior art keywords
- storage device
- information processing
- setting information
- activation
- processing apparatus
- 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
- 230000010365 information processing Effects 0.000 title claims abstract description 91
- 238000000034 method Methods 0.000 title claims description 20
- 230000004913 activation Effects 0.000 claims abstract description 65
- 230000010076 replication Effects 0.000 claims description 5
- 230000008030 elimination Effects 0.000 abstract 1
- 238000003379 elimination reaction Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 17
- 230000008034 disappearance Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
本発明は、仮想マシンの通信の設定技術に関する。 The present invention relates to a virtual machine communication setting technique.
情報処理システムにおける物理マシン上で動作する仮想マシン(Virtual Machine)には、ライセンス契約に基づき通信の設定情報(例えばMAC(Media Access Control)アドレスを含む)が割り当てられ、仮想マシンは設定情報を使用することで通信を行うことができる。 The virtual machine (Virtual Machine) running on the physical machine in the information processing system is assigned communication setting information (including MAC (Media Access Control) address, for example) based on the license agreement, and the virtual machine uses the setting information. By doing so, communication can be performed.
物理サーバの記憶装置に保存された設定情報が障害等によって消失した場合、仮想マシンの通信に問題が発生することがあるので、消失した設定情報を復元する仕組みをクラウドシステムが備えることが好ましい。但し、仮想マシンにより使用される通信の設定情報を復元することに着目した文献は存在しない。 When the setting information stored in the storage device of the physical server is lost due to a failure or the like, a problem may occur in the communication of the virtual machine. Therefore, it is preferable that the cloud system has a mechanism for restoring the lost setting information. However, there is no document that focuses on restoring the communication setting information used by the virtual machine.
本発明の目的は、1つの側面では、物理マシン上で動作する仮想マシンの通信の設定情報が消失することによって通信の問題が発生することを防ぐための技術を提供することである。 An object of the present invention is, in one aspect, to provide a technique for preventing a communication problem from occurring due to the disappearance of communication setting information of a virtual machine operating on a physical machine.
本発明に係る情報処理装置は、第1の記憶装置と、情報処理装置の起動時に、当該起動が初回の起動であるか判定する判定部と、判定部により初回の起動であると判定された場合、情報処理装置がアクセス可能な第2の記憶装置に予め格納され且つアドレスを含む設定情報を、第1の記憶装置に複製する第1複製部と、第1の記憶装置に格納された設定情報に基づき、情報処理装置において実行される仮想マシンの通信の設定を行う設定部とを有する。 The information processing apparatus according to the present invention is determined to be the first activation by the first storage device, a determination unit that determines whether the activation is the first activation when the information processing apparatus is activated, and the determination unit In this case, a first replication unit that replicates the setting information that is stored in advance in the second storage device accessible by the information processing device and includes the address to the first storage device, and the setting that is stored in the first storage device A setting unit configured to set communication of a virtual machine executed in the information processing apparatus based on the information.
1つの側面では、物理マシン上で動作する仮想マシンの通信の設定情報が消失することによって通信の問題が発生することを防げるようになる。 In one aspect, it is possible to prevent a communication problem from occurring due to loss of communication setting information of a virtual machine operating on a physical machine.
まず、図1に示すようなシステムを考える。図1においては、EEPROM(Electrically Erasable Programmable Read Only Memory)とHDD(Hard Disk Drive)とを有する情報処理装置は、専用線などを介してネットワーク装置と通信を行うことができる。 First, consider a system as shown in FIG. In FIG. 1, an information processing apparatus having an EEPROM (Electrically Erasable Programmable Read Only Memory) and an HDD (Hard Disk Drive) can communicate with a network apparatus via a dedicated line or the like.
情報処理装置においては3台の仮想マシン(以下、VMと呼ぶ)が実行されている。各VMには、ユーザインタフェース等を介してEEPROMに格納された設定情報(本実施の形態においては、VMを識別するための番号とMACアドレスとの対応関係を示すデータ)に基づき、ハイパバイザ等によって通信設定が行われる(例えば、ネットワークインタフェースが生成される)。ここでは、番号が1であるVMに対してライセンス契約に基づきMACアドレス「B」が割り当てられ、番号が2であるVMに対してライセンス契約に基づきMACアドレス「C」が割り当てられ、番号が3であるVMに対してライセンス契約に基づきMACアドレス「A」が割り当てられる。各VMのデータ(例えば、OS(Operating System)のデータ及びアプリケーションプログラム等)はHDDに格納される。
In the information processing apparatus, three virtual machines (hereinafter referred to as VMs) are executed. Each VM has a hypervisor or the like based on setting information stored in the EEPROM via a user interface or the like (in this embodiment, data indicating a correspondence between a number for identifying a VM and a MAC address). Communication settings are made (for example, a network interface is generated). Here, the MAC address “B” is assigned to the VM with the
なお、HDDとは別の記憶装置であるEEPROMに設定情報が保存されるのは、HDDが故障した場合に設定情報が消失しないようにするためである。また、設定情報を消失しないようにするのは、消失した後に設定情報が手動で誤って入力されることにより(すなわち、ヒューマンエラーにより)VM番号とMACアドレスとの対応関係が変化しないようするためである。 The reason why the setting information is stored in the EEPROM, which is a storage device different from the HDD, is to prevent the setting information from being lost if the HDD fails. The reason why the setting information is not lost is to prevent the correspondence between the VM number and the MAC address from being changed by manually inputting the setting information after the loss (that is, due to a human error). It is.
ネットワーク装置には、各VMのMACアドレスに対応するMACアドレスが固定的に設定される。従って、たとえHDDに格納されたVM番号とMACアドレスとの対応関係が変更されたとしても、ネットワーク装置側の設定は自動的には変更されないので、VMとネットワーク装置との間に通信の問題(例えば、通信できない状態に陥る、或いは、パケットが誤配されるなど)が発生する。このような場合には、ネットワーク装置側の設定を手動でやり直さなければならない。 A MAC address corresponding to the MAC address of each VM is fixedly set in the network device. Therefore, even if the correspondence between the VM number stored in the HDD and the MAC address is changed, the setting on the network device side is not automatically changed, so there is a communication problem between the VM and the network device ( For example, a state in which communication cannot be performed or a packet is misdistributed) occurs. In such a case, the network device side must be manually set again.
ここで、図2に示すように、EEPROMに格納されている設定情報が障害によって消失したとする。このような場合、稼働中のVMに即座に影響が及ぶことはないが、情報処理装置が設定情報の消失後に新たに起動する場合、EEPROMには設定情報が格納されていないので、VMには設定情報に基づく通信設定が行われない。従って、VMが起動して通信を行うことはできない。 Here, as shown in FIG. 2, it is assumed that the setting information stored in the EEPROM is lost due to a failure. In such a case, there is no immediate effect on the operating VM, but when the information processing apparatus is newly started after the disappearance of the setting information, the setting information is not stored in the EEPROM. Communication settings based on the setting information are not performed. Therefore, the VM cannot be activated to perform communication.
このような場合、図3に示すように、ネットワーク装置側の設定に対応する設定情報を、管理者がユーザインタフェースを介してEEPROMに書き込むことができれば、VMに対しては、EEPROMに書き込まれた設定情報に基づき通信設定が行われる。これにより、VMとネットワーク装置とが正常に通信を行うことができる。 In such a case, as shown in FIG. 3, if the administrator can write the setting information corresponding to the setting on the network device side to the EEPROM via the user interface, the VM is written to the EEPROM. Communication settings are made based on the setting information. As a result, the VM and the network device can communicate normally.
これに対して、図4に示すように、ネットワーク装置側の設定に対応しない設定情報を、管理者がユーザインタフェースを介してEEPROMに書き込んだ場合、VMに対しては、EEPROMに書き込まれた正しくない設定情報に基づき通信設定が行われる。図4の例では、番号が1であるVMに対してMACアドレス「A」が割り当てられ、番号が2であるVMに対してMACアドレス「B」が割り当てられ、番号が3であるVMに対してMACアドレス「C」が割り当てられる。従って、VMとネットワーク装置との間の通信に問題が発生する。
On the other hand, as shown in FIG. 4, when the administrator writes the setting information that does not correspond to the setting on the network device side to the EEPROM via the user interface, the VM correctly writes the setting information to the EEPROM. Communication settings are made based on no setting information. In the example of FIG. 4, the MAC address “A” is assigned to the VM with the
[本実施の形態の概要]
そこで本実施の形態においては、図5に示すように、設定情報を退避するための領域を情報処理装置のHDDに設け、EEPROMに格納されている設定情報を自動的に退避する。設定情報の退避は、EEPROMに新たな設定情報が書き込まれた場合に行われる。また、情報処理装置の起動時に退避用の領域に設定情報が格納されていない場合には、EEPROMに格納されている設定情報を退避用の領域に格納することで、新たな設定情報がEEPROMに書き込まれる前にEEPROMから設定情報が消失した場合にも対処できるようにする。
[Outline of this embodiment]
Therefore, in the present embodiment, as shown in FIG. 5, an area for saving the setting information is provided in the HDD of the information processing apparatus, and the setting information stored in the EEPROM is automatically saved. The setting information is saved when new setting information is written in the EEPROM. Also, if the setting information is not stored in the save area when the information processing apparatus is activated, the new setting information is stored in the EEPROM by storing the setting information stored in the EEPROM in the save area. It is also possible to cope with the case where the setting information is lost from the EEPROM before it is written.
図6に示すように、例えばEEPROM内の設定情報が消失した場合、VMは起動して通信を行うことができなくなるが、退避用の領域の書き込まれた設定情報は消失せずに残ることになる。このような場合には、EEPROMを交換したうえで情報処理装置の再起動を行う。 As shown in FIG. 6, for example, if the setting information in the EEPROM is lost, the VM cannot start and communicate, but the setting information written in the save area remains without being lost. Become. In such a case, the information processing apparatus is restarted after replacing the EEPROM.
EEPROMを交換した後に情報処理装置を起動した場合には、EEPROMにとっては、その起動は初回の起動に相当する。このような場合には、図7に示すように、退避用の領域に格納された設定情報がEEPROMに復元される。これにより、VMに対しては、ネットワーク装置側の設定と対応する設定情報によって通信設定が行われるので、通信の問題は発生しない。 When the information processing apparatus is activated after the EEPROM is replaced, the activation corresponds to the first activation for the EEPROM. In such a case, as shown in FIG. 7, the setting information stored in the save area is restored to the EEPROM. As a result, the communication setting is performed for the VM using the setting information corresponding to the setting on the network device side, so that no communication problem occurs.
[本実施の形態の具体的内容]
図8に、本実施の形態におけるシステムの概要を示す。本実施の形態の主要な処理を実行する情報処理装置1は、例えばLAN(Local Area Network)を介して管理者端末3に接続され、また、例えば専用線を介してネットワーク装置5に接続される。管理者端末3は、システムの管理者によって操作される。ネットワーク装置5は、例えば物理サーバ、ネットワークスイッチ、或いはストレージデバイス等である。
[Specific contents of this embodiment]
FIG. 8 shows an overview of the system in the present embodiment. The
図9に、情報処理装置1のハードウエア構成図を示す。情報処理装置1は、本体装置15と、HDD16とを有する。本体装置15は、CPU(Central Processing Unit)151と、RAM(Random Access Memory)152と、EEPROM153と、NIC(Network Interface Card)155と、バス156とを有する。CPU151、RAM152、EEPROM153及びNIC155は、バス156によって接続される。本体装置15はHDD16にアクセス可能である。なお、本体装置15がその他のハードウエア(例えばHDD)を有してもよい。
FIG. 9 shows a hardware configuration diagram of the
本体装置15は、情報処理装置1から取り外しが可能である。本実施の形態においては、例えばEEPROM153に障害が発生した場合、本体装置15は情報処理装置1から取り外され、新しい本体装置15に交換される。
The
図10に、情報処理装置1の機能ブロック図を示す。情報処理装置1は、VM121乃至VM124と、例えばハイパバイザである仮想化処理部110と、管理部100とを含む。仮想化処理部110は、例えば、プログラムがRAM152にロードされ、CPU151に実行されることによって実現される。VM121乃至VM124は、仮想化処理部110によって実現される。本体装置15のハードウエア(例えば、CPU151、RAM152及びNIC155)はVM121乃至VM124に割り当てられるが、VM121乃至VM124のデータはHDD16に格納される。VM121乃至VM124に対しては、EEPROM153に格納された設定情報に基づき、仮想化処理部110によって通信の設定が行われる。管理部100は、プログラム(例えばファームウエア)がRAM152にロードされ、CPU151に実行されることによって実現される。
FIG. 10 shows a functional block diagram of the
図11に、管理部100の機能ブロック図を示す。管理部100は、第1退避部101と、第2退避部102と、復元部103と、受付部104と、フラグ管理部105と、起動処理部106とを含む。
FIG. 11 shows a functional block diagram of the
第1退避部101は、情報処理装置1の起動時に、EEPROM153に格納されている設定情報をHDD16の退避用の領域に複製(すなわち退避)する処理を実行する。第2退避部102は、管理者端末3から受信した設定情報をEEPROM153から読み出し、HDD16の退避用の領域に複製する処理を実行する。復元部103は、情報処理装置1の初回起動時に、HDD16の退避用の領域に格納されている設定情報をEEPROM153に複製する。受付部104は、管理者端末3から設定情報を受信した場合、受信した設定情報をEEPROM153に格納する。フラグ管理部105は、情報処理装置1の起動が初回であるか否かを示す初回起動フラグを管理する。起動処理部106は、情報処理装置1の起動時に実行すべき処理を実行する。
The first save
次に、図12乃至図14を用いて、情報処理装置1において実行される処理について説明する。
Next, processing executed in the
まず、図12及び図13を用いて、情報処理装置1の起動時に実行される処理について説明する。本体装置15の起動処理部106は、情報処理装置1の起動時の処理(例えば、一部のハードウエアの初期化など)を実行する(図12:ステップS1)。ステップS1の処理はよく知られた処理であり、また、本実施の形態の主要な部分とは関係が無いので、詳細な説明を省略する。
First, processing executed when the
第1退避部101は、設定情報がHDD16の退避用の領域に格納されているか判定する(ステップS3)。稼働中のVMに対して実際に設定されている、HDD16上の設定情報は、情報処理装置1のシャットダウン時にVMを停止した時点で消去されるものとする。
The first save
設定情報がHDD16の退避用の領域に格納されている場合(ステップS3:Yesルート)、EEPROM153に格納されている設定情報をHDD16の退避用の領域に格納しなくてもよい。従って、ステップS11の処理に移行する。
When the setting information is stored in the save area of the HDD 16 (step S3: Yes route), the setting information stored in the
設定情報がHDD16の退避用の領域に格納されていない場合(ステップS3:Noルート)、第1退避部101は、設定情報がEEPROM153に格納されているか判定する(ステップS5)。設定情報がEEPROM153に格納されていない場合(ステップS5:Noルート)、退避を実行できないので、ステップS11の処理に移行する。
When the setting information is not stored in the save area of the HDD 16 (step S3: No route), the
一方、設定情報がEEPROM153に格納されている場合(ステップS5:Yesルート)、第1退避部101は、設定情報をEEPROM153から読み出す(ステップS7)。
On the other hand, when the setting information is stored in the EEPROM 153 (step S5: Yes route), the
第1退避部101は、ステップS7においてEEPROM153から読み出した設定情報を、HDD16の退避用の領域に書き込む(ステップS9)。
The
フラグ管理部105は、本体装置15内の記憶装置に設けられた初回起動フラグが立っている(すなわち、起動が初回の起動である)か判定する(ステップS11)。初回起動フラグは、EEPROM153に設けられてもよいし、本体装置15の別の記憶装置に設けられてもよい。初回起動フラグは、本体装置15の製造時点において立った状態に設定される。従って、本体装置15が交換されたため情報処理装置1の起動が初回の起動である場合には、初回起動フラグが立っている。
The
初回起動フラグが立っていない場合(ステップS11:Noルート)、処理は端子Aを介して図13の処理に移行し終了する。一方、初回起動フラグが立っている場合(ステップS11:Yesルート)、処理は端子Bを介して図13のステップS13に移行する。 If the initial activation flag is not set (step S11: No route), the process proceeds to the process of FIG. On the other hand, if the initial activation flag is set (step S11: Yes route), the process proceeds to step S13 in FIG.
図13の説明に移行し、復元部103は、設定情報がHDD16の退避用の領域に格納されているか判定する(図13:ステップS13)。設定情報がHDD16の退避用の領域に格納されていない場合(ステップS13:Noルート)、復元を行うことができないので、処理は終了する。
Shifting to the description of FIG. 13, the
一方、設定情報がHDD16の退避用の領域に格納されている場合(ステップS13:Yesルート)、復元部103は、設定情報をHDD16の退避用の領域から読み出す(ステップS15)。
On the other hand, when the setting information is stored in the save area of the HDD 16 (step S13: Yes route), the
復元部103は、ステップS15においてHDD16の退避用の領域から読み出した設定情報を、EEPROM153に書き込む(ステップS17)。
The
フラグ管理部105は、本体装置15内の記憶装置に設けられた初回起動フラグを落とす(すなわち、情報処理装置1の起動が初回ではないことを示す状態に設定する)(ステップS19)。そして処理は終了する。
The
以上のように、本体装置15の交換後に情報処理装置1を初めて起動する場合には、交換されなかったHDD16の退避用の領域に保存された設定情報を、EEPROM153に復元することができる。これにより、VM121乃至VM124は起動後に正常に通信を行うことができるようになる。
As described above, when the
また、自動的に退避が行われるので、初回起動時に人手で設定情報を入力するようなケースと比較すると、ヒューマンエラーが無くなる。 In addition, since automatic evacuation is performed, human error is eliminated as compared with a case where setting information is manually input at the first activation.
また、情報処理装置1の起動時にHDD16の退避用の領域に設定情報が格納されていない場合には、EEPROM153に格納されている設定情報をHDD16の退避用の領域に格納することで、新たな設定情報がEEPROM153に書き込まれる前にEEPROM153から設定情報が消失した場合にも対処できるようになる。
If the setting information is not stored in the save area of the
次に、図14を用いて、管理者端末3から設定情報を受信した際に実行される処理について説明する。
Next, processing executed when setting information is received from the
まず、情報処理装置1の受付部104は、管理者端末3から設定情報を受信し(図14:ステップS21)、受信した設定情報をEEPROM153に書き込む(ステップS23)。既に設定情報がEEPROM153に格納されている場合には、既にEEPROM153に格納されている設定情報が、受信した設定情報で更新される。また、受付部104は、受信した設定情報を第2退避部102に出力する。
First, the receiving
第2退避部102は、ステップS21において受信された設定情報を、EEPROM153から読み出す(ステップS25)。
The
第2退避部102は、ステップS25において読み出した設定情報を、HDD16の退避用の領域に書き込む(ステップS27)。そして処理は終了する。
The
以上のような処理を実行すれば、新たな設定情報がEEPROM153に書き込まれたタイミングでHDD16の退避用の領域にも書き込まれるので、新たな設定情報が退避される前にEEPROM153内の設定情報が消失する可能性を低くすることができるようになる。
If the above processing is executed, the new setting information is written in the save area of the
以上本発明の一実施の形態を説明したが、本発明はこれに限定されるものではない。例えば、上で説明した情報処理装置1の機能ブロック構成は実際のプログラムモジュール構成に一致しない場合もある。
Although one embodiment of the present invention has been described above, the present invention is not limited to this. For example, the functional block configuration of the
また、上で説明した各テーブルの構成は一例であって、上記のような構成でなければならないわけではない。さらに、処理フローにおいても、処理結果が変わらなければ処理の順番を入れ替えることも可能である。さらに、並列に実行させるようにしても良い。 Further, the configuration of each table described above is an example, and the configuration as described above is not necessarily required. Further, in the processing flow, the processing order can be changed if the processing result does not change. Further, it may be executed in parallel.
また、上ではEEPROM及びHDDではなく、他の記憶装置であってもよい。例えば、EEPROMではなく、不揮発性の他のメモリであってもよい。また、HDDではなく、他のディスク装置(例えばSSD(Solid State Drive))であってもよい。また、VMのデータを格納するHDDと、退避用の領域を有するHDDとが一体でなくてもよい。 In the above, other storage devices may be used instead of the EEPROM and the HDD. For example, not the EEPROM but another nonvolatile memory may be used. Further, instead of the HDD, another disk device (for example, SSD (Solid State Drive)) may be used. Further, the HDD that stores the VM data and the HDD having the save area may not be integrated.
また、交換の対象は本体装置15全体でなくてもよい。例えば、EEPROM153のみが交換の対象であってもよい。この場合には、初回起動フラグがEEPROM153に設けられ、EEPROM153の製造時点において初回起動フラグが立った状態に設定されるものとする。
Further, the replacement target may not be the entire
以上述べた本発明の実施の形態をまとめると、以下のようになる。 The embodiment of the present invention described above is summarized as follows.
本実施の形態の第1の態様に係る情報処理装置は、(A)第1の記憶装置と、(B)情報処理装置の起動時に、当該起動が初回の起動であるか判定する判定部と、(C)判定部により初回の起動であると判定された場合、情報処理装置がアクセス可能な第2の記憶装置に予め格納され且つアドレスを含む設定情報を、第1の記憶装置に複製する第1複製部と、(D)第1の記憶装置に格納された設定情報に基づき、情報処理装置において実行される仮想マシンの通信の設定を行う設定部とを有する。 The information processing apparatus according to the first aspect of the present embodiment includes (A) a first storage device, and (B) a determination unit that determines whether the activation is the first activation when the information processing apparatus is activated. (C) When the determination unit determines that the activation is the first time, the setting information stored in advance in the second storage device accessible by the information processing device and including the address is copied to the first storage device. A first duplicating unit; and (D) a setting unit configured to set communication of a virtual machine executed in the information processing device based on setting information stored in the first storage device.
例えば情報処理装置に障害が発生した場合、次の起動は初回の起動であるので、第1の記憶装置に設定情報は存在しない。従って、上で述べたようにすれば、仮想マシンの通信に問題が発生することを防止できるようになる。 For example, when a failure occurs in the information processing apparatus, the next activation is the first activation, so that there is no setting information in the first storage device. Therefore, as described above, it is possible to prevent a problem from occurring in the communication of the virtual machine.
また、本情報処理装置は、(E)判定部により初回の起動ではないと判定された場合、第2記憶装置に設定情報が格納されているか判定し、第2記憶装置に設定情報が格納されていない場合に、第1記憶装置から設定情報を読み出し、第2記憶装置に複製する第2複製部とをさらに有してもよい。これにより、第1の記憶装置に格納されている設定情報が失われたとしても復元することができるようになる。 In addition, when the (E) determination unit determines that the information processing apparatus is not activated for the first time, the information processing apparatus determines whether the setting information is stored in the second storage device, and the setting information is stored in the second storage device. In the case where the setting information is not stored, the information processing apparatus may further include a second copying unit that reads setting information from the first storage device and copies the setting information to the second storage device. Thereby, even if the setting information stored in the first storage device is lost, it can be restored.
また、本情報処理装置は、(F)設定情報を受信し、当該設定情報を第1の記憶装置に格納する受付部と、(G)受付部により第1の記憶装置に設定情報が入力された場合、第1の記憶装置に格納されている設定情報を、第2の記憶装置に複製する第3複製部とをさらに有してもよい。これにより、設定情報の変更等にも対処できるようになる。 The information processing apparatus receives (F) setting information and stores the setting information in the first storage device, and (G) the setting information is input to the first storage device by the receiving unit. In this case, the information processing apparatus may further include a third duplicating unit that duplicates the setting information stored in the first storage device to the second storage device. Thereby, it becomes possible to cope with a change in the setting information.
また、上で述べた判定部は、(b1)第1の記憶装置又は情報処理装置内の他の記憶装置に格納された、初回の起動であるか否かを判定するためのデータに基づき、起動が初回の起動であるか判定してもよい。 Further, the determination unit described above is (b1) based on data stored in the first storage device or another storage device in the information processing device for determining whether it is the first activation, It may be determined whether the activation is the first activation.
また、第1の記憶装置は不揮発性メモリであり、第2の記憶装置はハードディスクドライブであってもよい。 Further, the first storage device may be a nonvolatile memory, and the second storage device may be a hard disk drive.
本実施の形態の第2の態様に係る通信設定方法は、(H)コンピュータの起動時に、当該起動が初回の起動であるか判定し、(I)判定部により初回の起動であると判定された場合、コンピュータがアクセス可能な第2の記憶装置に予め格納され且つアドレスを含む設定情報を、第1の記憶装置に複製し、(J)第1の記憶装置に格納された設定情報に基づき、コンピュータにおいて実行される仮想マシンの通信の設定を行う処理を含む。 In the communication setting method according to the second aspect of the present embodiment, (H) when the computer is activated, it is determined whether the activation is the first activation, and (I) the determination unit determines that the activation is the first activation. The setting information stored in the second storage device accessible by the computer and including the address is copied to the first storage device, and (J) based on the setting information stored in the first storage device. And a process for setting communication of the virtual machine executed in the computer.
なお、上記方法による処理をプロセッサ(例えばCPU)に行わせるためのプログラムを作成することができ、当該プログラムは、例えばフレキシブルディスク、CD−ROM、光磁気ディスク、半導体メモリ、ハードディスク等のコンピュータ読み取り可能な記憶媒体又は記憶装置に格納される。尚、中間的な処理結果はメインメモリ等の記憶装置に一時保管される。 It is possible to create a program for causing a processor (for example, CPU) to perform the processing according to the above method, and the program can be read by a computer such as a flexible disk, a CD-ROM, a magneto-optical disk, a semiconductor memory, and a hard disk. Stored in a storage medium or storage device. The intermediate processing result is temporarily stored in a storage device such as a main memory.
以上の実施例を含む実施形態に関し、さらに以下の付記を開示する。 The following supplementary notes are further disclosed with respect to the embodiments including the above examples.
(付記1)
情報処理装置であって、
第1の記憶装置と、
前記情報処理装置の起動時に、当該起動が初回の起動であるか判定する判定部と、
前記判定部により初回の起動であると判定された場合、前記情報処理装置がアクセス可能な第2の記憶装置に予め格納され且つアドレスを含む設定情報を、前記第1の記憶装置に複製する第1複製部と、
前記第1の記憶装置に格納された前記設定情報に基づき、前記情報処理装置において実行される仮想マシンの通信の設定を行う設定部と、
を有する情報処理装置。
(Appendix 1)
An information processing apparatus,
A first storage device;
A determination unit that determines whether the activation is an initial activation when the information processing apparatus is activated;
When the determination unit determines that the activation is the first time, the setting information stored in advance in the second storage device accessible by the information processing apparatus and including the address is copied to the first storage device. 1 duplication part,
A setting unit configured to set communication of a virtual machine executed in the information processing device based on the setting information stored in the first storage device;
An information processing apparatus.
(付記2)
前記判定部により初回の起動ではないと判定された場合、前記第2記憶装置に前記設定情報が格納されているか判定し、前記第2記憶装置に前記設定情報が格納されていない場合に、前記第1記憶装置から前記設定情報を読み出し、前記第2記憶装置に複製する第2複製部と、
をさらに有する付記1記載の情報処理装置。
(Appendix 2)
When the determination unit determines that the activation is not the first time, it is determined whether the setting information is stored in the second storage device, and when the setting information is not stored in the second storage device, A second replication unit that reads the setting information from the first storage device and replicates the setting information to the second storage device;
The information processing apparatus according to
(付記3)
前記設定情報を受信し、当該設定情報を前記第1の記憶装置に格納する受付部と、
前記受付部により前記第1の記憶装置に前記設定情報が入力された場合、前記第1の記憶装置に格納されている前記設定情報を、前記第2の記憶装置に複製する第3複製部と、
をさらに有する付記1又は2記載の情報処理装置。
(Appendix 3)
A receiving unit that receives the setting information and stores the setting information in the first storage device;
A third replication unit that replicates the setting information stored in the first storage device to the second storage device when the setting information is input to the first storage device by the reception unit; ,
The information processing apparatus according to
(付記4)
前記判定部は、
前記第1の記憶装置又は前記情報処理装置内の他の記憶装置に格納された、初回の起動であるか否かを判定するためのデータに基づき、前記起動が初回の起動であるか判定する、
付記1乃至3のいずれか1つ記載の情報処理装置。
(Appendix 4)
The determination unit
Determine whether the activation is the first activation based on data stored in the first storage device or another storage device in the information processing device for determining whether the activation is the first activation. ,
The information processing apparatus according to any one of
(付記5)
前記第1の記憶装置は不揮発性メモリであり、前記第2の記憶装置はハードディスクドライブである、
付記1乃至4のいずれか1つ記載の情報処理装置。
(Appendix 5)
The first storage device is a non-volatile memory, and the second storage device is a hard disk drive;
The information processing apparatus according to any one of
(付記6)
第1の情報処理装置と、
第2の情報処理装置と、
を有し、
前記第1の情報処理装置は、
第1の記憶装置と、
前記第1の情報処理装置の起動時に、当該起動が初回の起動であるか判定する判定部と、
前記判定部により初回の起動であると判定された場合、前記第1の情報処理装置がアクセス可能な第2の記憶装置に予め格納され且つアドレスを含む設定情報を、前記第1の記憶装置に複製する第1複製部と、
前記第1の記憶装置に格納された前記設定情報に基づき、前記第1の情報処理装置において実行される仮想マシンと前記第2の情報処理装置との間の通信の設定を行う設定部と、
を有する情報処理システム。
(Appendix 6)
A first information processing apparatus;
A second information processing apparatus;
Have
The first information processing apparatus includes:
A first storage device;
A determination unit that determines whether the activation is the first activation when the first information processing apparatus is activated;
When the determination unit determines that the activation is the first time, the setting information stored in advance in the second storage device accessible by the first information processing apparatus and including the address is stored in the first storage device. A first duplicating unit to duplicate;
A setting unit configured to set communication between the virtual machine executed in the first information processing device and the second information processing device based on the setting information stored in the first storage device;
An information processing system having
(付記7)
コンピュータが、
前記コンピュータの起動時に、当該起動が初回の起動であるか判定し、
前記判定部により初回の起動であると判定された場合、前記コンピュータがアクセス可能な第2の記憶装置に予め格納され且つアドレスを含む設定情報を、前記第1の記憶装置に複製し、
前記第1の記憶装置に格納された前記設定情報に基づき、前記コンピュータにおいて実行される仮想マシンの通信の設定を行う、
処理を実行する通信設定方法。
(Appendix 7)
Computer
When starting the computer, determine whether the start is the first start,
When the determination unit determines that the activation is the first time, the setting information stored in advance in the second storage device accessible by the computer and including the address is copied to the first storage device,
Based on the setting information stored in the first storage device, setting of communication of a virtual machine executed in the computer is performed.
Communication setting method to execute processing.
(付記8)
コンピュータに、
前記コンピュータの起動時に、当該起動が初回の起動であるか判定し、
前記判定部により初回の起動であると判定された場合、前記コンピュータがアクセス可能な第2の記憶装置に予め格納され且つアドレスを含む設定情報を、前記第1の記憶装置に複製し、
前記第1の記憶装置に格納された前記設定情報に基づき、前記コンピュータにおいて実行される仮想マシンの通信の設定を行う、
処理を実行させる通信設定プログラム。
(Appendix 8)
On the computer,
When starting the computer, determine whether the start is the first start,
When the determination unit determines that the activation is the first time, the setting information stored in advance in the second storage device accessible by the computer and including the address is copied to the first storage device,
Based on the setting information stored in the first storage device, setting of communication of a virtual machine executed in the computer is performed.
Communication setting program that executes processing.
1 情報処理装置 3 管理者端末
5 ネットワーク装置
15 本体装置 16 HDD
151 CPU 152 RAM
153 EEPROM 155 NIC
100 管理部 110 仮想化処理部
121,122,123,124 VM
101 第1退避部 102 第2退避部
103 復元部 104 受付部
105 フラグ管理部 106 起動処理部
DESCRIPTION OF
151
153
100
101 First saving
Claims (7)
第1の記憶装置と、
前記情報処理装置の起動時に、当該起動が初回の起動であるか判定する判定部と、
前記判定部により初回の起動であると判定された場合、前記情報処理装置がアクセス可能な第2の記憶装置に予め格納され且つアドレスを含む設定情報を、前記第1の記憶装置に複製する第1複製部と、
前記第1の記憶装置に格納された前記設定情報に基づき、前記情報処理装置において実行される仮想マシンの通信の設定を行う設定部と、
を有する情報処理装置。 An information processing apparatus,
A first storage device;
A determination unit that determines whether the activation is an initial activation when the information processing apparatus is activated;
When the determination unit determines that the activation is the first time, the setting information stored in advance in the second storage device accessible by the information processing apparatus and including the address is copied to the first storage device. 1 duplication part,
A setting unit configured to set communication of a virtual machine executed in the information processing device based on the setting information stored in the first storage device;
An information processing apparatus.
をさらに有する請求項1記載の情報処理装置。 When the determination unit determines that the activation is not the first time, it is determined whether the setting information is stored in the second storage device, and when the setting information is not stored in the second storage device, A second replication unit that reads the setting information from the first storage device and replicates the setting information to the second storage device;
The information processing apparatus according to claim 1, further comprising:
前記受付部により前記第1の記憶装置に前記設定情報が入力された場合、前記第1の記憶装置に格納されている前記設定情報を、前記第2の記憶装置に複製する第3複製部と、
をさらに有する請求項1又は2記載の情報処理装置。 A receiving unit that receives the setting information and stores the setting information in the first storage device;
A third replication unit that replicates the setting information stored in the first storage device to the second storage device when the setting information is input to the first storage device by the reception unit; ,
The information processing apparatus according to claim 1, further comprising:
前記第1の記憶装置又は前記情報処理装置内の他の記憶装置に格納された、初回の起動であるか否かを判定するためのデータに基づき、前記起動が初回の起動であるか判定する、
請求項1乃至3のいずれか1つ記載の情報処理装置。 The determination unit
Determine whether the activation is the first activation based on data stored in the first storage device or another storage device in the information processing device for determining whether the activation is the first activation. ,
The information processing apparatus according to any one of claims 1 to 3.
第2の情報処理装置と、
を有し、
前記第1の情報処理装置は、
第1の記憶装置と、
前記第1の情報処理装置の起動時に、当該起動が初回の起動であるか判定する判定部と、
前記判定部により初回の起動であると判定された場合、前記第1の情報処理装置がアクセス可能な第2の記憶装置に予め格納され且つアドレスを含む設定情報を、前記第1の記憶装置に複製する第1複製部と、
前記第1の記憶装置に格納された前記設定情報に基づき、前記第1の情報処理装置において実行される仮想マシンと前記第2の情報処理装置との間の通信の設定を行う設定部と、
を有する情報処理システム。 A first information processing apparatus;
A second information processing apparatus;
Have
The first information processing apparatus includes:
A first storage device;
A determination unit that determines whether the activation is the first activation when the first information processing apparatus is activated;
When the determination unit determines that the activation is the first time, the setting information stored in advance in the second storage device accessible by the first information processing apparatus and including the address is stored in the first storage device. A first duplicating unit to duplicate;
A setting unit configured to set communication between the virtual machine executed in the first information processing device and the second information processing device based on the setting information stored in the first storage device;
An information processing system having
前記コンピュータの起動時に、当該起動が初回の起動であるか判定し、
前記判定部により初回の起動であると判定された場合、前記コンピュータがアクセス可能な第2の記憶装置に予め格納され且つアドレスを含む設定情報を、前記第1の記憶装置に複製し、
前記第1の記憶装置に格納された前記設定情報に基づき、前記コンピュータにおいて実行される仮想マシンの通信の設定を行う、
処理を実行する通信設定方法。 Computer
When starting the computer, determine whether the start is the first start,
When the determination unit determines that the activation is the first time, the setting information stored in advance in the second storage device accessible by the computer and including the address is copied to the first storage device,
Based on the setting information stored in the first storage device, setting of communication of a virtual machine executed in the computer is performed.
Communication setting method to execute processing.
前記コンピュータの起動時に、当該起動が初回の起動であるか判定し、
前記判定部により初回の起動であると判定された場合、前記コンピュータがアクセス可能な第2の記憶装置に予め格納され且つアドレスを含む設定情報を、前記第1の記憶装置に複製し、
前記第1の記憶装置に格納された前記設定情報に基づき、前記コンピュータにおいて実行される仮想マシンの通信の設定を行う、
処理を実行させる通信設定プログラム。 On the computer,
When starting the computer, determine whether the start is the first start,
When the determination unit determines that the activation is the first time, the setting information stored in advance in the second storage device accessible by the computer and including the address is copied to the first storage device,
Based on the setting information stored in the first storage device, setting of communication of a virtual machine executed in the computer is performed.
Communication setting program that executes processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016026722A JP6682897B2 (en) | 2016-02-16 | 2016-02-16 | Communication setting method, communication setting program, information processing apparatus, and information processing system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016026722A JP6682897B2 (en) | 2016-02-16 | 2016-02-16 | Communication setting method, communication setting program, information processing apparatus, and information processing system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2017146695A true JP2017146695A (en) | 2017-08-24 |
JP6682897B2 JP6682897B2 (en) | 2020-04-15 |
Family
ID=59680872
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016026722A Active JP6682897B2 (en) | 2016-02-16 | 2016-02-16 | Communication setting method, communication setting program, information processing apparatus, and information processing system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6682897B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022137355A1 (en) * | 2020-12-22 | 2022-06-30 | 日本電気株式会社 | Communication device, method for controlling communication device, and recording medium having control program recorded thereon |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003046569A (en) * | 2001-07-30 | 2003-02-14 | Canon Inc | Load test execution device and system, and method and program thereof |
JP2010020570A (en) * | 2008-07-11 | 2010-01-28 | Hitachi Ltd | Information processing system and data recovery method |
WO2013114620A1 (en) * | 2012-02-03 | 2013-08-08 | 富士通株式会社 | Virtual machine control program, virtual machine control method and information processing device |
WO2015058380A1 (en) * | 2013-10-23 | 2015-04-30 | 华为技术有限公司 | Cloud application disaster recovery method, system and device |
-
2016
- 2016-02-16 JP JP2016026722A patent/JP6682897B2/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003046569A (en) * | 2001-07-30 | 2003-02-14 | Canon Inc | Load test execution device and system, and method and program thereof |
JP2010020570A (en) * | 2008-07-11 | 2010-01-28 | Hitachi Ltd | Information processing system and data recovery method |
WO2013114620A1 (en) * | 2012-02-03 | 2013-08-08 | 富士通株式会社 | Virtual machine control program, virtual machine control method and information processing device |
WO2015058380A1 (en) * | 2013-10-23 | 2015-04-30 | 华为技术有限公司 | Cloud application disaster recovery method, system and device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022137355A1 (en) * | 2020-12-22 | 2022-06-30 | 日本電気株式会社 | Communication device, method for controlling communication device, and recording medium having control program recorded thereon |
Also Published As
Publication number | Publication date |
---|---|
JP6682897B2 (en) | 2020-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4256693B2 (en) | Computer system, I / O device, and virtual sharing method of I / O device | |
US9460028B1 (en) | Non-disruptive and minimally disruptive data migration in active-active clusters | |
WO2017132872A1 (en) | Virtual machine backup method, backup device and host | |
WO2016115661A1 (en) | Memory fault isolation method and device | |
US7734842B2 (en) | Computer-implemented method, apparatus, and computer program product for managing DMA write page faults using a pool of substitute pages | |
JP2012128643A (en) | Memory system | |
TW202207037A (en) | Memory storage device | |
JP6682897B2 (en) | Communication setting method, communication setting program, information processing apparatus, and information processing system | |
CN113127263B (en) | Kernel crash recovery method, device, equipment and storage medium | |
JP2019074950A (en) | Information processing device, control unit, control method, and control program | |
EP2921965B1 (en) | Information processing device and shared memory management method | |
US10509746B2 (en) | Information processing apparatus, storage medium and information processing method | |
JP6175958B2 (en) | MEMORY DUMP METHOD, PROGRAM, AND INFORMATION PROCESSING DEVICE | |
JP5846016B2 (en) | Information processing apparatus, information processing method, and information processing program | |
US20140189422A1 (en) | Information processing apparatus and stored information analyzing method | |
US20240053915A1 (en) | Hard Disk Snapshot Method and Apparatus Based on Openstack Platform | |
JP2010536112A (en) | Data storage method, apparatus and system for recovery of interrupted writes | |
US9836359B2 (en) | Storage and control method of the same | |
JP6855756B2 (en) | Information processing device, startup method and startup program | |
JP6221702B2 (en) | Information processing apparatus, information processing method, and information processing program | |
WO2024000535A1 (en) | Partition table update method and apparatus, and electronic device and storage medium | |
JP6142510B2 (en) | Information storage control device, control method therefor, and computer program | |
JP2011018187A (en) | Test method, test program, test device and test system | |
CN107209727B (en) | Storage system | |
JPWO2006057038A1 (en) | RAID management program and RAID management method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20181011 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20190828 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20190910 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20190920 |
|
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: 20200225 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20200309 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6682897 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |