JP7040784B2 - Monitoring control device, monitoring control method, computer and program - Google Patents

Monitoring control device, monitoring control method, computer and program Download PDF

Info

Publication number
JP7040784B2
JP7040784B2 JP2019094363A JP2019094363A JP7040784B2 JP 7040784 B2 JP7040784 B2 JP 7040784B2 JP 2019094363 A JP2019094363 A JP 2019094363A JP 2019094363 A JP2019094363 A JP 2019094363A JP 7040784 B2 JP7040784 B2 JP 7040784B2
Authority
JP
Japan
Prior art keywords
cpu
power
power consumption
control
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.)
Active
Application number
JP2019094363A
Other languages
Japanese (ja)
Other versions
JP2020190800A (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 Platforms Ltd
Original Assignee
NEC Platforms Ltd
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 Platforms Ltd filed Critical NEC Platforms Ltd
Priority to JP2019094363A priority Critical patent/JP7040784B2/en
Publication of JP2020190800A publication Critical patent/JP2020190800A/en
Application granted granted Critical
Publication of JP7040784B2 publication Critical patent/JP7040784B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Power Sources (AREA)
  • Safety Devices In Control Systems (AREA)

Description

本発明は、監視制御装置、監視制御方法、コンピュータ及びプログラムに関する。 The present invention relates to a monitoring control device, a monitoring control method, a computer and a program.

コンピュータシステムにおいて電源の異常が発生した場合、サービス継続やデータ保護、早期復旧等のためにコンピュータシステム内で適切に対処することが求められている。例えば、電源異常が発生した場合に、制御装置がシステムの消費電力を低減させることによって一時的な異常を回避することがおこなわれている。 When a power failure occurs in a computer system, it is required to take appropriate measures in the computer system for service continuation, data protection, early recovery, and the like. For example, when a power supply abnormality occurs, the control device reduces the power consumption of the system to avoid the temporary abnormality.

このような場合、消費電力の低減処理は確実に実行される必要がある。また、消費電力の低減処理が電源異常の解消後も継続してしまうと、システムのパフォーマンスが著しく低下してしまうという問題点がある。 In such a case, it is necessary to surely execute the power consumption reduction process. Further, if the power consumption reduction process is continued even after the power supply abnormality is resolved, there is a problem that the performance of the system is significantly deteriorated.

このような問題点を解決する技術が特許文献1に記載されている。特許文献1に記載の電力制御監視装置は、所定の電力制御ポリシーをCPUに設定することで電力制御ポリシーに基づく電力制御をCPUに行わせる制御部と、CPUでの電力制御の状態を検出する監視部を有する。さらに、監視部が検出した電力制御の状態が電力制御ポリシーと矛盾している場合、電力制御ポリシーをCPUに再設定する再設定部を有する。特許文献1に記載の電力制御監視装置によれば、CPUが電力制御機能を有するコンピュータにおいて、意図しない低い性能のままでの動作を中止させて本来の性能でCPUを動作させることができる。 Patent Document 1 describes a technique for solving such a problem. The power control monitoring device described in Patent Document 1 detects a control unit that causes the CPU to perform power control based on the power control policy by setting a predetermined power control policy in the CPU, and a state of power control in the CPU. It has a monitoring unit. Further, it has a resetting unit that resets the power control policy to the CPU when the power control state detected by the monitoring unit is inconsistent with the power control policy. According to the power control monitoring device described in Patent Document 1, in a computer in which the CPU has a power control function, it is possible to stop the operation with unintended low performance and operate the CPU with the original performance.

特開2018-112910号公報Japanese Unexamined Patent Publication No. 2018-112910

しかしながら、特許文献1に記載の電力制御監視装置では、CPUの消費電力制御は、電力制御監視装置が備えるチップセット内のファームウェア(マネジメントエンジン)によって実施される。そのため、マネジメントエンジンの動作に不具合が生じた場合はCPUの消費電力制御が適切に実施されないという課題がある。 However, in the power control monitoring device described in Patent Document 1, the power consumption control of the CPU is performed by the firmware (management engine) in the chipset included in the power control monitoring device. Therefore, there is a problem that the power consumption control of the CPU is not properly performed when a problem occurs in the operation of the management engine.

本発明は、上述した課題を解決する監視制御装置、監視制御方法、コンピュータ及びプログラムを提供することを目的とする。 An object of the present invention is to provide a monitoring control device, a monitoring control method, a computer, and a program that solve the above-mentioned problems.

本発明の一態様によれば、監視制御装置は、電源装置から出力される信号に基づいて電源の異常を監視し、電力制御装置から出力される信号に基づいてCPUの消費電力を制御する消費電力制御指示がされているか否かを監視する監視部と、前記電源の異常を検知した場合に、前記消費電力制御指示がされていないならば、前記CPUに対して前記消費電力制御指示をおこなう制御部と、を備える。 According to one aspect of the present invention, the monitoring control device monitors the abnormality of the power supply based on the signal output from the power supply device, and controls the power consumption of the CPU based on the signal output from the power control device. A monitoring unit that monitors whether or not a power control instruction has been given, and a monitoring unit that issues the power consumption control instruction to the CPU if the power consumption control instruction is not given when an abnormality in the power supply is detected. It is equipped with a control unit.

また本発明の一態様によれば、前記制御部は、前記電源の異常が終了した場合に、前記消費電力制御指示がされているならば、前記電力制御装置を初期化させる。 Further, according to one aspect of the present invention, the control unit initializes the power control device if the power consumption control instruction is given when the abnormality of the power supply is terminated.

また本発明の一態様によれば、前記制御部は、前記消費電力制御指示をおこなった後に、前記電源の異常を検知した場合に、自装置を含むコンピュータをシャットダウンさせる。 Further, according to one aspect of the present invention, the control unit shuts down the computer including its own device when it detects an abnormality in the power supply after issuing the power consumption control instruction.

また本発明の一態様によれば、前記消費電力制御指示は、前記CPUの処理を低下させる指示である。 Further, according to one aspect of the present invention, the power consumption control instruction is an instruction to reduce the processing of the CPU.

また本発明の一態様によれば、コンピュータは、前記いずれかの監視制御装置と、前記監視制御装置により監視されるCPUと、前記CPUの消費電力を制御する電力制御装置と、を備える。 Further, according to one aspect of the present invention, the computer includes one of the monitoring control devices, a CPU monitored by the monitoring control device, and a power control device that controls the power consumption of the CPU.

また本発明の一態様によれば、監視制御方法において、電源装置から出力される信号に基づいて電源の異常を監視し、電力制御装置から出力される信号に基づいて前記CPUの消費電力を制御する消費電力制御指示がされているか否かを監視し、前記電源の異常を検知した場合に、前記消費電力制御指示がされていないならば、前記CPUに対して前記消費電力制御指示をおこなう。 Further, according to one aspect of the present invention, in the monitoring control method, the abnormality of the power supply is monitored based on the signal output from the power supply device, and the power consumption of the CPU is controlled based on the signal output from the power control device. It monitors whether or not the power consumption control instruction is given, and when the abnormality of the power supply is detected, if the power consumption control instruction is not given, the power consumption control instruction is given to the CPU.

また本発明の一態様によれば、プログラムは、電源装置から出力される信号に基づいて電源の異常を監視する処理と、電力制御装置から出力される信号に基づいて前記CPUの消費電力を制御する消費電力制御指示がされているか否かを監視する処理と、前記電源の異常を検知した場合に、前記消費電力制御指示がされていないならば、前記CPUに対して前記消費電力制御指示をおこなう処理と、をコンピュータに実行させる。 Further, according to one aspect of the present invention, the program controls the power consumption of the CPU based on the process of monitoring the abnormality of the power supply based on the signal output from the power supply device and the signal output from the power control device. The process of monitoring whether or not the power consumption control instruction is given, and when the abnormality of the power supply is detected, if the power consumption control instruction is not given, the power consumption control instruction is given to the CPU. Let the computer execute the processing to be performed.

本発明の監視制御装置、監視制御方法、コンピュータ及びプログラムによれば、CPUの消費電力制御を適切におこなうことができる。 According to the monitoring control device, the monitoring control method, the computer and the program of the present invention, the power consumption of the CPU can be appropriately controlled.

本発明の第1の実施形態の監視制御装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of the structure of the monitoring control apparatus of 1st Embodiment of this invention. 本発明の第2の実施形態のコンピュータの構成の一例を示すブロック図である。It is a block diagram which shows an example of the structure of the computer of the 2nd Embodiment of this invention. 本発明の第2の実施形態の監視制御装置の処理の一例を示すフローチャートである。It is a flowchart which shows an example of the processing of the monitoring control apparatus of the 2nd Embodiment of this invention.

以下、図を参照しながら、本発明の実施形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.

<第1の実施形態>
図1は、本発明の第1の実施形態の監視制御装置1の構成の一例を示すブロック図である。監視制御装置1は、電力制御装置2およびCPU(Central Processing Unit)3と接続されている。電力制御装置2は、電源の異常が発生した場合に、CPU3に対して信号を出力することで、CPU3の消費電力を制御する。例えば、電力制御装置2は、CPU3に対して処理を低下させる指示をおこなうことでCPU3の消費電力を低下させる。
<First Embodiment>
FIG. 1 is a block diagram showing an example of the configuration of the monitoring control device 1 according to the first embodiment of the present invention. The monitoring control device 1 is connected to the power control device 2 and the CPU (Central Processing Unit) 3. The power control device 2 controls the power consumption of the CPU 3 by outputting a signal to the CPU 3 when an abnormality occurs in the power supply. For example, the power control device 2 reduces the power consumption of the CPU 3 by instructing the CPU 3 to reduce the processing.

監視制御装置1は、監視部101と制御部102とを備える。監視部101は、電源装置から出力される信号に基づいて電源の異常を監視する。また、監視部101は、電力制御装置2から出力される信号に基づいてCPU3の消費電力を制御する消費電力制御指示がされているか否かを監視する。制御部102は、監視部101が電源の異常を検知した場合に、消費電力制御指示がされていないならば、CPU3に対して消費電力制御指示をおこなう。 The monitoring control device 1 includes a monitoring unit 101 and a control unit 102. The monitoring unit 101 monitors the abnormality of the power supply based on the signal output from the power supply device. Further, the monitoring unit 101 monitors whether or not a power consumption control instruction for controlling the power consumption of the CPU 3 is given based on the signal output from the power control device 2. When the monitoring unit 101 detects an abnormality in the power supply, the control unit 102 issues a power consumption control instruction to the CPU 3 if the power consumption control instruction is not given.

本実施形態の監視制御装置1によれば、電源の異常が発生した場合に、電力制御装置2からCPU3に対して消費電力の制御指示がされているか否かを監視し、当該制御指示がされていない場合に、CPU3に対して消費電力の制御指示をおこなうことができる。 According to the monitoring control device 1 of the present embodiment, when an abnormality occurs in the power supply, the power control device 2 monitors whether or not a power consumption control instruction is given to the CPU 3, and the control instruction is given. If not, the power consumption control instruction can be given to the CPU 3.

このように、本実施形態の監視制御装置1によれば、電力制御装置を介さずに電源の異常を監視し、CPUに対して消費電力の制御指示をおこなうため、電力監視装置の異常等によりCPUの消費電力制御が適切におこなわれていない場合も、適切にCPUの消費電力制御をおこなうことができる。 As described above, according to the monitoring control device 1 of the present embodiment, the abnormality of the power supply is monitored without going through the power control device, and the CPU is instructed to control the power consumption. Even when the power consumption control of the CPU is not properly performed, the power consumption control of the CPU can be appropriately performed.

<第2の実施形態>
図2は、本発明の第2の実施形態のコンピュータ10の構成の一例を示すブロック図である。コンピュータ10は、監視制御装置1と、電力制御装置2、CPU3と、メモリ4と、電源ユニット5とを備える。監視制御装置1は、BMC(Base Magagement Controller)11と、メモリ12とを備える。電力制御装置2は、ME(Management Engine)211を備えるチップセット21と、メモリ22とを備える。
<Second embodiment>
FIG. 2 is a block diagram showing an example of the configuration of the computer 10 according to the second embodiment of the present invention. The computer 10 includes a monitoring control device 1, a power control device 2, a CPU 3, a memory 4, and a power supply unit 5. The monitoring control device 1 includes a BMC (Base Management Controller) 11 and a memory 12. The power control device 2 includes a chipset 21 including an ME (Management Engine) 211 and a memory 22.

BMC11とME211は、SM(System Management)バスを介して接続している。ME211と電源ユニット5は、PM(Power Managemet)バスを介して接続している。ME211とCPU3は、PECI(Platform Environmental Control Interface)を介して接続している。チップセット21とCPU3は、DMI(Direct Media Interface)で接続している。電源ユニット5とME211は、制御信号線を介して接続し、当該制御信号線にBMC11も接続している。ME211とCPU3は、制御信号線を介して接続し、当該制御信号線にBMC11も接続している。BMC11とME211は、それぞれCPUインターフェース用レベル変換バッファを介してCPU3と接続している。 The BMC 11 and the ME 211 are connected via an SM (System Management) bus. The ME211 and the power supply unit 5 are connected to each other via a PM (Power Manager) bus. The ME211 and the CPU3 are connected via PECI (Platform Environmental Control Interface). The chipset 21 and the CPU 3 are connected by a DMI (Direct Media Interface). The power supply unit 5 and ME211 are connected via a control signal line, and the BMC 11 is also connected to the control signal line. The ME 211 and the CPU 3 are connected via a control signal line, and the BMC 11 is also connected to the control signal line. The BMC 11 and the ME 211 are each connected to the CPU 3 via a level conversion buffer for the CPU interface.

BMC11は、コンピュータ10を管理するコントローラであり、ハードウェア(CPU、メモリ、温度等)の監視、リモートコントロール、ハードウェアイベントの記録などをおこなう。BMC11はIPMI(Intelligent Platform Management Interface)で定義された標準仕様に沿って、前記の処理をおこなうことができる。 The BMC 11 is a controller that manages the computer 10, monitors hardware (CPU, memory, temperature, etc.), remote control, records hardware events, and the like. The BMC 11 can perform the above processing according to the standard specifications defined by IPMI (Intelligent Platform Management Interface).

BMC11と接続するメモリ12は、例えば、RAM(Random Access Memory)であり、BMC11を制御するファームウェアや各種設定情報を格納している。 The memory 12 connected to the BMC 11 is, for example, a RAM (Random Access Memory), and stores firmware for controlling the BMC 11 and various setting information.

ME211は、電源の状態の監視およびCPU3に対する消費電力の制御等をおこなう。ME211は、PMバスを介して、電源ユニット5からコンピュータ10の消費電力値を取得する。また、ME211は、電源ユニット5から出力される電源の異常を示す信号を取得する。ME211は、PECIを介してコマンドを発行することで、CPU3の状態(電力値、温度情報等)を監視することができる。 The ME211 monitors the state of the power supply and controls the power consumption of the CPU3. The ME211 acquires the power consumption value of the computer 10 from the power supply unit 5 via the PM bus. Further, the ME211 acquires a signal indicating an abnormality of the power supply output from the power supply unit 5. The ME211 can monitor the state (power value, temperature information, etc.) of the CPU 3 by issuing a command via PECI.

ME211は、CPU3の状態や、コンピュータ10の消費電力値、電源アラーム等に基づいて、CPU3の消費電量を制御する指示(CPU消費電力制御指示とも称する)をおこなう。CPU消費電力制御指示は、例えば、CPUの処理を低下させる指示である。具体的には、例えば、CPU3の内部のクロックを低下させるCPU Throttling信号である。 The ME211 gives an instruction to control the power consumption of the CPU 3 (also referred to as a CPU power consumption control instruction) based on the state of the CPU 3, the power consumption value of the computer 10, the power alarm, and the like. The CPU power consumption control instruction is, for example, an instruction for reducing the processing of the CPU. Specifically, for example, it is a CPU Rotting signal that lowers the internal clock of the CPU 3.

なお、ME211は、BMC11によってあらかじめ設定された電力制御ポリシーに基づいてCPU消費電力制御指示をおこなってもよい。電力製制御ポリシーは、CPU3に電力制御をおこなわせるか否か、CPU3に電力制御をおこなわせる場合のCPU3の消費電力の上限値などを規定する。また、電力製制御ポリシーは、CPU3の消費電力が上限値を超えたときの対処方法(シャットダウン、アラート通知等)、消費電力の監視サイクルなどを規定する。 The ME211 may give a CPU power consumption control instruction based on a power control policy preset by the BMC 11. The power control policy stipulates whether or not the CPU 3 is to perform power control, the upper limit of the power consumption of the CPU 3 when the CPU 3 is to perform power control, and the like. In addition, the power control policy defines measures to be taken when the power consumption of the CPU 3 exceeds the upper limit (shutdown, alert notification, etc.), power consumption monitoring cycle, and the like.

ME211と接続するメモリ22は、例えば、RAMであり、ME211を制御するファームウェアや各種設定情報を格納している。 The memory 22 connected to the ME211 is, for example, a RAM, and stores firmware for controlling the ME211 and various setting information.

CPU3は、コンピュータ10の全体の制御をおこなうプロセッサである。CPU3と接続するメモリ4は、例えば、RAMであり、CPU3により読み出される各種のデータやプログラムを格納する。 The CPU 3 is a processor that controls the entire computer 10. The memory 4 connected to the CPU 3 is, for example, a RAM, and stores various data and programs read by the CPU 3.

CPU3は、BMC11またはME211から出力されたCPU3の消費電力を制御する指示に基づいて、CPU3の消費電力を制御する。例えば、CPU3は、BMC11またはME211からCPU3の内部クロックを低下させるCPU Throttling信号が入力された場合、CPU3の内部クロックを低下させる。これによりCPU3の消費電力を低下させることができる。 The CPU 3 controls the power consumption of the CPU 3 based on the instruction for controlling the power consumption of the CPU 3 output from the BMC 11 or the ME 211. For example, when the CPU Throttling signal for lowering the internal clock of the CPU 3 is input from the BMC 11 or ME 211, the CPU 3 lowers the internal clock of the CPU 3. As a result, the power consumption of the CPU 3 can be reduced.

電源ユニット5は、コンピュータ10に直流電圧を供給する。電源ユニット5は、電源の異常が発生した場合に、電源の異常を示す信号(電源アラームとも称する)をME211に対して出力する。電源の異常とは、例えば、入力電源下限異常、電源内温度異常、出力過電流異常などである。電源アラームは、例えば、SMBALERT信号である。 The power supply unit 5 supplies a DC voltage to the computer 10. When a power supply abnormality occurs, the power supply unit 5 outputs a signal (also referred to as a power supply alarm) indicating the power supply abnormality to the ME 211. The abnormality of the power supply is, for example, an abnormality of the lower limit of the input power supply, an abnormality of the temperature inside the power supply, an abnormality of the output overcurrent, and the like. The power alarm is, for example, a SMBALERT signal.

BMC11は電源ユニット5に対してPS-ON信号を出力し、電源ユニット5のオン/オフを制御することができる。 The BMC 11 can output a PS-ON signal to the power supply unit 5 and control the on / off of the power supply unit 5.

BMC11は、電源ユニット5から出力される電源アラームを監視し、電源アラームの有無を確認する。BMC11は、ME211から出力される信号を監視し、CPU3の消費電力を制御する指示の有無を確認する。BMC11は、電源アラームを検知した場合に、ME211から消費電力制御指示がされていない場合は、CPU3に対して、消費電力を制御する指示(CPU消費電力制御指示とも称する)を出力する。これにより、電源異常発生時に、CPU3の消費電力を制御するME211の不具合等によりCPU3の消費電力が適切に制御されていない場合も、ME211を介さずCPU3の消費電力を制御することができる。 The BMC 11 monitors the power alarm output from the power supply unit 5 and confirms the presence or absence of the power alarm. The BMC 11 monitors the signal output from the ME 211 and confirms whether or not there is an instruction to control the power consumption of the CPU 3. When the power alarm is detected, the BMC 11 outputs an instruction for controlling the power consumption (also referred to as a CPU power consumption control instruction) to the CPU 3 if the power consumption control instruction is not given from the ME 211. As a result, even when the power consumption of the CPU 3 is not properly controlled due to a malfunction of the ME 211 that controls the power consumption of the CPU 3 when a power supply abnormality occurs, the power consumption of the CPU 3 can be controlled without going through the ME 211.

BMC11は、CPU3に対して、消費電力を制御する指示を出力した後、電源ユニット5から出力される電源アラームを監視する。BMC11は、電源アラームを検知した場合、オペレーティングシステムに対してシャットダウン指示を出力し、コンピュータ10をシャットダウンさせる。これにより、電源異常発生時に、何らかの不具合でCPUの電力制御が実行できない場合にコンピュータ10を終了させることができる。 The BMC 11 monitors the power supply alarm output from the power supply unit 5 after outputting the instruction to control the power consumption to the CPU 3. When the BMC 11 detects the power alarm, it outputs a shutdown instruction to the operating system and shuts down the computer 10. As a result, when a power supply abnormality occurs, the computer 10 can be terminated when the power control of the CPU cannot be executed due to some trouble.

BMC11は、CPU3に対して、消費電力を制御する指示を出力した後、電源アラームを検知しない場合、CPU3の消費電力の制御が実施されたと判断し、消費電力制御指示の出力を停止する。その後、BMC11は、ME211に対して、リセット指示を出力し、ME211のファームウェアの初期化を実施する。これにより、電源異常発生時に、ME211によって、CPU3の電力制御が適切に実施されていない場合に、ME211をリセットし、ME211の不具合の解消を図ることができる。 If the BMC 11 does not detect the power alarm after outputting the instruction to control the power consumption to the CPU 3, it determines that the power consumption control of the CPU 3 has been performed, and stops the output of the power consumption control instruction. After that, the BMC 11 outputs a reset instruction to the ME211 and initializes the firmware of the ME211. This makes it possible to reset the ME211 and solve the problem of the ME211 when the power control of the CPU 3 is not properly performed by the ME211 when a power supply abnormality occurs.

BMC11は、電源アラームを検知した後に、CPU消費電力制御指示を検知した場合、再度電源アラームを監視する。BMC11は、電源アラームを検知しない場合に、ME211からCPU消費電力制御指示がされているか否かを確認し、当該指示がされているならば、ME211に対してリセット指示を出力し、ME211のファームウェアの初期化を実施する。これにより、電源異常が解消された後も、ME211の不具合等によりCPU3の消費電力制御が継続されている場合に、不適切なCPU3の電力制御を停止させることができる。つまり、BMC11は、不適切な電力制御(CPU処理低下)を解消し、コンピュータのパフォーマンス低下が不必要に継続されてしまうことを抑制することができる。なお、BMC11は、ME211に対するリセット指示に前後して、CPU3に対して消費電力制御を解除する指示を出力してもよい。 When the BMC 11 detects the CPU power consumption control instruction after detecting the power alarm, the BMC 11 monitors the power alarm again. When the BMC 11 does not detect the power alarm, it confirms whether or not the CPU power consumption control instruction is given from the ME 211, and if the instruction is given, outputs a reset instruction to the ME 211, and the firmware of the ME 211. Initialize. As a result, even after the power supply abnormality is resolved, if the power consumption control of the CPU 3 is continued due to a malfunction of the ME 211 or the like, the inappropriate power control of the CPU 3 can be stopped. That is, the BMC 11 can eliminate inappropriate power control (deterioration of CPU processing) and prevent the deterioration of computer performance from being unnecessarily continued. The BMC 11 may output an instruction to cancel the power consumption control to the CPU 3 before and after the reset instruction to the ME 211.

なお、BMC11は、CPU消費電力制御指示を出力した後、所定の時間経過後に電源アラームの監視を開始することとしてもよい。あるいは、BMC11は、所定の期間電源アラームを継続して検知した場合、または所定の回数電源アラームを検知した場合に、電源の異常が発生したとみなしてもよい。これにより、信号検知のタイミングのずれ等により電源異常の検知が多発することを抑制することができる。 The BMC 11 may start monitoring the power alarm after a predetermined time has elapsed after outputting the CPU power consumption control instruction. Alternatively, the BMC 11 may consider that an abnormality in the power supply has occurred when the power supply alarm is continuously detected for a predetermined period or when the power supply alarm is detected a predetermined number of times. As a result, it is possible to suppress the frequent detection of power supply abnormalities due to the timing shift of signal detection or the like.

なお、本実施形態のBMC11およびメモリ12が第1の実施形態の監視部101および制御部102に対応する。 The BMC 11 and the memory 12 of the present embodiment correspond to the monitoring unit 101 and the control unit 102 of the first embodiment.

図3は、本発明の第2の実施形態の監視制御装置1の処理の一例を示すフローチャートである。本フローチャートは、コンピュータ10の電源がオンされてCPU3の動作が定常状態となることで開始となる。 FIG. 3 is a flowchart showing an example of processing of the monitoring control device 1 according to the second embodiment of the present invention. This flowchart starts when the power of the computer 10 is turned on and the operation of the CPU 3 becomes a steady state.

まず、BMC11は、電源ユニット5がME211に対して出力した信号を監視し、電源の異常を示す信号(電源アラーム)の有無を確認する(ステップS101)。ステップS101の処理において、電源アラームを検知した場合(ステップS102/YES)、BMC11は、ME211がCPU3に対して出力する信号を監視し、CPU3の消費電力を制御する指示(CPU消費電力制御指示)の有無を確認する(ステップS103)。本実施形態において、CPU消費電力制御指示は、具体的にはCPUの処理を低下させる指示(CPU処理低下指示/CPU Throttling)である。ステップS101の処理において、電源アラームを検知しない場合(ステップS102/NO)、BMC11は、ステップS101の処理に戻り電源アラームの監視を継続する。 First, the BMC 11 monitors the signal output by the power supply unit 5 to the ME 211, and confirms the presence or absence of a signal (power alarm) indicating an abnormality in the power supply (step S101). When a power alarm is detected in the process of step S101 (step S102 / YES), the BMC 11 monitors the signal output by the ME 211 to the CPU 3 and controls the power consumption of the CPU 3 (CPU power consumption control instruction). (Step S103). In the present embodiment, the CPU power consumption control instruction is specifically an instruction to reduce the processing of the CPU (CPU processing reduction instruction / CPU Rotting). If the power alarm is not detected in the process of step S101 (step S102 / NO), the BMC 11 returns to the process of step S101 and continues to monitor the power alarm.

ステップS103の処理において、CPU処理低下指示を検知しない場合(ステップS104/NO)、BMC11は、CPU3に対しCPU処理低下指示を出力する(ステップS105)。 When the CPU processing reduction instruction is not detected in the processing of step S103 (step S104 / NO), the BMC 11 outputs the CPU processing reduction instruction to the CPU 3 (step S105).

ステップS105の処理の後、BMC11は、電源ユニット5がME211に対して出力する信号を監視し、電源アラームの有無を確認する(ステップS106)。ステップS106の処理において、電源アラームを検知した場合(ステップS107/YES)、BMC11は、オペレーティングシステムに対してシャットダウン指示を出力する(ステップS110)。これにより、BMC11は、コンピュータ10をシャットダウンさせ、処理を終了する。 After the process of step S105, the BMC 11 monitors the signal output by the power supply unit 5 to the ME 211 and confirms the presence or absence of the power alarm (step S106). If a power alarm is detected in the process of step S106 (step S107 / YES), the BMC 11 outputs a shutdown instruction to the operating system (step S110). As a result, the BMC 11 shuts down the computer 10 and ends the process.

ステップS106の処理において、電源アラームを検知しない場合(ステップS107/NO)、BMC11は、CPU3に対するCPU処理低下指示の出力を停止する(ステップS108)。その後、BMC11は、ME211に対して、ME211をリセットする指示を出力する(ステップS109)。その後、BMC11は、ステップS101の処理に戻り電源アラームの監視をおこなう。 If the power alarm is not detected in the process of step S106 (step S107 / NO), the BMC 11 stops the output of the CPU process decrease instruction to the CPU 3 (step S108). After that, the BMC 11 outputs an instruction to reset the ME211 to the ME211 (step S109). After that, the BMC 11 returns to the process of step S101 and monitors the power supply alarm.

ステップS103の処理において、CPU処理低下指示を検知した場合(ステップS104/YES)、BMC11は、電源アラームの監視をおこなう(ステップS111)。ステップS111の処理において、電源アラームを検知した場合(ステップS112/YES)、BMC11は、ステップS103の処理に戻り、CPU処理低下指示の監視をおこなう。 When the CPU processing reduction instruction is detected in the processing of step S103 (step S104 / YES), the BMC 11 monitors the power supply alarm (step S111). When a power alarm is detected in the process of step S111 (step S112 / YES), the BMC 11 returns to the process of step S103 and monitors the CPU process decrease instruction.

ステップS111の処理において、電源アラームを検知しない場合(ステップS112/NO)、BMC11は、CPU処理低下指示の有無を確認する(ステップS113)。ステップS113の処理において、CPU処理低下指示を検知しない場合(ステップS114/NO)、BMC11は、ステップS101の処理に戻り、電源アラームの監視をおこなう。 When the power alarm is not detected in the process of step S111 (step S112 / NO), the BMC 11 confirms whether or not there is a CPU process decrease instruction (step S113). If the CPU process degradation instruction is not detected in the process of step S113 (step S114 / NO), the BMC 11 returns to the process of step S101 and monitors the power supply alarm.

ステップS113の処理において、CPU処理低下指示を検知した場合(ステップS114/YES)、BMC11は、ME211に対して、ME211をリセットする指示を出力する(ステップS115)。その後、BMC11は、ステップS101の処理に戻り電源アラームの監視をおこなう。 When a CPU processing reduction instruction is detected in the process of step S113 (step S114 / YES), the BMC 11 outputs an instruction to reset the ME 211 to the ME 211 (step S115). After that, the BMC 11 returns to the process of step S101 and monitors the power supply alarm.

以上説明したように、本実施形態の監視制御装置1は、電源ユニット5から出力される信号に基づいて電源の異常を監視し、電力制御装置2から出力される信号に基づいてCPU3の消費電力を制御する消費電力制御指示がされているか否かを監視する。監視制御装置1は、電源の異常を検知した場合に、消費電力制御指示がされていないならば、CPU3に対して消費電力制御指示をおこなう。これにより、電源異常発生時に、電力制御装置2の不具合等により、CPU3の消費電力が適切に制御されていない場合も、電力制御装置2を介さずCPU3の消費電力を制御することができる。つまり、CPUの消費電力制御を適切におこなうことができる。 As described above, the monitoring control device 1 of the present embodiment monitors the abnormality of the power supply based on the signal output from the power supply unit 5, and consumes the power of the CPU 3 based on the signal output from the power control device 2. Monitor whether or not the power consumption control instruction is given. When the monitoring control device 1 detects an abnormality in the power supply, if the power consumption control instruction is not given, the monitoring control device 1 issues a power consumption control instruction to the CPU 3. As a result, even when the power consumption of the CPU 3 is not properly controlled due to a malfunction of the power control device 2 or the like when a power supply abnormality occurs, the power consumption of the CPU 3 can be controlled without going through the power control device 2. That is, the power consumption of the CPU can be appropriately controlled.

また、本実施形態の監視制御装置1は、電源の異常が終了した後も、電力制御装置2により消費電力制御指示がされているならば、電力制御装置2を初期化させる。これにより、電源の異常が解消された後も、電力制御装置2の不具合等によりCPU3の消費電力制御が継続されている場合に、不適切なCPU3の電力制御を停止させることができる。 Further, the monitoring control device 1 of the present embodiment initializes the power control device 2 if the power consumption control instruction is given by the power control device 2 even after the abnormality of the power supply is completed. As a result, even after the abnormality of the power supply is resolved, if the power consumption control of the CPU 3 is continued due to a malfunction of the power control device 2 or the like, the inappropriate power control of the CPU 3 can be stopped.

また、本実施形態の監視制御装置1は、消費電力制御指示をおこなった後に、電源の異常を検知した場合、コンピュータ10をシャットダウンさせる。これにより、電源異常発生時に、何らかの不具合でCPUの電力制御が実行できない場合に安全にコンピュータ10を終了させることができる。 Further, the monitoring control device 1 of the present embodiment shuts down the computer 10 when an abnormality in the power supply is detected after the power consumption control instruction is given. This makes it possible to safely terminate the computer 10 when the power control of the CPU cannot be executed due to some trouble when a power supply abnormality occurs.

また、本実施形態において、消費電力制御指示は、CPU3の処理を低下させる指示である。このように、CPU3の処理を低下させることにより、電源異常発生時にCPU3の消費電力を低下させ、コンピュータ10の処理を継続しつつ、一時的な異常の解消を図ることができる。また、監視制御装置1は、電源異常が解消された後も、電力制御装置2の不具合等により意図せずCPU3の処理が低下されている場合に、CPU3の処理を低下させる指示を停止する。これにより、コンピュータ10のパフォーマンス低下が不必要に継続されてしまうことを抑制することができる。 Further, in the present embodiment, the power consumption control instruction is an instruction to reduce the processing of the CPU 3. By reducing the processing of the CPU 3 in this way, it is possible to reduce the power consumption of the CPU 3 when a power supply abnormality occurs, and to temporarily eliminate the abnormality while continuing the processing of the computer 10. Further, even after the power supply abnormality is resolved, the monitoring control device 1 stops the instruction to lower the processing of the CPU 3 when the processing of the CPU 3 is unintentionally lowered due to a malfunction of the power control device 2 or the like. As a result, it is possible to prevent the performance deterioration of the computer 10 from being unnecessarily continued.

なお、各実施形態において、信号/指示を出力するとは、回路内で当該信号/指示を有効な状態にすること(アサート)を意味する。また、信号/指示の出力を停止するとは、回路内で当該信号/指示を無効な状態にすること(ネゲート)を意味する。 In each embodiment, outputting a signal / instruction means making the signal / instruction a valid state (assert) in the circuit. Further, stopping the output of the signal / instruction means disabling the signal / instruction in the circuit (negate).

なお、上述した監視制御装置1による監視制御の過程は、プログラムの形式でコンピュータ読み取り可能な記録媒体に記憶されており、このプログラムをコンピュータが読み出して実行することによって、上記処理が行われる。ここでコンピュータ読み取り可能な記録媒体とは、磁気ディスク、光磁気ディスク、CD-ROM、DVD-ROM、半導体メモリ等をいう。また、このコンピュータプログラムを通信回線によってコンピュータに配信し、この配信を受けたコンピュータが当該プログラムを実行するようにしても良い。 The process of monitoring and control by the above-mentioned monitoring and control device 1 is stored in a computer-readable recording medium in the form of a program, and the above processing is performed by the computer reading and executing this program. Here, the computer-readable recording medium means a magnetic disk, a magneto-optical disk, a CD-ROM, a DVD-ROM, a semiconductor memory, or the like. Further, this computer program may be distributed to a computer via a communication line, and the computer receiving the distribution may execute the program.

なお、図1における監視部101および制御部102の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することにより上述した監視制御を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータシステム」は、ホームページ提供環境(あるいは表示環境)を備えたWWWシステムも含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD-ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。 A program for realizing the functions of the monitoring unit 101 and the control unit 102 in FIG. 1 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read by the computer system and executed. The above-mentioned monitoring control may be performed. The term "computer system" as used herein includes hardware such as an OS and peripheral devices. Further, the "computer system" shall also include a WWW system provided with a homepage providing environment (or display environment). Further, the "computer-readable recording medium" refers to a portable medium such as a flexible disk, a magneto-optical disk, a ROM, or a CD-ROM, and a storage device such as a hard disk built in a computer system. Furthermore, a "computer-readable recording medium" is a volatile memory (RAM) inside a computer system that serves as a server or client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In addition, it shall include those that hold the program for a certain period of time.

また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。 Further, the program may be transmitted from a computer system in which this program is stored in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the "transmission medium" for transmitting a program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. Further, the above program may be for realizing a part of the above-mentioned functions. Further, a so-called difference file (difference program) may be used, which can realize the above-mentioned function in combination with a program already recorded in the computer system.

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

本発明は、CPUの消費電力制御をおこなうコンピュータシステムにおいて利用することができる。 The present invention can be used in a computer system that controls the power consumption of a CPU.

1 監視制御装置
2 電力制御装置
3 CPU
4、12、22 メモリ
5 電源ユニット
10 コンピュータ
11 BMC
21 チップセット
211 ME
101 監視部
102 制御部
1 Monitoring control device 2 Power control device 3 CPU
4, 12, 22 Memory 5 Power supplies 10 Computer 11 BMC
21 Chipset 211 ME
101 Monitoring unit 102 Control unit

Claims (7)

電源装置から出力される信号に基づいて電源の異常を監視し、電力制御装置から出力される信号に基づいて、CPUの消費電力を制御する消費電力制御指示がされているか否かを監視する監視部と、
前記電源の異常を検知した場合に、前記消費電力制御指示がされていないならば、前記CPUに対して前記消費電力制御指示をおこなう制御部と、を備える監視制御装置。
Monitoring to monitor the abnormality of the power supply based on the signal output from the power supply device, and monitor whether or not the power consumption control instruction to control the power consumption of the CPU is given based on the signal output from the power control device. Department and
A monitoring control device including a control unit that gives a power consumption control instruction to the CPU when the power consumption abnormality is detected and the power consumption control instruction is not given.
前記制御部は、前記電源の異常が終了した場合に、前記消費電力制御指示がされているならば、前記電力制御装置を初期化させる、請求項1に記載の監視制御装置。 The monitoring control device according to claim 1, wherein the control unit initializes the power control device if the power consumption control instruction is given when the abnormality of the power supply is terminated. 前記制御部は、前記消費電力制御指示をおこなった後に、前記電源の異常を検知した場 合、自装置を含むコンピュータをシャットダウンさせる、請求項1または2に記載の監視制御装置。 The monitoring control device according to claim 1 or 2, wherein the control unit shuts down a computer including its own device when it detects an abnormality in the power supply after issuing the power consumption control instruction. 前記消費電力制御指示は、前記CPUの処理を低下させる指示である、請求項1から3のいずれか一項に記載の監視制御装置。 The monitoring control device according to any one of claims 1 to 3, wherein the power consumption control instruction is an instruction for reducing the processing of the CPU. 請求項1から4のいずれか一項に記載の監視制御装置と、前記監視制御装置により監視されるCPUと、前記CPUの消費電力を制御する電力制御装置と、を備えるコンピュータ。 A computer comprising the monitoring control device according to any one of claims 1 to 4, a CPU monitored by the monitoring control device, and a power control device for controlling the power consumption of the CPU. 監視制御装置によって実行される監視制御方法であって、
電源装置から出力される信号に基づいて電源の異常を監視し、
電力制御装置から出力される信号に基づいてCPUの消費電力を制御する消費電力制御指示がされているか否かを監視し、
前記電源の異常を検知した場合に、前記消費電力制御指示がされていないならば、前記CPUに対して前記消費電力制御指示をおこなう、監視制御方法。
A monitoring control method executed by a monitoring control device.
Monitors power supply abnormalities based on the signal output from the power supply,
It monitors whether or not a power consumption control instruction to control the power consumption of the CPU is given based on the signal output from the power control device.
A monitoring control method for issuing the power consumption control instruction to the CPU when the abnormality of the power supply is detected and the power consumption control instruction is not given.
電源装置から出力される信号に基づいて電源の異常を監視する処理と、
電力制御装置から出力される信号に基づいて、CPUの消費電力を制御する消費電力制御指示がされているか否かを監視する処理と、
前記電源の異常を検知した場合に、前記消費電力制御指示がされていないならば、前記CPUに対して前記消費電力制御指示をおこなう処理と、をコンピュータに実行させるためのプログラム。
Processing to monitor power supply abnormalities based on the signal output from the power supply,
Based on the signal output from the power control device, the process of monitoring whether or not a power consumption control instruction to control the power consumption of the CPU is given, and
A program for causing a computer to execute a process of giving the power consumption control instruction to the CPU when the abnormality of the power supply is detected and the power consumption control instruction is not given.
JP2019094363A 2019-05-20 2019-05-20 Monitoring control device, monitoring control method, computer and program Active JP7040784B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019094363A JP7040784B2 (en) 2019-05-20 2019-05-20 Monitoring control device, monitoring control method, computer and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019094363A JP7040784B2 (en) 2019-05-20 2019-05-20 Monitoring control device, monitoring control method, computer and program

Publications (2)

Publication Number Publication Date
JP2020190800A JP2020190800A (en) 2020-11-26
JP7040784B2 true JP7040784B2 (en) 2022-03-23

Family

ID=73454576

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019094363A Active JP7040784B2 (en) 2019-05-20 2019-05-20 Monitoring control device, monitoring control method, computer and program

Country Status (1)

Country Link
JP (1) JP7040784B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004021507A (en) 2002-06-14 2004-01-22 Hitachi Ltd Monitor control method for mutual server
JP2014048972A (en) 2012-08-31 2014-03-17 Fujitsu Ltd Processor, information processing apparatus, and power consumption management method
JP2018112910A (en) 2017-01-12 2018-07-19 Necプラットフォームズ株式会社 Power control monitoring device, and computer, power control monitoring method and program using the same
JP2018147510A (en) 2018-05-09 2018-09-20 Necプラットフォームズ株式会社 Server device and server system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62135906A (en) * 1985-12-09 1987-06-18 Aichi Tokei Denki Co Ltd Device for monitoring controller
JPH05298152A (en) * 1992-04-23 1993-11-12 Fujitsu Ltd Semiconductor manufacturing controller

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004021507A (en) 2002-06-14 2004-01-22 Hitachi Ltd Monitor control method for mutual server
JP2014048972A (en) 2012-08-31 2014-03-17 Fujitsu Ltd Processor, information processing apparatus, and power consumption management method
JP2018112910A (en) 2017-01-12 2018-07-19 Necプラットフォームズ株式会社 Power control monitoring device, and computer, power control monitoring method and program using the same
JP2018147510A (en) 2018-05-09 2018-09-20 Necプラットフォームズ株式会社 Server device and server system

Also Published As

Publication number Publication date
JP2020190800A (en) 2020-11-26

Similar Documents

Publication Publication Date Title
US10394293B2 (en) Method for preventing over-heating of a device within a data processing system
US7937188B2 (en) Chip overheating protection
JP4873073B2 (en) Information processing apparatus and failure recovery method for information processing apparatus
JP6130520B2 (en) MULTISYSTEM SYSTEM AND MULTISYSTEM SYSTEM MANAGEMENT METHOD
US20030126317A1 (en) Peripheral monitoring device and computer system having the same
JP2006229509A (en) Information equipment and device restarting method
CN104349001A (en) Information processing apparatus, method for controlling the same, and program
JP7040784B2 (en) Monitoring control device, monitoring control method, computer and program
JP2006268742A (en) Computer system and control method thereof
JP6800935B2 (en) How to control a fan in an electronic system
US20050222785A1 (en) System, method and computer program product for configuring power supply apparatus
JPH10307635A (en) Computer system and temperature monitoring method applied to the same system
US20200099798A1 (en) Information processing apparatus and non-transitory computer readable medium
JP6894266B2 (en) Program update control method and program update control program for information processing device and management control device
JP5174093B2 (en) Electronic device and control program thereof
US20220398144A1 (en) Custom baseboard management controller (bmc) firmware stack watchdog system and method
CN115407861A (en) Target equipment power supply method, system and device and computer readable storage medium
JP6853044B2 (en) Power control monitoring device and computer using it, and power control monitoring method and program
CN109298892B (en) Device and method for controlling startup and shutdown of server
JP7001236B2 (en) Information processing equipment, fault monitoring method, and fault monitoring computer program
US9690351B2 (en) Power control system and method thereof
JP2006268281A (en) Abnormality detection system in disconnecting power source input
JP2005157949A (en) Information processor
CN116906358A (en) Fan stall repairing method, system, equipment and medium
CN112698870A (en) Startup and shutdown management method, computing device and storage medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200904

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210716

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210727

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210921

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220303

R150 Certificate of patent or registration of utility model

Ref document number: 7040784

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150