1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/ctdb/tests/UNIT/takeover
Volker Lendecke a6b66661c7 ctdb: Add "home_nodes" file to deterministic IP allocation
With a file "home_nodes" next to "public_addresses" you can assign
public IPs to specific nodes when using the deterministic allocation
algorithm. Whenever the "home node" is up, the IP address will be
assigned to that node, independent of any other deterministic
calculation. The line

192.168.21.254 2

in the file "home_nodes" assigns the IP address to node 2. Only when
node 2 is not able to host IP addresses, 192.168.21.254 undergoes the
normal deterministic IP allocation algorithm.

Signed-off-by: Volker Lendecke <vl@samba.org>

add home_nodes
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Tue Oct 10 14:17:19 UTC 2023 on atb-devel-224
2023-10-10 14:17:19 +00:00
..
scripts
det.001.sh
det.002.sh
det.003.sh
det.004.sh ctdb: Add "home_nodes" file to deterministic IP allocation 2023-10-10 14:17:19 +00:00
det.005.sh ctdb: Add "home_nodes" file to deterministic IP allocation 2023-10-10 14:17:19 +00:00
det.006.sh ctdb: Add "home_nodes" file to deterministic IP allocation 2023-10-10 14:17:19 +00:00
lcp2.001.sh
lcp2.002.sh
lcp2.003.sh
lcp2.004.sh
lcp2.005.sh
lcp2.006.sh
lcp2.007.sh
lcp2.008.sh
lcp2.009.sh
lcp2.010.sh
lcp2.011.sh
lcp2.012.sh
lcp2.013.sh
lcp2.014.sh
lcp2.015.sh
lcp2.016.sh
lcp2.024.sh
lcp2.025.sh
lcp2.027.sh
lcp2.028.sh
lcp2.029.sh
lcp2.030.sh
lcp2.031.sh
lcp2.032.sh
lcp2.033.sh
lcp2.034.sh
lcp2.035.sh
nondet.001.sh
nondet.002.sh
nondet.003.sh
README

Unit tests for the CTDB IP allocation algorithm(s).

Test case filenames look like <algorithm>.NNN.sh, where <algorithm>
indicates the IP allocation algorithm to use.  These use the
ctdb_takeover_test test program.