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.

Note:

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

Run the resync tool first at 100 operations per second, measure the impact on the source servers, then adjust as desired. 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.

  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