One of the most import prerequisite for VSAN configuration is local disk and SSD. Minimum of 3 ESXi 5.5 hosts with all contributing local disks (1 SSD and 1 HDD) to VSAN cluster and atleast 1 SAS or SATA solid state Drive (SSD) should be part of each ESXi host with SSD is not claimed by vSphere Flash Read Cache. This posts explains you with the procedure to setup VSAN using VMware Workstation but how do you use SSD. This complete post series talk about setting up VSAN lab feasible for everyone. All my ESXi hosts are running on top of the VMware Workstation. So i don’t have SSD for that. Will it stop me to setup my VSAN lab on workstation. Definetly No. Ohh.. Then how do i use SSD (important pre-requisite for VSAN configuration). Don’t worry. There is a option to fake your ESXi hosts local disk as SSD. Thanks and all credit goes to William Lam for his excellent post about faking the ESXi local disks as SSD. Let’s see the detailed step by step procedure to configure this bypass.
Below is the disk configuration of all the 3 ESXi hosts running on VMware Workstation.
4 Local Disks created on the VMware Workstation
Disk 1 – 40 GB (Local Datastore and ESXi install disk)
Disk 2 – 10 GB (Going to fake this disk as SSD)
Disk 3 – 40 GB
Disk 4 – 20 GB
Below is the disk layout of my ESXi host. You can notice that none of the below disks are SSD. So it is not yet eligible for VSAN cluster.
Connect to your ESXi host using SSH connection such as Putty. You can list the disks in your ESXi host using the below command
ls -l /vmfs/devices/disks
esxcli storage core device list –device=mpx.vmhba1:C0:T1:L0
esxcli storage nmp satp rule add –satp VMW_SATP_LOCAL –device mpx.vmhba1:C0:T1:L0 –option “enable_ssd“
You need to reclaim the device using the below command so that added rule will apply.
esxcli storage core claiming reclaim -d mpx.vmhba1:C0:T1:L0
esxcli storage core device list –device=mpx.vmhba1:C0:T1:L0
Same can be verified from your vSphere Web client -> ESXi Host -> Manage Tab -> Storage -> Storage devices. You can notice the disk “mpx.vmhba1:c0:T1:L0” now listed as SSD after the above configuration.
Above step needs to configured on all the 3 ESXi hosts to fake the one of the local disk as SSD to eligible for VSAN. That’s it. We are done with disk preparation for VSAN. I hope this will be informative for you. Thanks for reading !!!.