summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-10-18 23:04:28 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-10-18 23:04:28 +0000
commitf6dfb2991a3f8090f288b58416240657b2a59996 (patch)
tree64066cc6b762c52df1f5410f2ef9713d81973857 /contrib
parentc66253b7387b21d6243bbbbd9829aab61f2b5291 (diff)
- script to clean up testbed run when it crashes
- lowered parallel overlay connect operations - added more infiniband cluster nodes
Diffstat (limited to 'contrib')
-rw-r--r--contrib/infiniband_cluster.hosts11
-rwxr-xr-xcontrib/testbed_cleanup.sh14
-rw-r--r--contrib/testbed_infiniband.conf2
3 files changed, 26 insertions, 1 deletions
diff --git a/contrib/infiniband_cluster.hosts b/contrib/infiniband_cluster.hosts
index 3b6ccc0dc..2fedc2814 100644
--- a/contrib/infiniband_cluster.hosts
+++ b/contrib/infiniband_cluster.hosts
@@ -17,3 +17,14 @@ totakura@192.168.1.17:22
totakura@192.168.1.18:22
totakura@192.168.1.19:22
totakura@192.168.1.20:22
+totakura@192.168.1.21:22
+totakura@192.168.1.22:22
+totakura@192.168.1.23:22
+totakura@192.168.1.24:22
+totakura@192.168.1.25:22
+totakura@192.168.1.26:22
+totakura@192.168.1.27:22
+totakura@192.168.1.28:22
+totakura@192.168.1.29:22
+totakura@192.168.1.30:22
+
diff --git a/contrib/testbed_cleanup.sh b/contrib/testbed_cleanup.sh
new file mode 100755
index 000000000..b254c43c5
--- /dev/null
+++ b/contrib/testbed_cleanup.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+###################################################################################
+# Script to clean a previous run of testbed which has crashed. This scripts kills #
+# the peers and cleans the temporary files created for those peers #
+# #
+# Author: Sree Harsha Totakura #
+###################################################################################
+
+for host in `cut -d : -f 1 < infiniband_cluster.hosts`
+do
+ echo "ssh --> $host"
+ ssh $host 'pkill gnunet; rm -rf /tmp/gnunet-pipe*; rm -rf /tmp/testbed*'
+done
diff --git a/contrib/testbed_infiniband.conf b/contrib/testbed_infiniband.conf
index 818aba097..85acf48e4 100644
--- a/contrib/testbed_infiniband.conf
+++ b/contrib/testbed_infiniband.conf
@@ -4,7 +4,7 @@ PORT = 12113
ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
HOSTNAME = localhost
MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 5
-MAX_PARALLEL_OVERLAY_CONNECT_OPERATIONS = 50
+MAX_PARALLEL_OVERLAY_CONNECT_OPERATIONS = 30
#PREFIX = xterm -geometry 100x85 -T peer1 -e libtool --mode=execute gdb --args
[fs]