Reference Guide

-e — Displays events that have occurred before this time. The time format is yyyy-mm-dd HH:MM:SS.
The time stamp must be provided within double quotation marks.
-f <filename>Species the le location and name where lifecycle log is exported.
-a <name>Species the FTP Server IP address or FQDN, user name, and password.
-l <location>Species the location of the network share or area on le system where lifecycle log
is exported. Two types of network shares are supported:
SMB-mounted path: //<ipaddress or domain name>/<share_name>/<path to image>
NFS-mounted path: <ipaddress>:/<path to image>.
-u <user>Species the user name for accessing the FTP server, or Domain and user name for
accessing network share location.
-p <password>Species the password for accessing the FTP server or share location.
-s — The severity used to lter the records. Provide multiple severities using a "," as the delimiter. The
value is case-insensitive. Valid Severity values:
Warning
Critical
Info
—m <Comment> — User comment string for a record that must be inserted in the Lifecycle Controller log.
This comment string must be less than 128 characters. The text must be specied within double quotation
mark.
NOTE: HTML-specic characters may appear as escaped text.
-m <Worknote> — Adds a worknote (an entry) in the Lifecycle log. This worknote must be less than
256 characters. The text must be specied within double quotation mark.
NOTE: HTML-specic characters may appear as escaped text.
NOTE: For -m <worknote> and —m <comment> options, you need test alert privilege.
--complete — Export the complete Lifecycle log as a compressed le. The exported le will be of the
type .xml.gz.
-j<Job ID>Species the Job ID.
Example
Display the number of records present in the Lifecycle log.
racadm lclog view -i
Display the iDRAC agent idrac records, under the storage category and storage physical disk drive
subcategory, with severity set to warning.
racadm lclog view -a idrac -c storage -b pdr -s warning
Display the records under storage and system categories with severities set to warning or critical.
racadm lclog view -c storage,system -s warning,critical
Display the records having severities set to warning or critical, starting from sequence number 4.
racadm lclog view -s warning,critical -q 4
Display 5 records starting from sequence number 20.
racadm lclog view -q 20 -n 5
Display all records of events that have occurred between 2011-01-02 23:33:40 and 2011-01-03 00:32:15.
racadm lclog view -r "2011-01-02 23:33:40" -e "2011-01-03 00:32:15"
Display all the available records from the active Lifecycle log.
racadm lclog view
NOTE: If output is not returned when this command is used remotely, then retry increasing the
remote RACADM timeout value. To increase the timeout value, run the command racadm set
iDRAC.Racadm.Timeout <value>. Alternatively, you can retrieve few records.
Add a comment to record number 5 in the Lifecycle log.
racadm lclog comment edit –q 5 –m “This is a test comment.”
Add a worknote to the Lifecycle log.
racadm lclog worknote add -m "This is a test worknote."
54