Synchronizing a subset of Profiles dataAdded by IBM on February 11, 2013 | Version 1 (Original)
|You can synchronize an explicit set of Profiles users out of cycle from your scheduled synchronization plan supplying a list of users to synchronize to an alternate synchronization utility.
® Connections enables you to upload and synchronize Profiles user data from an LDAP or alternate source repository (such as an LDIF file) on a scheduled basis, you can also synchronize data for a small user subset using the alternative process described here.
Typically the sync_all_dns command
is used to synchronize the entire Profiles data set on a scheduled basis. If you need to synchronize a set of users, you can use the sample sync_dns_from_file
command to accomplish the task. For example, you can use this utility, and a small user data subset, as a diagnostic tool when troubleshooting the synchronization process, making it easier to analyze trace output with a smaller sample size.
In this example, you will synchronize a list of users using sync_dns_simple_file
. Functionally, this process works as though you had run the sync_all_dns
- If the user is found in the Profiles database but not in the source repository (for example LDAP), the specified delete action occurs.
- If the user is found in the source repository (for example LDAP) but not in the Profiles database, specified adds occur as they would in an sync_all_dns action.
- If the user is found in the source repository (for example LDAP) and also in the Profiles database, specified updates occur as they would in an sync_all_dns action.
The file uses the same formatting as the existing delete_or_inactivate_employees.in
file in the samples
directory. See Deleting or inactivating users in the Profiles database
Use the following procedure:
Parent topic: Using the ProfileConnector
Using the ProfileConnector
- Create your user synchronization source data fileyour_file.txt, for example sync_users_subset.txt, using the following format:
$dn:cn=Amy Jones3,cn=Users,l=WestfordFVT,st=Massachusetts,c=US,ou=Lotus,o=Software Group,dc=ibm,dc=com
$dn:cn=Amy Jones8,cn=Users,l=WestfordFVT,st=Massachusetts,c=US,ou=Lotus,o=Software Group,dc=ibm,dc=com
- Save the completed your_file.txt file, for example sync_users_subset.txt.
- Open the profiles_tdi.properties file and reference your file and path using the sync_dns_simple_file statement; use the following format:
- Save the profiles_tdi.properties file.
- Run the sync_dns_from_file.bat or sync_dns_from_file.sh command.
Summary output will appear in the console and any errors generated will appear in the log file.