Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 2. Configuring single-supplier replication using the web console
Configure single-supplier replication in Directory Server to synchronize data from a central source to read-only consumers. The topology with a single-supplier distributes search traffic across multiple servers and reduces the load on the primary supplier while ensuring data availability for clients.
The single-supplier replication topology is beneficial when a suffix on the supplier receives many search requests but few write operations.
Provided example procedures assume that you have an existing Directory Server instance supplier.example.com that acts as a supplier in the replication topology being set up. Add a read-only consumer named consumer.example.com to the topology, then configure single-supplier replication for the dc=example,dc=com suffix.
2.1. Preparing the new consumer using the web console Link kopierenLink in die Zwischenablage kopiert!
Prepare a new consumer in Directory Server to receive directory updates from a supplier. You can establish a secure connection for incoming data updates by using the web console to define the consumer role and set appropriate permissions.
To prepare the consumer.example.com host, enable replication. The process achieves the following:
- Configures the role of this server in the replication topology
- Defines the suffix that is replicated
- Creates the replication manager account the supplier uses to connect to this host
Perform this procedure on the consumer that you want to add to the replication topology.
Prerequisites
- You installed the Directory Server instance. For details, see Setting up a new instance using the web console.
-
The database for the
dc=example,dc=comsuffix exists. - You are logged in to the instance in the web console.
Procedure
- Open the Replication menu.
-
Select the
dc=example,dc=comsuffix. - Click .
Select
Consumerin the Replication Role field, and enter the replication manager account and the password to create:
These settings configure the host as a consumer for the
dc=example,dc=comsuffix. Additionally, the server creates thecn=replication manager,cn=configuser with the specified password and allows this account to replicate changes for the suffix to this host.- Click .
Verification
- Open the Replication menu.
-
Select the
dc=example,dc=comsuffix. -
If the Replica Role field contains the value
Consumer, replication is enabled, and the host is configured as a consumer.
2.2. Configuring the existing server as a supplier to the consumer using the web console Link kopierenLink in die Zwischenablage kopiert!
Configure an existing Directory Server instance as a supplier to distribute updates to a consumer. You can establish a replication agreement by using the web console to define supplier roles, bind credentials, and connection parameters for the directory environment.
To prepare the supplier.example.com host, you need to do the following:
- Enable replication for the suffix.
- Create a replication agreement that points to the consumer.
- Initialize the consumer.
Perform this procedure on the existing supplier in the replication topology.
Prerequisites
-
You enabled replication for the
dc=example,dc=comsuffix on the consumer. - You are logged in to the instance in the web console.
Procedure
- Open the Replication menu.
-
Select the
dc=example,dc=comsuffix. Enable replication:
- Click .
Select
Supplierin the Replication Role field, enter a replica ID, replication manager credentials, and leave the Bind Group DN field empty:
These settings configure the host as a supplier for the
dc=example,dc=comsuffix and set the replica ID of this entry to1.ImportantThe replica ID must be a unique integer between
1and65534for a suffix across all suppliers in the topology.- Click .
Add a replication agreement and initialize the consumer:
On the Agreements tab, click , and fill the fields:
These settings create a replication agreement named
example-agreement. The replication agreement defines settings, such as the consumer’s host name, protocol, and authentication information that the supplier uses when connecting and replicating data to this consumer.-
Select
Do Online Initializationin the Consumer Initialization field to automatically initialize the consumer after saving the agreement. Click .
After the agreement was created, Directory Server initializes
consumer.example.com. Depending on the amount of data to replicate, initialization can be time-consuming.
Verification
- Open the Replication menu.
-
Select the
dc=example,dc=comsuffix. On the Agreements tab, verify the status of the agreement in the State column of the table.