VSAN Quick-Config Guide

Five months ago I built my home lab with VSAN and performance tested it (with the default policy).  It turns out I was missing a key part of the configuration: the “Service Provider URLs”.  Here is the complete VMware Virtual SAN configuration process for a home lab.

Requirements

  • Working vSphere solution with vCenter 5.5 VSAN beta or above and ESXi 5.5 VSAN beta or above
  • 3 hosts with SSD and SATA JBOD (1 + 1 minimum)
  • Virtual SAN Licences (per CPU)
  • Administrator access to the vSphere Web Client

Assumptions

  • You are configuring this on a home lab, otherwise you will have to match this process to an enterprise design; that is, more disks, 10Gb Ethernet interfaces and LAN switches, Network Resource Pools, etc.
  • Virtual SAN Observer not covered here

Configuration Procedure

  1. Login to the vSphere Web Client as an administrator.
  2. Enable “Virtual SAN traffic” on the Management VMkernel (“vMotion traffic” as well) of each VSAN-capable ESXi host.  The vSwitch can be vSS or vDS, it does not matter for a home lab.
  3. Add your three VSAN-capable ESXi hosts to a Cluster.
  4. “Turn ON Virtual SAN” in the Cluster with “Add disks to storage” in “Automatic” mode.
  5. Click “Disk Management” and verify that the SSD and SATA disks have been claimed.  Verify that each host is “Connected” with “Status” “Healthy”.
  6. Select the “Storage” tab and verify that a “vsanDatastore” object has been created.
  7. Select the vCenter object and access the “Storage Providers” object from the “Manage” tab.
  8. Add each host as a Storage Provider with the following URL “http://<host IP>:8080/version.xml”, including the ESXi root credentials.
  9. Access the “VM Storage Policies” area and create a new “VM Storage Policy”.
  10. Add the following VSAN Rules to your “Rule-Set(s)” to create the storage performance/protection policy that you want: “Flash read cache reservation (%)”, “Number of failures to tolerate”, “Number of disk stripes per object”, “Force provisioning”, “Object space reservation (%)”.
  11. Then select the “vsanDatastore” as the policy target.
  12. Edit the settings of a virtual machine and select the “VM Storage Policy” for vDisks of the VM.

VSAN_1 VSAN_2 VSAN_3 VSAN_4 VSAN_5 VSAN_6 VSAN_7 VSAN_8 VSAN_9 VSAN_10 VSAN_11

Additional Resources

Published by

vcdx133

Chief Enterprise Architect and Strategist, 4xVCDX#133, NPX#8, DECM-EA.