Datacenter switchover for exchange 2010


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.
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

172pilotSteveConnect With a Mentor Commented:
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.
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
Simon Butler (Sembee)Connect With a Mentor ConsultantCommented:
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.

vijaygoturAuthor Commented:
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.
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.
All Courses

From novice to tech pro — start learning today.