[jbosscache-commits] JBoss Cache SVN: r5169 - in benchmarks/benchmark-fwk/trunk: doc and 1 other directory.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Mon Jan 21 15:29:45 EST 2008


Author: mircea.markus
Date: 2008-01-21 15:29:45 -0500 (Mon, 21 Jan 2008)
New Revision: 5169

Added:
   benchmarks/benchmark-fwk/trunk/cluster.sh
Modified:
   benchmarks/benchmark-fwk/trunk/doc/TODO.txt
Log:
added script to starup cluster

Added: benchmarks/benchmark-fwk/trunk/cluster.sh
===================================================================
--- benchmarks/benchmark-fwk/trunk/cluster.sh	                        (rev 0)
+++ benchmarks/benchmark-fwk/trunk/cluster.sh	2008-01-21 20:29:45 UTC (rev 5169)
@@ -0,0 +1,29 @@
+#!/bin/bash
+
+CACHE_DIST=${1}
+NUM_SERVERS=${2}
+COMMAND=start
+
+SERVER_POSTFIX="qa.atl.jboss.com"
+SERVERS=( cluster01 cluster02 cluster03 cluster04 cluster05 cluster06 cluster07 cluster08 cluster09 cluster10 )
+
+CACHE_BENCHMARK_HOME=`pwd`/code/cache-bench-fwk
+echo "Using cache benchmark home: $CACHE_BENCHMARK_HOME"
+
+case $COMMAND in
+    start)
+         for ((idx=0; idx < NUM_SERVERS ; idx++))
+         do
+            server="${SERVERS[idx]}"
+            echo "jboss: Startup CacheBenchmarkFramework@$server"
+            ssh $server.$SERVER_POSTFIX "cd ${CACHE_BENCHMARK_HOME} &&  ./runNode.sh &"
+            sleep 5
+         done
+        ;;
+    stop)
+      echo "stop not implemented yet"
+      ;;
+    *)
+        echo "Usage: $0 [start] CACHE_DIST NUM_SERVERS"
+        ;;
+esac

Modified: benchmarks/benchmark-fwk/trunk/doc/TODO.txt
===================================================================
--- benchmarks/benchmark-fwk/trunk/doc/TODO.txt	2008-01-21 17:28:13 UTC (rev 5168)
+++ benchmarks/benchmark-fwk/trunk/doc/TODO.txt	2008-01-21 20:29:45 UTC (rev 5169)
@@ -1,4 +1,5 @@
 1) delegate the build of specific products to the cache-products/specific-product. Also
 2) make the replication test to run BEFORE warmup
 3) conf/config.xml sample size is test specific, move it to the test that uses it rather than having it in the cachebench element
-4) add a target for generating javadoc
+4) add a ant target for generating javadoc
+5) useful: add email notification on any step's failure or success so that a user will be notified whenever needed




More information about the jbosscache-commits mailing list