Configure the Lightweight Directory Service service - Part 4

In this article, I will continue the discussion by showing you how to create an AD LDS instance copy.

In this part 4, I will continue the discussion by showing you how to create an AD LDS instance copy .

In the previous article of this series, I showed you how to create an Active Directory Lightweight Directory Service (AD LDS) instance. Although an AD LDS instance itself works quite well, however, it most likely becomes an error point. If you plan to store important business data within the AD LDS instance, it is best to create at least one copy for that instance. The copies will allow easy expansion and provide an automatic failover level. In this part 4, we will show you how to set up such a copy.

Active Directory Deployment Lightweight Directory Service Role

Before creating a replica for an AD LDS instance, you must install Active Directory Lightweight Directory Service Role on the server hosting the replica you are creating. The procedure is similar to the procedure for creating your first AD LDS instance, but we will only give you a little bit of a hint that remembers what was in the previous section.

To install the AD LDS role, we need to open the Server Manager and select the Roles section, then click the Add Roles link. Once done, Windows will launch the Add Roles Wizard . Click Next to bypass the Welcome screen, and you will see a screen asking you to select the role you want to install. Let's check the Active Directory Lightweight Directory Services checkbox .

Here, you will see a dialog box similar to the one shown in Figure A, which tells you that you need to install more additional role services. Simply click the Add Required Role Services button to install the required role services.

Configure the Lightweight Directory Service service - Part 4 Picture 1Configure the Lightweight Directory Service service - Part 4 Picture 1
Figure A: Click Add Required Features and then click Next.

Click Next, the wizard will display a screen that introduces Active Directory Lightweight Directory Services. Click Next to bypass this screen. Now that you will see a confirmation screen, this confirmation screen will ask you to verify that you really want to install the AD LDS role. Assume that the information displayed on the confirmation screen is completely correct for you, then click Install. The website will install the AD LDS role service. When the process is complete, click Close .

Create a copy

So far, we have installed the AD LDS role, but we have not yet created a copy of the existing AD LDS instance. To start creating the desired copy, open the Active Directory Lightweight Directory Services Console via the Administrative Tools menu. When the console appears, Windows will launch the Active Directory Lightweight Directory Services Setup Wizard.

Click Next to bypass the wizard's welcome screen. You should now see a screen similar to the one shown in Figure B, asking if you want to create a single instance or create a copy for an existing instance. Select the A Replica of an Existing Instance option and click Next .

Configure the Lightweight Directory Service service - Part 4 Picture 2Configure the Lightweight Directory Service service - Part 4 Picture 2
Figure B: Select the Replica of an Existing Instance option and click Next.

Here, you will see the screen shown in Figure C. As you can see in the figure, the wizard requires you to name the instance. The name you enter here should match the name of the instance you want to create the replica. Depending on what you call your instance, this dialog box can be populated automatically.

Configure the Lightweight Directory Service service - Part 4 Picture 3Configure the Lightweight Directory Service service - Part 4 Picture 3
Figure C: Specify a name for the instance you want to create a copy, and then click Next.

Click Next , you will see the screen shown in Figure D, asking you to specify the port number of the instance to use. If possible, you should use the same port number as the port used by the instance copy of the instance. However, this is not possible if the server is hosting a copy that has other instances installed on it, or if the server has to work as a domain controller.

Configure the Lightweight Directory Service service - Part 4 Picture 4Configure the Lightweight Directory Service service - Part 4 Picture 4
Figure D: Tell the Windows port you want to use with the copy you will create.

The next screen informs you that you must join the set of configurations. The configuration file here is a group of instances that share a common configuration and schema. In this case, the configuration set will include the original instance and the copy you are creating. Therefore, all you need to do now is provide the server's full DNS name hosting the instance where you will create the copy, along with the LDAP port number that the instance will use. You can see the example in Figure E.

Configure the Lightweight Directory Service service - Part 4 Picture 5Configure the Lightweight Directory Service service - Part 4 Picture 5
Figure E: Provide the FQDN of the server hosting the instance


The next screen will ask you to provide a set of certificates that have administrative privileges for the configuration set. Your task is to enter the administrative certificate set as shown in Figure F and click Next .

Configure the Lightweight Directory Service service - Part 4 Picture 6Configure the Lightweight Directory Service service - Part 4 Picture 6
Figure F: Provides a set of administrative certificates for the configuration set

Here, you will see the screen shown in Figure G below. As you can see in the figure, you must select the checkbox corresponding to the partitions you want to create replicas.

Configure the Lightweight Directory Service service - Part 4 Picture 7Configure the Lightweight Directory Service service - Part 4 Picture 7
Figure G: Select the checkboxes corresponding to the partitions on which you want to create replicas.

Click Next , and you will now see a screen asking you for a path to save data files and data recovery files. You can click Next to accept the default values ​​(as shown in Figure H) or you can provide other links.

Configure the Lightweight Directory Service service - Part 4 Picture 8Configure the Lightweight Directory Service service - Part 4 Picture 8
Figure H: Declare for Windows where AD LDS data is stored

Must provide the service account wizard so that it can be used for AD LDS operations. As you can see in Figure I, you can use the network service account or you can specify an account.

Configure the Lightweight Directory Service service - Part 4 Picture 9Configure the Lightweight Directory Service service - Part 4 Picture 9
Figure I: C provides the service account wizard used for AD LDS operations

Finally, you must allow users or user groups to have user administration privileges for the AD LDS instance. As you can see in the J image, the wizard allows you to use an existing user or you can specify certain user names or group names.

Configure the Lightweight Directory Service service - Part 4 Picture 10Configure the Lightweight Directory Service service - Part 4 Picture 10
Figure J: Admin privileges must be delegated to the instance

When you click Next , Windows will display a summary screen that includes all the configuration options you have set up, as shown in Figure K. Read through this summary screen to make sure everything is the same. What you intend. Assuming all is correct, click Next , Windows will configure the AD LDS instance. When the process is complete, click Close to close the wizard.

Configure the Lightweight Directory Service service - Part 4 Picture 11Configure the Lightweight Directory Service service - Part 4 Picture 11
Figure K: Need to read the summary screen to verify that the server is configured correctly

Conclude

As you can see, we can easily create a copy of AD LDS. In the next part of this series, we will go over the process in more detail.

4 ★ | 2 Vote