Export (0) Print
Expand All

sys.dm_hadr_availability_replica_cluster_nodes (Transact-SQL)

Applies To: SQL Server 2014, SQL Server 2016 Preview

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

Returns a row for every availability replica (regardless of join state) of the AlwaysOn availability groups in the Windows Server Failover Clustering (WSFC) cluster.

Applies to: SQL Server (SQL Server 2012 through current version).

Column name

Data type

Description

group_name

nvarchar(256)

Name of the availability group.

replica_server_name

nvarchar(256)

Name of the instance of SQL Server hosting the replica.

node_name

nvarchar(256)

Name of the cluster node.

Permissions

Requires VIEW SERVER STATE permission on the server.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft