You must configure every host that is part of the vSAN cluster with a VMkernel network adapter that is tagged for vSAN.
In the vSphere Client, you configure VMkernel networking for vSAN on each host by using a standard switch. You can also do this by using a vSphere Distributed Switch for easier and consistent configuration. In both cases, before configuring the cluster for vSAN, you must configure the hosts with VMkernel network adapters for vSAN.
When you configure vSAN on a cluster, the Configure vSAN wizard validates the networking configuration on the hosts. If some of the hosts do not have the VMkernel network adapter enabled for vSAN, then you must suspend the configuration of the cluster, and set up the host networking for the vSAN traffic.
In your client applications, you can set up preselected VMkernel network adapters for the vSAN traffic.
# Update configuration spec for VMkernel networking configInfo = vim.vsan.host.ConfigInfo( networkInfo=vim.vsan.host.ConfigInfo.NetworkInfo(port=[ vim.vsan.host.ConfigInfo.NetworkInfo.PortConfig(device=args.vmknic) ])) # Enumerate the selected VMkernel adapter for each host and add it to the list of tasks for hosts in hosts: print 'Enable vSAN traffic on host {} with {}'.format( hostProps[host]['name'], args.vmknic) task = hostProps[host]['configManager.vsanSystem'].UpdateVsan_Task(configInfo) tasks.append(task) # Execute the tasks vsanapiutils.WaitForTasks(tasks, si)