corosync/bsc#1001164-corosync.conf-example.patch
Bin Liu 3a9d60c32f Accepting request 438123 from home:BinLiu:branches:network:ha-clustering:Factory
- upgrade to corosync-2.4.1(bsc#1004967)
  corosync-2.4.1:
    Low: totemsrp: Addition of the log.
    cts: Make it run with pacemaker-1.13+
    Config: Flag config uidgid entries
    Spec: Qdevice require same version of corosync
  corosync-2.4.0:
    qdevice and qnet
    config: get_cluster_mcast_addr error is not fatal
    some typo fixes
  corosync-v2.3.6
    CFG: Prevent CFG orignating messages during SYNC
    wd: fix setting of watchdog timeouts
    votequorum: Don't send multiple callbacks when nodes join
    cfgtool: Display nodeid as unsigned int
    quorum: Display node id as unsigned int.
    Check for fdatasync
    Fix detection of qb_log_thread_priority_set
    totempg: Fix memory leak
    cpg: Memory not unmapped in cpg_zcb_free
    cpg: Handle ipc error in cpg_zcb_alloc/free
    totemconfig: Explicitly pass IP version
    parser: Make config file parser more hierarchy
    logsys: fix TOTEM logging when corosync built out of tree
    wd: make watchdog device configurable
    schedwrk: Cleanup and make it work on PPC BE
    Reapply config defaults corosync.conf reload
    logconfig: Fix logging reload disabling logfiles

- Default token timeout was 5000 ms in SLE 11 SP4, but is 1000 ms in SLE 12(bsc#1001164)

OBS-URL: https://build.opensuse.org/request/show/438123
OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=71
2016-11-01 09:46:52 +00:00

30 lines
1.0 KiB
Diff

--- corosync-2.3.3.orig/conf/corosync.conf.example 2016-09-27 12:18:13.559737049 +0800
+++ corosync-2.3.3/conf/corosync.conf.example 2016-09-27 14:29:41.952519958 +0800
@@ -9,6 +9,26 @@
crypto_cipher: none
crypto_hash: none
+ # 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)
# you would set it to 'yes', the new option 'new' means wiping
# off the highest bit in network order to avoid possible nodeid