PingDirectory

Set startpoints

About this task

Startpoints instruct the Sync Pipe to ignore all changes made before the current time. Once synchronization is started, only changes made after this command is run will be detected at the Sync Source and applied at the Sync Destination.

The set-startpoint subcommand is often run during the initial setup before starting real-time synchronization. It should be run before initializing the data in the Sync Destination.

The set-startpoint subcommand can start synchronization at a specific change log number, or back at a state that occurred at a specific time. For example, synchronization can start 10 minutes before the current time.

Perform the following steps to set a synchronization startpoint:

Steps

  1. If started, stop the synchronization topology globally with the following command:

    $ bin/realtime-sync stop --pipe-name "Sync Pipe1" \
      --port 389 \
      --bindDN "uid=admin,dc=example,dc=com" \
      --bindPassword secret \
      --no-prompt
  2. Set the startpoint for the synchronization topology. Any changes made before setting this command will be ignored.

    $ bin/realtime-sync set-startpoint --pipe-name "Sync Pipe1" \
      --port 389 \
      --bindDN "uid=admin,dc=example,dc=com" \
      --bindPassword secret \
    
      --no-prompt \
      --beginning-of-changelog
    Set StartPoint task 2011072109564107 scheduled to start immediately
    [21/Jul/2016:09:56:41 -0500] severity="INFORMATION" msgCount=0
    msgID=1889535170
    message="The startpoint has been set for Sync Pipe 'Sync Pipe1'.
    Synchronization will resume from the last change number in the Sync
    Source"
    Set StartPoint task 2011072109564107 has been successfully completed