Lenovo IPMI firmware SMASH-CLP Management

Source: Internet
Author: User
Tags lenovo

These days to configure a batch of Lenovo servers, IPMI management, sometimes management page can not open, so try to use SSH login IPMI, and then to manage, by the way, the summary.

First, SMASH-CLP Introduction

SMASH-CLP is an agreement driven by DMTF and SMWG that provides the standard for system management CLI implementations. The defined SMASH architecture does a lot of work and is designed to build the foundation for more standard system management components. SMWG SMASH-CLP is part of the DMTF-driven work of the entire SMASH.

The SMASH-CLP version of the Lenovo RD550 server integration is:

CLP version:1.0.2

SM ME Addressing version:1.0.0

A standard-based command-line protocol that can be used by the CLI for simple system administration. IPMI controller firmware hosts and supports Telnet, SSH, and serial-based interfaces

SMASH-CLP enables users to manage the following actions:

Server power Management-turn on, off, or reboot the system

System Event Log (SEL) management-Displays or clears SEL records

Second, SMASH-CLP function

List of commands:

The Cd changes the target path.

Create creates an object instance.

Delete Deletes the object instance.

Dump used to move a binary image from the MAP to a URI.

Exit exits the session.

Help Display command verb

Load used to move a binary image to the MAP from a URI.

Reset to reset target

Set setting target

Show Command verb help

Start the target.

Stop stops the target.

Version display command verb help

Third, SMASH-CLP Grammar

Provides the concept of verb and is designed to provide system management functionality through the CLI. Verb represents the action to be performed, and the target determines the entity (or object) to run the operation.

The following is an example of the SM-CLP command-line syntax.

<verb> [< options;] [< target;] [< attribute;]

A list of commonly used targets.

Goal

Defined

/system1

Managed the System target.

/system1/logs1

The log collection target.

/system1/logs1/log1

The System event log (SEL) target on Managed.

/system1/logs1/log1/record1

A separate SEL record instance on the Managed System.

Four, Power Management Operations

Shutting down the server

Stop Admin1/system1

Command Status:command Completed

System1 stopped at Sun Jul 17 06:34:00 2016

To turn the server off from the power off state

-Start Admin1/system1

Command Status:command Completed

System1 started at Sun Jul 17 06:35:24 2016

Reboot the server

Reset Admin1/system1

Command Status:command Completed

System1 Reset at Sun Jul 17 06:36:51 2016

Five, SEL Management

Provides an example of using SM-CLP to perform SEL-related operations on the Managed System.

Operation

Grammar

View SEL

->show/system1/logs1/log1
/system1/logs1/log1

Targets:
Record1
Record2
Record3
Record4
Record5
Properties:
InstanceID = IPMI:BMC1 SEL Log
Maxnumberofrecords = 512
Currentnumberofrecords = 5
Name = IPMI SEL
EnabledState = 2
Operationalstate = 2
Healthstate = 2
Caption = IPMI SEL
Description = IPMI SEL
ElementName = IPMI SEL

Commands:
Cd
Show
Help
Exit
Version

View SEL Records

->show/system1/logs1/log1/record4
/system1/logs1/log1/record4
Properties:
Logcreationclassname = Cim_recordlog
CreationClassName = Cim_logrecord
LogName = IPMI SEL
RecordID = 1
Messagetimestamp = 20050620100512.000000-000
Description = FAN 7 Rpm:fan sensor, detected a failure
ElementName = IPMI SEL Record
Commands:
Cd
Show
Help
Exit
Version

Clear SEL

->delete/system1/logs1/log1/record*
All records deleted successfully

Six, Target switching Operation

Action

syntax

Change target to system target and re- Boot

->cd system1
->reset

Note: The current default target is/.

Change target to SEL target and display logging

-& GT;CD system1
->cd logs1/log1
->show

->CD Syste M1/logs1/log1
->show

Show current target

->cd.

Move up one level

->CD:

Exit shell

->exit

Seven, System Properties View

Lists the system properties that are displayed when the user types the following command:

These attributes originate from the underlying system configuration file provided by the standard organization and are based on the CIM_ComputerSystem class defined by the CIM schema.

The table below is not necessarily accurate for the tables provided on the Dell server.

Object

Property

Description

CIM_ComputerSystem

Name

Unique identifier of the system instance that exists in the enterprise environment.

Maximum length = 256

ElementName

The user-friendly name of the system.

Maximum length = 64

NameFormat

Identifies the method that generated the name.

Value:

Other, IP, Dial, HID, NWA, HWA, X25, ISDN, IPX, DCC, ICD,, SNA, Oid/osi, WWN, NAA

Dedicated

Enumeration indicating whether the system is a special-purpose system or a general-purpose system.

Value:

0= Non-exclusive

1= Unknown

2= Other

3= Storage

4= Router

5= switch

6= Layer 3rd Switch

7= Central Switch

8= Hub

9= Access Server

10= Firewall

11= Printing

12=i/o

13=web Cache

14= Management

15= Blocking servers

16= File Server

17= Mobile User Devices

18= Repeater

19= Bridge/Expander

20= Gateway

21= Storage Virtual Device

22= Media Library

23= Extender node

24=nas Head

25= self-brought NAS

26=ups

27=ip Telephone

28= Management Controller

29= Chassis Manager

Resetcapability

Define the Reset method in the system

Value:

1= Other

2= Unknown

3= is disabled

4= is enabled

5= not implemented

CreationClassName

The superclass that derives this instance.

EnabledState

Represents the enabled/disabled state of the system.

Value:

0= Unknown

1= Other

2= is enabled

3= is disabled

4= off

5= temporarily No

6= is enabled, but offline

In 7= detection

8= postponed

9= Silence

10= start

Enableddefault

Represents the default boot configuration for the system enabled state. By default, the system is enabled (value =2).

Value:

2= is enabled

3= is disabled

4= temporarily No

5= is enabled, but offline

6 = no Default

RequestedState

Represents the last request or desired state of the system.

Value:

2= is enabled

3= is disabled

4= off

5= does not change

6= offline

7= detection

8= postponed

9= Silence

10= Re-boot

11= Reset

12= temporarily No

Healthstate

Represents the current health of the system.

Value:

0= Unknown

5= OK

10= Downgrade/Warning

15= minor faults

20= main faults

30= Critical Failure

35= Unrecoverable Error

Operationalstatus

Represents the current state of the system.

Value:

0= Unknown

1= Other

2= OK

3= downgrade

4= Busy

5= predicting faults

6= Error

7= Unrecoverable Error

8= start

9= stop

10= has stopped

11 = In service

12 = no Contact

13= lost Communication

14= Abnormal interrupts

15= Sleep

16= Support for Entity errors

17= completed

18= Power Mode

Description

The system is based on a text description.

Lenovo IPMI firmware SMASH-CLP Management

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.