ctdb-tests: New natgwlist tests where nodes capability not set
[Samba.git] / ctdb / tests / tool / stubby.lvsmaster.006.sh
blobfb3f689a048347ab38270d8c119672a3b1fe8326
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "3 nodes, all LVS, nodes 0,1 disabled, node 2 unhealthy"
7 required_result 0 <<EOF
8 Node 2 is LVS master
9 EOF
11 simple_test <<EOF
12 NODEMAP
13 0 192.168.20.41 0x4 CURRENT RECMASTER CTDB_CAP_LVS
14 1 192.168.20.42 0x4 CTDB_CAP_LVS
15 2 192.168.20.43 0x2 CTDB_CAP_LVS
17 IFACES
18 :Name:LinkStatus:References:
19 :eth2:1:2:
20 :eth1:1:4:
22 VNNMAP
23 654321
27 EOF