Dell Drac 5 User Manual
Have a look at the manual Dell Drac 5 User Manual online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 327 Dell manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.
Using the DRAC 5 SM-CLP Command Line Interface221 SM-CLP Management Operations and Targets 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 Options Table 12-3 lists the supported SM-CLP options. Ta r g e t s Table 12-4 provides a list of targets provided through the SM-CLP to support these operations. Table 12-3. Supported SM-CLP Options SM-CLP OptionDescription -allInstructs the verb to perform all possible functions. -displayDisplays the user-defined data. -examineInstructs the command processor to validate the command syntax without executing the command. -helpDisplays command verb help. -versionDisplays the command verb version. Table 12-4. SM-CLP Targets Target Definition /system1The managed system target. /system1/logs1The log collections target /system1/logs1/log1The System Event Log (SEL) target on the managed system. /system1/logs1/log1/ record1An individual SEL record instance on the managed system. /system1/pwrmgtsvc1The power management service for the system.
222Using the DRAC 5 SM-CLP Command Line Interface SM-CLP Output Format The DRAC 5 currently supports text-based output as described in the SM-CLP specifications. /system1/pwrmgtsvc1/ pwrmgtcap1Capabilities of the power management service for the system. /system1/fan1A fan target on the managed system. /system1/fan1/ tachsensor1An individual sensor target on the fan target on the managed system. /system1/batteries1A battery target on the managed system. /system1/batteries1/ sensor1An individual sensor target on the battery target on the managed system. /system1/intrusion1A chassis intrusion target on the managed system. /system1/intrusion1/ sensor1An individual sensor target on the chassis intrusion target on the managed system. /system1/hardwareperfor mance1A hardware performance target on the managed system. /system1/hardwareperfor mance1/sensor1An individual sensor target on the hardware performance target on the managed system. /system1/powersupplies1A power supply target on the managed system. /system1/powersupplies1 /sensor1An individual sensor target on the power supply target on the managed system. /system1/temperatures1A temperature target on the managed system. /system1/temperatures1/ tempsensor1An individual sensor target on the temperature target on the managed system. /system1/voltages1A voltage target on the managed system. /system1/voltages1/volt sensor1An individual sensor target on the voltage target on the managed system. /system1/chassis1An individual chassis target of the system. Table 12-4. SM-CLP Targets (continued) Target Definition
Using the DRAC 5 SM-CLP Command Line Interface223 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 12-5 provides examples of using SM-CLP to perform power management operations on a managed system. Table 12-5. 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-2008 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
224Using the DRAC 5 SM-CLP Command Line Interface SEL Management Table 12-6 provides examples of using the SM-CLP to perform SEL-related operations on the managed system. Table 12-6. 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
Using the DRAC 5 SM-CLP Command Line Interface225 Batteries Management Table 12-7 provides example of using the SM-CLP to perform operations on the batteries. 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 Table 12-6. SEL Management Operations (continued) Operation Syntax
226Using the DRAC 5 SM-CLP Command Line Interface MAP Target Navigation Table 12-8 provides examples of using the cd verb to navigate the MAP. In all examples, the initial default target is assumed to be /. Table 12-7. Batteries Management Operations Operation Syntax Viewing the status of the batteries->show system1/batteries1/sensor1 /system1/batteries1/sensor1: Properties: SystemCreationClassName = CIM_ComputerSystem SystemName = F196P1S CreationClassName = CIM_Sensor DeviceID = BATTERY 1 SensorType = 1 PossibleStates = {Good Bad Unknown} CurrentState = good ElementName = System Board CMOS Battery OtherSensorTypeDescription = CMOS battery sensor. EnabledState = 1 Verbs: cd exit help show version
Using the DRAC 5 SM-CLP Command Line Interface227 System Properties The Table 12-9 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 12-8. 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 Table 12-9. System Properties Object Property Description CIM_ComputerSystemNameUnique identifier of a System instance that exists in the enterprise environment. MaxLen = 256
228Using the DRAC 5 SM-CLP Command Line Interface ElementNameUser-friendly name for the system. MaxLen = 64 NameFormatIdentifies the method by which the Name is generated. Va l u e s : Other, IP, Dial, HID, NWA, HWA, X25, ISDN, IPX, DCC, ICD, E.164, SNA, OID/OSI, WWN, NAA DedicatedEnumeration indicating whether the system is a special-purpose system or general-purpose system. Va l u e s : 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 Table 12-9. System Properties (continued) Object Property Description
Using the DRAC 5 SM-CLP Command Line Interface229 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 ResetCapabilityDefines the reset methods available on the system Values: 1=Other 2=Unknown 3=Disabled 4=Enabled 5=Not Implemented CreationClassNameThe superclass from which this instance is derived. Table 12-9. System Properties (continued) Object Property Description
230Using the DRAC 5 SM-CLP Command Line Interface EnabledStateIndicates the enabled/disabled states of the system. Va l u e s : 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 EnabledDefaultIndicates the default startup configuration for the enabled state of the system. By default, the system is Enabled (value= 2). Va l u e s : 2=Enabled 3=Disabled 4=Not Applicable 5=Enabled but Offline 6=No Default Table 12-9. System Properties (continued) Object Property Description