Friday, October 18, 2024

VMware PowerCLI 101 - part11 - Get vCLS cluster state

vSphere Cluster Services (vCLS) is a feature introduced in vSphere 7.0 Update 1 to ensure the availability of cluster services like DRS and HA, even if the vCenter Server becomes unavailable. It provides a distributed control plane for clustering services, improving scalability and resilience.

> Get-Cluster | select Name, @{N="VcsHealthStatus";E={$PSItem.ExtensionData.SummaryEx.VcsHealthStatus}}  
  
Name                    VcsHealthStatus  
----                    ---------------  
Cluster-01              healthy  
Cluster-02              healthy

Hope it was useful. Cheers!