Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > b0313b6c631e5e51efd52b6df80b32ab > files > 10

glusterfs-common-3.4.1-1.3.mga4.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