ldb: Release ldb 1.3.0
[Samba.git] / ctdb / tests / eventscripts / 91.lvs.shutdown.002.sh
blobdb43d424d2cb75ccd673bfc2bf9cec21a57be772
1 #!/bin/sh
3 . "${TEST_SCRIPTS_DIR}/unit.sh"
5 define_test "configured"
7 setup_ctdb
8 setup_ctdb_lvs "10.1.1.201" "eth0" <<EOF
9 EOF
11 ipvsadm -A -t "$CTDB_LVS_PUBLIC_IP" -s lc -p 1999999
12 ipvsadm -A -u "$CTDB_LVS_PUBLIC_IP" -s lc -p 1999999
13 ip addr add $CTDB_LVS_PUBLIC_IP/32 dev lo
15 ok_null
16 simple_test
18 check_ipvsadm NULL
19 check_lvs_ip NULL