The passive node database in SQL 2016 always-on cannot expand in SSMS

Chong 871 Reputation points
2022-04-06T09:32:04.713+00:00

Hi Support,

We setup always-on available group in 2 SQL Server 2016 standard. After add the database in replica, both DB are in synchronized status. In SSMS, the active DB can expand and access data and table, but the passive DB cannot expand and view anything.

Is it normal?

Best Regards
Chong

SQL Server Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2022-04-06T21:59:21.873+00:00

    Yes. The secondary replica is not accessible. (Unless it is a readable secondary.)

    0 comments No comments

  2. YufeiShao-msft 7,146 Reputation points
    2022-04-07T08:18:08.44+00:00

    Hi @Chong

    By default, the secondary replica SQL database dose not allow read-only and read-write connections, but you can configure the secondary replica to allow only read-only access to its local database
    https://learn.microsoft.com/en-us/sql/database-engine/availability-groups/windows/overview-of-always-on-availability-groups-sql-server?view=sql-server-ver15#ActiveSecondaries

    -------------

    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.