3 .
"${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test
"3 nodes, all IPs assigned, 1->3 unhealthy"
7 export CTDB_TEST_LOGLEVEL
=4
10 DATE TIME [PID]: ----------------------------------------
11 DATE TIME [PID]: CONSIDERING MOVES (UNASSIGNED)
12 DATE TIME [PID]: ----------------------------------------
13 DATE TIME [PID]: +++++++++++++++++++++++++++++++++++++++++
14 DATE TIME [PID]: Selecting most imbalanced node from:
15 DATE TIME [PID]: 0 [89609]
16 DATE TIME [PID]: 1 [0]
17 DATE TIME [PID]: 2 [147968]
18 DATE TIME [PID]: ----------------------------------------
19 DATE TIME [PID]: CONSIDERING MOVES FROM 2 [147968]
20 DATE TIME [PID]: 2 [-58359] -> 192.168.21.254 -> 1 [+0]
21 DATE TIME [PID]: 2 [-58359] -> 192.168.21.252 -> 1 [+0]
22 DATE TIME [PID]: 2 [-59572] -> 192.168.20.253 -> 1 [+0]
23 DATE TIME [PID]: 2 [-59823] -> 192.168.20.251 -> 1 [+0]
24 DATE TIME [PID]: 2 [-59823] -> 192.168.20.249 -> 1 [+0]
25 DATE TIME [PID]: ----------------------------------------
26 DATE TIME [PID]: 2 [-59823] -> 192.168.20.251 -> 1 [+0]
27 DATE TIME [PID]: +++++++++++++++++++++++++++++++++++++++++
28 DATE TIME [PID]: Selecting most imbalanced node from:
29 DATE TIME [PID]: 0 [89609]
30 DATE TIME [PID]: 1 [0]
31 DATE TIME [PID]: 2 [88145]
32 DATE TIME [PID]: ----------------------------------------
33 DATE TIME [PID]: CONSIDERING MOVES FROM 0 [89609]
34 DATE TIME [PID]: 0 [-42483] -> 192.168.21.253 -> 1 [+14161]
35 DATE TIME [PID]: 0 [-45662] -> 192.168.20.254 -> 1 [+15625]
36 DATE TIME [PID]: 0 [-45662] -> 192.168.20.252 -> 1 [+15625]
37 DATE TIME [PID]: 0 [-45411] -> 192.168.20.250 -> 1 [+16129]
38 DATE TIME [PID]: ----------------------------------------
39 DATE TIME [PID]: 0 [-45662] -> 192.168.20.254 -> 1 [+15625]
40 DATE TIME [PID]: +++++++++++++++++++++++++++++++++++++++++
41 DATE TIME [PID]: Selecting most imbalanced node from:
42 DATE TIME [PID]: 0 [43947]
43 DATE TIME [PID]: 1 [15625]
44 DATE TIME [PID]: 2 [88145]
45 DATE TIME [PID]: ----------------------------------------
46 DATE TIME [PID]: CONSIDERING MOVES FROM 2 [88145]
47 DATE TIME [PID]: 2 [-44198] -> 192.168.21.254 -> 1 [+28322]
48 DATE TIME [PID]: 2 [-44198] -> 192.168.21.252 -> 1 [+28322]
49 DATE TIME [PID]: 2 [-43947] -> 192.168.20.253 -> 1 [+31501]
50 DATE TIME [PID]: 2 [-43947] -> 192.168.20.249 -> 1 [+31501]
51 DATE TIME [PID]: ----------------------------------------
52 DATE TIME [PID]: 2 [-44198] -> 192.168.21.254 -> 1 [+28322]
53 DATE TIME [PID]: +++++++++++++++++++++++++++++++++++++++++
54 DATE TIME [PID]: Selecting most imbalanced node from:
55 DATE TIME [PID]: 0 [43947]
56 DATE TIME [PID]: 1 [43947]
57 DATE TIME [PID]: 2 [43947]
58 DATE TIME [PID]: ----------------------------------------
59 DATE TIME [PID]: CONSIDERING MOVES FROM 0 [43947]
60 DATE TIME [PID]: 0 [-28322] -> 192.168.21.253 -> 1 [+44198]
61 DATE TIME [PID]: 0 [-29786] -> 192.168.20.252 -> 1 [+45662]
62 DATE TIME [PID]: 0 [-29786] -> 192.168.20.250 -> 1 [+45915]
63 DATE TIME [PID]: ----------------------------------------
64 DATE TIME [PID]: ----------------------------------------
65 DATE TIME [PID]: CONSIDERING MOVES FROM 1 [43947]
66 DATE TIME [PID]: 1 [-28322] -> 192.168.21.254 -> 1 [+28322]
67 DATE TIME [PID]: 1 [-29786] -> 192.168.20.254 -> 1 [+29786]
68 DATE TIME [PID]: 1 [-29786] -> 192.168.20.251 -> 1 [+29786]
69 DATE TIME [PID]: ----------------------------------------
70 DATE TIME [PID]: ----------------------------------------
71 DATE TIME [PID]: CONSIDERING MOVES FROM 2 [43947]
72 DATE TIME [PID]: 2 [-28322] -> 192.168.21.252 -> 1 [+44198]
73 DATE TIME [PID]: 2 [-29786] -> 192.168.20.253 -> 1 [+45662]
74 DATE TIME [PID]: 2 [-29786] -> 192.168.20.249 -> 1 [+45662]
75 DATE TIME [PID]: ----------------------------------------
87 simple_test
2,2,2 <<EOF