Restart synchronization at a specific change log event
About this task
Perform the following steps to restart synchronization at a specific event:
Steps
-
Search for a specific change log event from which to restart the synchronization state. On one of the endpoint servers, run the
ldapsearch
command to search the change log.$ bin/ldapsearch -p 1389 --bindDN "uid=admin,dc=example,dc=com" \ --bindPassword secret \ --baseDN cn=changelog \ --dontWrap
"(objectclass=*)" dn: cn=changelog objectClass: top objectClass: untypedObject cn: changelog dn: changeNumber=1,cn=changelog objectClass: changeLogEntry objectClass: top targetDN: uid=user.13,ou=People,dc=example,dc=com changeType: modify changes:: cmVwbGFjZTogcm9vbU51bWJlcgpyb29tTnVtYmVyOiAwMTM4Ci0KcmVwbGFjZTogbW9kaW ZpZXJzTmFtZQptb2RpZmllcnNOYW1lOiBjbj1EaXJlY3RvcnkgTWFuYWdlcixjbj1Sb290 IEROcyxjbj1jb25maWcKLQpyZXBsYWNlOiBkcy11cGRhdGUtdGltZQpkcy11cGRhdGUtdG ltZTo6IEFBQUJKZ25OWlUwPQotCgA= changenumber: 1 ... (more output) dn: changeNumber=2329,cn=changelog objectClass: changeLogEntry objectClass: top targetDN: uid=user.49,ou=People,dc=example,dc=com changeType: modify changes:: cmVwbGFjZTogcm9vbU51bWJlcgpyb29tTnVtYmVyOiAwNDMzCi0KcmVwbGFjZTogbW9kaW ZpZXJzTmFtZQptb2RpZmllcnNOYW1lOiBjbj1EaXJlY3RvcnkgTWFuYWdlcixjbj1Sb290 IEROcyxjbj1jb25maWcKLQpyZXBsYWNlOiBkcy11cGRhdGUtdGltZQpkcy11cGRhdGUtdG ltZTo6IEFBQUJKZ25OMC84PQotCgA= changenumber: 2329
-
Restart synchronization from change number 2329 using the
realtime-sync
command. Any event before this change number will not be synchronized to the target endpoint.$ bin/realtime-sync set-startpoint \ --change-number 2329 \ --pipe-name "Sync Pipe 1" \ --bindPassword secret \ --no-prompt