Q. How can I easily collect diagnostics from my Windows Server 2016 cluster?
A. In Windows Server 2016 you can run a single cmdlet that will gather all this information for every node in the cluster and create a file for each node. Simply run:
Get-ClusterLog -Destination <path to store the files>
And a file for each node will be created. Each section starts with "[===" making it easy to quickly jump between sections just by searching for that string (and it makes each section title look like a Star Wars tie-fighter which is always good). The data in each section is also in comma-separated value (CSV) format making it easy to import into something like Excel.
You can also run Get-ClusterDiagnostics which will output a large ZIP file which contains even more diagnostics information that may be required by Microsoft when helping troubleshoot a problem.
To effectively troubleshoot various different sources of information are required such as:
- Cluster basic configuration and OS version
- Resources in the cluster
- Details of the nodes, networks an disks
- System logs
- Failover Clustering Operational logs
- Cluster logs
And -- good news -- collecting all the information needed to troubleshoot your cluster got much easier with Windows Server 2016.