To perform a DR (Disaster Recovery) drill activity for your Exchange environment with Database Availability Groups (DAGs), follow these steps to simulate a scenario where the DC (Data Center) site becomes unavailable, and ensure the databases failover and become active on the DR (Disaster Recovery) site automatically:
- Verify that your DAG is healthy and there are no existing issues reported in Exchange Management Console (EMC) or Exchange Admin Center (EAC).
- Confirm that the network configuration between DC and DR sites is properly set up for DAG communication, including replication network and MAPI network.
- Ensure that the Witness Server and Witness Directory are configured correctly for both the DC and DR DAG configurations.
4.Power off or isolate the Exchange servers in the DC site to simulate a failure scenario.
- Monitor the status of the databases within the DAG.
- Use Exchange Management Shell (EMS) to check the status of databases and their copies:
Get-MailboxDatabaseCopyStatus -Identity <DatabaseName>
- Look for any databases that have failed or dismounted.
- Use Exchange Management Shell (EMS) to check the status of databases and their copies:
6.Exchange DAG is designed to automatically handle failover scenarios based on predefined criteria like network connectivity and database health.
- Wait for Exchange to detect the failure and initiate automatic failover to the DR site.
7.After failover, verify that databases have been activated on servers in the DR site.
- Use EMS to check the active mailbox database copies:
```
Get-MailboxDatabase -Server <ServerName> | ft Name,Server,ActivationPreference,DatabaseCopies
```
8.Ensure that databases are active on DRMBX03 and DRMBX04 (DR site servers).
9.Send test emails to verify that mail flow is operational through the DR site.
- Monitor message queues and delivery reports to confirm that emails are being sent and received successfully.
10.Check Exchange Server event logs on servers in the DR site for any alerts or warnings related to DAG failover and database activation.
11.Once the drill is completed and documented, power on the DCMBX01 and DCMBX02 servers to restore normal operation.
12.Review the results of the drill to identify any areas for improvement in the DR setup or procedures.