mirror of
https://github.com/samba-team/samba.git
synced 2025-01-07 17:18:11 +03:00
f37b3cf2a6
Instead of master/slave. Nearly all of these are simple textual substitutions, which preserve the case of the original. A couple of minor cleanups were made in the documentation (such as "LVSMASTER" -> "LVS leader"). Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
28 lines
743 B
Bash
Executable File
28 lines
743 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. "${TEST_SCRIPTS_DIR}/unit.sh"
|
|
|
|
define_test "nodes in config, this is leader"
|
|
|
|
setup "10.1.1.201" "eth0" <<EOF
|
|
192.168.1.1 leader
|
|
192.168.1.2
|
|
192.168.1.3
|
|
EOF
|
|
|
|
ok_null
|
|
simple_test
|
|
|
|
check_ipvsadm <<EOF
|
|
TCP 10.1.1.201:0 lc persistent 1999999
|
|
-> 127.0.0.1:0 Local 1 0 0
|
|
-> 192.168.1.2:0 Route 1 0 0
|
|
-> 192.168.1.3:0 Route 1 0 0
|
|
UDP 10.1.1.201:0 lc persistent 1999999
|
|
-> 127.0.0.1:0 Local 1 0 0
|
|
-> 192.168.1.2:0 Route 1 0 0
|
|
-> 192.168.1.3:0 Route 1 0 0
|
|
EOF
|
|
|
|
check_lvs_ip global
|