What is the easiest/recommended way to find out when a checkpoint is done when r

What is the easiest/recommended way to find out when a checkpoint is done when run for all engines? In my scenario we have nightly cron job that runs the checkpoint-suite script and we're trying to run some other scripts(cleanup/backup) after the checkpoint is complete and to do that we need to get a good idea of how much the checkpointing is taking so we can schedule the other scripts accordingly. To do that we need to monitor the checkpointing for a time and get an average duration so I need to know what our options are for doing that? Can it be done programmatically v.s. manually?

OriginalPostID-196901

OriginalPostID-196901

  Discussion posts and replies are publicly visible

Parents
  • I'd recommend wrapping the checkpoint in a shell script that would give the date / time before the checkpoint, call the checkpoint, then give the date / time thereafter and pipe each of these commands to the same log file. The script would look something like this...

    date >> ~/appian/logs/checkpoint.log
    $HOME/.bash_profile; cd $HOME/appian/server/_scripts; ./checkpoint-suite.sh >> ~/appian/logs/checkpoint.log
    date >> ~/appian/logs/checkpoint.log
    echo "" >> ~/appian/logs/checkpoint.log
Reply
  • I'd recommend wrapping the checkpoint in a shell script that would give the date / time before the checkpoint, call the checkpoint, then give the date / time thereafter and pipe each of these commands to the same log file. The script would look something like this...

    date >> ~/appian/logs/checkpoint.log
    $HOME/.bash_profile; cd $HOME/appian/server/_scripts; ./checkpoint-suite.sh >> ~/appian/logs/checkpoint.log
    date >> ~/appian/logs/checkpoint.log
    echo "" >> ~/appian/logs/checkpoint.log
Children
No Data