With PowerCLI, you can enable a vSAN file service.

Prerequisites

Verify that you are connected to a vCenter Server system.

Procedure

  1. Add a vSAN file service OVF to the OVF repository of the vCenter Server system.
    Add-VsanFileServiceOvf
  2. Verify that the vSAN file service OVF is successfully added.
    Get-VsanFileServiceOvfInfo
  3. Increase the PowerCLI timeout for the current session, so that the operation does not stop.
    Set-PowerCLIConfiguration -WebOperationTimeoutSeconds 3600 -Scope Session
  4. Retrieve the network that you want to use for the vSAN file service.
    $net = Get-VirtualNetwork -Name ‘MyNetwork’
  5. Modify the vSAN cluster configuration that you want to use to enable the vSAN file service.
    $config = Get-VsanClusterConfiguration
    Set-VsanClusterConfiguration $config -FileServiceEnabled $true -FileServiceNetwork $net