Another new feature with Windows Server 2003 Active Directory is the ability to rename domains or move domains to different locations within an existing forest. Domain rename supports the ability to change the NetBIOS domain name , or the Active Directory namespace (companyabc.com for example). The procedure to rename a domain is not a simple switch, and depending on the size of the organization, can require considerable downtime to complete. For these reasons, renaming domains should be planned out accordingly . The best practices surrounding domain renames really boils down to understanding the limitations, meeting a list of prerequisites, following a six-step process, and providing the downtime necessary to complete the procedure. This section will help you to plan and navigate this process. Understanding the LimitationsThe domain rename process will not work in every scenario. It is important to know what cannot be done before planning a big rename weekend . The following is a list of restrictions for domain rename:
Meeting the PrerequisitesAfter the constraints of the domain rename process are understood , you can begin to establish these prerequisites for carrying out the procedure:
The Domain Rename ProcessAfter the limitations are understood and the prerequisites have been met, the actual domain rename process is fairly simple. It is important to keep in mind, though, that depending on the size of the organization this process might require a great deal of network downtime. Steps for the Domain Rename Process Remember that all steps for the Domain Rename process must be performed from a single member Windows Server 2003 server. Step 1: Generate Current Forest DescriptionThe tool used to perform the domain rename process is rendom.exe, which can be found in the Valueadd\Msft\Mgmt\Domren folder of the installation CD. The first step is to run rendom with the /list switch, which generates an XML file that lists the domain-naming information for a domain. A sample domainlist.xml file is shown in Figure 12.7. Figure 12.7. Forest description XML document.
Step 2: Modify the XML FileIn this step, open the XML file generated from step 1 in a text editor, and modify domain-naming information. For example if companyabc.com is being changed to organizationA.org, a simple find and replace operation can be used to change all references from one domain name to the other. Further, any changes to DNS and NetBIOS names should be changed as well. Step 3: Upload the Modified FileAfter the XML file is updated, run the rendom command with the /upload switch. This uploads the new information to every domain controller in the forest. Step 4: Prepare Domain ControllersBecause every domain controller must participate in the update process, it is important to verify that each DC has received the update file and is ready for the migration. Run the rendom command with the /prepare switch. The prepare function will fail if it cannot contact every DC in the forest, in which case this process must be restarted. This step will ensure a successful migration to the new structure. Step 5: Execute the Rename ProcedureAfter step 4 completes successfully, run rendom with the /execute switch. No changes to the production environment take place until this command is run. When executed, all domain controllers execute the change and automatically reboot. After the DCs reboot, every workstation and member server in the forest must also be rebooted to get the change. It might be necessary to reboot workstations and member servers twice to ensure all services receive the domain name changes. Manually Rejoined to the New Domains Windows NT clients will need to be manually rejoined to the new domains because they do not support automatic rejoin functionality. Step 6: Cleanup TasksThe final step in the domain rename process is to run rendom with the /clean switch which removes temporary files from the domain controllers and returns the domain to a normal operating state. Also, each domain controller will need to have its primary DNS suffix changed via the netdom command-line utility. To perform this procedure, execute the following commands on each domain controller:
Replace oldservername and newservername with the full DNS name of the old and new server, for example srv1.companyabc and srv1.organizationA.com. |