prepare.sim 1.8 KB
Newer Older
S
[TD-17]  
slguan 已提交
1
system sh/stop_dnodes.sh
S
slguan 已提交
2

S
slguan 已提交
3 4 5 6
system sh/deploy.sh -n dnode1 -i 1
system sh/deploy.sh -n dnode2 -i 2
system sh/deploy.sh -n dnode3 -i 3
system sh/deploy.sh -n dnode4 -i 4
S
slguan 已提交
7

H
hjxilinx 已提交
8 9 10 11
system sh/cfg.sh -n dnode1 -c walLevel -v 2
system sh/cfg.sh -n dnode2 -c walLevel -v 2
system sh/cfg.sh -n dnode3 -c walLevel -v 2
system sh/cfg.sh -n dnode4 -c walLevel -v 2
S
slguan 已提交
12

13 14 15 16
system sh/cfg.sh -n dnode1 -c numOfMnodes -v 1
system sh/cfg.sh -n dnode2 -c numOfMnodes -v 1
system sh/cfg.sh -n dnode3 -c numOfMnodes -v 1
system sh/cfg.sh -n dnode4 -c numOfMnodes -v 1
S
slguan 已提交
17

S
Shengliang Guan 已提交
18 19
system sh/cfg.sh -n dnode1 -c activeCode -v eglxDLzRpslJWl7OxrPZ2K3sQ5631AP9SVpezsaz2dhJWl7OxrPZ2ElaXs7Gs9nYSVpezsaz2djGIj5StnQ3ZvLHcsE8cwcN

S
Shengliang Guan 已提交
20 21 22 23
system sh/cfg.sh -n dnode1 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode2 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode3 -c mnodeEqualVnodeNum -v 4
system sh/cfg.sh -n dnode4 -c mnodeEqualVnodeNum -v 4
S
slguan 已提交
24

S
scripts  
Shengliang Guan 已提交
25 26 27 28
system sh/cfg.sh -n dnode1 -c maxTablesPerVnode -v 100000
system sh/cfg.sh -n dnode2 -c maxTablesPerVnode -v 100000
system sh/cfg.sh -n dnode3 -c maxTablesPerVnode -v 100000
system sh/cfg.sh -n dnode4 -c maxTablesPerVnode -v 100000
S
scripts  
Shengliang Guan 已提交
29

S
script  
Shengliang Guan 已提交
30 31
system sh/cfg.sh -n dnode1 -c http -v 1
system sh/cfg.sh -n dnode2 -c http -v 1
S
scripts  
Shengliang Guan 已提交
32
system sh/cfg.sh -n dnode3 -c http -v 1
33 34
system sh/cfg.sh -n dnode4 -c http -v 1

S
Shengliang Guan 已提交
35 36 37 38 39
# for crash_gen
system sh/cfg.sh -n dnode1 -c maxtablesPerVnode -v 2
system sh/cfg.sh -n dnode1 -c rpcMaxTime -v 101
system sh/cfg.sh -n dnode1 -c cache -v 2
system sh/cfg.sh -n dnode1 -c keep -v 36500
40 41 42
system sh/cfg.sh -n dnode1 -c walLevel -v 2


S
Shengliang Guan 已提交
43 44
# for windows

45 46 47 48
system sh/cfg.sh -n dnode1 -c firstEp      -v 152.136.17.116:6030
system sh/cfg.sh -n dnode1 -c secondEp     -v 152.136.17.116:6030
system sh/cfg.sh -n dnode1 -c serverPort   -v 6030
system sh/cfg.sh -n dnode1 -c fqdn         -v 152.136.17.116