question

JiDutka-7679 avatar image
0 Votes"
JiDutka-7679 asked jiayaozhu-MSFT commented

S2D performance metrics

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-2019windows-server-storage
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

jiayaozhu-MSFT avatar image
0 Votes"
jiayaozhu-MSFT answered

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

jiayaozhu-MSFT avatar image
0 Votes"
jiayaozhu-MSFT answered jiayaozhu-MSFT edited

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://docs.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.


day0012.jpg (25.2 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JiDutka-7679 avatar image
0 Votes"
JiDutka-7679 answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

JiDutka-7679 avatar image
0 Votes"
JiDutka-7679 answered jiayaozhu-MSFT commented

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

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Thank you for your feedback!

Your suggestions will always be meaningful for us. You can also post the suggestions to our Connect feedback portal. Our developer will evaluate them seriously and take them into consideration when designing future release of the product. Here is the link:

https://windowsserver.uservoice.com/forums/295047-general-feedback

Improving the quality of the products and services is a never-ending process for Microsoft. Thanks again for choosing us. Besides, I would appreciate it if you could accept answer for me, to let people who have the similar issue with yours to find this blog more quickly.

Best regards
Joann

0 Votes 0 ·