Creating One-To-Many Sync connections - single Source and multiple Destinations
Created: 2012-04-20 08:09:59Modified: 2023-12-05 13:03:56
Tags: LDIF UnitySync
The one-to-many sync process supported in UnitySync allows you to use a connection to read your Source one time, in order to generate an ldif.txt file. Then, multiple other connections use that single ldif.txt as a Source when writing to their varying Destinations. We recommend the following when you are setting up one-to-many Syncs.
Create an ldap-ldif connection to run Discovery and build the ldif.txt:
- When creating this connection, select the appropriate Source Map / Engine Template for your Source.
- Select a Destination Sync Engine of LDIF and select a Destination Map Template that represents the directory and attribute set you want in your ldif.txt (i.e., if you want mail attributes, be sure to select a mail enabled template)
- When you run the Discovery for this connection, it will produce an ldif.txt file.
- You should not need to run the Sync phase in this connection unless you want to use Custom Mapping when generating the ldif.txt.
Create two or more ldif-ldap connections that use the above ldif.txt file as a Source
- When creating this connection, select the Source Map Template that matches the directory type you specified as the Destination Map Template in step 1, above.
- Select a Source Sync Engine of LDIF.
- Select your Destination Sync Engine and Map Template as appropriate for the Destination you are syncing to in this connection.
- On the General tab, complete the fields in the LDIF (Optional) section at the bottom of the tab.
- Enter the FQDN of the read location
- Enter the Encryption password, if applicable
- When you run the ldif-ldap sync, this ldif.txt file will be used as the Source.
- When automating this type of configuration (as in , it would look like the below example. This performs one read of the source and then as many writes as you need to sync to all your destination directories.
shell --conn "ldap-ldif connection"
shell --conn "ldif-ldap 1"
shell --conn "ldif-ldap 2"