JP5884365B2 - Power supply and program - Google Patents
Power supply and program Download PDFInfo
- Publication number
- JP5884365B2 JP5884365B2 JP2011210620A JP2011210620A JP5884365B2 JP 5884365 B2 JP5884365 B2 JP 5884365B2 JP 2011210620 A JP2011210620 A JP 2011210620A JP 2011210620 A JP2011210620 A JP 2011210620A JP 5884365 B2 JP5884365 B2 JP 5884365B2
- Authority
- JP
- Japan
- Prior art keywords
- virtual
- storage
- management
- power
- power supply
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Power Sources (AREA)
Description
本発明は、コンピュータに電力を供給する電源装置およびプログラムに関する。 The present invention relates to a power supply device and a program for supplying power to a computer.
一般的に、物理コンピュータのリソースを有効に活用するため、仮想管理が用いられている。仮想管理では、物理コンピュータを仮想ホストとして適用し、仮想ホスト上で、複数の仮想マシンをエミュレートする。仮想管理において、仮想マシンの稼働状況に応じて、他の仮想ホストに移行させる場合もある。仮想マシンを自由自在に任意の仮想ホストに移行する仕組みを用いることにより、物理コンピュータのリソースを有効に活用することができる。 Generally, virtual management is used in order to effectively use the resources of a physical computer. In virtual management, a physical computer is applied as a virtual host, and a plurality of virtual machines are emulated on the virtual host. In the virtual management, there are cases where the virtual machine is migrated to another virtual host depending on the operating status of the virtual machine. By using a mechanism for freely moving a virtual machine to an arbitrary virtual host, the resources of the physical computer can be effectively utilized.
また、物理コンピュータの消費電力を削減するために、電力制御装置を用いる方法もある(例えば、特許文献1参照。)。この特許文献1に記載の方法では、電力制御装置が、システムの負荷状況を収集して、その負荷状況に基づいてシステムを任意の物理コンピュータに移行させるとともに、選択されなかった物理コンピュータの電源をオフする。このように電力制御装置が、仮想管理とともに電源を管理することにより、物理コンピュータの消費電力を削減することが期待されている。 There is also a method using a power control device in order to reduce the power consumption of the physical computer (see, for example, Patent Document 1). In the method described in Patent Document 1, the power control apparatus collects the load status of the system, shifts the system to an arbitrary physical computer based on the load status, and powers the physical computer that is not selected. Turn off. Thus, the power control apparatus is expected to reduce the power consumption of the physical computer by managing the power supply together with the virtual management.
しかしながら、特許文献1に記載の方法において、電力制御装置に電力を供給する電源装置に電力障害があった場合、この電力制御装置は、電源管理のみならず、仮想管理もできなくなってしまう問題がある。 However, in the method described in Patent Document 1, when there is a power failure in the power supply device that supplies power to the power control device, the power control device has a problem that not only power management but also virtual management cannot be performed. is there.
また、特許文献1に記載の方法において、電力制御装置と物理コンピュータとに、個別に電力供給されている場合、偶発的に停電が発生したり、計画停電の際、電力制御装置と物理コンピュータの両方を、安全にシャットダウンさせることが困難な場合がある。具体的には、シャットダウンの際、仮想システムがシャットダウンしたのを確認した後、仮想管理サーバをシャットダウンしなければならないので、この順序でシャットダウンできるように個々の構成要素について設定する必要がある。従って、大規模システムや中規模システムなど、ある程度の規模を有するシステムの全ての構成要素について、この設定を適用するのは困難であると考えられる。また、小規模システムの際には、このように設定することは可能とも考えられるが、その手間は繁雑なものとなってしまう。 In addition, in the method described in Patent Document 1, when power is individually supplied to the power control device and the physical computer, a power failure occurs accidentally or a power failure occurs between the power control device and the physical computer. Both may be difficult to shut down safely. Specifically, since it is necessary to shut down the virtual management server after confirming that the virtual system is shut down at the time of shutdown, it is necessary to set individual components so that they can be shut down in this order. Therefore, it is considered difficult to apply this setting to all components of a system having a certain scale such as a large-scale system and a medium-scale system. Also, in the case of a small-scale system, it can be considered that such a setting is possible, but the effort is complicated.
さらに、物理コンピュータの電源のオンオフと、仮想管理とが同期されていない場合、電源をオフしようとしている物理コンピュータに仮想マシンを移行させるケースが考えられる。上述した特許文献1に記載の方法においても、偶発的な停電や、電源装置の手動のオンオフなど、電力制御装置の制御以外によって電源装置がオンオフされる可能性がある。従って、仮想管理が同期されていない場合と同様、電源をオフしようとしている物理コンピュータに仮想マシンを移行させる場合がある。 Furthermore, when the power on / off of the physical computer is not synchronized with the virtual management, there may be a case where the virtual machine is migrated to the physical computer that is going to be powered off. Also in the method described in Patent Document 1 described above, there is a possibility that the power supply device is turned on / off by other than the control of the power control device, such as an accidental power failure or manual on / off of the power supply device. Therefore, as in the case where the virtual management is not synchronized, the virtual machine may be migrated to the physical computer whose power is to be turned off.
このような問題は、コンピュータの仮想管理に限らず、ストレージなどを含む情報機器の仮想管理においても発生する可能性がある。 Such a problem may occur not only in virtual management of computers but also in virtual management of information devices including storage.
このような状況を鑑み、仮想管理の信頼性を高める技術の開発が期待されている。 In view of such a situation, development of technology for improving the reliability of virtual management is expected.
従って本発明の目的は、仮想管理の信頼性を高めることのできる電源装置およびプログラムを提供することである。 Accordingly, an object of the present invention is to provide a power supply device and a program capable of improving the reliability of virtual management.
上記課題を解決するために、本発明の第1の特徴は、情報機器に電力を供給する電源装置に関する。本発明の第1の特徴に係る電源装置は、情報機器に供給する電力の設定情報を記憶した電源管理データを記憶するとともに、情報機器でエミュレートされる仮想情報機器の識別子と、当該仮想情報機器に割り当てるリソース情報と、を関連づけた仮想管理データを記憶する記憶装置と、電源管理データおよび仮想管理データに基づいて、情報機器の電力供給および仮想情報機器に割り当てられたリソースの管理を制御する制御手段と、制御手段からの指示に基づいて、情報機器への電力供給を制御する電源管理手段と、制御手段からの指示に基づいて、仮想情報機器にリソースを割り当てる指示を、仮想情報機器に送信する仮想管理手段と、を備える。 In order to solve the above problems, a first feature of the present invention relates to a power supply apparatus that supplies power to information equipment. A power supply apparatus according to the first feature of the present invention stores power management data storing setting information of power supplied to an information device, an identifier of a virtual information device emulated by the information device, and the virtual information Controls the power supply of the information device and the management of the resource allocated to the virtual information device based on the power management data and the virtual management data, the storage device storing the virtual management data associated with the resource information assigned to the device A control means, a power management means for controlling power supply to the information equipment based on an instruction from the control means, and an instruction for allocating resources to the virtual information equipment based on an instruction from the control means. Virtual management means for transmitting.
ここで、情報機器は、ストレージであっても良い。また、情報機器は、ネットワーク機器であっても良い。 Here, the information device may be a storage. Further, the information device may be a network device.
本発明の第2の特徴は、情報機器に電力を供給する電源装置に用いられるプログラムに関する。すなわち本発明の第2の特徴に係るプログラムは、情報機器に供給する電力の設定情報を記憶した電源管理データと、情報機器でエミュレートされる仮想情報機器の識別子と、当該仮想情報機器に割り当てるリソース情報と、を関連づけた仮想管理データに基づいて、情報機器の電力供給および仮想情報機器に割り当てられたリソースの管理を制御する制御ステップと、制御ステップからの指示に基づいて、情報機器への電力供給を制御する電源管理ステップと、制御ステップからの指示に基づいて、仮想情報機器にリソースを割り当てる指示を、仮想情報機器に送信する仮想管理ステップとして、電源装置が内蔵するコンピュータを機能させる。 A second feature of the present invention relates to a program used in a power supply device that supplies power to information equipment. That is, the program according to the second aspect of the present invention allocates power management data storing setting information of power supplied to an information device, an identifier of a virtual information device emulated by the information device, and the virtual information device. Based on the virtual management data associated with the resource information, the control step for controlling the power supply of the information device and the management of the resource allocated to the virtual information device, and the instruction to the information device based on the instruction from the control step The computer built in the power supply device is caused to function as a virtual management step for transmitting to the virtual information device a power management step for controlling power supply and an instruction for allocating resources to the virtual information device based on an instruction from the control step.
ここで、情報機器は、ストレージであっても良い。また、情報機器は、ネットワーク機器であっても良い。 Here, the information device may be a storage. Further, the information device may be a network device.
本発明によれば、仮想管理の信頼性を高めることのできる電源装置およびプログラムを提供することができる。 ADVANTAGE OF THE INVENTION According to this invention, the power supply device and program which can improve the reliability of virtual management can be provided.
次に、図面を参照して、本発明の実施の形態を説明する。以下の図面の記載において、同一または類似の部分には同一または類似の符号を付している。 Next, embodiments of the present invention will be described with reference to the drawings. In the following description of the drawings, the same or similar parts are denoted by the same or similar reference numerals.
まず、本発明の実施の形態において、「物理コンピュータ」は、中央処理制御装置(CPU:Central Processing Unit)および記憶装置などを備えた一般的なコンピュータである。「物理コンピュータ」は、具体的には、パーソナルコンピュータ、サーバ、ブレード型サーバなどのコンピュータである。また「仮想ホスト」は、物理コンピュータ上でホストOSを実行することにより物理コンピュータに実装される。1台の仮想ホストは、1台以上の仮想マシンを動かすことができる。「仮想マシン」は、1台の仮想ホスト上で、別のコンピュータをソフトウェア的にエミュレートされた仮想的なコンピュータである。 First, in the embodiment of the present invention, a “physical computer” is a general computer including a central processing control unit (CPU) and a storage device. The “physical computer” is specifically a computer such as a personal computer, a server, or a blade server. The “virtual host” is mounted on the physical computer by executing the host OS on the physical computer. One virtual host can run one or more virtual machines. A “virtual machine” is a virtual computer in which another computer is emulated in software on one virtual host.
「仮想システム」は、物理コンピュータ、物理ストレージ、物理スイッチ、物理ネットワークなどで構成され、仮想システム全体で1台以上の仮想マシン、仮想ストレージの役割を担う。「仮想管理」とは、仮想システムを構成する仮想インフラを管理するとともに、1台以上の仮想マシンの稼働を制御する。 The “virtual system” is configured by a physical computer, a physical storage, a physical switch, a physical network, and the like, and plays the role of one or more virtual machines and virtual storages in the entire virtual system. “Virtual management” manages the virtual infrastructure that constitutes the virtual system and controls the operation of one or more virtual machines.
「電源装置」とは、仮想インフラに電力を供給したり、測定したり、切断する装置である。具体的には「電源装置」とは、交流(AC:Alternating Current)電源、直流(DC:Direct Current)電源、無停電電源装置(UPS:Uninterruptible Power Supply)、電力分配器(PDU:Power Distribution Unit)などである。 A “power supply device” is a device that supplies, measures, or disconnects power to a virtual infrastructure. Specifically, the “power supply device” means an alternating current (AC) power source, a direct current (DC) power source, an uninterruptible power supply (UPS), a power distribution unit (PDU). ) Etc.
「電源管理」とは、インフラに、安定して電源を供給するための制御のことである。本発明の実施の形態において電源管理とは、例えば、電源設備の点検時や電源障害時に、電源が、コンピュータ、ストレージ、VLANスイッチ、ネットワークなどのインフラを自動的にシャットダウンして、サービスおよびデータを保護する機能である。 “Power management” refers to control for stably supplying power to the infrastructure. In the embodiment of the present invention, power management means, for example, when a power supply facility is inspected or a power failure occurs, the power supply automatically shuts down an infrastructure such as a computer, storage, VLAN switch, network, etc. It is a function to protect.
「シャットダウン」とは、OSのシャットダウン、サスペンド、待機状態、および電源断のうち、いずれか一つ以上のことである。 “Shutdown” means at least one of OS shutdown, suspend, standby, and power-off.
「VLANスイッチ」とは、通信電文にタグやラベルなどを付加することにより、仮想的に複数のスイッチの働きをするスイッチである。 A “VLAN switch” is a switch that virtually functions as a plurality of switches by adding tags, labels, and the like to a communication message.
(実施の形態)
図1を参照して、本発明の実施の形態に係る仮想管理システム9を説明する。仮想管理システム9は、仮想システムであって、電源装置1、第1の仮想ホストコンピュータ2a、第2の仮想ホストコンピュータ2b、第1の仮想マシン3a、第2の仮想マシン3b、第3の仮想マシン3c、第1のストレージ4a、第2のストレージ4b、第1の仮想ストレージ5a、第2の仮想ストレージ5b、第3の仮想ストレージ5cおよびVLANスイッチ6を備える。これらの機器は、通信ネットワーク8を介して、相互に通信可能に接続されている。
(Embodiment)
A virtual management system 9 according to an embodiment of the present invention will be described with reference to FIG. The virtual management system 9 is a virtual system, and includes a power supply device 1, a first
本実施の形態において、第1の仮想ホストコンピュータ2aおよび第2の仮想ホストコンピュータ2bを区別しない場合、単に仮想ホストコンピュータ2と記載する場合がある。また、仮想ホストコンピュータ2を、単に仮想ホスト2と記載する場合がある。第1の仮想マシン3a、第2の仮想マシン3bおよび第3の仮想マシン3cを区別しない場合、単に仮想マシン3と記載する場合がある。第1のストレージ4aおよび第2のストレージ4bを区別しない場合、単にストレージ4と記載する場合がある。第1の仮想ストレージ5a、第2の仮想ストレージ5bおよび第3の仮想ストレージ5cを区別しない場合、単に仮想ストレージ5と記載する場合がある。
In the present embodiment, when the first
図1に示す仮想管理システム9は、複数の情報機器を備えており、これらの情報機器において、仮想情報機器がエミュレートされている。ここで、情報機器は、物理インフラを構成する機器である。情報機器は、具体的には、第1の仮想ホスト2a、第2の仮想ホスト2b、第1のストレージ4aおよび第2のストレージ4bなどである。仮想情報機器は、情報機器でエミュレートされる仮想インフラを構成する仮想機器である。仮想情報機器は、具体的には、第1の仮想マシン3a、第2の仮想マシン3b、第3の仮想マシン3c、第1の仮想ストレージ5a、第2の仮想ストレージ5bおよび第3の仮想ストレージ5cである。図1に示す各情報機器および仮想情報機器の数は一例であり、これに限ることはない。
The virtual management system 9 shown in FIG. 1 includes a plurality of information devices, and virtual information devices are emulated in these information devices. Here, the information device is a device constituting a physical infrastructure. Specifically, the information devices are the first
仮想ホスト2は、一般的な物理コンピュータに所定のプログラムがインストールされることにより実現される。仮想ホスト2は、仮想マシン3をエミュレートする。図1において、第1の仮想ホスト2aは、第1の仮想マシン3aおよび第2の仮想マシン3bをエミュレートし、第2の仮想ホスト2bは、第3の仮想マシン3cをエミュレートする。
The
ストレージ4は、一般的な物理ストレージ(記憶装置)である。ストレージ4は、仮想ストレージ5をエミュレートする。図1において第1のストレージ4aは、第1の仮想ストレージ5aをエミュレートし、第2のストレージ4bは、第2の仮想ストレージ5bおよび第3の仮想ストレージ5cをエミュレートする。
The storage 4 is a general physical storage (storage device). The storage 4 emulates the virtual storage 5. In FIG. 1, the
VLANスイッチ6は、VLANを実現するための物理スイッチであって、一般的なネットワーク機器の一例である。 The VLAN switch 6 is a physical switch for realizing a VLAN, and is an example of a general network device.
図1に示す仮想管理システム9において、電源装置1は、仮想管理システム9の情報機器に電力を供給するとともに、これらの情報機器でエミュレートされる仮想情報機器を仮想管理する。電源装置1が電力を供給する対象は、第1の仮想ホスト2a、第2の仮想ホスト2b、第1のストレージ4aおよび第2のストレージ4bおよびVLANスイッチ6である。電源装置1が仮想管理する対象は、第1の仮想マシン3a、第2の仮想マシン3b、第3の仮想マシン3c、第1の仮想ストレージ5a、第2の仮想ストレージ5bおよび第3の仮想ストレージ5cである。
In the virtual management system 9 illustrated in FIG. 1, the power supply device 1 supplies power to information devices of the virtual management system 9 and virtually manages virtual information devices emulated by these information devices. The power supply device 1 supplies power to the first
図2を参照して、本発明の実施の形態に係る電源装置1を説明する。電源装置1は、メモリ10、コントローラ20、電力供給部30および通信制御装置40を備える。
With reference to FIG. 2, the power supply device 1 which concerns on embodiment of this invention is demonstrated. The power supply device 1 includes a
電力供給部30は、電源装置1が接続された情報機器に、電力を供給する。電力供給部30は、複数のタップを備え、複数の情報機器に電力を供給することができる。図1に示す例では、電源装置1は5つのタップを備える。
The
通信制御装置40は、他の電源装置や情報機器と通信するための装置であって、例えばLANアダプタである。図1に示す例において通信制御装置40は、通信ネットワーク8を介して、仮想ホスト2、ストレージ4およびVLANスイッチ6と、相互に通信することができる。
The
メモリ10は、電源装置1で実行するファームウェアプログラムなどのプログラムデータ、およびコントローラ20で処理されるデータなどを蓄積する記憶装置である。メモリ10は、プログラムデータの記憶領域を備えるとともに、電源管理データ記憶部11、仮想管理データ記憶部12およびスクリプトデータ記憶部16を備える。本発明の実施の形態において、電源装置1のメモリ10が、電源管理データ記憶部11および仮想管理データ記憶部12を備える場合について説明するが、これらのデータは、電源装置1に内蔵されたメモリ10に記憶されている必要はない。例えば、電源装置1が読み出し可能なコンピュータのハードディスクや、半導体メモリなど、外部の記憶手段において記憶されていても良い。
The
電源管理データ記憶部11は、メモリ10のうち、電源管理データ11aが記憶された記憶領域である。電源管理データ11aは、情報機器に供給する電力の設定情報を記憶したデータである。
The power management
電源管理データ11aは、図3に示すようなデータ構造を持つ。図3に示すように電源管理データ11aは、タップ識別子と、そのタップによる電力供給先の識別子と、その電力供給のための設定情報と、が対応づけられている。ここで電力供給のための設定情報とは、電力供給のタイプ、入力電圧、入力周波数、出力電圧および出力周波などであるが、これは一例で、そのほかの情報が含まれても良い。 The power management data 11a has a data structure as shown in FIG. As shown in FIG. 3, in the power management data 11a, a tap identifier, an identifier of a power supply destination by the tap, and setting information for the power supply are associated with each other. Here, the setting information for power supply includes the type of power supply, input voltage, input frequency, output voltage, output frequency, and the like, but this is an example, and other information may be included.
図3に示すデータは、図1に示す仮想管理システム9に対応する。具体的には、電源装置1の第1のタップは、第1の仮想ホスト2aに電力を供給し、第2のタップは、第2の仮想ホスト2bに電力を供給し、第3のタップは、第1のストレージ4aに電力を供給し、第4のタップは、第2のストレージ4bに電力を供給し、第5のタップは、VLANスイッチ6に電力を供給する。電源装置1は、電源管理データ11aの設定情報に従って、各情報機器に電力を供給する。
The data shown in FIG. 3 corresponds to the virtual management system 9 shown in FIG. Specifically, the first tap of the power supply device 1 supplies power to the first
仮想管理データ記憶部12は、メモリ10のうち、仮想管理データが記憶された記憶領域である。仮想管理データは、情報機器でエミュレートされる仮想情報機器の識別子と、情報機器当てたリソース情報と、を関連づけたデータである。本発明の実施の形態において仮想管理データは、電源装置1が仮想管理する情報機器の種別ごとに、仮想マシン管理データ13aおよび仮想ストレージ管理データ14aを備える。
The virtual management data storage unit 12 is a storage area in the
仮想マシン管理データ13aは、電源装置1が、仮想マシン3を仮想管理する際に参照または更新するデータである。仮想マシン管理データ13aは、図4に示すように、仮想ホスト2の識別子と、この仮想ホスト2でエミュレートされる仮想マシン3の識別子と、この仮想ホスト2のリソースうち、この仮想マシン3に割り当てられたリソースの情報と、が対応づけられている。仮想マシン3に割り当てられた仮想マシン3のリソースの情報としては、CPU数、CPUクロック数などがある。図4に示す例では、第1の仮想ホスト2aで、第1の仮想マシン3aがエミュレートされており、第1の仮想マシン3aには、第1の仮想ホスト2aのCPUのうち、CPUクロック数3GHzの2つのCPUが割り当てられることを示している。
The virtual
仮想ストレージ管理データ14aは、電源装置1が、仮想ストレージ5を仮想管理する際に参照または更新するデータである。仮想ストレージ管理データ14aは、図5に示すように、ストレージ4の識別子と、このストレージ4でエミュレートされる仮想ストレージ5の識別子と、この仮想ストレージ5のリソースのうち、この仮想ストレージ5に割り当てられたリソースの情報と、が対応づけられている。仮想ストレージ5に割り当てられたストレージ4のリソースの情報としては、記憶領域などがある。図5に示す例では、第1のストレージ4aで、第1の仮想ストレージ5aがエミュレートされており、第1の仮想ストレージ5aには、第1のストレージ4aの記憶領域のうち、10TByteが割り当てられることを示している。
The virtual
スクリプトデータ記憶部15は、メモリ10のうち、スクリプトデータ15a、15b、…が記憶された記憶領域である。スクリプトデータ15aは、情報機器に関する電源管理または仮想管理に関する命令を含む。スクリプトデータ15aは、複数の情報機器に関する複数の任意の命令や、電源装置1自身に関する複数の任意の命令を含んでも良い。スクリプトデータ15aは、情報機器から入力されても良いし、電源装置の入力装置(図示せず)や入力インタフェース(図示せず)などから入力されても良い。スクリプトデータ15bは、スクリプトデータ15aと同様である。
The script
コントローラ20は、制御手段21、電源管理手段22および仮想管理手段23を備える。コントローラ20は、いわゆる組み込みコンピュータであって、一般的なコンピュータで用いられるCPUとは異なる。
The
制御手段21は、電源管理データ11a、仮想マシン管理データ13aおよび仮想ストレージ管理データ14aに基づいて、情報機器の電力供給および仮想情報機器に割り当てられたリソースの管理を制御する。制御手段21は、電源管理に関する指示を、電源管理手段22に出力するとともに、仮想管理に関する指示を、仮想管理手段23に出力する。
The
制御手段21は、電源管理と仮想管理とを連動させて指示する。例えば、仮想ホスト2および仮想マシン3のシャットダウン、仮想マシン3の移行、各情報機器に割り当てるリソースの変化などの事象が発生すると、制御手段21は、これらの仮想管理に基づいた指示を、電源管理手段22または仮想管理手段23に入力する。
The control means 21 instructs power management and virtual management in conjunction with each other. For example, when an event such as the shutdown of the
例えば図1に示す例で、第1の仮想ホスト2aの電源をシャットダウンする際、それに先だって、制御手段21は、仮想管理手段23に、第1の仮想ホスト2aでエミュレートされる第1の仮想マシン3aおよび第2の仮想マシン3bをシャットダウンする指示を送信する。制御手段21は、第1の仮想マシン3aおよび第2の仮想マシン3bのシャットダウンを確認した後、電源管理手段22に、第1の仮想ホスト2aの電源をシャットダウンする指示を送信する。
For example, in the example shown in FIG. 1, when the power supply of the first
同様に、第1の仮想ホスト2a、第1の仮想マシン3aおよび第2の仮想マシン3bを起動する際、制御手段21は、電源管理手段22に、第1の仮想ホスト2aの電源を投入する指示を送信する。制御手段21は、第1の仮想ホスト2aが起動し、仮想マシン3をエミュレートできる状態になったことを確認した後、第1の仮想マシン3aおよび第2の仮想マシン3bに起動する指示を送信する。
Similarly, when starting the first
制御手段21による仮想管理によって、仮想ホスト2および仮想マシン3のシャットダウン、仮想マシン3の移行、各情報機器に割り当てるリソースが変化すると、制御手段21は、これらの情報を、メモリ10の各データに反映する。例えば、第1の仮想マシン3aに割り当てるCPU数を”2”から”3”に増やす場合、制御手段21は、仮想管理手段23にその指示を入力するとともに、メモリ10の仮想マシン管理データ13aの、第1の仮想マシン3aに割り当てるCPU数を”3”に更新する。また、第1の仮想ストレージ5aに割り当てる記憶領域を、”10GTByte”から”8GTByte”に減らす場合、制御手段21は、仮想管理手段23にその指示を入力するとともに、メモリ10の仮想ストレージ管理データ14aの、第1の仮想ストレージ5aに割り当てる記憶領域を”8GTByte”に更新する。
When the virtual management by the
ここで、制御手段21は、電源管理において、電源のオンオフのスケジュールや電力供給状態など、一般的な電源管理で行われる処理も実行する。また制御手段21は、仮想管理において、各仮想インフラおよび物理インフラの負荷の監視など、一般的な仮想管理で行われる処理も実行する。また制御手段21は、オペレータの指示による電源管理および仮想管理を実現するため、その入力インタフェースを表示するとともに、オペレータの指示を取得しても良い。
Here, in the power management, the
制御手段21は、仮想情報機器に関する全ての仮想管理をする必要はない。例えば、仮想管理システム9が、仮想管理サーバ(図示せず)を備え、この仮想管理サーバとともに、仮想管理する方法がある。この場合、電源のシャットダウンに関する処理は、電源装置1の仮想管理手段23が実行し、そのほかの、仮想管理に関する処理は、他のサーバなどで実行されても良い。また、各情報機器および各仮想情報機器のリソースの監視は他のサーバなどで実行し、このサーバからの指示を受けて、制御手段21が、電源管理手段22および仮想管理手段23に指示を入力し、仮想管理手段23が、各情報機器および仮想情報機器に、仮想管理に関する指示を入力しても良い。
The control means 21 does not have to perform all virtual management related to the virtual information device. For example, there is a method in which the virtual management system 9 includes a virtual management server (not shown) and performs virtual management together with the virtual management server. In this case, the process related to power shutdown may be executed by the
制御手段21はさらに、スクリプトデータ記憶部16から、スクリプトデータ15aなどを読み出して、スクリプトデータ15aなどに含まれる命令を実行する。制御手段21は、スクリプトデータ15aなどで指定されたタイミングで、それぞれのスクリプトデータに含まれる命令を実行する。この際、制御手段21は、電源管理手段22または仮想管理手段23に、所定の命令を実行させても良い。
The control means 21 further reads out the script data 15a and the like from the script data storage unit 16 and executes instructions included in the script data 15a and the like. The control means 21 executes an instruction included in each script data at a timing specified by the script data 15a or the like. At this time, the
電源管理手段22は、制御手段21からの指示に基づいて、電力供給部30に指示し、情報機器への電力供給を制御する。
The
仮想管理手段23は、制御手段21からの指示に基づいて、仮想情報機器にリソースを割り当てる指示を、通信制御装置40を介して、仮想情報機器に送信する。
Based on an instruction from the
このように本発明の実施の形態に係る電源装置1は、仮想管理システム9において、電源管理および仮想管理を一括に制御する。このような電源装置1によれば、電源供給と仮想管理とを矛盾なく遂行することができる。例えば、電源が投入されていない仮想ホスト2に仮想マシン3を移行させる、仮想マシン3がまだエミュレートしている仮想ホスト2の電源をシャットダウンする、などの事故を防ぐことができる。
As described above, the power supply device 1 according to the embodiment of the present invention collectively controls power management and virtual management in the virtual management system 9. According to such a power supply device 1, power supply and virtual management can be performed without contradiction. For example, it is possible to prevent accidents such as migrating the virtual machine 3 to the
電源装置1は、仮想管理システム9において、最も早く起動し、最も最後にシャットダウンする特性を持つ。このような電源装置1が仮想管理することにより、安定した電力供給および仮想管理を実現することができる。 In the virtual management system 9, the power supply device 1 has a characteristic of starting up earliest and shutting down last. When such a power supply device 1 performs virtual management, stable power supply and virtual management can be realized.
さらに、電源装置1は、いわゆる組み込みコンピュータで実現されるので、一般的なコンピュータで仮想管理を実行する場合より、ウィルスやサーバ攻撃などを受けにくい。 Furthermore, since the power supply device 1 is realized by a so-called embedded computer, it is less susceptible to viruses and server attacks than when virtual management is executed by a general computer.
このように、本発明の実施の形態に係る電源装置1が、電源管理のみならず仮想管理することにより、仮想管理システム9の全体として、安定した仮想管理を実現することができる。 As described above, the power supply apparatus 1 according to the embodiment of the present invention performs not only power management but also virtual management, whereby the virtual management system 9 as a whole can realize stable virtual management.
(その他の実施の形態)
上記のように、本発明の実施の形態によって記載したが、この開示の一部をなす論述および図面はこの発明を限定するものであると理解すべきではない。この開示から当業者には様々な代替実施の形態、実施例および運用技術が明らかとなる。
(Other embodiments)
As described above, the embodiments of the present invention have been described. However, it should not be understood that the descriptions and drawings constituting a part of this disclosure limit the present invention. From this disclosure, various alternative embodiments, examples, and operational techniques will be apparent to those skilled in the art.
本発明はここでは記載していない様々な実施の形態等を含むことは勿論である。従って、本発明の技術的範囲は上記の説明から妥当な特許請求の範囲に係る発明特定事項によってのみ定められるものである。 It goes without saying that the present invention includes various embodiments not described herein. Therefore, the technical scope of the present invention is defined only by the invention specifying matters according to the scope of claims reasonable from the above description.
1 電源装置
2 仮想ホストコンピュータ(仮想ホスト)
3 仮想マシン
4 ストレージ
5 仮想ストレージ
6 VLANスイッチ
8 通信ネットワーク
9 仮想管理システム
10 メモリ
11 電源管理データ記憶部
12 仮想管理データ記憶部
13a 仮想マシン管理データ
14a 仮想ストレージ管理データ
15 スクリプトデータ記憶部
20 コントローラ
21 制御手段
22 電源管理手段
23 仮想管理手段
30 電力供給部
40 通信制御装置
1
3 Virtual Machine 4 Storage 5 Virtual Storage 6 VLAN Switch 8 Communication Network 9
Claims (4)
前記仮想ホストコンピュータおよびストレージに供給する電力の設定情報を記憶した電源管理データを記憶するとともに、
前記仮想ホストコンピュータでエミュレートされる仮想マシンの識別子と、当該仮想マシンに割り当てるリソース情報と、を関連づけた仮想管理データと、
前記ストレージでエミュレートされる仮想ストレージの識別子と、当該仮想ストレージに割り当てるリソースと、を関連づけた仮想ストレージ管理データを記憶する記憶装置と、
前記電源管理データおよび前記仮想管理データおよび前記仮想ストレージ管理データに基づいて、前記仮想ホストコンピュータおよびストレージの電力供給および前記仮想マシンおよび前記仮想ストレージに割り当てられたリソースの管理を制御する制御手段と、
前記制御手段からの指示に基づいて、前記仮想ホストコンピュータおよびストレージへの前記電力供給を制御する電源管理手段と、
前記制御手段からの指示に基づいて、前記仮想マシンおよび前記仮想ストレージにリソースを割り当てる指示を、前記仮想マシンおよび前記仮想ストレージに送信する仮想管理手段と、
を備え、
前記制御手段は、前記仮想管理手段に、前記仮想ホストコンピュータでエミュレートされる前記仮想マシンをシャットダウンする指示を送信し、前記仮想マシンのシャットダウンを確認した後、前記電源管理手段に、前記仮想ホストコンピュータの電源をシャットダウンする指示を送信することを特徴とする電源装置。 A power supply device for supplying power to a virtual host computer and storage ,
Storing power management data storing setting information of power supplied to the virtual host computer and storage ;
Virtual management data in which an identifier of a virtual machine emulated by the virtual host computer is associated with resource information assigned to the virtual machine ;
A storage device for storing virtual storage management data in which an identifier of a virtual storage emulated in the storage and a resource allocated to the virtual storage are associated with each other;
Control means for controlling power supply of the virtual host computer and storage and management of resources allocated to the virtual machine and the virtual storage based on the power management data and the virtual management data and the virtual storage management data ;
Power management means for controlling the power supply to the virtual host computer and storage based on an instruction from the control means;
Virtual management means for transmitting an instruction to allocate resources to the virtual machine and the virtual storage based on an instruction from the control means to the virtual machine and the virtual storage ;
Equipped with a,
The control means transmits an instruction to shut down the virtual machine emulated by the virtual host computer to the virtual management means, confirms the shutdown of the virtual machine, and then sends the virtual host to the power management means. power and wherein that you send an instruction to shut down the power to the computer.
前記制御手段は、前記スクリプトデータを読み出して、当該スクリプトデータに含まれる命令を実行する
ことを特徴とする請求項1に記載の電源装置。 Wherein the storage device further stores the script data containing instructions for power management or virtual management of the storage,
The power supply apparatus according to claim 1 , wherein the control unit reads the script data and executes an instruction included in the script data.
前記仮想ホストコンピュータおよびストレージに供給する電力の設定情報を記憶した電源管理データと、前記仮想ホストコンピュータでエミュレートされる仮想マシンの識別子と、当該仮想マシンに割り当てるリソース情報と、を関連づけた仮想管理データと、前記ストレージでエミュレートされる仮想ストレージの識別子と、当該仮想ストレージに割り当てるリソースと、を関連づけた仮想ストレージ管理データに基づいて、前記仮想ホストコンピュータおよびストレージの電力供給および前記仮想マシンおよび前記仮想ストレージに割り当てられたリソースの管理を制御する制御ステップと、
前記制御ステップからの指示に基づいて、前記仮想ホストコンピュータおよびストレージへの前記電力供給を制御する電源管理ステップと、
前記制御ステップからの指示に基づいて、前記仮想マシンおよび前記仮想ストレージにリソースを割り当てる指示を、前記仮想マシンおよび前記仮想ストレージに送信する仮想管理ステップ
として、前記電源装置が内蔵するコンピュータを機能させ、
前記制御ステップにおいて、前記仮想ホストコンピュータでエミュレートされる前記仮想マシンをシャットダウンする指示を送信し、前記仮想マシンのシャットダウンを確認した後、前記仮想ホストコンピュータの電源をシャットダウンする指示を送信することを特徴とするプログラム。 A program used in a power supply device for supplying power to a virtual host computer and storage ,
Virtual management in which power management data storing setting information of power supplied to the virtual host computer and storage , an identifier of a virtual machine emulated by the virtual host computer , and resource information allocated to the virtual machine are associated with each other Based on virtual storage management data in which data , an identifier of a virtual storage emulated in the storage, and a resource to be allocated to the virtual storage are associated, the power supply of the virtual host computer and storage , the virtual machine, and the virtual machine Control steps for controlling the management of resources allocated to virtual storage ;
A power management step for controlling the power supply to the virtual host computer and storage based on an instruction from the control step;
Based on an instruction from said control step, an instruction for allocating resources to the virtual machine and the virtual storage, as a virtual administrative steps to be transmitted to the virtual machine and the virtual storage, cause the computer to function of the power supply is built ,
In the control step, an instruction to shut down the virtual machine emulated by the virtual host computer is transmitted, and after confirming the shutdown of the virtual machine, an instruction to shut down the power of the virtual host computer is transmitted. A featured program.
をさらに備えることを特徴とする請求項3に記載のプログラム。 The program according to claim 3 , further comprising: a control step of reading script data including an instruction related to power management or virtual management related to the storage and executing an instruction included in the script data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011210620A JP5884365B2 (en) | 2011-09-27 | 2011-09-27 | Power supply and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011210620A JP5884365B2 (en) | 2011-09-27 | 2011-09-27 | Power supply and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013073332A JP2013073332A (en) | 2013-04-22 |
JP5884365B2 true JP5884365B2 (en) | 2016-03-15 |
Family
ID=48477814
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011210620A Expired - Fee Related JP5884365B2 (en) | 2011-09-27 | 2011-09-27 | Power supply and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5884365B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7063315B2 (en) * | 2019-11-29 | 2022-05-09 | オムロン株式会社 | Information processing equipment, management programs, management methods, and information processing systems |
JP2022126714A (en) * | 2022-01-20 | 2022-08-30 | オムロン株式会社 | Information processing apparatus, management program, management method, and information processing system |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3996073B2 (en) * | 2003-02-26 | 2007-10-24 | 富士通株式会社 | Power control system |
JP4847272B2 (en) * | 2006-10-18 | 2011-12-28 | 株式会社日立製作所 | Computer system for managing power supply for each logical partition, storage device, and control method thereof |
JP4924514B2 (en) * | 2008-03-31 | 2012-04-25 | 富士通株式会社 | Virtual machine management program, management server device, and virtual machine management method |
JP5274263B2 (en) * | 2009-01-06 | 2013-08-28 | キヤノン株式会社 | Information processing apparatus and information processing apparatus control method |
JP5240054B2 (en) * | 2009-04-30 | 2013-07-17 | 富士通セミコンダクター株式会社 | Power supply control program, power supply control device, and power supply control method |
-
2011
- 2011-09-27 JP JP2011210620A patent/JP5884365B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2013073332A (en) | 2013-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5621860B2 (en) | Power supply device, program, and control method | |
JP6028403B2 (en) | Power supply device, program, control method, power management device, and power management program | |
JP5664362B2 (en) | Power supply and program | |
JP5691390B2 (en) | Power supply and program | |
US9117093B2 (en) | Centralized, policy-driven maintenance of storage for virtual machine disks (VMDKS) and/or physical disks | |
US9541980B2 (en) | Operation management device, operation management method, and recording medium | |
US20120151248A1 (en) | Reduced power failover system and method | |
KR20070008668A (en) | Dynamic migration of virtual machine computer programs | |
JP2008225639A (en) | Low power consumption job management method and computer system | |
JP6130520B2 (en) | MULTISYSTEM SYSTEM AND MULTISYSTEM SYSTEM MANAGEMENT METHOD | |
JP6971016B2 (en) | Controls, control methods and programs | |
JP2011065480A (en) | Power supply control device, control method thereof, power and storage system | |
CN104270430A (en) | Server remote dispatching method suitable for cloud computing | |
EP3316518B1 (en) | Method and device for upgrading virtual network element, and computer storage medium | |
JP5884365B2 (en) | Power supply and program | |
US20230018342A1 (en) | Power management of a computing system | |
JP6003256B2 (en) | Power supply and program | |
JP2012027655A (en) | Information processor and power-saving memory management method | |
JP5278471B2 (en) | Cluster system | |
JP5483465B2 (en) | Computer system and power saving control method | |
JP2010211259A (en) | Virtual machine system, information processor, resource management method, program and recording medium | |
CN115934184A (en) | BIOS (basic input output System) restarting method and device | |
JP2019036259A (en) | Restoration controller, restoration control system, restoration control method, and restoration control program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140822 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150430 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150511 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150703 |
|
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: 20160112 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160125 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5884365 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |