Skip to content
Snippets Groups Projects
Commit 52446720 authored by Sara Stentvedt Luggenes's avatar Sara Stentvedt Luggenes
Browse files

cock

parent c5ca7084
No related branches found
No related tags found
No related merge requests found
...@@ -5,11 +5,11 @@ source /home/ubuntu/dcsg2003/configuration/base.sh ...@@ -5,11 +5,11 @@ source /home/ubuntu/dcsg2003/configuration/base.sh
# 1) Hent inn alle aktuelle ip addresser # 1) Hent inn alle aktuelle ip addresser
#ipList=$(cat /home/ubuntu/logs/ipList) #ipList=$(cat /home/ubuntu/logs/ipList)
ipList="192.168.133.95 192.168.130.160 192.168.134.43" ipList="192.168.133.95 192.168.130.160 192.168.134.43"
glusterListIp=""
# 2) Lag startup kommando for hver ip addresse # 2) Lag startup kommando for hver ip addresse
for mainIp in $ipList for mainIp in $ipList
do do
glusterListIp=""
kommando="cockroach start --insecure --store=/bfdata --listen-addr=0.0.0.0:26257 --http-addr=0.0.0.0:8080 --background --join=" 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 for ip in $ipList
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment