That's not how you do it. I will have to admit that I have not fully grasped the listener concept, but it is not a separate server. Rather, this is a function of the cluster, so that whichever node is the primary will respond to access to the listener. And specifically: the point with having an AG is to have resiliency if a node fails. Having a single node as the listener defies that purpose, as that is a single point of failure.
Availability Group Listener
I have four servers: a Domain Controller server, a Primary SQL Server, a Secondary SQL Server, and a fourth server intended to be the Listener server.
All three servers—the Primary SQL Server, Secondary SQL Server, and the Listener server—are joined to the Domain Controller server.
I have installed Windows Server Failover Clustering (WSFC) on both the Primary and Secondary SQL Server machines.
I have created an Availability Group and would like to configure the fourth server as the Listener server. Is this possible? If yes, how can I proceed with the configuration?
Additional details:
SQL Server 2022 Standard Edition
All servers are running Windows Server 2019
SQL Server Database Engine
2 answers
Sort by: Most helpful
-
Erland Sommarskog 120.4K Reputation points MVP Moderator
2025-05-04T15:58:07.2033333+00:00 -
Dan Guzman 9,391 Reputation points
2025-05-04T17:06:30.51+00:00 Adding to Erland's answer, perhaps the AG documentation will clarify your understanding that you don't need a separate server for the listener. The key point is that a listener is a cluster resource always hosted by the server currently in the primary role. Relevant documentation excerpts:
An availability group listener consists of a Domain Name System (DNS) listener name, listener port designation, and one or more IP addresses. ... When you create a listener, it becomes a resource in a cluster with an associated virtual network name (VNN), virtual IP (VIP), and availability group dependency.