Difference between revisions of "IPMI/FreeBSD"

From Teknologisk videncenter
Jump to: navigation, search
m (New page: == IPMI: Intelligent Platform Management Interface == Fra FreeBSD version 6.2<referenfe>http://www.ish.com.au/node/1337</reference> er impi indbygget i base systemet. === Enable IPMI === O...)
 
m (Eksempel)
 
(6 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<referenfe>http://www.ish.com.au/node/1337</reference> 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
 
Baseboard 3.3AUX | 3.21 Volts        | ok
 
Baseboard 5.0V  | 4.99 Volts        | ok
 
Baseboard 5VSB  | 4.97 Volts        | ok
 
Baseboard 12V    | 11.90 Volts      | ok
 
Baseboard 12VRM  | 11.95 Volts      | ok
 
Baseboard -12V  | -11.98 Volts      | ok
 
Baseboard VBAT  | 3.20 Volts        | ok
 
Baseboard Temp  | 38 degrees C      | ok
 
Basebrd FanBoost | 38 degrees C      | ok
 
SCSI A Term Pwr  | 4.76 Volts        | ok
 
SCSI B Term Pwr  | 4.73 Volts        | ok
 
Processor 1 Temp | 31 degrees C      | ok
 
Processor 2 Temp | 33 degrees C      | ok
 
Proc1 FanBoost  | 31 degrees C      | ok
 
Proc2 FanBoost  | 33 degrees C      | ok
 
Processor 1 Fan  | no reading        | ns
 
Processor 2 Fan  | no reading        | ns
 
Processor Vccp  | 1.47 Volts        | ok
 
Pwr Unit Status  | 0x00              | ok
 
BMC Watchdog    | 0x00              | ok
 
Scrty Violation  | 0x00              | ok
 
Physical Scrty  | 0x01              | ok
 
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:  
+
{{Source cli}}
    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;}
+
 
}}
+
== System  Event  Log  (SEL)==
 +
<source lang=cli>
 +
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>
 +
</source>
 +
== 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