Exchange and AD servers

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?
LVL 2
bruce_77Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

RadweldCommented:
If you run a powershell command with the FL option, like get-exchange server | fl then one of the reults is titled originating server, this is a DC that was queried for this data. Exchange will use in site GC and only use out of site GCs if the insite GCs fail to respond.

There is a command called get-adserversettings that will return the DC and GC information Exchange is using.
0
e_aravindCommented:
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.

>> along with the cost, the response from the DC-servers would be used in choosing the remote-site DCS
(note: Exchange should be doing some tests before choosing a particular DC for its usage)

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?

>> I'm not aware of a situation where the DC\GC is busy\loaded.
DC are needed got for the authentication and for reading the values from the GC
Exchange server would be caching the GC values for the re-use

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 -status | fl
http://blogs.technet.com/b/jamec/archive/2010/03/26/get-exchangeserver-fl-won-t-return-static-domain-controllers.aspx

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
markpalinuxCommented:

just an fyi , I had seen with Exchange 2007 and Exchange 2003 that they are weak finding another DC when a DC is having issues. I had an exchange 2003 DC which saw the 2003 AD domain controller was still pingable and it didn't switch to another DC until I pulled the nic cable. The DC was having hardware issues and windows was shutting down very slowly.

Another common mistake is that the Exchange server will be setup in a rush and only have a single DNS server in the tcpip properties.

Mark
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.