summaryrefslogtreecommitdiff
path: root/recipes/corosync/files/corosync.conf
blob: f84679fe03e47afe081f52ad5e8341e0516d3b8f (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
# 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: 0
}

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/corosync.log
	debug: off
	timestamp: on
	logger_subsys {
		subsys: AMF
		debug: off
	}
}

amf {
	mode: disabled
}