vSAN Health Service - Performance Service - Stats DB object conflicts check
search cancel

vSAN Health Service - Performance Service - Stats DB object conflicts check

book

Article ID: 317847

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

This article explains the Performance Service - ‘Stats DB object conflicts’ check in the vSAN Health Service and provides details about why it might report an error.

Environment

VMware vSAN (All Versions)

Resolution

Q: What does the Performance Service - Stats DB object conflicts check do?

A: The check verifies if there are multiple Stats DB objects.

Q: What does it mean when it is in an error state and how do i troubleshoot the issue?

A: Multiple Stats DB objects can be found in the cluster. The one in use might not be the one with the most relevant history. This can happen after a cluster merge. If the other Stats DB objects are no longer useful, then the datastore browser can be used to delete the additional renamed directories. The renamed directories, such as ".vsan.stats (1)" are shown in the health check results. You can find the renamed directory in the root directory of the vSAN datastore.

If the other Stats DB objects are useful, they can be backed up as files through the datastore browser, or they can be renamed and kept in the datastore. Merging of multiple Stats DB objects is not supported.

Screenshots showing the delete process with the datastore browser:

Confirm the error in Skyline Health:

 
Find the renamed object folders in the datastore browser:
 
Delete the renamed object folders:

Additional Information

7.x there is an option in vCenter UI to disable and then re-enable the Performance Service. 

When you disable the service. That action is expected to delete the stats.db objects in the .vsan.stats folder from the datastore as well.

Then when you enable the service a new stats.db object will be created.

In 8.x

The service has to be stopped with RVC tool from the vCenter CLI.

The service then can be re-started in the vCenter UI.