Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 80f072fde8ca4bb12dac08a5f36bd843 > files > 149

glusterfs-common-3.0.7-1.fc14.x86_64.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