question

jremmc-6708 avatar image
0 Votes"
jremmc-6708 asked AndyDavid commented

Need clarification on server switchover process

We have 1 DAG across 2 AD sites each with 2 E2K16 servers. Site A has FSW. Site B will have a scheduled electric outage (est. 6 hours). I have only done maintenance mode on a per server basis, not server switchover or datacenter switchover. Thinking of using server switchover to move the active databases of both Site B servers to Site A. But I'm confused; the server switchover docs/articles (including Microsoft's) I've read say to just shut down the server(s) after active databases moved using Move-ActiveMailboxDatabase. What about draining transport queues, shutting down cluster nodes, setting database activation policy to blocked, etc.? Don't we still need to run those commands on the Site B servers? (And then reverse them when Site B servers turned back on) We want to control the process as much as possible.

Thanks,
Joan

office-exchange-server-administrationoffice-exchange-server-ha
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndyDavid avatar image
0 Votes"
AndyDavid answered AndyDavid commented

IF Site A has the FSW, then you are arent really doing a switchover if shutting down SiteB .

I would move any active databases to Site A drain the transport queues on the Site B server ( https://docs.microsoft.com/en-us/powershell/module/exchange/redirect-message?view=exchange-ps)
and then simply shut the servers in SiteB.

The quorum wont be affected if the the FSW and active node are in Site A.

Then when its back up, simply boot the Site B server and it should rejoin the cluster.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks. Because I am paranoid, after moving the active databases to Site A, I will place each Site B server into maintenance mode (run the commands but omitting DatabaseCopyActivationDisabledAndMoveNow of course). We can then more control each Site B server's actions after reboot by running the take-out-of-maintenance-mode commands. Do you see any issue with this?

Joan

0 Votes 0 ·

You can absolutely do that. That wont hurt at all!

0 Votes 0 ·
KyleXu-MSFT avatar image
0 Votes"
KyleXu-MSFT answered AndyDavid commented

@jremmc-6708

From this article, we can know that if DAG in the DAC mode we need to run "Stop-DatabaseAvailabilityGroup" on the site that you want to shut down. If the computer cannot running, you could add the " –ConfigurationOnly" to this command.

Then you could use Restore-DatabaseAvailabilityGroup command on the site A to configure the site A, then use the "Move-ActiveMailboxDatabase" to active the Database.

Here also exist a blog for this step, it may also useful to you: Data Center Switch Over


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.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

This is not needed since this is not a switchover.

0 Votes 0 ·