Link to home
Start Free TrialLog in
Avatar of pomah1
pomah1Flag for United States of America

asked on

Exchange 2013 Dependency on PDC

Hello Experts!

I had some interesting situation with exchange environment last night when my PDC (DC1) went down making Exchange 2013 inoperable.

I went digging for logs, specifically Event ID 2080 described here:

https://support.microsoft.com/en-us/kb/316300
and here
https://exchangemaster.wordpress.com/2012/11/16/quick-method-to-diagnose-exchange-active-directory-access-service-startup-issues/

On my exchange servers I see following when both DC are up:

       Process Microsoft.Exchange.Directory.TopologyService.exe (PID=3064). 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:
dc1.company.local              CDG 1 7 7 1 0 1 1 7 1
DC2.company.local             CDG 1 7 7 1 0 1 1 7 1      
Out-of-site:


And this when PDC was down:

       Process Microsoft.Exchange.Directory.TopologyService.exe (PID=3064). 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:
dc1.company.local              CDG 1 0 0 0 0 0 0 0 0
DC2.company.local             CDG 1 7 7 1 0 1 1 7 1      
Out-of-site:
     
Now this is what I see on exchange servers:

This is mail1, which holds primary database

[PS] C:\Windows\system32>get-adserversettings | fl
 
 
RunspaceId                                         : 61ebb6d6-feb1-41bb-8a5f-9808df54fce4
DefaultGlobalCatalog                               : dc1.company.local
PreferredDomainControllerForDomain                 : {}
DefaultConfigurationDomainController               : dc1. company.local
DefaultPreferredDomainControllers                  : {dc1. company.local }
UserPreferredGlobalCatalog                         :
UserPreferredConfigurationDomainController         :
UserPreferredDomainControllers                     : {}
DefaultConfigurationDomainControllersForAllForests : {< company.local, dc1. company.local >}
DefaultGlobalCatalogsForAllForests                 : {< company.local, dc1. company.local >}
RecipientViewRoot                                  : company.local
ViewEntireForest                                   : False
WriteOriginatingChangeTimestamp                    : False
WriteShadowProperties                              : False
Identity                                           :
IsValid                                            : True
ObjectState                                        : New
 
This is mail2, which holds replica database

PS] C:\Windows\system32>get-adserversettings | fl
 
 
RunspaceId                                         : 31d28d7c-b411-4dfa-89f0-aac0fec65aaf
DefaultGlobalCatalog                               : DC2. company.local
PreferredDomainControllerForDomain                 : {}
DefaultConfigurationDomainController               : dc1. company.local
DefaultPreferredDomainControllers                  : {DC2. company.local }
UserPreferredGlobalCatalog                         :
UserPreferredConfigurationDomainController         :
UserPreferredDomainControllers                     : {}
DefaultConfigurationDomainControllersForAllForests : {< company.local, dc1. company.local >}
DefaultGlobalCatalogsForAllForests                 : {< company.local, DC2. company.local >}
RecipientViewRoot                                  : company.local
ViewEntireForest                                   : False
WriteOriginatingChangeTimestamp                    : False
WriteShadowProperties                              : False
Identity                                           :
IsValid                                            : True
ObjectState                                        : New
 

Clearly there is a difference. In my opinion some of the parameters should contain both domain controllers. I believe this is the primary reason for exchange to malfunction when PDC went down.

I also ran get-domaincontroller on both exchange servers and all report both domain controllers.


Anyone would comment on possible fix? Or perhaps it’s design flaw?  

Any comment will be highly appreciated.

Thank you.
Avatar of Simon Butler (Sembee)
Simon Butler (Sembee)
Flag of United Kingdom of Great Britain and Northern Ireland image

Exchange is only dependant on a server with the global catalog role.
However what it is very poor on doing is moving to another GC when the one it is using goes away.
Basically it sits there for anything up to 30 minutes before it starts to look for another DC. (MS claim it should be 10-15 minutes, but 30 is most common). Therefore if the DC that Exchange is using goes away, restart the Exchange AD topology service which will force Exchange to look for another GC/DC and it should be fine. Do nothing and Exchange is basically dead in the water.

This isn't new - it has been the same since AD came along.

Simon.
Avatar of pomah1

ASKER

The weird thing is that PDC was down close to 7 hours during the night and Exchange was dead all that time.
SOLUTION
Avatar of Will Szymkowski
Will Szymkowski
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pomah1

ASKER

I actually just looked at the exchange DNS tabs before I read your comment and indeed DC2 was not there. It contained decommissioned DNS server winch was removed few weeks ago.
I will try to simulate the issue to see if GC is picked up correctly.

Thank you
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
That is exactly what I thought.

This would be the exact reason why Exchange would stop working.

You should have no issues when the dns is set on the secondary.

Will.
Not sure why my answer wasn't just accepted as the answer, as  I had stated all of the above.

Will.