Exchange 2010 - How to change Primary Servers

Posted on 2015-02-03
Last Modified: 2015-02-25
- 2 Locations
- 2 2010 Exchange Servers running on Windows Server 2008R2 Enterprise
- DAG is setup and Secondary server has a full replication of the databases.
- 1 Primary server needs to be taken offline to increase the raid size

How do I tell Exchange to treat the secondary exchange controller as the primary during this interlude?
Question by:JesusFreak42
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3

Author Comment

ID: 40586509
I should note that both servers have all the roles. I am assuming I need to make the secondary server databases active. However, are there DNS settings that need to be changed? Will connectors still function properly?
LVL 53

Accepted Solution

Will Szymkowski earned 500 total points
ID: 40586581
If all you want to do is active the database copy on the other secondary server use the following command below..

Use the StartDagServerMaintenance.ps1 and StopDagServerMaintenance.ps1

See the follow link for more detail on the above powershell scripts.
Database Maintenance Mode Exchange 2010

You also need to make sure that your CAS server is also load balanced as well.


Author Comment

ID: 40586594
ok. Two questions:
1) I don't think load balancing was setup. What effect does this have?
2) Will mail continue to flow if the primary server is offline for the next 4-5 days?
Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

LVL 53

Expert Comment

by:Will Szymkowski
ID: 40586617
Question 1 - You need to have CAS load balanced and your CAS servers should be in a CAS Array  (1 CAS array for every AD site that host Exchange). Because you are using DAG and have all of the roles installed on both servers you need to use a hardware load balancer for Exchange CAS role. WNLB is not supported in production environments anyway.

Question 2 - Email will not continue to flow because CAS server is required because it hosts all of the virtual directories like autodiscover, EWS, EAS etc. CAS also creates perisitent connections to the database where the mailbox resides so CAS is required.


Author Comment

ID: 40586765
Hmmm... I just found out that all the databases are active on what I thought was the secondary server, however owa is on the other server. OWA does not appear to be functioning on the secondary server. I know how to make the necessary DNS changes to point to the secondary server. However I get the following screenshots when trying to get to the OWA site.
LVL 53

Expert Comment

by:Will Szymkowski
ID: 40586865
If you have CAS role installed on the second server you need to configure load balancing using a hardware load balancer. You will also need to configure your Virtual directories on the client access server and also need to make sure that you have the proper certificate installed on this server as well.


Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
In this video we show how to create a Shared Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Sha…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit If you want to manage em…

710 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