Skip to content
June 23, 2026
  • Linkedin
  • Twitter
  • Facebook
  • Youtube

Daily CyberSecurity

Zero-hour alerts. Unmatched analysis.

Primary Menu
  • Home
  • CVE Watchtower
  • Cyber Criminals
  • Data Leak
  • Linux
  • Malware
  • Vulnerability
  • Submit Press Release
  • Vulnerability Report
Light/Dark Button
  • Home
  • Technique
  • How to Perform Reboot on DAG Mailbox during Business Hours?
  • Technique

How to Perform Reboot on DAG Mailbox during Business Hours?

Do Son July 16, 2021 6 minutes read
12

Exchange Server provides high availability and disaster recovery using Database Availability Group (DAG). This provides replication of databases, and you can also balance out databases to multiple servers. With the Database Availability Group, you will always have an active copy while the other nodes will have a passive copy. If the active server has any issues, the next candidate will serve as the active copy of the database, if the database is in full sync and there are no issues.

The number of servers depends on your choice but the minimum nodes can be three. The reason behind it is that for a cluster to remain active, you will need half plus one. So, in a cluster of 3 nodes, you need to have two servers always up. This will ensure that the voting majority sticks and the services are healthy. In the case of a three-node cluster, there is no need to have three Exchange Servers as you can have two Exchange Servers and a file share witness which will be used as the third node.

Like any server in the infrastructure, an Exchange Server needs to be updated with the Windows patches as well as the Exchange Server patches. In this article, we will be discussing the process of how to reboot the servers without impacting the user.

One would need to reboot a server during office hours, apart from Windows patches and Exchange Server patches, due to the following reasons:

  • Emergency patching and vulnerability notices from Microsoft and other vendors
  • Hardware upgrades, replacement, and maintenance
  • Hardware failure and other issues, like power failure
  • Testing of failover procedures. Having a failover and high availability in place requires the implementation of testing and simulations. It is important to have these included in the business annual procedures to ensure that if something happens, the business continuity is ensured.

In a normal environment, if the main server fails, all the passive databases on the secondary server will become active and the changeover is seamless to the users. Hence, it can be done during office hours.

Here are the steps:

Step 1: Set the main server on maintenance mode

Firstly, you need to make a failover to the secondary server and set the main server on maintenance mode.

To put a server in maintenance mode, you need to run the PowerShell command as given below.

Set-ServerComponentState -Identity <ExchangeServerName> -Component HubTransport -State Draining -Requester Maintenance

This will drain all the pending messages and put the server in maintenance mode.

Step 2: Redirect messages and queued message to the secondary server

The next step is to redirect messages and queued message to the secondary server. For this, you need to use the Redirect-Message PowerShell command (as given below) using the target as the full FQDN of the server.

Redirect-Message -Server <currentservername> -Target <newservernameFQDN>

Since this is a cluster, you also need to pause the server in the cluster. It is to be noted that you just pause it and not evict the server as this would cause several issues. To do so, use the Suspend-ClusterNode PowerShell command as given below.

Suspend-ClusterNode <computername>

This will just pause the node in the cluster.

Step 3: Disable the database automatic activation

The next step is to disable the database automatic activation. At this stage, the process will set the databases on the server as passive and will change the passive databases as active on the second node. This process is not immediate. It may take a few minutes until the move is fully operational. For this, you need to use the Set-MailboxServer PowerShell command as given below.

Set-MailboxServer <computername> -DatabaseCopyActivationDisableAndMoveNow $true

Set the server to prevent the database from getting active automatically. This can be done by using the below command.

Set-MailboxServer <computername> -DatabaseCopyAutoActivationPolicy blocked

This will ensure that all databases on the source server are dismounted. If any of the mailboxes are still mounted, then you need to perform a manual switchover using the below given PowerShell command.

Move-ActiveMailboxDatabase -Server <CurrentActiveServer> -ActivateOnServer <NewServer>

To verify that all databases are not mounted on the main server, you need to run the below command.

Get-MailboxDatabaseCopyStatus -Server <currentdatabaseserver> | Where {$_.Status -eq “Mounted”}

Step 4: Checking the transport queue

After the main databases have been moved, you need to make sure that all queues are empty by checking the transport queue. All queues must be empty since you will be disabling the server components on the server in question. Any emails which are still pending after the next step will be delayed in their delivery until the server is set online again. To check the queues, you can use the Get-Queue command.

Step 5: Put the server in maintenance mode

The last step is to put the server in maintenance mode. This can be done by using the below command.

Set-ServerComponentState <servername> -Component ServerWideOffline -State Inactive -Requester Maintenance

At this stage, with all the users working on the secondary server and the main server is in maintenance mode, you can go ahead and restart, install Windows Updates/Exchange Updates, or upgrade the hardware or replace it.

During the update process or any server changes, there could be issues with the server. For example, when you will be doing the reverse to put the server out of maintenance mode, the database will not replicate or not mount. Hardware and update issues might hinder the health of the server which can damage or corrupt the transaction logs and the database on the server. Apart from these issues, there is also the human element. You may skip a step to put the server in maintenance mode.

In such cases, you need to make sure that you have the right tools in hand. The best recovery tool is Stellar Repair for Exchange. This tool guarantees recovery from any Exchange Server database version – healthy or not. You can export all or specific mailboxes to PST and other formats. You can also export directly to a live Exchange Server database or Office 365.

You will never know when disaster will strike. Therefore, it’s always best to have in hand the right companion app that can help to restore the services with the least impact on the users and business.

Share this article:

Facebook Post LinkedIn Telegram

Search

Translation

CVE WATCHTOWER
🚨

Receive alerts for vulnerabilities being exploited in the wild.

⚡

Get notified instantly when a Proof of Concept (PoC) exploit is published.

🔍

Access critical info on vulnerabilities even when marked as "RESERVED".

🧠

Insights powered by decades of expertise and global intelligence sources.

🎯

Customize alerts with up to 10 keywords for your specific tech stack.

📊

Export the raw CVE database for SIEM integration and reporting.

Upgrade Package

🔴 Live Critical Threats

  • CVE-2026-12866CVSS 9.8
    All versions of the package expr-eval are vulnerable to Code Execution via...
  • CVE-2026-54352CVSS 9.6
    ## Summary `POST /api/pwa/process-zip` at `packages/server/src/api/routes/static.ts:24` accepts a builder-uploaded `.zip`, extracts it...
  • CVE-2026-48746CVSS 9.1
    vLLM is an inference and serving engine for large language models (LLMs)....
  • CVE-2026-48170CVSS 9.1
    ## Summary `scim-patch` performs prototype pollution when applying a SCIM PATCH operation...
  • CVE-2026-46495
    ## Summary **Description** A Deserialization of Untrusted Data (CWE-502) issue in OpenDJ's...
  • CVE-2026-56348CVSS 9.1
    n8n before 2.20.0 contains a credential exfiltration vulnerability in the POST /rest/dynamic-node-parameters/options...
  • CVE-2026-46488
    ### Summary An authentication bypass vulnerability exists due to improper trust in...
  • CVE-2026-44203CVSS 9.3
    ### Summary The OAuth 2.0 / OpenID Connect authorization endpoint does not...
  • CVE-2026-44179CVSS 9.9
    ### Summary The excerpt-include macro does not properly escape the title of...
  • CVE-2026-10789CVSS 9.6
    A maliciously crafted webpage, when visited by a user with Autodesk Fusion...
Powered by CVE WATCHTOWER

🚨 Active Exploits in the Wild

  • CVE-2026-20230CVSS 8.6
    A vulnerability in Cisco Unified Communications Manager (Unified CM) and Cisco Unified Communications Manager Session Management Edition (Unified...
  • CVE-2026-4020CVSS 7.5
    The Gravity SMTP plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and...
  • CVE-2026-10735
    Multiple plugins by ShapedPlugin contain a backdoor in various versions. This makes it possible for unauthenticated attackers to...
  • CVE-2026-20262CVSS 6.5
    A vulnerability in the web UI of Cisco Catalyst SD-WAN Manager, formerly SD-WAN vManage, could allow an authenticated,...
  • CVE-2026-54420CVSS 8.5
    LiteSpeed cPanel plugin before 2.4.8 (as distributed in LiteSpeed WHM PlugIn before 5.3.2.0) mishandles symlinks provided by a...
  • CVE-2026-53435CVSS 8.8
    In Jenkins 2.567 and earlier, LTS 2.555.2 and earlier, it is possible for attackers to have Jenkins deserialize...
  • CVE-2026-10795CVSS 8.1
    The UpdraftPlus: WP Backup & Migration Plugin plugin for WordPress is vulnerable to Authentication Bypass in all versions...
  • CVE-2026-11645
    Out of bounds read and write in V8 in Google Chrome prior to 149.0.7827.103 allowed a remote attacker...
  • CVE-2026-50751CVSS 9.3
    A logic flow weakness in Remote Access and Mobile Access certificate validation in deprecated IKEv1 key exchange allows...
  • CVE-2026-20245CVSS 7.8
    A vulnerability in the CLI of Cisco Catalyst SD-WAN Manager, formerly SD-WAN vManage, could allow an authenticated, local...
Powered by CVE Watchtower

Our Websites
  • Penetration Testing Tools
  • The Daily Information Technology
  • Daily CyberSecurity

    • About SecurityOnline.info
    • Advertise with us
    • Announcement
    • Contact
    • Contributor Register
    • Login
    • About SecurityOnline.info
    • Advertise on SecurityOnline.info
    • Contact Us

    When you purchase through links on our site, we may earn an affiliate commission. Here’s how it works

    • Disclaimer
    • Privacy Policy
    • DMCA NOTICE
    • Linkedin
    • Twitter
    • Facebook
    • Youtube
    © 2017 - 2026 Daily CyberSecurity. All Rights Reserved.