Syntax:

<target> modify led=onoff

Example commands:

=> ctrl ch="Lab 4" modify led=on

=> ctrl ch="Lab 4" array A modify led=off

Deleting target devices

Syntax:

<target> delete [forced]

where <target> can be a controller, array, or logical drive. Except in the case of controllers, you can delete several devices simultaneously if they are of similar type by using the all keyword.

Because deleting a target device can result in data loss, the screen displays a warning prompt unless you include the forced parameter.

Example commands:

=> ctrl ch="Lab 4" delete forced => ctrl slot=3 ld all delete

Generating a diagnostic report

HP provides several ways for administrators to generate diagnostic information, including all three HP SSA formats and the standalone HP Smart Storage Administrator Diagnostics Utility CLI (on page 112).

For VMware ESX 5.x, diagnostic reports are generated differently and require you to run another utility, HPSSADUESXI, through the VMware vSphere CLI. For more information, see the HP VMware Utilities User Guide.

In HP SSA CLI, the diag command outputs diagnostic information about a specified controller or all controllers on the system. The ssdrpt option generates the SmartSSD Wear Gauge report.

Syntax

<target> diag <file=filename> [ris=onoff] [ssdrpt=onoff] [xml=onoff] [zip=onoff]

where the following is designated:

<target> is a controller or all controllers.

<file=filename> designates the target file in which the diagnostic information is saved.

[ris=onoff] determines whether RIS information is or is not included. The off value is provided for backward compatibility and is ignored.

[ssdrpt=onoff] specifies to generate or not generate the Smart SSD Wear Gauge report. The default is off.

[xml=onoff] outputs diagnostic information in formatted XML. The off value is provided for backward compatibility and is ignored.

[zip=onoff] compresses the output to a zipped file. Default behavior is uncompressed. The off value is provided for backward compatibility and is ignored.

Example commands

ctrl all diag file=c:\allcontrollers.zip ctrl slot=4 diag file=c:\ctrl_slot4.zip ctrl ch="mybox" diag file=mybox.zip ssdrpt=on

Operations 63