locked
How to set new default domain controller for Exchange RRS feed

  • Question

  • Hi,

    I have problem with setting up new domain controler for Exchange 2010.

    My old DC will be demoted and I want to change preffered DC for Exch Server.

    Is there possibility to do this without reinstalling Exchange server?

    I was trying to switch off old DC but together with DC shutdown Exchange Server stops functioning.

     


    BR Piotr MCP,MCTS,MCSE,MCITP
    Saturday, May 8, 2010 9:21 AM

Answers

  • the new DC either not GC or doesn't have the correct permissions so make sure the the new DC is global catalog from the event viewer of directory services you will see that it has been promoted to a GC.

    if this is correct then run setup.com /preparedomain again and then try again


    Regards, Mahmoud Magdy Watch Arabic Level 300 Videos about Exchange 2010 here: http://vimeo.com/user3271816 Read pretty advanced Exchange stuff I and other MVPs post here: http://www.enowconsulting.com/ese/blog.asp Or follow my blog: http://busbar.blogspot.com or our corp blog: http://ingazat.wordpress.com and if you Liked my post please mark it as helpful and accept it as an asnwer
    • Marked as answer by PiotrR1981 Saturday, May 8, 2010 11:26 AM
    Saturday, May 8, 2010 10:53 AM

All replies

  • no need to do that since Exchange will discover the new domain controller once installed, The AD topplogy discovery service is responsible for that and will refresh it every 15 min. if you want to hard code a damain controller which is not recommended then follow these steps:

    http://technet.microsoft.com/en-us/library/aa998227.aspx


    Regards, Mahmoud Magdy Watch Arabic Level 300 Videos about Exchange 2010 here: http://vimeo.com/user3271816 Read pretty advanced Exchange stuff I and other MVPs post here: http://www.enowconsulting.com/ese/blog.asp Or follow my blog: http://busbar.blogspot.com or our corp blog: http://ingazat.wordpress.com and if you Liked my post please mark it as helpful and accept it as an asnwer
    Saturday, May 8, 2010 9:44 AM
  • here is what i get when I shutdown old DC

     

    Process MSEXCHANGEADTOPOLOGYSERVICE.EXE (PID=1780). Topology discovery failed, error 0x80040a02 (DSC_E_NO_SUITABLE_CDC). Look up the Lightweight Directory Access Protocol (LDAP) error code specified in the event description. To do this, use Microsoft Knowledge Base article 218185, "Microsoft LDAP Error Codes." Use the information in that article to learn more about the cause and resolution to this error. Use the Ping or PathPing command-line tools to test network connectivity to local domain controllers.

     

    It is strange  as this new DC is working fine. I tested it with DCDIAG and NETDIAG.


    BR Piotr MCP,MCTS,MCSE,MCITP
    Saturday, May 8, 2010 10:08 AM
  • ok do you have the new DC IP as the alternate DNS in the tcp/ip settings at the Exchange server, if you will remove the old one then make it your primary
    Regards, Mahmoud Magdy Watch Arabic Level 300 Videos about Exchange 2010 here: http://vimeo.com/user3271816 Read pretty advanced Exchange stuff I and other MVPs post here: http://www.enowconsulting.com/ese/blog.asp Or follow my blog: http://busbar.blogspot.com or our corp blog: http://ingazat.wordpress.com and if you Liked my post please mark it as helpful and accept it as an asnwer
    Saturday, May 8, 2010 10:17 AM
  • Yes I have this new one as primary DNS server.
    BR Piotr MCP,MCTS,MCSE,MCITP
    Saturday, May 8, 2010 10:36 AM
  • If yes then make sure of the following:

    - New DC has his own IP in its TCP/IP as primary DNS server.

    - New DC is global catalog.

    - New DC has correct DNS settings in the MSDC folder.

    - restart the Exchange active directory toplogy discovery service and watch the event viewer, there should be an event that discover both domain controllers if this happens then turn off the old DC.

    - keep in mind that Topology information will remain in the system attendant service for 15 min, so the min to switch to the new one is 15 min.

    Tell me how it works


    Regards, Mahmoud Magdy Watch Arabic Level 300 Videos about Exchange 2010 here: http://vimeo.com/user3271816 Read pretty advanced Exchange stuff I and other MVPs post here: http://www.enowconsulting.com/ese/blog.asp Or follow my blog: http://busbar.blogspot.com or our corp blog: http://ingazat.wordpress.com and if you Liked my post please mark it as helpful and accept it as an asnwer
    Saturday, May 8, 2010 10:39 AM
  • From event log:

    Process MSEXCHANGEADTOPOLOGYSERVICE.EXE (PID=1780). 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:

    oldDC   CDG 1 7 7 1 0 1 1 7 1

    newDC  CDG 1 7 7 1 0 0 1 7 1

    Out-of-site:

     

    I see that there is only one difference probalby SACL rights but I don't know what ta=hat mean.

     

     

     


    BR Piotr MCP,MCTS,MCSE,MCITP
    Saturday, May 8, 2010 10:45 AM
  • the new DC either not GC or doesn't have the correct permissions so make sure the the new DC is global catalog from the event viewer of directory services you will see that it has been promoted to a GC.

    if this is correct then run setup.com /preparedomain again and then try again


    Regards, Mahmoud Magdy Watch Arabic Level 300 Videos about Exchange 2010 here: http://vimeo.com/user3271816 Read pretty advanced Exchange stuff I and other MVPs post here: http://www.enowconsulting.com/ese/blog.asp Or follow my blog: http://busbar.blogspot.com or our corp blog: http://ingazat.wordpress.com and if you Liked my post please mark it as helpful and accept it as an asnwer
    • Marked as answer by PiotrR1981 Saturday, May 8, 2010 11:26 AM
    Saturday, May 8, 2010 10:53 AM
  • From event log:

    Process MSEXCHANGEADTOPOLOGYSERVICE.EXE (PID=1780). 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:

    oldDC   CDG 1 7 7 1 0 1 1 7 1

    newDC  CDG 1 7 7 1 0 0 1 7 1

    Out-of-site:

     

    I see that there is only one difference probalby SACL rights but I don't know what ta=hat mean.

     

     

     


    BR Piotr MCP,MCTS,MCSE,MCITP

    There is a command to direct exchange to use some specific DCs (1 or more).

    Set-ExchangeServer "YourServer" -StaticDomainControllers "NewDC" 

    and for all servers

    Get-ExchangeServer | Set-ExchangeServer  -StaticDomainController "NewDC"

    If this doesnt work for you then later on u can revert it by

    Set-ExchangeServer "YourServer" -StaticDomainControllers $null 

    Try it and then run EMC and EMS and see if you can work with it.

    For details: http://technet.microsoft.com/en-us/library/bb123716.aspx

    Regards,


    Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM) www.HostingController.com
    Saturday, May 8, 2010 11:05 AM
  • Hi Laeeq,

    Have you checked my first post :D


    Regards, Mahmoud Magdy Watch Arabic Level 300 Videos about Exchange 2010 here: http://vimeo.com/user3271816 Read pretty advanced Exchange stuff I and other MVPs post here: http://www.enowconsulting.com/ese/blog.asp Or follow my blog: http://busbar.blogspot.com or our corp blog: http://ingazat.wordpress.com and if you Liked my post please mark it as helpful and accept it as an asnwer
    Saturday, May 8, 2010 11:07 AM
  • Hi Laeeq,

    Have you checked my first post :D


    Regards, Mahmoud Magdy Watch Arabic Level 300 Videos about Exchange 2010 here: http://vimeo.com/user3271816 Read pretty advanced Exchange stuff I and other MVPs post here: http://www.enowconsulting.com/ese/blog.asp Or follow my blog: http://busbar.blogspot.com or our corp blog: http://ingazat.wordpress.com and if you Liked my post please mark it as helpful and accept it as an asnwer

    Yes dear i did but it seems that O.P has not :)

    You presented it via EMC and I via EMS, may be OP seems it difficult to work on EMC :)

    Regards,


    Laeeq Qazi|Team Lead(Exchange + Sharepoint + BES + DynamicsCRM) www.HostingController.com
    Saturday, May 8, 2010 11:09 AM
  • setup.com /preparedomain  -was correct solution.

    thanks for your help

     


    BR Piotr MCP,MCTS,MCSE,MCITP
    Saturday, May 8, 2010 11:26 AM
  • perfect, Glad that I helped
    Regards, Mahmoud Magdy Watch Arabic Level 300 Videos about Exchange 2010 here: http://vimeo.com/user3271816 Read pretty advanced Exchange stuff I and other MVPs post here: http://www.enowconsulting.com/ese/blog.asp Or follow my blog: http://busbar.blogspot.com or our corp blog: http://ingazat.wordpress.com and if you Liked my post please mark it as helpful and accept it as an asnwer
    Saturday, May 8, 2010 11:27 AM