Cross-site DAG prevents database active replicas from switching to the backup server

Source: Internet
Author: User

in many large enterprises, in order to avoid the loss of mailbox data and the impact on user use, will establish a cross-site Dags, for example, place MBX1 and MBX2 in the Guangzhou headquarters,Place Disaster recovery server MBX3 in Shenzhen , but in some special cases if the database active copy switches to MBX3 will give the user experience and administrator management a very annoying.

The database switching logic can be referenced below:

Https://technet.microsoft.com/zh-cn/library/dd776123 (v=exchg.150). aspx

Prevent the database copy of the backup site from being automatically activated by configuring an activation policy for the server to restrict the database from switching to the same site only or to prevent the database from switching to a specific database copy.


    1. Server level:

    • The database copy on server MBX3 is configured to block activation, which prevents the database copy in the backup site from being automatically activated;

Set-mailboxserver-identity Mbx3-databasecopyautoactivationpolicy Blocked

    • the server The database copy on MBX1,MBX2 is configured to block off-site activation , which prevents the database in the production site from switching to the backup site server;

Set-mailboxserver-identity Mbx2-databasecopyautoactivationpolicy intrasiteonly


Note: The above two methods are consistent, choose one.


    • To cancel the above settings:

Set-mailboxserver-identity Mbx3-databasecopyautoactivationpolicy Unrestricted

2. Database level:

    • prevents a copy of the database DB1 on the server MBX3 from being activated,the activationonly switch specifies that only the activation of the mailbox database copy is suspended without affecting the replication of the replica;

Suspend-mailboxdatabasecopy-identity db1\mbx3-activationonly

    • This example restores the server A copy of the database DB1 on MBX2 is activated.

Resume-mailboxdatabasecopy-identity db1\mbx2


Note: At the database level and at the server level, you only need to select one item to operate on.




This article is from the "Essence of the" blog, please be sure to keep this source http://simy88.blog.51cto.com/7370552/1684379

Cross-site DAG prevents database active replicas from switching to the backup server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.