CLI Guide

The results of the latest successfully run remote diagnostics are available and retrievable remotely through an NFS
or a CIFS share.
Synopsis To run a remote diagnostic report:
racadm diagnostics run -m <mode> -r <reboot type> -s <start time> -e
<expiration time>
To export a remote diagnostic report:
racadm diagnostics export -f <file name> -l <NFS or CIFS share location> -u
<username> -p <password>
Input
—m <mode>Species the type of diagnostic mode. The types are:
Collect and export remote diagnostics report from the iDRAC.
The results of the latest successfully executed remote Diagnostics will be available and retrievable remotely
through an NFS or a CIFS share.
0(Express) — The express mode executes a subset of diagnostic tests.
1(Extended) — The extended mode executes all available diagnostics tests.
2(Both) — Runs express and extended tests serially in sequence.
-f <filename>Species the name of the conguration le.
-lSpecies the location of the network share (NFS or CIFS).
-u <username>Species the user name of the remote share to import the le.
-p <password>Species the password of the remote share to import the le.
-r <reboot type>Species the reboot type. The type can be one of the following:
pwrcycle — Power cycle
Graceful — Graceful reboot without forced shutdown
Forced — Graceful reboot with forced shutdown
-s <start time>Species the start time for the scheduled job in yyyymmddhhmmss format. The
default value TIME_NOW starts the job immediately.
-e <expiration time>Species the expiry time for the scheduled job in yyyymmddhhmmss format.
The default value TIME_NA does not apply the waiting time.
NOTE: For the diagnostic report run operation, the time dierence between the -s and -e options
must be more than ve minutes.
Output Provides the Job ID for the diagnostic operation.
Examples
To initiate a remote diagnostic operation:
racadm diagnostics run -m 1 -r forced -s 20121215101010 -e TIME_NA
To export a remote diagnostics report to CIFS share:
racadm diagnostics export -f diagnostics -l //192.168.0/cifs -u
administrator -p xxx
To export a remote diagnostics report to NFS share:
racadm diagnostics export -f diagnostics -l 192.168.0:/nfs -u administrator -
p xxx
eventlters
Table 17. Details of
eventlters
Description Displays the list of event lter settings.
52 RACADM Subcommand Details