Solved

Datacenter switchover for exchange 2010

Posted on 2013-06-09
5
627 Views
Last Modified: 2013-06-18
HI,

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.
0
Comment
Question by:vijaygotur
5 Comments
 
LVL 15

Expert Comment

by:msmamji
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).

http://www.msexchange.org/articles-tutorials/exchange-server-2010/management-administration/planning-deploying-testing-exchange-2010-site-resilient-solution-sized-medium-organization-part9.html

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
0
 
LVL 10

Accepted Solution

by:
172pilotSteve earned 250 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.
0
 
LVL 63

Assisted Solution

by:Simon Butler (Sembee)
Simon Butler (Sembee) earned 250 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.

Simon.
0
 

Author Comment

by:vijaygotur
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>

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

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

Expert Comment

by:msmamji
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.
0

Featured Post

Too many email signature changes to deal with?

Are you constantly being asked to update your organization's email signatures? Do they take up too much of your time? Wouldn't you love to be able to manage all signatures from one central location, easily design them and deploy them quickly to users. Well, you can!

Join & Write a Comment

Easy CSR creation in Exchange 2007,2010 and 2013
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…
how to add IIS SMTP to handle application/Scanner relays into office 365.

705 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now