backupkey: replace heimdal rsa key generation with GnuTLS
[Samba.git] / ctdb / tests / takeover / lcp2.022.sh
blob01aa13aa27a6cddf679af4104948a5c88cf85f18
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "3 nodes, 2->3 unhealthy, all IPs assigned, split NoIPTakeover"
7 export CTDB_TEST_LOGLEVEL=0
9 # We expect 1/2 the IPs to move, but the rest to stay (as opposed to
10 # NoIPHostOnAllDisabled)
11 required_result <<EOF
12 192.168.21.254 2
13 192.168.21.253 0
14 192.168.21.252 2
15 192.168.20.254 0
16 192.168.20.253 0
17 192.168.20.252 2
18 192.168.20.251 0
19 192.168.20.250 2
20 192.168.20.249 2
21 EOF
23 export CTDB_SET_NoIPTakeover=0,1,1
25 simple_test 2,2,2 <<EOF
26 192.168.21.254 2
27 192.168.21.253 2
28 192.168.21.252 2
29 192.168.20.254 2
30 192.168.20.253 2
31 192.168.20.252 2
32 192.168.20.251 2
33 192.168.20.250 2
34 192.168.20.249 2
35 EOF