From owner-freebsd-questions@FreeBSD.ORG Tue Mar 30 15:42:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F1E11065782 for ; Tue, 30 Mar 2010 15:42:05 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from server505.appriver.com (server505a.appriver.com [98.129.35.4]) by mx1.freebsd.org (Postfix) with ESMTP id 26DA78FC0A for ; Tue, 30 Mar 2010 15:42:04 +0000 (UTC) X-Policy: GLOBAL - maxiscale.com X-Primary: psteele@maxiscale.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: psteele@maxiscale.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES->UNITED STATES X-Note-Sending-IP: 98.129.23.14 X-Note-Reverse-DNS: ht01.exg5.exghost.com X-Note-WHTLIST: psteele@maxiscale.com X-Note: User Rule Hits: X-Note: Global Rule Hits: G179 G180 G181 G182 G186 G187 G198 G285 X-Note: Encrypt Rule Hits: X-Note: Mail Class: ALLOWEDSENDER X-Note: Headers Injected Received: from [98.129.23.14] (HELO ht01.exg5.exghost.com) by server505.appriver.com (CommuniGate Pro SMTP 5.3.2) with ESMTPS id 34505317 for freebsd-questions@freebsd.org; Tue, 30 Mar 2010 10:42:02 -0500 Received: from mbx03.exg5.exghost.com ([169.254.1.132]) by ht01.exg5.exghost.com ([98.129.23.14]) with mapi; Tue, 30 Mar 2010 10:42:03 -0500 From: Peter Steele To: "freebsd-questions@freebsd.org" Date: Tue, 30 Mar 2010 10:42:02 -0500 Thread-Topic: Making sense out of impitool power supply readings Thread-Index: AcrQH4qq+DoEeFuKS5O6chix5Xypfg== Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB3B65F2D8@MBX03.exg5.exghost.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Making sense out of impitool power supply readings X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2010 15:42:05 -0000 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?