How To Split Exchange Server DAG

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:

Difference Between Incremental and Differential Backups in Exchange Server

In Exchange Server, database backup is essential to prevent loss of data in case of disaster or unforeseen incidents, such as power outage, server failure, natural calamities, etc. At the same time, it is also important to decide on the data backup method as it is not practical to take a full data backup every time, considering the resources needed, the time to take backups daily, and the cost. So, you can choose between incremental and differential backup methods for taking frequent and regular database backups in Exchange Server.

In this article, we will discuss the differences between incremental and differential backup methods to help you decide which one to choose based on your needs. 

Are You Facing an Error When You Run the StartDagServerMaintenance.ps1 Script?

In Exchange Server, if you need to do some maintenance work on a node and need to stop the services, restart the server, or shut down the server, it’s important to set the Exchange Server in maintenance mode. This allows you to stop and start the server with no impact. In the Exchange Server, the StartDagServerMaintenance.ps1 script is used to run various commands to put the Exchange server in maintenance mode. However, sometimes, when running the script, you may get the following error:

 
VERBOSE: [Time UTC] Move-DagActiveCopy: Entering: `$MailboxServer=ExServer, `$Database=
VERBOSE: [Time UTC] Move-DagActiveCopy: Moving all replicated active databases off server ExServer
VERBOSE: [Time UTC] Move-DagActiveCopy: moving database 'DBName' off server 'ExServer'
VERBOSE: [Time UTC] Move-DagMasterCopy: Entering: `$db=DBName, `$srcServer=ExServer, `$preferredTarget=
VERBOSE: [Time UTC] Test-DagTargetCopy: Testing move criteria for DatabaseName\ExchangeServer, with `$Lossless=True and `$CICheck=False …
VERBOSE: [Time UTC] Test-DagTargetCopy: Name='DatabaseName\ExchangeServer', Status='DisconnectedAndHealthy', CIStatus='Healthy', CopyQueueLength=0, ReplayQueueLength=0
VERBOSE: [Time UTC] Test-DagTargetCopy: Leaving (returning 'False')
VERBOSE: [Time UTC] Test-DagTargetCopy: Testing move criteria for DBName\DR-ExServer, with `$Lossless=True and `$CICheck=False …
VERBOSE: [Time UTC] Test-DagTargetCopy: Name='DBName\DR-ExServer', Status='DisconnectedAndHealthy', CIStatus='Healthy', CopyQueueLength=0, ReplayQueueLength=0
VERBOSE: [Time UTC] Test-DagTargetCopy: Leaving (returning 'False')
VERBOSE: [Time UTC] Move-DagMasterCopy: 0 copies out of 3 for database DBName will be attempted for move.
 Log-Error : [Time UTC] Move-DagMasterCopy: Database 'DBName' *FAILED* to move! Now attempting to perform rollback to prevent a DB outage…

At D:\Program Files\Microsoft\Exchange\V14\scripts\DagCommonLibrary.ps1:483 char:14 + Log-Error <<<< ($DagCommonLibrary_LocalizedStrings.res_0064 –f $db,"Move-DagMasterCopy") + CategoryInfo : NotSpecified: ( : ) [Write-Error], WriteErrorException + FullyQualifiedErrorId :   Microsoft.PowerShell.Commands.WriteErrorException,Log-Error


How To Repair Failed Installations of Exchange Cumulative and Security Updates

To patch the Exchange Servers against known threats and fix bugs and vulnerabilities, Microsoft releases Cumulative and Security updates on a regular basis. These updates also provide new features, security patches, and various other fixes. Usually, the installation of these updates goes smoothly if done with proper planning and process. However, sometimes, you may encounter issues during and post installation of these updates. In this article, we will list some common issues that you may encounter when installing CU and SU and the possible solutions to fix them.

Common Issues and Errors When Installing Exchange Updates and Their Solutions

Below, we have mentioned some common issues that you may encounter when installing Cumulative and Security updates on the Exchange Server, along with their solutions. 

How to Build Your Exchange Server Recovery Strategy to Overcome Ransomware Attacks

Ransomware attacks on on-premises Exchange Servers are quite common as they store sensitive and confidential information and business data. The attackers often exploit vulnerabilities to gain access to the organization's network and steal or encrypt data for ransom.  

Even if attackers do not succeed in encrypting the data, they may leave a backdoor or cause other damage that can leave your server unusable or cause permanent data loss. That's why it's important to have a disaster recovery plan or recovery strategy ready to deal with such critical situations.

How to Change DAG Witness Server and Witness Directory

Witness Server and Witness Directory are the most critical components of the Database Availability Group (DAG). DAG requires Witness Server or File Share Witness (FSW) and Directory to maintain the Quorum. In case of Witness Server failure, the Quorum is no longer maintained, leading to inconsistent DAG. In addition, the cluster may no longer respond or work, leading to downtimes if a disaster strikes.

However, you can change the Witness Server and Witness Directory to maintain the Quorum and ensure high availability when the Witness Server has failed, is unavailable, or does not boot.

How To Put Exchange Server in Maintenance Mode

Administrators must put the Exchange Server in maintenance mode while updating and making changes to the server to avoid data loss or other issues. If the changes or any security/cumulative updates are applied to the server without putting the server into maintenance mode, it can lead to database corruption or server failure.

In this article, we discuss the Exchange Maintenance Mode, its importance, and the steps to put the Exchange Server into maintenance mode. We also mention steps to disable maintenance mode once the server update or upgrade is completed.

How to Use Minimal Hybrid to Quickly Migrate Exchange Mailboxes to Office 365

With the increasing popularity of cloud-based services, more and more organizations and businesses are shifting their on-premises Exchange to Office 365 or Microsoft 365. If you are planning to migrate your Exchange on-premises Server to Microsoft 365 or Office 365, you have several options, such as 

  • Cutover Migration
  • Staged Migration
  • Hybrid Migration
  • IMAP-Based
  • Office 365 Import Service
  • Third-Party Software 

You can choose the Office 365 migration option based on the on-premises Exchange Server version your organization is running on. 

Fix Active Directory Corrupted (NTDS ISAM Database Corruption Errors in Event Log)

Active Directory might seem simple but it’s a very complex and delicate system. Active Directory is the holder of all your policies, users, and schemas. Also, several applications depend on the system. To your dismay, on a fine day, you encounter the below issue while changing something in user details or a simple reset of password.

In such a case, the first thing to do is not to panic. Otherwise, you may end up changing stuff and applying fixes without carefully evaluating the situation and possibly making it worst.