Pro-Exchange,Lync & Office 365
Belgian Microsoft Unified Communications Professionals
Microsoft Exchange Server, Microsoft Lync Server & Office 365
Configuring Database Availability Groups in Exchange Server 2013 Preview

The process of creating a Database Availability Group (DAG) in Exchange Server 2013 (Preview) is largely the same as in Exchange Server 2010. You can choose to create a DAG via either the Exchange Administrative Center (GUI) or through the Exchange Management Shell (PowerShell).

I prefer using the Exchange Management Shell over EAC as it provides you more information over the process.

Exchange Management Shell

To configure a Database Availability Group using the EMS, type in the following commands. Replace the example values with the ones that suit your environment:

New-DatabaseAvailabilityGroup –Name DAG01 –WitnessServer SRV01 –WitnessDirectory “C:\FSW” – DatabaseAvailabilityGroupIPAddresses 192.168.20.110

This command will create the DAG. As part of this process, a computer object, also known as the Cluster Name Object, will automatically be created:

image_thumb[1]

Note   In order for this process to complete successfully, you need to have the appropriate permissions on the container in which the object is created. By default this will be the “Computers”-container. However, it is possible that your Active Directory has been reconfigured to use another container/OU as default location for new computer accounts. Have a look at http://support.microsoft.com/kb/324949 for more information.

Another way to get around the possible issue of permissions, is to create the Cluster Name Object (CNO) upfront. This process is also called “pre-staging”. Doing so will allow you to create the object up-front with another account (that has the appropriate rights) so that you don’t run into any issues when configuring your DAG.

To pre-stage the CNO, complete the following tasks:

  1. Open Active Directory Users & Computers, navigate to the OU in which you want to create the object, right-click and select New > Computer:

    image
  2. Enter a Computer Name and click OK to create the account.

    image 
  3. Right-click the new account and select Properties. Open the Security tab and add the following permissions:

    - Exchange Trusted Subsystem – Full Control
    - First DAG Node (Computer Account) – Full Control

    image     image
    More information on how to pre-stage the CNO can be found here: http://technet.microsoft.com/en-us/library/ff367878.aspx

Note   if your DAG has multiple nodes across different subnets, you will need to assign an IP address in each subnet to the DAG. To do so, you can separate the IP addresses using a comma:

New-DatabaseAvailabilityGroup –Name DAG01 –WitnessServer SRV01 –WitnessDirectory “C:\FSW” – DatabaseAvailabilityGroupIPAddresses 192.168.20.110,192.168.30.110,192.168.40.110

Once the command executed successfully, you can now add mailbox servers to the DAG. You will need to run this command for each server you want to add to the DAG:

Add-DatabaseAvailabilityGroupServer –Identity DAG01 –MailboxServer EX01
Add-DatabaseAvailabilityGroupServer –Identity DAG01 –MailboxServer EX02

Alternatively, you can also add all/multiple mailbox servers at once to the DAG:

Get-MailboxServer | %{Add-DatabaseAvailabilityGroupServer –Identity DAG01 –MailboxServer $_.Name}

Adding Database Copies

Now that your DAG has been created, you can add copies of mailbox databases to other mailbox servers. For example, to add a copy of DB1 to server EX02, you would run the following command:

Add-MailboxDatabaseCopy –Identity DB1 –MailboxServer EX02


Stay tuned! In an upcoming article, I will be talking about configuring high availability for the Client Access infrastructure in Exchange Server 2013 as well as a topic on high availability (more general).


Posted 08-16-2012 10:54 by Michael Van Horenbeeck

Comments

Exchange 2013 wrote Configuring High Availability for the Client Access Server role in Exchange Server 2013 Preview
on 08-21-2012 11:06

Following one of my previous articles in which I described how you could configure a Database Availability

more hints wrote more hints
on 09-14-2014 11:24

Configuring Database Availability Groups in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

hay day hack wrote hay day hack
on 10-02-2014 2:23

Configuring Database Availability Groups in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

http://www.pdrugs-zend.3bitlabs.com/news.html?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fminion-rush-cheats%2F%3Ehack+minion+rush%3C%2Fa%3E wrote http://www.pdrugs-zend.3bitlabs.com/news.html?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fminion-rush-cheats%2F%3Ehack+minion+rush%3C%2Fa%3E
on 10-03-2014 7:12

Configuring Database Availability Groups in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

updated simpsons tapped out cheats wrote updated simpsons tapped out cheats
on 10-04-2014 7:34

Configuring Database Availability Groups in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

http://asweb-4559-006.dvs.demon.net/php.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Ftop-eleven-hack%2F%3Ehack+top+eleven%3C%2Fa%3E wrote http://asweb-4559-006.dvs.demon.net/php.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Ftop-eleven-hack%2F%3Ehack+top+eleven%3C%2Fa%3E
on 10-05-2014 5:58

Configuring Database Availability Groups in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

http://tede.est.edu.br/?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fdragon-city-hack-dragon-city%2F%3Ehack+dragon+city%3C%2Fa%3E wrote http://tede.est.edu.br/?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.socialcheats.com%2Fdragon-city-hack-dragon-city%2F%3Ehack+dragon+city%3C%2Fa%3E
on 10-05-2014 9:51

Configuring Database Availability Groups in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

http://pleskwin11.hospedagemdesites.ws/test/php/php_info.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.e-motorsport.com%2Fgallery%2Fphpinfo.php%3Fa%255B%255D%3D%253Ca%2Bhref%253Dhttp%253A%252F%252Fgenerateurdecreditsfifa15.social-cheats.com%252F%253Ehttp%253A%252F%252Fgenerateurdecreditsfifa15.social-cheats.com%252F%253C%252Fa%253E%3Eg%E9n%E9rateur+de+cr%E9dits+fifa+15%3C%2Fa%3E wrote http://pleskwin11.hospedagemdesites.ws/test/php/php_info.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.e-motorsport.com%2Fgallery%2Fphpinfo.php%3Fa%255B%255D%3D%253Ca%2Bhref%253Dhttp%253A%252F%252Fgenerateurdecreditsfifa15.social-cheats.com%252F%253Ehttp%253A%2
on 10-09-2014 8:06

Configuring Database Availability Groups in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

generateur credit fifa 15 wrote generateur credit fifa 15
on 10-11-2014 10:31

Configuring Database Availability Groups in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

http://www.familleaurices.net/wow.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Frail.com.tw%2F%3Fa%255B%255D%3D%253Ca%2Bhref%253Dhttp%253A%252F%252Fgenerateurdecreditsfifa15.social-cheats.com%252F%253EG%25E9n%25E9rateur%2Bde%2Bcr%25E9dits%2BFifa%2B15%2Ben%2Bligne%253C%252Fa%253E%3Ehttp%3A%2F%2Fdin-bauportal.de%2Fredirect.php%3Furl%3Dhttp%3A%2F%2Fgenerateurdecreditsfifa15.social-cheats.com%2F%3C%2Fa%3E wrote http://www.familleaurices.net/wow.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Frail.com.tw%2F%3Fa%255B%255D%3D%253Ca%2Bhref%253Dhttp%253A%252F%252Fgenerateurdecreditsfifa15.social-cheats.com%252F%253EG%25E9n%25E9rateur%2Bde%2Bcr%25E9dits%2BFifa%2B15%2Ben%2Bligne%2
on 10-12-2014 3:24

Configuring Database Availability Groups in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

generateur credit fifa 15 wrote generateur credit fifa 15
on 10-13-2014 7:24

Configuring Database Availability Groups in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365

http://stu.tcvs.ilc.edu.tw/sample/phpinfo.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fgenerateurdecreditsfifa15.social-cheats.com%2F%3Ehttp%3A%2F%2Fgenerateurdecreditsfifa15.social-cheats.com%2F%3C%2Fa%3E wrote http://stu.tcvs.ilc.edu.tw/sample/phpinfo.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fgenerateurdecreditsfifa15.social-cheats.com%2F%3Ehttp%3A%2F%2Fgenerateurdecreditsfifa15.social-cheats.com%2F%3C%2Fa%3E
on 10-14-2014 12:45

Configuring Database Availability Groups in Exchange Server 2013 Preview - Exchange 2013 - Pro-Exchange,Lync & Office 365