Support
 
Phone Get Quote
 
Support
 
US: +1 888 720 9500
US: +1 888 791 1189
Intl: +1 925 924 9500
Aus: +1 800 631 268
UK: 0800 028 6590
CN: +86 400 660 8680

Direct Inward Dialing: +1 408 916 9892

How to Monitor Failover Clusters Using Powershell and ADAudit Plus

Preventing an unforeseeable Windows server downfall is practically impossible. Failover clustering allows the access point to be shifted from one server to another within the cluster thus mitigating server downtime, which can otherwise prove to be very expensive. Accurate monitoring of failover clusters is crucial to ensure server availability and performance.

The following is a comparison between the procedures for monitoring failover clusters with Windows PowerShell and ADAudit Plus:

PowerShell

Steps to monitor failover clusters using PowerShell:

  • Identify the domain from which you want to retrieve the report.
  • Find the LDAP attributes you need to fetch the report.
  • Identify the primary DC to retrieve the report.
  • Compile the script.
  • Execute it in Windows PowerShell
  • The report will be exported in the specified format.
  • To obtain the report in a different format, modify the script accordingly.

Sample Windows PowerShell script

The following cmdlet gets information about all the failover clusters in a given doamain and generates report in HTML format.

Get-Cluster -ReportType HTML | Out-File -FilePath C:\FoCReports\Report1.html

(Mention the location where report needs to be saved)

The following cmdlet generates report for the specified failover cluster

Get-Cluster -Name Cluster1 (name of the cluster)

ADAudit Plus

To obtain the report,

  • Navigate to File Audit -> File Audit Reports -> All File or Folder Changes.
  • Select the required 'Domain' from the drop down option on the top right corner.
  • Select 'Export As' to export the report in any of the preferred formats (CSV, PDF, HTML, and XLS).
powershell-failover-cluster-log-1
powershell-failover-cluster-log-2

Following are the limitations to obtain report of failover clusters using native tools like Windows PowerShell:

  • We can run this script only from the computers which have Active Directory Domain Services role.
  • In order to export the report in other formats, the script needs to be modified each time.
  • Applying more filters will increase the LDAP query complexity.
  • Getting reports in different date formats, and time zones can be challenging.

ADAudit Plus will automatically scan all DCs in the domain to retrieve information about failover clusters, generate the report and present it in a simple and intuitively designed UI.

  • Avoid complex PowerShell-scripting, and simplify AD change auditing with ADAudit Plus.
  • Avoid complex PowerShell-scripting, and simplify AD change auditing with ADAudit Plus.
  •  
  • By clicking 'Get Your Free Trial', you agree to processing of personal data according to the Privacy Policy.
  •  
  • Thanks!
  • Your download is in progress and it will be completed in just a few seconds! If you face any issues, download manually here.

Related Resources

ADAudit Plus Trusted By