Remove Exchange Server 2010 From a DAG

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.
Remove Exchange Server 2010 From a DAG

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:

  1. Launch EMC, go to Organization Configuration under Microsoft Exchange On-Premises
  2. Click on Mailbox under Organization Configuration and go to Database Management
  3. Select the database with the display of ‘Mounted on Server’ i.e. the server user is decommissioning
  4. Choose Move Active Mailbox Database and select the mailbox server in order to host the mailbox database copy and select Move
  5. After the server has been moved, select the database copy hosted on the server you want to decommission and choose Remove option
  6. 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.
  7. Now, Select Database Availability groups Tab for the removal of server from the DAG
  8. 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
  9. Select the DAG member and click on Remove (X) button to remove it from the list
  10. Click on Manage to perform the removal operation
  11. 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:
Remove Exchange Server 2010 From a DAG
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.
Example:
“Remove-DatabaseAvailabilityGroupServer -Identity -MailboxServer Server1”
The above command can be used to remove Server1 from DAG named DAG1.

Conclusion

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
https://about.me/tejpratap

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: