none
Exchange and AD servers RRS feed

  • Question

  • Hi

    Running Exchange 2007 SP3 and Exchange 2010 SP1 environment.

    If I go to the EMC > Mailbox Server > *Server* > System Settings

    I can see a list of DC's and GC's that the Exchange server is using. Same for CAS and HUB servers.

    I had some questions based on this:

    i. I understand Exchange 'refreshes' which AD servers it uses every 15mins? Is this correct, or does it just carry out a search every 15mins for what is around and not necessarily change them?

    ii. From what I've read, DC/GC's are either in-site or out-of-site. Exchange prefers to use in-site AD servers, but if there are non available, then it will use ANY out-of-site one, there is no method of working out the closest or most effective ones.

    iii. Will Exchange choose out-of-site AD servers if the in-site ones are too busy, or do they actually have to be unreachable/down before Exch will consider going out-of-site?

    iv. Going back to the System Settings view of which AD servers are being used, is it possible to get this via Exchange Management Shell?

    v. Does anyone know a Powershell command that will pull a list of AD servers a particular Exchange server is using, and then run a dcdiag on them?
    Sunday, December 18, 2011 2:28 AM

Answers

  • i. I'm not sure what the difference between those two would be.

    ii. No. It could choose one in Ethiopia for all it cares.

    iii. No, it will pick out-of-site DCs only if there are none available in-site.

    iv. I don't know; I've never researched it.  But you could look in the event log for the last entry as it's logged.

    v. I can't speak for everyone, but I don't know of one.  It's something I've never heard requested before.  But you're overthinking this.  Exchange will use all DCs in the same site, so just run DCDIAG on all the servers in the site.


    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    • Proposed as answer by Sophia Xu Monday, December 19, 2011 6:34 AM
    • Marked as answer by Sophia Xu Monday, December 26, 2011 7:01 AM
    Sunday, December 18, 2011 2:42 AM
    Moderator
  • On Sun, 18 Dec 2011 02:28:06 +0000, Pancamo wrote:
     
    >Hi Running Exchange 2007 SP3 and Exchange 2010 SP1 environment. If I go to the EMC > Mailbox Server > *Server* > System Settings I can see a list of DC's and GC's that the Exchange server is using. Same for CAS and HUB servers. I had some questions based on this:
     
    >i. I understand Exchange 'refreshes' which AD servers it uses every 15mins? Is this correct, or does it just carry out a search every 15mins for what is around and not necessarily change them?
     
    It just looks to see if there are changes in the
    connectivity/availability of the DCs and GCs. There's no need to
    change them since they're all used (within the local site) if there's
    sufficient workload (depends on the number of outstanding LDAP queries
    on a DC).
     
    >ii. From what I've read, DC/GC's are either in-site or out-of-site. Exchange prefers to use in-site AD servers, but if there are non available, then it will use ANY out-of-site one, there is no method of working out the closest or most effective ones.
     
    It's usually the ones that respond first. Other than that, out of site
    is out of site and they're all considered to be in one big pool.
     
    >iii. Will Exchange choose out-of-site AD servers if the in-site ones are too busy,
     
    No.
     
    >or do they actually have to be unreachable/down before Exch will consider going out-of-site?
     
    Yes.
     
    >iv. Going back to the System Settings view of which AD servers are being used, is it possible to get this via
    >Exchange Management Shell?
     
    get-exchangeserver <NAME> -status | fl
    CurrentDomainControllers,CurrentGlobalCatalogs,CurrentConfigDomainController
     
    >v. Does anyone know a Powershell command that will pull a list of AD servers a particular Exchange server is using, and then run a dcdiag on them?
     
    See "iv" and just use the DC names to run dcdiag from within the
    script.
     
    ---
    Rich Matheisen
    MCSE+I, Exchange MVP
     

    --- Rich Matheisen MCSE+I, Exchange MVP
    • Proposed as answer by Sophia Xu Monday, December 19, 2011 6:34 AM
    • Marked as answer by Sophia Xu Monday, December 26, 2011 7:01 AM
    Sunday, December 18, 2011 4:29 AM

All replies

  • i. I'm not sure what the difference between those two would be.

    ii. No. It could choose one in Ethiopia for all it cares.

    iii. No, it will pick out-of-site DCs only if there are none available in-site.

    iv. I don't know; I've never researched it.  But you could look in the event log for the last entry as it's logged.

    v. I can't speak for everyone, but I don't know of one.  It's something I've never heard requested before.  But you're overthinking this.  Exchange will use all DCs in the same site, so just run DCDIAG on all the servers in the site.


    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
    • Proposed as answer by Sophia Xu Monday, December 19, 2011 6:34 AM
    • Marked as answer by Sophia Xu Monday, December 26, 2011 7:01 AM
    Sunday, December 18, 2011 2:42 AM
    Moderator
  • On Sun, 18 Dec 2011 02:28:06 +0000, Pancamo wrote:
     
    >Hi Running Exchange 2007 SP3 and Exchange 2010 SP1 environment. If I go to the EMC > Mailbox Server > *Server* > System Settings I can see a list of DC's and GC's that the Exchange server is using. Same for CAS and HUB servers. I had some questions based on this:
     
    >i. I understand Exchange 'refreshes' which AD servers it uses every 15mins? Is this correct, or does it just carry out a search every 15mins for what is around and not necessarily change them?
     
    It just looks to see if there are changes in the
    connectivity/availability of the DCs and GCs. There's no need to
    change them since they're all used (within the local site) if there's
    sufficient workload (depends on the number of outstanding LDAP queries
    on a DC).
     
    >ii. From what I've read, DC/GC's are either in-site or out-of-site. Exchange prefers to use in-site AD servers, but if there are non available, then it will use ANY out-of-site one, there is no method of working out the closest or most effective ones.
     
    It's usually the ones that respond first. Other than that, out of site
    is out of site and they're all considered to be in one big pool.
     
    >iii. Will Exchange choose out-of-site AD servers if the in-site ones are too busy,
     
    No.
     
    >or do they actually have to be unreachable/down before Exch will consider going out-of-site?
     
    Yes.
     
    >iv. Going back to the System Settings view of which AD servers are being used, is it possible to get this via
    >Exchange Management Shell?
     
    get-exchangeserver <NAME> -status | fl
    CurrentDomainControllers,CurrentGlobalCatalogs,CurrentConfigDomainController
     
    >v. Does anyone know a Powershell command that will pull a list of AD servers a particular Exchange server is using, and then run a dcdiag on them?
     
    See "iv" and just use the DC names to run dcdiag from within the
    script.
     
    ---
    Rich Matheisen
    MCSE+I, Exchange MVP
     

    --- Rich Matheisen MCSE+I, Exchange MVP
    • Proposed as answer by Sophia Xu Monday, December 19, 2011 6:34 AM
    • Marked as answer by Sophia Xu Monday, December 26, 2011 7:01 AM
    Sunday, December 18, 2011 4:29 AM
  • Thanks Rich:

    get-exchangeserver <NAME> -status | fl
    CurrentDomainControllers,CurrentGlobalCatalogs,CurrentConfigDomainController
    I've tried to search on the net but can't find the answer...what is the difference between the above three? Ok, so I understand that DC and GC's are different, but what does the CurrentConfigDomainController mean?
    Sunday, December 18, 2011 4:16 PM
  • On Sun, 18 Dec 2011 16:16:57 +0000, Pancamo wrote:
     
    >
    >
    >Thanks Rich: get-exchangeserver <NAME> -status | fl CurrentDomainControllers,CurrentGlobalCatalogs,CurrentConfigDomainController I've tried to search on the net but can't find the answer...what is the difference between the above three? Ok, so I understand that DC and GC's are different, but what does the CurrentConfigDomainController mean?
     
    It's the DC the server is using to make (or read) changes in the
    configuration of the organization. E.g. adding or removing a server,
    modifying the address space on a send connector, etc.
     
    ---
    Rich Matheisen
    MCSE+I, Exchange MVP
     

    --- Rich Matheisen MCSE+I, Exchange MVP
    Sunday, December 18, 2011 5:08 PM
  • Why is that the value of "CurrentDomainControllers, CurrentGlobalCatalogs and CurrentConfigDomainController" are always empty in all of the Exchange Servers ?

    I've changed the IP address of my Exchange Server but somehow it doesn't use the new AD DC/GC servers in the new AD site within the same domain ?


    /* Server Support Specialist */

    Wednesday, April 2, 2014 2:44 AM
  • They shouldn't be empty. They should reflect the names of the DC and GC in the AD site and, possible, the servers in use at other AD sites.

    You say you changes the IP address. Does that mean the new IP address is still in the same network as the old IP address? If not, check your AD Sites and add the new network to the existing site.

    Have you verified that your DNS reflects the new IP addresses?

    Do the EventID 2180's show the correct DC/DC names?


    --- Rich Matheisen MCSE&I, Exchange MVP

    Wednesday, April 2, 2014 9:44 PM
  • They shouldn't be empty. They should reflect the names of the DC and GC in the AD site and, possible, the servers in use at other AD sites.

    You say you changes the IP address. Does that mean the new IP address is still in the same network as the old IP address? If not, check your AD Sites and add the new network to the existing site.

    Have you verified that your DNS reflects the new IP addresses?

    Do the EventID 2180's show the correct DC/DC names?


    --- Rich Matheisen MCSE&I, Exchange MVP

    Rich, 

    From the Event viewer 2080, I can see that both of the In-Site and Out-Of-Site servers are populated with some entries. The attributes Originating Server returns one of the server from the In-Site lists.

    Should I be worry about those empty values or it should be fine ?


    /* Server Support Specialist */

    Wednesday, April 2, 2014 11:36 PM
  • I don't think you have anything to worry about -- Exchange is working, right? I thought you were looking at the GUI (server properties, "System Setting" tab). Are they empty there, too? Probably not.

    --- Rich Matheisen MCSE&I, Exchange MVP

    Friday, April 4, 2014 1:26 AM
  • I don't think you have anything to worry about -- Exchange is working, right? I thought you were looking at the GUI (server properties, "System Setting" tab). Are they empty there, too? Probably not.

    --- Rich Matheisen MCSE&I, Exchange MVP

    Yes it is working as expected Rich.

    When looking at the GUI (from Exchange Management Console) I can see they are the same as in Event ID 2080 MSExchange ADAccess.


    /* Server Support Specialist */

    Friday, April 4, 2014 1:33 AM