5

Is it possible to check the power usage of an entire machine via IPMI, BIOS, or any other option? I have done some searching but no results have came up yet.

PDUs only show the total usage, so this would be an interesting way of seeing which machines are sucking up the power.


Yes, I read about a couple of the options mentioned here but we are using a Supermicro system with a Supermicro X9SCL+-F motherboard, which does not mention anything but voltage in the sensor data:

6: +5V (Voltage): 5.09 V (4.45/5.57): [OK]
7: +12V (Voltage): 12.03 V (10.65/13.30): [OK] 8: -12V (Voltage): -12.38 V (-12.77/-11.02): [OK]
9: +3.3V (Voltage): 3.22 V (2.90/3.67): [OK]
10: +3.3VSB (Voltage): 3.22 V (2.90/3.67): [OK]
11: VBAT (Voltage): 3.26 V (2.90/3.67): [OK]

Any ideas for this type of system, or is it simply not possible?

Thank you! :)

ewwhite
  • 194,921
  • 91
  • 434
  • 799
Jacob
  • 51
  • 1
  • 1
  • 2
  • What type of server is this? HP ILO and Dell DRAC offer this. – ewwhite May 15 '12 at 12:43
  • Yes, I read about a couple of the options mentioned here but we are using a Supermicro system with a Supermicro X9SCL+-F motherboard, which does not mention anything but voltage in the sensor data: 6: +5V (Voltage): 5.09 V (4.45/5.57): [OK]
    7: +12V (Voltage): 12.03 V (10.65/13.30): [OK] 8: -12V (Voltage): -12.38 V (-12.77/-11.02): [OK]
    9: +3.3V (Voltage): 3.22 V (2.90/3.67): [OK]
    10: +3.3VSB (Voltage): 3.22 V (2.90/3.67): [OK]
    11: VBAT (Voltage): 3.26 V (2.90/3.67): [OK]
    Any ideas for this type of system, or is it simply not possible? Thank you! :)
    – Jacob May 15 '12 at 19:39
  • I've updated my answer below regarding using DCMI. There is a decent chance it's on your motherboard. – Albert Chu May 16 '12 at 01:37

5 Answers5

8

I've seen support via IPMI, but they are via extensions to IPMI and depend on whether there is support in the motherboard for it. Here's an example on the Dell Poweredge R610 using FreeIPMI:

> /usr/sbin/ipmi-oem dell get-power-consumption-data
Cumulative Energy Start Time : 09/10/09 - 16:07:49
Cumulative Energy            : 199.93
kWh Peak Amp Time            : 04/27/11 - 19:18:27
Peak Amp                     : 0.90 A
Peak Watt Time               : 04/27/11 - 23:10:10
Peak Watt                    : 197 W

and this is on an Intel motherboard (not sure of rev) using Intel Node Manager extensions.

> /usr/sbin/ipmi-oem intelnm get-node-manager-statistics
Current Power                                 : 490 Watts
Minimum Power                                 : 36 Watts
Maximum Power                                 : 681 Watts
Average Power                                 : 497 Watts
Power Statistics Reporting Period             : 1 seconds
Power Global Administrative State             : Enabled
Power Measurements State                      : In Progress

Current Inlet Temperature                     : 18 Celsius
Minimum Inlet Temperature                     : 16 Celsius
Maximum Inlet Temperature                     : 25 Celsius
Average Inlet Temperature                     : 20 Celsius
Inlet Temperature Statistics Reporting Period : 3 seconds
Inlet Temperature Global Administrative State : Disabled
Inlet Temperature Measurements State          : In Progress

The Intel Node Manager extensions are supported by a decent number of motherboards.

There is an additional standard out there called the Data Center Management Interface (DCMI) that some motherboards support. If your motherboard supports it, similar IPMI extensions can be used to measure system power (FreeIPMI's ipmi-dcmi or ipmitool's 'dcmi' command are two I'm aware of).

Update on your Supermicro comment:

I can't speak for your specific motherboard, but some Supermicro motherboards in this "generation" have DCMI support. Here's what I got on a X8DTG-D.

> /usr/sbin/ipmi-dcmi --get-system-power-statistics
Current Power                        : 246 Watts
Minimum Power over sampling duration : 246 watts
Maximum Power over sampling duration : 246 watts
Average Power over sampling duration : 246 watts
Time Stamp                           : 05/15/2012 - 18:31:24
Statistics reporting time period     : 69380 milliseconds
Power Measurement                    : Not Available
jftuga
  • 5,572
  • 4
  • 39
  • 50
Albert Chu
  • 646
  • 3
  • 5
3

ipmitool sdr will pull the available sensor data on the system. You may see a wattage level, depending on the type of hardware you're using.

ewwhite
  • 194,921
  • 91
  • 434
  • 799
2

Intelligent Rack PDU's with individual outlet-level metering can show per server or per server power supply power consumption, per branch circuit within the rack PDU, and at the input feed. There more widely available now vs. just a few years ago. You can typically get current, voltage, and in some cases, billing grade energy (kWh) data.

Also, if you're just looking for something for planning purposes, here's a site that provides server power consumption vs. workload (or utilization) by vendor make and model. http://spec.org/power_ssj2008/results/

1

It depends on what sensor data the BMC makes available to you. I do know that recent version of HP's iLO cards do make current draw available.

Additionally, you can get PDUs that give data on a per-socket basis, instead of just per-bank or per-unit.

EEAA
  • 108,414
  • 18
  • 172
  • 242
1

You can query the power consumption with ipmitool:

ipmitool -I lanplus -H ${BMC_HOST} -U ${BMC_USER} -P ${BMC_PASS} dcmi power reading

or on newer systems with redfish:

curl -s https://${BMC_HOST}/redfish/v1/Chassis/1/Power/ -k -u ${BMC_USER}:${BMC_PASS} | jq .PowerControl[].PowerMetrics
panticz
  • 731
  • 7
  • 5