CN112230755A - Power management method, device, equipment and machine-readable storage medium - Google Patents

Power management method, device, equipment and machine-readable storage medium Download PDF

Info

Publication number
CN112230755A
CN112230755A CN202011060891.1A CN202011060891A CN112230755A CN 112230755 A CN112230755 A CN 112230755A CN 202011060891 A CN202011060891 A CN 202011060891A CN 112230755 A CN112230755 A CN 112230755A
Authority
CN
China
Prior art keywords
power
power value
module
service module
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011060891.1A
Other languages
Chinese (zh)
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.)
New H3C Cloud Technologies Co Ltd
Original Assignee
New H3C Cloud Technologies Co 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 New H3C Cloud Technologies Co Ltd filed Critical New H3C Cloud Technologies Co Ltd
Priority to CN202011060891.1A priority Critical patent/CN112230755A/en
Publication of CN112230755A publication Critical patent/CN112230755A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Power Sources (AREA)

Abstract

The present disclosure provides a power management method, apparatus, device and machine-readable storage medium, the method comprising: receiving a power-on request sent by a service module; acquiring a peak power value of a service module sending the power-on request; judging whether the distributable power value is larger than the calculated peak power value or not, if so, deducting the peak power value from the distributable power value, and sending power-on permission information to the service module; the service module is used for responding to the power-on permission information and starting power-on; the assignable power value is associated with a power module total power value, a peak power value of the powered-up module. Through the technical scheme, the management module is used for managing the service module to be electrified on a whole, and the service module which is requested to be electrified is allowed to be electrified when the remaining allocable power value which can be used for the amateur module is enough, so that even when all equipment reaches the power peak value, the power module can still stably supply power, and the problem of insufficient power supply of the power supply is solved.

Description

Power management method, device, equipment and machine-readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a power management method, apparatus, device, and machine-readable storage medium.
Background
The tool box is a fusion architecture, integrates calculation, storage, exchange and management, and has strong competitiveness in the aspects of usability, calculation density, energy conservation and emission reduction, backboard bandwidth, intelligent control and service, elastic configuration and flexible expansion of calculation and storage, low network delay, application acceleration and the like of a hardware calculation platform.
The management board is used as a management module of the whole knife box and is used for managing all hardware equipment in the knife box, and one knife box can be configured with two management boards, runs in a main-standby mode (default stacking configuration) and supports main-standby switching and hot plugging. The user can realize the following management functions through the management board: the state of each component in the case is monitored, the alarm information of each component is collected and reported to a network manager, and the remote on/off/reset/power on/off management, log recording and query of the computing node and the user management of the knife box are provided. Meanwhile, management functions of stateless computation, virtual media, SOL, unified upgrading of all parts, configuration recovery and the like of the nodes can be realized. The operation, the monitoring and the operation and the maintenance of the equipment by the user are greatly facilitated, and the working efficiency is improved.
The power distribution management of the knife box controls the power on and power off of the interconnection module and the blade server by calculating four factors of the whole computer box, such as the distributable power, the reserved distribution power, the interconnection module and the power-on power distribution of the blade server, and the like, so that when the power of all the power-on service modules reaches the peak value, the power load of the chassis can be controlled within a controllable range, and other power-on modules can normally run.
The management function of the power module of the frame-type device is limited to the power itself, the power consumption of other modules is not managed, the device in any frame is plugged into the power module to be powered on, once more powered devices are plugged into the power module, and under the condition that all the powered devices are fully operated, the power supply shortage may occur, so that the risk of power overcurrent restart is caused.
Disclosure of Invention
In view of the above, the present disclosure provides a power management method, apparatus, electronic device, and machine-readable storage medium to improve the problem that the power management is limited to only a single device, resulting in insufficient total power supply.
The specific technical scheme is as follows:
the present disclosure provides a power management method applied to a management module, the method including: receiving a power-on request sent by a service module; acquiring a peak power value of a service module sending the power-on request; judging whether the distributable power value is larger than the calculated peak power value or not, if so, deducting the peak power value from the distributable power value, and sending power-on permission information to the service module; the service module is used for responding to the power-on permission information and starting power-on; the assignable power value is associated with a power module total power value, a peak power value of the powered-up module.
As a solution, the assignable power values are also associated with redundant power values.
As a solution, the assignable power value is also associated with a mandatory module reserved power value.
As a technical scheme, receiving a power-off request sent by a powered-on service module; acquiring a peak power value of a service module sending the power-off request; increasing the peak power value in the assignable power value and sending the power-off permission information to the service module; the service module is used for responding to the power-off permission information and powering off.
The present disclosure also provides a power management device applied to a management module, the device includes: the receiving unit is used for receiving a power-on request sent by the service module; the computing unit is used for acquiring the peak power value of the service module which sends the power-on request; the management unit is used for judging whether the distributable power value is larger than the calculated peak power value or not, if so, deducting the peak power value from the distributable power value, and sending power-on permission information to the service module; the service module is used for responding to the power-on permission information and starting power-on; the assignable power value is associated with a power module total power value, a peak power value of the powered-up module.
As a solution, the assignable power values are also associated with redundant power values.
As a solution, the assignable power value is also associated with a mandatory module reserved power value.
As a technical scheme, receiving a power-off request sent by a powered-on service module; acquiring a peak power value of a service module sending the power-off request; increasing the peak power value in the assignable power value and sending the power-off permission information to the service module; the service module is used for responding to the power-off permission information and powering off.
The present disclosure also provides an electronic device including a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor, the processor executing the machine-executable instructions to implement the aforementioned power management method.
The present disclosure also provides a machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned power management method.
The technical scheme provided by the disclosure at least brings the following beneficial effects:
the management module manages the service module to be electrified, after the power-on request of the service module is received, the current power supply use condition and the power demand condition of the service module are analyzed, and the power-on request of the service module is allowed to be electrified when the remaining allocable power value which can be used for the amateur module is enough, so that the power module can still stably supply power even when all equipment reaches the power peak value, and the problem of insufficient power supply of the power supply is solved.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments of the present disclosure or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present disclosure, and other drawings can be obtained by those skilled in the art according to the drawings of the embodiments of the present disclosure.
FIG. 1 is a flow diagram of a power management method in one embodiment of the present disclosure;
FIG. 2 is a block diagram of a power management device in one embodiment of the present disclosure;
fig. 3 is a hardware configuration diagram of an electronic device in an embodiment of the present disclosure.
Detailed Description
The terminology used in the embodiments of the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein is meant to encompass any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information in the embodiments of the present disclosure, such information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. Depending on the context, moreover, the word "if" as used may be interpreted as "at … …" or "when … …" or "in response to a determination".
The present disclosure provides a power management method and apparatus, an electronic device, and a machine-readable storage medium to solve the above problems.
The specific technical scheme is as follows.
The present disclosure provides a power management method applied to a management module, the method including: receiving a power-on request sent by a service module; acquiring a peak power value of a service module sending the power-on request; judging whether the distributable power value is larger than the calculated peak power value or not, if so, deducting the peak power value from the distributable power value, and sending power-on permission information to the service module; the service module is used for responding to the power-on permission information and starting power-on; the assignable power value is associated with a power module total power value, a peak power value of the powered-up module.
Specifically, as shown in fig. 1, the method comprises the following steps:
step S11, receiving a power-on request sent by a service module;
step S12, obtaining the peak power value of the service module sending the power-on request;
step S13, determining whether the distributable power value is greater than the calculated peak power value, if so, subtracting the peak power value from the distributable power value, and sending power-on permission information to the service module.
The service module is used for responding to the power-on permission information and starting power-on; the assignable power value is associated with a power module total power value, a peak power value of the powered-up module.
The distributable power value is the total available power value of the whole system, and is obtained by deducting the power value of the power which is currently distributed and used.
The management module manages the service module to be electrified, after the power-on request of the service module is received, the current power supply use condition and the power demand condition of the service module are analyzed, and the power-on request of the service module is allowed to be electrified when the remaining allocable power value which can be used for the amateur module is enough, so that the power module can still stably supply power even when all equipment reaches the power peak value, and the problem of insufficient power supply of the power supply is solved.
As a solution, the assignable power values are also associated with redundant power values.
And the management module OM in the case calculates the redundancy power value by acquiring the number of PSU power modules, the rated power of the power supply and the power redundancy mode (such as a non-redundancy mode, an N +1 mode, an N + N mode and the like) configured by the current user, so as to calculate the maximum power resource pool allocatable by the current case. The allocable power resource pool is the core of chassis power allocation management, and is related to the current PSU power supply module number and redundancy mode configuration of the chassis, if the current PSU power supply module number and redundancy mode configuration are not configured, the current PSU power supply module number and redundancy mode configuration are not defaulted, and power provided by all power supplies is added into the allocable resource pool.
As a solution, the assignable power value is also associated with a mandatory module reserved power value.
The reserved power value is mainly used for reserving the necessary power for powering on the chassis backboard, the blade server, the single board of the switching module and the management chip BMC, and the maximum power of the single board and the BMC chip is required to be reserved when the value is taken.
The reserved power value is also used for power reservation of the fan module, the distributed power of the fan can be reserved according to the average rotating speed of the current fan, or the distributed power of the fan is divided into two grades, and the reserved distributed power of a single fan is divided into two grades by taking the average rotating speed 60PWM as a boundary.
As a technical scheme, receiving a power-off request sent by a powered-on service module; acquiring a peak power value of a service module sending the power-off request; increasing the peak power value in the assignable power value and sending the power-off permission information to the service module; the service module is used for responding to the power-off permission information and powering off.
When the service module is shut down or pulled out, the power-off request is automatically sent, or the management module generates a corresponding power-off request by itself, the management module OM recovers the power distributed by the service module and is used for power-on request management of other service modules, namely, the peak power value distributed to the power-off service module is added back to the distributable power value.
The system power-on and power-off requests of the service modules (the computing nodes and the interconnection module) need to be interacted with the management module OM, and the service modules can be powered on and started only under the condition that the OM allows.
The chassis management module OM interacts with the BMC of each service module to obtain device information of each module, including CPU information (model, number), memory (model, number), PCIE information, hard disk information, and calculates the maximum power required to be allocated to the service module when power is supplied, where the maximum allocated power value includes the maximum power value that each hardware of the device can reach, that is, the peak power value.
If the service module power-on request is transmitted to the OM, the OM calculates whether the residual allocable power can meet the maximum power required by the power-on of the service module, if so, the service module is allowed to be powered on, and the maximum allocated power value of the module is subtracted from the allocated power resource pool (the allocable power value), otherwise, the service module cannot be powered on.
The present disclosure also provides a power management device applied to a management module, as shown in fig. 2, the device includes: a receiving unit 21, configured to receive a power-on request sent by a service module; a calculating unit 22, configured to obtain a peak power value of a service module that sends the power-on request; the management unit 23 is configured to determine whether the assignable power value is greater than the calculated peak power value, and if so, deduct the peak power value from the assignable power value, and send power-on permission information to the service module; the service module is used for responding to the power-on permission information and starting power-on; the assignable power value is associated with a power module total power value, a peak power value of the powered-up module.
As a solution, the assignable power values are also associated with redundant power values.
As a solution, the assignable power value is also associated with a mandatory module reserved power value.
As a technical scheme, receiving a power-off request sent by a powered-on service module; acquiring a peak power value of a service module sending the power-off request; increasing the peak power value in the assignable power value and sending the power-off permission information to the service module; the service module is used for responding to the power-off permission information and powering off.
The device embodiments are the same or similar to the method embodiments and are not described in detail herein.
In one embodiment, the present disclosure provides an electronic device, including a processor and a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions capable of being executed by the processor, and the processor executes the machine-executable instructions to implement the foregoing power management method, and from a hardware level, a schematic diagram of a hardware architecture may be shown in fig. 3.
In one embodiment, the present disclosure provides a machine-readable storage medium having stored thereon machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the aforementioned power management method.
Here, a machine-readable storage medium may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and so forth. For example, the machine-readable storage medium may be: a RAM (random Access Memory), a volatile Memory, a non-volatile Memory, a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., an optical disk, a dvd, etc.), or similar storage medium, or a combination thereof.
The systems, devices, modules or units described in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations in practicing the disclosure.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Furthermore, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (which may include, but is not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an embodiment of the present disclosure, and is not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure should be included in the scope of the claims of the present disclosure.

Claims (10)

1. A power management method is applied to a management module, and comprises the following steps:
receiving a power-on request sent by a service module;
acquiring a peak power value of a service module sending the power-on request;
judging whether the distributable power value is larger than the calculated peak power value or not, if so, deducting the peak power value from the distributable power value, and sending power-on permission information to the service module;
the service module is used for responding to the power-on permission information and starting power-on;
the assignable power value is associated with a power module total power value, a peak power value of the powered-up module.
2. The method of claim 1, wherein the assignable power value is further associated with a redundant power value.
3. The method of claim 1, wherein the assignable power value is further associated with a mandatory module reserve power value.
4. The method of claim 1,
receiving a power-off request sent by a powered-on service module;
acquiring a peak power value of a service module sending the power-off request;
increasing the peak power value in the assignable power value and sending the power-off permission information to the service module;
the service module is used for responding to the power-off permission information and powering off.
5. A power management device applied to a management module, the device comprising:
the receiving unit is used for receiving a power-on request sent by the service module;
the computing unit is used for acquiring the peak power value of the service module which sends the power-on request;
the management unit is used for judging whether the distributable power value is larger than the calculated peak power value or not, if so, deducting the peak power value from the distributable power value, and sending power-on permission information to the service module;
the service module is used for responding to the power-on permission information and starting power-on;
the assignable power value is associated with a power module total power value, a peak power value of the powered-up module.
6. The apparatus of claim 5, wherein the assignable power value is further associated with a redundant power value.
7. The apparatus of claim 5, wherein the assignable power value is further associated with a mandatory module reserve power value.
8. The apparatus of claim 5,
receiving a power-off request sent by a powered-on service module;
acquiring a peak power value of a service module sending the power-off request;
increasing the peak power value in the assignable power value and sending the power-off permission information to the service module;
the service module is used for responding to the power-off permission information and powering off.
9. An electronic device, comprising: a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to perform the method of any one of claims 1 to 4.
10. A machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any of claims 1-4.
CN202011060891.1A 2020-09-30 2020-09-30 Power management method, device, equipment and machine-readable storage medium Pending CN112230755A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011060891.1A CN112230755A (en) 2020-09-30 2020-09-30 Power management method, device, equipment and machine-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011060891.1A CN112230755A (en) 2020-09-30 2020-09-30 Power management method, device, equipment and machine-readable storage medium

Publications (1)

Publication Number Publication Date
CN112230755A true CN112230755A (en) 2021-01-15

Family

ID=74119914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011060891.1A Pending CN112230755A (en) 2020-09-30 2020-09-30 Power management method, device, equipment and machine-readable storage medium

Country Status (1)

Country Link
CN (1) CN112230755A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441506A (en) * 2007-11-20 2009-05-27 中兴通讯股份有限公司 Blade server system and power consumption management method thereof
CN105262613A (en) * 2015-09-07 2016-01-20 北京星网锐捷网络技术有限公司 Dynamic power management method and device
CN105929923A (en) * 2016-04-25 2016-09-07 浙江大华技术股份有限公司 Management method and apparatus for power of power supply
CN109753138A (en) * 2018-12-14 2019-05-14 新华三技术有限公司 Power consumption management method, device, electronic equipment and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101441506A (en) * 2007-11-20 2009-05-27 中兴通讯股份有限公司 Blade server system and power consumption management method thereof
CN105262613A (en) * 2015-09-07 2016-01-20 北京星网锐捷网络技术有限公司 Dynamic power management method and device
CN105929923A (en) * 2016-04-25 2016-09-07 浙江大华技术股份有限公司 Management method and apparatus for power of power supply
CN109753138A (en) * 2018-12-14 2019-05-14 新华三技术有限公司 Power consumption management method, device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10429921B2 (en) Datacenter power management optimizations
US8487473B2 (en) Hierarchical power smoothing
JP5496518B2 (en) Centralized power management method, device-side agent, centralized power management controller, and centralized power management system
US9201486B2 (en) Large scale dynamic power budget adjustments for optimizing power utilization in a data center
US8131515B2 (en) Data center synthesis
CN101276301B (en) The method and apparatus of Resources allocation between backup tasks in data backup system
US8843772B2 (en) Systems and methods for dynamic power allocation in an information handling system environment
US20150058844A1 (en) Virtual computing resource orchestration
US11029739B2 (en) Continuously available power control system
JP2012523593A (en) Storage system and control method of storage device
US9336106B2 (en) Dynamically limiting bios post for effective power management
EP2524277A2 (en) Methods and apparatus for coordinated energy management in virtualized data centers
JP2013524317A (en) Managing power supply in distributed computing systems
CN103620520A (en) Power capping based on generator capacity
US9917704B2 (en) Energy saving monitoring method and device
CN115427934A (en) Managing power resources for a pool of virtual machines
US20150153819A1 (en) Management apparatus and method for controlling information processing apparatuses
US8473769B2 (en) Efficient routing of computing tasks
KR20160032881A (en) Cloud based intelligent power control system
CN106708668A (en) BBU accumulator mode switching method based on Rack machine cabinet
CN112230755A (en) Power management method, device, equipment and machine-readable storage medium
CN114265742A (en) Virtual terminal control method, device, system, electronic equipment and storage medium
EP3982258A1 (en) Method and apparatus for reducing power consumption of virtual machine cluster
JP2011065469A (en) Distributed file system and node start-up method in distributed file system
CN111327663A (en) Bastion machine distribution method and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination