mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
bf197d097f
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 79adb50b3ce3873c3baf9e6715c1d1c3f181ce43)
33 lines
496 B
Bash
Executable File
33 lines
496 B
Bash
Executable File
#!/bin/bash
|
|
|
|
test_info()
|
|
{
|
|
cat <<EOF
|
|
Restart the ctdbd daemons of a CTDB cluster.
|
|
|
|
No error if ctdbd is not already running on the cluster.
|
|
|
|
Prerequisites:
|
|
|
|
* Nodes must be accessible via 'onnode'.
|
|
|
|
Steps:
|
|
|
|
1. Restart the ctdb daemons on all nodes using a method according to
|
|
the test environment and platform.
|
|
|
|
Expected results:
|
|
|
|
* The cluster is healthy within a reasonable timeframe.
|
|
EOF
|
|
}
|
|
|
|
. "${TEST_SCRIPTS_DIR}/integration.bash"
|
|
|
|
ctdb_test_init "$@"
|
|
|
|
set -e
|
|
|
|
setup_ctdb
|
|
restart_ctdb
|