source: trunk/packages/invirt-cluster-config/debian/corosync.conf.invirt.mako @ 2940

Last change on this file since 2940 was 2927, checked in by broder, 15 years ago

In invirt-cluster-config:

  • Use openais for clustering instead of cman!
File size: 451 bytes
RevLine 
[2927]1<%
2from invirt.config import structs as cfg
3ring = 0
4%>\
5compatibility: whitetank
6
7totem {
8        version: 2
9        secauth: off
10% if len(cfg.cluster.rings) > 1:
11        rrp_mode: passive
12% endif
13% for r in cfg.cluster.rings:
14        interface {
15                ringnumber: ${ring}
16                bindnetaddr: ${r.bind}
17                mcastaddr: ${r.mcast}
18                mcastport: ${r.port}
19        }
20<% ring += 1 %>\
21% endfor
22}
23
24logging {
25        to_syslog: yes
26        syslog_facility: daemon
27        timestamp: on
28        debug: off
29}
30
31amf {
32        mode: disabled
33}
Note: See TracBrowser for help on using the repository browser.