gencache: Simplify gencache_stabilize
[Samba.git] / ctdb / tests / simple / 00_ctdb_onnode.sh
blobdfd115976d2d5b912f625a8223a2a7300ccc834b
1 #!/bin/bash
3 test_info()
5 cat <<EOF
6 Use 'onnode' to confirm connectivity between all cluster nodes.
8 Steps:
10 1. Do a recursive "onnode all" to make sure all the nodes can connect
11 to each other. On a cluster this ensures that SSH keys are known
12 between all hosts, which will stop output being corrupted with
13 messages about nodes being added to the list of known hosts.
15 Expected results:
17 * 'onnode' works between all nodes.
18 EOF
21 . "${TEST_SCRIPTS_DIR}/integration.bash"
23 ctdb_test_init "$@"
28 echo "Checking connectivity between nodes..."
29 onnode all onnode -p all hostname