aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-extended/corosync/corosync/corosync.conf
blob: 6aef9de9502192b2c5de6689b6fba558a721d49a (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
# Starting point for cluster with pacemaker/openais
compatibility: none

corosync {
	 user:  root
	 group: root
}

aisexec {
	with Pacemaker
	user:  root
	group: root
}

service {
	name: pacemaker
	ver: 1
}

totem {
	version: 2
	secauth: off
	threads: 0
	interface {
		ringnumber: 0
		# Cluster network address
		bindnetaddr: 192.168.10.0
		# Should be fine in most cases, don't forget to allow
		# packets for this address/port in netfilter if there
		# is restrictive policy set for cluster network
		mcastaddr: 226.94.1.1
		mcastport: 5405
	}
}

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

amf {
	mode: disabled
}

quorum {
	# Quorum for the Pacemaker Cluster Resource Manager
	provider: corosync_votequorum
	expected_votes: 1
}