Quantcast
Channel: Microsoft SQL Server
Viewing all articles
Browse latest Browse all 4871

facing an issue with my SQL 2016 among secondary database is in read-only mode

$
0
0

Hi! Guys,

Greeting for the day hope you are doing well this morning,

I am facing a seriously weird issue with my SQL AOAG 2016

I have 2 Hyper-V host SQL2016A and SQL2016B

Both have SQL server 2016 installed.

The test database is synced.

Always on Availability group also configured and AO listener services configured.

Workaround ----------------------------------------------------------------

I am connecting to listener IP and it is fetching primary DB like SQL2016A everything works fine, but when I failover to SQL2016B secondary database it becomes read-only I was not able to add or delete anything.

But when I failed over to secondary database “SQL2016B” and reboot the primary server” SQL2016A”, then secondary become a primary” SQL2016B” and all my query executed find and when I powerup the primary “SQL2016A” it becomes Secondary...


Viewing all articles
Browse latest Browse all 4871

Trending Articles



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