3 # This example demonstrates a node group configuration. Is it meant
4 # to be the same as node_group_simple.py, but with a couple of nodes
5 # added later, so they are listed after the management node.
7 # When run with deterministic IPs (use "-d" to show the problem) it
8 # does many gratuitous IP reassignments.
10 from ctdb_takeover
import Cluster
, Node
, process_args
14 addresses1
= ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H'] + ['P', 'Q', 'R', 'S', 'T', 'U']
15 addresses2
= ['I', 'J', 'K', 'L']
20 c
.add_node(Node(addresses1
))
23 c
.add_node(Node(addresses2
))
26 c
.add_node(Node(addresses1
))
27 c
.add_node(Node(addresses2
))