Solved

Exchange 2010 DAG shutdown

Posted on 2014-09-12
2
1,153 Views
Last Modified: 2014-09-15
We are moving one of our datacenters to a new facility.  In order to complete the move, we will need to completely shutdown our active messaging system, which is hosted in that site.  I'm trying to verify that I have all the steps needs for successful shutdown and also to bring everything back online.  I've searched around and I'm seeing some mixed feedback on all the steps required to do this.

Environment details:
Primary site has 2 mailbox servers, 2 HUBCAS servers, 2 UM servers, 1 TMG server.  We have 2 databases and this site has HA for the mailbox servers with active and passive copies of each other's database.  One of the HUBCAS servers is the primary File Share Witness.

DR site has one mailbox server, one HUBCAS server, one UM server, one TMG server.  This site is DR only and has only passive copies of the databases in the primary site.  However, we do not want to failover to the DR site for this event.

The steps I'm planning to follow are:


1. Shutdown MB servers by doing the following:
StartDagServerMaintenance.ps1 -Server1
(This script should move all active DB to other DAG member, pause the node in cluster, suspend replication, set DatabaseCopyAutoActivationPolicy to block, and cluster core resource moved to other server in DAG)
Power off the server

StartDagServerMaintenance.ps1 -DR Mailbox Server
(This should prevent the DR server at the other site from becoming the PAM, activating databases, etc.)
Question:  Is this step necessary since this server is in our DR site?

Here is where some additional confusion comes in:
Shutdown the last remaining mailbox server at the primary site
Question:  Before I shut down the final mailbox server, do I need to run the StartDagServerMaintenance.ps1 -Final Mailbox Server script?  Since it is hosting the active databases, PAM, etc. I'm assuming it will fail if I run that script.  I've also seen some recommendations to dismount the databases on the active server at this point.  Other recommendations are to just shut the server down without running any commands.

2. Shutdown disk enclosure for both mailbox servers at primary site

3. Shutdown HUBCAS servers
Shutdown the one serving as the FSW last
Question:  Do I also need to shutdown the HUBCAS server in the DR site since it is the Alternate FSW

4. Shutdown UM servers

5. Shutdown TMG server

6. Shutdown domain controller in the site that is relocating

Move the datacenter.  
When bringing everything back online follow in this order:

Power on Domain controller in the site, then:

1. Power on TMG server

2. Power on HUBCAS servers
Make sure FSW is back online before powering MBX servers back on

3. Power on UM servers

4. Power on disk enclosures for mailbox servers

5. Power on mailbox servers
Run StopDagServerMaintenance.ps1 script for the last mailbox server to be shutdown prior to move
Verify health of the databases

Run StopDagServerMaintenance.ps1 for second mailbox server at primary site and redistribute the databases accordingly

Run StopDagServerMaintenance.ps1 for DR mailbox server at the secondary site

6. Verify that replication has resumed for the database copies on all servers
Test-ReplicationHealth and Get-MailboxDatabaseCopyStatus to verify the DAG health

7. Test all Exchange related services:
Test using microsoft remote connectivity anlayer
Test using microsoft remote connectivity anlayer autodiscover
Test using your script http://exchangeserverpro.com/health-...mailbox-server
Send inbound / outbound emails to verify routing
Also test basic stuff like opening Outlook and booking a meeting with a meeting room, or checking free/busy information for a meeting invitee.
Check the event logs on the servers for any unusual errors



If anyone is able to validate the steps I have listed and also make recommendations on anything I may have overlooked, as well as answer the questions above, I would greatly appreciate it.
0
Comment
Question by:junior049
[X]
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
2 Comments
 
LVL 37

Accepted Solution

by:
Jamie McKillop earned 500 total points
ID: 40322989
Hello,

Put one of the DAG members at the primary site and the DAG member at the secondary site in maintenance mode. Just power down the last DAG member at the primary site.

You do not need to shut down the HAB/CAS in the DR site. The FSW would not active in that site unless you performed a manual failover.

The rest of you steps look good, except you have not addresses IPs and DNS. Will your internal IPs remain the same in the new datacenter? What about your external IPs? If your internal IPs are going to change, you will need to make sure you setup the new subnets for the DAG and change your internal DNS records. If the external IPs are going to change, you need to modify your public DNS records.

-JJ
0
 

Author Comment

by:junior049
ID: 40323535
Thanks for validating and answering my questions.  Yes, the IP addresses, DNS, etc. will all remain the same.  The only thing changing is the physical location of the equipment.
Thanks!
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
A couple of months ago we ran into an issue that necessitated re-creating our Edge Subscriptions. However, when we attempted to execute the command: New-EdgeSubscription -filename C:\NewEdgeSub_01.xml we received an error indicating that the LDAP se…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Suggested Courses

617 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