With PowerCLI, you can
enable a vSAN file service.
Prerequisites
Verify that you are connected
to a
vCenter
Server
system.
Procedure
-
Add a vSAN file service OVF to the OVF repository of the
vCenter
Server system.
-
Verify that the vSAN file service OVF
is successfully added.
Get-VsanFileServiceOvfInfo
-
Increase the PowerCLI
timeout for the current session, so that the operation does not stop.
Set-PowerCLIConfiguration -WebOperationTimeoutSeconds 3600 -Scope Session
-
Retrieve the network that you want to use for the vSAN file service.
$net = Get-VirtualNetwork -Name ‘MyNetwork’
-
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