summaryrefslogtreecommitdiffstats
path: root/extras/benchmarking/launch-script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'extras/benchmarking/launch-script.sh')
-rwxr-xr-xextras/benchmarking/launch-script.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/extras/benchmarking/launch-script.sh b/extras/benchmarking/launch-script.sh
new file mode 100755
index 00000000000..5d5050d4146
--- /dev/null
+++ b/extras/benchmarking/launch-script.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+# This script is to launch the script in parallel across all the nodes.
+
+mount_point="/mnt/glusterfs"
+path_to_script="$mount_point}/benchmark/local-script.sh"
+
+num_hosts=8
+
+for i in $(seq 1 $num_hosts); do
+ ssh node$i path_to_script &
+done
+
+sleep 3;
+
+touch ${mount_point}/benchmark/start-test
+
+