Issue with service broker not working after Always on Failover SQL Server 2017

mo boy 396 Reputation points
2024-02-08T07:12:12.2266667+00:00

Dear Experts, We have a CRM database that is configured as part of Always on AG and these databases were migrated recently from another set of servers. Service broker seems to work on only one of the nodes and it is not working after a failover. Even before, we used to have this problem but after failover, we used to regenerate the certificate and stop and restart the service broker queues after failover. However, this time, nothing seems to work and only option is to failback to the original node. Could you please share your suggestions on how this can be fixed? Just letting you know, this is also multi subnet failover. However, the registerallprovidersIP is disabled and hostrecordTTL set to 300.

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

1 answer

Sort by: Most helpful
  1. Javier Villegas 900 Reputation points MVP
    2024-02-08T18:42:11.6+00:00

    Hi @mo boy I have a similar scenario with SQL 2019 Shared Storage Failover Cluster and AG at top of it. After failover or server restart some Service Broker Queues get hanged so we have a case open with Microsoft. In the meantime and as a workaround I put in place a SQL Job that runs right after the service starts which is restarting the queues. It is not ideal but we can survive until having the fix Regards Javier


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.