2011-09-20 15:51:29 +02:00
|
|
|
Index: corosync-1.4.1/conf/corosync.conf.example
|
2010-06-29 18:10:39 +02:00
|
|
|
===================================================================
|
2011-09-20 15:51:29 +02:00
|
|
|
--- corosync-1.4.1.orig/conf/corosync.conf.example
|
|
|
|
+++ corosync-1.4.1/conf/corosync.conf.example
|
|
|
|
@@ -1,10 +1,57 @@
|
2010-06-29 18:10:39 +02:00
|
|
|
# Please read the corosync.conf.5 manual page
|
|
|
|
compatibility: whitetank
|
|
|
|
|
|
|
|
+aisexec {
|
|
|
|
+ # Run as root - this is necessary to be able to manage
|
|
|
|
+ # resources with Pacemaker
|
|
|
|
+ user: root
|
|
|
|
+ group: root
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+service {
|
|
|
|
+ # Load the Pacemaker Cluster Resource Manager
|
|
|
|
+ ver: 0
|
|
|
|
+ name: pacemaker
|
|
|
|
+ use_mgmtd: yes
|
|
|
|
+ use_logd: yes
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
totem {
|
|
|
|
- version: 2
|
|
|
|
- secauth: off
|
|
|
|
- threads: 0
|
|
|
|
+ # The only valid version is 2
|
|
|
|
+ version: 2
|
|
|
|
+
|
|
|
|
+ # How long before declaring a token lost (ms)
|
|
|
|
+ token: 5000
|
|
|
|
+
|
|
|
|
+ # How many token retransmits before forming a new configuration
|
|
|
|
+ token_retransmits_before_loss_const: 10
|
|
|
|
+
|
|
|
|
+ # How long to wait for join messages in the membership protocol (ms)
|
|
|
|
+ join: 60
|
|
|
|
+
|
|
|
|
+ # How long to wait for consensus to be achieved before starting
|
|
|
|
+ # a new round of membership configuration (ms)
|
|
|
|
+ consensus: 6000
|
|
|
|
+
|
|
|
|
+ # Turn off the virtual synchrony filter
|
|
|
|
+ vsftype: none
|
|
|
|
+
|
|
|
|
+ # Number of messages that may be sent by one processor on
|
|
|
|
+ # receipt of the token
|
|
|
|
+ max_messages: 20
|
|
|
|
+
|
|
|
|
+ # Limit generated nodeids to 31-bits (positive signed integers)
|
|
|
|
+ clear_node_high_bit: yes
|
|
|
|
+
|
|
|
|
+ # Disable encryption
|
|
|
|
+ secauth: off
|
|
|
|
+
|
|
|
|
+ # How many threads to use for encryption/decryption
|
|
|
|
+ threads: 0
|
|
|
|
+
|
|
|
|
+ # Optionally assign a fixed node id (integer)
|
|
|
|
+ # nodeid: 1234
|
|
|
|
+
|
|
|
|
interface {
|
2011-09-20 15:51:29 +02:00
|
|
|
ringnumber: 0
|
|
|
|
bindnetaddr: 192.168.1.1
|
|
|
|
@@ -17,9 +64,9 @@ totem {
|
2010-06-29 18:10:39 +02:00
|
|
|
logging {
|
2011-09-20 15:51:29 +02:00
|
|
|
fileline: off
|
|
|
|
to_stderr: no
|
2010-06-29 18:10:39 +02:00
|
|
|
- to_logfile: yes
|
2011-09-20 15:51:29 +02:00
|
|
|
+ to_logfile: no
|
|
|
|
to_syslog: yes
|
2010-12-02 16:10:16 +01:00
|
|
|
- logfile: /var/log/cluster/corosync.log
|
2010-06-29 18:10:39 +02:00
|
|
|
+ syslog_facility: daemon
|
2011-09-20 15:51:29 +02:00
|
|
|
debug: off
|
|
|
|
timestamp: off
|
|
|
|
logger_subsys {
|