diff --git a/bench-configuration/install-go.sh b/bench-configuration/00-install-go.sh similarity index 100% rename from bench-configuration/install-go.sh rename to bench-configuration/00-install-go.sh diff --git a/bench-configuration/install-etcd.sh b/bench-configuration/01-install-etcd.sh similarity index 100% rename from bench-configuration/install-etcd.sh rename to bench-configuration/01-install-etcd.sh diff --git a/bench-configuration/install-cetcd.sh b/bench-configuration/02-install-cetcd.sh similarity index 100% rename from bench-configuration/install-cetcd.sh rename to bench-configuration/02-install-cetcd.sh diff --git a/bench-configuration/install-consul.sh b/bench-configuration/02-install-consul.sh similarity index 100% rename from bench-configuration/install-consul.sh rename to bench-configuration/02-install-consul.sh diff --git a/bench-configuration/install-zetcd.sh b/bench-configuration/02-install-zetcd.sh similarity index 100% rename from bench-configuration/install-zetcd.sh rename to bench-configuration/02-install-zetcd.sh diff --git a/bench-configuration/install-zookeeper-ubuntu.sh b/bench-configuration/02-install-zookeeper-ubuntu.sh similarity index 100% rename from bench-configuration/install-zookeeper-ubuntu.sh rename to bench-configuration/02-install-zookeeper-ubuntu.sh diff --git a/bench-configuration/03-install-dbtester.sh b/bench-configuration/03-install-dbtester.sh new file mode 100755 index 00000000..c0e196b9 --- /dev/null +++ b/bench-configuration/03-install-dbtester.sh @@ -0,0 +1,14 @@ +#!/usr/bin/env bash +set -e + +USER_NAME=coreos +BRANCH_NAME=master +cd $HOME +rm -rf $HOME/go/src/github.com/coreos/dbtester +git clone https://github.com/$USER_NAME/dbtester --branch $BRANCH_NAME $HOME/go/src/github.com/coreos/dbtester + +cd $HOME +go install -v ./go/src/github.com/coreos/dbtester + +dbtester agent -h +dbtester control -h diff --git a/bench-configuration/04-run-dbtester.sh b/bench-configuration/04-run-dbtester.sh new file mode 100755 index 00000000..ecb469e0 --- /dev/null +++ b/bench-configuration/04-run-dbtester.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +set -e + +# agent; specify network interface, disk device on the machine +# this starts the database on host machine when signalled from 'control' +nohup dbtester agent --network-interface ens4 --disk-device sda1 --agent-port :3500 & + +# control; specify 'control' configuration file +# this starts client stressing +nohup dbtester control -c config.yaml > $HOME/control.log 2>&1 & + +# analyze; get all data from remote machines +# specify 'analyze' configuration file +# this aggregates, generates all graphs, texts +dbtester analyze --config analyze.yaml