how exchange DAG decide activate database on which server

Jerry Su 201 Reputation points
2020-11-19T08:22:24.707+00:00

I have a little bit confuse about exchange DAG

As I know, quorum role will decide PAM on which server. and PAM will decide which copy is the active copy.

  1. if I have 4 servers in DAG and a witnes server. 2 DAG members down (include the quorum role member). the remaining 2 members got the same "quorum data" , how witness determine which member should get the vote?
  2. if I have 4 servers in DAG and a witnes server. 2 DAG members down (include the quorum role member). The most updated quorum data is on the member which is down. and the remaining 2 member not the most updated. the DAG will donw ?
  3. if I have 5 member in DAG, 2 member down (include quorum role). how the decide which member will get the quorum role ?
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,636 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Jerry Su 201 Reputation points
    2020-11-19T09:45:09.717+00:00

    one more thing, if the DAC mode is enabled, and all the servers reboot is same time, no database will mount after reboot ?

    0 comments No comments

  2. Andy David - MVP 148.1K Reputation points MVP
    2020-11-19T12:31:02.507+00:00
    1. The witness doesn't decide anything. The PAM ( Quorum Owner) locks the file share on the Witness to ensure it can access it in case its vote is needed to keep a majority of voters across the cluster and keep the databases mounted. The "Quorum Role Member" (PAM) would not be down. It would just move to one of the two servers still up in your scenario.
    2. Same as your first question. There is no "Most updated quorum data" on the member that is down. if 2 of 4 server are down, then the quorum owner role moves to a running server. If that doesn't happen, there are bigger problems in the cluster and probably would have problems way before the 2 members went down.
    3. If you have 5 members in the DAG, the same concepts apply - except the File Share Witness is not used. The PAM role will move to one of the three remaining running servers in the cluster.
    4. IF using DAC Mode, then, yes, if you reboot all the servers at the same time, no database will mount until all the servers are up, services running and they communicate with each other.

    DAC mode includes a protocol called Datacenter Activation Coordination Protocol (DACP). When DAC mode is enabled, DAG members won't automatically mount databases even if they have quorum. Instead DACP is used to determine the current state of the DAG and whether Active Manager should attempt to mount the databases.

    https://learn.microsoft.com/en-us/exchange/high-availability/database-availability-groups/dac-mode?view=exchserver-2019#how-dac-mode-works

    More info:
    https://learn.microsoft.com/en-us/exchange/high-availability/database-availability-groups/active-manager?view=exchserver-2019

    0 comments No comments

  3. Lucas Liu-MSFT 6,176 Reputation points
    2020-11-20T06:09:40.537+00:00

    Hi @Jerry Su ,
    I agree with what Andy said.
    When a failure occurs that prevents access to the active copy of a replicated mailbox database, Active Manager selects the best possible passive copy of the affected database to activate. The specific steps you could refer to the “Best Copy Selection” in the second link provide by Andy.

    When you add a database copy, you can set the parameter "ActivationPreference", the ActivationPreference parameter value is used as part of Active Manager's best copy selection process and to redistribute active mailbox databases throughout the DAG when using the RedistributeActiveDatabases.ps1 script. The value for the activation preference is a number equal to or greater than 1, where 1 is at the top of the preference order. The preference number can't be larger than the number of copies of the mailbox database.
    For more information you could refer to: Parameters

    In addition, this article about Switchovers and failovers may help you better understand the whole process

    ----------

    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.