Syntax
Get-VsanEnterMaintenanceModeReport [-AccessibleAndCompliant] -VMHost <VMHost> -VsanDataMigrationMode <String> [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Online VersionDetailed Description
This cmdlet retrieves the report of capacity or objects which may have accessbility or compliance issues, if a virtual machine host enters maintenance mode. The report data includes: 1. Overall state: The possible statuses are: Green - resource check passed for the queried operation. There is sufficient resource in the vSAN cluster to perform the queried operation. Yellow - resource check passed for the queried operation, but there is an existing issue in the cluster, for example, network partition. Red - resource check failed for the queried operation. Extra resource is required to make the given operation succeed. 2. Each virtual machine host's capacity report for the Capacity parameter set. 3. Objects which may have accessbility or compliance issues for the AccessibleAndCompliant parameter set.Parameters
Return Type
One VsanEnterMaintenanceModeReportNotes
Works only with vCenter Server vSAN 6.7 Update 3 or later. For more information, see the VMware Storage Policy API Reference: https://pubs.vmware.com/vsphere-60/index.jsp#com.vmware.vspsdk.apiref.doc/right-pane.htmlExamples
-------------------------- Example 1 --------------------------
Get-VsanEnterMaintenanceModeReport -VMHost $vmHost -AccessibleAndCompliant
Retrieves one VsanEnterMaintenanceModeReport with objects which may have accessbility or compliance issues.
-------------------------- Example 2 --------------------------
Get-VsanEnterMaintenanceModeReport -VMHost $vmHost -Capacity
Retrieves one VsanEnterMaintenanceModeReport with each virtual machine host's capacity report.