VMware Cloud Community
nkretschmar
Contributor
Contributor

vCVLS health information from each cluster

Hi folks,

to remediate an issue with the vCLS in several cluster of our vSphere 7 environment I need to retrieve the vCLS health information per cluster. In the UI you find it below "Monitor / vSphere Cluster Service / Health".

I want to use the information to deal later with the Retreat Mode, managed in the Advanced Settings of the vCenter appliance.

The second part has been evaluated already here: Disabling vCLS with PowerCLI..? - VMware Technology Network VMTN

But for the first, I would need a small hint, which property in cluster object is the right one.

Regards,

Nico

Tags (2)
0 Kudos
6 Replies
LucD
Leadership
Leadership

Try with

Get-Cluster |
Select Name,
  @{N='vcsHealthStatus';E={$_.ExtensionData.summaryEx.vcsHealthStatus}}


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
nkretschmar
Contributor
Contributor

@LucD 

Thanks for the rocket-fast response, however it doesn't show the current (buggy) information.

2023-08-22 10_08_42-Window.png

Potentially, there is no way to retrieve this information

0 Kudos
LucD
Leadership
Leadership

What does it show?
I have a cluster with the same "No history available..." and there the health shows 

Name    vcsHealthStatus
----    ---------------
cluster nonhealthy


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
nkretschmar
Contributor
Contributor

@LucD 

Thats interesting, the one from the picture, I shared is saying this:

Name vcsHealthStatus
---- ---------------
xxxvrthstcluster01.eu.tiauto.com healthy

There was the moment, I felt uncertainity I can use that information. 

0 Kudos
LucD
Leadership
Leadership

Afaik, that history page contains the latest vCLS events (if vCLS is active).
I'll have to investigate further to check which specific events these might be


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
nkretschmar
Contributor
Contributor

Thats perhaps the grey zone.

It is confirmed, the vCLS is active, when we look from the angle of the "vSphere ESX Agent Manager", via the "Extensions" at the related. But as initially said, I am working around a cosmetical bug (confirmed by the VMware Support), where I have to enable/disable via the Retreat Mode in any affected cluster. 

As we have 120 clusters, I was wonderring if I can ease my life, in detecting and remediating the issue programmatically.

0 Kudos