Maximum frequency of automatic replication

  • 0
  • 1
  • Question
  • Updated 3 years ago
  • Answered
Hi everybody,

in the settings of a replication profile what is the maximum frequency (minimum time interval) of automatic replication? In the GUI I've seen 15 minutes as minimum interval. Is it a GUI limitation only? Could I set lower interval through the CLI?

Thank you.
Gianpiero
Photo of Gianpiero Piccolo

Gianpiero Piccolo

  • 2,336 Points 2k badge 2x thumb

Posted 3 years ago

  • 0
  • 1
Photo of Adam Bowen

Adam Bowen, Official Rep

  • 17,884 Points 10k badge 2x thumb
Official Response
Hey Gianpero, you can use crontab-style scheduling for anything lower than 15 minutes. In the schedule area, click advanced, then use the space to enter the time you want. For example, this is every 5 minutes:
*/5 * * * *

Here is a great website to show you how to use cron expressions:
http://www.thegeekstuff.com/2011/07/cron-every-5-minutes/
Photo of Gianpiero Piccolo

Gianpiero Piccolo

  • 2,336 Points 2k badge 2x thumb
Great! Thank you Adam. Of course I have to use CLI or Web API to send request to start replication, don't I?

And ... do I have to take care of something? For example if the time of the transmission delta will be longer than the interval set into the crontab, what happens? In other words if I send command to start replication while the previous replication is still running, what happens?

Thank you
Photo of Adam Bowen

Adam Bowen, Official Rep

  • 17,884 Points 10k badge 2x thumb
  1. You can use the "replicate now" button in replication to start an ad hoc synchronization, if you wish. Otherwise, replication will begin at the next scheduled time.
  2. The replication job would fail with a "I'm already doing that" error. And would attempt at the next interval.
Photo of Gianpiero Piccolo

Gianpiero Piccolo

  • 2,336 Points 2k badge 2x thumb
Thank you Adam! I didn't understand. You were talking about the cron string into the advanced option of the Automatic Replication section on the GUI! I didn't know this option. I thought you were talking about external crontab file for launching an external shell script, instead.
This is a good chance offered by the Delphix Engine. Good to know!
Thanks again.
Gianpiero
Photo of Adam Bowen

Adam Bowen, Official Rep

  • 17,884 Points 10k badge 2x thumb
Ooops! My fault for not being more clear!