How to change Secondary DC to Primary DC?
I have two Servers 2003. Server A is the primary DC and the Server B is
secondary DC. Now I'll need to move one of the Server to another place (not
linked anymore. Just need one server at one place). Anyone can guide me or
give me some reference to make the Server B as primary DC with DNS, AD, etc..
Thanks in advance..
Re: How to change Secondary DC to Primary DC?
Since windows 2000 there is no secondary or primary DC. All DCs are the same,
the differences are the 5 FSMo roles placed on them according to some rules.
Make sure both DCs are also DNS servers, use AD integrated zones, and in
a single forest domain like domain.com make all DCs Global catalog server.
Do not forget to reconfigure the DHCP scopes for the additional DNS if not
done or change machines with fixed ip addresses.
http://support.microsoft.com/kb/223346/en-us
Re: How to change Secondary DC to Primary DC?
just to clarify, are you planning on moving an existing domain controller to
a different location that does not have a connection to the current one?
If so, this is NOT a good idea. Your domain controller - as long as they are
part of the same forest - need to be able to communicate. The correct
approach would be to demote that domain controller, move the server to the
new location, and promote it to a domain controller in a new
domain/forest...
Re: How to change Secondary DC to Primary DC?
You've heard about the gotchas and ramifications, as well as reasons why
this is not a good idea.
I'm curious as to what are the overall goals and reasons behind your plan.
Was there an acquisition or a company split-up?
Re: How to change Secondary DC to Primary DC?
My situation here is that my old company is moving out to another location
and there is a new company taking over the place. We have 2 Servers 2003 and
my old company will be bringing over one Server with them along. In this
case, the primary DC/DNS/DHCP. So I'll left with my second DC Server here in
my new company. Is it possible to promote my this second Server to DNS and
DHCP with all the AD accounts intacts? (Most people are staying with the new
company)
2nd option:
If I were to purchase a new server to replace the primary DC. What are the
things I need to do?
- Can I use Server 2008 to run together with the old Secondary DC (Server
2003)?
- Should I promote my new server to Domain Controller first then demote the
old primary DC? (What are the steps to demote?)
- Or can I just simplify disconnect the old primary DC from the network
after I successfully promote my new server?
Re: How to change Secondary DC to Primary DC?
Here are the detailed steps 2003 to 2008 upgrade:
!!!NEVER START BEFORE HAVING CREATED AND TESTED A BACKUP OF YOUR DATA/MACHINE!!!
- Do you use any kind of Exchange in the 2003 domain? If yes, which one?
- On the old server open DNS management console and check that you are running
Active directory integrated zone (easier for replication, if you have more
then one DNS server)
- run replmon from the run line or repadmin /showrepl(only if more then one
DC exist), dcdiag and netdiag from the command prompt on the old machine
to check for errors, if you have some post the complete output from the command
here or solve them first. For this tools you have to install the support\tools\suptools.msi
from the 2003 installation disk.
- run adprep /forestprep and adprep /domainprep and adprep /rodcprep from
the 2008 installation disk against the 2003 schema master(forestprep) / infrastructure
master(domainprep/rodcprep), with an account that is member of the Schema/Enterprise/Domain
admins, to upgrade the schema to the new version (44) or 2008 R2 (47)
- you can check the schema version with "schupgr" or "dsquery * cn=schema,cn=configuration,dc=domainname,dc=local
-scope base -attr objectVersion" without the quotes in a command prompt
- Install the new machine as a member server in your existing domain
- configure a fixed ip and set the preferred DNS server to the old DNS server
only, think about disabling IPv6 if you are not using it, some known problems
exist with it. Follow (http://blogs.dirteam.com/blogs/paulb...dows-2008.aspx)
to disable it
- run dcpromo and follow the wizard to add the 2008 server to an existing
domain, make it also Global catalog and DNS server.
- for DNS give the server time for replication, at least 15 minutes. Because
you use Active directory integrated zones it will automatically replicate
the zones to the new server. Open DNS management console to check that they
appear
- if the new machine is domain controller and DNS server run again replmon,
dcdiag and netdiag (copy the netdiag from the 2003 to 2008, will work) on
both domain controllers
- Transfer, NOT seize the 5 FSMO roles to the new Domain controller (http://support.microsoft.com/kb/324801
applies also for 2008), FSMO should always be on the newest OS DC
- you can see in the event viewer (Directory service) that the roles are
transferred, also give it some time
- reconfigure the DNS configuration on your NIC of the 2008 server, preferred
DNS itself, secondary the old one
- if you use DHCP do not forget to reconfigure the scope settings to point
to the new installed DNS server
- if needed export and import of DHCP database for 2008 choose "netshell
dhcp backup" and "netshell dhcp restore" command (http://technet.microsoft.com/en-us/l.../cc772372.aspx)
Demoting the old DC
- reconfigure your clients/servers that they not longer point to the old
DC/DNS server on the NIC
- to be sure that everything runs fine, disconnect the old DC from the network
and check with clients and servers the connectivity, logon and also with
one client a restart to see that everything is ok
- then run dcpromo to demote the old DC, if it works fine the machine will
move from the DC's OU to the computers container, where you can delete it
by hand. Can be that you got an error during demoting at the beginning, then
uncheck the Global catalog on that DC and try again
- check the DNS management console, that all entries from the machine are
disappeared or delete them by hand if the machine is off the network for ever
- also you have to start AD sites and services and delete the old servername
under the site, this will not be done during demotion
Re: How to change Secondary DC to Primary DC?
If you're worried, unauthorize DHCP before you start.
That being said, it shouldn't be an issue, nothing stops you from having
two DHCP servers authorized at once so even if the old authorization
sticks around in some fashion, it shouldn't break anything.