Configuring Database Availability Group in Exchange Server 2010‏

You are currently comparing revision 2 and the current version. Go to current version

Configuring Database Availability Group in Exchange Server 2010‏(en-US)

Configuring Database Availability Group in Exchange Server 2010‏, DAG, en-US, ExchangeServer 2003, DAGExchange Server, Failover ClusterExchange Server 2010, EMChas comment, Mailbox levelhas See Also

Release SoftwareWindows 2008 Server R2 Enterprise Edition, Microsoft Exchange Server 2010

Problem

Scenario: 

Need to create   Create DAG in Exchange server 2010 for failover in Mailbox *over at mailbox database level

Introduction on DAG

Description: The Database Availability Group (DAG) is the new high availability solution in Exchange 2010. None of the clustering technologies in 2007 is valid in 2010. A DAG is a collection of up to 16 mailbox servers with a maximum of 16 copies of each database. It makes the database independent of any server and gives us fail-over on a mailbox level rather than a hardware or storage group level as in 2007. To illustrate it, if one database gets corrupted or the disk having the files fails, you can quickly mount a copy of the same databasein any of the servers which is part of the DAG.

Steps to configure DAG:

  • Launch EMC 2010 and navigate to Organization Configuration > Mailbox > Database Availability tab. Right click anywhere on the pane and select New Database Availability Group.   You can also select the option from the action pane.


  • You need to specify the name of the DAG (this will appear in EMC), the file share witness UNC path and the location of the FSW folder. Exchange will create the folder and hence specify the path as to where you want the folder to belearn more about DAGs at http://technet.microsoft.com/en-us/library/dd979799.aspx.Microsoft recommends   For step-by-step instructions to have the FSW on a hub server.


  • Click New and Finish. You will see that the DAG is now listed in EMC.

  • The creation of DAG will only create an AD computer object, which is visible in AD Users and Computers.


  • Just having a DAGcreated is no good to us. Now,we will add the first node to the DAG. Right click the DAG in EMC and click on Manage DAG Membership.


  • Select the first server to be part of the DAG and click Manage.


  • Using the console for adding the first server gave me the error below stating that Insufficient permissions to view the network shares on the machine, Error Code 5.


  • The above problem here is that remote power shell is used in the background which is causing the error. It is a known issue and should be corrected in the final release. I launched the Local Power shell and ran the same command which the console ran and everything was fine.

Add-DatabaseAvailabilityGroupServer identity HEWDAG MailboxServer E14Node1

As you can  see , the shell installs Windows Failover Clustering as part of configuring the server to be a member of DAG. You don’t have to install clustering before hand as the process will go ahead and install if it is not present. This is good for administrators who are not that comfortable with configuring the cluster themselves, like CCR in 2007.


  • Once the server becomes part of the DAG, more information is made available in the console.


  • The failover clustering quorum settings will be set to Node Majority.

  • In order to add the second server E14Node2 to the DAG, I launched the Local Power shell from the second server and executed the same command which we ran earlier.

Add-DatabaseAvailabilityGroupServer identity HEWDAG MailboxServer E14Node2


  • The EMC will now show both the servers as part of the create a DAG (Database Availability Group) in the EMC.

  • Now your mailboxes configured with DAG to have the high availability of mail services.Exchange 2010