09.03.2015 Views

VSAN-Troubleshooting-Reference-Manual

VSAN-Troubleshooting-Reference-Manual

VSAN-Troubleshooting-Reference-Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Diagnostics and <strong>Troubleshooting</strong> <strong>Reference</strong> <strong>Manual</strong> – Virtual SAN<br />

~ # esxcli<br />

Usage: esxcli [options] {namespace}+ {cmd} [cmd options]<br />

Options:<br />

--formatter=FORMATTER<br />

Override the formatter to use for a given command. ...<br />

--debug<br />

Enable debug or internal use options<br />

--version<br />

Display version information for the script<br />

-?, --help Display usage information for the script<br />

Available Namespaces:<br />

device<br />

Device manager commands<br />

esxcli Commands that operate on the esxcli system ...<br />

fcoe<br />

VMware FCOE commands.<br />

fio<br />

Fusion-io utility CLI<br />

graphics<br />

VMware graphics commands.<br />

hardware VMKernel hardware properties and commands for configuring ...<br />

hpbootcfg<br />

HP Boot Configuration Utility<br />

hpssacli<br />

HP Smart Storage Administrator CLI<br />

hptestevent<br />

HP Test Event Utility<br />

iscsi<br />

VMware iSCSI commands.<br />

network Operations that pertain to the maintenance of networking on ...<br />

sched VMKernel system properties and commands for configuring ...<br />

software<br />

Manage the ESXi software image and packages<br />

storage<br />

VMware storage commands.<br />

system VMKernel system properties and commands for configuring ...<br />

vm A small number of operations that allow a user to Control ...<br />

vsan<br />

VMware <strong>VSAN</strong> commands.<br />

The hpssacli, Smart Storage Administrator CLI, is the one we are particularly<br />

interested in:<br />

~ # esxcli hpssacli<br />

Usage: esxcli hpssacli {cmd} [cmd options]<br />

Available Commands:<br />

cmd<br />

hpssacli command with options parameter.<br />

~ # esxcli hpssacli cmd -q help<br />

CLI Syntax<br />

A typical HPSSACLI command line consists of three parts: a target device,<br />

a command, and a parameter with values if necessary. Using angle brackets to<br />

denote a required variable and plain brackets to denote an optional<br />

variable, the structure of a typical HPSSACLI command line is as follows:<br />

[parameter=value]<br />

is of format:<br />

[controller all|slot=#|serialnumber=#]<br />

[array all|]<br />

[physicaldrive all|allunassigned|[#:]#:#|[#:]#:#-[#:]#:#]<br />

[ssdphysicaldrive all|allunassigned|[#:]#:#|[#:]#:#-[#:]#:#]<br />

[logicaldrive all|#]<br />

[enclosure all|#:#|serialnumber=#]<br />

[licensekey all|]<br />

[ssdinfo]<br />

Note 1: The #:#:# syntax is only needed for systems that<br />

specify port:box:bay. Other physical drive targeting<br />

schemes are box:bay and port:id.<br />

Example targets:<br />

controller slot=5<br />

controller serialnumber=P21DA2322S<br />

controller slot=7 array A<br />

controller slot=5 logicaldrive 5<br />

controller slot=5 physicaldrive 1:5<br />

V M W A R E S T O R A G E B U D O C U M E N T A T I O N / 2 7 6

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!