S2D performance metrics

Jiří Dutka 21 Reputation points
2021-03-29T06:48:52.217+00:00

Hello,

is there any other way to to collect metrics from Storage Spaces Direct than Powershell cmdlet Get-ClusterPerf? I don't want to use SCOM nor AdminCenter. I need to get these numbers into centralized monitoring system.

I would like to collect data for physical disks, pool etc but this command seems very slow to me if I want to run this for data mining regularly.

I have tried to search in WMI also but it seems these metrics are not stored there. I have found only this class ROOT\MSCluster:MSCluster_MetricRecordReal64 but it is empty with description "TBD". Does it mean it could be made in the future? (if it is the class I am looking for)

Or is there any other option to access these values?

EDIT: It would be ideal to access PerformanceHistory database and query for values but I don't know if it is possible.

Thank you.

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,457 questions
Windows Server Storage
Windows Server Storage
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Storage: The hardware and software system used to retain data for subsequent retrieval.
631 questions
0 comments No comments
{count} votes

Accepted answer
  1. JiayaoZhu 3,911 Reputation points
    2021-03-31T05:32:42.813+00:00

    Hi,

    Thank you for your reply!

    1)After my research, I suppose Windows Admin Center and PowerShell are the most appropriate methods for you to get access to S2D performance history and they are explained in the public document I sent to you before.

    2)Based on your descriptions, I took research on whether S2D performance history can be accessed through WMI classes, and I found it that the relations between these two were unclear. Besides, there are few artucles or blogs that related to your situation. As a result, it seems that using WMI classes to query S2D performance history is not a reliable way, so I may not suggest you to go further with it.

    In addition, Windows Admin center has relatively mature management for Cluster and the GUI interface is relatively easy to operate. And, based on your statement, "...but this command seems very slow to me if I want to run this for data mining regularly," I may suggest you to use Admin Center. So, I wonder if it is convenient for you to tell me the reasons why you do not decide to use Admin Center.

    Best regards
    Joann

    --------------------------------------------------------------------------------------------------------------------

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

3 additional answers

Sort by: Most helpful
  1. JiayaoZhu 3,911 Reputation points
    2021-03-30T05:37:48.937+00:00

    Hi,

    Thank you for your posting!

    According to your condition, I think you have two confusions:

    1.You'd like to know if there are any ways to get access to your S2D performance history other than Admin Center and PowerShell. The two ways are mentioned in the below document:

    https://learn.microsoft.com/en-us/windows-server/storage/storage-spaces/performance-history

    2.You'd like to know if you can check your performance history through WMI.

    I will take further research on these two parts for you.

    In addition, if you want solutions other than what is listed in the document, I may suggest you to figure out some third-party products to solve your issue.

    Thank you for your support!

    Best wishes
    Joann


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Jiří Dutka 21 Reputation points
    2021-03-30T07:18:46.097+00:00

    Hello,

    thank you for your answer but I'm not sure if I got answers for my questions.

    1) Yes I know about ClusterPerformanceHistory volume I even mentioned it in my previous post. I have spent lot of time reading MSFT public documents but I haven't found any other solution than using AdminCenter or Powershell cmdlet Get-ClusterPerf which is not really usable if you want to get metrics for example from 50 physical disks in cluster.

    So the question is can I access this database directly by querying it? Not from Powershell nor Admin center.

    2) Second question was about WMI classes with "TBD" description. These look like there could be exactly values I am looking for but I am not sure because they are empty for now. Does this "TBD" description mean they could be made in the future updates? If so, can I expect creating these classes in coming months or even years?

    I don't want to use third party products I just want to know if I can access these values other way than Powershell cmdlet. That's all.

    Thank you very much.

    Jiri

    0 comments No comments

  3. Jiří Dutka 21 Reputation points
    2021-04-06T07:18:55.597+00:00

    Hi,

    thank you for reply.

    The reason I don't want to use AdminCenter is that I want to use centralized monitoring system where I can see all my systems and not one tool for every system I have. For example Windows, Linux, some storages, etc.

    It's a pity I can't use other way to access these performance values than Powershell and AdminCenter.

    Best regards
    Jiri