CN104572402B - A kind of server and the method for realizing server energy consumption management - Google Patents

A kind of server and the method for realizing server energy consumption management Download PDF

Info

Publication number
CN104572402B
CN104572402B CN201510068007.1A CN201510068007A CN104572402B CN 104572402 B CN104572402 B CN 104572402B CN 201510068007 A CN201510068007 A CN 201510068007A CN 104572402 B CN104572402 B CN 104572402B
Authority
CN
China
Prior art keywords
server
firmwares
energy consumption
bmc
sent
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
CN201510068007.1A
Other languages
Chinese (zh)
Other versions
CN104572402A (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.)
Inspur Beijing Electronic Information Industry Co Ltd
Original Assignee
Inspur Beijing Electronic Information Industry 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 Inspur Beijing Electronic Information Industry Co Ltd filed Critical Inspur Beijing Electronic Information Industry Co Ltd
Priority to CN201510068007.1A priority Critical patent/CN104572402B/en
Publication of CN104572402A publication Critical patent/CN104572402A/en
Application granted granted Critical
Publication of CN104572402B publication Critical patent/CN104572402B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The present invention provides a kind of server and the method for realizing server energy consumption management.Server includes baseboard management controller (BMC) and management engine (ME) firmware.ME firmwares send the message for obtaining server energy consumption to BMC;The message for the acquisition server energy consumption that BMC response ME firmwares are sent, server energy consumption is sent to ME firmwares.The present invention sends server energy consumption the mode for substituting the power module of ME firmwares connection server in the prior art to obtain server energy consumption to ME firmwares by BMC, simplifies the hardware circuit connection that ME firmwares obtain server energy consumption.

Description

A kind of server and the method for realizing server energy consumption management
Technical field
The present invention relates to server technology, more particularly to a kind of server and the method for realizing server energy consumption management.
Background technology
In the computer room for possessing a large amount of servers, due to computer room, workable general power is certain in itself, therefore is had very much Being likely to occur the load too high of Servers-all causes general power to exceed situation of the computer room rated power so as to power-off, causes to own Server it is all out of service.Therefore, in the case where server load is bigger, even if influenceing the performance of server, also need To meet condition of the power consumption of whole computer room under the rated power of computer room first.Therefore, it is necessary to one is set up in computer room Set system, for the server energy consumption of server in the whole computer room of monitoring management, ensure that the server energy consumption of Servers-all exists Under rated power, caused by avoiding the occurrence of pressure power-off the problems such as service disconnection, loss of data.
For having the clothes of baseboard management controller (BMC, Baseboard Management Controller) in computer room It is engaged in for device, the method for the server energy consumption of server generally comprises in the existing whole computer room of monitoring management:It is each in computer room The server energy consumption of server where management engine (ME, Manageability Engine) firmware of server obtains, and The server energy consumption of server where the BMC of each server is obtained in computer room, the BMC of place server is again by place server Server energy consumption send to central control equipment, by central control equipment according to the server energy consumption of computer room Servers-all and The rated power of computer room formulates the power consumption control strategy for each server, i.e., there is each server in computer room belongs to certainly Oneself power consumption control strategy.Central control equipment sends the power consumption control strategy of each server to corresponding server BMC, then sent the power consumption control strategy received to the ME firmwares of corresponding server by the BMC of corresponding server.Often The ME firmwares of one server are according to where the server energy consumption of place server and the power consumption control Developing Tactics of place server The frequency and utilization rate of the CPU (Central Processing Unit, CPU) of server, so as to realize pair The control of CPU power consumption.In server full-load run, power consumption is largely all consumed on CPU, therefore by controlling CPU work( The control to whole server energy consumption can be achieved in consumption.
The method of the server energy consumption of server generally comprises where the ME firmwares of each server obtain:By each service The ME firmwares of device pass through internal integrated circuit (Inter-Integrated Circuit, I2C serviced where) bus is attached directly to On the power module of device, ME firmwares manage bus (System Management Bus, SMBUS) association by sending modular system Packet is discussed to the power module of server to obtain power supply power consumption, but this design has a variety of electricity in a server Need to carry out I in the case of source module2The extension of C buses could smoothly read the power consumption of all power modules, while The calculating for also needing to carry out server energy consumption after the power consumption of all power modules is read, this processing is complex.
The method of the server energy consumption of server generally comprises where the BMC of each server is obtained:By each server BMC pass through I2C buses are connected with each power module of place server, and BMC is by sending SMBUS protocol datas bag to institute In each power module of server to obtain the power consumption of each power module, while after the power consumption of all power modules is read The calculating of server energy consumption is carried out again.
Existing server energy consumption management method is, it is necessary to which the power module of ME firmware connection servers obtains server work( Consumption, in the case where server has multiple power modules, the power module of ME firmware connection servers obtains server energy consumption Need more complicated hardware circuit.
The content of the invention
In order to solve the above-mentioned technical problem, the present invention provides a kind of server and the method for realizing server energy consumption management, Simplify the hardware circuit connection for realizing that ME firmwares obtain server energy consumption.
In order to reach the object of the invention, the present invention provides a kind of server, including:ME firmwares and BMC, wherein,
ME firmwares, the message of server energy consumption is obtained for being sent to BMC;And
BMC, the message of the acquisition server energy consumption for responding the transmission of ME firmwares, server energy consumption is sent to ME and consolidated Part.
Further, ME firmwares pass through internal integrated circuit I2C buses are connected with BMC.
Further, ME firmwares are specifically used for the IPMI for sending once acquisition server energy consumption to BMC every preset time period Message.
Further, BMC is specifically used for the message for the acquisition server energy consumption that response ME firmwares are sent, and is disappeared by sending IPMI Breath sends server energy consumption to ME firmwares.
Further, BMC, it is additionally operable to send server energy consumption to the central control equipment of control server, is controlled from center The power consumption control strategy of control equipment the reception server, and power consumption control strategy is sent to ME firmwares;And ME firmwares, also use According to the power consumption control realized from the BMC server energy consumptions received and power consumption control strategy to server.
In order to reach the object of the invention, the present invention also provides a kind of method for realizing server energy consumption management, including:
The ME firmwares of server send the message for obtaining server energy consumption to the BMC of server;And
The message for the acquisition server energy consumption that the BMC response ME firmwares of server are sent, server energy consumption is sent to ME Firmware.
Further, ME firmwares pass through internal integrated circuit I2C buses are connected with BMC.
Further, the message of ME firmwares transmission acquisition server energy consumption specifically includes:ME firmwares every preset time period to BMC sends the IPMI message for once obtaining server energy consumption.
Further, BMC responds the message for the acquisition server energy consumption that ME firmwares are sent, and server energy consumption is sent to ME and consolidated Part specifically includes:The message for the acquisition server energy consumption that BMC response ME firmwares are sent, is sent out server energy consumption by IPMI message Deliver to ME firmwares.
Further, BMC sends server energy consumption to the central control equipment of control server, is connect from central control equipment The power consumption control strategy of server is received, and power consumption control strategy is sent to ME firmwares;And ME firmwares receive according to from BMC The server energy consumption and power consumption control strategy arrived realizes the power consumption control to server.
Compared with prior art, the present invention includes:The ME firmwares of server send to the BMC of server and obtain server work( The message of consumption;The message for the acquisition server energy consumption that BMC response ME firmwares are sent, server energy consumption is sent to ME firmwares.This Invention sends server energy consumption by BMC the power module for substituting ME firmwares connection server in the prior art to ME firmwares The mode of server energy consumption is obtained, simplifies the hardware circuit connection that ME firmwares obtain server energy consumption.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical solution of the present invention, and a part for constitution instruction, with this The embodiment of application is used to explain technical scheme together, does not form the limitation to technical solution of the present invention.
Fig. 1 is a kind of structured flowchart of server of the present invention;
Fig. 2 is a kind of flow chart for the method for realizing server energy consumption management of the present invention.
Embodiment
For the object, technical solutions and advantages of the present invention are more clearly understood, below in conjunction with accompanying drawing to the present invention Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
Can be in the computer system of such as one group computer executable instructions the flow of accompanying drawing illustrates the step of Perform.Also, although logical order is shown in flow charts, in some cases, can be with suitable different from herein Sequence performs shown or described step.
Inventor has found that existing server, BMC, which is not set, to be transferred directly to ME by the server energy consumption of acquisition and consolidate Part, therefore the server energy consumption of acquisition can not be sent to ME firmwares by BMC.
Fig. 1 is refer to, the present invention provides a kind of server, including at least ME firmwares and BMC, wherein,
ME firmwares, the message of server energy consumption is obtained for sending to BMC.
Wherein, ME firmwares pass through I2C buses are connected with BMC.
Wherein, ME firmwares be specifically used for every preset time period to BMC send once obtain server energy consumption intelligence put down Platform management interface (IPMI, Intelligent Platform Management Interface) message.Preset time period can be set It is set to 1 second.The setting of preset time period is set according to the actual environment of computer room, such as, when computer room server server Change of power consumption is more frequent, can set shorter preset time period, to guarantee to be changed according to the server energy consumption of server, and When adjust power consumption control strategy.When the server energy consumption change of the server of computer room is more stable, when can set longer default Between section, with reduce because frequently acquisition server energy consumption caused by BMC and ME firmwares computational burden.
BMC, the message of the acquisition server energy consumption for responding the transmission of ME firmwares, server energy consumption is sent to ME and consolidated Part.
Wherein, BMC is specifically used for the message for the acquisition server energy consumption that response ME firmwares are sent, by sending IPMI message Server energy consumption is sent to ME firmwares.BMC is by sending specific implementation of the IPMI message to ME firmwares transmission server energy consumption Belong to the common knowledge of those skilled in the art, the protection domain being not intended to limit the present invention, repeat no more here.
The server of the present invention, by directly sending the BMC server energy consumptions obtained to ME firmwares, substitute prior art The power module of middle ME firmwares connection server obtains the mode of server energy consumption, simplifies and realizes that ME firmwares obtain server work( The hardware circuit connection of consumption.
BMC is additionally operable to, and server energy consumption is sent to the central control equipment of control server, connect from central control equipment The power consumption control strategy of server where receiving BMC, and power consumption control strategy is write into ME firmwares.
Wherein, BMC is connected by network with central control equipment.
Wherein, central control equipment is according to the server energy consumption of computer room Servers-all and the rated power making machine of computer room The power consumption control strategy of each server in room, i.e., each server has one's own power consumption control plan in computer room Slightly, central control equipment sends the power consumption control strategy of each server itself to the BMC of corresponding server, then by right The BMC for the server answered sends the power consumption control strategy received to the ME firmwares of corresponding server.Wherein, each service The power consumption control strategy of device includes highest power consumption when server is fully loaded with work.The specific implementation for formulating power consumption control strategy belongs to The common knowledge of those skilled in the art, the protection domain being not intended to limit the present invention, is repeated no more here.
In fact, can add power consumption setting option in BMC monitoring management interface, whether configurable the machine participates in unification Power managed, and when native program runs load down to the more power consumption redundancies of central control equipment application.If The restriction of manual configuration power consumption causes server to be not involved in unified power consumption control in interface, then BMC must be controlled to center Control equipment is applied.The strategy controlled manually can be just realized after central control equipment is ratified and is registered, if Central control equipment registration is not caused excessively total power consumption to exceed computer room by the server number of units that central control equipment controls Rated power, then central control equipment no longer ratify BMC application, cause application fail.For by registration not by center For the server of control device control power consumption, server energy consumption stills need to be sent to central control equipment, in its operation load Aggravate, during power consumption rises, central control equipment can reduce the highest power consumption limits of other servers to avoid overflow Determine the situation of power.Therefore, in the present invention, the server energy consumption of computer room Servers-all is required for sending to center control and set It is standby, to formulate the power consumption control strategy for each server by central control equipment control.
ME firmwares, it is additionally operable to realize to server according to from the BMC server energy consumptions received and power consumption control strategy Power consumption control.
Wherein, ME firmwares are according to the server energy consumption and the CPU of power consumption control Developing Tactics server received from BMC Frequency and utilization rate, to realize the power consumption control to server, server energy consumption is specially controlled to be no more than the work(of server The highest power consumption consumed in control strategy.In server full-load run, power consumption is largely all consumed on CPU, therefore passes through control CPU processed power consumption can realize the control to whole server energy consumption.
With reference to figure 2, the present invention also provides a kind of method for realizing server energy consumption management, including:
Step 200, ME firmwares send the message for obtaining server energy consumption to BMC.
The message for the acquisition server energy consumption that step 201, BMC response ME firmwares are sent, server energy consumption is sent to ME Firmware.
The inventive method also includes:
Step 202, BMC send server energy consumption to the central control equipment of control server, from central control equipment The power consumption control strategy for server is received, and the power consumption control strategy of server is sent to ME firmwares.
Step 203, ME firmwares are realized to server according to the server energy consumption and power consumption control strategy received from BMC Power consumption control.
Although disclosed herein embodiment as above, described content be only readily appreciate the present invention and use Embodiment, it is not limited to the present invention.Technical staff in any art of the present invention, taken off not departing from the present invention On the premise of the spirit and scope of dew, any modification and change, but the present invention can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (10)

  1. A kind of 1. server, it is characterised in that including:Management engine ME firmwares and baseboard management controller BMC, wherein,
    ME firmwares, the message of server energy consumption is obtained for being sent to BMC;And
    BMC, the message of the acquisition server energy consumption for responding the transmission of ME firmwares, server energy consumption is sent to ME firmwares, BMC Monitoring management interface include power consumption setting option, for configuring whether the server native participates in unified power managed.
  2. 2. server as claimed in claim 1, it is characterised in that the ME firmwares pass through internal integrated circuit I2C buses and institute State BMC connections.
  3. 3. server as claimed in claim 1 or 2, it is characterised in that the ME firmwares are specifically used for, every preset time period The IPMI IPMI message for once obtaining server energy consumption is sent to the BMC.
  4. 4. server as claimed in claim 1 or 2, it is characterised in that the BMC is specifically used for responding the ME firmwares transmission Acquisition server energy consumption message, the server energy consumption is sent to the ME firmwares by sending IPMI message.
  5. 5. server as claimed in claim 1 or 2, it is characterised in that the BMC, be additionally operable to send out the server energy consumption The central control equipment for controlling the server is delivered to, the power consumption control plan of the server is received from the central control equipment Slightly, and the power consumption control strategy is sent to the ME firmwares;And
    The ME firmwares, it is additionally operable to realize to described according to from the BMC server energy consumptions received and power consumption control strategy The power consumption control of server.
  6. A kind of 6. method for realizing server energy consumption management, it is characterised in that including:
    The management engine ME firmwares of server send the message for obtaining server energy consumption to the substrate manager BMC of server;
    The message for the acquisition server energy consumption that BMC response ME firmwares are sent, server energy consumption is sent to ME firmwares, BMC prison Controlling administration interface includes power consumption setting option, for configuring whether the server native participates in unified power managed.
  7. 7. method as claimed in claim 6, it is characterised in that the ME firmwares pass through internal integrated circuit I2C buses with it is described BMC connections.
  8. 8. method as claimed in claims 6 or 7, it is characterised in that the ME firmwares send the message for obtaining server energy consumption Specifically include:
    The ME firmwares send the IPMI for once obtaining server energy consumption every preset time period to the BMC IPMI message.
  9. 9. method as claimed in claims 6 or 7, it is characterised in that the BMC responds the acquisition service that the ME firmwares are sent The message of device power consumption, the server energy consumption is sent to the ME firmwares and specifically included:
    The BMC responds the message for the acquisition server energy consumption that the ME firmwares are sent, by IPMI message by the server Power consumption is sent to the ME firmwares.
  10. 10. method as claimed in claims 6 or 7, it is characterised in that also include:
    The BMC sends the server energy consumption to the central control equipment for controlling the server, from the center control Equipment receives the power consumption control strategy of the server, and the power consumption control strategy is sent to the ME firmwares;And
    The ME firmwares are realized to the server according to the server energy consumption and power consumption control strategy received from the BMC Power consumption control.
CN201510068007.1A 2015-02-09 2015-02-09 A kind of server and the method for realizing server energy consumption management Active CN104572402B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510068007.1A CN104572402B (en) 2015-02-09 2015-02-09 A kind of server and the method for realizing server energy consumption management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510068007.1A CN104572402B (en) 2015-02-09 2015-02-09 A kind of server and the method for realizing server energy consumption management

Publications (2)

Publication Number Publication Date
CN104572402A CN104572402A (en) 2015-04-29
CN104572402B true CN104572402B (en) 2017-11-24

Family

ID=53088536

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510068007.1A Active CN104572402B (en) 2015-02-09 2015-02-09 A kind of server and the method for realizing server energy consumption management

Country Status (1)

Country Link
CN (1) CN104572402B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106959935B (en) * 2017-03-13 2020-08-04 苏州浪潮智能科技有限公司 Method compatible with I2C communication and IPMB communication
CN111581043A (en) * 2019-07-29 2020-08-25 新华三信息技术有限公司 Server power consumption monitoring method and device and server
CN111949478B (en) * 2020-07-28 2022-03-22 山东英信计算机技术有限公司 Method and system for controlling upper limit of power consumption of server and related components

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103902016A (en) * 2014-04-28 2014-07-02 浪潮电子信息产业股份有限公司 Server power consumption management method oriented to scene prediction
CN103926994A (en) * 2014-04-04 2014-07-16 浪潮电子信息产业股份有限公司 ME based dynamic server energy consumption management and correction method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201224728A (en) * 2010-12-14 2012-06-16 Hon Hai Prec Ind Co Ltd Power self-controlling networking device and method of controlling power

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103926994A (en) * 2014-04-04 2014-07-16 浪潮电子信息产业股份有限公司 ME based dynamic server energy consumption management and correction method
CN103902016A (en) * 2014-04-28 2014-07-02 浪潮电子信息产业股份有限公司 Server power consumption management method oriented to scene prediction

Also Published As

Publication number Publication date
CN104572402A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
US9998359B2 (en) Simultaneous operation of remote management and link aggregation
US9800087B2 (en) Multi-level data center consolidated power control
US10429914B2 (en) Multi-level data center using consolidated power control
US9531551B2 (en) Dynamically configurable power-over-ethernet apparatus and method
US8930725B2 (en) Server rack system for managing power supply
CN102457512B (en) A kind of thin client server virtual method and virtual thin client server
US10630494B2 (en) PoE powered device with link layer startup processor
CN106339058A (en) Dynamic power supply management method and system
CN104953694B (en) Power distribution system
CN102164044A (en) Networking method and system
CN107409053B (en) Active Ethernet power supply method and system
US8892910B2 (en) Method and system for providing dynamic power sharing to network devices
US10996724B2 (en) Providing power to a server
US9037878B2 (en) Server rack system
WO2017215268A1 (en) Method and device for router control, power adapter, and router
CN110554943B (en) Multi-node server CMC management system and method based on I3C
CN104572402B (en) A kind of server and the method for realizing server energy consumption management
CN113645047B (en) Out-of-band management system and server based on intelligent network card
CN109981298A (en) Industrial switch POE power management method and management system
CN109002354A (en) A kind of computing resource cubic elasticity telescopic method and system based on OpenStack
CN104270430A (en) Server remote dispatching method suitable for cloud computing
CN102469168A (en) Method for setting network address
US8046602B2 (en) Controlling connection status of network adapters
CN102857360A (en) Power management system and power management method
JP6041056B2 (en) Information processing apparatus and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant