ALWAYS ON SQL DATABASE ISSUE

skak 21 Reputation points
2022-12-21T13:57:25.443+00:00

Hello Everybody,

          We have SQL 2016 ENT running on Windows 2016 Standard in our Head Office (Primary Site) and DR  (Secondary Site). Recently we have implemented the ALWAYS ON AVAILABILITY GROUP. There are several databases which are not synchronizing (No Firewall in Between) the branch's, latency is 60 ms. To make more sure I have created a dummy database on the primary which is merely 16 MB and its not synchronizing , please check the screenshot and let me know how it can be resolved. I come from network side so please don't expect much from SQL side but I will make sure if you guide me in proper way I will resolve the case.  

272893-snip1.png272943-snip2.png

SQL Server Other
{count} votes

2 answers

Sort by: Most helpful
  1. Bjoern Peters 8,921 Reputation points
    2022-12-21T14:07:12.033+00:00

    Hi @skak

    Actually, we just see your screenshot and only answer based on these...

    From what I can see, everything is working fine except your testdb and here the message clearly says "secondary database is not joined"

    Please share a full screenshot of the Avail. Group Dashboard with us, so that we can see more details about the status.

    And have you already worked through the SQL Server AG troubleshooting guide?
    https://learn.microsoft.com/en-us/troubleshoot/sql/availability-groups/troubleshooting-alwayson-issues

    I hope my answer is helpful to you,

    Your
    Bjoern Peters

    If the reply was helpful, please upvote and/or accept it as an answer, as this helps others in the community with similar questions. Thanks!

    0 comments No comments

  2. Seeya Xi-MSFT 16,586 Reputation points
    2022-12-22T04:20:29.013+00:00

    Hi @skak ,

    Please refer to this document:
    https://learn.microsoft.com/en-us/sql/database-engine/availability-groups/windows/secondary-database-is-not-joined?view=sql-server-ver16

    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

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.