diff options
Diffstat (limited to 'recipes/corosync/files/corosync.conf')
-rw-r--r-- | recipes/corosync/files/corosync.conf | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/recipes/corosync/files/corosync.conf b/recipes/corosync/files/corosync.conf new file mode 100644 index 0000000000..4caea969ec --- /dev/null +++ b/recipes/corosync/files/corosync.conf @@ -0,0 +1,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: yes + to_logfile: yes + to_syslog: yes + logfile: /var/log/corosync.log + debug: off + timestamp: on + logger_subsys { + subsys: AMF + debug: off + } +} + +amf { + mode: disabled +} |