Page created: 15 Jul 2022
|
Page updated: 11 Jul 2023
| 1 min read
9.2 Product PingDirectory Directory Capability Product documentation Content Type Administration User task IT Administrator Administrator Audience System Administrator Software Deployment Method PingDataSync
Perform the following steps to restart synchronization at a specific event:
-
Search for a specific change log event from which to restart the synchronization
state. On one of the endpoint servers, run
ldapsearch
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
tool. 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