Exchange DAG - DR Scenario

Hildebrandt, Niclas 21 Reputation points
2022-04-26T14:00:01.163+00:00

Hi all,

I am currently testing our desaster scenario and try to make a documentation.

Scenario:
One DAG containing 3 databases (2x Exchange 2016 on site, 1x Exchange 2016 in Datacenter)

Exch01 (on site) holds DB01 and DB02, Exch03 (on site) holds DB03.
Exch02 located in the datacenter holds a DB copy of all DBs

In case of desaster (fire, war, bombing the city, etc), the on site hardware is lost and we want to keep services up using the hardware in the datacenter.

As 2/3 servers are shut down abruptly, the DAG will not shift the active mount to the datacenter and additional the quorum of the DAG is lost.

Now the race begins:

  1. To regain quorum I would need to remove one server from the DAG (so the FS-witness would take over again), but I cannot remove any server as it "holds" the active copy of at least one DB
  2. To get rid of that active DB, I would need to remove the DB Copy, what is not possible, as it is marked as active
  3. To deactivate the DB I would need to move it to another DAG member, what is not possible, as DAG quorum is not available and cluster is down

At the current point I cannot find the correct way how to start.

Having two exchange in both sites would result in a FW witness that either sits on site or in the datacenter and whenever the WAN is gone, our DAG would unmount the DBs -> no solution.

Looking forward to any answer that may guide me to the correct startpoint.

Brgds, Niclas

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,335 questions
{count} votes

Accepted answer
  1. Andy David - MVP 141.1K Reputation points MVP
    2022-04-26T15:09:26.867+00:00
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Hildebrandt, Niclas 21 Reputation points
    2022-04-28T14:38:03.24+00:00

    Hi,

    i already read about it and alsoenabled it. During the test of stopping the DAG it also tried to connect to a failed member, thus the procedure stopped.
    I assume I need to set verything up with different AD sites in order to have it working properly?

    I busted my testing environment and need to reinstall everything, but will test it again afterwards.


  2. Hildebrandt, Niclas 21 Reputation points
    2022-04-29T18:47:17.867+00:00

    Hi again,

    I resintalled the test lab.

    Once two Exch are powered off (that had the acive DB copy), the remaining one does not get active.

    As DAC is enabled, I then try to mark the stop the DAG fpr the failed servers, but this also does not work:

    [PS] C:\Windows\system32>Stop-DatabaseAvailabilityGroup -Identity DAG -MailboxServer EXCH01

    Confirm
    Are you sure you want to perform this action?
    Stopping mailbox server "EXCH01" in database availability group "DAG".
    [Y] Yes [A] Yes to All [N] No [L] No to All [?] Help (default is "Y"): a
    An error occurred while attempting a cluster operation. Error: Cluster API failed: "GetClusterKey() failed with 0x46.
    Error: The remote server has been paused or is in the process of being started"

    • CategoryInfo : NotSpecified: (:) [Stop-DatabaseAvailabilityGroup], ClusterApiException
    • FullyQualifiedErrorId : [Server=EXCH02,RequestId=5d1f0b3c-489d-4055-bb3b-e60ce3a424af,TimeStamp=29/04/2022 18:34
      :49] [FailureCategory=Cmdlet-ClusterApiException] 36474480,Microsoft.Exchange.Management.SystemConfigurationTasks.
      StopDatabaseAvailabilityGroup
    • PSComputerName : exch02.test.domain

    All servers are currently in the same AD site.

    €dit: I just found my problem in not usgin the -configurationonly parameter.

    With that in place I was able to fianlly shut the member down and restore the DAG with alternate FSW.

    DBs were mounted automatically!

    0 comments No comments