Management of automatic activation of mailbox bases in DAG Exhange

Pavel 206 Reputation points
2021-03-24T16:37:05.49+00:00

Good day!
There is a DAG with two Exchange 2013 nodes. On one server, all databases are active, on the other, all databases are passive.
I want to prohibit automatic database activation on a server with passive databases, i.e. I want to manage the activation of databases manually.

In the documentation, I found three pairs of activation control commands, but I did not quite understand what is the difference between them and which commands should I use in my case?

Suspend-MailboxDatabaseCopy –Identity DB-name \ server-name -ActivationOnly - disable activation
Resume-MailboxDatabaseCopy <DBCopy> - allow activation

Set-MailboxServer <ServerName> -DatabaseCopyAutoActivationPolicy Blocked - disable activation
Set-MailboxServer <ServerName> -DatabaseCopyAutoActivationPolicy Unrestricted - allow activation

Set-MailboxServer <ServerName> -DatabaseCopyActivationDisabledAndMoveNow $ True - disable activation
Set-MailboxServer <ServerName> -DatabaseCopyActivationDisabledAndMoveNow $ False - enable activation

Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,347 questions
0 comments No comments
{count} votes

Accepted answer
  1. Andy David - MVP 141.5K Reputation points MVP
    2021-03-24T17:24:52.53+00:00

    use this command:
    Set-MailboxServer <ServerName> -DatabaseCopyAutoActivationPolicy Blocked

    Why? Because it does what you want. :)
    https://learn.microsoft.com/en-us/powershell/module/exchange/set-mailboxserver?view=exchange-ps

    this command stop replication to that database, so only use when performing maintenance on the server and you dont want any replication to occur to it.
    So dont use this one:
    Suspend-MailboxDatabaseCopy –Identity DB-name \ server-name -ActivationOnly

    Only use this when you want to also move any active DBs on that server to another before blocking autoamtic activation

    Set-MailboxServer <ServerName> -DatabaseCopyActivationDisabledAndMoveNow $ True

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Xzsssss 8,861 Reputation points Microsoft Vendor
    2021-03-25T05:44:30.277+00:00

    Hi @Pavel ,

    Agree with Andy, In case your database are all activated on server 1, and you want to manually control the passive copies on server2, blocking the database copy auto activity could best meet your requirements.
    81431-image.png
    81384-image.png

    Regards,
    Lou


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.