I received a question in my mailbox overnight from a reader of the 70-345 exam reference. I figured it would be helpful to post the answer here as well, since it is probably a question that many people wonder about.

Why is an additional domain controller in the Azure site required for providing a file share on a virtual machine in Azure?

Hosting the file share witness for an Exchange Server 2013 or 2016 database availability group in Azure has been supported since early 2015.

I’m happy to announce support for use of an Azure virtual machine as an Exchange 2013 Database Availability Group witness server. Automatic datacenter failover in Exchange 2013 requires three physical sites, but many of our customers with stretched DAGs only have two physical sites deployed today. By enabling the use of Azure as a third physical site, this provides many of our customers with a cost-effective method for improving the overall availability and resiliency of their Exchange deployment.

However, there’s sometimes confusion about what that actually means. The short answer is:

  • Using an Azure virtual machine (VM) running Windows Server as the file share witness for a DAG is supported.
  • Other Azure services such as Cloud Witness or Azure File Storage are not supported today, and I don’t know whether they ever will be, though it would be nice if they were and I’m sure the Exchange product group will be exploring any option that makes it easier to improve a DAG’s resilience.

In other words, don’t think of the Azure support statement as being any different to running a third datacenter of your own that hosts the file share witness. The third site (Azure) needs to be configured with a separate AD Site boundary (meaning a separate IP subnet is required), which requires at least one domain controller. The TechNet guidance includes this diagram, which should make it easier to visualize the requirements.

azure-file-share-witness-exchange

So, acknowledging that at least one domain controller is required in Azure, why can’t the domain controller also be the file share witness? It can, but it’s not recommended, and never has been, though it is supported.

It is technically possible to use a single Azure VM for this purpose and place the file witness share on the domain controller. However, this will result in an unnecessary elevation of privileges. Therefore, it is not a recommended configuration.

A separate file share witness is preferable, which means a minimum of two virtual machines in the Azure site.

Hopefully that answers the question for any of you that have been wondering about the requirement for a domain controller VM when using Azure as the third site for an Exchange database availability group.

About the Author

Paul Cunningham

Paul is a former Microsoft MVP for Office Apps and Services. He works as a consultant, writer, and trainer specializing in Office 365 and Exchange Server. Paul no longer writes for Practical365.com.

Comments

  1. Daniel

    I really hope the Exchange team is going to implement support for this. Two servers is an absurd amount of infrastructure to have to maintain for the sake of a file share witness when we have cloud witness support right there in the underlying clustering service that it’s leveraging already.

    Enhancements like this are the sort of thing I fear will not happen as Microsoft’s preference these days is to simply push you into Exchange Online. Hopefully they will prove me wrong!

  2. David Bowie's fan

    Thanks for this information.

  3. Han

    Hi Paul,

    It is perfectly legal to have an Active Directory site without a Domain Controller. So I see no reason why a Domain Controller is necessary in this scenario.
    Reference: http://blog.joeware.net/2015/03/31/5599/

    Regards,
    Han.

Leave a Reply