Exchange 2013 DAG databases failing over nightly

Posted on 2014-09-30
Last Modified: 2014-09-30
Hello All,

I am having some difficulty with my DAG for exchange 2013. Every morning that I come in I find that my databases have moved over to another server automatically.

We have 6 servers on VMshere that takes snapshots nightly.

3 CAS servers in a CAS array
3 mailbox servers with 4 databases each.

I cannot find any reasoning as to why this is occurring nightly other than the snapshots. Unfortunately, I am not familiar with VSphere or the snapshots that are taken nightly, I do not do this task. I am just responsible for the exchange servers.

There is also no reasoning behind which server gets the database that morning. One morning I will find all the B mailboxes on A, the next possibly all the databases from A moved to B. Sometimes I will even see a combination of databases scattered across all three.

Has anyone seen this behavior before? Why is this automatically happening every night? (snapshots?)

Please let me know what information I can provide to assist with troubleshooting this problem.

Many thanks to the experts exchange community.
Question by:nyma11
  • 2
  • 2
LVL 13

Expert Comment

by:Andy M
ID: 40352265
I'm not very experienced with VSphere but the database in Exchange 2013 will only automatically failover if the witness server and secondary email server are unable to get a response from the primary exchange server at any point.

If this is happening every night and based on the information provided I suspect that while the snapshot is running it's effectively pausing the exchange server, preventing any connections and resulting in the failover taking place.

First port of call would be to check the event logs on both exchange servers - when a failover takes place it logs it under the application log. That should give you a better idea of what time the failover actually occurs and if there's any other errors/warnings around the same time.

Author Comment

ID: 40352273

thank you for your prompt response. I can actually see the snapshot times and verify they correlate with the databases failing over.

What is the proper procedure for taking snapshots in VMware on an exchange server?

I do not see the point in taking snapshots of the entire server.

Would it be safe to simply take a snapshot of the passive and lagged databases only? I do not understand why there needs to be a snapshot of the whole server and the active databases as well.

Unless I am missing something, if a failure occurs, we can simply use the passive copy, recreate the server and place them into the recreated server.

Please correct me if I am mistaken.

thanks again for your time.
LVL 13

Accepted Solution

lciprianionut earned 500 total points
ID: 40352290
Hi. What I believe is happing in your environment is that the new feature called Managed Availability is doing the work.
I would suggest to read more about it to understand how it works and then tweak it for your environment.
LVL 13

Expert Comment

by:Andy M
ID: 40352291
Hi Nyma

To be honest I'm not sure on the actual procedure for snapshots as we've never used them in any of the virtualized environments we look after - we generally just use actual backup software to backup the server/exchange database as it gives us greater control over restoring mailboxes in the event of a problem.

Providing the replication between the databases is fine I would assume just take a snapshot of the passive database though personally I would get a second opinion from someone who has more experience with vsphere to make sure.

Author Comment

ID: 40352455
I looked at the documentation you provided and everything appears "healthy" any other ideas?

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Powershell help in Exchange 2013 4 35
Decommissioning an Exchange 2010 mailbox server 6 37
Mail Server IP address - part 2 1 20
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question