Enabling vSAN Original Storage Architecture on a Cluster

After filtering the clusters that you want to configure for vSAN, the next step is to enable vSAN on these clusters.

In the vSphere Client, you use the Configure vSAN wizard to configure individual clusters for vSAN.

Configures vSAN cluster, optionally multi-site.
To enable vSAN in your vSAN Management API client applications, build an object of type VimVsanReconfigSpec by passing a VsanClusterConfigInfo parameter with the property enable set to true.
# Build vsanReconfigSpec step by step.  It takes effect only after calling the VsanClusterReconfig method
clusterConfig = vim.VsanClusterConfigInfo(enabled=True)
vsanReconfigSpec = vim.VimVsanReconfigSpec(modify=True, vsanClusterConfig=clusterConfig)