AG Issues (one node is down) and all but 2 databases is accessible

  • we have an AG of 4 nodes.  Node1 being the primary, (has about 27 databases in the AG).

    Node2 went down for some reason (VM is toast?)

    But being a 4 node AG, i would expect that the environment or the databases will still be accessible from the primary.   Unfortunately this is not the case.  All databases in that Primary node , i also not accepting connections, despite it being "ONLINE"

    "Unable to access availability database '<DBName>' because the database replica is not in the PRIMARY or SECONDARY role. Connections to an availability database is permitted only when the database replica is in the PRIMARY or SECONDARY role. Try the operation again later.

    Weird though, 2 out of the 27 is accessible?

    I tried removing the Node 2 out of AG, but it just runs for forever with this Wait Description:  HADR_AR_CRITICAL_SECTION_ENTRY

    Any one experienced this? And what would you advise?

     

  • Thanks for posting your issue and hopefully someone will answer soon.

    This is an automated bump to increase visibility of your question.

  • I don't know the cause of this but maybe the following will help work out the issse:

    Can you run the following?:

    select * from sys.dm_hadr_availability_replica_states

    This should show the status of each of the nodes and the availability group so might provide a clue as to what's causing this.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply