The Lab Management Installer automatically creates the configuration files (the host files for the Active Directory server) for you. After it completes this task, follow these steps to create the Secondary Active Directory server.
-
Before you create the Secondary Active Directory server, you must prepare the Primary Active Directory server for its addition.
In the steady-state operation of a Lab Management Domain, the Dynamic DNS Update feature is turned off. However, when you are adding a new Domain Controller, you need to turn off the feature temporarily using these steps:
-
Log in to the Primary Directory server as the Administrator user.
-
Click Start.
-
Select Run.
-
Enter cmd.exe and click OK.
-
From the command window, type the following command:
-
dnscmd/Config Lab Management Domain Name/AllowUpdate 1
Command output:
C:\>dnscmd/Config cubit.example.com/AllowUpdate 1
Registry property AllowUpdate successfully reset.
Command completed successfully.
-
Create a VMware virtual image for the Secondary Active Directory server on
the physical node where the server is hosted using the following two
commands:
In the steady-state operation of a Lab Management Domain, the Dynamic DNS Update feature is turned off. However, when you are adding a new Domain Controller, you need to turn off the feature temporarily using these steps:
-
From the command window, type the following command:
-
sudo vmcreate -n <fully-qualified Domain Name of the Secondary
Directory server>
Command output:
$ sudo vmcreate -F -n ad.cubit.example.com
Unregister guest node: ad.cubit.example.com
Fetching prebuilt virtual disk images from manager node
URL =
"http://mgr/public/os/Microsoft/2k3stdR2/i386/Windows2k3stdR2_
dc/4/Windows_2k3stdR2.vmdk"
Register guest node: ad.cubit.example.com
$
-
From the command window, type the following command:
-
sudo vmctl start <fully-qualified Domain Name of the Secondary
Directory server>
Command output:
$ sudo vmctl start ad2.cubit.example.com
Start ad2.cubit.example.com: OK
$
Note: Monitor the progress of this task to make sure that the Secondary Active Directory
server configures successfully.
-
Launch the VMware Server Console application from your desktop to connect
to the VMware server running on the physical node to monitor the progress of
the Secondary Active Directory server set-up process.
-
Once the installation process is complete, review the log files located at
C:\runonce.log to verify that all steps have completed successfully.
-
After confirming that the Secondary Active Directory server has successfully
joined the Lab Management Domain, disable the Dynamic DNS Update feature in the
DNS server running on the Primary Active Directory server.
Use the following commands:
-
Log in to the Primary Directory server as the Administrator user.
-
Click Start.
-
Select Run.
-
Enter cmd.exe and click OK.
-
From the command window, type the following command:
-
dnscmd/Config Lab Management Domain Name/AllowUpdate 0
Command output:
C:\>dnscmd/Config cubit.example.com/AllowUpdate 0
Registry property AllowUpdate successfully reset.
Command completed successfully.