vSAN1

 View Only
  • 1.  VSAN Performance Service is not starting up

    Posted Nov 07, 2018 06:58 PM

    Hello,

    After updating VCenter Server 6.0 to Update 3d (Windows based) VSAN Performance Service is turned off.

    If I try to enable VSAN Performance Service, there is a message “Cannot complete the operation because the file or folder 8b6cf… already exists”. “Failed to create directory .vsan.stats”

    In VSAN Health there is a Warning “Stats DB Object”

    There are folders .vsan.stats and 8b6cf.. in the vsan datastore.

    But i cannot delete these folders and files inside. They are locked.

    Does anybody know how to delete these folders or another way how to solve the issue with vsan performance service?



  • 2.  RE: VSAN Performance Service is not starting up

    Posted Nov 11, 2018 08:58 PM

    Hello RBannikov

    Welcome to Communities.

    Not positive if they were present in 6.0 or introduced in 6.5 but there are commands in RVC to manually remove and recreate the vSAN Performance stats DB Object/folder - it then should just be a case of re-enabling the Performance service to recreate a new healthy stats DB Object.

    Check the Health/attributes of this Object (can be seemingly healthy Object but broken in other ways though from experience though):

    > vsan.perf.stats_object_info ~cluster

    https://www.virten.net/2017/07/vsan-6-6-rvc-guide-part-5-performance-service/#vsan-perf-stats_object_info

    Delete the stats DB Object (Note that any historical performance data will be lost):

    > vsan.perf.stats_object_delete ~cluster

    https://www.virten.net/2017/07/vsan-6-6-rvc-guide-part-5-performance-service/#vsan-perf-stats_object_delete

    Enable the Performance service or recreate the stats DB Object:

    > vsan.perf.stats_object_create -o <SPBM policy> ~cluster

    https://www.virten.net/2017/07/vsan-6-6-rvc-guide-part-5-performance-service/#vsan-perf-stats_object_create

    Bob



  • 3.  RE: VSAN Performance Service is not starting up

    Posted Nov 27, 2018 04:59 AM

    Hello Bob,

    Thank you for your response.

    I have tried RVC but error occurred on 30% completion (the same as in web client). Please see attached RVC.jpg

    Deleting stats object also not possible because it is not shown any objects after vsan.perf.stats_object_info ~cluster

    But phisically there is a vsan.stats folder in vsan datastore

    I have attached report for this error after trying to enable performancd service from web client. Please see attached PerfService.xps

    Is it another option how to delete vsan.stats folder from vsan datastore?

    Thanks in advance.



  • 4.  RE: VSAN Performance Service is not starting up
    Best Answer

    Posted Nov 29, 2018 04:47 AM

    Hello Community,

    The problem was solved using command as below:

    /localhost/datacentername/computers/clustername> vsan.perf.stats_object_setpolicy -o /localhost/datacentername/storage/vmprofiles/storagepolicyname /computers/clustername/

    datacentername, clustername, storagepolicyname must be used as per actual name in your System. If storagepolicyname contains  space character " ", the error occurres that file is not found.