summaryrefslogtreecommitdiff
path: root/ctdb/tests/simple/00_ctdb_init.sh
blob: bd15fd7ed6e1f81b1e28fa1fb71098453c3f864a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/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