PingDirectory

Set the synchronization rate

About this task

The resync command has a --ratePerSecondFile option that enables a specific synchronization rate. The option can be used to adjust the rate during off-peak hours, or adjust the rate based on measured loads for very long operations.

The resync command also has a --ratePerSecond option. If this option is not provided, the command operates at the maximum rate.

Run the resync command first at 100 operations per second, measure the impact on the source servers, then adjust as needed. The file must contain a single positive integer number surrounded by white space. If the file is updated with an invalid number, the rate is not updated.

Steps

  1. Create a text file containing the rate. The number must be a positive integer surrounded by white space.

    $ echo ’100 ’ >rate.txt
  2. Run the resync command with the --ratePerSecondFile option.

    $ bin/resync --pipe-name "sun-to-ds-sync-pipe" \
      --ratePerSecondPath rate.txt