PowerShell script for Storage Cluster Health Test published to the TechNet Script Center
I just published a PowerShell script to check the health and capacity of a Storage Cluster based on Windows Server 2012 R2 Scale-Out File Servers.
It assumes a specific configuration for Private Clouds using the solution described at https://technet.microsoft.com/en-us/library/dn554251.aspx.
It performs specific health checks for
- Failover Clustering (Cluster, Resources, Networks, Nodes)
- Storage Spaces (Physical Disks, Enclosures, Virtual Disks)
- Cluster Shared Volumes
- SMB File Shares
- Deduplication
It includes reporting of capacity by Pool, Volume and Deduplicated volume. It also includes collection of cluster logs and error events from all nodes in the cluster.
You can review and download the script from https://gallery.technet.microsoft.com/scriptcenter/Test-StorageHealthps1-66d84fd4
Lastly, if you're interested in how the script was written, you might also want to read these other blog posts:
How the Test-StorageHealth.ps1 script checks for Storage Cluster health
https://blogs.technet.com/b/josebda/archive/2014/07/26/how-the-test-storagehealth-ps1-script-checks-for-storage-cluster-health.aspxUnderstanding the files collected by the Test-StorageHealth.ps1 PowerShell script
https://blogs.technet.com/b/josebda/archive/2014/08/14/understanding-the-files-collected-by-the-test-storagehealth-ps1-powershell-script.aspx
PowerShell tips for building objects with custom properties and special formatting
https://blogs.technet.com/b/josebda/archive/2014/04/19/powershell-tips-for-building-objects-with-custom-properties-and-special-formatting.aspx
Adding Storage Performance to the Test-StorageHealth.ps1 script
https://blogs.technet.com/b/josebda/archive/2014/09/07/adding-storage-performance-to-the-test-storagehealth-ps1-script.aspx
How to use the Test-StorageHealth.ps1 PowerShell script with different configurations
https://blogs.technet.com/b/josebda/archive/2014/09/26/how-to-use-the-test-storagehealth-ps1-powershell-script-with-different-configurations.aspx
Comments
- Anonymous
January 01, 2003
thanks - Anonymous
September 07, 2014
PowerShell script for Storage Cluster Health Test published to the TechNet Script Center - Jose Barreto's Blog - Site Home - TechNet Blogs - Anonymous
September 19, 2014
PowerShell script for Storage Cluster Health Test published to the TechNet Script Center - Jose Barreto's Blog - Site Home - TechNet Blogs - Anonymous
September 22, 2014
PowerShell script for Storage Cluster Health Test published to the TechNet Script Center - Jose Barreto's Blog - Site Home - TechNet Blogs - Anonymous
October 22, 2014
PowerShell script for Storage Cluster Health Test published to the TechNet Script Center - Jose Barreto's Blog - Site Home - TechNet Blogs