I recently purchased a single HPE DL160 Gen9 1U Server with following:
- Single Intel Xeon X5 2609v4 CPU
- 128 GB RAM
- One 256 GB Samsung NVMe SSD
- One 3 TB Samsung 12G SAS SSD
- One 8 GB SanDisk USB Storage Media
- I have installed the HPE Customized Image for VMware ESXi 6.0 u2 which uses Virtual SAN 6.2
I wanted to create a vsanDatastore on a single host, using a process known as bootstrapping, to host virtual machines for testing and development.
I used the steps that were outlined in the blog article from William Lam Quick Tip – VSAN 6.2 (vSphere 6.0 Update 2) now supports creating all-flash diskgroup using ESXCLI
I connected to my ESXi host via SSH and executed the following commands below (which are specific to my configuration) for more details on the purpose of each command I would encourage you to read William’s blog.
esxcli vsan policy setdefault -c vdisk -p “((\”hostFailuresToTolerate\” i1) (\”forceProvisioning\” i1))”
esxcli vsan policy setdefault -c vmnamespace -p “((\”hostFailuresToTolerate\” i1) (\”forceProvisioning\” i1))”
esxcli vsan network ipv4 add -i vmk0
esxcli vsan cluster new
esxcli vsan storage tag add -d naa.50000f0a0550a980 -t capacityFlash
esxcli vsan storage add -s t10.NVMe____SAMSUNG_MZVPV256HDGL2D000H1______________1031006164382500 -d naa.50000f0a0550a980
