Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

SQL server availability group cannot access database after disabling sql service

$
0
0

Hello everyone,

I''ve completed this setup: 

OS: Windows server 2016

Database: SQL Server 2017

2 node availability group configured with automatic failover on both nodes. Fileshare witness configured, both nodes enabled readable secondary replicas. 

Database showing synchronized on both nodes.  Availability group state: Healthy, configured normal quorum and Fileshare witness and node 1, node 2 all three has 1 vote and state is online.

The question is i cannot access database when i stopped SQL service on one of nodes. Failover occurs to DB2 and status changed to primary when i stopped SQL service on DB1. When I try to select from BikeStores in DB2 this error shows: 

database lacks a quorum of nodes for high availability. 

Is my configuration wrong? or am I using try to achieve not possible scenario in availability group?


Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>