Solved

Exchange 2013 won't operate if a specific DC is offine

Posted on 2013-06-14
9
673 Views
Last Modified: 2013-06-23
EE

I have 2 windows 2012 DC's, 1 Exchange 2013 server.

One DC (I'll call it DC1) is getting shipped to a different state. it so happens to be the first DC in the domain. So originally it owned all the FSMO roles. I've moved those to DC2

I have another DC (i'll call it DC2) that will sit onsite with the exchange 2013 server.

my problem is if i turn off the DC1 the one i'm shipping to another state, exchange crashes and if i reboot exchange services won't start.

After running this command

Get-ADServerSettings | fl

I've found out that DC1 si the dfault for everything.

I've also ran these commands to change the GC and Primary DC for exchange.

Set-ADServerSettings -PreferredServer DC2.domain.local

Set-AdServerSettings -ViewEntireForest $True -PreferredGlobalCatalog DC2.domain.local

but that only works for current session and reverts back.

Here are my questions.
How can i get Exchange to look at DC2 permanetly so i can turn DC1 off and not have troulbe?
Is the default DC server in exchange the reason i can't get services to start if DC1 is off?
For this problem am i looking in the right direction?

Thanks for any help you all can offer.
0
Comment
Question by:drivenit
9 Comments
 
LVL 23

Expert Comment

by:Stelian Stan
ID: 39249417
You are right Set-ADServerSettings applies only to the current session. If you want the setting to be applied each time you open a new session you could look at using a PowerShell profile:

http://technet.microsoft.com/en-us/library/ee692764.aspx
0
 
LVL 1

Author Comment

by:drivenit
ID: 39249445
Hmmm so is this not really the problem them. because i still have to have DC1 online in order to start exchange.
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 39249829
Can you check event 2080 and share

Also not sure if you have hardcoded some DC\GC with the Exchange ?

- Rancy
0
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
LVL 9

Expert Comment

by:VirastaR
ID: 39249932
Hi,

Check this

Exchange DSAccess / ADAccess and AD site Link
http://blogs.technet.com/b/sukum/archive/2013/02/08/ds-access-ad-access-and-ad-sites-link.aspx

Hope that helps :)
0
 
LVL 1

Author Comment

by:drivenit
ID: 39250087
Here is what event id 2080 states

  Process Microsoft.Exchange.Directory.TopologyService.exe (PID=2152). Exchange Active Directory Provider has discovered the following servers with the following characteristics:      
 (Server name | Roles | Enabled | Reachability | Synchronized | GC capable | PDC | SACL right | Critical Data | Netlogon | OS Version)      
In-site:
DC2.domain.com      CDG 1 7 7 1 0 1 1 7 1
DC1.domain.com      --G 1 7 7 1 0 1 1 7 1      
Out-of-site:
DC2.domain.com      CDG 1 7 7 1 0 1 1 7 1
DC1.domain.com      CDG 1 7 7 1 0 1 1 0 1

looks like dc2 is listed first but not sure what that means.
0
 
LVL 1

Author Comment

by:drivenit
ID: 39250096
Virastar,

Good article explains a lot, I wonder after reading that link if my issue is straight up DNS or if i accidentally hard coded DC1 to exchange.
0
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 39250437
2080 looks fine please ensure that no DC\GC is hardcoded

- Rancy
0
 
LVL 1

Accepted Solution

by:
drivenit earned 0 total points
ID: 39256640
EE

Thank you for your help in this issue. Looks like it was a problem with routing. I did not realize there was two NIC's on my DC2 server. Once i disabled the 2nd Nic and cleaned up DNS everything worked it's self out. It must of been some sort of routing issue and was not getting clean communication.

Thanks for the help
0
 
LVL 1

Author Closing Comment

by:drivenit
ID: 39269077
It ended up being a 2nd NIC
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
A procedure for exporting installed hotfix details of remote computers using powershell
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

816 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

10 Experts available now in Live!

Get 1:1 Help Now