SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Remove database from Availability Group for Maintenance


Remove database from Availability Group for Maintenance

Author
Message
Judy Scheinuk
Judy Scheinuk
SSChasing Mays
SSChasing Mays (655 reputation)SSChasing Mays (655 reputation)SSChasing Mays (655 reputation)SSChasing Mays (655 reputation)SSChasing Mays (655 reputation)SSChasing Mays (655 reputation)SSChasing Mays (655 reputation)SSChasing Mays (655 reputation)

Group: General Forum Members
Points: 655 Visits: 472
Yesterday I had to remove a database from an availability group for maintenance - a corrupted log that required me to put the database into simple mode, checkpoint, backup, and change back to full recovery mode. I removed the database from the primary replica but didn't do anything to the secondary. I thought the secondary replica would just synch itself up but it didn't and I had to get help to get it back to functioning. The server is a production server and I didn't want to have to restore the database on the primary node but maybe that's what you are supposed to do. So my question is:

What is the correct procedure for removing a database from an availability group and then re-adding it so that the secondary node is in synch?

There is probably a write-up about this somewhere but I have not been able to find it.

Thanks in advance -
Judy
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search