Quantcast
Viewing all articles
Browse latest Browse all 5654

cannot add database to sql server 2012 SP2 CU9 enterprise edition availability group on windows server 2012

Hi. I'd really appreciate if someone can help me.

I apologize if this isn't the correct forum for this question.

I looked on the web, and wasn't able to find anything that helped fix this issue.

I've got 9 availability groups, with over 100 databases replicated from a primary to a single read-only replica.

The DBs are all in sync, but when I tried to add 6 DBs to one of the less-loaded AGs, it worked on the primary, but then when I tried to add it to the secondary, even after restoring the full dump and tran log files, it failed with:

Msg 41190

Level 16, State 7, Line 1
Availability group 'xx' failed to process add-database command.  The local availability replica is not in a state that could process the command.  Verify that the availability group is online and that the local availability replica is the primary replica, then retry the command.

I tried creating a new AG and adding the DBs to it, and got the same error.

I rebooted the secondary, but still can't add the DB, with the same error.

Does anyone have any suggestions on the next steps I can try?


Viewing all articles
Browse latest Browse all 5654

Trending Articles



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