annotate master/bin/wakeWorker.sh @ 68:1f04bce6ead7 default tip

use basefile instead of transferfile, and remove cleanup: belt and braces wrt lossage of sac_schemes.py in 15% of 1000_k3, this as used in a_2
author Henry S. Thompson <ht@markup.co.uk>
date Thu, 04 Jun 2020 20:44:44 +0000
parents 1099246f22b6
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
54
1099246f22b6 new scripts
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
1 # Usage . wakeWorker.sh name
1099246f22b6 new scripts
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
2 # Resurrect a worker cluster that was deallocated
1099246f22b6 new scripts
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
3 set -e -o pipefail
1099246f22b6 new scripts
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
4 name=$1
1099246f22b6 new scripts
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
5 echo restarting...
1099246f22b6 new scripts
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
6 az vmss restart -g cc -n $name
1099246f22b6 new scripts
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
7 . bindWorkerVars.sh $name