auto-determine listen address by attempting to bind to each address in the cluster...
[samba.git] / ctdb / tests / bench-ssh.sh
index e9b1ec28d0edc52f8e08e6aff1d027e4aef29b44..8716156e3aa23cd1f1c9fe7d861f7a294c9f07d8 100755 (executable)
@@ -33,9 +33,9 @@ echo "Starting nodes"
 i=0
 for h in $nodes; do
     if [ $i -eq `expr $count - 1` ]; then
-       ssh $h $dir/bin/ctdb_bench --nlist $dir/nodes-ssh.txt --listen $h:9001 --socket $h$options
+       ssh $h $dir/bin/ctdb_bench --nlist $dir/nodes-ssh.txt --socket $h$options
     else
-       ssh -f $h $dir/bin/ctdb_bench --nlist $dir/nodes-ssh.txt --listen $h:9001 --socket $h $options
+       ssh -f $h $dir/bin/ctdb_bench --nlist $dir/nodes-ssh.txt --socket $h $options
     fi
     i=`expr $i + 1`
 done