Looking for examples of workflows that interact with CLI, having to do with replication
Hi there,
I would like to write a few workflows centered on replication.
- SendUpdate
- Reverse Rep
In SendUpdate, I want to be able to issue a sendupdate on a given replication action for a given project. I then want to check on the status of that update. If you do a shares select my_proj replication select action-000 sendupdate show, while the update is in progress, you'll see the state as sending. When the update is completed, you'll see state set to idle. Alternatively, you could do a maintenance logs select alerts, load that into an array, and start looking for the project name and "Finished".