Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2013-06-14
9
Medium Priority
?
692 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
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

 
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

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

Scripts are great for performing batch jobs against users, however sometimes the GUI is all you need.
I’m willing to make a bet that your organization stores sensitive data in your Windows File Servers; files and folders that you really don’t want making it into the wrong hands.
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Suggested Courses

581 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