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

SQL 2016 SP1 AlwaysOn DBCC CHECKDB on non-readable secondary

$
0
0

We have an AlwaysOn setup with async commit and readable secondary = No.

CheckDB maintenance plan is failing with following error message:

"The target database, 'XXXX', is participating in an availability group and is currently not accessible for queries. Either data movement is suspended or the availability replica is not enabled for read access. To allow read-only access to this and other databases in the availability group, enable read access to one or more secondary availability replicas in the group.  For more information, see the ALTER AVAILABILITY GROUP statement in SQL Server Books Online."

SQL Server version is 2016 SP1 (13.0.4001.0).

Can anyone please help me on this?



Viewing all articles
Browse latest Browse all 4689

Trending Articles



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