HP VMware Utilities User Guide VMware ESXi 5.0 U1 for October 2012

Table 7 HPACUCLI Command-Line Arguments (continued)
FunctionArgument
Additional switches associated with the command itself (if necessary).cmd options
This is the string which dictates the operation that should be executed by the target application itself.command-string
The current namespace and command names are: hpacucli and cmd respectively. The {cmd
options} parameter can be cmdopts or -q. There is no need for an {object} type for ACUCLI
since the application operates on internal commands supplied in the command-string.
HPACUCLI ESXCLI syntax
The HPACUCLI utility is supported by the ESXCLI utility.
Use the following command syntax for all commands:
# esxcli server=servername or IP user=username password=root
password hpacucli cmd -q command-string
The command-string parameter supports same commands that are specified at the HPACUCLI
interactive command-line interface.
Example 1 This example shows the information about all the SmartArray controller on the server.
esxcli server=servername or IP user=username password=root
password hpacucli cmd -q controller all show status
The following output is displayed:
Smart Array P212 in Slot 9
Controller Status: OK
Smart Array P410i in Slot 0 (Embedded)
Controller Status: OK
Cache Status: OK
Battery/Capacitor Status: OK
Example 2 This example shows the detailed configuration information for the SmartArray controller
in slot 0.
# esxcli server=servername or IP user=username passwordroot
password hpacucli cmd -q controller slot=0 show config detail
The following output is displayed:
Smart Array P410i in Slot 0 (Embedded)
Bus Interface: PCI
Slot: 0
Serial Number: 5001438013A25C90
Cache Serial Number: PBCDF0CRH0J7SD
RAID 6 (ADG) Status: Disabled
Controller Status: OK
Hardware Revision: C
Firmware Version: 3.70
Rebuild Priority: Medium
Expand Priority: Medium
Surface Scan Delay: 15 secs
Surface Scan Mode: Idle
Queue Depth: Automatic
Monitor and Performance Delay: 60 min
Elevator Sort: Enabled
HPACUCLI utility 11