Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Datacenter switchover for exchange 2010

Posted on 2013-06-09
Medium Priority
Last Modified: 2013-06-18

our client is having primary and DR site for exchange.  Primary Site with 2 Hub/CAs  and 2 MB
DR is having 1 Hub/CAS and 2 MB.  DAG is having 4 members 2 from each site.  primary witness server is one of the Hub from primary site.

Now we required to move the primary office some other location.So planning to move load to DR site and primary office will be down for 2-3 days.

this is planned activity of datacenter switchover.   Lof of documents and PPT available on internet.So confused now.

Is there any differance between datacenter Switchover and datacenter failover  ?  As i am not finding seprate document for it.

Please help me on this.
Question by:vijaygotur
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
LVL 15

Expert Comment

ID: 39233833
Henrik Walther explains the difference between the two in his article below. It will be beneficial to read the whole 13 part series. It is pretty close the your scenario with four MBX servers in a DAG ( 2 at primary and 2 at DR).

Normally, in the case of datacenter, you typically go for (manual) switchover as it is not recommended nor is it wise to let a(n) (automatic) failover occur.

Hope that helps
LVL 10

Accepted Solution

172pilotSteve earned 750 total points
ID: 39234429
Are the main, and DR sites in different AD sites?  If so, it might be as easy as migrating the DBs over to the other servers, then changing DNS to point to the other CAS server.
LVL 63

Assisted Solution

by:Simon Butler (Sembee)
Simon Butler (Sembee) earned 750 total points
ID: 39235011
You aren't dealing with the scenario of a loss of a data centre, so if everything is in a DAG and you ahve a CAS array, with some forward planning this is easy to do.
The first thing you would do is move the FSW to the second data centre. Then ensure the databases are in sync.
Failover and run the start maintainence script to stop Exchange using the previously active servers, then shut them down. You can then move them or whatever. If the IP range is going to change, then before you shutdown the server, stop and disable Exchange services. Then when you bring the server up, Exchange doesn't try to come live. You can then change the IP address, verify the domain is working correctly before starting the services and reversing the process.


Author Comment

ID: 39235437
i have drafted few steps but not sure. Could you please confirm the correct as it is very critical for me to draft them correct.

1) Move FSW to DR site.
2) Mount all databases in DR site.
3) change active preferance 1for DB  to DR Site.
4) Stop-DatabaseAvailabilityGroup –Identity <DAGName> -ActiveDirectorySite <primary site> -ConfigurationOnly:$True [Repeat for any additional Active Directory sites that are not the recovery datacenter.]

5)Stop-DatabaseAvailabilityGroup –Identity <DAGName> -MailboxServer <DAG member in primary site> -ConfigurationOnly:$True

6)Get-DatabaseAvailabilityGroup –Identity <DAGName> | FL
7)Stop the Cluster service on each DAG member in the recovery datacenter.  To do this run the appropriate command for your DAG member’s operating system:
Windows Server 2008 R2:             Stop-Service Clussvc

8)Restore-DatabaseAvailabilityGroup –Identity <DAGName> -ActiveDirectorySite <recovery site>

Get-ClusterNode –Cluster <DAGName>
Get-ClusterGroup –Cluster <DAGName>

10>change DNS entry and point to DR site CAS server.
LVL 15

Expert Comment

ID: 39237020
I assuming that you have to site primary and secondary, primary site DAG members are EX1,EX2 and secondary site/DR site DAG members are EX3 and EX4. Your primary Datacenter DAG members and domain controllers are up, so The very first thing we need to do is to make sure the DAG member servers in the primary datacenter (EX1 and EX2 MBX Servers) are marked as stopped in the DAG.

1. Stop-DatabaseAvailbilityGroup DAGEXNH –ActiveDirectorySite DC1
where DAGEXNH is the dag name and DC1 is the (AD) site name for the primary site.

To confirm you need to run the following:
2.  Get-DatabaseAvailabilityGroup DAGEXNH | fl Name,StoppedMailboxServers,StartedMailboxServers

The next thing you must do is to stop the cluster service on each DAG member server in the failover datacenter, run the following command on each DAG member in the FO DC:
3. Stop-Service ClusSvc

After this you have to run the abovementioned, you need to restore the DAG by running:
4. Restore-DatabaseAvailabilityGroup DAGEXNH –ActiveDirectorySite DC2
where DAGEXNH is the dag name and DC2 is the (AD) site name for the failover/secondary site.
The mailbox databases will now activate on DR server EX3 assuming the database copies on this server has a lower activation preference set than EX4.

5. Pointing DNS Records to the CAS Array in the Secondary/Failover Datacenter

you don't need to do 1,2,3. Alternate FSW is already mentioned and becomes active when you run restore-databaseavailabilitygroup cmdlet. You DBs also become active on DR DAG members. No need to change preference as EX1 and EX2 are not considered during restore-databaseavailabilitygroup cmdlet as they are inactive. Your step 4, come into play if all Exchange Servers(MBX,CAS/HUB) and domain controllers in the primary site are unavailable (Actual Disaster). In which case only your first step change with -configurationonly:$true being added.

Featured Post

Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses

704 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