ESXI-06-000076 - The system must configure the VSAN Datastore name to a unique name.

Information

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 Cluster > Related Objects > 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_VMware_vSphere_6-0_ESXi_V1R5_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|III, CCI|CCI-000366, Group-ID|V-73135, Rule-ID|SV-87787r1_rule, STIG-ID|ESXI-06-000076, Vuln-ID|V-73135

Plugin: VMware

Control ID: aba3259ad93b735c8e57ed360eebaf967888bcb127d36896fc13dd5cd6ddb25a