HP VMware Utilities User Guide VMware 5.1 U1 OS April 2013

Table 7 HPACUCLI Command-Line Arguments
FunctionArgument
The esxcli application.esxcli
Each plugin must have an associated namespace which defines any environment or other system
variables required by the application.
namespace
A plugin must have one or more associated objects which defines a single operation.object
Prepares the esxcli target to accept a command-line string.command
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
HPACUCLI utility 11