VCWN-65-000055 - The vCenter Server for Windows must configure the vSAN Datastore name to a unique name.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

A vSAN Datastore name by default is 'vsanDatastore'. If more than one vSAN cluster is present in vCenter both datastores will have the same name by default, potentially leading to confusion and manually misplaced workloads.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

From the vSphere Web Client go to Host and Clusters >> Select a vSAN Enabled Cluster >> Datastores. Right-click on the datastore named 'vsanDatastore' and select 'Rename'. Rename the datastore based on operational naming standards.

or

From a PowerCLI command prompt while connected to the vCenter server run the following command:
If($(Get-Cluster | where {$_.VsanEnabled} | Measure).Count -gt 0){
Write-Host 'vSAN Enabled Cluster found'
$Clusters = Get-Cluster | where {$_.VsanEnabled}
Foreach ($clus in $clusters){
$clus | Get-Datastore | where {$_.type -match 'vsan'} | Set-Datastore -Name $(($clus.name) + '_vSAN_Datastore')
}
}
else{
Write-Host 'vSAN is not enabled, this finding is not applicable'
}

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_6-5_Y21M10_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000366, Rule-ID|SV-216874r612237_rule, STIG-ID|VCWN-65-000055, STIG-Legacy|SV-104643, STIG-Legacy|V-94813, Vuln-ID|V-216874

Plugin: VMware

Control ID: 016b4cf8516afaf2459aeaef191351693170ac9489e291b1a43a5a7f5a773d6f