Get-ClusterperformanceHistory Powershell command hangs at 'Querying The Database' on an Azure Stack HCI I cluster

Breedy, Andrew 41 Reputation points
2022-02-17T10:02:12.5+00:00

When running the Get-Clusterperformance history command on an ASHCI cluster it hangs at '1/3 Querying the Database’ whenever I run it. The cmdlet seemed to stop working for no reason, it had worked fine for me then stopped a few minutes later.
I tried running 'Stop-ClusterPerformanceHistory -DeleteHistory' then 'Start-ClusterPerformanceHistory' but no change.
When I set up the cluster initially I did have a problem with the cluster performance charts IOPS and Latency were blank but running the above two command fixed that problem.

Windows for business Windows Server User experience PowerShell
Community Center Not monitored
{count} votes

Accepted answer
  1. Trent Helms - MSFT 2,541 Reputation points Microsoft Employee
    2022-02-18T15:49:35.993+00:00

    Hi @Breedy, Andrew ,

    After discussing with the team, we have an action plan you can try. Please try the steps below and let us know if this helps to resolve your issue.

    1. Run Stop-ClusterPerformanceHistory -DeleteHistory -Verbose. Look for any errors in the output.
    2. Once this has stopped, run Get-VirtualDisk -FriendlyName ClusterPerformanceHistory and ensure the virtual disk has been removed.
    3. Stop and start the Health resource using Stop-ClusterResource Health followed by Start-ClusterResource Health.
    4. Run Start-ClusterPerformanceHistory to restart the perf history again. (Note that you may need to wait 15-20 minutes for history to be repopulated.)

    Please try these steps and let me know the result.

    Hope this helps!
    Trent


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.