03.01.2015 Views

the Power of IPMI - netways

the Power of IPMI - netways

the Power of IPMI - netways

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The <strong>Power</strong> <strong>of</strong><br />

<strong>IPMI</strong><br />

Werner Fischer<br />

Technology Specialist<br />

Thomas-Krenn.AG<br />

2 nd Open Source Data Center Conference – OSDC 2010<br />

Nuremberg, 23 rd and 24 th June 2010


Agenda<br />

1) About Thomas Krenn<br />

2) <strong>IPMI</strong> basics<br />

3) <strong>IPMI</strong> details<br />

4) Example: Nagios/Icinga <strong>IPMI</strong> Plugin<br />

5) Conclusions<br />

slide 2/26


1) About Thomas Krenn<br />

• Server systems, virtualization<br />

and accessories<br />

"Made in Germany"<br />

• Unique service and support<br />

and 24h express delivery<br />

• History<br />

– 2002: founded by Max Wittenzellner and Thomas Krenn<br />

– 2005: turned into stock corporation<br />

– 2008: DIN ISO 9001:2000 certification<br />

– today:<br />

• 70 employees – 20 <strong>of</strong> <strong>the</strong>m being technicians ;-)<br />

• over 9.000 customers<br />

slide 3/26


Agenda<br />

2) <strong>IPMI</strong> basics<br />

● <strong>IPMI</strong> main features<br />

● <strong>IPMI</strong> Illustration<br />

● <strong>IPMI</strong> Messaging Interfaces<br />

● Channel Privilege Levels<br />

● <strong>IPMI</strong> S<strong>of</strong>tware overview<br />

3) <strong>IPMI</strong> details<br />

4) Example: Nagios/Icinga <strong>IPMI</strong> Plugin<br />

5) Conclusions<br />

slide 4/26


2) <strong>IPMI</strong> basics<br />

• <strong>IPMI</strong> = Intelligent Platform Management Interface,<br />

developed by Intel, HP, NEC, Dell<br />

– 1998: <strong>IPMI</strong> v1.0<br />

– 2001: <strong>IPMI</strong> v1.5<br />

– 2004: <strong>IPMI</strong> v2.0<br />

• <strong>IPMI</strong> main features:<br />

– Monitoring (temperatures, fans, voltages, etc.)<br />

– Recovery Control (power on/<strong>of</strong>f/reset a server)<br />

– Logging (System Event Log)<br />

– Inventory (FRU information)<br />

slide 5/26


2) <strong>IPMI</strong> basics<br />

Remote Mmgt. Card<br />

(KVM over IP, ...)<br />

ICMB<br />

LAN<br />

Connector<br />

Serial<br />

Connector<br />

Auxillary<br />

IPMB Connector<br />

ICMB<br />

bridge<br />

Network<br />

(LAN)<br />

Controller<br />

Mo<strong>the</strong>rboard<br />

Serial<br />

Port<br />

Sharing<br />

M/B<br />

Serial<br />

Controller<br />

LAN<br />

interface<br />

Serial/Modem<br />

interface<br />

PCI mgmt. bus<br />

Baseboard<br />

Management<br />

Controller<br />

(BMC)<br />

BMC<br />

Serial<br />

Controller<br />

System bus<br />

System<br />

interface<br />

NVS Storage<br />

SDR<br />

SEL<br />

FRU<br />

Sensors & Controls<br />

Fan sensor<br />

Temp. sensor<br />

<strong>Power</strong> control<br />

Reset control<br />

…<br />

private mgmt. busses<br />

FRU<br />

Temp. s.<br />

Memory<br />

board<br />

IPMB<br />

FRU<br />

Processor<br />

board<br />

Chassis<br />

mgmt.<br />

(Satellite<br />

Controller)<br />

FRU<br />

Chassis board<br />

FRU<br />

Temp.<br />

sensor<br />

…<br />

Redundant <strong>Power</strong><br />

board<br />

slide 6/26


2) <strong>IPMI</strong> basics<br />

• <strong>IPMI</strong> Messaging Interfaces (request/response protocol)<br />

– System Interfaces<br />

• local access<br />

• requires root privileges<br />

– Serial/Modem Interface<br />

• access via serial interface or modem<br />

• requires <strong>IPMI</strong> user name/password (deactivate auth. NONE)<br />

– LAN Interface<br />

• access via network<br />

• requires <strong>IPMI</strong> user name/password (deactivate auth. NONE)<br />

– (ICMB and PCI Management Bus)<br />

slide 7/26


2) <strong>IPMI</strong> basics<br />

• Channel Privilege Levels (for LAN/Serial access)<br />

Privilege Level<br />

Callback<br />

User<br />

Operator<br />

Administrator<br />

Description<br />

Lowest Privilege Level.<br />

Allows only initiating a callback.<br />

Allows only <strong>IPMI</strong> 'begin' commands (query sensors).<br />

Changing <strong>the</strong> BMC configuration, writing data to <strong>the</strong><br />

BMC, executing power on/<strong>of</strong>f or reset commands is<br />

prohibited.<br />

Allows nearly all <strong>IPMI</strong> commands. Only changes <strong>of</strong><br />

out-<strong>of</strong>-band interfaces are prohibited.<br />

Allows all <strong>IPMI</strong> commands.<br />

• use privilege level 'User' for monitoring purposes<br />

slide 8/26


2) <strong>IPMI</strong> basics<br />

• <strong>IPMI</strong> S<strong>of</strong>tware overview<br />

OS Support<br />

Target Market<br />

Included in<br />

Linux Distros<br />

ipmitool ipmiutil freeipmi Open<strong>IPMI</strong><br />

(openipmish)<br />

Linux,<br />

BSD,<br />

Solaris,<br />

(Windows)<br />

admins,<br />

developers,<br />

oem's<br />

Debian,<br />

Gentoo,<br />

RedHat,<br />

SLES,<br />

Ubuntu (univ.)<br />

Linux,<br />

BSD,<br />

Solaris,<br />

Windows,<br />

EFI<br />

admins,<br />

developers,<br />

oem's<br />

Gentoo<br />

Linux,<br />

BSD,<br />

Solaris,<br />

(Windows)<br />

HPC,<br />

universities,<br />

admins, ...<br />

Debian<br />

(Squeeze),<br />

Gentoo,<br />

RedHat (exp.)<br />

Ubuntu (univ.),<br />

Linux<br />

(Kernel-driver)<br />

Debian,<br />

Gentoo,<br />

RedHat,<br />

SLES,<br />

Ubuntu<br />

slide 9/26


Agenda<br />

3) <strong>IPMI</strong> details<br />

● <strong>IPMI</strong> example configuration <strong>of</strong> a LAN interface<br />

● Remote Control<br />

● Sensors<br />

• Sensor Classes<br />

• Sensor Types<br />

• SDR (Sensor Data Record) Types<br />

• example query with ipmitool/freeipmi<br />

● System Event Log (SEL)<br />

● Platform Event Filtering (PEF)<br />

● Serial over LAN (SOL)<br />

● Field Replaceable Unit (FRU) data<br />

4) Example: Nagios/Icinga <strong>IPMI</strong> Plugin<br />

5) Conclusions<br />

slide 10/26


3) <strong>IPMI</strong> details<br />

• <strong>IPMI</strong> example configuration <strong>of</strong> a LAN interface<br />

[root@testserver ~]# ~]# ipmitool ipmitool lan lan print print 1<br />

Set Set in in Progress<br />

: Set Set Complete<br />

Auth Auth Type Type Support Support : NONE NONE MD5 MD5 PASSWORD PASSWORD<br />

Auth Auth Type Type Enable Enable : Callback Callback :<br />

: User User : MD5 MD5<br />

: Operator Operator :<br />

: Admin Admin : MD5 MD5<br />

: OEM OEM :<br />

IP IP Address Address Source Source : Static Static Address Address<br />

IP IP Address Address : 192.168.1.211<br />

Subnet Subnet Mask Mask : 255.255.255.0<br />

MAC MAC Address Address<br />

: 00:0e:0c:ea:92:a2<br />

[...] [...]<br />

slide 11/26


3) <strong>IPMI</strong> details<br />

• Remote Control<br />

[user@adminpc ~]$ ~]$ ipmitool ­I ­I lan lan ­H ­H 192.168.1.211 \<br />

­U ­U admin admin ­P ­P relation relation power power status status<br />

Chassis Chassis <strong>Power</strong> <strong>Power</strong> is is <strong>of</strong>f <strong>of</strong>f<br />

[user@adminpc ~]$ ~]$<br />

[user@adminpc ~]$ ~]$ ipmitool ­I ­I lan lan ­H ­H 192.168.1.211 \<br />

­U ­U admin admin ­P ­P relation relation power power on on<br />

Chassis Chassis <strong>Power</strong> <strong>Power</strong> Control: Control: Up/On Up/On<br />

[user@adminpc ~]$ ~]$<br />

[user@adminpc ~]$ ~]$ ipmitool ­I ­I lan lan ­H ­H 192.168.1.211 \<br />

­U ­U admin admin ­P ­P relation relation power power status status<br />

Chassis Chassis <strong>Power</strong> <strong>Power</strong> is is on on<br />

[user@adminpc ~]$ ~]$<br />

slide 12/26


3) <strong>IPMI</strong> details<br />

• Sensors: Sensor Classes (1/2)<br />

Discrete<br />

multiple states possible:<br />

●<br />

up to 15 states<br />

●<br />

each state is reflected by a bit<br />

●<br />

multiple state bits can active at a time<br />

can provide:<br />

●<br />

generic states (Table 42-2) or<br />

●<br />

sensor-specific states (Table 42-3)<br />

o<strong>the</strong>r classes similar to discrete:<br />

●<br />

Digital: term <strong>of</strong>ten used for discrete<br />

sensors with two possible states<br />

●<br />

OEM: discrete sensor where <strong>the</strong><br />

meaning <strong>of</strong> <strong>the</strong> states (<strong>of</strong>fsets) are<br />

OEM defined<br />

Threshold<br />

changes event status on analog<br />

reading comparison to threshold<br />

values<br />

provides:<br />

●<br />

analog reading <strong>of</strong> <strong>the</strong> sensor and<br />

●<br />

discr. threshold comparison status<br />

bit (generic state, Table 42-2)<br />

slide 13/26


3) <strong>IPMI</strong> details<br />

• Sensors: Sensor Classes (2/2)<br />

Discrete<br />

[root@test ~]# ipmitool sdr get "PS2 Status"<br />

[root@test ~]# ipmitool sdr get "PS2 Status"<br />

Sensor ID<br />

: PS2 Status (0x71)<br />

Sensor ID<br />

: PS2 Status (0x71)<br />

Entity ID<br />

: 10.2 (<strong>Power</strong> Supply)<br />

Entity ID<br />

: 10.2 (<strong>Power</strong> Supply)<br />

Sensor Type (Discrete): <strong>Power</strong> Supply<br />

Sensor Type (Discrete): <strong>Power</strong> Supply<br />

States Asserted : <strong>Power</strong> Supply<br />

States Asserted : <strong>Power</strong> Supply<br />

[Presence detected]<br />

[Presence detected]<br />

[<strong>Power</strong> Supply AC lost]<br />

[<strong>Power</strong> Supply AC lost]<br />

Assertion Events : <strong>Power</strong> Supply<br />

Assertion Events : <strong>Power</strong> Supply<br />

[Presence detected]<br />

[Presence detected]<br />

[<strong>Power</strong> Supply AC lost]<br />

[<strong>Power</strong> Supply AC lost]<br />

Assertions Enabled : <strong>Power</strong> Supply<br />

Assertions Enabled : <strong>Power</strong> Supply<br />

[Presence detected]<br />

[Presence detected]<br />

[Failure detected]<br />

[Failure detected]<br />

[Predictive failure]<br />

[Predictive failure]<br />

[<strong>Power</strong> Supply AC lost]<br />

[<strong>Power</strong> Supply AC lost]<br />

[...]<br />

[...]<br />

Deassertions Enabled : <strong>Power</strong> Supply<br />

Deassertions Enabled : <strong>Power</strong> Supply<br />

[...]<br />

[...]<br />

Threshold<br />

[root@test ~]# ipmitool sdr get "Fan 1"<br />

[root@test ~]# ipmitool sdr get "Fan 1"<br />

Sensor ID<br />

: Fan 1 (0x50)<br />

Sensor ID<br />

: Fan 1 (0x50)<br />

Entity ID<br />

: 29.1 (Fan Device)<br />

Entity ID<br />

: 29.1 (Fan Device)<br />

Sensor Type (Analog) : Fan<br />

Sensor Type (Analog) : Fan<br />

Sensor Reading : 5719 (+/­ 0) RPM<br />

Sensor Reading : 5719 (+/­ 0) RPM<br />

Status<br />

: ok<br />

Status<br />

: ok<br />

Nominal Reading : 6708.000<br />

Nominal Reading : 6708.000<br />

Normal Minimum : 2451.000<br />

Normal Minimum : 2451.000<br />

Normal Maximum : 10965.000<br />

Normal Maximum : 10965.000<br />

Lower critical : 1720.000<br />

Lower critical : 1720.000<br />

Lower non­critical : 1978.000<br />

Lower non­critical : 1978.000<br />

Positive Hysteresis : 86.000<br />

Positive Hysteresis : 86.000<br />

Negative Hysteresis : 86.000<br />

Negative Hysteresis : 86.000<br />

Minimum sensor range : Unspecified<br />

Minimum sensor range : Unspecified<br />

Maximum sensor range : Unspecified<br />

Maximum sensor range : Unspecified<br />

Event Message Control : Per­threshold<br />

Event Message Control : Per­threshold<br />

Readable Thresholds : lcr lnc<br />

Readable Thresholds : lcr lnc<br />

Settable Thresholds : lcr lnc<br />

Settable Thresholds : lcr lnc<br />

Threshold Read Mask : lcr lnc<br />

Threshold Read Mask : lcr lnc<br />

Assertion Events :<br />

Assertion Events :<br />

Assertions Enabled : lnc­ lcr­<br />

Assertions Enabled : lnc­ lcr­<br />

Deassertions Enabled : lnc­ lcr­<br />

Deassertions Enabled : lnc­ lcr­<br />

slide 14/26


3) <strong>IPMI</strong> details<br />

• Sensors: Sensor Types<br />

Sensor Types (Table 42-3)<br />

[root@testserver ~]# ipmitool sdr type list<br />

[root@testserver ~]# ipmitool sdr type list<br />

Sensor Types:<br />

Sensor Types:<br />

Temperature<br />

Voltage<br />

Temperature<br />

Voltage<br />

Current<br />

Fan<br />

Current<br />

Fan<br />

Physical Security<br />

Platform Security<br />

Physical Security<br />

Platform Security<br />

Processor<br />

<strong>Power</strong> Supply<br />

Processor<br />

<strong>Power</strong> Supply<br />

<strong>Power</strong> Unit<br />

Cooling Device<br />

<strong>Power</strong> Unit<br />

Cooling Device<br />

O<strong>the</strong>r<br />

Memory<br />

O<strong>the</strong>r<br />

Memory<br />

Drive Slot / Bay<br />

POST Memory Resize<br />

Drive Slot / Bay<br />

POST Memory Resize<br />

System Firmwares<br />

Event Logging Disabled<br />

System Firmwares<br />

Event Logging Disabled<br />

Watchdog<br />

System Event<br />

Watchdog<br />

System Event<br />

Critical Interrupt<br />

Button<br />

Critical Interrupt<br />

Button<br />

Module / Board<br />

Microcontroller<br />

Module / Board<br />

Microcontroller<br />

Add­in Card<br />

Chassis<br />

Add­in Card<br />

Chassis<br />

Chip Set<br />

O<strong>the</strong>r FRU<br />

Chip Set<br />

O<strong>the</strong>r FRU<br />

Cable / Interconnect Terminator<br />

Cable / Interconnect Terminator<br />

System Boot Initiated Boot Error<br />

System Boot Initiated Boot Error<br />

OS Boot<br />

OS Critical Stop<br />

OS Boot<br />

OS Critical Stop<br />

Slot / Connector<br />

System ACPI <strong>Power</strong> State<br />

Slot / Connector<br />

System ACPI <strong>Power</strong> State<br />

Watchdog<br />

Platform Alert<br />

Watchdog<br />

Platform Alert<br />

Entity Presence<br />

Monitor ASIC<br />

Entity Presence<br />

Monitor ASIC<br />

LAN<br />

Management Subsystem Health<br />

LAN<br />

Management Subsystem Health<br />

Battery<br />

Session Audit<br />

Battery<br />

Session Audit<br />

Version Change<br />

FRU State<br />

Version Change<br />

FRU State<br />

slide 15/26


3) <strong>IPMI</strong> details<br />

• Sensors: SDR (Sensor Data Record) Types<br />

Name (Chapter 43)<br />

Full Sensor Record<br />

Compact Sensor Record<br />

Event-Only Record<br />

Entity Association Record<br />

Device-relative Entity Association Record<br />

Reserved Records<br />

Generic Device Locator Record<br />

FRU Device Locator Record<br />

Management Controller Device Locator Record<br />

Management Controller Confirmation Record<br />

BMC Message Channel Info Record<br />

OEM Record<br />

SDR Type<br />

01h<br />

02h<br />

03h<br />

08h<br />

09h<br />

0Ah:0Fh<br />

10h<br />

11h<br />

12h<br />

13h<br />

14h<br />

C0h<br />

slide 16/26


3) <strong>IPMI</strong> details<br />

• Sensors: example query with ipmitool<br />

– use 'ipmitool sdr type […]' for sensor type<br />

– use 'ipmitool sdr elist […]' for SDR type<br />

[root@testserver ~]# ~]# ipmitool sdr sdr type type O<strong>the</strong>r O<strong>the</strong>r<br />

PS1 PS1 +12V +12V <strong>Power</strong> <strong>Power</strong> | 7Ch 7Ch | ok ok | 10.1 10.1 | 80 80 Watts Watts<br />

PS2 PS2 +12V +12V <strong>Power</strong> <strong>Power</strong> | 7Dh 7Dh | ok ok | 10.2 10.2 | 104 104 Watts Watts<br />

[root@testserver ~]# ~]# ipmitool sdr sdr type type O<strong>the</strong>r O<strong>the</strong>r ­v ­v<br />

Sensor Sensor ID ID<br />

: PS1 PS1 +12V +12V <strong>Power</strong> <strong>Power</strong> (0x7c) (0x7c)<br />

Entity Entity ID ID<br />

: 10.1 10.1 (<strong>Power</strong> (<strong>Power</strong> Supply) Supply)<br />

Sensor Sensor Type Type (Analog) : O<strong>the</strong>r O<strong>the</strong>r<br />

Sensor Sensor Reading Reading : 80 80 (+/­ (+/­ 6) 6) Watts Watts<br />

Status Status<br />

: ok ok<br />

Nominal Nominal Reading Reading : 372.000 372.000<br />

Normal Normal Minimum Minimum : 100.000 100.000<br />

Normal Normal Maximum Maximum : 744.000 744.000<br />

Upper Upper critical : 840.000 840.000<br />

Upper Upper non­critical : 792.000 792.000<br />

[...] [...]<br />

slide 17/26


3) <strong>IPMI</strong> details<br />

• Sensors: example query with freeipmi<br />

[root@testserver ~]# ~]# ipmimonitoring<br />

Record_ID | Sensor Sensor Name Name | Sensor Sensor Group Group | Monitoring Status| Status|<br />

Sensor Sensor Units Units | Sensor Sensor Reading Reading<br />

[...] [...]<br />

17 17 | Fan Fan 5 | Fan Fan | Nominal Nominal | RPM RPM | 9052.000000<br />

18 18 | Fan Fan 6 | Fan Fan | Nominal Nominal | RPM RPM | 8060.000000<br />

19 19 | PS1 PS1 AC AC Current Current | Current Current | Nominal Nominal | A | 0.124000 0.124000<br />

20 20 | PS2 PS2 AC AC Current Current | Current Current | Nominal Nominal | A | 0.992000<br />

[...] [...]<br />

33 33 | <strong>Power</strong> <strong>Power</strong> Redundancy | <strong>Power</strong> <strong>Power</strong> Unit Unit | Critical Critical | N/A N/A | 'Redundancy<br />

Lost' Lost' 'Non­redundant:Sufficient Resources from from Redundant'<br />

34 34 | BMC BMC Watchdog Watchdog | Watchdog Watchdog 2 | Nominal Nominal | N/A N/A | 'OK' 'OK'<br />

35 35 | Platform Platform Secu Secu V | Platform Platform Security Security Violation Attempt Attempt |<br />

Nominal Nominal | N/A N/A | 'OK' 'OK'<br />

36 36 | Physical Physical Scrty Scrty | Physical Physical Security Security | Critical Critical | N/A N/A |<br />

'General 'General Chassis Chassis Intrusion'<br />

slide 18/26


3) <strong>IPMI</strong> details<br />

• System Event Log (SEL)<br />

– stored in non-volatile storage<br />

[root@testserver ~]# ipmitool sel elist<br />

[root@testserver ~]# ipmitool sel elist<br />

40 | 06/21/2010 | 14:29:29 | <strong>Power</strong> Supply PS1 Status | <strong>Power</strong> Supply AC lost | Asserted<br />

40 | 06/21/2010 | 14:29:29 | <strong>Power</strong> Supply PS1 Status | <strong>Power</strong> Supply AC lost | Asserted<br />

54 | 06/21/2010 | 14:29:29 | <strong>Power</strong> Unit <strong>Power</strong> Redundancy | Fully Redundant<br />

54 | 06/21/2010 | 14:29:29 | <strong>Power</strong> Unit <strong>Power</strong> Redundancy | Fully Redundant<br />

68 | 06/21/2010 | 14:29:29 | <strong>Power</strong> Unit <strong>Power</strong> Redundancy | Redundancy Lost<br />

68 | 06/21/2010 | 14:29:29 | <strong>Power</strong> Unit <strong>Power</strong> Redundancy | Redundancy Lost<br />

7c | 06/21/2010 | 14:29:29 | <strong>Power</strong> Unit <strong>Power</strong> Redundancy | Non­Redundant: Sufficient from Redundant<br />

7c | 06/21/2010 | 14:29:29 | <strong>Power</strong> Unit <strong>Power</strong> Redundancy | Non­Redundant: Sufficient from Redundant<br />

[...]<br />

[...]<br />

2fc | 06/21/2010 | 15:20:32 | Physical Security Physical Scrty | General Chassis intrusion | Asserted<br />

2fc | 06/21/2010 | 15:20:32 | Physical Security Physical Scrty | General Chassis intrusion | Asserted<br />

[root@testserver ~]# ~]# ipmitool ipmitool sel sel elist elist<br />

<strong>Power</strong> <strong>Power</strong> Supply Supply PS1 PS1 Status Status | <strong>Power</strong> <strong>Power</strong> Supply Supply AC AC lost lost | Asserted Asserted<br />

<strong>Power</strong> <strong>Power</strong> Unit Unit <strong>Power</strong> <strong>Power</strong> Redundancy Redundancy | Fully Fully Redundant<br />

Redundant<br />

<strong>Power</strong> <strong>Power</strong> Unit Unit <strong>Power</strong> <strong>Power</strong> Redundancy Redundancy | Redundancy Redundancy Lost Lost<br />

<strong>Power</strong> <strong>Power</strong> Unit Unit <strong>Power</strong> <strong>Power</strong> Redundancy Redundancy | Non­Redundant: Non­Redundant: Sufficient Sufficient from from Redundant<br />

Redundant<br />

[...] [...]<br />

Physical Physical Security Security Physical Physical Scrty Scrty | General General Chassis Chassis intrusion intrusion | Asserted Asserted<br />

slide 19/26


3) <strong>IPMI</strong> details<br />

• Platform Event Filtering (PEF)<br />

– BMC takes selected actions on event messages<br />

– actions can be:<br />

• system power <strong>of</strong>f<br />

• system reset<br />

• generating SNMP trap<br />

– tools: freeipmi (pef-config), ipmiutil<br />

[root@testserver ~]# ~]# pef­config pef­config ­­info ­­info<br />

PEF PEF version: version: 2.0 2.0<br />

Alert Alert action action support: support:<br />

Yes Yes<br />

<strong>Power</strong> <strong>Power</strong> down down action action support: support:<br />

Yes Yes<br />

<strong>Power</strong> <strong>Power</strong> reset reset action action support: support:<br />

Yes Yes<br />

<strong>Power</strong> <strong>Power</strong> cycle cycle action action support: support:<br />

Yes Yes<br />

OEM OEM action action support: support:<br />

Yes Yes<br />

Diagnostic Diagnostic interrupt interrupt action action support: support: Yes Yes<br />

[...] [...]<br />

slide 20/26


3) <strong>IPMI</strong> details<br />

• Serial over LAN (SOL) (1/2)<br />

– allows text-based access to<br />

• BIOS<br />

• GRUB<br />

• operating systems<br />

– Linux serial console<br />

– Windows debugger<br />

(http://support.micros<strong>of</strong>t.com/kb/151981/)<br />

– SOL is implemented as a payload type in RMCP+<br />

slide 21/26


3) <strong>IPMI</strong> details<br />

• Serial over LAN (SOL) (2/2)<br />

slide 22/26


3) <strong>IPMI</strong> details<br />

• Field Replaceable Unit (FRU) data<br />

[root@testserver<br />

[root@testserver<br />

~]#<br />

~]#<br />

ipmitool<br />

ipmitool<br />

fru<br />

fru<br />

print<br />

print<br />

FRU<br />

FRU<br />

Device<br />

Device<br />

Description<br />

Description<br />

:<br />

:<br />

Builtin<br />

Builtin<br />

FRU<br />

FRU<br />

Device<br />

Device<br />

(ID<br />

(ID<br />

0)<br />

0)<br />

Chassis<br />

Chassis<br />

Type<br />

Type<br />

:<br />

:<br />

Rack<br />

Rack<br />

Mount<br />

Mount<br />

Chassis<br />

Chassis<br />

Chassis<br />

Chassis<br />

Serial<br />

Serial<br />

:<br />

:<br />

9000041568<br />

9000041568<br />

Chassis<br />

Chassis<br />

Extra<br />

Extra<br />

:<br />

:<br />

SR2500LX<br />

SR2500LX<br />

Board<br />

Board<br />

Mfg<br />

Mfg<br />

Date<br />

Date<br />

:<br />

:<br />

Sat<br />

Sat<br />

Apr<br />

Apr<br />

28<br />

28<br />

11:37:00<br />

11:37:00<br />

2007<br />

2007<br />

Board<br />

Board<br />

Mfg<br />

Mfg<br />

:<br />

:<br />

Intel<br />

Intel<br />

Board<br />

Board<br />

Product<br />

Product<br />

:<br />

:<br />

S5000PAL0<br />

S5000PAL0<br />

Board<br />

Board<br />

Serial<br />

Serial<br />

:<br />

:<br />

BZAU71700054<br />

BZAU71700054<br />

Board<br />

Board<br />

Part<br />

Part<br />

Number<br />

Number<br />

:<br />

:<br />

D13607­805<br />

D13607­805<br />

Product Product Manufacturer Manufacturer :: Intel Intel<br />

Product<br />

Product<br />

Name<br />

Name<br />

:<br />

:<br />

S5000PAL<br />

S5000PAL<br />

Product<br />

Product<br />

Part<br />

Part<br />

Number<br />

Number<br />

:<br />

:<br />

..........<br />

..........<br />

Product<br />

Product<br />

Serial<br />

Serial<br />

:<br />

:<br />

.........<br />

.........<br />

[...]<br />

[...]<br />

FRU<br />

FRU<br />

Device<br />

Device<br />

Description<br />

Description<br />

:<br />

:<br />

Pwr<br />

Pwr<br />

Supply<br />

Supply<br />

1 FRU<br />

FRU<br />

(ID<br />

(ID<br />

2)<br />

2)<br />

Product<br />

Product<br />

Manufacturer<br />

Manufacturer<br />

:<br />

:<br />

DELTA<br />

DELTA<br />

Product Product Name Name<br />

:: DPS­750EBA<br />

DPS­750EBA<br />

Product Product Part Part Number Number :: D20850­006<br />

D20850­006<br />

Product<br />

Product<br />

Version<br />

Version<br />

:<br />

:<br />

02<br />

02<br />

Product<br />

Product<br />

Serial<br />

Serial<br />

:<br />

:<br />

DLD0712004978<br />

DLD0712004978<br />

slide 23/26


Agenda<br />

1) About Thomas Krenn<br />

2) <strong>IPMI</strong> basics<br />

3) <strong>IPMI</strong> details<br />

4) Example: Nagios/Icinga <strong>IPMI</strong> Plugin<br />

5) Conclusions<br />

slide 24/26


4) Example: Nagios/Icinga <strong>IPMI</strong> Plugin<br />

• how <strong>the</strong> Nagios <strong>IPMI</strong> Sensor Monitoring Plugin works<br />

– it's a shell script (Bash)<br />

– it uses ipmitool, gawk<br />

– you can use <strong>the</strong> plugin with every <strong>IPMI</strong>-compatible server<br />

– it follows <strong>the</strong> Nagios plug-in development guidelines<br />

– clear illustration within <strong>the</strong> Nagios web interface<br />

slide 25/26


5) Conclusions<br />

• <strong>IPMI</strong> has multiple very useful features<br />

• <strong>IPMI</strong> is built into most modern Servers<br />

• <strong>IPMI</strong> has rarely been used until now<br />

→ so start using <strong>the</strong> <strong>Power</strong> <strong>of</strong> <strong>IPMI</strong> today ;-)<br />

• Fur<strong>the</strong>r information<br />

– http://download.intel.com/design/servers/ipmi/<br />

<strong>IPMI</strong>2_0E4_Markup_061209.pdf<br />

– http://www.thomas-krenn.com/de/wiki/<strong>IPMI</strong>_Grundlagen<br />

– http://www.thomas-krenn.com/ipmi-plugin<br />

– http://lists.thomas-krenn.com<br />

slide 26/26

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!