Ping Request Times out from the Apps server when pinged the AG listner Name from Appserver on Node2.

Rao, Dheeraj 1 Reputation point
2021-12-02T17:39:17.57+00:00

Pinging SQL Listener name from App server is timing out when failover is performed on the secondary replica. To resolve the issue, you have to fail back to the same node. In short, all the DBs are on Primary Node1 works fine, however when failed over to Node 2 and tried to ping the AG listener name, the request times out. Currently, there is no resiliency, and it is running only on one node server.

We did the path ping and found the default device (Gateway) doesn’t send the request to the listener IP. ARP cached is cleared from the switch as well as from the server didn’t help.

Any help, suggestions would be highly appreciated.

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,777 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Seeya Xi-MSFT 16,441 Reputation points
    2021-12-03T08:21:43.047+00:00

    Hi @Rao, Dheeraj ,

    Welcome to Microsoft Q&A!
    Please see this article: https://www.sqlshack.com/session-timeouts-in-sql-server-always-on-availability-groups/
    and this thread: https://dba.stackexchange.com/questions/68331/connection-alwayson-ag-listener-problem
    Hope these can give you some help.

    Best regards,
    Seeya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments