#!/bin/bash # # deploy test cluster set -e #set -x # deployCluster.sh curr_dir=$(readlink -f "$(dirname "$0")") echo $curr_dir ${curr_dir}/cleanCluster.sh -r "/data" ${curr_dir}/cleanCluster.sh -r "/data2" ${curr_dir}/compileVersion.sh -r ${curr_dir}/../../../../ -v "3.0" ${curr_dir}/setupDnodes.sh -r "/data" -n 1 -f "trd02:7000" -p 7000 ${curr_dir}/setupDnodes.sh -r "/data2" -n 1 -f "trd02:7000" -p 8000 #./setupDnodes.sh -r "/data" -n 2 -f trd02:7000 -p 7000 #./setupDnodes.sh -r "/data2" -n 2 -f trd02:7000 -p 8000