1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/ctdb/tests/simple/00_ctdb_onnode.sh
Martin Schwenke d741559fa6 Add some simple tests that can be run from within the tree.
Signed-off-by: Martin Schwenke <martin@meltin.net>

(This used to be ctdb commit eacb2ef82ea4809d874158756db973dd1e3fc8fc)
2008-11-20 20:40:01 +11:00

12 lines
380 B
Bash
Executable File

#!/bin/bash
# Do a recursive "onnode all" to make sure all the nodes can connect
# to each other. On a cluster this ensures that SSH keys are known
# between all hosts, which will stop output being corrupted with
# messages about nodes being added to the list of known hosts.
. ctdb_test_functions.bash
echo "Checking connectivity between nodes..."
onnode all onnode all true