Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Run autoscaling for each group id in background mode with nohup (no hangup), with max 140 nodes in total across all group ids
esi_sar@tpfe2:~/github/hysds-hec-utils> nohup pbs_auto_scale_up.sh s2037 140 > pbs_auto_scale_up-s2037.log 2>&1 &
esi_sar@tpfe2:~/github/hysds-hec-utils> nohup pbs_auto_scale_up.sh s2310 140 > pbs_auto_scale_up-s2310.log 2>&1 &
esi_sar@tpfe2:~/github/hysds-hec-utils> nohup pbs_auto_scale_up.sh s2252 140 > pbs_auto_scale_up-s2252.log 2>&1 &

Daily purge of older job work dirs

This script finds and deletes all files older than 3-days under each of the group id worker directories.

crontab that runs every night at 2:30am:

Code Block
/home4/esi_sar/github/hysds-hec-utils/purge_old_files.sh

#!/usr/bin/env bash
find /nobackupp12/esi_sar/s2037/worker/ -mtime 3 | xargs rm -f
find /nobackupp12/esi_sar/s2252/worker/ -mtime 3 | xargs rm -f
find /nobackupp12/esi_sar/s2310/worker/ -mtime 3 | xargs rm -f

How to stop, flush, and restart production on Pleiades

...