annotate master/bin/wakeWorker.sh @ 54:1099246f22b6

new scripts
author Henry S. Thompson <ht@markup.co.uk>
date Fri, 08 Feb 2019 17:46:49 +0000
parents
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