Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > 7ac0760efb181d3e1f2cfa5d469b98fd > files > 10

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