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
Solved

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

Posted on 2013-06-14
9
674 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
Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
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…

809 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