You can activate vSAN when you create host clusters or enable vSAN on existing clusters. When enabled, vSAN aggregates all local storage disks available on the hosts into a single datastore shared by all hosts.
You can run these commands in the ESXi Shell for a host, or the command affects the target host that you specify as part of the vCLI connection options.