summaryrefslogtreecommitdiffstats
path: root/test/unittests/corosync.conf.3
blob: 2cc001f185236517c1428316b7bfe23f34462bfe (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# Please read the corosync.conf.5 manual page
totem {
	version: 2
	secauth: on
	crypto_hash: sha1
	crypto_cipher: aes256
	cluster_name: hacluster
	clear_node_high_bit: yes
	token: 5000
	token_retransmits_before_loss_const: 10
	join: 60
	consensus: 6000
	max_messages: 20
	interface {
		ringnumber: 0
		bindnetaddr: 10.67.16.0
		mcastaddr: 239.23.255.56
		mcastport: 5405
		ttl: 1
	}

}

logging {
	fileline: off
	to_stderr: no
	to_logfile: no
	logfile: /var/log/cluster/corosync.log
	to_syslog: yes
	debug: off
	timestamp: on
	logger_subsys {
		subsys: QUORUM
		debug: off
	}

}

quorum {

	# Enable and configure quorum subsystem (default: off)
	# see also corosync.conf.5 and votequorum.5
	provider: corosync_votequorum
	expected_votes: 0
	two_node: 0
	device {
		votes: 1
		model: net
		net {
			tls: on
			host: 10.10.10.3
			port: 5403
			algorithm: ffsplit
			tie_breaker: lowest
		}

	}

}

nodelist {
	node {
		ring0_addr: 10.67.18.221
		nodeid: 172167901
	}

}