Author: manik.surtani(a)jboss.com
Date: 2008-01-24 08:20:44 -0500 (Thu, 24 Jan 2008)
New Revision: 5216
Modified:
benchmarks/benchmark-fwk/trunk/cluster.sh
Log:
Updated script
Modified: benchmarks/benchmark-fwk/trunk/cluster.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/cluster.sh 2008-01-24 13:13:04 UTC (rev 5215)
+++ benchmarks/benchmark-fwk/trunk/cluster.sh 2008-01-24 13:20:44 UTC (rev 5216)
@@ -48,11 +48,11 @@
done
;;
stop)
- for ((idx=0; idx < NUM_SERVERS ; idx++))
+ for ((idx=0; idx < ${#HOSTNAMES[*]} ; idx++))
do
server="${HOSTNAMES[idx]}"
echo Starting CacheBenchmarkFramework on host ${server}
- ssh ${SSH_USER}(a)${server}.${DOMAIN} "cd ${CACHE_BENCHMARK_HOME}
&& ./killNode.sh"
+ ssh ${SSH_USER}(a)${server}.${DOMAIN} "cd ${CACHE_BENCHMARK_HOME}
&& ./killNode.sh &"
sleep 2
done
;;
Show replies by date