create-sync-pipe-config utility to configure a Sync Pipe.
Once the configuration is completed, settings can be adjusted using the
If servers have no base entries or data, the
DNs,cn=config account needed to communicate cannot be created. Make sure
that base entries are created on the destination servers.
If synchronizing pre-encoded passwords to a PingDirectory Server destination, you must allow pre-encoded passwords in the default password policy. You must also configure password encryption on the destination. Make sure that the password encryption algorithm is supported by both source and destination servers with the following command:
$ bin/dsconfig set-password-policy-prop \ --policy-name "Default Password Policy" \ --set allow-pre-encoded-passwords:true
Encrypted and clear-text passwords can be synchronized by configuring the sync
You can set the
property to false when working in a test environment.
password-synchronization-format property is set to
require-secure-connection-for-clear-text-passwords property is
set to true, the connection must be secure.
If a secure connection is not available, an error is generated and the password is not synchronized.
To configure PingDataSync with the
bindirectory, run the
- In the Initial Synchronization Configuration Tool menu, press Enter (yes) to continue the configuration.
- In the Synchronization Mode menu, press Enter to select Standard Mode.
In the Synchronization Directory menu, select
oneway(1) or bidirectional(2) for
the synchronization topology.
This example assumes bidirectional synchronization.
- In the Source Endpoint Type menu, select the directory or database server for the first endpoint.
- In the Source Endpoint Name menu, enter a name for the endpoint server, or press Enter to accept the default.
In the Base DNs menu, enter the base on the first endpoint topology where the entries will be
- Select an option for the server security.
Enter the host name and listener port number for the source server, or accept the
Make sure that the endpoint servers are online and running.
- Enter another server host and port, or press Enter to continue.
Enter the SyncUser account DN for the endpoint servers, or press Enter to accept
the default (
Enter and confirm a password for this account.
You can now configure the servers in the destination endpoint topology.
- Repeat steps 6– 13 to configure the second server.
Define the maximum age of changelog log entries, or press Enter to accept the
After you configure the source and destination topologies, PingDataSync prepares each external server by testing the connection to each server. Step 15 determines if each account has the necessary privileges (root privileges are required) to communicate with and transfer data to each endpoint during synchronization.
In the Sync Pipe Name menu, create a name for the Sync Pipe,
or press Enter to accept the default.
Because this configuration is bidirectional, the following step is setting up a Sync Pipe path from the source endpoint to the destination endpoint. A later step will define another Sync Pipe from the PingDirectory Server to another server.
In the SyncClass Definitions menu, enter
Yes to create a custom Sync Class.
A Sync Class defines the operation types (creates, modifies, or deletes), attributes that are synchronized, how attributes and DNs are mapped, and how source and destination entries are correlated.
- Enter a name for the new Sync Class, such as server1_to_server2.
In the Base DNs for Sync Class menu, enter one or more base
DNs to synchronize specific subtrees of a directory information tree (DIT).
Entries outside of the specified base DNs are excluded from synchronization. Make sure the base DNs do not overlap.
In the Filters for Sync Class menu, define one or more LDAP
search filters to restrict specific entries for synchronization, or press Enter to
accept the default (no).
Entries that do not match the filters will be excluded from synchronization.
In the Synchronized Attributes for Sync Class menu, specify
which user attributes will be automatically mapped from one system to another.
This example will exclude the source attribute (
In the Operations for Sync Class menu, select the operations
that will be synchronized for the Sync Class, or press Enter to accept the default
Define a default Sync Class that specifies how the other entries are processed, or
press Enter to create a Sync Class called
Default Sync Class.
- In the Default Sync Class Operations menu, specify the operations that the default Sync Class will handle during synchronization, or press Enter to accept the default.
Define a Sync Pipe going from the PingDirectory
Server to the Sun Directory Server and exclude the
Review the Sync Pipe Configuration Summary, and press Enter to accept the default
(write configuration), which records the commands in a batch file
You can reuse the batch file to set up other topologies.
The next step will be to configure the attribute mappings using the dsconfig command.