View Cluster Quorum NodeWeight Settings
Applies To: SQL Server 2016
This topic describes how to view NodeWeight settings for each member node in a Windows Server Failover Clustering (WSFC) cluster. NodeWeight settings are used during quorum voting to support disaster recovery and multi-subnet scenarios for Always On Availability Groups and SQL Server Failover Cluster Instances.
This feature is supported only in Windows Server 2008 or later versions.
KB2494036: A hotfix is available to let you configure a cluster node that does not have quorum votes in Windows Server 2008 and in Windows Server 2008 R2
The user must be a domain account that is member of the local Administrators group on each node of the WSFC cluster.
Connect to any SQL Server instance in the cluster.
Query the [sys].[dm_hadr_cluster_members] view.
The following example queries a system view to return values for all of the nodes in that instance’s cluster.
SELECT member_name, member_state_desc, number_of_quorum_votes FROM sys.dm_hadr_cluster_members;
Start an elevated Windows PowerShell via Run as Administrator.
FailoverClustersmodule to enable cluster commandlets.
Get-ClusterNodeobject to return a collection of cluster node objects.
Output the cluster node properties in a readable format.
The following example output some of the node properties for the cluster called “Cluster001”.
Import-Module FailoverClusters $cluster = "Cluster001" $nodes = Get-ClusterNode -Cluster $cluster $nodes | Format-Table -property NodeName, State, NodeWeight
Start an elevated Command Prompt via Run as Administrator.
Use cluster.exe to return node status and NodeWeight values
The following example outputs some of the node properties for the cluster called “Cluster001”.
WSFC Quorum Modes and Voting Configuration (SQL Server)
Configure Cluster Quorum NodeWeight Settings
Failover Cluster Cmdlets in Windows PowerShell Listed by Task Focus