CLI Guide

NOTE: On Local RACADM, the number of logs are restricted to 100 by default.
--more — Displays one screen at a time and prompts you to continue (similar to the UNIX more command).
-s — Specifies the starting record used for the display.
-c — Specifies the number of records to display.
NOTE: On Remote RACADM, the number of logs are restricted to 25 by default.
-i — Displays the number of entries in the CMC log.
--more — Displays one screen at a time and prompts you to continue (similar to the UNIX more command).
-s — Specifies the starting record used for the display.
NOTE: When Enhanced Chassis Logging and Events feature is enabled, then -i and --more options
are not displayed.
Output
SeqNumber = 286
Message ID = USR0005
Category = Audit
AgentID = RACLOG
Severity = Information
Timestamp = 2012-10-05 06:25:27
Message = Login failed from processdisco06a: 192.168.0
Message Arg 1 = processdisco06a
Message Arg 2 = 10.92.68.245
FQDD = iDRAC.Embedded.1
Example
Display the starting record and the number of records.
racadm getraclog -s 10 -c 2
Display a few records and prompt to display another set of records.
$ racadm getraclog --more
Dec 4 22:23:09 CMC-JP4BF2S Login success from 192.168.0 (username=root,
type=SSH, sid=16393)
Dec 4 22:24:54 CMC-JP4BF2S Login success from 192.168.0 (username=test,
type=SSH, sid=35885)
Dec 4 22:26:20 CMC-JP4BF2S Login success from 192.168.0 (username=root,
type=GUI, sid=27476)
Dec 4 22:28:06 CMC-JP4BF2S Mod password of user puser succeeds
Dec 4 22:28:06 CMC-JP4BF2S Mod privileges of user puser succeeds
Dec 4 22:28:21 CMC-JP4BF2S Login success from 192.168.0 (username=puser,
type=SSH, sid=39229)
Dec 4 22:29:12 CMC-JP4BF2S Mod password of user nuser succeeds
Dec 4 22:29:12 CMC-JP4BF2S Mod privileges of user nuser succeeds
Dec 4 22:29:51 CMC-JP4BF2S SSH login failed (username=nuser, ip=192.168.0,
reason=Local user fails to login )
Dec 4 22:30:23 CMC-JP4BF2S last message repeated 3 times
Dec 4 22:30:23 CMC-JP4BF2S Mod privileges of user nuser succeeds
Dec 4 22:30:38 CMC-JP4BF2S SSH login failed (username=nuser, ip=192.168.0,
reason=Local user fails to login )
[more]
Entry in the RAC log when Extended Power Performance control is enabled or disabled.
racadm getraclog
Jul 31 14:16:11 CMC-4C2WXF1 Log Cleared
Jul 31 14:15:49 CMC-4C2WXF1 Extended Power Performance is Enabled
Jul 31 14:15:49 CMC-4C2WXF1 Extended Power Performance is Disabled
When Enhanced Logging mode is enabled, the output of getraclog is displayed similar to chassislog
output.
Using racadm config -g cfgRacTuning -o cfgRacTuneEnhancedLog 1 command, Enhanced
Logging feature is enabled.
SeqNumber = 38
Message ID = USR8501
RACADM Subcommand Details
69