diff --git a/configuration/manager/startCockroachCluster.sh b/configuration/manager/startCockroachCluster.sh index 7f29566d08244418271069f82a4047a4ffdcfcfc..54675ed8ccb0545437d62f61196e571bd4db74b1 100644 --- a/configuration/manager/startCockroachCluster.sh +++ b/configuration/manager/startCockroachCluster.sh @@ -5,11 +5,11 @@ source /home/ubuntu/dcsg2003/configuration/base.sh # 1) Hent inn alle aktuelle ip addresser #ipList=$(cat /home/ubuntu/logs/ipList) ipList="192.168.133.95 192.168.130.160 192.168.134.43" -glusterListIp="" # 2) Lag startup kommando for hver ip addresse for mainIp in $ipList do + glusterListIp="" kommando="cockroach start --insecure --store=/bfdata --listen-addr=0.0.0.0:26257 --http-addr=0.0.0.0:8080 --background --join=" for ip in $ipList