Removing a database from a SQL Server Availability Group
- From the Management Console, navigate to the Availability Group on which you want to remove the database.
- Make sure that the primary replica for the Availability Group is on the SQL Server instance that you want to contain the database after it is removed from the Availability Group. If it is not, follow the instructions in Failing-over-a-SQL-Server-Availability-Group to fail the primary replica over to the appropriate instance.
Select Provision > Remove Database from SQL Server Availability Group In the General page, populate the following fields, and click Next.
The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.
In the Databases Selection page, populate the following fields, and click Next.
The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.
In the Custom Scripts Configuration page, select any pre-provisioning or post-provisioning scripts that you want to run as follows, and click Next.
The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.
In the Job Options page, specify any of the following Job options, and click Next.
The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.
If the Change Control page displays, populate the following fields, and click Next.
The [confluence_table-plus] macro is a standalone macro and it cannot be used inline.
- In the Summary page, review the provisioning information.
To make changes, do the following:- Click Go to to return to the provisioning step that you want to edit.
- Make your changes.
- Click Save and Review to return to the Summary page.
- Specify your verification preferences.
For additional information, see Understanding-pre-verification-tests.- To continue with removing the database from the availability group after the pre-verification tests have been successfully run without manual intervention, select Automatically Continue If All Tests Succeed.
To remove the database from the availability group without having first run the pre-verification steps, select Skip Pre-Verification Tests.
Click Remove Database from SQL Server Availability Group.
A progress page appears followed by a success message upon completion. The databases no longer appear in the Contents page for this SQL Server Availability Group.