Manuals

Manuals
Using the DRAC 5 SM-CLP Command Line Interface: Dell Remote Access Controller 5 Firmware Version 1.30 User's Guide

Back to Contents Page

Using the DRAC 5 SM-CLP Command Line Interface

Dell Remote Access Controller 5 Firmware Version 1.30 User's Guide

  DRAC 5 SM-CLP Support

  SM-CLP Features


This section provides information about the Server Management Workgroup (SMWG) Server Management-Command Line Protocol (SM-CLP) that is incorporated in the DRAC 5.

NOTE: This section assumes that you are familiar with the Systems Management Architecture for Server Hardware (SMASH) Initiative and the SMWG SM-CLP specifications. For more information on these specifications, see the Distributed Management Task Force (DMTF) website at www.dmtf.org.

The DRAC 5 SM-CLP is a protocol driven by the DMTF and SMWG to provide standards for systems management CLI implementations. Many efforts are driven by a defined SMASH architecture that is targeted as a foundation for more standardized systems management set of components. The SMWG SM-CLP is a subcomponent of the overall SMASH efforts driven by DMTF.


DRAC 5 SM-CLP Support

DRAC 5 is the first RAC product that provides support for the SM-CLP standard-based command line protocol. The SM-CLP is hosted from the DRAC 5 controller firmware and supports telnet, SSH, and serial-based interfaces. The DRAC 5 SM-CLP interface is based on the SM-CLP Specification Version 1.0 provided by the DMTF organization.

The following sections provide an overview of the SM-CLP feature that is hosted from the DRAC 5.


SM-CLP Features

The SM-CLP specification provides a common set of standard SM-CLP verbs that can be used for simple systems management through the CLI.

Table 11-1 provides a list of supported CLI verbs.

Table 11-1. Supported CLI Verbs 

Verb

Definition

cd

Navigates through the MAP using the shell.

delete

Deletes an object instance.

help

Displays help for a specific target.

reset

Resets the target.

show

Displays the target properties, verbs, and subtargets.

start

Turns on a target.

stop

Shuts down a target.

exit

Exits from the SM-CLP shell session.

version

Displays the version attributes of a target.

SM-CLP Management Operations and Targets

The SM-CLP promotes the concept of verbs and targets to provide system management capabilities through the CLI. The verb indicates the operation to perform, and the target determines the entity (or object) that runs the operation.

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

<verb> [<options>] [<target>] [<properties>]

During a typical SM-CLP session, the user can perform operations using the verbs listed in Table 11-1.

Management Operations

The DRAC 5 SM-CLP enables users to manage the following:

  • Server Power Management — Turn on, shutdown, or reboot the system

  • System Event Log (SEL) Management — Display or clear the SEL records

Targets

Table 11-2 provides a list of targets provided through the SM-CLP to support these operations.

Table 11-2. SM-CLP Targets

Target

Definition

/system1

The managed system target.

/system1/logs1

The log collections target

/system1/logs1/log1

The System Event Log (SEL) target on the managed system.

/system1/logs1/log1/record1

An individual SEL record instance on the managed system.

Options

Table 11-3 lists the supported SM-CLP options.

Table 11-3. Supported SM-CLP Options

SM-CLP Option

Description

-all

Instructs the verb to perform all possible functions.

-display

Displays the user-defined data.

-examine

Instructs the command processor to validate the command syntax without executing the command.

-help

Displays command verb help.

-version

Displays the command verb version.

SM-CLP Output Format

The DRAC 5 currently supports text-based output as described in the SM-CLP specifications.

DRAC 5 SM-CLP Examples

The following subsections provide sample scenarios for using the SM-CLP to perform the following operations:

  • Server power management

  • SEL management

  • MAP target navigation

  • Display system properties

Server Power Management

Table 11-4 provides examples of using SM-CLP to perform power management operations on a managed system.

Table 11-4. Server Power Management Operations 

Operation

Syntax

Logging into the RAC using the telnet/SSH interface

>ssh 192.168.0.120
>login: root
>password:

Starting the SM-CLP management shell

-
>smclp
DRAC5 SM-CLP System Management Shell, version 1.0
Copyright (c) 2004-2006 Dell, Inc.
All Rights Reserved
->

Power down the server

-
->stop /system1
system1 has been stopped successfully

Power up the server from a powered-off state

-
->start /system1
system1 has been started successfully

Reboot the server

->reset /system1
system1 has been reset successfully

SEL Management

Table 11-5 provides examples of using the SM-CLP to perform SEL-related operations on the managed system.

Table 11-5. SEL Management Operations 

Operation

Syntax

Viewing the 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

Viewing the SEL record

->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

Clearing the SEL

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

MAP Target Navigation

Table 11-6 provides examples of using the cd verb to navigate the MAP. In all examples, the initial default target is assumed to be /.

Table 11-6. Map Target Navigation Operations 

Operation

Syntax

Navigate to the system target and reboot

->cd system1
->reset

NOTE: The current default target is /.

Navigate to the SEL target and display the log records

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

->cd system1/logs1/log1
->show

Display current target

->cd .

Move up one level

->cd ..

Exiting the shell

->exit

System Properties

The Table 11-7 lists the system properties that are displayed when the user types the following:

show /system1

These properties are derived from the Base System Profile that is provided by the standards body and is based on the CIM_ComputerSystem class as defined by the CIM schema.

For additional information, see the DMTF CIM schema definitions.

Table 11-7. System Properties 

Object

Property

Description

CIM_ComputerSystem

Name

Unique identifier of a System instance that exists in the enterprise environment.

MaxLen = 256

ElementName

User-friendly name for the system.

MaxLen = 64

NameFormat

Identifies the method by which the Name is generated.

Values:

Other, IP, Dial, HID, NWA, HWA, X25, ISDN, IPX, DCC, ICD, E.164, SNA, OID/OSI, WWN, NAA

Dedicated

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

Values:

0=Not Dedicated

1=Unknown

2=Other

3=Storage

4=Router

5=Switch

6=Layer 3 Switch

7=CentralOffice Switch

8=Hub

9=Access Server

10=Firewall

11=Print

12=I/O

13=Web Caching

14=Management

15=Block Server

16=File Server

17=Mobile User Device,

18=Repeater

19=Bridge/Extender

20=Gateway

21=Storage Virtualizer

22=Media Library

23=Extender Node

24=NAS Head

25=Self-Contained NAS

26=UPS

27=IP Phone

28=Management Controller

29=Chassis Manager

ResetCapability

Defines the reset methods available on the system

Values:

1=Other

2=Unknown

3=Disabled

4=Enabled

5=Not Implemented

CreationClassName

The superclass from which this instance is derived.

EnabledState

Indicates the enabled/disabled states of the system.

Values:

0=Unknown

1=Other

2=Enabled

3=Disabled

4=Shutting Down

5=Not Applicable

6=Enabled but Offline

7=In Test

8=Deferred

9=Quiesce

10=Starting

EnabledDefault

Indicates the default startup configuration for the enabled state of the system. By default, the system is "Enabled" (value=2).

Values:

2=Enabled

3=Disabled

4=Not Applicable

5=Enabled but Offline

6=No Default

RequestedState

Indicates the last requested or desired state for the system.

Values:

2=Enabled

3=Disabled

4=Shut Down

5=No Change

6=Offline

7=Test

8=Deferred

9=Quiesce

10=Reboot

11=Reset

12=Not Applicable

HealthState

Indicates the current health of the system.

Values:

0=Unknown

5=OK

10=Degraded/Warning

15=Minor Failure

20=Major Failure

30=Critical Failure

35=Non-recoverable Error

OperationalStatus

Indicates the current status of the system.

Values:

0=Unknown

1=Other

2=OK

3=Degraded

4=Stressed

5=Predictive Failure

6=Error

7=Non-Recoverable Error

8=Starting

9=Stopping

10=Stopped

11=In Service

12=No Contact

13=Lost Communication

14=Aborted

15=Dormant

16=Supporting Entity in Error

17=Completed

18=Power Mode

Description

A text-based description of the system.


Back to Contents Page

 

Laptops | Desktops | Business Laptops | Business Desktops | Workstations | Servers | Storage | Monitors | Printers | LCD TVs | Electronics
© 2009 Dell | About Dell | Terms of Sale | Unresolved Issues | Privacy | About Our Ads | Dell Recycling | Contact | Site Map | Feedback
AT | AU | BE | BR | CA | CH | CL | CN | CO | DE | DK | ES | FR | HK | IE | IN | IT | JP | KR | ME | MX | MY | NL | NO | PA | PR | RU | SE | SG | UK | VE | ALL

snWEB8