Wednesday, December 27, 2017

vSAN troubleshooting Commands

RVC login
localhost:~ #rvc
localhost:~ #domain\user@localhost

Disk Component Resync
Show component resync status
vsan.resync_dashboard .

Show all disk status (used/reserved, disk health, disk version)
vsan.disks_stats .

Disk Rebalance
Start Rebalance disks
vsan.proactive_rebalance --start --time-span 86400 --variance-threshold 0.30 --time-threshold 1800 --rate-threshold 100000 <cluster path>

Stop Rebalance disks
vsan.proactive_rebalance --stop <cluster path>

Check Rebalance status
vsan.proactive_rebalance_info /localhost/SouthEast/computers/Raleigh
vsan.resync_dashboard /localhost/SouthEast/computers/Raleigh

Cluster
Remove host or witness from fault domain
esxcli vsan cluster leave

Troubleshoot
esxcli vsan cluster get
vsan.check_state .
vsan.disks_info <host path>

Stress Test
/localhost/SouthCentral/computers/Houston> vsan.health.cluster_load_test_run -r houston_stress -t "Stress test" -d 28800 ./

Check vSAN upgrade status
vsan.upgrade_status -r 60 /localhost/VSAN-DC/computers/VSAN-Cluster/