Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2010 12:31:52 -0500
From:      Peter Steele <psteele@maxiscale.com>
To:        Peter Steele <psteele@maxiscale.com>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   RE: Making sense out of impitool power supply readings
Message-ID:  <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B65F388@MBX03.exg5.exghost.com>
In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B65F2D8@MBX03.exg5.exghost.com>
References:  <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B65F2D8@MBX03.exg5.exghost.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I think I might be able to solve my issues if I could filter out which of t=
hese entries returned by=20

ipmitool sdr type "Power Supply"

actually represent the physical power supplies. One of the cases I have bel=
ow for example produces a list of six sensors. Only two of those actually r=
epresent the true physical status, but when I'm writing generic code, how d=
o I filter these? In some cases the ones I want are called "PS 1 STATUS" an=
d "PS 2 STATUS" and in others "PS1 STATUS" and "PS2 STATUS" are used (note =
the missing space). Yet another one just uses "Status" for both PS sensors.=
 This is all very non-deterministic. Is there a call I can make in the ipmi=
tool library to list only the sensors representing the real power status an=
d not these other sensors like "PDB PRESENT"?

-----Original Message-----
From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@f=
reebsd.org] On Behalf Of Peter Steele
Sent: Tuesday, March 30, 2010 8:42 AM
To: freebsd-questions@freebsd.org
Subject: Making sense out of impitool power supply readings

Is there some trick to know when the power supply sensor readings returned =
by ipmitool actually reflects that there is a power supply issue? Our diffi=
culty is that no one seems to use the same sensor values when it comes to p=
ower supply reporting, and even if there are two power supplies the impitoo=
l command may only report a single status. For example, here's one box that=
 I have:

# ipmitool sdr type "Power Supply"
PS 1 STATUS      | 61h | lcr | 10.0 | 0 unspecified
PS 2 STATUS      | 62h | lnc | 10.1 | 0 unspecified
PS REDUNDANCY    | 6Fh | lcr | 19.0 | 0 unspecified

Here's another:

# ipmitool sdr type "Power Supply"
Power Supply     | 17h | ok  | 10.0 | 0 unspecified

And another:

# ipmitool sdr type "Power Supply"
PS1 PRESENT      | 53h | ok  | 10.0 | Device Present
PS2 PRESENT      | 54h | ok  | 10.1 | Device Present
PDB PRESENT      | 55h | ok  | 21.0 | Device Present
PS1 STATUS       | 4Ah | ok  | 10.0 |
PS2 STATUS       | 4Bh | ok  | 10.1 |
PS REDUNDANCY    | 4Dh | ok  | 21.0 | Fully Redundant

And here's yet another:

# ipmitool sdr type "Power Supply"
Status           | 64h | ok  | 10.1 | Presence detected
Status           | 65h | ok  | 10.2 | Presence detected
PS Redundancy    | 74h | ok  |  7.1 | Fully Redundant

All of these are systems with dual power supplies. When we query these sens=
ors are queried, on some systems "0" means the power supply is online and "=
200" means it's offline, whereas others might user 80 and 180 or 180 and 38=
0. Is there some trick in figuring out what status values means "online", o=
r would we have to maintain a table of motherboard/vendor versions and map =
these to how to interpret the PS readings?

_______________________________________________
freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman=
/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org=
"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7B9397B189EB6E46A5EE7B4C8A4BB7CB3B65F388>