Find the SQL Server Cluster details


cluster includes two or more physical servers, called nodes; identical configuration is recommended. One is identified as the active node, on which a SQL Server instance is running the production workload, and the other is a passive node, on which SQL Server is installed but not running. In this post, we have tried to share a few ways to gather information about any running SQL cluster setup.

How will you find whether the SQL Server is configured in a failover cluster?

Using TSQL query

Result (This returns a 0=NO or 1=YES)

How will you find the node that the SQL Server is currently running on?

Using TSQL query


Find cluster nodes by querying a DMV

We can also find cluster nodes by querying a data management view (DMV), but this DMV doesn’t show which nodes are active.

Using DMV


Find information from SERVERPROPERTY

We can also find Machine Name, Server Name & Instance Name by below SERVERPROPERTY

Using TSQL statement


Find the SQL cluster details & status all together!

Using TSQL query


Using Failover Cluster Manager GUI

Open Failover Cluster Manager and click on Roles. Then go to the bottom of the window and click on Resources. You will get the same cluster information as described in the below screenshot.

Failover Cluster Manager
Failover Cluster Manager

when you click on nodes, you will see all the nodes participated in the cluster.

Cluster Node status
Cluster Node status
Facebook Comments Box
Please like or share this post if you found it helpful, thank you.
Share on Facebook
0Tweet about this on Twitter
Share on LinkedIn
Email this to someone
Print this page


Leave a Reply

Your email address will not be published.