source: vendor/current/ctdb/tests/tool/stubby.reloadnodes.021.sh

Last change on this file was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

File size: 632 bytes
Line 
1#!/bin/sh
2
3. "${TEST_SCRIPTS_DIR}/unit.sh"
4
5define_test "3 nodes, 1 disconnected, add a node"
6
7setup_nodes <<EOF
8192.168.20.41
9192.168.20.42
10192.168.20.43
11192.168.20.44
12EOF
13
14required_result 0 <<EOF
15Node 0 is unchanged
16Node 1 is unchanged
17WARNING: Node 1 is disconnected. You MUST fix this node manually!
18Node 2 is unchanged
19Node 3 is NEW
20Reloading nodes file on node 0
21Reloading nodes file on node 2
22ctdb_ctrl_reload_nodes_file: node 0
23ctdb_ctrl_reload_nodes_file: node 2
24EOF
25
26simple_test <<EOF
27NODEMAP
280 192.168.20.41 0x0 CURRENT RECMASTER
291 192.168.20.42 0x1
302 192.168.20.43 0x0
31
32VNNMAP
33654321
340
352
36EOF
Note: See TracBrowser for help on using the repository browser.