annotate master/bin/wakeWorker.sh @ 66:b04870ab3035

don't over-count duplicate URIs in multiple properties, produce composite keys instead
author Henry S. Thompson <ht@markup.co.uk>
date Thu, 04 Jun 2020 16:10:55 +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