Patching DAGS in Exchange 2010 SP2

Posted on 2013-08-28
Medium Priority
Last Modified: 2013-09-02
I have been delegated the task of patching Exchange 2010 SP2 exchange servers. I am kind of new to DAGS but not patching windows 2008 R2 servers. I have  read many things including Microsoft having a script for SP1 and RTM to fail over the databases to another server. if someone can help me I would appreciate this. Anyone who has ever patched DAGS can you provide me a high and low level list of things to look for. Our environment is 3 exchange servers and all the roles are installed on each HUB-CAS-MAILBOX server having the dags with 5 databases on each.

One of the major first things is to failover the active mailbox copies to another server. I know I can do this through the command shell move-availabilityserver I think or through he GUI do a manual switchover to another server. Can someone provide more info it will be really appreciated, thanks
Question by:techdrive
  • 3
  • 2

Expert Comment

ID: 39446083
You can see all the steps for updating Dag in Exchange 2010 from this link:


Author Comment

ID: 39446592
tnguyenWIRB please re-read my post. This contains info from RTM and SP1.
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 39446606
There is nothing different with the later updates.
Run the StartDagServerMaintenance.ps1 from the " C:\Program Files\Microsoft\Exchange Server\V14\Scripts" directory on the passive server.
Update to Exchange 2010 SP3 and all other updates.
Run the StopDagServerMaintenance.ps1

Repeat for the previously active, now passive server.

However note that once you have failed over to the updated server you cannot fail back to an older version. So the previously active server must be patched before you can fail back.

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.


Author Comment

ID: 39447132
Thanks for the info simon. I have a couple more questions.
 So once I fail the active copy over to a passive server and make it active on that server. There is nothing really to do with the CAS and HT roles. I am assuming since I have all 3 roles installed on that server mail flow will automatically stop once I move the active databases.

I don't trust scripts sometimes that is why I am somewhat hesitant to run them. Last question in which I am optimistic in but should this script fails it looks like I would have to use the move-mailboxdatabaseavailabilitygroup command for each database that i HAVE on the server where I am patching.

Author Comment

ID: 39447356
I hope I am not asking for too much. I am asking for someone who actually patched exchange DAGS before. I actually found the article that the person posted above. What is interesting is that everything does not work as documented. Of course nothing does but I wanted to get a perspective from someone who at least has done this before not necessariy an article that we can all find througha simple google search.

For example I had to modify this slightly to get the same results stated in the document.

>Get-MailboxDatabase | where {$_.Server -eq "server"} | SELECT name
LVL 63

Accepted Solution

Simon Butler (Sembee) earned 2000 total points
ID: 39448228
Have you seen the guide from Microsoft on installing service packs?

That goes through the steps and includes information on what to do with DAG members.

I have installed the service pack on many environments with the DAG and it is pretty much a non-event if you follow the instructions and the guideance from Microsoft. You can maintain full service availability throughout.


Featured Post

Easily manage email signatures in Office 365

Managing email signatures in Office 365 can be a challenging task if you don't have the right tool. CodeTwo Email Signatures for Office 365 will help you implement a unified email signature look, no matter what email client is used by users. Test it for free!

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

There are literally thousands of Exchange recovery applications out there. So how do you end up picking one that’s ideal for your business & purpose? By carefully scouting the product’s features, the benefits it offers you, & reading ample reviews f…
A method of moving multiple mailboxes (in bulk) to another database in an Exchange 2010/2013/2016 environment...
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…
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.

627 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