deployCluster.sh 477 字节
Newer Older
P
plum-lihui 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#!/bin/bash
#
# deploy test cluster

set -e
#set -x

# deployCluster.sh 

curr_dir=$(pwd)

source ./cleanCluster.sh -r /data
source ./cleanCluster.sh -r /data2

source ./compileVersion.sh -r ${curr_dir}/../../../../ -v "3.0"

source ./setupDnodes.sh -r /data  -n 1 -f trd02:7000 -p 7000
source ./setupDnodes.sh -r /data2 -n 1 -f trd02:7000 -p 8000

#source ./setupDnodes.sh -r /data  -n 2 -f trd02:7000 -p 7000
#source ./setupDnodes.sh -r /data2 -n 2 -f trd02:7000 -p 8000