Using IPMI and CIM - Home | DMTF

28
Copyright © 2003 Global Management Conference June 16-19 San Jose, California Using IPMI and CIM A Partnership for Powerful Platform Management Tom Slaight & Arvind Kumar Server Management Architects Enterprise Platforms Group Intel Corporation

Transcript of Using IPMI and CIM - Home | DMTF

Page 1: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Using IPMI and CIMA Partnership for Powerful Platform Management

Tom Slaight & Arvind Kumar

Server Management ArchitectsEnterprise Platforms GroupIntel Corporation

Page 2: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Agenda

• Introduction to IPMI• New system directions for IPMI• IPMI future directions• IPMI mapping to CIM• Usage Scenarios

Page 3: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

The Instrumentation ChallengeThe Instrumentation Challenge

Today’s solution stacks work -SWSW

SWSW

HWHW

HWHW

HWHW

SWSW

SWSW

But not across platforms

HWHW HWHW HWHW

SWSW SWSW

Page 4: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

IPMI IntelligentPlatformManagementInterface

IntelligentPlatformManagementInterface

• Defines a standardized, abstracted, message-based interface to intelligent platform management hardware

• Defines standardized records for describing platform management devices and their characteristics

• Defines a standardized, abstracted, message-based interface to intelligent platform management hardware

• Defines standardized records for describing platform management devices and their characteristics

http://http://developer.intel.com/design/servers/ipmideveloper.intel.com/design/servers/ipmi

Promoters:

Adopters: 148 and growing

Page 5: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Where it fits…

Complements existing management standardsComplements existing management standards

‘In‘In--band’ band’ RemoteRemoteAccess Access

Managed ObjectsManaged Objects

Object InterfaceObject Interface

Instrumentation ProviderInstrumentation Provider

Baseboard Mgmt. Controller Baseboard Mgmt. Controller and monitoring h/wand monitoring h/w

Management Management ApplicationsApplications

IPMI H/W I/FIPMI H/W I/F

Man

agem

ent S

/W

Man

agem

ent S

/W

Stan

dard

sSt

anda

rds

IPMIIPMI

STANDARD I/FSTANDARD I/F(e.g. CIM(e.g. CIM--XML)XML)

STANDARD SchemaSTANDARD Schema(e.g. CIM)(e.g. CIM)

STANDARD SP I/FSTANDARD SP I/F(e.g. Pegasus C(e.g. Pegasus C--API, API, WMI, SAFWMI, SAF--HPI)HPI)

IPMI I/F CodeIPMI I/F Code

IPMIIPMI

Page 6: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

The IPMI SolutionThe IPMI SolutionCommon Hardware Interfacesand Abstraction -

Enable Cross-platform Management Software

SWSWSWSW

HWHWIPMIIPMIIPMI HWHW HWHW

SWSW

SWSW

SWSW

SWSW

HWHW HWHW

HWHW

Page 7: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

IPMI v1.5 Architecture

IPMI Messages

BaseboardBaseboard System Bus

BridgeBridgeControllerController

ICMB

Aux. IPMB

RemoteMgmt. Card

SMBus/PCI Mgmt. Bus BaseboardBaseboardMgmt.Mgmt.

ControllerController(BMC)(BMC)I2C/SMBus

SDR, SDR, SEL, SEL, FRUFRU

NV StoreMgmtMgmtNetwkNetwkCtrlrCtrlr

LAN

PCI

RS-232

MODEM/ Serial

IPMB (I2C)

ChassisChassis

sensors& controlcircuitry

FRU SEEPROMFRU SEEPROM

SatelliteSatelliteMgmt.Mgmt.

ControllerController“side-band”

System InterfaceSystem InterfaceSENSORs& controlcircuitry

I2 C /

SMB

us

Page 8: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

2.0

IPMI v2.0 Roadmap

IPMI continues to evolvevaluable new capabilities

• Monitoring (temp, volt, fan, etc.)• Control (power on/off/cycle,

reset, diag. interrupt)• System Event Logging• FRU & SDR Information• Watchdog Timer• Serial and LAN access• Serial and LAN alerts• Platform Event Filtering• Serial Port sharing• Internal/ext’l mgmt busses

• Serial redirection over LAN• Terminal mode extensions

(improved ‘CLI’) • Alignment with ASF

Authentication• Encryption support• Modular (blade) support • IPMI over Web (may be post

2.0)

2003Q1 Q2 Q3 Q4

2004Q1 Q2 Q3 Q4

IPMI v1.5 Today2.0 Adopter

PreviewTargetRelease

v2.0 Proposed Additions

Page 9: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Desktop

ASF/IPMI Typical Applications

Back-end Servers(Database, App, Storage)

Workstations

Front-end Servers & Appliances

(DNS, Web, Mail, File, Print)

Mobile

Mid-Tier Servers(File, Application, Storage)

ASF 2.0ASF 2.0

IPMI 1.5IPMI 1.5

IPMI and ASF are complementaryand cooperating technologies

Page 10: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

IPMI and CIM

Common interface for inCommon interface for in--band andband andoutout--ofof--band platform managementband platform management

CIM Object ManagerCIM Object Manager

Instrumentation ProviderInstrumentation Provider

Baseboard Mgmt. Controller Baseboard Mgmt. Controller and monitoring h/wand monitoring h/w

Management ApplicationsManagement Applications

IPMI H/W I/FIPMI H/W I/FIPMIIPMI

IPMI I/F CodeIPMI I/F Code

CIMCIM CIM CIM Object ManagerObject Manager

Proxy ProviderProxy Provider

IPMI I/F CodeIPMI I/F CodeO

OB

I/FO

OB

I/F Out-Of-Band

IPMI Messages

Network, Serial, Modem, Inter-Chassis Mgmt Bus

In-Band

Page 11: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

IPMI SW components

Sensor description can change independent of sensor access.Sensor description can change independent of sensor access.Facilitates customization, H/W and F/W reuse.Facilitates customization, H/W and F/W reuse.

Baseboard Baseboard Mgmt. Mgmt.

ControllerController

SensorSensorData RecordsData RecordsSensorSensor

Data RecordsData RecordsSensorSensorData RecordsData RecordsSensorSensor

Data RecordsData Records

FRUFRU

SystemSystemEvent LogEvent Log

FRUFRUFRUFRU

Sensors and Probes

1. SDR defines ‘how’ to interpret the raw data provided by the BMC

2. FRUs for Asset and Inventory Management

3. System Even Log for collection of platform events

4. Sensors & Probes get the raw hardware readings

Page 12: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

IPMI mapping to CIM

• Map IPMI domain to CIM domain

• No attempt to expose IPMI constructs in CIM

• CIM application is unaware of IPMI

• Self describing hardware interfaces make IPMI CIM provider hardware agnostic

CIM is the interface for management applicationsCIM is the interface for management applications

• CIM_Sensor• CIM Associations• CIM_FRU• CIM_MessageLog• CIM_LogRecord• CIM_watchdog

CIM Provider

• Sensor Data Records• Entity Associations• Field Replaceable Units• System Event Log• Watchdog• Platform Control

Page 13: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Sensors & DevicesLogicalDevice

(See Dev ice Model)*

SensorSensorTy pe : uint16 {enum}OtherSensorTy peDescription : stringPossibleStates : string[ ]CurrentState : stringPollingInterv al : uint64 {units}

AssociatedSensor

NumericSensorBaseUnits : uint16 {enum}UnitModif ier : sint32RateUnits : uint16 {enum}CurrentReading : sint32NominalReading : sint32NormalMax : sint32NormalMin : sint32MaxReadable : sint32MinReadable : sint32Resolution : uint32Tolerance : sint32Accuracy : sint32 {units}IsLinear : booleanHy steresis : uint32LowerThresholdNonCritical : sint32UpperThresholdNonCritical : sint32LowerThresholdCritical : sint32UpperThresholdCritcal : sint32LowerThresholdFatal : sint32UpperThresholdFatal : sint32SupportedThresholds : uint16[ ] {enum}EnabledThresholds : uint16[ ]SettableThresholds : uint16[ ]

RestoreDef aultThresholds( ) : uint32GetNonLinearFactors( [IN] SensorReading : sint32, [OUT] Accuracy : sint32, [OUT] Resolution : uint32, [OUT] Tolerance : sint32, [OUT] Hy steresis : uint32) : uint32

*

ProcessorRole : stringFamily : uint16 {enum}OtherFamily Description : stringUpgradeMethod : uint16 {enum}MaxClockSpeed : uint32 {units}CurrentClockSpeed : uint32 {units}DataWidth : uint16 {units}AddressWidth : uint16 {units}LoadPercentage : uint16 {units}Stepping : stringUniqueID : stringCPUStatus : uint16 {enum}

MonitoredEntity : uint16 {enum}MonitoredEntity Description : stringTimeoutInterv al : uint32 {units}TimerResolution : uint32 {units}TimeOf LastExpiration : datetimeMonitoredEntity OnLastExpiration : uint16 {enum}ActionOnExpiration : uint16 {enum}

KeepAliv e( ) : uint32

WatchDog

TemperatureSensor

VoltageSensor

CurrentSensor

AssociatedSupplyVoltage

Sensor

*

AssociatedSupplyCurrent

Sensor

*

Tachometer

PowerSupply(See Dev ice Model(Cooling & Power))

**

PhysicalElement(See Core Model)Realizes **

Also See• CIM_FRU• CIM_Chassis• CIM_PhysicalMemory• CIM_PhysicalElement• CIM_ComputerSystemPackage• CIM_MessageLog• CIM_LogRecord• Redundancy classes

IPMI provides comprehensive data to populate CIM ModelIPMI provides comprehensive data to populate CIM Model

Page 14: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Implementing Discrete/Digital Sensors

Sensor NumberEntityIDEntity InstanceSensor InitializationSensor CapabilitiesSensor TypeSensor IDEvent Reading/Type Code……

SDR (Type 01/02)

CIM_SensorSensorTypeOtherSensorTypeDescriptionPossibleStatesCurrentStatePollingInterval

Raw Sensor Access+

IPMI allows straightforward sensor mapping to CIMIPMI allows straightforward sensor mapping to CIM

• Sensor Type information defines the kind of sensor (Temperature, Chassis Intrusion, Fan etc.)

• EntityId allows to associate a Sensor with the Device it is monitoring (CIM_AssociatedSensor)

• Event Reading/Type Code defines PossibleStates

Page 15: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Implementing Numeric Sensor

Sensor NumberEntityIDEntity InstanceSensor InitializationSensor CapabilitiesSensor TypeSensor UnitsSensor Unit _ Base UnitsSensor Unit – Modifier UnitLinearizationToleranceAccuracyNominal ReadingNormal MAX, MINSensor MAX, MINSensor IDThresholds (Critical, Non-

Critical, Non-Recoverable)

CIM_NumericSensorSensorTypeOtherSensorTypeDescriptionPossibleStatesCurrentStateBaseUnitsUnitModifierRateUnitsCurrentReadingNominalReadingNormalMaxNormalMinMaxReadableMinReadableLowerThresholdNonCriticalUpperThresholdNonCriticalLowerThresholdCriticalUpperThresholdCritcalLowerThresholdFatalUpperThresholdFatalSupportedThresholdsEnabledThresholdsSettableThresholdsRestoreDefaultThresholds( )

+

SDR (Type 01/02)

Raw Sensor Access

raw reading converted using conversion parameters

thresholds closely mapped

units closely mapped

Page 16: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Implementing Associations

Container Entity IDContainer Entity InstanceContained Enity 1Contained Entity 1 InstanceContained Enity 2Contained Entity 2 Instance---

SDR (Type 08/09)

LogicalDevice

(See Dev ice Model(Ov erv iew))

PowerSupply

IsSwitchingSupply : booleanRange1InputVoltageLow : uint32 {uints}Range1InputVoltageHigh : uint32 {uints}Range1InputFrequency Low : uint32 {uints}Range1InputFrequency High : uint32 {uints}Range2InputVoltageLow : uint32 {uints}Range2InputVoltageHigh : uint32 {uints}Range2InputFrequency Low : uint32 {uints}Range2InputFrequency High : uint32 {uints}Activ eInputVoltage : uint16 {enum}Ty peOf RangeSwitching : uint16 {enum}TotalOutputPower : uint32 {uints}

Redundancy Component

Redundancy Group

CreationClassName : string {key }Name : string {ov erride, key }Redundancy Status: uint16 {enum}

*

*

ExtraCapacity Group

MinNumberNeeded : uint32LoadBalancedGroup : boolean

SpareGroup

Failov er( [IN] Failov erFrom: REF ManagedSy stemElement, [IN] Failov erTo: REF ManagedSy stemElement) : uint32

ActsAsSpare

*

*

IPMI provides strong support for CIM associationsIPMI provides strong support for CIM associations

Page 17: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

More CIM Schema population

CIM Indication (OOB through Proxy)Platform Event Trap (PET)MessageLog, LogRecordSystem Event Log (SEL)

CoolingDevice, Fan, PowerSupply, Tachometer, AlarmDevice, Processor, Memory, Chassis,

Devices

PhysicalFrame, PhysicalPackage, Chassis, Card, PhysicalConnetor, Slot, PackageInConnetor, ConnectorOnPackage, PhysicalMemory etc.

Physical Characteristics

Namespace, SystemIdentification, SystemInNamespace, OOBAlertService, ManagementController, DiagnosticTest

General

Voltage, Temperature, Tachometer (FAN speed), Watchdog, ChassisIntrusion

Sensors

CIM_FRUField Replaceable Units

Methods on CIM_SystemPower ControlSettingsData(Specific subclassing/enhancements in works)

Boot Options

CIMIPMI

IPMI comprehends a major portion of System & Devices model IPMI comprehends a major portion of System & Devices model The list is only a sample, and not intended to be exhaustive

Page 18: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Example Scenario

CIM Object ManagerCIM Object Manager

Instrumentation ProviderInstrumentation Provider

Baseboard Mgmt. Controller Baseboard Mgmt. Controller and monitoring h/wand monitoring h/w

Management ApplicationsManagement Applications

IPMI H/W I/FIPMI H/W I/F

IPMI I/F CodeIPMI I/F Code

CIM CIM Object ManagerObject Manager

Proxy ProviderProxy Provider

IPMI I/F CodeIPMI I/F CodeO

OB

I/FO

OB

I/F

1. Setup Watchdog, BMC starts monitoring1. Setup Watchdog, BMC starts monitoring

Page 19: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Example Scenario

CIM Object ManagerCIM Object Manager

Instrumentation ProviderInstrumentation Provider

Baseboard Mgmt. Controller Baseboard Mgmt. Controller and monitoring h/wand monitoring h/w

Management ApplicationsManagement Applications

IPMI H/W I/FIPMI H/W I/F

IPMI I/F CodeIPMI I/F Code

CIM CIM Object ManagerObject Manager

Proxy ProviderProxy Provider

IPMI I/F CodeIPMI I/F CodeO

OB

I/FO

OB

I/F

2. OS Fails, BMC sends a Platform Event Trap2. OS Fails, BMC sends a Platform Event Trap

STOP

Page 20: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Example Scenario

CIM Object ManagerCIM Object Manager

Instrumentation ProviderInstrumentation Provider

Baseboard Mgmt. Controller Baseboard Mgmt. Controller and monitoring h/wand monitoring h/w

Management ApplicationsManagement Applications

IPMI H/W I/FIPMI H/W I/F

IPMI I/F CodeIPMI I/F Code

CIM CIM Object ManagerObject Manager

Proxy ProviderProxy Provider

IPMI I/F CodeIPMI I/F CodeO

OB

I/FO

OB

I/F

3. Proxy Provider converts PET into a CIM_Indication3. Proxy Provider converts PET into a CIM_Indication

STOP

Page 21: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Example Scenario

CIM Object ManagerCIM Object Manager

Instrumentation ProviderInstrumentation Provider

Baseboard Mgmt. Controller Baseboard Mgmt. Controller and monitoring h/wand monitoring h/w

Management ApplicationsManagement Applications

IPMI H/W I/FIPMI H/W I/F

IPMI I/F CodeIPMI I/F Code

CIM CIM Object ManagerObject Manager

Proxy ProviderProxy Provider

IPMI I/F CodeIPMI I/F CodeO

OB

I/FO

OB

I/F

4. Boot the system to a Diagnostic Partition4. Boot the system to a Diagnostic Partition

STOP

Page 22: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Example Scenario

CIM Object ManagerCIM Object Manager

Instrumentation ProviderInstrumentation Provider

Baseboard Mgmt. Controller Baseboard Mgmt. Controller and monitoring h/wand monitoring h/w

Management ApplicationsManagement Applications

IPMI H/W I/FIPMI H/W I/F

IPMI I/F CodeIPMI I/F Code

CIM CIM Object ManagerObject Manager

Proxy ProviderProxy Provider

IPMI I/F CodeIPMI I/F CodeO

OB

I/FO

OB

I/F

5. Damaged Disk Partition Recovered, Reboot OS5. Damaged Disk Partition Recovered, Reboot OS

STOP

Page 23: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Example Scenario

CIM Object ManagerCIM Object Manager

Instrumentation ProviderInstrumentation Provider

Baseboard Mgmt. Controller Baseboard Mgmt. Controller and monitoring h/wand monitoring h/w

Management ApplicationsManagement Applications

IPMI H/W I/FIPMI H/W I/F

IPMI I/F CodeIPMI I/F Code

CIM CIM Object ManagerObject Manager

Proxy ProviderProxy Provider

IPMI I/F CodeIPMI I/F CodeO

OB

I/FO

OB

I/F

6. OS/Application back up on6. OS/Application back up on--lineline

Page 24: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Summary

• IPMI is the foundation for powerful platform management

• CIM/WBEM is a powerful management model and interface to applications

• IPMI and CIM/WBEM together provide standards based comprehensive management solution for enterprise platforms

Page 25: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

GlossaryBMC Baseboard Management Controller (an IPMI Controller on Baseboard)FRU Field Replaceable Unit. A field replaceable component such as a board, module,

fan, power supply, etc.ICMB Intelligent Chassis Management Bus. The ICMB provides a dedicated management

bus that enables delivering IPMI messages and alerts between multiple host and peripheral chassis.

IPMB Intelligent Platform Management Bus. Name for the architecture, protocol, and implementation of a special bus that interconnects the baseboard and chassis electronics and provides a communications media for system platform management information.

IPMI Intelligent Platform Management Interface. IPMI defines a common, abstracted, and self-descriptive interface for platform management hardware that monitors server characteristics such as temperature, voltage, fans, power supplies, and chassis.

OOB Out-of-Band. System platform management access that does not involve going through the OS or other software running on the main processors of the managed system.

PEF Platform Event Filtering. A feature in IPMI that enables the BMC to generate a selectable action (e.g. power on/off, reset, send Alert, etc.) when a configurable event occurs on the management system.

SDR Sensor Data Record. SDRs provide the information that tells management software what sensors, events, management controllers, and FRU information is available from a given IPMI implementation.

SEL System Event Log. A non-volatile storage area and associated interfaces for storing system platform event information for later retrieval.

Page 26: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Using IPMI and CIMA Partnership for Powerful Platform Management

[email protected]@intel.com

For Further Informationhttp://developer.intel.com/design/servers/IPMIhttp://www.dmtf.org

Questions?

Page 27: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Backup

Page 28: Using IPMI and CIM - Home | DMTF

Copyright © 2003 Global Management Conference June 16-19 San Jose, California

Platform Management TechnologiesA

SF 2

.0IP

MI 1

.5

• Utilitizes Independent BMC• “Unlimited” Events and Sensors• Extensible Sensor/Event Busses

Scalability / Extensibility

• Platform Event Filtering (PEF) - configurable, event-based automatic recovery and alertsAutomatic Actions

• Alerts to multiple destinations• Alerts and Paging via ModemExtended Alerting

• Serial/Modem Access• Text-based Access• Inter-chassis Access• Multi-user and multi-level Security for remote access

Extended Out-of-Band Access

• FRU/Asset Inventory Data Access• System Event LoggingInventory and Logging

• Abstracted Local and Remote Monitoring• Health Sensor Present Readings (temperature, voltage, fan, etc.)Monitoring

• System State• System ASF Capabilities• Presence Ping/Pong (managed system discovery)

Status Info

• Processor Missing (startup Watchdog)• Power up/down/cycle/reset with Boot and Boot Path OptionsAuthenticated Remote

Control

• Health Alerts (Temperature, Voltage, Fan, etc. 128 definable alerts)• Security Alerts (Chassis Intrusion, LAN Heartbeat, System PWD Violation)• BIOS Messages and Alerts• OS Hung Watchdog Timer

System Health and Security Alerts