DAG Server
🖥️ What is a DAG Server in Exchange?
DAG stands for Database Availability Group.
A DAG server is a member server of that group, running Microsoft Exchange Server.
💡 Simple Definition:
A DAG server is part of a high-availability group of Exchange servers that replicate mailbox databases to each other, so if one fails, another takes over automatically.
🔁 What Does a DAG Do?
Provides high availability and disaster recovery for mailbox databases.
Automatically replicates mailbox data across multiple Exchange servers.
If one server goes down, another server can activate the database copy and users stay connected (no data loss).
🔧 How It Works:
You create a Database Availability Group.
Add 2 or more Exchange servers to it — these are your DAG members (DAG servers).
Exchange replicates mailbox databases from one DAG server to the others.
If a DAG server (or database) fails, Exchange fails over to another healthy copy.
🧱 Key Components:
Component | Description |
---|---|
Mailbox servers | Exchange servers that host copies of mailbox databases. |
Witness server | A separate server (non-Exchange) used to maintain quorum in a DAG with an even number of members. |
Replication | Logs and mailbox data are continuously copied between servers. |
Failover | Automatic switch to a healthy database copy if the active one fails. |
🛠️ Example:
You have 3 Exchange servers: EX01, EX02, EX03 in a DAG.
EX01 hosts the active copy of DB1.
EX02 and EX03 have passive copies of DB1.
If EX01 crashes, the DAG promotes the passive copy on EX02 or EX03 to active—users keep working.
✅ Benefits of DAG:
No single point of failure for mailbox databases.
Built-in automatic failover and load balancing.
Part of Microsoft’s native high availability solution—no need for third-party tools.