If you are interested in removing existing Exchange Server 2010 from a Database Availability Group then this article completely belongs to you.
As you might know that with the introduction of Microsoft Exchange Server 2010, multiple features have been supported that enhances high availability and recovery at the database level after a server or network failure. One of these features is Database Availability Group (DAG) that can contain a set of up to 16 MS Exchange Mailbox servers used for automatic Database level recovery from database after failure.
When the user adds a server to a Database Availability Groups (DAG), it works with the other servers in the DAG in order to provide automatic database-level recovery from database, network or server failures. However, sometimes user may wish to remove Exchange Server 2010 from a DAG, which means that the server will no longer be protected automatically from any failure. In the article, we will be guiding user who wants to remove Exchange Server 2010 from a DAG.
How to Remove Exchange Server from DAG
There are two ways to dismantle an Exchange Server 2010 from DAG, which is stated below:
Using Exchange Management Console
Following steps can be referred to remove DAG member using EMC:
- Launch EMC, go to Organization Configuration under Microsoft Exchange On-Premises
- Click on Mailbox under Organization Configuration and go to Database Management
- Select the database with the display of ‘Mounted on Server’ i.e. the server user is decommissioning
- Choose Move Active Mailbox Database and select the mailbox server in order to host the mailbox database copy and select Move
- After the server has been moved, select the database copy hosted on the server you want to decommission and choose Remove option
- A warning message will appear after the removal, as the files are still present even after removal of copy. These files can be removed manually if required.
- Now, Select Database Availability groups Tab for the removal of server from the DAG
- Select the DAG from which the server needs to be removed and right-click on it to select Manage Database Availability Group Membership from the Menu
- Select the DAG member and click on Remove (X) button to remove it from the list
- Click on Manage to perform the removal operation
- Select Finish option and see the mailbox server is no longer available as the member of the DAG.
Note: The DAG members can only be removed from a healthy DAG
User can remove the DAG itself after the removal of the Exchange Server 2010 or uninstall the complete Exchange Server.
Using Exchange Management Shell
Another method is to use Exchange Management Shell with the help of Remove-DatabaseAvailabilityGroupServer command to remove a mailbox server from a DAG. For this purpose, the mailbox server should not host any replicated mailbox databases.
The following command will be used:
In the command, Identity will define the name of the DAG from which the server needs to be removed, MailboxServer will specify name of the mailbox server that will be removed and the other parameters are optional.
“Remove-DatabaseAvailabilityGroupServer -Identity -MailboxServer Server1”
The above command can be used to remove Server1 from DAG named DAG1.
The user of Exchange Server who wishes to remove Exchange Server 2010 from a DAG can easily follow the steps defined in the content. As Removal of Mailbox Server from Database Availability Group can be done using either EMC or EMS, user can choose any of the suitable methods, according to their convenience.
Tej Pratap Shukla