glusterfs/extras/benchmarking/launch-script.sh
2009-02-18 17:36:07 +05:30

19 lines
310 B
Bash
Executable File

#!/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