Last change
on this file since 2945 was
2927,
checked in by broder, 15 years ago
|
In invirt-cluster-config:
- Use openais for clustering instead of cman!
|
File size:
451 bytes
|
Line | |
---|
1 | <% |
---|
2 | from invirt.config import structs as cfg |
---|
3 | ring = 0 |
---|
4 | %>\ |
---|
5 | compatibility: whitetank |
---|
6 | |
---|
7 | totem { |
---|
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 | |
---|
24 | logging { |
---|
25 | to_syslog: yes |
---|
26 | syslog_facility: daemon |
---|
27 | timestamp: on |
---|
28 | debug: off |
---|
29 | } |
---|
30 | |
---|
31 | amf { |
---|
32 | mode: disabled |
---|
33 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.