When you use vSAN Direct in the vSphere with Tanzu environment, you can use external shared storage to store management internal VMs and other metadata.

Problem

When you deploy a homogeneous vSAN Direct cluster, you must create a replicated vSAN datastore on each ESXi host in the cluster to store Supervisor control plane VMs and other metadata. The vSAN datastore consumes space, requires an additional I/O controller on each host, and limits hardware configuration on which vSAN Direct can be supported.

Instead of configuring the vSAN datastore, you can use external shared storage for storing management internal VMs and other metadata.

Solution

  1. If vSAN or vSAN Direct was deployed on the ESXi hosts in the cluster, clear the hosts from any configuration.
    1. Remove any disks assigned to vSAN or vSAN Direct. See Remove Disk Groups or Devices from vSAN in Administering VMware vSAN.
    2. (Optional) Use the script to tag disks on the hosts for vSAN Direct. See Use Script to Tag Storage Devices for vSAN Direct.
  2. Use VMware Cloud Foundation to create a workload domain with external storage.
    Make sure to select one of the storage options, such as NFS, vVols, or Fibre Channel. Only one of these options can be selected.
    For more information, see Working with Workload Domains in the VMware Cloud Foundation Documentation.
    This step deploys a workload domain with vCenter Server and specified ESXi hosts. The external storage is mounted on all hosts and added to the default cluster.
  3. Enable vSAN.
    Make sure that no disks are claimed for vSAN.
    For more information, see Enable vSAN on an Existing Cluster in Administering VMware vSAN.
    This step creates a zero byte vSAN datastore with vSAN network. No local disks are used for vSAN.
  4. Claim local disks on the hosts for vSAN Direct.
    For information, see Create a vSAN Direct Datastore in vSphere with Tanzu Services and Workloads.
    For each device you claim, vSAN Direct creates a separate datastore.
  5. Create storage policies for vSAN Direct.
    For information, see Create vSAN Direct Storage Policy in vSphere with Tanzu Services and Workloads.
  6. Enable the Supervisor.
    For information, see the Installing and Configuring vSphere with Tanzu documentation.

Example

In this example, a setup includes external NFS storage and a vSAN Direct datastore. Control plane VMs and vSphere Pods are running on external NFS storage. Persistent volume claims run on vSAN Direct.

The setup includes external NFS storage and a vSAN Direct datastore