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> — Species 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> — Species the name of the conguration le.
• -l — Species the location of the network share (NFS or CIFS).
• -u <username> — Species the user name of the remote share to import the le.
• -p <password> — Species the password of the remote share to import the le.
• -r <reboot type> — Species 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> — Species the start time for the scheduled job in yyyymmddhhmmss format. The
default value TIME_NOW starts the job immediately.
• -e <expiration time> — Species 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 dierence 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
eventlters
Table 17. Details of
eventlters
Description Displays the list of event lter settings.
52 RACADM Subcommand Details