Skip to main content
Pure1 Support Portal

Troubleshooting: Collect Windows Server Failover Cluster Logs and System Information

Problem

Collect Windows Server Failover Cluster Logs and system information for troubleshooting.

 

Solution

From a Windows PowerShell session Run as Administrator executing the following commands/cmdlets.

  • system_info

    msinfo32 /report c:\${env:computername}_msinfo.txt
    
  • Hotfixes

    Get-WmiObject -Class Win32_QuickFixEngineering | Select-Object -Property Description, HotFixID, InstalledOn | Format-table -Wrap -AutoSize  | out-file  c:\${env:computername}_Win32_QuickFixEngineering.txt
    Get-HotFix | Format-table -Wrap -AutoSize | Out-File c:\${env:computername}_Get-Hotfix.txt
    
  • MPIO and MSDSM details

    Get-ItemProperty "HKLM:\System\CurrentControlSet\Services\MSDSM\Parameters" | out-file c:\${env:computername}_Get-ItemProperty_msdsm.txt
    Get-ItemProperty "HKLM:\System\CurrentControlSet\Services\mpio\Parameters" | out-file c:\${env:computername}_Get-ItemProperty_mpio.txt
    Get-ItemProperty "HKLM:\System\CurrentControlSet\Services\Disk" | out-file c:\${env:computername}_Get-ItemProperty_disk.txt
    mpclaim -s -d | out-file c:\${env:computername}_mpclaim_-s_-d.txt
    mpclaim -v c:\${env:computername}_mpclaim_-v.txt
    Get-MPIOSetting | out-file c:\${env:computername}_Get-MPIOSetting.txt
     "SAN" | diskpart | Out-File c:\${env:computername}_SAN_policy.txt
    
  • FC HBAs

    winrm e wmi/root/wmi/MSFC_FCAdapterHBAAttributes > c:\${env:computername}_MSFC_FCAdapterHBAAttributes.txt
    winrm e wmi/root/wmi/MSFC_FibrePortHBAAttributes > c:\${env:computername}_MSFC_FibrePortHBAAttributes.txt
    Get-ItemProperty "HKLM:\System\CurrentControlSet\Services\lpxnds\Parameters\Device\NumberOfRequests"  | out-file c:\${env:computername}_lpxnds_NumberOfRequests.txt
    Get-ItemProperty "HKLM:\System\CurrentControlSet\Services\ql2300\Parameters\Device" | out-file c:\${env:computername}_ql2300_Parameters.txt
    
  • NICs

    Get-NetAdapterAdvancedProperty  | ft DisplayName, DisplayValue, ValidDisplayValues | out-file c:\${env:computername}_Get-NetAdapterAdvancedProperty.txt -width 160
    
  • Event Logs

    wevtutil epl System c:\${env:computername}_systemlog.evtx
    wevtutil epl Setup c:\${env:computername}_setuplog.evtx
    wevtutil epl Security c:\${env:computername}_securitylog.evtx
    wevtutil epl Appliation c:\${env:computername}_applicationlog.evtx
    
  • General Storage Configuration

    Get-PhysicalDisk | select * | out-file c:\${env:computername}_Get-PhysicalDisk.txt
    Get-Disk | select * | out-file c:\${env:computername}_Get-Disk.txt
    Get-Volume | select * | out-file c:\${env:computername}_Get-Volume.txt
    Get-Partition | select * | out-file c:\${env:computername}_Get-Partition.txt
    Get-ClusterSharedVolume | select * | out-file c:\${env:computername}_Get-ClusterSharedVolume.txt
    Get-ClusterSharedVolumeState | select * | out-file c:\${env:computername}_Get-ClusterSharedVolumeState.txt
    fsutil behavior query DisableDeleteNotify | out-file c:\${env:computername}_fsutil_behavior_DisableDeleteNotify.txt
  • Capture the Cluster Log

    Get-ClusterLog
    

    or in windows 2008 / 2008R2:

    cluster log /g
    

    You can find the log on

    %windir%\Cluster\Reports