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 hpssacli cmd -q "controller slot=0 modify cacheratio 100/0”<br />

On HP storage controllers, the configuration advice is to disable cache, or if you<br />

cannot disable it completely, set it to 100% read. This command will set the cache<br />

ratio to 100% read and 0% write. Read is the first field and write is the second field<br />

– 100/0.<br />

esxcli hpssacli cmd –q “controller slot=0 array H delete forced”<br />

This command will delete disks from the controller. This will remove the disk from<br />

the Virtual SAN disk group, so it is advisable that the host is already in maintenance<br />

mode, and if possible, the data already evacuated if this is a maintenance operation.<br />

The operational status of the disk is Dead or Error (which basically means an All<br />

Paths Down (APD) condition from an ESXi perspective). The disk device also shows<br />

up as absent in the disk group. For additional details on observed behaviors when a<br />

device is removed in this way, refer to the storage section which discusses failed or<br />

removed devices.<br />

If you simply want to test the behavior of Virtual SAN when a drive is offlined, then<br />

this command will place either a magnetic disk or SSD offline. Virtual SAN will then<br />

mark this disk as absent, and unless the original disk is reinserted before the rebuild<br />

timeout has expired, rebuilding of components will begin.<br />

esxcli hpssacli cmd -q "controller slot=0 create type=ld drives=1I:1:4<br />

raid=0"<br />

This command adds a new logical device with a RAID-0 configuration to the host<br />

using physical drive located at 1I:1:4.<br />

If you previously force deleted a disk from the host (either magnetic disk or SSD),<br />

then this command will add it back in with a RAID-0 configuration, a necessary step<br />

for Virtual SAN to recognize devices from some HP controllers.<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 8 7

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

Saved successfully!

Ooh no, something went wrong!