DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Running an OpenStreetMap Tile Server for the Whole Planet on Modest Hardware
  • From Database Changes to Real-Time Actions at Scale: Oracle GoldenGate and Java
  • How (and Why) to Build Dynamic Data Pipelines
  • Two AI Agents, One Database: Solving Concurrent Updates With Optimistic Locking

Trending

  • Save To Bookmarks/Favorites
  • DZone's Article Types
  • Java Virtual Threads Under Load: Three Production Limits
  • Every Acquisition Promises One Company. Most Deliver Two.

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

  1. DZone
  2. Data Engineering
  3. Databases
  4. How To Split Exchange Server DAG

How To Split Exchange Server DAG

Split your Exchange Server DAG seamlessly with our expert guide! Learn the steps, considerations, and best practices for splitting the DAG in Exchange Server.

By 
Shelly Bhardwaj
·
Feb. 23, 24 · Tutorial
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
5.3K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

Database Availability Group (DAG) setup in Exchange Server provides full protection and recovery in case of database, network, or server failure. In a DAG, you can have up to 16 mailbox servers hosting a set of databases. This helps provide automatic, database-level recovery in case something happens. 

Sometimes, situations arise when you need to split the Database Availability Group (DAG) and move the mailboxes from one availability group to another. Some common situations are:

  • There is a need to segregate the data due to legal obligations or compliance. 
  • The data cannot rest with other mailboxes due to privacy or sensitivity of data. 
  • A part of the company or a sister company needs to be merged or split. So, you need to also separate the servers. 
  • There is a huge amount of data on the servers, and you need to split the server’s resources or split the server to reduce the load on the Database Availability Group (DAG). 

Due to an issue or extreme load, both the active copy and the passive copy are acting as the active copy, causing a huge issue.

Below, we will see how to split the Database Availability Group (DAG) in the Exchange Server.

Process of Splitting the DAG in Exchange Server

The process of splitting Exchange Server DAG involves adding the databases as active copies on the other servers, removing the servers from the current group, and then adding the servers to the new DAG. However, it is easier said than done, as there are various things that could go wrong.

So, first, you need to pause the backup on the specific databases to ensure the full performance of the services during the procedure.

Let’s take an example (see the image below). You need to split the DAG into two groups where Server 1 and Server 2 form part of a group and other servers. The databases need to be split, having Database 1 and 2 with Server 1 and Server 2. On the other hand, databases 3 and 4 would be with the group of Server 3 and Server 4.

DAG

The first step is to set the active copy of databases 3 and 4 on servers 3 and 4. After this process is complete, you need to remove the passive copies from servers 1 and 2.

To activate the passive copies, open the Exchange Admin Center (EAC) and go to Servers > Databases. In the details pane, under Database Copies, click Activate. 

Alternatively, you can use the Move-ActiveMailboxDatabase command (as given below) in the Exchange Management Shell (EMS).

Move-ActiveMailboxDatabase <database name> -ActivateOnServer <server to activate database on> -MountDialOverride:None 

Once this is complete, you need to remove the servers that you don’t need in the group. To remove the servers,

  • Open the Exchange Admin Center (EAC) and click on Servers > Database Availability Groups. 
  • Select the DAG and use the minus (-) button to remove the servers from the group. 
  • Then, click Save and Close.

After this, you can create a new Database Availability Group (DAG), add servers 3 and 4 to the group, and then initiate the replication. 

To Conclude

There are various reasons for splitting the Database Availability Group (DAG) in the Exchange Server. If you need to split the DAG, you can follow the process mentioned above. However, you need to ensure that all is working well and there were no issues during the transfer of roles and services. If any issue arises, then it can impact the functionality of the Exchange Servers or damage the databases. If there are any issues, you can easily rebuild the servers. However, the difficult part is recovering the data. 

For easy recovery of data from damaged or corrupted databases, you can take the help of third-party tools like Stellar Repair for Exchange. This tool can repair corrupted databases, with no size limit from any version of Exchange Server, and recover all the data. It allows the granular export of the recovered data to PST and other file formats, such as EML, HTML, PDF, and MSG. The tool can also export the recovered data directly to a live Exchange Server of any version. It can process user mailboxes, user archives, disabled mailboxes, shared mailboxes, and even public folders.

Database

Opinions expressed by DZone contributors are their own.

Related

  • Running an OpenStreetMap Tile Server for the Whole Planet on Modest Hardware
  • From Database Changes to Real-Time Actions at Scale: Oracle GoldenGate and Java
  • How (and Why) to Build Dynamic Data Pipelines
  • Two AI Agents, One Database: Solving Concurrent Updates With Optimistic Locking

Partner Resources

×

Comments

Loading comments

The comments didn't load

Please try again in a moment.

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook