I have a win2k3 stnd dc/ dns as a vm server (1.0). I recently upgraded to Vsphere4 and want to move the dc to a new vm on our new ESX host. I've read that converting a dc vm is not the best idea and I should just create a new vm, dcpromo and replicate AD on the new server. I posted the plagarized solution below.
My question, besides checking on the solution, is how do I promote the new dc vm to be the primary dc? (after I shut down the old dc vm of course). I will create a secondary dc after I get the primary up. (we have a secondary dc on vm (1.0) now)
I want to make sure that users won't lose connection with their data, (my docs are redirected)
From earlier EE post ~2007:
Assign the new computer an IP address and subnet mask on the existing network Make sure that the preferred DNS server on new machine points to the existing DNS Server on the Domain (normally the existing domain controller)
Join the new machine to the existing domain as a member server
From the command line promote the new machine to a domain controller with the DCPROMO command from the command line Select Additional Domain Controller in an existing Domain
Once Active Directory is installed then to make the new machine a global catalog server, go to Administrative Tools, Active Directory Sites and Services, Expand ,Sites, Default first site and Servers. Right click on the new server and select properties and tick the Global Catalog checkbox. (Global catalog is essential for logon as it needs to be queried to establish Universal Group Membership)
Assuming that you were using Active Directory Integrated DNS on the first Domain Controller, DNS will have replicated to the new domain controller along with Active Directory.
If you are using DHCP you should spread this across the domain controllers, In a simple single domain this is easiest done by Setting up DHCP on the second Domain controller and using a scope on the same network that does not overlap with the existing scope on the other Domain Controller. Dont forget to set the default gateway (router) and DNS Servers. Talking of which all the clients (and the domain controllers themselves) need to have their Preferred DNS server set to one domain controller, and the Alternate DNS to the other, that way if one of the DNS Servers fails, the clients will automatically use the other,
Both Domain Controllers by this point will have Active Directory, Global Catalog, DNS and DHCP. and the domain could function for a while at least should any one of them fail. However for a fully robust system you need to be aware that the first domain controller that existed will by default hold what are called FSMO Roles. There are five of these roles that are held on a single server and are essential for the functioning of the network. If the second Domain Controller fails, then no problem as the FSMO roles are on the first Domain Controller. In an SBS domain the FSMO roles MUST remain on the SBS server.