Skip to content

Commit

Permalink
modified cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
wantonsolutions committed Apr 5, 2017
1 parent 7a2ea38 commit 385542b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions experiements/etcd/azure/cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,9 @@ ETCDCTL=$HOMEA/go/src/github.com/coreos/etcd/bin/etcdctl
AZURENODE=/dinv/azure/node.sh
#different clients
#CLIENT=/dinv/azure/blast.sh
CLIENT=/dinv/azure/benchmarkClient.sh
CLIENT=/benchmarkClient.sh
#CLIENT=/dinv/azure/client.sh
CLIENTMGR=/dinv/azure/measure.sh
CLIENTMGR=/measure.sh

BENCHMARK="YCSB-A"
#BENCMARK="YCSB-A"
Expand Down Expand Up @@ -164,7 +164,8 @@ if [ "$1" == "-r" ];then
ssh stewart@$GLOBALS2 -x "$ETCD$AZURENODE 1 $GLOBALS2 $LOCALS2 $CLUSTER $ASSERT $4 $5 $6 $7" &
ssh stewart@$GLOBALS3 -x "$ETCD$AZURENODE 2 $GLOBALS3 $LOCALS3 $CLUSTER $ASSERT $4 $5 $6 $7" &

#GLOBAL CLUSTER
#GLOBAL CLUSTER3

#CLUSTER="infra0=http://$GLOBALS1:2380,infra1=http://$GLOBALS2:2380,infra2=http://$GLOBALS3:2380"
#ASSERT="$GLOBALS1:12000,$GLOBALS2:12000,$GLOBALS3:12000"
#ssh stewart@$GLOBALS1 -x "$ETCD$AZURENODE 0 $GLOBALS1 $GLOBALS1 $CLUSTER $ASSERT" &
Expand Down Expand Up @@ -196,7 +197,7 @@ if [ "$1" == "-r" ];then

#ssh stewart@$GLOBALS1 -x "echo $ETCD$CLIENT $TEXT $LOCALS1 && $ETCD$CLIENT $TEXT $LOCALS1 $ETCDCTL"
##BLOCK HERE
ssh stewart@$SBG -x "echo $ETCD$CLIENTMGR $TEXT $LOCALS1 && $ETCD$CLIENTMGR $TEXT $LOCALS1 $RUNTIME $CLIENTS $ETCDCTL $ETCD$CLIENT"
ssh stewart@$SBG -x "echo $DINV_ETCD_AZURE$CLIENTMGR $TEXT $LOCALS1 && $DINV_ETCD_AZURE$CLIENTMGR $TEXT $LOCALS1 $RUNTIME $CLIENTS $ETCDCTL $DINV_ETCD_AZURE$CLIENT $BENCHMARK"
#kill allthe hosts
echo kill
onall "killall etcd"
Expand Down

0 comments on commit 385542b

Please sign in to comment.