Tuesday, April 29, 2014

Forcing SSD's in VSAN

I've been working with VSAN quite a bit lately and thought I'd share a writeup I made on forcing HDD's to be set as SSD, and passing greater than 16 hosts to a single cluster.

 The goto11 command is, in my opinion, the best easter egg I've seen in a while.

SSD drives are recognized as non-SSD
 You can use PSA SATP claim rules to tag SSD devices that are not detected automatically.
  1. Identify the device to be tagged and its SATP.
esxcli storage nmp device list
  2. Create a new SATP rule (replace mpx.vmhba2:C0:T2:L0 with your Device ID):
esxcli storage nmp satp rule add --satp VMW_SATP_LOCAL --device mpx.vmhba2:C0:T2:L0 --option=enable_ssd
3. Reclaim the device with the new rule (You can instead restart you ESXi server):
esxcli storage core claiming reclaim --device mpx.vmhba2:C0:T2:L0
4. Enable support for clusters greater than 16 Hosts
esxcli system settings advanced set -o /CMMDS/goto11 -i 1
(If you're not familiar with the movie Spinal Tap, here's why this is amazing: https://www.youtube.com/watch?v=4xgx4k83zzc)
Reboot when complete.
; ;