JP5664004B2 - Information processing system, information processing apparatus, shutdown timing determination method, and program - Google Patents

Information processing system, information processing apparatus, shutdown timing determination method, and program Download PDF

Info

Publication number
JP5664004B2
JP5664004B2 JP2010176548A JP2010176548A JP5664004B2 JP 5664004 B2 JP5664004 B2 JP 5664004B2 JP 2010176548 A JP2010176548 A JP 2010176548A JP 2010176548 A JP2010176548 A JP 2010176548A JP 5664004 B2 JP5664004 B2 JP 5664004B2
Authority
JP
Japan
Prior art keywords
shutdown
information processing
power
unit
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.)
Expired - Fee Related
Application number
JP2010176548A
Other languages
Japanese (ja)
Other versions
JP2012038033A (en
Inventor
諭 多和田
諭 多和田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP2010176548A priority Critical patent/JP5664004B2/en
Publication of JP2012038033A publication Critical patent/JP2012038033A/en
Application granted granted Critical
Publication of JP5664004B2 publication Critical patent/JP5664004B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Description

本発明は、情報処理装置と、当該情報処理装置に電力を供給する無停電電源装置とを具備する情報処理システム、当該情報処理システムにおけるシャットダウンタイミング決定方法、シャットダウンタイミング決定のためのプログラム、および、当該情報処理システムの情報処理装置に関する。   The present invention relates to an information processing system including an information processing device and an uninterruptible power supply that supplies power to the information processing device, a shutdown timing determination method in the information processing system, a program for determining shutdown timing, and The present invention relates to an information processing apparatus of the information processing system.

情報処理装置に入力される商用電源の停電対策として、UPS(Uninterruptible Power Supply、無停電電源装置)が広く用いられている。このUPSを新たに導入する際、UPSに接続される情報処理装置の最大消費電力を必要時間保持可能な容量のUPSが選定されることが多い。例えば、自家発電装置を備えた施設では、当該自家発電装置が電力供給を開始するまで、情報処理装置の最大消費電力を供給可能なUPSが選定される。或いは、自家発電装置を備えない施設では、停電後、情報処理装置が安全にシャットダウンするまで、当該情報処理装置の最大消費電力を供給可能なUPSが選定される。   UPS (Uninterruptible Power Supply) has been widely used as a power failure countermeasure for commercial power input to information processing devices. When this UPS is newly introduced, a UPS having a capacity capable of holding the maximum power consumption of the information processing apparatus connected to the UPS for a required time is often selected. For example, in a facility equipped with a private power generation device, a UPS that can supply the maximum power consumption of the information processing device is selected until the private power generation device starts supplying power. Alternatively, in a facility that does not include a private power generation device, a UPS that can supply the maximum power consumption of the information processing device is selected until the information processing device is safely shut down after a power failure.

ここで、特許文献1では、情報処理装置(計算機システム)をシャットダウン処理するのに必要な電力量と、UPSの二次電池の残量とに基づいて、情報処理装置の稼動可能な時間を算出する技術が示されており、この技術を用いて、停電時に情報処理装置をなるべく長い時間稼動させることが可能とされている。   Here, in Patent Document 1, the time during which the information processing apparatus can be operated is calculated based on the amount of power necessary for shutting down the information processing apparatus (computer system) and the remaining amount of the secondary battery of the UPS. This technique is used, and it is possible to operate the information processing apparatus for as long as possible at the time of a power failure using this technique.

特開2007−179094号公報JP 2007-179094 A

しかしながら、特許文献1には、情報処理装置をシャットダウン処理するのに必要な電力量を求める具体的手段や、稼動可能時間を算出する具体的手段は、一切開示されていない。従って、情報処理装置の状況によってシャットダウン処理に必要な時間が異なりシャットダウン処理に必要な電力量が異なる場合、特許文献1に示される技術では、適切にシャットダウン処理を行うことが出来ない。例えば、仮想化対応サーバをシャットダウン処理するのに必要な時間は、仮想マシンの稼動状況に応じて異なり、このため、シャットダウン処理に必要な電力量が異なる。特許文献1に示される技術では、この仮想マシンの稼動状況に応じて適切にシャットダウン処理を行うことが出来ない。   However, Patent Document 1 does not disclose any specific means for obtaining the amount of power required for shutting down the information processing apparatus or specific means for calculating the operable time. Therefore, when the time required for the shutdown process varies depending on the status of the information processing apparatus and the amount of power required for the shutdown process differs, the technique disclosed in Patent Literature 1 cannot perform the shutdown process appropriately. For example, the time required for shutting down a virtualization-compatible server varies depending on the operating status of the virtual machine, and thus the amount of power required for the shutdown process varies. With the technique disclosed in Patent Document 1, it is not possible to appropriately perform a shutdown process in accordance with the operating status of the virtual machine.

本発明は、このような事情を考慮してなされたものであり、その目的は、情報処理装置の状況によって当該情報処理装置のシャットダウン処理に必要な時間が異なる場合にも、適切にシャットダウン処理を行うことができる情報処理システム、シャットダウンタイミング決定方法およびプログラムを提供することにある。   The present invention has been made in consideration of such circumstances, and its purpose is to appropriately perform the shutdown process even when the time required for the shutdown process of the information processing apparatus varies depending on the situation of the information processing apparatus. An information processing system, a shutdown timing determination method, and a program that can be performed are provided.

この発明は上述した課題を解決するためになされたもので、本発明の一態様による情報処理システムは、情報処理装置と、前記情報処理装置に電力を供給する無停電電源装置とを具備する情報処理システムであって、前記無停電電源装置は、電力を入力可能な第1電源部と、充電された電力を出力可能な内部電源部と、前記第1電源部に入力される電力または前記内部電源部から出力される電力を出力する電力出力部と、前記第1電源部への電力の入力の有無を判定し、入力無しと判定すると、停電中であることを示す停電信号を出力する停電判定部と、前記情報処理装置のシャットダウンに必要な時間および電力の指標値を示す指標値信号を取得するシャットダウン関連情報取得部と、前記内部電源部の充電残量と、前記シャットダウン関連情報取得部が取得する前記指標値信号とに基づいて、前記情報処理装置のシャットダウン処理開始タイミングを決定するタイミング決定部と、前記タイミング決定部が決定した前記シャットダウン処理開始タイミングが到来したか否かを判定し、到来したと判定すると、シャットダウンを指示するシャットダウン信号を出力するシャットダウン信号出力部と、を具備し、前記情報処理装置は仮想化対応サーバ装置であり、前記電力出力部から出力される電力の入力を受けて前記情報処理装置の各部に電力を供給する第2電源部と、前記情報処理装置にて稼働中の仮想マシンの構成毎に予め測定された前記シャットダウンに必要な時間を当該構成と対応付けて記憶するシャットダウン時間記憶部と、前記停電判定部から前記停電信号が出力されると、前記情報処理装置にて稼働中の仮想マシンの構成に基づいて、当該構成に対応付けられた前記シャットダウンに必要な時間を読み出すシャットダウン時間取得部と、前記情報処理装置の消費電力値を取得する消費電力取得部と、前記停電判定部から前記停電信号が出力されると、前記シャットダウン時間取得部が読み出す前記シャットダウンに必要な時間と、前記消費電力取得部が取得する前記情報処理装置の消費電力値とに基づいて、前記指標値信号を生成し出力するシャットダウン関連情報生成部と、前記シャットダウン信号出力部から出力される前記シャットダウン信号に基づいて前記情報処理装置をシャットダウンするシャットダウン実行部と、を具備することを特徴とする。 The present invention has been made to solve the above-described problem, and an information processing system according to an aspect of the present invention includes an information processing apparatus and an uninterruptible power supply that supplies power to the information processing apparatus. In the processing system, the uninterruptible power supply includes a first power supply unit capable of inputting power, an internal power supply unit capable of outputting charged power, and power input to the first power supply unit or the internal power supply unit. A power output unit that outputs power output from the power supply unit and a power outage that determines whether or not power is input to the first power supply unit and outputs a power outage signal indicating that a power outage has occurred when it is determined that there is no input. A determination unit; a shutdown-related information acquisition unit that acquires an index value signal indicating an index value of time and power required for shutdown of the information processing apparatus; a remaining charge amount of the internal power supply unit; and the shutdown function Based on the index value signal acquired by the information acquisition unit, a timing determination unit that determines the shutdown processing start timing of the information processing apparatus, and whether or not the shutdown processing start timing determined by the timing determination unit has arrived A shutdown signal output unit that outputs a shutdown signal for instructing shutdown, and the information processing device is a virtualization-compatible server device that is output from the power output unit. A second power supply unit that receives power input and supplies power to each unit of the information processing apparatus; and a time required for the shutdown measured in advance for each configuration of the virtual machine that is operating in the information processing apparatus and shutdown time storage unit that constitute the association with each other, the power failure signal from the power failure detection unit outputs That when, based on the configuration of the virtual machines running in the information processing apparatus, the shutdown time obtaining unit for reading the time required to the shutdown associated with this configuration, the power consumption value of the information processing apparatus When the power failure signal is output from the power consumption acquisition unit to be acquired and the power failure determination unit, the time required for the shutdown read by the shutdown time acquisition unit, and the information processing apparatus to be acquired by the power consumption acquisition unit A shutdown-related information generating unit that generates and outputs the index value signal based on a power consumption value; and a shutdown execution unit that shuts down the information processing device based on the shutdown signal output from the shutdown signal output unit; It is characterized by comprising.

また、本発明の一態様による情報処理装置は、無停電電源装置から電力が供給される情報処理装置であって、前記情報処理装置にて稼働される仮想マシンの構成毎に予め測定された、前記情報処理装置のシャットダウンに必要な時間を、当該構成と対応付けて記憶するシャットダウン時間記憶部と、前記情報処理装置にて稼働中の仮想マシンの構成に基づいて、当該構成に対応付けられた前記シャットダウンに必要な時間を読み出すシャットダウン時間取得部と、前記情報処理装置の消費電力値を取得する消費電力取得部と、停電信号が入力されると、前記シャットダウンに必要な時間と、前記情報処理装置の消費電力値とに基づいて、前記情報処理装置のシャットダウンに必要な時間および電力の指標値を示す指標値信号を出力するシャットダウン関連情報生成部と、シャットダウンを指示するシャットダウン信号に基づいて前記情報処理装置をシャットダウンするシャットダウン実行部と、を具備することを特徴とする。 Further, the information processing apparatus according to one aspect of the present invention is an information processing apparatus to which power is supplied from an uninterruptible power supply apparatus, and is measured in advance for each configuration of a virtual machine operated in the information processing apparatus. The time required for shutting down the information processing apparatus is associated with the configuration based on the configuration of the shutdown time storage unit that stores the time associated with the configuration and the virtual machine that is operating in the information processing apparatus. A shutdown time acquisition unit that reads out a time required for the shutdown, a power consumption acquisition unit that acquires a power consumption value of the information processing device, a time required for the shutdown when a power failure signal is input, and the information processing Based on the power consumption value of the apparatus, a shut-off that outputs an index value signal indicating an index value of time and power required for shutting down the information processing apparatus. A down-related information generating unit, characterized by comprising, a shutdown execution unit to shut down the information processing apparatus based on the shutdown signal instructing shutdown.

また、本発明の一態様によるシャットダウンタイミング決定方法は、無停電電源装置から電力を供給される情報処理装置のシャットダウンタイミング決定方法であって、前記情報処理装置は仮想化対応サーバ装置であって、停電判定部が、外部から前記無停電電源装置への電力の入力の有無を判定する停電判定ステップと、シャットダウン時間取得部が、前記停電判定ステップにて入力無しと判定されると、前記情報処理装置にて稼働中の仮想マシンの構成に基づいて、当該構成に対応付けられた前記シャットダウンに必要な時間を、前記情報処理装置にて稼働中の仮想マシンの構成毎に予め測定された前記シャットダウンに必要な時間を当該構成と対応付けて記憶するシャットダウン時間記憶部から読み出すシャットダウン時間取得ステップと、消費電力取得部が、前記情報処理装置の消費電力値を取得する消費電力取得ステップと、タイミング決定部が、前記停電判定ステップにて入力無しと判定されると、充電された電力を出力可能な内部電源部の充電残量と、前記消費電力取得ステップにて得られた前記情報処理装置の消費電力値と、前記シャットダウン時間取得ステップにて得られた前記情報処理装置のシャットダウンに必要な時間とに基づいて、前記情報処理装置のシャットダウン処理開始タイミングを決定するタイミング決定ステップと、前記タイミング決定ステップにて決定された前記シャットダウン処理開始タイミングが到来したか否かを判定するシャットダウンタイミング判定ステップと、シャットダウン実行部が、前記シャットダウンタイミング判定ステップにて前記シャットダウン処理開始タイミングが到来したと判定されると、前記情報処理装置をシャットダウンするシャットダウン実行ステップと、を具備することを特徴とする。 A shutdown timing determination method according to an aspect of the present invention is a shutdown timing determination method for an information processing apparatus to which power is supplied from an uninterruptible power supply, and the information processing apparatus is a virtualization-compatible server apparatus, When the power failure determination unit determines that there is no power input from the outside to the uninterruptible power supply, and when the shutdown time acquisition unit determines that there is no input in the power failure determination step, the information processing The shutdown measured in advance for each configuration of the virtual machine operating in the information processing apparatus, based on the configuration of the virtual machine operating in the apparatus, the time required for the shutdown associated with the configuration shutdown time acquisition step for reading the time required from the shutdown time storage unit that stores in association with the configuration And a power consumption acquisition unit that acquires a power consumption value of the information processing device, and a timing determination unit that outputs charged power when it is determined that there is no input in the power failure determination step. Necessary remaining power amount of the internal power supply unit, power consumption value of the information processing device obtained in the power consumption acquisition step, and shutdown of the information processing device obtained in the shutdown time acquisition step And a timing determination step for determining a shutdown processing start timing of the information processing device based on time, and a shutdown timing determination step for determining whether or not the shutdown processing start timing determined in the timing determination step has arrived Then, the shutdown execution unit performs the shutdown timing determination step. When the shutdown processing start timing is determined to have arrived at, characterized by comprising, a shutdown execution step of shutting down the information processing apparatus.

また、本発明の一態様によるプログラムは、無停電電源装置から電力が供給される情報処理装置に、前記情報処理装置にて稼働中の仮想マシンの構成に基づいて、当該構成に対応付けられた前記シャットダウンに必要な時間を、前記情報処理装置にて稼働される中の仮想マシンの構成毎に予め測定されたシャットダウンに必要な時間を当該構成と対応付けて記憶するシャットダウン時間記憶部から読み出すステップと、前記情報処理装置の消費電力値を取得するステップと、停電信号が入力されると、前記シャットダウンに必要な時間と、前記情報処理装置の消費電力値とに基づいて、前記情報処理装置のシャットダウンに必要な時間および電力の指標値を示す指標値信号を出力するステップと、シャットダウンを指示するシャットダウン信号に基づいて前記情報処理装置をシャットダウンするステップと、を実行させるプログラムである。 A program according to an aspect of the present invention is associated with an information processing apparatus to which power is supplied from an uninterruptible power supply, based on the configuration of a virtual machine that is operating on the information processing apparatus. The step of reading the time required for the shutdown from the shutdown time storage unit that stores the time required for the shutdown measured in advance for each configuration of the virtual machine being operated in the information processing apparatus in association with the configuration Acquiring the power consumption value of the information processing apparatus, and when a power failure signal is input, based on the time required for the shutdown and the power consumption value of the information processing apparatus, A step of outputting an index value signal indicating an index value of time and power required for shutdown, and a shutdown signal for instructing shutdown Is a program for executing the steps of shutting down the information processing apparatus based on.

本発明によれば、情報処理装置の状況によって当該情報処理装置のシャットダウン処理に必要な時間が異なる場合にも、適切にシャットダウン処理を行うことができる。   According to the present invention, even when the time required for the shutdown process of the information processing apparatus differs depending on the status of the information processing apparatus, the shutdown process can be appropriately performed.

本発明の一実施形態における情報処理システムのハードウェア構成の概略を示すハードウェア構成図である。It is a hardware block diagram which shows the outline of the hardware configuration of the information processing system in one Embodiment of this invention. 同実施形態における情報処理システムの機能ブロック構成の概略を示すブロック構成図である。It is a block block diagram which shows the outline of the functional block structure of the information processing system in the embodiment. 同実施形態において、シャットダウン時間記憶部が記憶するシャットダウン時間の例を示す図である。In the same embodiment, it is a figure which shows the example of the shutdown time which a shutdown time memory | storage part memorize | stores. 同実施形態において、自家発電装置が接続されておらず、かつ、商用電源が復旧しない場合の情報処理システムの動作例を示すシーケンス図である。In the same embodiment, it is a sequence diagram which shows the operation example of the information processing system when a private power generation device is not connected and a commercial power supply does not recover. 同実施形態において、自家発電装置が接続されておらず、かつ、商用電源が復旧する場合の情報処理システムの動作例を示すシーケンス図である。In the same embodiment, it is a sequence diagram which shows the operation example of the information processing system when a private power generation device is not connected and a commercial power supply is restored. 同実施形態において、自家発電装置が接続されている場合の情報処理システムの動作例を示すシーケンス図である。In the same embodiment, it is a sequence diagram which shows the operation example of the information processing system in case the private power generation device is connected.

以下、図面を参照して、本発明の実施の形態について説明する。
図1は、本発明の一実施形態における情報処理システムのハードウェア構成の概略を示すハードウェア構成図である。同図において、情報処理システム1は、無停電電源装置(以下、「UPS」と称する)11と、サーバ装置(情報処理装置)21とを具備する。UPS11は、電源回路311および321と、電圧センサ312および322と、切換回路331と、内部電源回路341と、電力出力回路342と、プロセッサ361と、記憶装置371と通信回路381とを具備する。サーバ装置21は、電源回路411と、電力センサ412と、CPU(中央処理装置)461と、記憶装置471と、通信回路481と、BMC(Baseboard Management Controller)491とを具備する。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a hardware configuration diagram showing an outline of a hardware configuration of an information processing system according to an embodiment of the present invention. In FIG. 1, the information processing system 1 includes an uninterruptible power supply (hereinafter referred to as “UPS”) 11 and a server device (information processing device) 21. The UPS 11 includes power supply circuits 311 and 321, voltage sensors 312 and 322, a switching circuit 331, an internal power supply circuit 341, a power output circuit 342, a processor 361, a storage device 371, and a communication circuit 381. The server device 21 includes a power supply circuit 411, a power sensor 412, a CPU (Central Processing Unit) 461, a storage device 471, a communication circuit 481, and a BMC (Baseboard Management Controller) 491.

なお、同図の実線は電力の経路を示し、破線は信号の経路を示す。また、内部電源回路341からUPS11の各部に電力が供給されるが、図を見易くするために図示を省略している。同様に、電源回路411からサーバ装置21の各部に電力が供給されるが、図示を省略している。   In the figure, the solid line indicates the power path, and the broken line indicates the signal path. In addition, power is supplied from the internal power supply circuit 341 to each part of the UPS 11, but the illustration is omitted for easy understanding of the drawing. Similarly, power is supplied from the power supply circuit 411 to each unit of the server device 21, but the illustration is omitted.

UPS11は、サーバ装置21に電力を供給する。
電源回路311は、外部電源に接続可能な電源入力端子と、サージ・プロテクタ(Surge Protector)と、変圧器と、整流器(ADコンバータ)とを具備する。本実施形態では、電源回路311は、商用電源901に接続され、商用電源901から供給される交流電力からサージ(Surge、異常電圧)を除去し、内部電源回路341の仕様に応じた電圧に変圧し、直流電力に変換して切換回路331に供給する。
同様に、電源回路321は、外部電源に接続可能な電源入力端子と、サージ・プロテクタと、変圧器と、整流器とを具備する。本実施形態では、電源回路321は、自家発電装置902に接続され、自家発電装置902からから供給される交流電力からサージを除去し、直流電力に変換して切換回路331に供給する。
The UPS 11 supplies power to the server device 21.
The power supply circuit 311 includes a power input terminal that can be connected to an external power supply, a surge protector, a transformer, and a rectifier (AD converter). In this embodiment, the power supply circuit 311 is connected to the commercial power supply 901, removes a surge from the AC power supplied from the commercial power supply 901, and transforms the voltage to a voltage according to the specifications of the internal power supply circuit 341. Then, it is converted into DC power and supplied to the switching circuit 331.
Similarly, the power supply circuit 321 includes a power input terminal that can be connected to an external power supply, a surge protector, a transformer, and a rectifier. In the present embodiment, the power supply circuit 321 is connected to the private power generator 902, removes a surge from the alternating current power supplied from the private power generator 902, converts it to direct current power, and supplies it to the switching circuit 331.

電圧センサ312、322は、それぞれ電源回路311、321の出力電圧値を随時測定する。
切換回路331は、切換スイッチを具備し、電源回路311または321のいずれかから出力される電力を内部電源回路341に出力する。具体的には、電圧センサ312が測定する電圧値に基づいて電源回路311から電力が出力されているか否かを判定し、電力が出力されていると判定すると切換スイッチを電源回路311側に接続し、電源回路311から出力される電力を内部電源回路341に出力する。一方、電源回路311から電量が出力されていないと判定すると切換スイッチを電源回路321側に接続し、電源回路312から電力が出力されているときは当該電力を内部電源回路341に出力する。
The voltage sensors 312 and 322 measure the output voltage values of the power supply circuits 311 and 321 as needed.
The changeover circuit 331 includes a changeover switch, and outputs electric power output from either the power supply circuit 311 or 321 to the internal power supply circuit 341. Specifically, it is determined whether or not power is output from the power supply circuit 311 based on the voltage value measured by the voltage sensor 312. If it is determined that power is output, the changeover switch is connected to the power supply circuit 311 side. The power output from the power supply circuit 311 is output to the internal power supply circuit 341. On the other hand, when it is determined that no power is output from the power supply circuit 311, the changeover switch is connected to the power supply circuit 321 side, and when power is output from the power supply circuit 312, the power is output to the internal power supply circuit 341.

内部電源回路341は、二次電池を具備し、切換回路331からの電力線が当該二次電池に接続され、また、当該二次電池から電力出力回路342に電力線が接続されている。
これにより、切換回路331から電力が出力されているときは、当該電力により二次電池を充電しつつ、切換回路331からの電力を電力出力回路342に出力する。一方、切換回路331から電力が出力されていないときは、二次電池に蓄積された電力を電力出力回路342に出力する。
電力出力回路342は、インバータ(DAコンバータ)と、変圧器と、外部装置に接続可能な電源出力端子とを具備し、内部電源回路341から出力される直流電力を交流電力に変換し、UPS11の定格出力電圧に変圧して出力する。
The internal power supply circuit 341 includes a secondary battery, the power line from the switching circuit 331 is connected to the secondary battery, and the power line is connected from the secondary battery to the power output circuit 342.
As a result, when power is output from the switching circuit 331, the power from the switching circuit 331 is output to the power output circuit 342 while charging the secondary battery with the power. On the other hand, when no power is output from the switching circuit 331, the power stored in the secondary battery is output to the power output circuit 342.
The power output circuit 342 includes an inverter (DA converter), a transformer, and a power supply output terminal that can be connected to an external device. The power output circuit 342 converts the DC power output from the internal power supply circuit 341 into AC power. Transform to the rated output voltage and output.

記憶装置371は、プロセッサ361が実行するプログラムを記憶する。また、記憶装置371は、プロセッサ361のワーキングメモリとして機能する。
プロセッサ361は、記憶装置371からプログラムを読み出して実行することにより、UPS11に接続される装置(本実施形態ではサーバ装置21)に送信する信号を生成する。
The storage device 371 stores a program executed by the processor 361. The storage device 371 functions as a working memory for the processor 361.
The processor 361 generates a signal to be transmitted to a device (the server device 21 in this embodiment) connected to the UPS 11 by reading and executing a program from the storage device 371.

通信回路381は、UPS11に接続される装置の通信回路(本実施形態では通信回路481)との間で通信を行う。通信回路381と、相手方の通信回路との間の通信方式には様々なものを用いることができる。例えば、イーサネット(登録商標)によるLAN(Local Area Network)を通じて通信を行ってもよいし、あるいは、IC(Inter-Integrated Circuit)またはRS−232C(EIAによるRecommended Standard 232 version C)など、他の通信方式により通信を行ってもよい。
BMC491は、サーバ装置21の各部の状態監視および制御を行うコントローラチップである。
The communication circuit 381 performs communication with a communication circuit (a communication circuit 481 in this embodiment) of a device connected to the UPS 11. Various communication methods can be used between the communication circuit 381 and the communication circuit of the other party. For example, communication may be performed through a LAN (Local Area Network) based on Ethernet (registered trademark), or other such as I 2 C (Inter-Integrated Circuit) or RS-232C (Recommended Standard 232 version C by EIA). Communication may be performed by the communication method.
The BMC 491 is a controller chip that performs state monitoring and control of each unit of the server device 21.

なお、本発明の適用範囲は図1に示すオンライン型のUPS(内部電源経由で電力を供給するUPS)に限らず、オフライン型のUPS(切換スイッチにより外部電源と内部電源とを切り換えて電力を供給するUPS)など、様々なタイプのUPSに適用可能である。   The application range of the present invention is not limited to the online type UPS (UPS that supplies power via an internal power source) shown in FIG. It can be applied to various types of UPS such as a UPS to be supplied.

サーバ装置21は、UPS11から供給される電力により稼動して、様々なアプリケーションを実行する。
電源回路411は、外部電源に接続可能な電源入力端子と、変圧器と、整流器とを具備する。本実施形態では電源回路411はUPS11の電力出力回路342に接続され、UPS11から供給される電力を変圧し、直流電力に変換してサーバ装置21の各部に供給する。
電力センサ412は、電源回路411が出力する電力を随時測定する。
The server device 21 is operated by the power supplied from the UPS 11 and executes various applications.
The power supply circuit 411 includes a power input terminal that can be connected to an external power supply, a transformer, and a rectifier. In this embodiment, the power supply circuit 411 is connected to the power output circuit 342 of the UPS 11, transforms the power supplied from the UPS 11, converts it into DC power, and supplies it to each part of the server device 21.
The power sensor 412 measures the power output from the power supply circuit 411 as needed.

記憶装置471は、CPU461が実行するプログラムや、後述する1つのOSのシャットダウンに要する時間を記憶する。また、記憶装置471は、CPU461のワーキングメモリとして機能する。
CPU461は、記憶装置471からプログラムを読み出して実行することにより、様々なアプリケーションを実行する。
通信回路481は、他の装置の通信回路(本実施形態では通信回路381)との間で通信を行う。
The storage device 471 stores a program executed by the CPU 461 and a time required for shutting down one OS described later. The storage device 471 functions as a working memory for the CPU 461.
The CPU 461 executes various applications by reading out and executing the program from the storage device 471.
The communication circuit 481 performs communication with a communication circuit (communication circuit 381 in this embodiment) of another device.

図2は、情報処理システム1の機能ブロック構成の概略を示すブロック構成図である。同図において、UPS11は、電源部(第1電源部)111と、電源部121と、電圧センサ部112および122と、電源切換部131と、内部電源部141と、電源出力部142と、UPS処理部161と、記憶部171と、通信部(シャットダウン関連情報取得部)181とを具備する。UPS処理部161は、停電判定部162と、タイミング決定部163と、シャットダウン信号出力部164とを具備する。サーバ装置21は、電源部(第2電源部)211と、消費電力取得部212と、サーバ処理部261と、記憶部271と、通信部281と、ベースボードマネージメントコントロール部(消費電力モード設定部)291とを具備する。サーバ処理部261は、シャットダウン時間取得部262と、シャットダウン実行部263と、ゲストOS(Operating System)269−1〜269−n(nは正整数)とを具備する。記憶部271は、シャットダウン時間記憶部272を具備する。   FIG. 2 is a block configuration diagram illustrating an outline of a functional block configuration of the information processing system 1. In the figure, a UPS 11 includes a power supply unit (first power supply unit) 111, a power supply unit 121, voltage sensor units 112 and 122, a power supply switching unit 131, an internal power supply unit 141, a power supply output unit 142, and a UPS. A processing unit 161, a storage unit 171, and a communication unit (shutdown related information acquisition unit) 181 are provided. The UPS processing unit 161 includes a power failure determination unit 162, a timing determination unit 163, and a shutdown signal output unit 164. The server device 21 includes a power supply unit (second power supply unit) 211, a power consumption acquisition unit 212, a server processing unit 261, a storage unit 271, a communication unit 281, and a baseboard management control unit (power consumption mode setting unit). ) 291. The server processing unit 261 includes a shutdown time acquisition unit 262, a shutdown execution unit 263, and guest OSs (Operating Systems) 269-1 to 269-n (n is a positive integer). The storage unit 271 includes a shutdown time storage unit 272.

図1と同様、図2の実線は電力の経路を示し、破線は信号の経路を示す。また、図1と同様、図2において、内部電源回路341からUPS11の各部に供給される電力、および、電源回路411からサーバ装置21の各部に供給される電力については図示を省略している。   As in FIG. 1, the solid line in FIG. 2 indicates the power path, and the broken line indicates the signal path. As in FIG. 1, in FIG. 2, the power supplied from the internal power supply circuit 341 to each part of the UPS 11 and the power supplied from the power supply circuit 411 to each part of the server device 21 are not shown.

電源部111は、電源回路311によって実現され、商用電源901から供給される電力を電源切換部131に供給する。電源部121は、電源回路321によって実現され、自家発電装置902から供給される電力を電源切換部131に供給する。
電圧センサ部112、122は、それぞれ電圧センサ312、322によって実現され、それぞれ電源部111、121の出力電圧値を随時測定する。
電源切換部131は、切換回路331によって実現され、電源部111または121のいずれかから出力される電力を内部電源部141に出力する。
The power supply unit 111 is realized by the power supply circuit 311, and supplies the power supplied from the commercial power supply 901 to the power supply switching unit 131. The power supply unit 121 is realized by the power supply circuit 321 and supplies the power supplied from the private power generation device 902 to the power supply switching unit 131.
The voltage sensor units 112 and 122 are realized by voltage sensors 312 and 322, respectively, and measure output voltage values of the power source units 111 and 121 as needed.
The power supply switching unit 131 is realized by the switching circuit 331 and outputs power output from either the power supply unit 111 or 121 to the internal power supply unit 141.

内部電源部141は、内部電源回路341によって実現され、電源切換部131から出力される電力または内蔵する二次電池(内部電源回路341が具備する二次電池)から出力される電力を、電源出力部142に出力する。
電源出力部142は、電力出力回路342によって実現され、内部電源部141から出力される電力を出力する。すなわち、電源出力部142は、電源部111に入力される電力または電源部121に入力される電力または内部電源部141から出力される電力を出力する。
The internal power supply unit 141 is realized by the internal power supply circuit 341, and uses the power output from the power supply switching unit 131 or the power output from the built-in secondary battery (the secondary battery included in the internal power supply circuit 341) as a power output. Output to the unit 142.
The power output unit 142 is realized by the power output circuit 342 and outputs the power output from the internal power supply unit 141. That is, the power output unit 142 outputs the power input to the power supply unit 111, the power input to the power supply unit 121, or the power output from the internal power supply unit 141.

記憶部171は、記憶装置371によって実現され、プロセッサ361が実行するプログラムを記憶し、また、UPS処理部161のワーキングメモリとして機能する。
UPS処理部161は、プロセッサ361が記憶装置371からプログラムを読み出して実行することによって実現される。
The storage unit 171 is realized by the storage device 371, stores a program executed by the processor 361, and functions as a working memory of the UPS processing unit 161.
The UPS processing unit 161 is realized by the processor 361 reading a program from the storage device 371 and executing it.

停電判定部162は、電圧センサ部112が測定する電源部111の電圧値に基づいて、電源部111への電力の入力の有無を判定し、入力無しと判定すると、停電中であることを示す停電信号を、通信部181に出力する。
タイミング決定部163は、内部電源部141の(二次電池の)充電残量と、通信部181がサーバ装置21から取得する、サーバ装置21のシャットダウンに必要な時間および電力の指標値を示す指標値信号とに基づいて、サーバ装置21のシャットダウン処理開始タイミングを決定する。
シャットダウン信号出力部164は、タイミング決定部163が決定したシャットダウン処理開始タイミングが到来したか否かを判定し、到来したと判定すると、シャットダウンを指示するシャットダウン信号を、通信部181に出力する。
Based on the voltage value of the power supply unit 111 measured by the voltage sensor unit 112, the power failure determination unit 162 determines the presence or absence of power input to the power supply unit 111. A power failure signal is output to the communication unit 181.
The timing determination unit 163 is an index indicating the remaining charge amount (of the secondary battery) of the internal power supply unit 141 and the index value of the time and power required for the shutdown of the server device 21 acquired from the server device 21 by the communication unit 181. Based on the value signal, the shutdown processing start timing of the server device 21 is determined.
The shutdown signal output unit 164 determines whether or not the shutdown processing start timing determined by the timing determination unit 163 has arrived, and when determining that it has arrived, outputs a shutdown signal instructing shutdown to the communication unit 181.

通信部181は、通信回路381によって実現され、サーバ装置21の通信部281と通信を行う。特に、通信部181は、停電判定部162から出力される停電信号と、シャットダウン信号出力部164から出力されるシャットダウン信号とを通信部281に送信し、通信部281から送信される指標値信号を受信してタイミング決定部163に出力する。   The communication unit 181 is realized by the communication circuit 381 and communicates with the communication unit 281 of the server device 21. In particular, the communication unit 181 transmits the power failure signal output from the power failure determination unit 162 and the shutdown signal output from the shutdown signal output unit 164 to the communication unit 281, and the index value signal transmitted from the communication unit 281 is transmitted. Received and output to the timing determination unit 163.

電源部211は、電源回路411によって実現され、電源出力部142から出力される電力の入力を受けてサーバ装置21の各部に電力を供給する。
消費電力取得部212は、電力センサ412によって実現され、サーバ装置21の消費電力として、電源部211の出力電力値、すなわち電源回路411の出力電力値を随時取得(測定)する。
The power supply unit 211 is realized by the power supply circuit 411 and receives power input from the power supply output unit 142 to supply power to each unit of the server device 21.
The power consumption acquisition unit 212 is realized by the power sensor 412, and acquires (measures) the output power value of the power supply unit 211, that is, the output power value of the power supply circuit 411, as the power consumption of the server device 21 as needed.

記憶部271は、記憶装置471によって実現され、CPU461が実行するプログラムや、後述する1つのOSのシャットダウンに要する時間を記憶し、また、サーバ処理部261のワーキングメモリとして機能する。
サーバ処理部261は、CPU461が記憶装置471からプログラムを読み出して実行することによって実現される。
The storage unit 271 is realized by the storage device 471, stores a program executed by the CPU 461, a time required for shutting down one OS described later, and functions as a working memory of the server processing unit 261.
The server processing unit 261 is realized by the CPU 461 reading out a program from the storage device 471 and executing it.

シャットダウン時間取得部262は、停電判定部162から出力された停電信号を、通信部181および通信部281を介して受け、サーバ装置21の処理実行状況に基づいてサーバ装置21のシャットダウンに必要な時間(シャットダウンを開始してから、サーバ装置21の電源を切れる状態となるまでに必要な時間)を求め、得られたサーバ装置21のシャットダウンに必要な時間を示す信号を通信部281に出力する。
シャットダウン実行部263は、シャットダウン信号出力部164から出力されるシャットダウン信号に基づいてサーバ装置21をシャットダウンする。
The shutdown time acquisition unit 262 receives the power failure signal output from the power failure determination unit 162 via the communication unit 181 and the communication unit 281, and the time required for the server device 21 to shut down based on the processing execution status of the server device 21 (Time required from when shutdown is started until the server device 21 can be turned off) is obtained, and a signal indicating the time required for shutdown of the obtained server device 21 is output to the communication unit 281.
The shutdown execution unit 263 shuts down the server device 21 based on the shutdown signal output from the shutdown signal output unit 164.

ゲストOS269−1〜269−nは、互いに独立したOSとして動作することにより、n台の仮想マシンとして動作する。
ここで、ゲストOS269−1〜269−nを含む、サーバ処理部261の各部の処理は、CPU461による時分割処理にて逐次実行される。そして、サーバ装置21をシャットダウンする際のゲストOS269−1〜269−nのシャットダウン処理も、逐次実行により処理される。このため、サーバ装置21のシャットダウンに必要な時間は、サーバ装置21にて稼働中の仮想マシンの構成、具体的にはゲストOS269−1〜269−nの種類および数によって異なる。
The guest OSs 269-1 to 269-n operate as n virtual machines by operating as independent OSs.
Here, the processing of each unit of the server processing unit 261 including the guest OSs 269-1 to 269-n is sequentially executed by time division processing by the CPU 461. The shutdown processing of the guest OSs 269-1 to 269-n when the server device 21 is shut down is also processed by sequential execution. For this reason, the time required for shutting down the server device 21 varies depending on the configuration of the virtual machine running on the server device 21, specifically, the type and number of the guest OSs 269-1 to 269-n.

ベースボードマネージメントコントロール部(以下、「BMC部」と称する)291は、BMC491によって実現され、サーバ装置21の各部の監視および制御を行う。特に、BMC部291は、停電判定部162から出力された停電信号を、通信部181および通信部281を介して受け、サーバ装置21の消費電力モードを省電力モードに設定し、消費電力を抑えるようサーバ装置21の各部を制御する。また、BMC部291は、停電信号の入力を受けると、消費電力取得部212が測定するサーバ装置21の消費電力を示す信号を通信部281に出力する。   A baseboard management control unit (hereinafter referred to as “BMC unit”) 291 is realized by the BMC 491 and monitors and controls each unit of the server device 21. In particular, the BMC unit 291 receives the power failure signal output from the power failure determination unit 162 via the communication unit 181 and the communication unit 281, sets the power consumption mode of the server device 21 to the power saving mode, and suppresses power consumption. Each part of the server device 21 is controlled. In addition, when receiving a power failure signal input, the BMC unit 291 outputs a signal indicating the power consumption of the server device 21 measured by the power consumption acquisition unit 212 to the communication unit 281.

また、BMC部291は、自家発電装置の使用の有無の設定を予め受け付ける。自家発電装置を使用しない設定がなされている場合、BMC部291は、停電時に、停電中であることを示す停電信号をサーバ処理部262に出力する。この停電信号により、サーバ処理部26から、サーバ装置21のシャットダウン処理に必要な情報が出力される。
一方、自家発電装置を使用する設定がなされている場合、BMC部291は、停電時に、停電信号を出力しない。これにより、サーバ装置21はシャットダウンせずに電力回復を待ち受ける。
In addition, the BMC unit 291 accepts in advance settings for whether or not the private power generator is used. When the setting not to use the private power generator is made, the BMC unit 291 outputs a power failure signal indicating that a power failure is occurring to the server processing unit 262 at the time of a power failure. With this power failure signal, the server processing unit 26 outputs information necessary for the shutdown process of the server device 21.
On the other hand, when the setting to use the private power generator is made, the BMC unit 291 does not output a power failure signal during a power failure. As a result, the server device 21 waits for power recovery without shutting down.

ここで、シャットダウン時間取得部262とBMC部291とを併せてシャットダウン関連情報生成部を構成する。すなわち、シャットダウン時間取得部262が出力する、サーバ装置21のシャットダウンに必要な時間を示す信号と、BMC部291が出力する、サーバ装置21の消費電力を示す信号とを併せて、サーバ装置21のシャットダウンに必要な時間および電力の指標値を示す指標値信号を構成する。
なお、指標値信号は、サーバ装置21のシャットダウンに必要な時間を示す信号と、サーバ装置21の消費電力を示す信号とを併せたものに限らない。例えば、サーバ処理部261が、サーバ装置21のシャットダウンに必要な時間と、サーバ装置21の消費電力とを乗算することにより、サーバ装置21のシャットダウンに必要な消費電力量を算出し、算出した消費電力量を示す信号を指標値信号として生成するようにしてもよい。
Here, the shutdown time acquisition unit 262 and the BMC unit 291 together constitute a shutdown related information generation unit. That is, the signal indicating the time required for the shutdown of the server device 21 output from the shutdown time acquisition unit 262 and the signal indicating the power consumption of the server device 21 output from the BMC unit 291 are combined. An index value signal indicating an index value of time and power required for shutdown is configured.
The index value signal is not limited to a combination of a signal indicating the time required for shutting down the server device 21 and a signal indicating the power consumption of the server device 21. For example, the server processing unit 261 calculates the power consumption required for the shutdown of the server device 21 by multiplying the time required for the shutdown of the server device 21 by the power consumption of the server device 21, and the calculated consumption A signal indicating the electric energy may be generated as an index value signal.

なお、本発明の適用範囲は、図2に示したアプリケーションレベルの仮想化(ホストOS上のアプリケーションとしてゲストOSが実行される仮想化)に限らない。ホストOSを必要としない完全仮想化や、ゲストOS(擬似仮想OS)とホストOSとが並存する擬似仮想化など、仮想マシンの構成によってシャットダウンに要する時間が変化する様々な仮想化に適用可能である。   The application range of the present invention is not limited to the application level virtualization (virtualization in which the guest OS is executed as an application on the host OS) shown in FIG. It can be applied to various types of virtualization in which the time required for shutdown varies depending on the configuration of the virtual machine, such as complete virtualization that does not require a host OS, or pseudo-virtualization in which a guest OS (pseudo virtual OS) and a host OS coexist is there.

次に、図3を参照して、シャットダウン時間記憶部272が記憶するシャットダウン時間について説明する。
図3は、シャットダウン時間記憶部272が記憶するシャットダウン時間の例を示す図である。同図に示すように、シャットダウン時間記憶部272は、サーバ装置21のシャットダウンに必要な時間を表形式にて記憶しており、表の各行は、サーバ装置21にて稼働中の仮想マシンの構成と、当該構成の場合にサーバ装置21のシャットダウンに必要な時間とを示す。
Next, the shutdown time stored in the shutdown time storage unit 272 will be described with reference to FIG.
FIG. 3 is a diagram illustrating an example of the shutdown time stored in the shutdown time storage unit 272. As shown in the figure, the shutdown time storage unit 272 stores the time required for the shutdown of the server device 21 in a table format, and each row of the table indicates the configuration of the virtual machine operating on the server device 21. And the time required for shutting down the server device 21 in the case of the configuration.

例えば、行L1は、ゲストOSとして種類AのOSを1つ実行中の場合、すなわち、サーバ装置21にて、種類AのOSを用いる仮想マシン1台のみが稼働中の場合、サーバ装置21のシャットダウンに必要な時間が66秒であることを示す。
また、行L2は、ゲストOSとして種類AのOSを1つと、種類BのOSを1つ実行中の場合、すなわち、サーバ装置21にて、種類AのOSを用いる仮想マシン1台と、種類BのOSを用いる仮想マシン1台とが稼働中の場合、サーバ装置21のシャットダウンに必要な時間が112秒であることを示す。
For example, the row L1 indicates that when one type A OS is being executed as the guest OS, that is, when only one virtual machine using the type A OS is operating in the server device 21, the server device 21 Indicates that the time required for shutdown is 66 seconds.
The row L2 indicates that when one type A OS and one type B OS are being executed as the guest OS, that is, one virtual machine using the type A OS on the server device 21 and the type When one virtual machine using the OS of B is operating, it indicates that the time required for shutting down the server apparatus 21 is 112 seconds.

同様に、行Li1は、種類AのOSを用いる仮想マシン2台が稼働中の場合、サーバ装置21のシャットダウンに必要な時間が98秒であることを示し、行Li2は、種類AのOSを用いる仮想マシン2台と、種類BのOSを用いる仮想マシン1台とが稼働中の場合、サーバ装置21のシャットダウンに必要な時間が144秒であることを示す。
このように、シャットダウン時間記憶部272は、サーバ装置21にて稼働中の仮想マシンの構成毎に予め測定されたシャットダウンに必要な時間を、当該構成と対応付けて予め記憶している。
Similarly, the row Li1 indicates that the time required for the server apparatus 21 to shut down is 98 seconds when two virtual machines using the type A OS are operating, and the row Li2 indicates the type A OS. When two virtual machines to be used and one virtual machine using the type B OS are operating, it indicates that the time required for the server apparatus 21 to shut down is 144 seconds.
As described above, the shutdown time storage unit 272 stores in advance the time required for shutdown measured in advance for each configuration of the virtual machine running on the server device 21 in association with the configuration.

なお、稼働中の仮想マシンの構成が同一であっても、実行中のアプリケーション等の条件によってサーバ装置21のシャットダウンに必要な時間が異なることが考えられる。そこで、例えば、シャットダウンに要する時間の実測値を1.2倍した値など、実測値に余裕を持たせた値を、予め測定されたシャットダウンに必要な時間として、シャットダウン時間記憶部272が予め記憶しておく。   Even when the configuration of the operating virtual machine is the same, the time required for shutting down the server device 21 may differ depending on the conditions of the application being executed. Therefore, for example, the shutdown time storage unit 272 stores in advance a value obtained by giving a margin to the actual measurement value, such as a value obtained by multiplying the actual measurement value of the time required for shutdown by 1.2, as the time necessary for the shutdown measured in advance. Keep it.

次に図4〜6を参照して、情報処理システム1の動作について説明する。
図4は、自家発電装置902が接続されておらず、かつ、商用電源901が復旧しない場合の情報処理システム1の動作例を示すシーケンス図である。
電圧センサ部112は、電源部111の電圧を随時測定して、UPS処理部161の停電判定部162に出力している。この電圧測定値が予め定められた閾値以下となると(シーケンスS101)、停電判定部162は、電源部111への電力の入力無しと判定して、停電中であることを示す停電信号を、通信部181に出力する。そして、通信部は当該停電信号を通信部281に送信し、通信部281は当該停電信号をBMC部291に出力する(シーケンスS102)。
Next, the operation of the information processing system 1 will be described with reference to FIGS.
FIG. 4 is a sequence diagram illustrating an operation example of the information processing system 1 when the private power generation device 902 is not connected and the commercial power source 901 is not restored.
The voltage sensor unit 112 measures the voltage of the power supply unit 111 as needed and outputs it to the power failure determination unit 162 of the UPS processing unit 161. When this voltage measurement value is equal to or less than a predetermined threshold (sequence S101), power failure determination unit 162 determines that there is no power input to power supply unit 111, and communicates a power failure signal indicating that a power failure is occurring. To the unit 181. Then, the communication unit transmits the power failure signal to the communication unit 281 and the communication unit 281 outputs the power failure signal to the BMC unit 291 (sequence S102).

通信部281から停電信号の出力を受けたBMC部291は、サーバ装置21の消費電力モードを省電力モードに設定し、各部に電力制御開始信号を出力することにより、消費電力を抑えるよう、サーバ処理部261や記憶部271など各部を制御する。また、BMC部291は、通信部181からの停電信号をサーバ処理部261のシャットダウン時間取得部262に出力(転送)する(ステップS103)。
また、消費電力取得部212は、電源部211の出力する電力を随時測定している。通信部181からの停電信号の出力を受けたBMC部291は、この消費電力取得部212が測定する電力値を、サーバ装置21の消費電力値として読み出し(シーケンスS104)、読み出した電力値を示す信号を、通信部281に出力する。そして、通信部281は当該信号を通信部181に送信し、通信部181は当該信号をタイミング決定部163に出力する(シーケンスS105)。
The BMC unit 291 that has received the output of the power failure signal from the communication unit 281 sets the power consumption mode of the server device 21 to the power saving mode, and outputs a power control start signal to each unit so as to suppress power consumption. Each unit such as the processing unit 261 and the storage unit 271 is controlled. Further, the BMC unit 291 outputs (transfers) the power failure signal from the communication unit 181 to the shutdown time acquisition unit 262 of the server processing unit 261 (step S103).
Further, the power consumption acquisition unit 212 measures the power output from the power supply unit 211 as needed. Upon receiving the power failure signal output from the communication unit 181, the BMC unit 291 reads out the power value measured by the power consumption acquisition unit 212 as the power consumption value of the server device 21 (sequence S <b> 104), and indicates the read power value. The signal is output to the communication unit 281. Then, communication unit 281 transmits the signal to communication unit 181, and communication unit 181 outputs the signal to timing determination unit 163 (sequence S105).

なお、BMC部291がサーバ装置21の消費電力値を取得する方法は、上述した電源部211の出力電力測定値を読み出す方法に限らない。例えば、サーバ装置21で稼動中の仮想マシンの構成毎あるいは仮想マシン数毎に、サーバ装置21の消費電力値を予め測定した値を、当該仮想マシンの構成と対応付けて記憶部271が記憶しておくようにしてもよい。この場合、BMC部291は、サーバ装置21で現在稼働中の仮想マシンの構成あるいは仮想マシン数を取得し、当該構成に対応付けられた消費電力値をサーバ装置から読み出すことによりサーバ装置21の消費電力値を取得できる。なお、図4で説明したのと同様、サーバ装置21の消費電力実測値に余裕を持たせた値を、記憶部271が記憶しておくようにしてもよい。
なお、アプリケーションレベルの仮想化の場合、サーバ装置21で現在稼働中の仮想マシンの構成や仮想マシン数は、例えば、稼働中のアプリケーションを監視するプロセスから取得する。
Note that the method by which the BMC unit 291 acquires the power consumption value of the server device 21 is not limited to the method of reading the output power measurement value of the power supply unit 211 described above. For example, the storage unit 271 stores a value obtained by measuring the power consumption value of the server device 21 in advance for each configuration or number of virtual machines running on the server device 21 in association with the configuration of the virtual machine. You may make it leave. In this case, the BMC unit 291 acquires the configuration or the number of virtual machines currently operating on the server device 21, and reads the power consumption value associated with the configuration from the server device, thereby consuming the server device 21. The power value can be acquired. As described with reference to FIG. 4, the storage unit 271 may store a value obtained by providing a margin for the actual power consumption value of the server device 21.
In the case of application level virtualization, the configuration of the virtual machine currently operating on the server device 21 and the number of virtual machines are acquired from, for example, a process for monitoring the operating application.

このように、記憶部271が予め記憶する消費電力値を用いることにより、サーバ装置21が消費電力取得部212を備える必要が無く、装置構成を簡略化できる。一方、消費電力取得部212の測定値を用いることにより、記憶部271が消費電力値を記憶しておく必要が無く、記憶容量を抑制できる。   Thus, by using the power consumption value stored in advance by the storage unit 271, it is not necessary for the server device 21 to include the power consumption acquisition unit 212, and the device configuration can be simplified. On the other hand, by using the measurement value of the power consumption acquisition unit 212, the storage unit 271 does not need to store the power consumption value, and the storage capacity can be suppressed.

また、停電信号の出力を受けたシャットダウン時間取得部262は、サーバ装置21で現在稼働中の仮想マシンの構成を取得し、当該構成に対応付けられた、サーバ装置21のシャットダウンに必要な時間を記憶部271から読み出し、読み出した時間を示す信号を、通信部281および通信部181を介して、UPS処理部161のタイミング決定部163に出力する(シーケンスS106)。   In addition, the shutdown time acquisition unit 262 that has received the output of the power failure signal acquires the configuration of the virtual machine that is currently operating in the server device 21, and sets the time required for the shutdown of the server device 21 associated with the configuration. A signal indicating the time read out from the storage unit 271 is output to the timing determination unit 163 of the UPS processing unit 161 via the communication unit 281 and the communication unit 181 (sequence S106).

サーバ装置21の消費電力値を示す信号と、サーバ装置21のシャットダウンに必要な時間を示す信号との出力を受けたタイミング決定部163は、内部電源部141の充電残量を取得し、これらの値に基づいて、サーバ装置21のシャットダウン処理開始タイミングを決定する。具体的には、例えば、内部電源部141の(二次電池の)様々な電圧値について、かつ、UPS11が出力すべき様々な電力値(本実施形態ではサーバ装置21の消費電力値)について、UPS11が定格電圧を出力可能な残り時間を記憶部171が予め記憶しておく。このUPS11が定格電圧を出力可能な残り時間は、例えば実測により予め求めておく。   The timing determination unit 163 that has received the output of the signal indicating the power consumption value of the server device 21 and the signal indicating the time required for shutting down the server device 21 acquires the remaining charge amount of the internal power supply unit 141, Based on the value, the shutdown processing start timing of the server device 21 is determined. Specifically, for example, regarding various voltage values (of the secondary battery) of the internal power supply unit 141 and various power values to be output by the UPS 11 (power consumption value of the server device 21 in this embodiment), The storage unit 171 stores in advance the remaining time during which the UPS 11 can output the rated voltage. The remaining time during which the UPS 11 can output the rated voltage is obtained in advance by actual measurement, for example.

そして、タイミング決定部163は、内部電源部141の現在の電圧測定値を取得し、この電圧測定値と、サーバ装置21の消費電力とに基づいて、UPS11が定格電圧を出力可能な残り時間を記憶部171から読み出す。そして、タイミング決定部163は、読み出した残り時間から、サーバ装置21のシャットダウンに必要な時間を減算して、サーバ装置21の稼動可能残り時間を算出し、算出した稼動可能残り時間をシャットダウン信号出力部164に出力する。ここで、タイミング決定部163が算出する稼動可能残り時間は、サーバ装置21のシャットダウン処理を開始するまでの残り時間であり、サーバ装置21のシャットダウン処理開始タイミングを示す。すなわち、タイミング決定部163は、サーバ装置21のシャットダウン処理開始タイミングを決定する。   Then, the timing determination unit 163 acquires the current voltage measurement value of the internal power supply unit 141, and based on this voltage measurement value and the power consumption of the server device 21, determines the remaining time during which the UPS 11 can output the rated voltage. Read from the storage unit 171. Then, the timing determination unit 163 subtracts the time necessary for shutting down the server device 21 from the read remaining time, calculates the operable remaining time of the server device 21, and outputs the calculated available remaining time as a shutdown signal. To the unit 164. Here, the operable remaining time calculated by the timing determination unit 163 is the remaining time until the shutdown processing of the server device 21 is started, and indicates the shutdown processing start timing of the server device 21. That is, the timing determination unit 163 determines the shutdown process start timing of the server device 21.

そして、稼動可能残り時間の出力を受けたシャットダウン信号出力部164は、稼動可能残り時間の出力を受けてからの経過時間を測定し、経過時間と稼動可能残り時間とを比較することにより、シャットダウン処理開始タイミングが到来したか否かを判定する。具体的には、シャットダウン信号出力部164は、経過時間が稼動可能残り時間以上となると、シャットダウン処理開始タイミングが到来したと判定する。
そして、シャットダウン処理開始タイミングが到来したと判定すると、シャットダウン信号出力部164は、シャットダウンを指示するシャットダウン信号を、通信部181および通信部281を介してシャットダウン実行部263に出力する(シーケンスS107)。
Then, the shutdown signal output unit 164 that has received the output of the remaining operable time measures the elapsed time after receiving the output of the remaining operable time, and compares the elapsed time with the remaining operable time, thereby shutting down. It is determined whether or not the processing start timing has arrived. Specifically, the shutdown signal output unit 164 determines that the shutdown processing start timing has arrived when the elapsed time is equal to or longer than the remaining operable time.
If it is determined that the shutdown processing start timing has arrived, shutdown signal output unit 164 outputs a shutdown signal for instructing shutdown to shutdown execution unit 263 via communication unit 181 and communication unit 281 (sequence S107).

シャットダウン信号の出力を受けたシャットダウン実行部263は、稼働中の仮想マシン(ゲストOS269−1〜269−n)を順次シャットダウンし、全ての仮想マシンのシャットダウンが完了した後に、サーバ装置21をシャットダウンする。   Upon receiving the output of the shutdown signal, the shutdown execution unit 263 sequentially shuts down the operating virtual machines (guest OSs 269-1 to 269-n), and shuts down the server device 21 after the shutdown of all virtual machines is completed. .

図5は、自家発電装置902が接続されておらず、かつ、商用電源901が復旧する場合の情報処理システム1の動作例を示すシーケンス図である。同図において、図4の処理と同様の処理には同一の符号(S101〜S106)を付し、説明を省略する。
商用電源901が復旧すると、停電判定部162は、電圧センサ部112から出力される電源部111の電圧測定値(シーケンスS211)が所定値以上となったことを検出して、停電終了と判定する。そして、停電判定部162は、停電終了を示す復旧信号をタイミング決定部163に出力する。また、停電判定部162は、復旧信号を、通信部181および通信部281を介してBMC部291に出力する(シーケンスS212)。
FIG. 5 is a sequence diagram illustrating an operation example of the information processing system 1 when the private power generation device 902 is not connected and the commercial power source 901 is restored. In the figure, the same processes as those in FIG. 4 are denoted by the same reference numerals (S101 to S106), and the description thereof is omitted.
When the commercial power supply 901 is restored, the power failure determination unit 162 detects that the voltage measurement value (sequence S211) of the power supply unit 111 output from the voltage sensor unit 112 is equal to or greater than a predetermined value, and determines that the power failure has ended. . Then, the power failure determination unit 162 outputs a recovery signal indicating the end of the power failure to the timing determination unit 163. Further, the power failure determination unit 162 outputs a recovery signal to the BMC unit 291 via the communication unit 181 and the communication unit 281 (sequence S212).

復旧信号の出力を受けたタイミング決定部163は、サーバ装置21の稼動可能残り時間を未だシャットダウン信号出力部164に出力していない場合は、当該稼動可能残り時間をシャットダウン信号出力部164に出力せずに稼動可能残り時間の算出を終了する。一方、サーバ装置21の稼動可能残り時間を既にシャットダウン信号出力部164に出力している場合は、タイミング決定部163は、復旧信号をシャットダウン信号出力部164に出力(転送)する。
そして、復旧信号の出力を受けたシャットダウン信号出力部164は、シャットダウン信号の出力を行わずにシャットダウン処理開始タイミングが到来したか否かの判定を終了する。
これにより、図4の場合と異なり、図5では、UPS11からサーバ装置21へシャットダウン信号が送信されず、サーバ装置21はシャットダウンしない。
The timing determination unit 163 that has received the output of the recovery signal outputs the remaining operable time to the shutdown signal output unit 164 when the remaining operable time of the server device 21 has not yet been output to the shutdown signal output unit 164. The calculation of the remaining operation time is finished. On the other hand, when the remaining operable time of the server device 21 has already been output to the shutdown signal output unit 164, the timing determination unit 163 outputs (transfers) the recovery signal to the shutdown signal output unit 164.
Then, the shutdown signal output unit 164 that has received the output of the recovery signal ends the determination of whether or not the shutdown process start timing has arrived without outputting the shutdown signal.
Accordingly, unlike FIG. 4, in FIG. 5, the shutdown signal is not transmitted from the UPS 11 to the server device 21, and the server device 21 is not shut down.

また、停電判定部162から出力された復旧信号を受けたBMC部291は、サーバ装置21の消費電力モードを通常モードに設定し、各部に電力制御終了信号を出力することにより、消費電力を抑える制御を解除する。
以上により、サーバ装置21は通常時の動作に復旧する。
In addition, the BMC unit 291 that has received the recovery signal output from the power failure determination unit 162 sets the power consumption mode of the server device 21 to the normal mode, and suppresses power consumption by outputting a power control end signal to each unit. Release control.
As described above, the server device 21 is restored to the normal operation.

図6は、自家発電装置902が接続されている場合の情報処理システム1の動作例を示すシーケンス図である。同図において、図4の処理と同様の処理には同一の符号(S101〜S103)を付し、説明を省略する。
上述したように、サーバ装置21のBMC部291は、自家発電装置の有無の設定を受け付ける。自家発電装置を使用しない設定がなされている場合、情報処理システム1は、図4および図5に例示した動作を行う。一方、自家発電装置を使用する設定がなされている場合、情報処理システム1は、図6に例示する動作を行う。
停電判定部162から出力された停電信号を受けたBMC部291は、図4の場合と同様、サーバ装置21の消費電力モードを省電力モードに設定し、各部に電力制御開始信号を出力することにより、消費電力を抑えるよう各部を制御する(ステップS102)。
一方、BMC部291は、図4の場合と異なり、停電信号の出力およびサーバ装置21の消費電力の出力を行わない。これにより、シャットダウン時間取得部262は、サーバ装置21のシャットダウン処理に必要な時間の取得および信号の送信を行わず、UPS処理部161も、サーバ装置21のシャットダウン処理タイミングの決定やシャットダウン信号の出力を行わない。
FIG. 6 is a sequence diagram illustrating an operation example of the information processing system 1 when the private power generation device 902 is connected. In this figure, the same processes (S101 to S103) are assigned to the processes similar to those in FIG.
As described above, the BMC unit 291 of the server device 21 accepts the setting of the presence or absence of the private power generation device. When the setting for not using the private power generation apparatus is made, the information processing system 1 performs the operation illustrated in FIGS. 4 and 5. On the other hand, when the setting to use the private power generator is made, the information processing system 1 performs the operation illustrated in FIG.
The BMC unit 291 that has received the power failure signal output from the power failure determination unit 162 sets the power consumption mode of the server device 21 to the power saving mode and outputs a power control start signal to each unit, as in FIG. Thus, each unit is controlled to suppress power consumption (step S102).
On the other hand, unlike the case of FIG. 4, the BMC unit 291 does not output the power failure signal and the power consumption of the server device 21. Thereby, the shutdown time acquisition unit 262 does not acquire the time necessary for the shutdown process of the server device 21 and does not transmit a signal, and the UPS processing unit 161 also determines the shutdown process timing of the server device 21 and outputs the shutdown signal. Do not do.

そして、自家発電装置902が起動して電源部121に電力が入力されると、停電判定部162は、電圧センサ部122から出力される電源部121の電圧測定値(シーケンスS311)が所定値以上となったことを検出して、自家発電装置起動と判定する。そして、停電判定部162は、復旧信号を、通信部181および通信部281を介してBMC部291に出力する(シーケンスS312)。
停電判定部162から出力された復旧信号を受けたBMC部291は、サーバ装置21の消費電力モードを通常モードに設定し、各部に電力制御終了信号を出力することにより、消費電力を抑える制御を解除する。
Then, when private power generation device 902 is activated and power is input to power supply unit 121, power failure determination unit 162 determines that the voltage measurement value (sequence S311) of power supply unit 121 output from voltage sensor unit 122 is equal to or greater than a predetermined value. It is determined that the private power generator is activated. Then, power failure determination unit 162 outputs a recovery signal to BMC unit 291 via communication unit 181 and communication unit 281 (sequence S312).
The BMC unit 291 that has received the recovery signal output from the power failure determination unit 162 sets the power consumption mode of the server device 21 to the normal mode, and outputs a power control end signal to each unit, thereby controlling power consumption. To release.

以上により、サーバ装置21は通常時の動作に復旧する。
このように、BMC部291が、自家発電装置の有無の設定を受け付け、自家発電装置の有無に応じた処理を行うことで、自家発電装置を使用する場合の情報処理システム1の処理量を削減できる。
As described above, the server device 21 is restored to the normal operation.
As described above, the BMC unit 291 receives the setting of the presence or absence of the private power generation device, and performs the process according to the presence or absence of the private power generation device, thereby reducing the processing amount of the information processing system 1 when using the private power generation device. it can.

なお、以上では、サーバ装置21が仮想化対応サーバ装置であり、サーバ装置21にて稼働中の仮想マシンの構成に基づいてサーバ装置21のシャットダウンに必要な時間を求める場合を例に説明したが、本発明の適用範囲はこれに限らない。例えば、サーバ装置21が文書作成ツールや作画ツールなど、データの保存を必要とするアプリケーションを実行しているか場合、データの保存に必要な時間によってサーバ装置21のシャットダウンに必要な時間が増加することが考えられる。そこで、シャットダウン時間取得部262が、サーバ装置21が実行中のアプリケーションの種類や数に基づいてサーバ装置21のシャットダウンに必要な時間を求め、求めた時間に従って、タイミング決定部163が、サーバ装置21のシャットダウン処理開始タイミングを決定する(稼動可能残り時間を算出する)ようにしてもよい。   In the above description, the server apparatus 21 is a virtualization-compatible server apparatus, and an example has been described in which the time required for shutting down the server apparatus 21 is obtained based on the configuration of a virtual machine running on the server apparatus 21. The scope of application of the present invention is not limited to this. For example, if the server device 21 is executing an application that requires data storage, such as a document creation tool or a drawing tool, the time required for shutting down the server device 21 increases depending on the time required for data storage. Can be considered. Therefore, the shutdown time acquisition unit 262 obtains the time required for shutting down the server device 21 based on the type and number of applications being executed by the server device 21, and the timing determination unit 163 determines the server device 21 according to the obtained time. The shutdown processing start timing may be determined (operable remaining time is calculated).

以上のように、シャットダウン時間取得部262がサーバ装置21の処理実行状況(仮想マシンの構成や、実行中のアプリケーションの種類や数など)に基づいてサーバ装置21のシャットダウンに必要な時間を求めるので、シャットダウンに必要な時間を適切に把握でき、適切にシャットダウン処理を行うことができる。具体的には、シャットダウンに必要な時間を必要以上に長く設定してサーバ装置21が稼動可能な時間を短くしてしまうことを回避できる。   As described above, the shutdown time acquisition unit 262 obtains the time required for the server apparatus 21 to shut down based on the processing execution status of the server apparatus 21 (virtual machine configuration, type and number of applications being executed, etc.). Therefore, it is possible to properly grasp the time required for the shutdown and appropriately perform the shutdown process. Specifically, it is possible to avoid shortening the time during which the server device 21 can be operated by setting the time required for shutdown longer than necessary.

また、シャットダウン時間記憶部272が、サーバ装置21にて稼働中の仮想マシンの構成毎に、予め測定されたシャットダウンに必要な時間を当該構成と対応付けて記憶しているので、シャットダウン時間取得部262がシャットダウンに必要な時間を算出する必要が無く、演算量を抑えることができる。
なお、シャットダウン時間取得部262がシャットダウンに必要な時間を求める方法は、このシャットダウン時間記憶部272がシャットダウンに必要な時間を予め記憶しておく方法に限らない。例えば、サーバ装置21で稼働中の仮想マシンの台数に所定時間(例えば40秒)を乗じてシャットダウンに必要な時間を算出するようにしてもよい。この場合、シャットダウン時間記憶部272がシャットダウンに必要な時間を記憶する必要が無く、必要な記憶容量を削減できる。
Further, since the shutdown time storage unit 272 stores the time required for shutdown measured in advance for each configuration of the virtual machine running on the server device 21 in association with the configuration, the shutdown time acquisition unit It is not necessary for 262 to calculate the time required for shutdown, and the amount of calculation can be suppressed.
Note that the method for obtaining the time required for the shutdown by the shutdown time acquisition unit 262 is not limited to the method in which the shutdown time storage unit 272 stores the time required for the shutdown in advance. For example, the time required for shutdown may be calculated by multiplying the number of virtual machines running on the server device 21 by a predetermined time (for example, 40 seconds). In this case, it is not necessary for the shutdown time storage unit 272 to store the time required for shutdown, and the required storage capacity can be reduced.

また、BMC部291がサーバ装置21を省電力モードに設定し、省電力モードにおけるサーバ装置21の消費電力に基づいてサーバ装置21のシャットダウン処理開始タイミングを決定するので、UPS11に必要な容量を、より小さくすることができ、UPSを導入する際の費用を抑えることができる。あるいは、サーバ装置21を省電力モードに設定しない場合よりも、サーバ装置21が稼動可能な時間を長くすることができる。   Further, the BMC unit 291 sets the server device 21 in the power saving mode, and determines the shutdown processing start timing of the server device 21 based on the power consumption of the server device 21 in the power saving mode. The cost can be reduced when introducing the UPS. Alternatively, the time during which the server device 21 can operate can be made longer than when the server device 21 is not set to the power saving mode.

なお、上述したように、UPS処理部161およびサーバ処理部261の全部または一部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより各部の処理を行うことができる。ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。
また、「コンピュータシステム」は、WWWシステムを利用している場合であれば、ホームページ提供環境(あるいは表示環境)も含むものとする。
また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムを送信する場合の通信線のように、短時間の間、動的にプログラムを保持するもの、その場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリのように、一定時間プログラムを保持しているものも含むものとする。また上記プログラムは、前述した機能の一部を実現するためのものであっても良く、さらに前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるものであってもよい。
As described above, a program for realizing all or part of the functions of the UPS processing unit 161 and the server processing unit 261 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is recorded. Each part can be processed by being read and executed by a computer system. The “computer system” here includes an OS and hardware such as peripheral devices.
Further, the “computer system” includes a homepage providing environment (or display environment) if a WWW system is used.
The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Furthermore, the “computer-readable recording medium” dynamically holds a program for a short time like a communication line when transmitting a program via a network such as the Internet or a communication line such as a telephone line. In this case, a volatile memory in a computer system serving as a server or a client in that case, and a program that holds a program for a certain period of time are also included. The program may be a program for realizing a part of the functions described above, and may be a program capable of realizing the functions described above in combination with a program already recorded in a computer system.

以上、本発明の実施形態について図面を参照して詳述してきたが、具体的な構成はこの実施形態に限られるものではなく、この発明の要旨を逸脱しない範囲の設計変更等も含まれる。   The embodiment of the present invention has been described in detail with reference to the drawings. However, the specific configuration is not limited to this embodiment, and includes design changes and the like without departing from the gist of the present invention.

1 情報処理システム
11 UPS
111、121、211 電源部
112、122 電圧センサ部
131 電源切換部
141 内部電源部
142 電源出力部142
161 UPS処理部
162 停電判定部
163 タイミング決定部
164 シャットダウン信号出力部
171 記憶部171
181、281 通信部
21 サーバ装置
212 消費電力取得部212
261 サーバ処理部261
262 シャットダウン時間取得部262
263 シャットダウン実行部263
269−1〜269−n ゲストOS
271 記憶部271
272 シャットダウン時間記憶部
291 BMC部
1 Information processing system 11 UPS
111, 121, 211 Power supply unit 112, 122 Voltage sensor unit 131 Power supply switching unit 141 Internal power supply unit 142 Power supply output unit 142
161 UPS processing unit 162 Power failure determination unit 163 Timing determination unit 164 Shutdown signal output unit 171 Storage unit 171
181, 281 Communication unit 21 Server device 212 Power consumption acquisition unit 212
261 Server processing unit 261
262 Shutdown time acquisition unit 262
263 Shutdown execution unit 263
269-1 to 269-n Guest OS
271 storage unit 271
272 Shutdown time storage unit 291 BMC unit

Claims (5)

情報処理装置と、前記情報処理装置に電力を供給する無停電電源装置とを具備する情報処理システムであって、
前記無停電電源装置は、
電力を入力可能な第1電源部と、
充電された電力を出力可能な内部電源部と、
前記第1電源部に入力される電力または前記内部電源部から出力される電力を出力する電力出力部と、
前記第1電源部への電力の入力の有無を判定し、入力無しと判定すると、停電中であることを示す停電信号を出力する停電判定部と、
前記情報処理装置のシャットダウンに必要な時間および電力の指標値を示す指標値信号を取得するシャットダウン関連情報取得部と、
前記内部電源部の充電残量と、前記シャットダウン関連情報取得部が取得する前記指標値信号とに基づいて、前記情報処理装置のシャットダウン処理開始タイミングを決定するタイミング決定部と、
前記タイミング決定部が決定した前記シャットダウン処理開始タイミングが到来したか否かを判定し、到来したと判定すると、シャットダウンを指示するシャットダウン信号を出力するシャットダウン信号出力部と、
を具備し、
前記情報処理装置は仮想化対応サーバ装置であり、
前記電力出力部から出力される電力の入力を受けて前記情報処理装置の各部に電力を供給する第2電源部と、
前記情報処理装置にて稼働中の仮想マシンの構成毎に予め測定された前記シャットダウンに必要な時間を当該構成と対応付けて記憶するシャットダウン時間記憶部と、
前記停電判定部から前記停電信号が出力されると、前記情報処理装置にて稼働中の仮想マシンの構成に基づいて、当該構成に対応付けられた前記シャットダウンに必要な時間を読み出すシャットダウン時間取得部と、
前記情報処理装置の消費電力値を取得する消費電力取得部と、
前記停電判定部から前記停電信号が出力されると、前記シャットダウン時間取得部が読み出す前記シャットダウンに必要な時間と、前記消費電力取得部が取得する前記情報処理装置の消費電力値とに基づいて、前記指標値信号を生成し出力するシャットダウン関連情報生成部と、
前記シャットダウン信号出力部から出力される前記シャットダウン信号に基づいて前記情報処理装置をシャットダウンするシャットダウン実行部と、
を具備することを特徴とする情報処理システム。
An information processing system comprising an information processing device and an uninterruptible power supply for supplying power to the information processing device,
The uninterruptible power supply is
A first power supply unit capable of inputting power;
An internal power supply that can output the charged power;
A power output unit that outputs power input to the first power supply unit or power output from the internal power supply unit;
When determining the presence or absence of input of power to the first power supply unit, and determining that there is no input, a power failure determination unit that outputs a power failure signal indicating that a power failure is occurring,
A shutdown-related information acquisition unit that acquires an index value signal indicating an index value of time and power required for shutdown of the information processing apparatus;
A timing determination unit that determines a shutdown process start timing of the information processing device based on a remaining charge amount of the internal power supply unit and the index value signal acquired by the shutdown related information acquisition unit;
It is determined whether or not the shutdown processing start timing determined by the timing determination unit has arrived, and when determining that it has arrived, a shutdown signal output unit that outputs a shutdown signal instructing shutdown,
Comprising
The information processing apparatus is a virtualization compatible server apparatus,
A second power supply unit that receives power input from the power output unit and supplies power to each unit of the information processing apparatus;
A shutdown time storage unit that stores the time required for the shutdown measured in advance for each configuration of the virtual machine operating in the information processing apparatus in association with the configuration;
When the power failure signal is output from the power failure determination unit, based on the configuration of the virtual machine that is operating in the information processing apparatus, a shutdown time acquisition unit that reads the time required for the shutdown associated with the configuration When,
A power consumption acquisition unit for acquiring a power consumption value of the information processing apparatus;
When the power failure signal is output from the power failure determination unit, based on the time required for the shutdown read by the shutdown time acquisition unit and the power consumption value of the information processing device acquired by the power consumption acquisition unit, A shutdown-related information generating unit that generates and outputs the index value signal;
A shutdown execution unit that shuts down the information processing apparatus based on the shutdown signal output from the shutdown signal output unit;
An information processing system comprising:
前記情報処理装置は、前記停電判定部から前記停電信号が出力されると、前記情報処理装置の消費電力モードを省電力モードに設定する消費電力モード設定部をさらに具備することを特徴とする請求項1に記載の情報処理システム。   The information processing device further includes a power consumption mode setting unit that sets a power consumption mode of the information processing device to a power saving mode when the power failure signal is output from the power failure determination unit. Item 4. The information processing system according to Item 1. 無停電電源装置から電力を供給される情報処理装置のシャットダウンタイミング決定方法であって、
前記情報処理装置は仮想化対応サーバ装置であって、
停電判定部が、外部から前記無停電電源装置への電力の入力の有無を判定する停電判定ステップと、
シャットダウン時間取得部が、前記停電判定ステップにて入力無しと判定されると、前記情報処理装置にて稼働中の仮想マシンの構成に基づいて、当該構成に対応付けられたシャットダウンに必要な時間を、前記情報処理装置にて稼働中の仮想マシンの構成毎に予め測定された前記シャットダウンに必要な時間を当該構成と対応付けて記憶するシャットダウン時間記憶部から読み出すシャットダウン時間取得ステップと、
消費電力取得部が、前記情報処理装置の消費電力値を取得する消費電力取得ステップと、
タイミング決定部が、前記停電判定ステップにて入力無しと判定されると、充電された電力を出力可能な内部電源部の充電残量と、前記消費電力取得ステップにて得られた前記情報処理装置の消費電力値と、前記シャットダウン時間取得ステップにて得られた前記情報処理装置のシャットダウンに必要な時間とに基づいて、前記情報処理装置のシャットダウン処理開始タイミングを決定するタイミング決定ステップと、
前記タイミング決定ステップにて決定された前記シャットダウン処理開始タイミングが到来したか否かを判定するシャットダウンタイミング判定ステップと、
シャットダウン実行部が、前記シャットダウンタイミング判定ステップにて前記シャットダウン処理開始タイミングが到来したと判定されると、前記情報処理装置をシャットダウンするシャットダウン実行ステップと、
を具備することを特徴とするシャットダウンタイミング決定方法。
A method for determining a shutdown timing of an information processing apparatus to which power is supplied from an uninterruptible power supply,
The information processing apparatus is a virtualization compatible server apparatus,
A power failure determination step, wherein the power failure determination unit determines whether or not power is input to the uninterruptible power supply from the outside,
When the shutdown time acquisition unit determines that there is no input in the power failure determination step, based on the configuration of the virtual machine that is operating in the information processing apparatus, the time required for the shutdown associated with the configuration is calculated. A shutdown time acquisition step of reading from a shutdown time storage unit that stores the time required for the shutdown measured in advance for each configuration of the virtual machine operating in the information processing apparatus in association with the configuration;
A power consumption acquisition unit that acquires a power consumption value of the information processing apparatus; and
When the timing determination unit determines that there is no input in the power failure determination step, the remaining amount of charge of the internal power supply unit capable of outputting the charged power, and the information processing device obtained in the power consumption acquisition step A timing determination step for determining a shutdown process start timing of the information processing device based on a power consumption value of the information processing device and a time required for the shutdown of the information processing device obtained in the shutdown time acquisition step;
A shutdown timing determination step for determining whether or not the shutdown processing start timing determined in the timing determination step has arrived;
When the shutdown execution unit determines that the shutdown process start timing has arrived at the shutdown timing determination step, a shutdown execution step of shutting down the information processing device;
A shutdown timing determination method comprising:
無停電電源装置から電力が供給される情報処理装置であって、
前記情報処理装置にて稼働される仮想マシンの構成毎に予め測定された、前記情報処理装置のシャットダウンに必要な時間を、当該構成と対応付けて記憶するシャットダウン時間記憶部と、
前記情報処理装置にて稼働中の仮想マシンの構成に基づいて、当該構成に対応付けられた前記シャットダウンに必要な時間を読み出すシャットダウン時間取得部と、
前記情報処理装置の消費電力値を取得する消費電力取得部と、
停電信号が入力されると、前記シャットダウンに必要な時間と、前記情報処理装置の消費電力値とに基づいて、前記情報処理装置のシャットダウンに必要な時間および電力の指標値を示す指標値信号を出力するシャットダウン関連情報生成部と、
シャットダウンを指示するシャットダウン信号に基づいて前記情報処理装置をシャットダウンするシャットダウン実行部と、
を具備することを特徴とする情報処理装置。
An information processing apparatus to which power is supplied from an uninterruptible power supply,
A shutdown time storage unit that stores in advance the time required for shutdown of the information processing apparatus, which is measured in advance for each configuration of the virtual machine operated in the information processing apparatus, in association with the configuration;
Based on the configuration of the virtual machine that is operating in the information processing device, a shutdown time acquisition unit that reads the time required for the shutdown associated with the configuration,
A power consumption acquisition unit for acquiring a power consumption value of the information processing apparatus;
When a power failure signal is input, based on the time required for the shutdown and the power consumption value of the information processing apparatus, an index value signal indicating an index value of the time and power required for the information processing apparatus A shutdown-related information generator to output;
A shutdown execution unit that shuts down the information processing apparatus based on a shutdown signal that instructs shutdown;
Information processing apparatus characterized by comprising a.
無停電電源装置から電力が供給される情報処理装置に、
前記情報処理装置にて稼働中の仮想マシンの構成に基づいて、当該構成に対応付けられたシャットダウンに必要な時間を、前記情報処理装置にて稼働される中の仮想マシンの構成毎に予め測定されたシャットダウンに必要な時間を当該構成と対応付けて記憶するシャットダウン時間記憶部から読み出すステップと、
前記情報処理装置の消費電力値を取得するステップと、
停電信号が入力されると、前記シャットダウンに必要な時間と、前記情報処理装置の消費電力値とに基づいて、前記情報処理装置のシャットダウンに必要な時間および電力の指標値を示す指標値信号を出力するステップと、
シャットダウンを指示するシャットダウン信号に基づいて前記情報処理装置をシャットダウンするステップと、
を実行させるプログラム。
To the information processing device that is supplied with power from the uninterruptible power supply,
Based on the configuration of the virtual machine running on the information processing device, the time required for shutdown associated with the configuration is measured in advance for each configuration of the virtual machine running on the information processing device. A step of reading from the shutdown time storage unit that stores the time required for shutdown performed in association with the configuration;
Obtaining a power consumption value of the information processing apparatus;
When a power failure signal is input, based on the time required for the shutdown and the power consumption value of the information processing apparatus, an index value signal indicating an index value of the time and power required for the information processing apparatus Output step;
Shutting down the information processing apparatus based on a shutdown signal instructing shutdown;
Help program to the execution.
JP2010176548A 2010-08-05 2010-08-05 Information processing system, information processing apparatus, shutdown timing determination method, and program Expired - Fee Related JP5664004B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010176548A JP5664004B2 (en) 2010-08-05 2010-08-05 Information processing system, information processing apparatus, shutdown timing determination method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010176548A JP5664004B2 (en) 2010-08-05 2010-08-05 Information processing system, information processing apparatus, shutdown timing determination method, and program

Publications (2)

Publication Number Publication Date
JP2012038033A JP2012038033A (en) 2012-02-23
JP5664004B2 true JP5664004B2 (en) 2015-02-04

Family

ID=45849987

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010176548A Expired - Fee Related JP5664004B2 (en) 2010-08-05 2010-08-05 Information processing system, information processing apparatus, shutdown timing determination method, and program

Country Status (1)

Country Link
JP (1) JP5664004B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3828699A1 (en) 2019-11-29 2021-06-02 Omron Corporation Information processing device, management program, management method, and information processing system

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016053873A (en) * 2014-09-04 2016-04-14 公益財団法人鉄道総合技術研究所 Method for allowing alarm seismometer to continue functioning at blackout and alarm seismometer
JP2018005854A (en) * 2016-07-08 2018-01-11 株式会社リコー Electronic apparatus and power control method
JP7276526B2 (en) * 2019-11-29 2023-05-18 オムロン株式会社 Information processing device, management program, management method, and information processing system
JP7276566B2 (en) * 2022-01-20 2023-05-18 オムロン株式会社 Information processing system, information processing device, management program, and management method
JP7207595B2 (en) * 2022-01-20 2023-01-18 オムロン株式会社 Information processing device, management program, management method, and information processing system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03148719A (en) * 1989-11-06 1991-06-25 Hitachi Ltd Power supply without power failure
JPH07160370A (en) * 1993-12-06 1995-06-23 Nissan Motor Co Ltd Service interruption controller
JP2007179094A (en) * 2005-12-26 2007-07-12 Toshiba Corp Information processing apparatus and power consumption control method executed therein

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3828699A1 (en) 2019-11-29 2021-06-02 Omron Corporation Information processing device, management program, management method, and information processing system
EP4354288A2 (en) 2019-11-29 2024-04-17 OMRON Corporation Information processing device, management program, management method, and information processing system

Also Published As

Publication number Publication date
JP2012038033A (en) 2012-02-23

Similar Documents

Publication Publication Date Title
JP5664004B2 (en) Information processing system, information processing apparatus, shutdown timing determination method, and program
CN101035388B (en) Uninterruptible power supply device, uninterruptible power supply system and close method
US9223394B2 (en) Rack and power control method thereof
US9641025B2 (en) Method and apparatus of master selection logic in UPS parallel system
JP6231883B2 (en) Electronic device and electronic device charging system
US20090210737A1 (en) Power supplying system, monitoring apparatus, monitoring method and computer program
US20180233947A1 (en) Device operating state modification with uninterruptible power source
TWI538349B (en) Uninterruptible power supply, method executable by uninterruptible power supply, and non-transitory machine-readable storage medium
EP2730994A2 (en) Charging and discharging management device and mobile terminal
EP2634883A2 (en) Electronic device and protection circuit and protection method
US20140321014A1 (en) Power distribution method, power distribution apparatus, and information handling system
JP2015537500A (en) Device and method for early detection of power failure in external power supply
JP2010146062A (en) Power source device, and method for controlling same
TWI547060B (en) Power system, and non-transitory machine-readable storage medium and method related to said power system
JP2004080919A (en) Power control system and power control method for electrical apparatus
WO2012132276A1 (en) Electronic equipment and charging method therefor
JP2010204902A (en) Uninterruptible power supply, power feeding control method, and program
JP2020145857A (en) Power supply apparatus, power supply system, power supply method, and program
TWI482395B (en) Rack and power controlling method thereof
JP2019079186A (en) Monitoring device and shutdown start method
JP6442765B2 (en) Information processing apparatus, charge control method, and charge control program
JP2018143033A (en) Power supply system, control device, control method and program
TW201328116A (en) System and method for managing power supply
JP6115035B2 (en) POWER CONTROL DEVICE, POWER CONTROL METHOD, AND POWER CONTROL PROGRAM
JP2008022452A (en) Image forming apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130711

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20140519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140527

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140728

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20140819

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20141020

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: 20141111

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20141124

R150 Certificate of patent or registration of utility model

Ref document number: 5664004

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees