Sophie

Sophie

distrib > Fedora > 13 > i386 > media > os > by-pkgid > 8471bd520ded073b5cb4876bff0c70ca > files > 140

glusterfs-common-2.0.9-2.fc13.i686.rpm

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