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.