The title of the article may be confusing for some, but there will be occasions in which you want to block a particular database copy from being activated automatically. Having the database copy in a passive datacentre maybe a reason why you want it to be blocked from automatic activation. Not because it can’t do the job, but probably because you want to know when the database fails over to a different datacentre and you want that to be done by yourself.
Whatever the reason behind is, you need to use the shell to block a database copy from getting activated automatically. Run the following command to block the copy of the database DB1 on server EXCH3 from getting activated.
Suspend-MailboxDatabaseCopy –identity DB1EXCH3 –ActivationOnly
When you have different copies of a mailbox database, their identity is “DatabaseNameServerName”
If you change your mind and want to reverse the process, run
Resume-MailboxDatabaseCopy –identity DB1EXCH3
Another option is to block all databases hosted on a server from activating. Run the following command to block all database copies on a server named EXCH1,
Set-MailboxServer –identity EXCH1 –DatabaseCopyAutoActivationPolicy Blocked
To reverse your decision, run
Set-MailboxServer –identity EXCH1 –DatabaseCopyAutoActivationPolicy Unrestricted