Difference between revisions of "IPMI/FreeBSD"

From Teknologisk videncenter
Jump to: navigation, search
m
m (Eksempel)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
== IPMI: Intelligent Platform Management Interface ==
 
== IPMI: Intelligent Platform Management Interface ==
Fra FreeBSD version 6.2<ref>http://www.ish.com.au/node/1337</ref> er impi indbygget i base systemet.
+
Fra FreeBSD version 6.2<ref>http://www.ish.com.au/node/1337</ref> er impi indbygget i base systemet. Bemærk '''IPMI''' er et indbygget overvågningssytem på motherboardet. Oftest fundet på server motherboard.  
 
=== Enable IPMI ===
 
=== Enable IPMI ===
 
On-the-fly
 
On-the-fly
Line 6: Line 6:
 
[root@mars run]#<input>kldload ipmi</input>
 
[root@mars run]#<input>kldload ipmi</input>
 
</source>
 
</source>
 +
Hvis IPMI modulet ikke loader, er IPMI sikkert ikke indbygget på dit motherboard.
 
Automatic load when booting
 
Automatic load when booting
 
<source lang=cli>
 
<source lang=cli>
 
[root@mars run]#<input>echo 'ipmi_load="YES"' >> /boot/loader.conf</input>
 
[root@mars run]#<input>echo 'ipmi_load="YES"' >> /boot/loader.conf</input>
 
</source>
 
</source>
 +
 
== Using ipmi ==  
 
== Using ipmi ==  
 
For at bruge ipmi skal '''ipmitool''' installeres som package eller via ports. herunder vist installation af package
 
For at bruge ipmi skal '''ipmitool''' installeres som package eller via ports. herunder vist installation af package
Line 32: Line 34:
 
Hardware (FRU: Field Replaceable Units)
 
Hardware (FRU: Field Replaceable Units)
 
<source lang=cli>
 
<source lang=cli>
[root@mars run]#ipmitool fru
+
[root@mars run]#<input>ipmitool fru</input>
 
FRU Device Description : Builtin FRU Device (ID 0)
 
FRU Device Description : Builtin FRU Device (ID 0)
 
  Chassis Type                    : Tower
 
  Chassis Type                    : Tower
Line 49: Line 51:
 
Baseboard 1.8V  | 1.78 Volts        | ok
 
Baseboard 1.8V  | 1.78 Volts        | ok
 
Baseboard 1.8VSB | 1.80 Volts        | ok
 
Baseboard 1.8VSB | 1.80 Volts        | ok
Baseboard 2.5V  | 2.49 Volts        | ok
+
<notice>.....</notice>
Baseboard 3.3V  | 3.25 Volts        | ok
+
</source>
Baseboard 3.3AUX | 3.21 Volts        | ok
+
{{Source cli}}
Baseboard 5.0V  | 4.99 Volts        | ok
+
 
Baseboard 5VSB  | 4.97 Volts        | ok
+
== System Event  Log  (SEL)==
Baseboard 12V    | 11.90 Volts      | ok
+
<source lang=cli>
Baseboard 12VRM | 11.95 Volts      | ok
+
ipmitool <input>sel time get</input>
Baseboard -12V  | -11.98 Volts      | ok
+
01/07/2011 15:26:00
Baseboard VBAT  | 3.20 Volts        | ok
+
[root@mars2 ~]# <input>ipmitool sel clear</input>
Baseboard Temp  | 38 degrees C      | ok
+
Clearing SEL. Please allow a few seconds to erase.
Basebrd FanBoost | 38 degrees C      | ok
+
[root@mars2 ~]# <input>ipmitool sel list</input>
SCSI A Term Pwr | 4.76 Volts        | ok
+
  1 | 01/07/2011 | 15:20:14 | Unknown #0xb6 | Upper Non-critical going high
SCSI B Term Pwr  | 4.73 Volts        | ok
+
  2 | 01/07/2011 | 15:20:14 | Unknown #0xb6 | Upper Critical going high
Processor 1 Temp | 31 degrees C      | ok
+
  3 | 01/07/2011 | 15:20:14 | Unknown #0xb6 | Upper Non-recoverable going high
Processor 2 Temp | 33 degrees C      | ok
+
[root@mars2 ~]# <input>ipmitool sel get 1</input>
Proc1 FanBoost  | 31 degrees C      | ok
+
SEL Record ID          : 0001
Proc2 FanBoost  | 33 degrees C      | ok
+
  Record Type           : 02
Processor 1 Fan  | no reading        | ns
+
Timestamp            : 01/07/2011 15:20:14
Processor 2 Fan  | no reading        | ns
+
Generator ID          : 0020
Processor Vccp  | 1.47 Volts        | ok
+
EvM Revision          : 04
Pwr Unit Status  | 0x00              | ok
+
Sensor Type           : Unknown
BMC Watchdog    | 0x00              | ok
+
Sensor Number        : b6
Scrty Violation | 0x00              | ok
+
Event Type            : Threshold
Physical Scrty  | 0x01              | ok
+
<notice>....</notice>
POST Error      | 0x00              | ok
 
Critical Int    | 0x00              | ok
 
Memory           | 0x00              | ok
 
Logging Disabled | 0x00              | ok
 
Proc Missing    | 0x00              | ok
 
ACPI State      | 0x01              | ok
 
System Event    | 0x00              | ok
 
Button           | 0x00              | ok
 
SMI Timeout      | 0x00              | ok
 
Sensor Failure  | 0x00              | ok
 
NMI State        | 0x00              | ok
 
SMI State        | 0x00              | ok
 
FSB Mismatch    | 0x00              | ok
 
Processor 1 Stat | 0x80              | ok
 
Processor 2 Stat | 0x80              | ok
 
CPU Therm Ctrl  | 0x01              | ok
 
Fan Redundancy  | Not Readable      | ns
 
DIMM 1          | 0x04              | ok
 
DIMM 2          | 0x04              | ok
 
DIMM 3          | 0x00              | ok
 
DIMM 4          | 0x00              | ok
 
DIMM 5          | 0x00              | ok
 
DIMM 6          | 0x00              | ok
 
 
</source>
 
</source>
{{#css: 
 
    pre {  font-family: Lucida Console; font-weight: bold; font-size: 14px; color: #00FF00; background: black; margin: 10px 50px; width: 800px; line-height: 200%; overflow: auto;}
 
}}
 
 
== References ==
 
== References ==
 
<references/>
 
<references/>
 
[[Category:FreeBSD]]
 
[[Category:FreeBSD]]

Latest revision as of 08:55, 8 January 2011

IPMI: Intelligent Platform Management Interface

Fra FreeBSD version 6.2[1] er impi indbygget i base systemet. Bemærk IPMI er et indbygget overvågningssytem på motherboardet. Oftest fundet på server motherboard.

Enable IPMI

On-the-fly

[root@mars run]#<input>kldload ipmi</input>

Hvis IPMI modulet ikke loader, er IPMI sikkert ikke indbygget på dit motherboard. Automatic load when booting

[root@mars run]#<input>echo 'ipmi_load="YES"' >> /boot/loader.conf</input>

Using ipmi

For at bruge ipmi skal ipmitool installeres som package eller via ports. herunder vist installation af package

[root@mars run]#<input>pkg_add -r ipmitool</input>

Eksempel

[root@mars run]#<input>ipmitool chassis status</input>
System Power         : on
Power Overload       : false
Power Interlock      : inactive
Main Power Fault     : false
Power Control Fault  : false
Power Restore Policy : previous
Last Power Event     : ac-failed
Chassis Intrusion    : active
Front-Panel Lockout  : inactive
Drive Fault          : false
Cooling/Fan Fault    : false

Hardware (FRU: Field Replaceable Units)

[root@mars run]#<input>ipmitool fru</input>
FRU Device Description : Builtin FRU Device (ID 0)
 Chassis Type                    : Tower
 Board Mfg Date        : Tue Jan 13 08:35:00 2004
 Board Mfg             : Intel
 Board Product         : SE7501HG2
 Board Serial          : KRH140200266
 Board Part Number     : A95718-306
 Product Manufacturer  : Intel

Sensors.

[root@mars run]#<input>ipmitool sdr</input>
Baseboard 1.2V   | 1.20 Volts        | ok
Baseboard 1.25V  | 1.25 Volts        | ok
Baseboard 1.8V   | 1.78 Volts        | ok
Baseboard 1.8VSB | 1.80 Volts        | ok
<notice>.....</notice>


System Event Log (SEL)

 ipmitool <input>sel time get</input>
01/07/2011 15:26:00
[root@mars2 ~]# <input>ipmitool sel clear</input>
Clearing SEL.  Please allow a few seconds to erase.
[root@mars2 ~]# <input>ipmitool sel list</input>
   1 | 01/07/2011 | 15:20:14 | Unknown #0xb6 | Upper Non-critical going high
   2 | 01/07/2011 | 15:20:14 | Unknown #0xb6 | Upper Critical going high
   3 | 01/07/2011 | 15:20:14 | Unknown #0xb6 | Upper Non-recoverable going high
[root@mars2 ~]# <input>ipmitool sel get 1</input>
SEL Record ID          : 0001
 Record Type           : 02
 Timestamp             : 01/07/2011 15:20:14
 Generator ID          : 0020
 EvM Revision          : 04
 Sensor Type           : Unknown
 Sensor Number         : b6
 Event Type            : Threshold
 <notice>....</notice>

References