This module is used to check the health, diagnostics and capacity of a private clouds. It assumes private cloud deployment with compute and/or storage clusters running Windows Server 2012 R2 or Windows Server 2016.The module has diagnostic commands like Test-StorageHealth which performs specific health checks for Failover Clustering (Cluster, Resources, Networks, Nodes), Storage Spaces (Physical Disks, Enclosures, Virtual Disks), Cluster Shared Volumes, SMB File Shares and Deduplication. Sources available at Github ( http://github.com/Powershell/Cloud.Health) and download available via Powershell Gallery at (https://www.powershellgallery.com/packages/Cloud.Health)
Test-StorageHealth command in this module includes several sections, including:
- Reporting of Storage Health, plus details on unhealthy components.
- Reporting of Storage Capacity by Pool, Volume and Deduplicated volume.
- Reporting of Storage Performance with IOPS and Latency per Volume
- Collection of event logs from all cluster nodes and Summary Error Report.
Powershell gallery: https://www.powershellgallery.com/packages/Cloud.Health Note: Installing items from the Gallery requires the latest version of the PowerShellGet module, which is available in Windows 10, in Windows Management Framework (WMF) 5.0, or in the MSI-based installer (for PowerShell 3 and 4).
Install the module by running following command in powershell
Install-Module Cloud.Health -Verbose
Update the module by running following command in powershell
Update-Module Cloud.Health -Verbose
Download the latest module from github - https://github.com/PowerShell/Cloud.Health/archive/master.zip and extract directory Cloud.Health to the correct powershell modules path pointed by $env:PSModulePath
Invoke-WebRequest -Uri "https://github.com/PowerShell/Cloud.Health/archive/master.zip" -outfile "$env:TEMP\master.zip" -Verbose
Expand-Archive -Path "$env:TEMP\master.zip" -DestinationPath "$env:TEMP" -Force -Verbose
Copy-Item -Recurse -Path "$env:TEMP\Cloud.Health-master\Cloud.Health" -Destination "$env:SystemRoot\System32\WindowsPowerShell\v1.0\Modules\" -Force -Verbose
Import-Module Cloud.Health -Verbose
Get-Command -Module Cloud.Health
Get-Help Test-StorageHealth
Note: Example below runs against storage cluster name "CLUS01"
Test-StorageHealth -ClusterName CLUS01 -Verbose
Test-StorageHealth -Verbose
Test-StorageHealth -WriteToPath D:\Folder
Test-StorageHealth -ReadFromPath D:\Folder
Test-StorageHealth -IncludeEvents:$false
A lot of improvements and new cmdlets to analyze the cloud health. Provide feedback on what you'd like to see.