vSAN is showing an alarm for cluster configuration inconsistency for vSAN performance service in particular. Details show that one or more of the hosts are not configured for performance service.
When looking at performance service it will show enabled, but say that the current datastore is not compatible with the storage policy assigned
VMware vSAN 8.x
While enabling vSAN performance service, it doesn't get enabled for every host in the cluster and becomes out of sync, though since 8.0 it is no longer possible to disable and then re-enable vSAN performance service via the vSphere GUI.
In order to correct this, vSAN performance service will need to be turned on via RVC.
First log into RVC. Please see: Ruby vSphere Console Command Guide
SSH into vCenter Appliance as root
# rvc [email protected]@localhost
(Note: local administrator account may be different from default, check if necessary and use that instead)
It will then prompt for the local administrator password
Once into RVC navigate to the cluster you wish to enable vsan performance service on
Once in the cluster run the following command:
# vsan.perf.stats_object_create .
(Note: The . tells the command to run at the current directory, which in this case is the vSAN Cluster in question)
It will return *success* if completed.
This will enable vSAN Performance Service on the hosts that were not configured yet and fix the cluster inconsistency. Run a new health check to verify issue is resolved.
Note: If we have multiple vSAN Cluster in vcenter, we need to specify the cluster name against which we want to execute cmd "vsan.perf.stats_object_create"
For Example if we have 5 vSAN cluster under Datacenter and we want to execute the cmd against cluster name "Cluster_name_5" we need to run the cmd as below.
/localhost/Datacenter/computers> ls
0 Cluster_name_1 (cluster): cpu 1149 GHz, memory 7224 GB
1 Cluster_name_2 (cluster): cpu 0 GHz, memory 0 GB
2 Cluster_name_3 (cluster): cpu 241 GHz, memory 2037 GB
3 Cluster_name_4 (cluster): cpu 482 GHz, memory 4074 GB
4 Cluster_name_5 (cluster): cpu 1609 GHz, memory 10124 GB
/localhost/Datacenter/computers> vsan.perf.stats_object_info Cluster_name_5