How to: Database Availability (DAG) Group in Exchange 2010

A cool new feature in Exchange 2010 is the Database Availability Group (DAG). With this feature you can put a copy of your mailbox database on multiple mailbox server (max 16.). The Database Availability Group uses the Windows Failover Clustering feature and you can manage everything through the Exchange Management Shell (EMS) and the Exchange Management Console (EMC). Let’s have a look on that…

This is my Exchange 2010 environment:

Server 1 – SRV-EXDC-01
OS:
Microosft Windows 2008 R2 Enterprise x64
IP: 172.16.1.10
Roles: Active Directory, DNS

Server 2 – SRV-EX10HT-01
OS:
Microsoft Windows 2008 R2 Enterprise x64
IP: 172.16.1.11
Roles: Exchange 2010 HT/CAS

Server 3 – SRV-EX10MB-01
OS:
Microsoft Windows 2008 R2 Enterprise x64
IP: 172.16.1.12
Roles: Exchange 2010 MBX

Server 4 – SRV-EX10MB-02
OS:
Microsoft Windows 2008 R2 Enterprise x64
IP: 172.16.1.13
Roles: Exchange 2010 MBX

1.) First I’ve created 2 new mailbox database on each mailbox server.
SRV-EX10MB-01 - MD01, MD02
SRV-EX10MB-02 - MD03, MD04
2.) The next step is to create a new Database Availability Group.
Groupname:
DAG01
Witness Server: SRV-EX10HT-01 (Could also be a another server, but not a member of the DAG!!)
Witness Directory: C:\FSW_DAG01
3.) After succesfully creating the DAG, we can added some mailbox servers to it
SRV-EX10MB-01 and SRV-EX10MB-02
4.) The Windows Failover Clustering feature will automatically installed on each Mailbox server
5.) Give the Database Availability Group an IP address. This can be done with the following command:
Set-DatabaseAvailabilityGroup -Identity DAG01 -DatabaseAvailabilityGroupIpAddresses 172.16.1.50
6.) The next step is to add a Mailbox Database Copy
7.) The copy of the Mailbox Database will be copied to the other mailbox server. As you can see, Mailbox Server SRV-EX10MB-02 is now also containing Mailbox Database MD01 and MD02
8.) Login through the Outlook Web App with a user in Mailbox Database MD01
9.) Disable the LAN connection on Mailbox Server SRV-EX10MB-01 (fake a failover!)
10.) You’ll now receive an error in your Outlook Web App, this is normal, because the active mailbox is unavailable!! Wait a copple of seconds and click another e-mail message! As you can see, the passive Mailbox Database copy is now become active!! cool…. :D
11.) After enabling the LAN connection on Mailbox Server SRV-EX10MB-01, the copy status become Healthy again!
12.) You can also test the “Fail Over” manually. Right click on your Mailbox Database, choose Move Active Mailbox Databse, and select the new active Mailbox Server.

So….after all, a copple of seconds downtime for the users!

DAG_01    DAG_02    DAG_03

DAG_04    DAG_05    DAG_06

DAG_07    DAG_08    DAG_09

DAG_10    DAG_11    DAG_12

DAG_13    DAG_14    DAG_15

DAG_16    DAG_17    DAG_18

DAG_19    DAG_20    DAG_21

DAG_22    DAG_23    DAG_24

DAG_25    DAG_26    DAG_27

DAG_28    DAG_29    DAG_30

38 Responses to “How to: Database Availability (DAG) Group in Exchange 2010”

  1. Great site. A lot of useful information here. I’m sending it to some friends!

  2. Jorge Hooker says:

    I love your site.

  3. Hedy Mulich says:

    Thanks for this interesting information.

  4. Thanks for this interesting information.

  5. Aisha Alfero says:

    I love your site.

  6. I love your site.

  7. Chun Delacy says:

    I love your site.

  8. Hans Gallman says:

    I love your site.

  9. Thanks for this usefull information.

  10. lawn repair says:

    I’m very relieved to find out there’s actually some fantastic content to find online. I’m fed up with google giving me junk.

  11. fantastic site lplease compose more typically

  12. Trance Music says:

    Great read. I also think it could be a bit longer

  13. I agree – but arent there other factors to consider ?

  14. Hi, I love This . I even wrote about it on my blog at http://www.trancecommunity.com/Forum/trance_albums/ a while ago. Anyway, I’m not necessarily into this stuff but How to: Database Availability (DAG) Group in Exchange 2010 just happened to grab my attention there in the sidebar, while I was browsing through.

  15. Trance Sets says:

    Hi, I love This . I even wrote about it on my site at http://www.trance99.com/forumdisplay.php?f=66 a while ago. Anyway, I’m not necessarily into this stuff but How to: Database Availability (DAG) Group in Exchange 2010 just happened to grab my attention there in the sidebar, while I was browsing through.

  16. Heya, Someone mentioned this site over at http://www.clearwaterfp.com a while ago. Anyway, I’m not necessarily into this stuff but How to: Database Availability (DAG) Group in Exchange 2010 just happened to grab my attention while I was browsing through so i thought id check it out. Great blog you have here

  17. Well, I believe that clears up 2 difficulties for me personally. How about anyone else?

  18. Hi, I wish to let all of you bloggers / internet users recognize about a whole new Search Engine called Braxea. Its pretty dam cool… It combines Google, Bing and Yahoo into one and even lets you search for videos on YouTube and News all across the net. Maybe this can end up being the new Google ?

  19. It is like most of the times a joy reading these blog entries

  20. Excellent article! I really like your blog site, is it alright to try it for Rss or atom?

  21. Compelling arguments in this post but have you been experiencing the several problems that IE 6 displays with your website page layout?

  22. Great text and nice blog.

  23. Great stuff. Really. Need more of it. Thnaks.

  24. Dear friend. My partner and i truly enjoy that article as well as your webpage all in all! That piece of writing is actually quite plainly written as well as without difficulty understandable. Your current WP theme is wonderful as well! Would definitely be great to know exactly where My partner and i can obtain that. If possible keep up the great job. All of us require even more these types of webmasters just like you online and also much fewer spammers. Wonderful man!

  25. Dear Web site owner. I actually just like that posting as well as the internet site all in all! That post is actually really clearly written and effortlessly understandable. Your current WP style is amazing as well! Would definitely be great to know exactly where My partner and i are able obtain it. Be sure to maintain up the very good work. All of us need even more this kind of web masters just like you on the net and much fewer spammers. Wonderful man!

  26. sex says:

    Thanks for the write up, how about a follow up for those of us that read this 10 years too late. You never cease to amaze me!

  27. Dear friend. I seriously like the particular writing along with your current website all in all! That article is extremely plainly composed and also easily understandable. The WordPress design is great as well! Would be great to discover exactly where My partner and i are able get it. Please continue to keep up the great job. We require even more this kind of webmasters such as you online and much fewer spammers. Great mate!

  28. Dear friend. I seriously like the posting along with your web page all in all! The piece of writing is actually quite plainly created and also effortlessly understandable. The Blog design is impressive as well! Would be fantastic to discover where I are able get that. If possible hold up the very good job. All of us need a lot more these types of site owners just like you online and much fewer spammers. Great man!

  29. Hello mate. My partner and i seriously like your writing and also your current website all in all! That write-up is actually quite plainly written and simply understandable. The WP design is awesome as well! Would be awesome to discover where My partner and i are able acquire this. Be sure to continue to keep up the very good job. All of us require more these web masters like you online and much fewer spammers. Excellent friend!

  30. Hello mate. I really love the particular writing and your current website all in all! Your posting is actually very clearly written as well as effortlessly understandable. Your current Blog theme is wonderful as well! Would be fantastic to discover where I are able download it. If possible maintain up the very good job. We all require far more such webmasters just like you on the internet and also much less spammers. Fantastic mate!

  31. Hello mate. I really enjoy your article along with the webpage all in all! Your posting is incredibly clearly created and effortlessly understandable. Your current WP theme is amazing as well! Would be fantastic to learn exactly where My partner and i can download that. Please keep up the great work. All of us need a lot more these web owners like you on the net and also much fewer spammers. Wonderful friend!

  32. hey there, this might be little offtopic, but i am hosting my site on hostgator and they will suspend my hosting in 4days, so i would like to ask you which hosting do you use or recommend?

  33. Dear Web site owner. My partner and i truly enjoy this posting and also the site all in all! That article is actually very clearly created and also simply understandable. The Blog design is wonderful as well! Would definitely be good to discover where My partner and i can obtain this. Be sure to hold up the excellent job. All of us need more this sort of site owners like you on the internet and much fewer spammers. Wonderful man!

  34. I want to share with all of you a brand new piece of software called Mobile Monopoly. I personally make $600-$1200 PER DAY with this, its the number 1 selling product on Clickbank and has only been around for a week or so. Check their site out and watch their amazing video to explain all your questions. If you really want to make easy money i suggest you atleast check them out… Mobile Monopoly

  35. I like your blog. Bookmarking it now!

  36. Nick Dishon says:

    Fed up with getting low amounts of useless visitors for your site? Well i wish to share with you a brand new underground tactic that makes myself $900 on a daily basis on 100% AUTOPILOT. I really could be here all day and going into detail but why dont you merely check their site out? There is really a great video that explains everything. So if your seriously interested in making easy money this is the site for you. Auto Traffic Avalanche

  37. Recently, I didn’t give plenty of consideration to making comments on site page posts and have placed responses even less. Reading through via your nice post, will aid me to do so sometimes.

Leave a Reply