CLI Guide

Table 20. Details of coredumpdelete (continued)
Example
racadm coredumpdelete
Coredump request completed successfully
diagnostics
Table 21. Details of diagnostics
Description Collects and exports remote diagnostics report from iDRAC.
The results of the latest successfully run remote diagnostics are available and retrievable remotely
through an NFS, CIFS, HTTP, or HTTPS) 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,CIFS,HTTP,or HTTPS
share location> -u <username> -p <password>
Input
m <mode>Specifies 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 the NFS, CIFS, HTTP, and HTTPS 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>Specifies the name of the configuration file.
-lSpecifies the location of the network share (NFS, CIFS, HTTP, and HTTPS).
-u <username>Specifies the user name of the remote share to import the file.
-p <password>Specifies the password of the remote share to import the file.
-r <reboot type>Specifies the reboot type. The type can be one of the following:
pwrcyclePower cycle
Graceful Graceful reboot without forced shutdown
ForcedGraceful reboot with forced shutdown
-s <start time>Specifies the start time for the scheduled job in yyyymmddhhmmss format.
The default value TIME_NOW starts the job immediately.
-e <expiration time>Specifies 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 difference between the -s and -e options
must be more than five minutes.
Output Provides the Job ID for the diagnostic operation.
Examples
To initiate the 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
42 RACADM Subcommand Details