New worker hosts
parent
8aee0ac624
commit
fb236fcf30
|
@ -19,7 +19,7 @@
|
||||||
HOSTNUM=`hostname | sed -e 's/ml//g'`
|
HOSTNUM=`hostname | sed -e 's/ml//g'`
|
||||||
let HOSTNUM=$HOSTNUM-1
|
let HOSTNUM=$HOSTNUM-1
|
||||||
|
|
||||||
export TF_CONFIG='{"cluster": {"worker": [ "ml1-int:2222", "ml2-int:2222", "ml3-int:2222", "ml4-int:2222", "ml5-int:2222"]}, "task": {"index": '$HOSTNUM', "type": "worker"}}'
|
export TF_CONFIG='{"cluster": {"worker": [ "rs-ml1:23009", "rs-ml2:23009", "rs-ml3:23009", "rs-ml4:23009", "rs-ml5:23009", "rs-ml6:23009", "rs-ml7:23009", "rs-ml8:23009", "rs-ml9:23009", "rs-ml10:23009"]}, "task": {"index": '$HOSTNUM', "type": "worker"}}'
|
||||||
|
|
||||||
echo $TF_CONFIG
|
echo $TF_CONFIG
|
||||||
python3 wut-worker.py
|
python3 wut-worker.py
|
||||||
|
|
Loading…
Reference in New Issue